Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Fix IOErrors in Travis, create the dir before running tests
language: python python: - "2.7" install: - "pip install -r requirements.txt" - "pip install -r requirements-dev.txt" - "pip install coveralls" script: "py.test --cov pre_commit_hook tests/" after_success: - coveralls
language: python python: - "2.7" install: - "pip install -r requirements.txt" - "pip install -r requirements-dev.txt" - "pip install coveralls" before_script: - "mkdir -p /home/travis/pre-commit-python-sorter/tests/resources" script: "py.test --cov pre_commit_hook tests/" after_success: - coveralls
Use trusty image and edge to use the latest available image
--- language: ruby before_install: - rvm get head - gem install bundler rvm: - 2.2.4 - 2.3.1 - ruby-head - rbx-2 - jruby-9.1.0.0 - jruby-head sudo: false matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: rbx-2 notifications: recipients: - mail@zzak.io slack: sinatrarb:LQGhUfGYcqRgRzwKea0bqUhY
--- language: ruby dist: trusty group: edge before_install: - rvm get head - gem install bundler rvm: - 2.2.4 - 2.3.1 - ruby-head - rbx-2 - jruby-9.1.0.0 - jruby-head sudo: false matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: rbx-2 notifications: recipients: - mail@zzak.io slack: sinatrarb:LQGhUfGYcqRgRzwKea0bqUhY
Add redis setting for Travis
language: node_js node_js: - "0.12" - "0.11" - "0.10" sudo: false script: "npm run test-ci" after_success: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls" notifications: webhooks: urls: - https://webhooks.gitter.im/e/71b86a81f31bbfba21a1 on_success: always # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: false # default: false
language: node_js node_js: - "0.12" - "0.11" - "0.10" services: - redis-server sudo: false script: "npm run test-ci" after_success: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls" notifications: webhooks: urls: - https://webhooks.gitter.im/e/71b86a81f31bbfba21a1 on_success: always # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: false # default: false
Test against node.js 4 and 5 and Ruby 2.2.
language: node_js sudo: false git: depth: 10 node_js: - "0.12" env: matrix: - RUBY_VERSION=2.0 before_install: - rvm install $RUBY_VERSION - rvm use $RUBY_VERSION --fuzzy - export GEMDIR=$(rvm gemdir) install: - travis_retry npm install -g grunt-cli - travis_retry npm install - travis_retry gem install --no-document "jekyll:~>3.0.0" "rouge:~>1.10" "sass:~>3.4" matrix: fast_finish: true notifications: slack: heybb:51atQXKR2rpnbohAZ0X1vNbE
language: node_js sudo: false git: depth: 10 node_js: - "4" - "5" env: matrix: - RUBY_VERSION=2.2 before_install: - rvm install $RUBY_VERSION - rvm use $RUBY_VERSION --fuzzy - export GEMDIR=$(rvm gemdir) install: - travis_retry npm install -g grunt-cli - travis_retry npm install - travis_retry gem install --no-document "jekyll:~>3.0" "rouge:~>1.10" "sass:~>3.4" matrix: fast_finish: true notifications: slack: heybb:51atQXKR2rpnbohAZ0X1vNbE
Change directory to TRAVIS_BUILD_DIR before commit
language: java jdk: - oraclejdk8 install: # Build iPST core - git clone https://github.com/itesla/ipst-core itesla/ipst-core - cd itesla/ipst-core && mvn install script: - mvn clean test jacoco:report coveralls:report
language: java jdk: - oraclejdk8 install: # Build iPST core - git clone https://github.com/itesla/ipst-core itesla/ipst-core - cd itesla/ipst-core && mvn install script: - cd ${TRAVIS_BUILD_DIR} - mvn clean test jacoco:report coveralls:report
Set the GitHub OAuth token to make use of the 6000 per hour rate limit
language: php php: - "5.6" - "nightly" - "hhvm" sudo: false before_script: - composer install --no-interaction - cp config/app_travis.php config/app.php - cp config/oauth_example.php config/oauth.php - mysql -e 'create database pmaerr;' - wget https://scrutinizer-ci.com/ocular.phar script: - bin/cake migrations migrate - vendor/bin/phpunit --coverage-clover build/logs/clover.xml -c phpunit.xml.dist after_script: - php vendor/bin/coveralls -v - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml matrix: allow_failures: - php: "hhvm" - php: "nightly" cache: directories: - vendor - $HOME/.composer/cache
language: php php: - "5.6" - "nightly" - "hhvm" sudo: false before_script: # Set the GitHub OAuth token to make use of the 6000 per hour rate limit - echo "{\"config\": { \"github-oauth\": { \"github.com\": \"$COMPOSER_GITHUB_API\" } } }" > ~/.composer/config.json - composer install --no-interaction - cp config/app_travis.php config/app.php - cp config/oauth_example.php config/oauth.php - mysql -e 'create database pmaerr;' - wget https://scrutinizer-ci.com/ocular.phar script: - bin/cake migrations migrate - vendor/bin/phpunit --coverage-clover build/logs/clover.xml -c phpunit.xml.dist after_script: - php vendor/bin/coveralls -v - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml matrix: allow_failures: - php: "hhvm" - php: "nightly" cache: directories: - vendor - $HOME/.composer/cache
Update Travis for supported Ruby versions.
language: ruby rvm: - 2.3.1 - 2.2 - 2.1 - 2.0
language: ruby rvm: - 2.4 - 2.3 - 2.2 - 2.1
Test on `stable` instead of `iojs`
sudo: false language: node_js node_js: - 'iojs' - '0.12' - '0.10'
sudo: false language: node_js node_js: - 'stable' - '0.12' - '0.10'
Drop Jruby and Rbx; taking ages, Drop 2.0 (old), Exclude <2.3 fo Rails Head (5+)
language: ruby bundler_args: --without development rvm: - '2.3.0' - '2.2' - '2.1' - '2.0' - jruby - rbx-2 gemfile: - gemfiles/Gemfile.rails-head - gemfiles/Gemfile.rails-4-2 - gemfiles/Gemfile.rails-4-1 - gemfiles/Gemfile.rails-4-0 matrix: allow_failures: - rvm: jruby - rvm: rbx-2 - gemfile: gemfiles/Gemfile.rails-head before_install: - gem install bundler
language: ruby bundler_args: --without development rvm: - '2.3.0' - '2.2' - '2.1' gemfile: - gemfiles/Gemfile.rails-head - gemfiles/Gemfile.rails-4-2 - gemfiles/Gemfile.rails-4-1 - gemfiles/Gemfile.rails-4-0 matrix: exclude: - rvm: '2.2' gemfile: gemfiles/Gemfile.rails-head - rvm: '2.1' gemfile: gemfiles/Gemfile.rails-head allow_failures: - gemfile: gemfiles/Gemfile.rails-head before_install: - gem install bundler
Add memcached service to build
language: ruby sudo: false services: - redis addons: postgresql: 9.3 artifacts: paths: - log/ cache: directories: - vendor/bundle sudo: false rvm: - "2.0" - "2.1" matrix: fast_finish: true before_install: - gem install bundler -v 1.9.0 install: - bundle _1.9.0_ install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle} before_script: - redis-cli config set save "" - 'RAILS_ENV=test bundle exec rake db:create --trace' script: - ./build.sh
language: ruby sudo: false services: - redis - memcached addons: postgresql: 9.3 artifacts: paths: - log/ cache: directories: - vendor/bundle sudo: false rvm: - "2.0" - "2.1" matrix: fast_finish: true before_install: - gem install bundler -v 1.9.0 install: - bundle _1.9.0_ install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle} before_script: - redis-cli config set save "" - 'RAILS_ENV=test bundle exec rake db:create --trace' script: - ./build.sh
Remove MRI 2.2 from allowed failures
language: ruby script: 'bundle exec rake test:coverage --trace' install: - bundle install --retry=3 rvm: - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - 2.1.3 - 2.1.4 - 2.1.5 - 2.2 - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="--2.0" - rvm: jruby-head env: JRUBY_OPTS="--2.1" allow_failures: - rvm: 2.2 - rvm: jruby-head
language: ruby script: 'bundle exec rake test:coverage --trace' install: - bundle install --retry=3 rvm: - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - 2.1.3 - 2.1.4 - 2.1.5 - 2.2 - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="--2.0" - rvm: jruby-head env: JRUBY_OPTS="--2.1" allow_failures: - rvm: jruby-head
Change bundler_args to Travis bundler environment
anguage: ruby rvm: - 2.0.0 - 2.1.2 - 2.1.3 env: - GITHUB_CLIENT_ID=foo GITHUB_CLIENT_SECRET=foo SOUNDCLOUD_CLIENT_ID=foo before_script: - psql -c 'create database jukebuzz_test;' -U postgres
language: ruby rvm: - 2.0.0 - 2.1 - ruby-head bundler_args: --without development production --jobs=3 --retry=3 env: - GITHUB_CLIENT_ID=foo GITHUB_CLIENT_SECRET=foo SOUNDCLOUD_CLIENT_ID=foo before_script: - psql -c 'create database jukebuzz_test;' -U postgres
Comment out the Stack nightly build in the Travis config
# Use new container infrastructure to enable caching sudo: false # Choose a lightweight base image; we provide our own build tools. language: c # GHC depends on GMP. You can add other dependencies here as well. addons: apt: packages: - libgmp-dev # The different configurations we want to test. You could also do things like # change flags or use --stack-yaml to point to a different file. env: - ARGS="" # - ARGS="--resolver lts-2" - ARGS="--resolver lts-3" - ARGS="--resolver lts-4" - ARGS="--resolver lts" - ARGS="--resolver nightly" before_install: # Download and unpack the stack executable - mkdir -p ~/.local/bin - export PATH=$HOME/.local/bin:$PATH - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' # This line does all of the work: installs GHC if necessary, build the library, # executables, and test suites, and runs the test suites. --no-terminal works # around some quirks in Travis's terminal implementation. script: stack $ARGS --no-terminal --install-ghc test --haddock # Caching so the next build will be fast too. cache: directories: - $HOME/.stack
# Use new container infrastructure to enable caching sudo: false # Choose a lightweight base image; we provide our own build tools. language: c # GHC depends on GMP. You can add other dependencies here as well. addons: apt: packages: - libgmp-dev # The different configurations we want to test. You could also do things like # change flags or use --stack-yaml to point to a different file. env: - ARGS="" # - ARGS="--resolver lts-2" - ARGS="--resolver lts-3" - ARGS="--resolver lts-4" - ARGS="--resolver lts" # - ARGS="--resolver nightly" before_install: # Download and unpack the stack executable - mkdir -p ~/.local/bin - export PATH=$HOME/.local/bin:$PATH - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' # This line does all of the work: installs GHC if necessary, build the library, # executables, and test suites, and runs the test suites. --no-terminal works # around some quirks in Travis's terminal implementation. script: stack $ARGS --no-terminal --install-ghc test --haddock # Caching so the next build will be fast too. cache: directories: - $HOME/.stack
Install electron-prebuilt required by electron-mocha
language: node_js node_js: - "5" - "4" before_script: - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start - npm install -g electron-mocha notifications: email: on_success: never on_failure: change
language: node_js node_js: - "5" - "4" before_script: - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start - npm install -g electron-prebuilt - npm install -g electron-mocha notifications: email: on_success: never on_failure: change
Add configuration for generating documentation
language: rust rust: - stable - beta os: - linux - osx sudo: false
language: rust rust: - stable - beta os: - linux - osx before_script: - | pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH # Only build and upload documentation once. The current configure for # `travis-cargo` is with stable rust, of a non-pull requests, on the master # branch. So I need to check for one OS name to avoid repetition. after_success: - | [ $TRAVIS_OS_NAME == "linux" ] && travis-cargo --only stable doc && travis-cargo --only stable doc-upload sudo: false
Use openjdk instead of oracle jdk
language: java jdk: - oraclejdk8 install: true script: "./build-via-travis.sh" before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ after_success: - bash <(curl -s https://codecov.io/bash)
language: java jdk: - openjdk8 install: true script: "./build-via-travis.sh" before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ after_success: - bash <(curl -s https://codecov.io/bash)
Drop Node.js 0.12 from supported versions
language: node_js node_js: - 0.12 - 4 - 5 - 6 - 7 before_script: - npm install -g gulp script: gulp
language: node_js node_js: - 4 - 5 - 6 - 7 before_script: - npm install -g gulp script: gulp
Add code climate env variable
language: ruby rvm: - 2.1.9 - 2.2.5 - 2.3.1 - jruby-9.0.5.0 - jruby-9.1.5.0 before_install: - sh sudo add-apt-repository ppa:fontforge/fontforge; sudo apt-get update; sudo apt-get install fontforge script: bundle exec rspec
language: ruby rvm: - 2.1.9 - 2.2.5 - 2.3.1 - jruby-9.0.5.0 - jruby-9.1.5.0 env: - CODECLIMATE_REPO_TOKEN=0ff7f7fb2cfa2a18667c4e2655dcf773f91faff8d6f1642a3af3897d888bc2c7 before_install: - sh sudo add-apt-repository ppa:fontforge/fontforge; sudo apt-get update; sudo apt-get install fontforge script: bundle exec rspec
Add rubies on ci to run test
language: ruby sudo: false cache: bundler rvm: - 2.3.4 - 2.4.1 branches: only: - master script: - "bundle exec rake"
language: ruby sudo: false cache: bundler rvm: - 2.3 - 2.4 - 2.5 - 2.6 - ruby-head branches: only: - master script: - "bundle exec rake"
Revert `Workaround for broke Travis with RubyGems 2.7`
sudo: false cache: bundler language: ruby dist: trusty rvm: - jruby-9.1.15.0 - jruby-head - 2.1.10 - 2.2.9 - 2.3.6 - 2.4.3 - ruby-head env: global: - JRUBY_OPTS='--debug -J-Xmx1000M' # get more accurate coverage data in JRuby matrix: - 'TASK=spec' - 'TASK=ascii_spec' - 'TASK=internal_investigation' matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true before_install: - gem update --system 2.6.14 - gem update --remote bundler install: - bundle install --retry=3 script: - ruby .travis.rb addons: code_climate: repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f
sudo: false cache: bundler language: ruby dist: trusty rvm: - jruby-9.1.15.0 - jruby-head - 2.1.10 - 2.2.9 - 2.3.6 - 2.4.3 - ruby-head env: global: - JRUBY_OPTS='--debug -J-Xmx1000M' # get more accurate coverage data in JRuby matrix: - 'TASK=spec' - 'TASK=ascii_spec' - 'TASK=internal_investigation' matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true before_install: - gem update --system - gem update --remote bundler install: - bundle install --retry=3 script: - ruby .travis.rb addons: code_climate: repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f
Update TravisCI ruby versions to latest point releases.
sudo: false language: ruby rvm: - 2.4.1 - 2.3.4 - 2.2.7 - ruby-head env: - RUST=yes - RUST=no matrix: allow_failures: - rvm: ruby-head before_install: - if [[ "$RUST" == "yes" ]]; then curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable; export PATH="$HOME/.cargo/bin:$PATH"; fi script: - if [[ "$RUST" == "yes" ]]; then bundle exec rake SPEC_OPTS="--format p"; else bundle exec rake spec SPEC_OPTS="--format p"; fi addons: code_climate: repo_token: b4319eb676f021fb9473aa342324abd74f58d146e174f3cdf57f103bab052f25
sudo: false language: ruby rvm: - 2.4.2 - 2.3.5 - 2.2.8 - ruby-head env: - RUST=yes - RUST=no matrix: allow_failures: - rvm: ruby-head before_install: - if [[ "$RUST" == "yes" ]]; then curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable; export PATH="$HOME/.cargo/bin:$PATH"; fi script: - if [[ "$RUST" == "yes" ]]; then bundle exec rake SPEC_OPTS="--format p"; else bundle exec rake spec SPEC_OPTS="--format p"; fi addons: code_climate: repo_token: b4319eb676f021fb9473aa342324abd74f58d146e174f3cdf57f103bab052f25
Install rasterio build-dependencies as superuser
language: python python: - "2.7" - "3.5" - "3.6" # - "nightly" script: pytest before_install: - export CPPFLAGS=`gdal-config --cflags` - export LDFLAGS=`gdal-config --libs` - export PROJ_LIB=/usr/share/proj install: - apt-get build-dep rasterio - pip install -r dev-requirements.txt - pip install . addons: apt: sources: - sourceline: 'ppa:ubuntugis/ubuntugis-unstable' - sourceline: 'ppa:johanvdw/gdal' packages: - libgdal-dev - gdal-bin
language: python python: - "2.7" - "3.5" - "3.6" # - "nightly" script: pytest before_install: - export CPPFLAGS=`gdal-config --cflags` - export LDFLAGS=`gdal-config --libs` - export PROJ_LIB=/usr/share/proj install: - sudo apt-get build-dep rasterio - pip install -r dev-requirements.txt - pip install . addons: apt: sources: - sourceline: 'ppa:ubuntugis/ubuntugis-unstable' - sourceline: 'ppa:johanvdw/gdal' packages: - libgdal-dev - gdal-bin
Add back email notifications for builds
sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 - jruby-1.7.12 # whitelist branches: only: - master - v1.3.x-bugfix notifications: webhooks: urls: # gitter - https://webhooks.gitter.im/e/dc010332f9d40fcc21c4
sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 - jruby-1.7.12 # whitelist branches: only: - master - v1.3.x-bugfix notifications: email: - cukes-devs@googlegroups.com webhooks: urls: # gitter - https://webhooks.gitter.im/e/dc010332f9d40fcc21c4
Use Python 3.6 instead of 3.7: latter doesn't seem to be supported by Travis
language: python python: - 'pypy2.7' - 'pypy3.5' - '2.7' - '3.3' - '3.7' - 'nightly' install: - pip install mock==2.0 - pip install requests script: - python -m unittest discover -s tests/ -p test_*.py -v matrix: allow_failures: - python: 'nightly'
language: python python: - 'pypy2.7' - 'pypy3.5' - '2.7' - '3.3' - '3.6' - 'nightly' install: - pip install mock==2.0 - pip install requests script: - python -m unittest discover -s tests/ -p test_*.py -v matrix: allow_failures: - python: 'nightly'
Replace Java 14 with 15. No need for a PPC build. One Java 11 build.
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. language: java sudo: false cache: directories: - $HOME/.m2 matrix: include: - os: linux-ppc64le jdk: openjdk8 allow_failures: - jdk: openjdk-ea jdk: - oraclejdk11 - openjdk8 - openjdk11 - openjdk14 - openjdk-ea after_success: - mvn clean test jacoco:report coveralls:report -Ptravis-jacoco
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. language: java sudo: false cache: directories: - $HOME/.m2 matrix: include: - jdk: openjdk8 - jdk: openjdk11 - jdk: openjdk15 - jdk: openjdk-ea allow_failures: - jdk: openjdk-ea after_success: - mvn clean test jacoco:report coveralls:report -Ptravis-jacoco
Add integration Slack with TravisCI
language: go go: - 1.6.2 - tip env: - GIMME_OS=linux GIMME_ARCH=amd64 - GIMME_OS=darwin GIMME_ARCH=amd64 - GIMME_OS=windows GIMME_ARCH=amd64 install: - go get -d -v ./... script: - go test -v ./... - go build -v ./...
language: go go: - 1.6.2 - tip env: - GIMME_OS=linux GIMME_ARCH=amd64 - GIMME_OS=darwin GIMME_ARCH=amd64 - GIMME_OS=windows GIMME_ARCH=amd64 install: - go get -d -v ./... script: - go test -v ./... - go build -v ./... notifications: slack: miracloud:5r69ZAasA5mX50aig27LVKrs
Fix 5.1 beta version used on linux CI
language: generic osx_image: xcode10.2 sudo: false env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - FASTLANE_LANE=ci_commit matrix: include: - os: osx env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default - os: osx env: FASTLANE_ENV=ios93 - os: osx env: FASTLANE_ENV=tvos92 - os: osx env: FASTLANE_ENV=osx - os: linux sudo: required dist: trusty env: SWIFT_VERSION=5.0 - os: linux sudo: required dist: trusty env: SWIFT_VERSION=5.1-DEVELOPMENT-SNAPSHOT-2019-07-03-a before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./script/travis-install-linux; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./script/travis-install-macos; fi script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./script/travis-script-linux; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./script/travis-script-macos; fi after_success: - if [ "$FASTLANE_LANE" == "code_coverage" ]; then make post_coverage; fi
language: generic osx_image: xcode10.2 sudo: false env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - FASTLANE_LANE=ci_commit matrix: include: - os: osx env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default - os: osx env: FASTLANE_ENV=ios93 - os: osx env: FASTLANE_ENV=tvos92 - os: osx env: FASTLANE_ENV=osx - os: linux sudo: required dist: trusty env: SWIFT_VERSION=5.0 - os: linux sudo: required dist: trusty env: SWIFT_VERSION=DEVELOPMENT-SNAPSHOT-2019-07-03-a before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./script/travis-install-linux; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./script/travis-install-macos; fi script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./script/travis-script-linux; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./script/travis-script-macos; fi after_success: - if [ "$FASTLANE_LANE" == "code_coverage" ]; then make post_coverage; fi
Fix python niveau de log pour eviter des probleme de d'espace disque sur Travis
language: python python: - "3.5" before_install: - sudo apt-get install -y libgdal1-dev libgdal-dev - sudo apt-get install -y python-gdal # install dependencies install: - cd backend - pip install -r requirements-dev.txt - cd tests/travis_test - ./travis_test.sh # install frontend - cd ../../../frontend - nvm install 8.16.0 - npm install script: - # test backend - cd ../backend - pytest - cd ../docs - make html # create a repository for frontend doc - mkdir build/html/frontend - cd ../frontend #- npm run build - npm run compodoc # deploy github pages on commit on master deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN # set in the Travis dashboard local_dir: docs/build/html github_url: http://docs.geonature.fr on: branch: master notifications: email: recipients: - geonature@ecrins-parcnational.fr on_failure: never on_success: never
language: python python: - "3.5" before_install: - sudo apt-get install -y libgdal1-dev libgdal-dev - sudo apt-get install -y python-gdal - python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" # install dependencies install: - cd backend - pip install -r requirements-dev.txt - cd tests/travis_test - ./travis_test.sh # install frontend - cd ../../../frontend - nvm install 8.16.0 - npm install script: - # test backend - cd ../backend - pytest --disable-warnings - cd ../docs - make html # create a repository for frontend doc - mkdir build/html/frontend - cd ../frontend #- npm run build - npm run compodoc # deploy github pages on commit on master deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN # set in the Travis dashboard local_dir: docs/build/html github_url: http://docs.geonature.fr on: branch: master notifications: email: recipients: - geonature@ecrins-parcnational.fr on_failure: never on_success: never
Drop support for Node.js 6
language: node_js matrix: include: - node_js: "node" - node_js: "8" - node_js: "6" sudo: false cache: directories: - node_modules dist: trusty addons: chrome: stable before_script: # dump the current versions - google-chrome-stable --version - npm list # start a fresh new Chrome instance - google-chrome-stable --user-data-dir=$(mktemp -d) --no-sandbox --no-first-run --disable-extensions --remote-debugging-port=9222 --headless --disable-gpu about:blank &>/dev/null & # wait for Chrome to start up - while ! curl http://localhost:9222 &>/dev/null; do sleep 1; done
language: node_js matrix: include: - node_js: "node" - node_js: "8" sudo: false cache: directories: - node_modules dist: trusty addons: chrome: stable before_script: # dump the current versions - google-chrome-stable --version - npm list # start a fresh new Chrome instance - google-chrome-stable --user-data-dir=$(mktemp -d) --no-sandbox --no-first-run --disable-extensions --remote-debugging-port=9222 --headless --disable-gpu about:blank &>/dev/null & # wait for Chrome to start up - while ! curl http://localhost:9222 &>/dev/null; do sleep 1; done
Move setup into install section
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" script: - pip install -r requirements.txt - nosetests --with-timer --with-coverage ./
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" install: - pip install -r requirements.txt script: - nosetests --with-timer --with-coverage ./
Exclude some corner cases from Travis.
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode gemfile: - .travis/Gemfile env: - conn=ruby - conn=hiredis - conn=synchrony matrix: exclude: - rvm: 1.8.7 gemfile: .travis/Gemfile env: conn=synchrony - rvm: jruby-18mode gemfile: .travis/Gemfile env: conn=synchrony notifications: irc: - irc.freenode.net#redis-rb email: - damian.janowski@gmail.com - michel@soveran.com - pcnoordhuis@gmail.com
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode gemfile: - .travis/Gemfile env: - conn=ruby - conn=hiredis - conn=synchrony matrix: exclude: - rvm: 1.8.7 gemfile: .travis/Gemfile env: conn=synchrony - rvm: jruby-18mode gemfile: .travis/Gemfile env: conn=synchrony - rvm: jruby-18mode gemfile: .travis/Gemfile env: conn=hiredis - rvm: jruby-19mode gemfile: .travis/Gemfile env: conn=hiredis - rvm: jruby-19mode gemfile: .travis/Gemfile env: conn=synchrony notifications: irc: - irc.freenode.net#redis-rb email: - damian.janowski@gmail.com - michel@soveran.com - pcnoordhuis@gmail.com
Test against JRuby head as well on Travis
language: ruby rvm: - jruby-19mode jdk: - openjdk7 env: DEBUG=true install: travis_retry bundle install before_script: bundle exec rake build script: - bundle exec rake rubocop - bundle exec rake spec - cd integration-tests && bundle exec rake spec:all branches: only: - torqbox
language: ruby rvm: - jruby-19mode - jruby-head jdk: - openjdk7 env: DEBUG=true install: travis_retry bundle install before_script: bundle exec rake build script: - bundle exec rake rubocop - bundle exec rake spec - cd integration-tests && bundle exec rake spec:all branches: only: - torqbox
Remove email when docker connect
sudo: required services: - docker script: - docker build -t dlecan/rust-crosscompiler-arm:stable rust-crosscompiler-armv6 - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - docker push dlecan/rust-crosscompiler-arm:stable
sudo: required services: - docker script: - docker build -t dlecan/rust-crosscompiler-arm:stable rust-crosscompiler-armv6 - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - docker push dlecan/rust-crosscompiler-arm:stable
Revert Travis CI to Csound 6.09.1
language: node_js node_js: - node - '8' - '6' - '4' before_install: # Build Csound. - sudo apt-get build-dep csound - wget https://github.com/csound/csound/archive/6.10.0.tar.gz - tar -xf 6.10.0.tar.gz - mkdir csound - cd csound - cmake ../csound-6.10.0 - make - sudo make install - sudo ldconfig - cd .. # Get csound-api dependencies. - sudo apt-get install -y libboost-dev before_script: - npm --global install jasmine
language: node_js node_js: - node - '8' - '6' - '4' before_install: # Build Csound. - sudo apt-get install -y libsndfile1-dev - wget https://github.com/csound/csound/archive/6.09.1.tar.gz - tar -xf 6.09.1.tar.gz - mkdir csound - cd csound - cmake ../csound-6.09.1 - make - sudo make install - sudo ldconfig - cd .. # Get csound-api dependencies. - sudo apt-get install -y libboost-dev before_script: - npm --global install jasmine
Enable pip cache in Travis CI
dist: xenial sudo: false language: python matrix: include: - python: '2.7' env: TOXENV=py27 - python: '3.5' env: TOXENV=py35 - python: '3.6' env: TOXENV=py36 - python: '3.7' env: TOXENV=py37 - python: 'pypy' env: TOXENV=pypy dist: trusty - python: 'pypy3' env: TOXENV=pypy3 dist: trusty - env: TOXENV=flake8 - env: TOXENV=checkspelling addons: apt: packages: - aspell - aspell-en - env: TOXENV=pep517check addons: apt: packages: - libtidy-0.99-0 install: # NOTE: setuptools needs to be installed explicitly for py34 (trusty). - pip install 'setuptools>=36' tox script: - tox after_success: - pip install codecov - codecov --flags "$TOXENV" branches: only: - master
dist: xenial sudo: false language: python cache: pip matrix: include: - python: '2.7' env: TOXENV=py27 - python: '3.5' env: TOXENV=py35 - python: '3.6' env: TOXENV=py36 - python: '3.7' env: TOXENV=py37 - python: 'pypy' env: TOXENV=pypy dist: trusty - python: 'pypy3' env: TOXENV=pypy3 dist: trusty - env: TOXENV=flake8 - env: TOXENV=checkspelling addons: apt: packages: - aspell - aspell-en - env: TOXENV=pep517check addons: apt: packages: - libtidy-0.99-0 install: # NOTE: setuptools needs to be installed explicitly for py34 (trusty). - pip install 'setuptools>=36' tox script: - tox after_success: - pip install codecov - codecov --flags "$TOXENV" branches: only: - master
Install the dev-requirements.txt on TravisCI
language: python python: - "3.4" - "3.5" - "3.6" sudo: required services: - docker install: - pip install -r requirements.txt before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build script: - python -m pytest --cov=theia --cov-report xml:coverage.xml -s tests/ after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT after_success: - if [ "${TRAVIS_PULL_REQUEST}" == "false" ] && [ "${TRAVIS_BRANCH}" == "master" ]; then docker build -t theialog/theia:latest -f docker/Dockerfile . && echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin && docker push theialog/theia:latest ; fi
language: python python: - "3.4" - "3.5" - "3.6" sudo: required services: - docker install: - pip install -r dev-requirements.txt before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build script: - python -m pytest --cov=theia --cov-report xml:coverage.xml -s tests/ after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT after_success: - if [ "${TRAVIS_PULL_REQUEST}" == "false" ] && [ "${TRAVIS_BRANCH}" == "master" ]; then docker build -t theialog/theia:latest -f docker/Dockerfile . && echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin && docker push theialog/theia:latest ; fi
Update Ruby version for TravisCi
language: ruby rvm: - 2.0.0 bundler_args: --without development before_script: - psql -c 'create database restful_test;' -U postgres
language: ruby rvm: - 2.2.2 bundler_args: --without development before_script: - psql -c 'create database restful_test;' -U postgres
Use the android-wait-for-emulator before_script hook.
language: android jdk: oraclejdk8 android: components: - tools - tools # See https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943 - platform-tools - build-tools-25.0.2 - android-24 - android-25 - sys-img-armeabi-v7a-android-24 - extra-android-support - extra-android-m2repository before_script: # Create and start emulator - echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a - emulator -avd test -no-skin -no-audio -no-window & - adb wait-for-device - adb shell input keyevent 82 & before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ branches: except: - gh-pages script: ./gradlew clean testRelease -p turbolinks
language: android jdk: oraclejdk8 android: components: - tools - tools # See https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943 - platform-tools - build-tools-25.0.2 - android-24 - android-25 - sys-img-armeabi-v7a-android-24 - extra-android-support - extra-android-m2repository before_script: # Create and start emulator - echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a - emulator -avd test -no-skin -no-audio -no-window & - android-wait-for-emulator - adb shell input keyevent 82 & before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ branches: except: - gh-pages script: ./gradlew clean testRelease -p turbolinks
Drop support for old Node
language: node_js matrix: include: - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 5 - node_js: 6 - node_js: node
language: node_js matrix: include: - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 6 - node_js: node
Add node 0.11 as allowed failure
language: node_js node_js: - "0.10" - "0.11" install: - npm install -g gulp - npm install script: - npm test
language: node_js node_js: - "0.10" - "0.11" matrix: allow_failures: - node_js: "0.11" install: - npm install -g gulp - npm install script: - npm test
Increase sleep time to 10 seconds
sudo: true dist: trusty language: php php: - 5.6 - 7.0 - 7.1 - nightly matrix: fast_finish: true allow_failures: - php: nightly install: - ./bin/composer install --no-interaction --no-progress --no-suggest - ./bin/build app:install CHOWN_USER=$USER,CHGRP_GROUP=$USER,DB_NAME=app,DB_ADMIN_USER=root,DB_USER=root before_script: - ./bin/phpserv >/dev/null 2>&1 & - sleep 5 script: - ./vendor/bin/phpunit --group example - ./vendor/bin/phpunit --exclude-group example - ./vendor/bin/phpcs
sudo: true dist: trusty language: php php: - 5.6 - 7.0 - 7.1 - nightly matrix: fast_finish: true allow_failures: - php: nightly install: - ./bin/composer install --no-interaction --no-progress --no-suggest - ./bin/build app:install CHOWN_USER=$USER,CHGRP_GROUP=$USER,DB_NAME=app,DB_ADMIN_USER=root,DB_USER=root before_script: - ./bin/phpserv >/dev/null 2>&1 & - sleep 10 script: - ./vendor/bin/phpunit --group example - ./vendor/bin/phpunit --exclude-group example - ./vendor/bin/phpcs
Support route _tail also in path function.
name: clean_router version: 0.1.1 authors: - Samuel Hapák <samuel.hapak@vacuumapps.com> - Peter Csiba <petherz@gmail.com> - Jozef Brandys <jozef.brandys@gmail.com> description: Routing requests both on client and server side. homepage: https://github.com/cleandart/clean_router dependencies: browser: any clean_data: git: https://github.com/cleandart/clean_data dev_dependencies: unittest: any
name: clean_router version: 0.1.2 authors: - Samuel Hapák <samuel.hapak@vacuumapps.com> - Peter Csiba <petherz@gmail.com> - Jozef Brandys <jozef.brandys@gmail.com> description: Routing requests both on client and server side. homepage: https://github.com/cleandart/clean_router dependencies: browser: any clean_data: git: https://github.com/cleandart/clean_data dev_dependencies: unittest: any
Test against multiple versions of Django and Tastypie.
language: python python: 2.7 services: mongodb install: "python setup.py install" script: "python -Wall setup.py test"
language: python python: - 2.6 - 2.7 env: - BEFORE_DJANGO_VERSION=1.5 TASTYPIE_VERSION="==0.9.12" - BEFORE_DJANGO_VERSION=1.5 TASTYPIE_VERSION=">=0.9.12,<=0.10.0" - BEFORE_DJANGO_VERSION=1.6 TASTYPIE_VERSION="==0.9.12" - BEFORE_DJANGO_VERSION=1.6 TASTYPIE_VERSION=">=0.9.12,<=0.10.0" - BEFORE_DJANGO_VERSION=1.7 TASTYPIE_VERSION="==0.9.12" - BEFORE_DJANGO_VERSION=1.7 TASTYPIE_VERSION=">=0.9.12,<=0.10.0" services: mongodb install: - pip install "Django<$BEFORE_DJANGO_VERSION" - pip install "django-tastypie$TASTYPIE_VERSION" - pip install pep8 --use-mirrors - pip install pylint --use-mirrors - python setup.py install before_script: - pep8 django_datastream tests docs - pylint django_datastream tests docs || true script: - python -Wall setup.py test
Change Travis over to OS X based VM, as that seems to produce a more stable build environment. Disable Node 10 build for now (we can test locally for that and we're not defining 10 as a valid hosting version for now)
language: node_js sudo: required dist: trusty node_js: - "8" - "10" before_install: if [[ `npm --version` != "5.8.0" ]]; then npm install -g npm@latest; npm --version; fi matrix: fast_finish: true services: - mongodb - docker script: make travis after_success: - nvm version - if [[ ! -z "$DOCKER_USER" ]]; then docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} && git checkout -- . && git clean -fd . && make docker_release; fi after_script: make report
language: node_js os: osx node_js: - "8" before_install: - if [[ `npm --version` != "5.8.0" ]]; then npm install -g npm@latest; npm --version; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi # https://github.com/Homebrew/homebrew-core/issues/26358 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python; fi # "brew install" can succeed but return 1 if it has "caveats". - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mongodb || true; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew services start mongodb; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install docker || true; fi matrix: fast_finish: true services: - mongodb - docker script: make travis after_success: - nvm version - if [[ ! -z "$DOCKER_USER" ]]; then docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} && git checkout -- . && git clean -fd . && make docker_release; fi after_script: make report
Update Xcode version for Travis CI
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8 language: objective-c cache: cocoapods podfile: Example/Podfile before_install: - gem install cocoapods # Since Travis is not always on latest version - pod repo update # Uncomment this when the pod install failed because of the stale pod repo - pod install --project-directory=Example script: - set -o pipefail && xcodebuild -workspace Example/CascadingTableDelegate.xcworkspace -scheme CascadingTableDelegate-Example -destination 'platform=iOS Simulator,name=iPhone 5s' clean test | xcpretty - pod lib lint
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode9 language: objective-c cache: cocoapods podfile: Example/Podfile before_install: - gem install cocoapods # Since Travis is not always on latest version - pod repo update # Uncomment this when the pod install failed because of the stale pod repo - pod install --project-directory=Example script: - set -o pipefail && xcodebuild -workspace Example/CascadingTableDelegate.xcworkspace -scheme CascadingTableDelegate-Example -destination 'platform=iOS Simulator,name=iPhone 5s' clean test | xcpretty - pod lib lint
Add more ruby 2.2.x versions
language: ruby rvm: - 2.2.1 - 2.2.2
language: ruby rvm: - 2.2.1 - 2.2.2 - 2.2.3 - 2.2.4
Test against the Mapcache 1.2.1 release in Travis
# Configuration file for Travis-CI testing language: node_js node_js: - "0.8" - "0.10" env: - MAPCACHE_COMMIT=11e85095a39010f953b34077b7f0824e234e9423 # minimum supported version - MAPCACHE_COMMIT=rel-1-0-0 # v1.0.0 - MAPCACHE_COMMIT=rel-1-2-0 # v1.2.0 - MAPCACHE_COMMIT= # repository HEAD before_install: - sudo apt-get install libapr1-dev libaprutil1-dev # mapcache dependencies - sh ./tools/install-deps.sh /tmp $MAPCACHE_COMMIT # install the dependencies
# Configuration file for Travis-CI testing language: node_js node_js: - "0.8" - "0.10" env: - MAPCACHE_COMMIT=11e85095a39010f953b34077b7f0824e234e9423 # minimum supported version - MAPCACHE_COMMIT=rel-1-0-0 # v1.0.0 - MAPCACHE_COMMIT=rel-1-2-0 # v1.2.0 - MAPCACHE_COMMIT=rel-1-2-1 # v1.2.1 - MAPCACHE_COMMIT= # repository HEAD before_install: - sudo apt-get install libapr1-dev libaprutil1-dev # mapcache dependencies - sh ./tools/install-deps.sh /tmp $MAPCACHE_COMMIT # install the dependencies
Install dep that Travis could not find before installing assert
language: go install: - go get github.com/bmizerany/assert notifications: email: false
language: go install: - go get github.com/kr/pty - go get github.com/bmizerany/assert notifications: email: false
Change to use the latest 2.4
language: ruby cache: bundler: true rvm: - 2.4.1 script: bundle exec rake test gemfile: - Gemfile
language: ruby cache: bundler: true rvm: - 2.4 script: bundle exec rake test gemfile: - Gemfile
Add clean to Jazzy config
module: Fischer module_version: 1.0.0 github_url: https://github.com/nvzqz/Fischer swift_version: 3 author: Nikolai Vazquez author_url: https://github.com/nvzqz theme: fullwidth
module: Fischer module_version: 1.0.0 github_url: https://github.com/nvzqz/Fischer swift_version: 3 author: Nikolai Vazquez author_url: https://github.com/nvzqz theme: fullwidth clean: true
Allow CI failure on 1.9.2
rvm: - 1.9.2 - 1.9.3 - ruby-head matrix: allow_failures: - rvm: ruby-head
rvm: - 1.9.2 - 1.9.3 - ruby-head matrix: allow_failures: - rvm: 1.9.2 - rvm: ruby-head
Remove Ruby versions unsupported on Ubuntu 20.04
language: ruby dist: focal rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.4.10 - 2.5.9 - 2.6.8 - 2.7.4 - 3.0.1 - ruby-head matrix: allow_failures: - rvm: ruby-head before_install: - gem update --system 2.1.11 - git config --global user.email 'user@example.com' - git config --global user.name 'Test User'
language: ruby dist: focal rvm: - 2.4.10 - 2.5.9 - 2.6.8 - 2.7.4 - 3.0.1 - ruby-head matrix: allow_failures: - rvm: ruby-head before_install: - gem update --system 2.1.11 - git config --global user.email 'user@example.com' - git config --global user.name 'Test User'
Use bundler on TravisCI explicitly
language: ruby rvm: - 2.2.2 - 2.1.6 - 2.0.0 - 1.9.3
language: ruby rvm: - 2.2.2 - 2.1.6 - 2.0.0 - 1.9.3 script: 'bundle exec rake spec'
Build on Travis CI without `sudo`.
language: node_js node_js: - '0.10' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm install - npm install istanbul coveralls
sudo: false language: node_js node_js: - '0.10' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm install - npm install istanbul coveralls
Update Travis for Go 1.13
--- language: go go: - "1.11.x" - "1.12.x" services: - redis-server before_install: # update to latest version of redis - sudo apt-get install -y redis-server - GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1 script: # for some reason go test -v -race ./... doesn't work on travis, so use this - go list ./... | xargs -n1 go test -v -race - golangci-lint run -D errcheck -E goimports -E golint -E misspell -E stylecheck -E unconvert after_failure: - tail -n100 ./*.log
--- language: go go: - "1.12.x" - "1.13.x" services: - redis-server before_install: # update to latest version of redis - sudo apt-get install -y redis-server - GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.18.0 script: # for some reason go test -v -race ./... doesn't work on travis, so use this - go list ./... | xargs -n1 go test -v -race - golangci-lint run -D errcheck -E goimports -E golint -E misspell -E stylecheck -E unconvert after_failure: - tail -n100 ./*.log
Remove nightly from master due to PhpUnit issue
language: php php: - '5.6' - '7.0' - hhvm - nightly cache: directories: - ./vendor install: - composer --prefer-source install script: - vendor/bin/phpunit - bin/psalm
language: php php: - '5.6' - '7.0' - hhvm cache: directories: - ./vendor install: - composer --prefer-source install script: - vendor/bin/phpunit - bin/psalm
Add more versions to CI matrix
language: elixir elixir: - 1.1.1 - 1.2.0 otp_release: - 18.1 after_script: - mix deps.get --only docs - MIX_ENV=docs mix inch.report
language: elixir matrix: include: - otp_release: 18.3 elixir: 1.1.1 - otp_release: 18.3 elixir: 1.2.6 - otp_release: 18.3 elixir: 1.3.2 - otp_release: 19.0 elixir: 1.3.2 sudo: false after_script: - mix deps.get --only docs - MIX_ENV=docs mix inch.report
Remove CI testing for node 4 and 9, add for node 10
language: node_js node_js: - 4 - 6 - 8 - 9 before_install: - npm install -g npm@latest - npm install -g greenkeeper-lockfile@1 before_script: greenkeeper-lockfile-update after_script: greenkeeper-lockfile-upload script: npm run lint && npm run test-coveralls
language: node_js node_js: - 6 - 8 - 10 before_install: - npm install -g npm@latest - npm install -g greenkeeper-lockfile@1 before_script: greenkeeper-lockfile-update after_script: greenkeeper-lockfile-upload script: npm run lint && npm run test-coveralls
Add logging to grunt task
language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli install: - npm install before_script: - grunt travis script: - grunt coveralls:dijit_coverage
language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli install: - npm install before_script: - grunt travis script: - grunt coveralls:dijit_coverage --verbose
Use precise dist to continue PHP 5.3 support
# See https://github.com/silverstripe/silverstripe-travis-support for setup details sudo: false language: php matrix: include: - php: 5.3 env: DB=MYSQL CORE_RELEASE=3.4 - php: 5.4 env: DB=MYSQL CORE_RELEASE=3.5 - php: 5.6 env: DB=MYSQL CORE_RELEASE=3 - php: 5.6 env: DB=MYSQL CORE_RELEASE=3.5 SECUREASSETS=1 - php: 7.1 env: DB=MYSQL CORE_RELEASE=3.6 before_script: - git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support - "if [ \"$SECUREASSETS\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi" - "if [ \"$SECUREASSETS\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/secureassets; fi" - cd ~/builds/ss script: - vendor/bin/phpunit --coverage-clover coverage.clover userforms/tests after_success: - mv coverage.clover ~/build/$TRAVIS_REPO_SLUG/ - cd ~/build/$TRAVIS_REPO_SLUG - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
# See https://github.com/silverstripe/silverstripe-travis-support for setup details sudo: false language: php dist: precise matrix: include: - php: 5.3 env: DB=MYSQL CORE_RELEASE=3.4 - php: 5.4 env: DB=MYSQL CORE_RELEASE=3.5 - php: 5.6 env: DB=MYSQL CORE_RELEASE=3 - php: 5.6 env: DB=MYSQL CORE_RELEASE=3.5 SECUREASSETS=1 - php: 7.1 env: DB=MYSQL CORE_RELEASE=3.6 before_script: - git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support - "if [ \"$SECUREASSETS\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi" - "if [ \"$SECUREASSETS\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/secureassets; fi" - cd ~/builds/ss script: - vendor/bin/phpunit --coverage-clover coverage.clover userforms/tests after_success: - mv coverage.clover ~/build/$TRAVIS_REPO_SLUG/ - cd ~/build/$TRAVIS_REPO_SLUG - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Add initial Travis CI configuration
language: objective-c script: 'curl -s -H "Authorization: token $ATOM_ACCESS_TOKEN" -H "Accept: application/vnd.github.v3.raw" https://api.github.com/repos/atom/apm/contents/script/build-package | sh' env: global: secure: JRVQXRPtCp4hvyLGhNDnTB2vc5mEme7Y/LeNekuX3tT2IEwz7hd4PdIEjzEgqiW10LewKuvzeXFg2Dvku/dDXcG07eBYrZ+7zMCpA2L5yTerhRbGtzDkfrL5LrL0LHlQX+LWX/AetXAmYlHb2UoTwoSeqvxl1OgVov1/UB1528k=
language: objective-c script: 'curl -s -H "Authorization: token $ATOM_ACCESS_TOKEN" -H "Accept: application/vnd.github.v3.raw" https://api.github.com/repos/atom/apm/contents/script/build-package | sh' env: global: secure: K8BJ6HXSFxHC4AVSGdrdK4RNfHGXWK6N0T8mBAJQ+eyjppyGnZUC+S+1GhLtfnXpmVDcc1v0kJp/tyIARhkOb9fC67FUvvRqytdWOgQKjpxAcImHRYxzeADDbiI35SncNr/cPho5irS/mxx/gAOMRV/uweQmTrqgXaRBCuyhFAA=
Switch the 1.x.x builds to use default openjdk8 and install openjfx package
# use java support. language: java # run in container. sudo: false # use linux as operating system. os: linux matrix: fast_finish: true include: - jdk: oraclejdk8 if: branch = master OR tag =~ ^v1\.[0-9]+\.[0-9]+ # match v1.x.x - jdk: openjdk11 if: branch = jdk10 OR tag =~ ^v2\.[0-9]+\.[0-9]+ # match v2.x.x # configure xvfb screen. before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" # skip install stage. install: true # run maven build. script: - mvn test cache: directories: - $HOME/.m2 deploy: # Deploy snapshots & releases on every commit made to master - provider: script script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy" skip_cleanup: true on: all_branches: true
# use java support. language: java # run in container. sudo: false # use linux as operating system. os: linux matrix: fast_finish: true include: - jdk: openjdk8 if: branch = master OR tag =~ ^v1\.[0-9]+\.[0-9]+ # match v1.x.x - jdk: openjdk11 if: branch = jdk10 OR tag =~ ^v2\.[0-9]+\.[0-9]+ # match v2.x.x # configure xvfb screen. before_install: - sudo apt-get install -y openjfx - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" # skip install stage. install: true # run maven build. script: - mvn test cache: directories: - $HOME/.m2 deploy: # Deploy snapshots & releases on every commit made to master - provider: script script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy" skip_cleanup: true on: all_branches: true
Add explicit Python environments to Travis CI
language: python python: '3.5' sudo: false env: global: - LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so - SEGFAULT_SIGNALS=all matrix: - TOXENV=check - TOXENV=docs - TOXENV=py27,codecov - TOXENV=py33,codecov - TOXENV=py34,codecov - TOXENV=py35,codecov - TOXENV=py36,codecov - TOXENV=py37,codecov - TOXENV=pypy,codecov before_install: - python --version - uname -a - lsb_release -a install: - pip install tox - virtualenv --version - easy_install --version - pip --version - tox --version script: - tox -v after_failure: - more .tox/log/* | cat - more .tox/*/log/* | cat before_cache: - rm -rf $HOME/.cache/pip/log cache: directories: - $HOME/.cache/pip notifications: email: on_success: never on_failure: always
dist: xenial language: python python: - '2.7' - '3.3' - '3.4' - '3.5' - '3.6' - '3.7' sudo: false env: global: - LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so - SEGFAULT_SIGNALS=all matrix: - TOXENV=check - TOXENV=docs - TOXENV=py27,codecov - TOXENV=py33,codecov - TOXENV=py34,codecov - TOXENV=py35,codecov - TOXENV=py36,codecov - TOXENV=py37,codecov - TOXENV=pypy,codecov before_install: - python --version - uname -a - lsb_release -a install: - pip install tox - virtualenv --version - easy_install --version - pip --version - tox --version script: - tox -v after_failure: - more .tox/log/* | cat - more .tox/*/log/* | cat before_cache: - rm -rf $HOME/.cache/pip/log cache: directories: - $HOME/.cache/pip notifications: email: on_success: never on_failure: always
Update Ruby versions in TravisCI configuration
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.6 - 2.2.2 gemfile: - gemfiles/Gemfile.ci script: - bundle exec rspec - bundle exec rubocop
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.7 - 2.2.3 gemfile: - gemfiles/Gemfile.ci script: - bundle exec rspec - bundle exec rubocop
Revert "Ignore SCons files from code coverage report."
language: c before_install: - sudo apt-get update -qq install: - sudo apt-get install -y gfortran scons script: - scons --clean - scons - scons test - ./test-udsp - scons test --clean - scons --clean - export CFLAGS="-coverage -g -O0 $CFLAGS" - export LDFLAGS="-coverage $LDFLAGS" - scons test - ./test-udsp - gcov udsp.c compiler: - clang - gcc after_success: - bash <(curl -s https://codecov.io/bash) -g './.scon*'
language: c before_install: - sudo apt-get update -qq install: - sudo apt-get install -y gfortran scons script: - scons --clean - scons - scons test - ./test-udsp - scons test --clean - scons --clean - export CFLAGS="-coverage -g -O0 $CFLAGS" - export LDFLAGS="-coverage $LDFLAGS" - scons test - ./test-udsp - gcov udsp.c compiler: - clang - gcc after_success: - bash <(curl -s https://codecov.io/bash)
Use available node js version.
language: - node_js node_js: - 0.10.13 before_install: - npm install grunt-cli bower -g - npm install - bower install # install CasperJS - git clone git://github.com/n1k0/casperjs.git ~/casperjs - cd ~/casperjs - git checkout tags/1.0.2 - export PATH=$PATH:`pwd`/bin - cd - before_script: - phantomjs --version - casperjs --version script: - DISPLAY=:99.0 grunt test:ci
language: - node_js node_js: - 0.10.12 before_install: - npm install grunt-cli bower -g - npm install - bower install # install CasperJS - git clone git://github.com/n1k0/casperjs.git ~/casperjs - cd ~/casperjs - git checkout tags/1.0.2 - export PATH=$PATH:`pwd`/bin - cd - before_script: - phantomjs --version - casperjs --version script: - DISPLAY=:99.0 grunt test:ci
Disable Ruby 2.5.0 (for now)
language: ruby sudo: false cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 gemfile: Gemfile.travis script: bundle exec rake test
language: ruby sudo: false cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.9 - 2.3.6 - 2.4.3 gemfile: Gemfile.travis script: bundle exec rake test
Remove bundler update from Travis config
--- language: ruby rvm: - 2.1.2 before_script: - gem update bundler script: - bundle exec rspec --no-drb --format progress
--- language: ruby rvm: - 2.1.2 script: - bundle exec rspec --no-drb --format progress
Fix The command "phpenv config-rm xdebug.ini" failed and exited with 1 during .
language: php php: - '7.0' - '7.1' - nightly matrix: allow_failures: - php: 7.1 - php: nightly services: - postgresql addons: postgresql: "9.2" cache: directories: - $HOME/.composer/cache before_install: - phpenv config-rm xdebug.ini - echo "no" | pecl install apcu-5.1.3 script: - ./bin/test
language: php php: - '7.0' - '7.1' - nightly matrix: allow_failures: - php: 7.1 - php: nightly services: - postgresql addons: postgresql: "9.2" cache: directories: - $HOME/.composer/cache before_install: - phpenv config-rm xdebug.ini || true - echo "no" | pecl install apcu-5.1.3 script: - ./bin/test
Fix typo in script path
matrix: include: - os: linux language: android sudo: false android: components: - build-tools-23.0.1 - android-23 - extra-google-m2repository - extra-android-m2repository env: TERM=dumb - os: osx language: objective-c osx_image: xcode7.3 install: script/install.sh script: script/ci.sh
matrix: include: - os: linux language: android sudo: false android: components: - build-tools-23.0.1 - android-23 - extra-google-m2repository - extra-android-m2repository env: TERM=dumb - os: osx language: objective-c osx_image: xcode7.3 install: scripts/install.sh script: scripts/ci.sh
Put 3.10 in Quotes for Travis
language: python sudo: false script: ./scripts/travis.sh os: - linux python: - 3.5 - 3.6 matrix: include: - python: 3.7 dist: xenial sudo: true - python: 3.8 dist: xenial sudo: true - python: 3.9 dist: xenial sudo: true - python: 3.10 dist: focal sudo: true services: - memcached - redis-server
language: python sudo: false script: ./scripts/travis.sh os: - linux python: - "3.5" - "3.6" matrix: include: - python: "3.7" dist: "xenial" sudo: true - python: "3.8" dist: "xenial" sudo: true - python: "3.9" dist: "xenial" sudo: true - python: "3.10" dist: "focal" sudo: true services: - memcached - redis-server
Test colorguard on angr pushes
before_script: - which angr-test && angr-test sync hard ### local angr: script: "angr-test angr" tags: [angr] lint: script: "angr-test lint" tags: [angr] ### first level fidget: script: "angr-test fidget" tags: [angr] angrop: script: "angr-test angrop" tags: [angr] topsecret: script: "angr-test top-secret" tags: [angr] driller: script: "angr-test driller" tags: [angr] tracer: script: "angr-test tracer" tags: [angr] rex: script: "angr-test rex" tags: [angr] pwnrex: script: "angr-test pwnrex" tags: [angr] patcherex: script: "angr-test patcherex" tags: [angr] docs: script: "angr-test docs" tags: [angr] ### Deploy stage build_images: only: ["master"] stage: deploy script: - angr-build angr - angr-build angr-ci - cgc-build worker tags: ["docker-builder"]
before_script: - which angr-test && angr-test sync hard ### local angr: script: "angr-test angr" tags: [angr] lint: script: "angr-test lint" tags: [angr] ### first level fidget: script: "angr-test fidget" tags: [angr] angrop: script: "angr-test angrop" tags: [angr] topsecret: script: "angr-test top-secret" tags: [angr] driller: script: "angr-test driller" tags: [angr] tracer: script: "angr-test tracer" tags: [angr] rex: script: "angr-test rex" tags: [angr] colorguard: script: "angr-test colorguard" tags: [angr] pwnrex: script: "angr-test pwnrex" tags: [angr] patcherex: script: "angr-test patcherex" tags: [angr] docs: script: "angr-test docs" tags: [angr] ### Deploy stage build_images: only: ["master"] stage: deploy script: - angr-build angr - angr-build angr-ci - cgc-build worker tags: ["docker-builder"]
Sort checked files to avoid random order
dist: trusty sudo: false language: php php: - 7.1 - 7.2 - nightly cache: directories: - $HOME/.composer/cache before_install: - mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{,.disabled} || echo "xdebug not available" - composer self-update install: travis_retry composer update --prefer-dist script: - vendor/bin/phpcs - vendor/bin/phpcs tests/input --report=summary --report-file=phpcs.log; diff tests/expected_report.txt phpcs.log jobs: allow_failures: - php: nightly include: - stage: Apply fixes before_script: - cp -R tests/input/ tests/input2/ script: vendor/bin/phpcbf tests/input2; diff tests/input2 tests/fixed
dist: trusty sudo: false language: php php: - 7.1 - 7.2 - nightly cache: directories: - $HOME/.composer/cache before_install: - mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{,.disabled} || echo "xdebug not available" - composer self-update install: travis_retry composer update --prefer-dist script: - vendor/bin/phpcs - vendor/bin/phpcs $(find tests/input/* | sort) --report=summary --report-file=phpcs.log; diff tests/expected_report.txt phpcs.log jobs: allow_failures: - php: nightly include: - stage: Apply fixes before_script: - cp -R tests/input/ tests/input2/ script: vendor/bin/phpcbf tests/input2; diff tests/input2 tests/fixed
Add ruby 2.7 to CI matrix
name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: matrix: mongodb: [4.4] ruby: [2.4, 2.5, 2.6] gemfile: - carrierwave-0.10 - carrierwave-0.11 - carrierwave-1.1 - carrierwave-1.2 - carrierwave-1.3 - carrierwave-2.0 - carrierwave-2.1 - mongoid-3 - mongoid-4 - mongoid-5 - mongoid-6 - mongoid-7 name: Ruby ${{ matrix.ruby }} with ${{ matrix.gemfile }} env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile steps: - name: Set up MongoDB ${{ matrix.mongodb }} uses: supercharge/mongodb-github-action@1.3.0 with: mongodb-version: ${{ matrix.mongodb }} - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run tests run: bundle exec rake
name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: matrix: mongodb: [4.4] ruby: [2.4, 2.5, 2.6, 2.7] gemfile: - carrierwave-1.1 - carrierwave-1.2 - carrierwave-1.3 - carrierwave-2.0 - carrierwave-2.1 - mongoid-6 - mongoid-7 include: - { mongodb: "4.4", ruby: "2.6", gemfile: "carrierwave-0.10" } - { mongodb: "4.4", ruby: "2.6", gemfile: "carrierwave-0.11" } - { mongodb: "4.4", ruby: "2.6", gemfile: "mongoid-3" } - { mongodb: "4.4", ruby: "2.6", gemfile: "mongoid-4" } - { mongodb: "4.4", ruby: "2.6", gemfile: "mongoid-5" } name: Ruby ${{ matrix.ruby }} with ${{ matrix.gemfile }} env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile steps: - name: Set up MongoDB ${{ matrix.mongodb }} uses: supercharge/mongodb-github-action@1.3.0 with: mongodb-version: ${{ matrix.mongodb }} - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run tests run: bundle exec rake
Update the Travis configuration for Ruby 2.3.0
language: ruby rvm: - 2.0.0 services: postgres before_script: - rm config/database.yml - cp config/database.travis.yml config/database.yml - psql -c 'create database books_test;' -U postgres - bundle exec rake db:migrate
language: ruby rvm: - 2.3.0 services: postgres before_script: - rm config/database.yml - cp config/database.travis.yml config/database.yml - psql -c 'create database books_test;' -U postgres - bundle exec rake db:migrate
Update to JRuby 9.1.12.0 and Rubinius 3.84.
language: ruby dist: trusty sudo: false before_script: - bundle update cache: bundler rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.7 - 2.3.4 - 2.4.1 - ruby-head - jruby-1.7.26 - jruby-9.1.9.0 - jruby-head - rbx-3.82 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head
language: ruby dist: trusty sudo: false before_script: - bundle update cache: bundler rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.7 - 2.3.4 - 2.4.1 - ruby-head - jruby-1.7.26 - jruby-9.1.12.0 - jruby-head - rbx-3.84 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head
Update config for domain name
url: https://appnearme.github.io/micronfcboard baseurl: /micronfcboard # Site settings title: MicroNFCBoard - NFC made easy company: AppNearMe Ltd email: contact@appnearme.com description: "MicroNFCBoard - NFC made easy; read and write tags, transfer data with NFC phones" # Color settings (hex-codes without the leading hash-tag) color: primary: fed136 secondary: fec503 secondary-dark: 333 # Social networks usernames (many more available: google-plus, flickr, dribbble, pinterest, instagram, tumblr, linkedin, etc.) social: - title: twitter url: http://twitter.com/AppNearMe - title: github url: http://github.com/AppNearMe # Distributors distributors: - name: SeeedStudio image: seeedstudio.png link: http://www.seeedstudio.com/depot/MicroNFCBoard-p-2431.html # Postal address (add as many lines as necessary) address: - line: ideaSpace - line: 3 Charles Babbage Rd - line: Cambridge - line: UK # Build settings markdown: kramdown permalink: pretty
url: http://www.micronfcboard.com baseurl: / # Site settings title: MicroNFCBoard - NFC made easy company: AppNearMe Ltd email: contact@appnearme.com description: "MicroNFCBoard - NFC made easy; read and write tags, transfer data with NFC phones" # Color settings (hex-codes without the leading hash-tag) color: primary: fed136 secondary: fec503 secondary-dark: 333 # Social networks usernames (many more available: google-plus, flickr, dribbble, pinterest, instagram, tumblr, linkedin, etc.) social: - title: twitter url: http://twitter.com/AppNearMe - title: github url: http://github.com/AppNearMe # Distributors distributors: - name: SeeedStudio image: seeedstudio.png link: http://www.seeedstudio.com/depot/MicroNFCBoard-p-2431.html # Postal address (add as many lines as necessary) address: - line: ideaSpace - line: 3 Charles Babbage Rd - line: Cambridge - line: UK # Build settings markdown: kramdown permalink: pretty
Update elixir & erlang tested versions
language: elixir elixir: - 1.3.3 otp_release: - 18.2 script: - MIX_ENV=test mix test --trace --cover services: - redis-server sudo: false
language: elixir elixir: - 1.6.6 - 1.7.3 otp_release: - 21.0 script: - MIX_ENV=test mix test --trace --cover services: - redis-server sudo: false
Exclude only tests/examples directory in Travis
language: php php: - 5.3.3 - 5.4 - 5.5 before_script: - composer self-update - composer install --no-interaction --prefer-source --dev - composer require jakub-onderka/php-console-highlighter 0.3 script: - ./vendor/bin/tester tests - ./parallel-lint --exclude vendor --exclude tests --no-colors . - ./parallel-lint --exclude vendor --exclude tests .
language: php php: - 5.3.3 - 5.4 - 5.5 before_script: - composer self-update - composer install --no-interaction --prefer-source --dev - composer require jakub-onderka/php-console-highlighter 0.3 script: - ./vendor/bin/tester tests - ./parallel-lint --exclude vendor --exclude tests/examples --no-colors . - ./parallel-lint --exclude vendor --exclude tests/examples .
Change default editor to nvim
baseurl: title: Tufte-Jekyll subtitle: Content-centric blogging author: Andrei Kashin simple_search: http://google.com/search description: A Jekyll theme for content-rich sites name: tufte markdown: kramdown markdown_ext: "markdown,mkdown,mkdn,mkd,md" permalink: /articles/:short_year/:title timezone: Europe/London excerpt_separator: <!--more--> # you can specify your own separator, of course. exclude: ['Gemfile', 'Rakefile', 'README.md'] post: template: _post.txt extension: md page: template: _page.txt extension: md editor: gvim git: branch: master transfer: command: rsync settings: -av source: _site/ destination: ~/Repos/akashin.me/
baseurl: title: Tufte-Jekyll subtitle: Content-centric blogging author: Andrei Kashin simple_search: http://google.com/search description: A Jekyll theme for content-rich sites name: tufte markdown: kramdown markdown_ext: "markdown,mkdown,mkdn,mkd,md" permalink: /articles/:short_year/:title timezone: Europe/London excerpt_separator: <!--more--> # you can specify your own separator, of course. exclude: ['Gemfile', 'Rakefile', 'README.md'] post: template: _post.txt extension: md page: template: _page.txt extension: md editor: nvim git: branch: master transfer: command: rsync settings: -av source: _site/ destination: ~/Repos/akashin.me/
Drop support for Ruby 1.9.3
language: ruby before_install: - sudo apt-get install libpcap-dev -qq rvm: - 2.1.1 - 2.0.0 - 1.9.3
language: ruby before_install: - sudo apt-get install libpcap-dev -qq rvm: - 2.1.1 - 2.0.0
Test Go 1.7rc1 and tip
sudo: false language: go go: - 1.5 - 1.6 env: global: - GO15VENDOREXPERIMENT=1 install: - make install_ci script: - make lint_ci - make test_ci - travis_retry goveralls -coverprofile=cover.out -service=travis-ci || true - rm -rf vendor/*
sudo: false language: go go: - 1.5 - 1.6 - 1.7rc1 - tip env: global: - GO15VENDOREXPERIMENT=1 install: - make install_ci script: - make lint_ci - make test_ci - travis_retry goveralls -coverprofile=cover.out -service=travis-ci || true - rm -rf vendor/*
Use kramdown parser instead of redcarpet
exclude: [ "less", "gitignore", "nicoespeon.sublime-project", "nicoespeon.sublime-workspace" ] highlighter: pygments markdown: redcarpet redcarpet: extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] permalink: /:categories/:year/:month/:title/ paginate: 7 paginate_path: "/page:num" paginate_per_category: true default_category: "en" safe: false url: http://www.nicoespeon.com name: "@nicoespeon's blog" description: "Freelance web-developer and Agile coach thoughts. Lean, Kanban, scalable CSS, HTML5 games, Backbone.js, Software Craftmanship." default_locale: "en" authorized_locales: ["en", "fr"]
exclude: [ "less", "gitignore", "nicoespeon.sublime-project", "nicoespeon.sublime-workspace" ] highlighter: pygments markdown: kramdown redcarpet: extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] permalink: /:categories/:year/:month/:title/ paginate: 7 paginate_path: "/page:num" paginate_per_category: true default_category: "en" safe: false url: http://www.nicoespeon.com name: "@nicoespeon's blog" description: "Freelance web-developer and Agile coach thoughts. Lean, Kanban, scalable CSS, HTML5 games, Backbone.js, Software Craftmanship." default_locale: "en" authorized_locales: ["en", "fr"]
Update Java version in Travis to avoid build issue
language: java jdk: - oraclejdk8
language: java jdk: - oraclejdk8 script: - sudo apt-get update && sudo apt-get install oracle-java8-installer - java -version
Drop back to node 0.8 for now
language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6"
language: node_js node_js: - "0.8"
Remove a few JDK's that are not installed by default anymore, they're past EOL anyway
sudo: false language: java jdk: - oraclejdk11 - oraclejdk10 - oraclejdk9 - oraclejdk8 - oraclejdk7 - openjdk11 - openjdk10 - openjdk9 - openjdk8 - openjdk7 - openjdk6 env: - TERM=dumb after_success: - gradle cobertura coveralls
sudo: false language: java jdk: - oraclejdk11 - oraclejdk10 - oraclejdk9 - oraclejdk8 - openjdk11 - openjdk10 - openjdk9 - openjdk8 - openjdk7 env: - TERM=dumb after_success: - gradle cobertura coveralls
Use latest stable releases of all rubies in CI
language: ruby sudo: false matrix: include: - rvm: 2.3.1 script: - bundle exec danger - rvm: 2.3.1 - rvm: 2.3.0 - rvm: 2.2.5 - rvm: 2.4.0 - rvm: rbx-2 - rvm: ruby-head - rvm: jruby-head - rvm: jruby-9.1.7.0 allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: rbx-2 before_install: - gem update --system - gem install bundler bundler_args: --without development
language: ruby sudo: false matrix: include: - rvm: 2.4.1 - rvm: 2.4.1 script: - bundle exec danger - rvm: jruby-9.1.12.0 - rvm: jruby-head - rvm: 2.2.7 - rvm: 2.3.4 - rvm: rbx-2 - rvm: ruby-head allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: rbx-2 before_install: - gem update --system - gem install bundler bundler_args: --without development
Support node 4 and 5
language: node_js node_js: - "0.10" - "0.12" - "iojs" after_script: - npm run coveralls
language: node_js node_js: - 4 - 5 after_script: - npm run coveralls
Add go 1.5 to CI run
language: go go: - 1.1 - 1.2 - 1.3 - 1.4
language: go go: - 1.1 - 1.2 - 1.3 - 1.4 - 1.5
Update to new version of bundler every time due to ruby 2.5 issue.
language: ruby cache: bundler sudo: required rvm: - 2.3 - 2.4 - 2.5 notifications: email: recipients: - fhir-testing-list@lists.mitre.org on_failure: change
language: ruby cache: bundler sudo: required rvm: - 2.3 - 2.4 - 2.5 notifications: email: recipients: - fhir-testing-list@lists.mitre.org on_failure: change before_install: gem install bundler
Increase the Travis testing matrix, to include Illuminate 5.1 components
language: php php: - 5.5 - 5.6 - 7.0 - hhvm before_script: - travis_retry composer self-update - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source script: - phpunit
language: php php: - 5.5.9 - 5.5 - 5.6 - 7.0 - hhvm env: global: - setup=basic matrix: include: - php: 5.5.9 env: setup=lowest - php: 5.5.9 env: setup=stable sudo: false install: - if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-source; fi - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-lowest --prefer-stable; fi script: vendor/bin/phpunit
Add deploy with my npm account for now
language: node_js script: make test before_deploy: - npm-prepublish --verbose --lax deploy: provider: npm email: "replace-with-email" api_key: secure: "replace-with-encrypted-api-key" on: all_branches: true tags: true repo: github/fetch
language: node_js script: make test before_deploy: - npm-prepublish --verbose --lax deploy: provider: npm email: matt@mattandre.ws api_key: secure: ij7AZPB/atfHn/MJI9T6p/awg8zSrFL/FXMorfvSNZdCck8BTZaK1eiiC2Jg1ljZiIeRnc+EEpBWTc1yTLAQUF8dIXf3oyxdSXQzz4GiGHRgqi9vyvPyUXshsqdNY2WzO6lnKJ+XLDCCYyaHcFIBeqPqtYxPe5m8ck8w1kQz8CQ= on: all_branches: true tags: true repo: github/fetch
Remove unused deployments on now.sh
language: node_js node_js: - "8" cache: yarn: true before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.9.4 - export PATH=$HOME/.yarn/bin:$PATH install: - yarn install script: - yarn build - yarn lint #- yarn flow - yarn test # Install Now CLI on Travis before_deploy: npm install now --no-save # Deploy on now.sh deploy: - provider: script script: now --public --team shinkgs --token $NOW_TOKEN && now alias --team shinkgs --token $NOW_TOKEN shinkgs-$TRAVIS_BRANCH && echo "The current build is available at https://shinkgs-$TRAVIS_BRANCH.now.sh" skip_cleanup: true on: all_branches: true master: true
language: node_js node_js: - "8" cache: yarn: true before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.9.4 - export PATH=$HOME/.yarn/bin:$PATH install: - yarn install script: - yarn build - yarn lint #- yarn flow - yarn test # Install Now CLI on Travis before_deploy: npm install now --no-save # Deploy on now.sh deploy: - provider: script script: now rm --team shinkgs --token $NOW_TOKEN -y -s shinkgs && now --public --team shinkgs --token $NOW_TOKEN && now alias --team shinkgs --token $NOW_TOKEN shinkgs-$TRAVIS_BRANCH && echo "The current build is available at https://shinkgs-$TRAVIS_BRANCH.now.sh" skip_cleanup: true on: all_branches: true master: true
Update Ruby build matrix on Travis
before_script: - sudo apt-get update - sudo apt-get install gccxml - gem uninstall -a --force gccxml_gem - gem install gccxml_gem --platform ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - ruby-head
before_script: - sudo apt-get update - sudo apt-get install gccxml - gem uninstall -a --force gccxml_gem - gem install gccxml_gem --platform ruby rvm: - 2.0.0 - 2.1.0 - 2.2.0 - 2.3.0 - ruby-head
Remove support for furure parser as it is only applies to version 3
#This file is generated by ModuleSync, do not edit. --- sudo: false language: ruby cache: bundler script: "bundle exec rake validate lint spec" matrix: fast_finish: true include: - rvm: 2.1.6 dist: trusty env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04 script: bundle exec rake beaker services: docker sudo: required - rvm: 2.1.6 dist: trusty env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7 script: bundle exec rake beaker services: docker sudo: required - rvm: 2.1.6 bundler_args: --without system_tests env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" - rvm: 2.1.6 bundler_args: --without system_tests env: PUPPET_GEM_VERSION="~> 4.0" FUTURE_PARSER="yes" - rvm: 2.1.5 bundler_args: --without system_tests env: PUPPET_GEM_VERSION="~> 4.0" notifications: email: false
#This file is generated by ModuleSync, do not edit. --- sudo: false language: ruby cache: bundler script: "bundle exec rake validate lint spec" matrix: fast_finish: true include: - rvm: 2.1.6 dist: trusty env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04 script: bundle exec rake beaker services: docker sudo: required - rvm: 2.1.6 dist: trusty env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7 script: bundle exec rake beaker services: docker sudo: required - rvm: 2.1.6 bundler_args: --without system_tests env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" - rvm: 2.1.5 bundler_args: --without system_tests env: PUPPET_GEM_VERSION="~> 4.0" notifications: email: false
Stop running Travis on Stable
language: dart dart: - dev - stable dart_task: - test - dartfmt - dartanalyzer # Only building master means that we don't run two builds for each pull request. branches: only: [master] cache: directories: - $HOME/.pub-cache
language: dart dart: - dev dart_task: - test - dartfmt - dartanalyzer # Only building master means that we don't run two builds for each pull request. branches: only: [master] cache: directories: - $HOME/.pub-cache
Remove duplicated bundle install instruction
language: objective-c branches: only: - master git: submodules: false before_install: - git submodule update --init --recursive - bundle install podfile: ./Podfile xcode_workspace: ./Devbeers.xcworkspace xcode_scheme: Devbeers script: xctool -workspace ./Devbeers.xcworkspace -sdk iphonesimulator -scheme Devbeers build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO osx_image: xcode7.2
language: objective-c branches: only: - master git: submodules: false before_install: - git submodule update --init --recursive podfile: ./Podfile xcode_workspace: ./Devbeers.xcworkspace xcode_scheme: Devbeers script: xctool -workspace ./Devbeers.xcworkspace -sdk iphonesimulator -scheme Devbeers build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO osx_image: xcode7.2
Print puppet version before running tests in Travis
rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.0 notifications: email: - tim@github.com env: - PUPPET_VERSION=2.7.25 - PUPPET_VERSION=3.0.2 - PUPPET_VERSION=3.1.1 - PUPPET_VERSION=3.2.4 - PUPPET_VERSION=3.3.2 - PUPPET_VERSION=3.4.2 before_install: - gem --version - gem update --system # todo: workaround for https://github.com/rubygems/rubygems/pull/763 before_script: - bundle list matrix: allow_failures: - rvm: 2.1.0 # broken in puppet < 3.5.0 https://tickets.puppetlabs.com/browse/PUP-1243
rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.0 notifications: email: - tim@github.com env: - PUPPET_VERSION=2.7.25 - PUPPET_VERSION=3.0.2 - PUPPET_VERSION=3.1.1 - PUPPET_VERSION=3.2.4 - PUPPET_VERSION=3.3.2 - PUPPET_VERSION=3.4.2 before_install: - gem --version - gem update --system # todo: workaround for https://github.com/rubygems/rubygems/pull/763 before_script: - bundle list - puppet --version matrix: allow_failures: - rvm: 2.1.0 # broken in puppet < 3.5.0 https://tickets.puppetlabs.com/browse/PUP-1243
Test TGZ and DEB using Travis
language: cpp compiler: gcc before_install: - sudo apt-get update -qq - sudo apt-get install -qq cmake sqlite3 qt4-dev-tools cscope exuberant-ctags before_script: - mkdir build - cd build - cmake .. script: make after_script: - make package - export pkgfile=`ls -1 ./*.deb` - sudo dpkg -i $pkgfile - cqmakedb -v - cqsearch -v - cqmakedb -h - cqsearch -h notifications: email: - ruben2020-git@users.sourceforge.net on_success: change on_failure: always
language: cpp compiler: gcc before_install: - sudo apt-get update -qq - sudo apt-get install -qq cmake sqlite3 qt4-dev-tools cscope exuberant-ctags before_script: - mkdir build - cd build - cmake .. script: make after_script: - make package - export tgzfile=`ls -1 ./*.tar.gz` - tar -ztvf $tgzfile - export debfile=`ls -1 ./*.deb` - sudo dpkg -i $debfile - cqmakedb -v - cqsearch -v - cqmakedb -h - cqsearch -h notifications: email: - ruben2020-git@users.sourceforge.net on_success: change on_failure: always
Remove support for Puppet 2.7
--- language: ruby bundler_args: --without system_tests --jobs 3 --retry 3 script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" sudo: false matrix: fast_finish: true include: - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0" - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" notifications: email: false
--- language: ruby bundler_args: --without system_tests --jobs 3 --retry 3 script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" sudo: false matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" notifications: email: false