Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Configure Travis to use Go1.7.
language: go go: - 1.5 - 1.6 install: - go get -t -v ./... script: - go test -v ./...
language: go go: - 1.6 - 1.7 install: - go get -t -v ./... script: - go test -v ./...
Add verbosity to code sniffer output
# Basic conif language: php php: - '7.0' # Composer, dependencies and autoloading install: - composer install # Execute unit tests script: - phpunit --configuration phpunit.xml - ./vendor/bin/humbug - ./vendor/bin/phpcs --standard=PSR2 -n --colors src/php/
# Basic conif language: php php: - '7.0' # Composer, dependencies and autoloading install: - composer install # Execute unit tests script: - phpunit --configuration phpunit.xml - ./vendor/bin/humbug - ./vendor/bin/phpcs --standard=PSR2 --colors -v src/php/
Update to only test develop branch
language: php php: - 5.3 - 5.4 - 5.5 before_script: - cp app/config/parameters.T.yml app/config/parameters.yml - composer install --dev script: phpunit --configuration app/phpunit.xml.dist
branches: only: - develop language: php php: - 5.3 - 5.4 - 5.5 before_script: - cp app/config/parameters.T.yml app/config/parameters.yml - composer install --dev script: phpunit --configuration app/phpunit.xml.dist
Disable line length check for json_test.py
language: python python: - "2.7" install: - pip install pep8 flake8 script: # we want pyflakes to check all files for unused imports only # we use flake8 because it allows us to ignore other warnings # exclude the thrift directories - they contain auto-generated code - flake8 --ignore=E501,F811,F812,F821,F822,F823,F831,F841,N8,C9 --exclude=thrift_bindings,cassandra-thrift . - git remote add riptano git://github.com/riptano/cassandra-dtest.git - git fetch riptano # fetch master for the next diff # feed changed lines with no context around them to pep8 # I know we don't enforce line length but if you introduce # 200-char lines you are doing something terribly wrong - git diff riptano/master...HEAD -U0 | pep8 --diff --max-line-length=200 sudo: false
language: python python: - "2.7" install: - pip install pep8 flake8 script: # we want pyflakes to check all files for unused imports only # we use flake8 because it allows us to ignore other warnings # exclude the thrift directories - they contain auto-generated code - flake8 --ignore=E501,F811,F812,F821,F822,F823,F831,F841,N8,C9 --exclude=thrift_bindings,cassandra-thrift . - git remote add riptano git://github.com/riptano/cassandra-dtest.git - git fetch riptano # fetch master for the next diff # feed changed lines with no context around them to pep8 # I know we don't enforce line length but if you introduce # 200-char lines you are doing something terribly wrong - git diff riptano/master...HEAD -U0 | pep8 --ignore=E501 json_test.py --diff --max-line-length=200 sudo: false
Test on current PHP with sqlite
language: php php: - 7.1 - 7.0 - 5.6 # - hhvm - nightly os: - linux # osx/php testing not supported by travis before_script: - mysql -e 'create database travis_app_test DEFAULT CHARACTER SET utf8mb4 collate utf8mb4_unicode_ci;' install: - cp app/config/parameters-docker.yml app/config/parameters.yml - composer install - npm install #JS tools installed by npm required for validation only, not for app execution or development script: vendor/bin/phing -f phing.xml test-all #Disable nightly-build test until I fix deps matrix: allow_failures: - php: nightly - php: hhvm branches: only: - gh-pages - /.*/
language: php php: - 7.1 - 7.2 - 7.3 os: - linux install: - cp app/config/parameters-docker.yml app/config/parameters.yml - composer install - npm install #JS tools installed by npm required for validation only, not for app execution or development script: vendor/bin/phing -f phing.xml test-all branches: only: - gh-pages - /.*/
Update Travis CI testing php/symfony versions and environments
language: php php: - 5.3 - 5.4 before_script: - composer install script: phpunit notifications: email: - vincent.composieux@gmail.com
language: php php: - 5.3 - 5.4 - 5.5 - hhvm env: - SYMFONY_VERSION=2.2.* - SYMFONY_VERSION=2.3.* - SYMFONY_VERSION=2.4.* - SYMFONY_VERSION=dev-master before_script: - composer require symfony/symfony:${SYMFONY_VERSION} --prefer-source - composer install --dev --prefer-source script: phpunit notifications: email: - vincent.composieux@gmail.com matrix: allow_failures: - php: hhvm
Build against MRI 1.9.3, and MRI 2.0.0
language: ruby rvm: - 2.0.0 - 1.9.3 - jruby-19mode - rbx-19mode
language: ruby rvm: - 2.0.0 - 1.9.3
Test on Node 6 and 8
language: node_js node_js: - "4" - "6" - "7" dist: trusty sudo: required addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable script: xvfb-run npm test
language: node_js node_js: - "6" - "8" dist: trusty sudo: false addons: firefox: latest chrome: stable script: xvfb-run npm test
Remove tip test. It fails on a "go get", which appears unrelated.
language: go sudo: false os: - linux - osx go: - 1.4 - 1.5 - tip install: - go get ./... - go get -u github.com/golang/lint/golint - go get -u golang.org/x/tools/cmd/goimports script: - go vet ./... - diff <(goimports -d .) <(printf "") - diff <(golint ./...) <(printf "") - go test -v -cpu=2 ./... - go test -v -cpu=1,2,4 -short -race ./...
language: go sudo: false os: - linux - osx go: - 1.4 - 1.5 install: - go get ./... - go get -u github.com/golang/lint/golint - go get -u golang.org/x/tools/cmd/goimports script: - go vet ./... - diff <(goimports -d .) <(printf "") - diff <(golint ./...) <(printf "") - go test -v -cpu=2 ./... - go test -v -cpu=1,2,4 -short -race ./...
Remove Puppet 3.7 from test matrix
--- sudo: false language: ruby gemfile: .gemfile matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.7.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.8.0" - rvm: 2.1.5 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.1.5 env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes" - rvm: 2.1.6 env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" - rvm: 2.2 env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" - rvm: 2.3.1 env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" script: - "bundle exec rake validate" - "bundle exec rake lint" - "bundle exec rake spec SPEC_OPTS='--format documentation'" bundler_args: --without system_tests cache: bundler before_install: - bundle -v - rm Gemfile.lock .gemfile.lock || true - gem update --system - gem update bundler - gem --version - bundle -v notifications: on_success: change on_failure: change
--- sudo: false language: ruby gemfile: .gemfile matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.8.0" - rvm: 2.1.5 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.1.5 env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes" - rvm: 2.1.6 env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" - rvm: 2.2 env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" - rvm: 2.3.1 env: PUPPET_GEM_VERSION="~> 4.0" STRICT_VARIABLES="yes" script: - "bundle exec rake validate" - "bundle exec rake lint" - "bundle exec rake spec SPEC_OPTS='--format documentation'" bundler_args: --without system_tests cache: bundler before_install: - bundle -v - rm Gemfile.lock .gemfile.lock || true - gem update --system - gem update bundler - gem --version - bundle -v notifications: on_success: change on_failure: change
Remove node.js 0.10 from CI
sudo: false language: node_js node_js: - iojs - "0.12" - "0.10"
sudo: false language: node_js node_js: - iojs - "0.12"
Add Node.js 13 back for testing
language: node_js node_js: - '12' - '10' after_success: - './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
language: node_js node_js: - '13' - '12' - '10' after_success: - './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
Test on Ruby 2 patched versions
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.5 - ruby-head - jruby-19mode notifications: recipients: - weppos@weppos.net matrix: allow_failures: - rvm: ruby-head - rvm: jruby-19mode include: - rvm: 1.9.2 gemfile: Gemfile.ruby-1.9.2
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - ruby-head - jruby-19mode notifications: recipients: - weppos@weppos.net matrix: allow_failures: - rvm: ruby-head - rvm: jruby-19mode include: - rvm: 1.9.2 gemfile: Gemfile.ruby-1.9.2
Revert "Attempt to fix CI error."
# This is the simple Travis configuration, which is intended for use # on applications which do not require cross-platform and # multiple-GHC-version support. For more information and other # options, see: # # https://docs.haskellstack.org/en/stable/travis_ci/ # # Copy these contents into the root directory of your Github project in a file # named .travis.yml # Use new container infrastructure to enable caching sudo: false # Do not choose a language; we provide our own build tools. language: generic # Caching so the next build will be fast too. cache: directories: - $HOME/.stack # Ensure necessary system libraries are present addons: apt: packages: - libgmp-dev 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' install: # Build dependencies - stack --no-terminal --install-ghc test --only-dependencies script: # Build the package, its tests, and its docs and run the tests - stack --no-terminal test --haddock --no-haddock-deps - curl -sL https://raw.githubusercontent.com/ndmitchell/weeder/master/misc/travis.sh | sh -s .
# This is the simple Travis configuration, which is intended for use # on applications which do not require cross-platform and # multiple-GHC-version support. For more information and other # options, see: # # https://docs.haskellstack.org/en/stable/travis_ci/ # # Copy these contents into the root directory of your Github project in a file # named .travis.yml # Use new container infrastructure to enable caching sudo: false # Do not choose a language; we provide our own build tools. language: generic # Caching so the next build will be fast too. cache: directories: - $HOME/.stack # Ensure necessary system libraries are present addons: apt: packages: - libgmp-dev 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' install: # Build dependencies - stack --no-terminal --install-ghc test --only-dependencies script: # Build the package, its tests, and its docs and run the tests - stack --no-terminal test --haddock --no-haddock-deps - curl -sL https://raw.github.com/ndmitchell/weeder/master/misc/travis.sh | sh -s .
Update required ruby version >= 2.0.
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.0 - 2.1 - 2.2.4 - jruby-9.0.4.0 - rbx-2 cache: bundler sudo: false
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.0 - 2.1 - 2.2.4 - jruby-9.0.4.0 - rbx-2 cache: bundler sudo: false matrix: allow_failures: - rvm: rbx-2
Remove the statement to install the latest stable version of CMake
language: c os: linux dist: trusty compiler: - gcc - clang before_script: - eval "$(curl -sL https://github.com/odaceo/script-ubuntu-cmake/raw/master/install.sh)" - mkdir build - cd build - cmake .. script: - make - ./hello Odaceo deploy: provider: bintray file: bintray.json user: ${BINTRAY_USER} key: ${BINTRAY_PASS}
language: c os: linux dist: trusty compiler: - gcc - clang before_script: - mkdir build - cd build - cmake .. script: - make - ./hello Odaceo deploy: provider: bintray file: bintray.json user: ${BINTRAY_USER} key: ${BINTRAY_PASS}
Test on PHP 7.4 + polish test calls
language: php sudo: false cache: directories: - $HOME/.composer/cache/files git: depth: 1 php: - "7.2" - "7.3" before_install: - composer self-update --stable - composer require php-coveralls/php-coveralls - composer global require ergebnis/composer-normalize bamarni/composer-bin-plugin --prefer-dist --no-interaction --no-progress install: - composer install --prefer-dist --no-interaction --no-progress - composer bin all install --prefer-dist --no-interaction --no-progress - mkdir -p build/logs script: - composer normalize --indent-size 4 --indent-style space --dry-run - ./vendor/bin/php-cs-fixer fix --diff --config vendor-bin/test/vendor/becklyn/php-cs/.php_cs.dist --dry-run --no-interaction - ./vendor/bin/phpstan analyse -l 4 --memory-limit 4G --ansi -c vendor-bin/test/vendor/becklyn/php-cs/phpstan/lib.neon . --no-interaction --no-progress - ./vendor/bin/simple-phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml --testdox after_script: - travis_retry php vendor/bin/php-coveralls
language: php sudo: false cache: directories: - $HOME/.composer/cache/files git: depth: 1 php: - "7.2" - "7.4" before_install: - composer self-update --stable - composer require php-coveralls/php-coveralls --no-suggest - composer global require ergebnis/composer-normalize bamarni/composer-bin-plugin --prefer-dist --no-interaction --no-progress --no-suggest install: - composer install --prefer-dist --no-interaction --no-progress --no-suggest - composer bin all install --prefer-dist --no-interaction --no-progress --no-suggest - mkdir -p build/logs script: - composer normalize --indent-size 4 --indent-style space --dry-run - ./vendor/bin/php-cs-fixer fix --diff --config vendor-bin/test/vendor/becklyn/php-cs/.php_cs.dist --dry-run --no-interaction - ./vendor/bin/phpstan analyse -l 4 --memory-limit 4G --ansi -c vendor-bin/test/vendor/becklyn/php-cs/phpstan/lib.neon . --no-interaction --no-progress - ./vendor/bin/simple-phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml --testdox after_script: - travis_retry php vendor/bin/php-coveralls
Test on CPython 3.6 too
language: python sudo: false python: - "2.7" - "3.3" - "3.4" - "3.5" env: - SPHINX=1.3.6 - SPHINX=1.4.9 - SPHINX=1.5.3 notifications: email: false irc: "irc.iiens.net#Clicky" branches: only: - master install: - "pip install sphinx-testing" # required for tests - "pip install Sphinx==$SPHINX" - "pip install ." - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install coveralls check-manifest flake8; fi" script: - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then check-manifest; fi" - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then flake8; fi" - "pushd test" - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coverage run --source=sphinxcontrib.varlinks `type -p nosetests`; fi" - "if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then nosetests; fi" - "popd" after_success: - "pushd test" - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coveralls; fi" - "popd"
language: python sudo: false python: - 2.7 - 3.3 - 3.4 - 3.5 - 3.6 env: - SPHINX=1.3.6 - SPHINX=1.4.9 - SPHINX=1.5.3 notifications: email: false irc: "irc.iiens.net#Clicky" branches: only: - master install: - "pip install sphinx-testing" # required for tests - "pip install Sphinx==$SPHINX" - "pip install ." - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install coveralls check-manifest flake8; fi" script: - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then check-manifest; fi" - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then flake8; fi" - "pushd test" - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coverage run --source=sphinxcontrib.varlinks `type -p nosetests`; fi" - "if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then nosetests; fi" - "popd" after_success: - "pushd test" - "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coveralls; fi" - "popd"
Remove opendk as it's not present
language: java jdk: - openjdk6 - openjdk7 - oraclejdk7 - oraclejdk8 - openjdk8 install: make travis-install script: make test
language: java jdk: - openjdk6 - openjdk7 - oraclejdk7 - oraclejdk8 install: make travis-install script: make test
Test with latest Ruby versions
language: ruby sudo: false cache: bundler rvm: - 2.4.1 - 2.3.4 - 2.2.7 - jruby-1.7.20 - jruby-9.1.7.0 env: global: - JRUBY_OPTS="--debug" after_success: - bundle exec codeclimate-test-reporter
dist: trusty language: ruby sudo: false cache: bundler rvm: - 2.4.2 - 2.3.5 - 2.2.8 - jruby-1.7.26 - jruby-9.1.14.0 env: global: - JRUBY_OPTS="--debug" after_success: - bundle exec codeclimate-test-reporter
Build documentation and push to rust-ci.org.
language: rust script: - cargo build --verbose - cargo test --verbose git: submodules: false
language: rust env: global: - secure: UrfyF0tL8x+8LqF/ordeqsqnNid34gm1dxb3aheszpdJaExKtelO7VNjTC/pvXgasEfOfSKcqBC9Xrgl5dEkjIRq0nrDio7Mb4Ev1MeXwZZeEso/Nn2Hx8U5xvvYtTkWNy4TxRoew82KeTm6cbVNokf/kLMeRvT1QTeuiacZffk= script: - cargo build --verbose - cargo test --verbose - cargo doc --verbose git: submodules: false after_script: - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
Fix script according to UnitTesting example
os: - linux - osx sudo: required env: global: - PACKAGE="MarkdownTOC" matrix: - SUBLIME_TEXT_VERSION="3" before_install: - curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh - sudo pip install codecov coverage install: - sh travis.sh bootstrap script: - sh travis.sh run_tests - coverage run tests/base.py # testing syntax_test files # - sh travis.sh run_syntax_tests after_success: - codecov -t e41883b8-547a-4728-a703-d8e1bbedfcf8 notifications: email: true
os: - linux - osx sudo: required env: global: - PACKAGE="MarkdownTOC" matrix: - SUBLIME_TEXT_VERSION="3" before_install: - curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh - sudo pip install codecov coverage install: - sh travis.sh bootstrap script: - sh travis.sh run_tests --coverage # testing syntax_test files # - sh travis.sh run_syntax_tests after_success: - codecov -t e41883b8-547a-4728-a703-d8e1bbedfcf8 notifications: email: true
Use scm version of lua-ev
language: c env: - LUA="Lua 5.1" - LUA="Lua 5.2" - LUA="LuaJIT 2.0" before_install: - bash .travis_setup.sh install: - sudo luarocks make - sudo apt-get update -qq - sudo apt-get install -qq libev-dev - sudo luarocks install lua-ev - sudo luarocks install copas - sudo luarocks install moonscript script: busted spec branches: except: - gh-pages
language: c env: - LUA="Lua 5.1" - LUA="Lua 5.2" - LUA="LuaJIT 2.0" before_install: - bash .travis_setup.sh install: - sudo luarocks make - sudo apt-get update -qq - sudo apt-get install -qq libev-dev - sudo luarocks install lua-ev scm --server=http://luarocks.org/repositories/rocks-scm/ - sudo luarocks install copas - sudo luarocks install moonscript script: busted spec branches: except: - gh-pages
Add node 14 / 15
language: node_js node_js: - "13" - "12" - "10"
language: node_js node_js: - "15" - "14" - "13" - "12" - "10"
Add dev build of Flask to matrix
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "nightly" matrix: allow_failures: - python: 'nightly' - env: DEP="Flask==0.10" - env: DEP="Flask==1.0.3" - env: DEP="Flask==1.1" env: - DEP="Flask==0.10" - DEP="Flask==0.11" - DEP="Flask==0.12" - DEP="Flask==1.0" - DEP="Flask==1.0.2" - DEP="Flask==1.0.3" - DEP="Flask==1.1" - DEP="Flask" install: - pip install ${DEP} - pip install flake8 script: - python -m unittest discover - flake8 --exclude=examples --max-line-length=100 notifications: email: false
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "nightly" matrix: allow_failures: - python: 'nightly' - env: DEP="Flask==0.10" - env: DEP="Flask==1.0.3" - env: DEP="Flask==1.1" - env: DEP="Flask==dev" env: - DEP="Flask==0.10" - DEP="Flask==0.11" - DEP="Flask==0.12" - DEP="Flask==1.0" - DEP="Flask==1.0.2" - DEP="Flask==1.0.3" - DEP="Flask==1.1" - DEP="Flask==dev" - DEP="Flask" install: - pip install ${DEP} - pip install flake8 script: - python -m unittest discover - flake8 --exclude=examples --max-line-length=100 notifications: email: false
Switch back to version 27.0.3 of build tools
language: android env: global: - ADB_INSTALL_TIMEOUT=8 # 8 minutes (2 minutes by default) android: components: - tools - platform-tools - build-tools-28.0.3 - android-27 - android-22 - extra-google-google_play_services - extra-google-m2repository - extra-android-m2repository - sys-img-armeabi-v7a-android-22 licenses: - 'android-sdk-license-.+' - 'android-sdk-preview-license-.+' - 'google-gdk-license-.+' before_install: - yes | sdkmanager "platforms;android-27" before_script: - echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a -c 32M - emulator -avd test -no-audio -no-window & - android-wait-for-emulator - sleep 180 - adb devices - adb shell input keyevent 82 & script: - ./gradlew build checkstyle connectedCheck -PdisablePreDex
language: android env: global: - ADB_INSTALL_TIMEOUT=8 # 8 minutes (2 minutes by default) android: components: - tools - platform-tools - build-tools-27.0.3 - android-27 - android-22 - extra-google-google_play_services - extra-google-m2repository - extra-android-m2repository - sys-img-armeabi-v7a-android-22 licenses: - 'android-sdk-license-.+' - 'android-sdk-preview-license-.+' - 'google-gdk-license-.+' before_install: - yes | sdkmanager "platforms;android-27" before_script: - echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a -c 32M - emulator -avd test -no-audio -no-window & - android-wait-for-emulator - sleep 180 - adb devices - adb shell input keyevent 82 & script: - ./gradlew build checkstyle connectedCheck -PdisablePreDex
Tweak south requirement becuase of south 1.0 and python 3 issues
language: python python: - "2.7" - "2.6" - "3.3" - "3.4" env: - DJANGO_VERSION=1.6 - DJANGO_VERSION=1.7 # Django 1.7 doesn't support python 2.6, so explicitly exclude that matrix: exclude: - python: "2.6" env: DJANGO_VERSION=1.7 # command to install dependencies, install: # Install the right version of Django first - pip install 'Django<='"$DJANGO_VERSION" - if [ "$DJANGO_VERSION" = "1.6" ]; then pip install 'South>=1.0'; fi - pip install -r requirements.txt -r requirements-dev.txt --use-mirrors # command to run tests script: NOSE_WITH_COVERAGE=1 python manage.py test
language: python python: - "2.7" - "2.6" - "3.3" - "3.4" env: - DJANGO_VERSION=1.6 - DJANGO_VERSION=1.7 # Django 1.7 doesn't support python 2.6, so explicitly exclude that matrix: exclude: - python: "2.6" env: DJANGO_VERSION=1.7 # command to install dependencies, install: # Install the right version of Django first - pip install 'Django<='"$DJANGO_VERSION" # The south 1.0 release isn't properly python 3 compatible, so we grab the # fixed version from upstream - see # https://bitbucket.org/andrewgodwin/south/pull-request/162/fixed-a-python-3-incompatibility-by # for the details - if [ "$DJANGO_VERSION" = "1.6" ]; then pip install 'pip install https://bitbucket.org/andrewgodwin/south/get/e2c9102ee033.zip#egg=South'; fi - pip install -r requirements.txt -r requirements-dev.txt --use-mirrors # command to run tests script: NOSE_WITH_COVERAGE=1 python manage.py test
Consolidate pylint calls to where there are differences
# Enables support for a docker container-based build # which should provide faster startup times and beefier # "machines". This is also required in order to use the # cache configured below. sudo: false language: python cache: pip python: - "3.4" before_install: - pip install --upgrade pip pylint - pip install -r requirements.txt script: - py.test --strict -r w tests/ - pylint --rcfile=pylintrc mtgcdb/ - pylint --rcfile=pylintrc *.py - pylint --rcfile=pylintrc --disable=similarities tests/
# Enables support for a docker container-based build # which should provide faster startup times and beefier # "machines". This is also required in order to use the # cache configured below. sudo: false language: python cache: pip python: - "3.4" before_install: - pip install --upgrade pip pylint - pip install -r requirements.txt script: - py.test --strict -r w tests/ - pylint --rcfile=pylintrc *.py mtgcdb/ - pylint --rcfile=pylintrc --disable=similarities tests/
Stop testing on MRI and JRuby HEAD
sudo: required services: - docker language: ruby rvm: - 2.3 - 2.4 - 2.5 - 2.6 - 2.7 - jruby-9.2.9.0 - ruby-head - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head # Doesn't currently work with MRI 2.5.1: https://github.com/travis-ci/travis-ci/issues/8978 # cache: bundler script: bundle exec rake test
sudo: required services: - docker language: ruby rvm: - 2.3 - 2.4 - 2.5 - 2.6 - 2.7 - jruby-9.2.9.0 # Doesn't currently work with MRI 2.5.1: https://github.com/travis-ci/travis-ci/issues/8978 # cache: bundler script: bundle exec rake test
Use the same PostgreSQL on Travis than on OpenShift
language: node_js node_js: - "5.4" env: - "PGHOST=localhost PGPORT=5432 PGUSER=postgres" before_script: - "createdb mayhemTest" notifications: email: false
language: "node_js" node_js: - "5.4" addons: postgresql: "9.2" services: - "postgresql" env: - "PGHOST=localhost PGPORT=5432 PGUSER=postgres" before_script: - "createdb mayhemTest" notifications: email: false
Update the matrix of kitchen runs
rvm: 2.2 sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=default-centos-71 # Don't `bundle install` install: echo "skip bundle install" # Ensure we make ChefDK's Ruby the default before_script: # https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889 - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(/opt/chefdk/bin/chef shell-init bash)" - /opt/chefdk/embedded/bin/chef gem install kitchen-docker script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec - KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
rvm: 2.2 sudo: required # install the pre-release chef-dk. Use chef-stable-precise to install the stable release addons: apt: sources: - chef-current-precise packages: - chefdk services: docker env: matrix: - INSTANCE=connectors-centos-71 - INSTANCE=mysql56-centos-71 - INSTANCE=mysql57-centos-71 # Don't `bundle install` install: echo "skip bundle install" # Ensure we make ChefDK's Ruby the default before_script: # https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889 - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(/opt/chefdk/bin/chef shell-init bash)" - /opt/chefdk/embedded/bin/chef gem install kitchen-docker script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec - KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
Change default branch to source in order to properly build
language: ruby rvm: - 2.3.1 install: - bundle install deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN local_dir: _site on: branch: master
language: ruby rvm: - 2.3.1 install: - bundle install deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN local_dir: _site target_branch: master on: branch: source
Add tests with Java 9 and Leiningen 2.8.0.
language: clojure lein: lein cache: directories: - $HOME/.m2 jdk: - oraclejdk8 - oraclejdk7 - openjdk7 env: matrix: - VERSION='1.7' - VERSION='1.8' - VERSION='1.9' script: lein with-profile dev,$VERSION test after_success: - CLOVERAGE_VERSION=1.0.9 lein cloverage -e '^cljam.main' --codecov - bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json jobs: include: - stage: deploy jdk: oraclejdk8 script: skip after_success: echo skip deploy: provider: script script: ./deploy-snapshot.sh on: branch: master
language: clojure lein: 2.8.0 cache: directories: - $HOME/.m2 jdk: - oraclejdk9 - oraclejdk8 - openjdk7 env: matrix: - VERSION='1.7' - VERSION='1.8' - VERSION='1.9' script: lein with-profile dev,$VERSION test after_success: - CLOVERAGE_VERSION=1.0.9 lein cloverage -e '^cljam.main' --codecov - bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json jobs: include: - stage: deploy jdk: oraclejdk8 script: skip after_success: echo skip deploy: provider: script script: ./deploy-snapshot.sh on: branch: master
Install dev dependencies for Travis CI
language: php php: - 5.3 - 5.4 env: - MONGO_VERSION=1.2.12 before_script: - wget http://pecl.php.net/get/mongo-${MONGO_VERSION}.tgz - tar -xzf mongo-${MONGO_VERSION}.tgz - sh -c "cd mongo-${MONGO_VERSION} && phpize && ./configure && make && sudo make install" - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` - wget -nc http://getcomposer.org/composer.phar - php composer.phar install
language: php php: - 5.3 - 5.4 env: - MONGO_VERSION=1.2.12 before_script: - wget http://pecl.php.net/get/mongo-${MONGO_VERSION}.tgz - tar -xzf mongo-${MONGO_VERSION}.tgz - sh -c "cd mongo-${MONGO_VERSION} && phpize && ./configure && make && sudo make install" - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` - wget -nc http://getcomposer.org/composer.phar - php composer.phar install --dev
Test with latest Ruby versions
language: ruby cache: bundler sudo: false rvm: - 2.6.1 - 2.5.3 - 2.4.5 - ruby-head - jruby-9.2.5.0 before_install: - gem update --system - gem install bundler --no-document 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 after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
language: ruby cache: bundler sudo: false rvm: - 2.6.2 - 2.5.5 - 2.4.5 - ruby-head - jruby-9.2.5.0 before_install: - gem update --system - gem install bundler --no-document 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 after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Revert "Updated Travis config with JDK 10 builds" until test failures can be resolved
language: java jdk: - openjdk7 - oraclejdk8 - openjdk8 - oraclejdk10 - openjdk10 install: - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 6.3.0 - JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes testClasses script: ./gradlew test --stacktrace --no-daemon
language: java jdk: - oraclejdk8 - openjdk7 - openjdk8 install: - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 6.3.0 - JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes testClasses script: ./gradlew test --stacktrace --no-daemon
Test against node_js 4.2 (LTS)
language: node_js node_js: - "0.12" env: global: - SAUCE_USERNAME=aidaskk - SAUCE_ACCESS_KEY=6e96b47e-6665-4f69-beaa-085e5d5b6b9b addons: sauce_connect: true before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm install --quiet -g grunt-cli karma - npm install script: - grunt karma:coverage - grunt karma:saucelabs || true
language: node_js node_js: - "4.2" env: global: - SAUCE_USERNAME=aidaskk - SAUCE_ACCESS_KEY=6e96b47e-6665-4f69-beaa-085e5d5b6b9b addons: sauce_connect: true before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm install --quiet -g grunt-cli karma - npm install script: - grunt karma:coverage - grunt karma:saucelabs || true
Fix syntax for Ruby 2.0 version for Travis.
language: ruby os: - linux - osx rvm: - 2.0.0p598 - 2.1.5 - 2.2.2 - ruby-head script: - bundle exec mspec -fd -t ruby matrix: allow_failures: - os: osx rvm: ruby-head
language: ruby os: - linux - osx rvm: - 2.0.0-p598 - 2.1.5 - 2.2.2 - ruby-head script: - bundle exec mspec -fd -t ruby matrix: allow_failures: - os: osx rvm: ruby-head
Test on proper Rubies in CI
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode - rbx-19mode - ruby-head matrix: allow_failures: - rvm: ruby-head before_install: - sudo apt-get install libpcre3 libpcre3-dev notifications: irc: "irc.freenode.org#adhearsion"
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby - rbx - ruby-head matrix: allow_failures: - rvm: ruby-head before_install: - sudo apt-get install libpcre3 libpcre3-dev notifications: irc: "irc.freenode.org#adhearsion"
Test Django 1.5 and 1.6.
# Tell Travis you want a Python environment to test in language: python # List the versions of Python you'd like to test against python: - "2.6" - "2.7" # List the versions of Django you'd like to test against env: - DJANGO_VERSION=1.3.1 - DJANGO_VERSION=1.4 install: # Travis is currently working on - pip install -q Django==$DJANGO_VERSION --use-mirrors # Tell Travis how to run the test script itself script: python quicktest.py shibboleth
# Tell Travis you want a Python environment to test in language: python # List the versions of Python you'd like to test against python: - "2.6" - "2.7" # List the versions of Django you'd like to test against env: - DJANGO_VERSION=1.3.1 - DJANGO_VERSION=1.4 - DJANGO_VERSION=1.5 - DJANGO_VERSION=1.6 install: # Travis is currently working on - pip install -q Django==$DJANGO_VERSION --use-mirrors # Tell Travis how to run the test script itself script: python quicktest.py shibboleth
Add code climate secure token
language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3
language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 addons: code_climate: repo_token: secure: "T/ed9UsO4PC2xSkcUeGouNbXgudO3ZsWRut3kL0Pcwci9S8yP8RxVD4I70xBeQhxM1jp4YF+1Mmyp49qM+0RClp1Zt5Q7JvYErhaCZQ69lpB4+EWkrGMbzPCK38hAlCdD8EZu5kbIKyXcvvpsVx8R8jMk/AhoJh9eLaOBdd/Wd8="
Move codecov script to after script instead of after success
language: objective-c osx_image: beta-xcode6.3 script: - xctool test -project SmartDeviceLink-iOS/SmartDeviceLink-iOS.xcodeproj -scheme SmartDeviceLink -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES notifications: email: false before_install: - brew update - brew outdated xctool || brew upgrade xctool after_success: - bash <(curl -s https://codecov.io/bash)
language: objective-c osx_image: beta-xcode6.3 notifications: email: false before_script: - brew update - brew outdated xctool || brew upgrade xctool script: - xctool test -project SmartDeviceLink-iOS/SmartDeviceLink-iOS.xcodeproj -scheme SmartDeviceLink -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES after_script: - bash <(curl -s https://codecov.io/bash)
Update the macOS image used
### Project specific config ### language: objective-c env: matrix: - ATOM_CHANNEL=stable - ATOM_CHANNEL=beta install: - brew update - brew outdated swiftlint || brew upgrade swiftlint ### Generic setup follows ### script: - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh - chmod u+x build-package.sh - ./build-package.sh notifications: email: on_success: never on_failure: change branches: only: - master git: depth: 10
### Project specific config ### language: objective-c osx_image: xcode8.2 env: matrix: - ATOM_CHANNEL=stable - ATOM_CHANNEL=beta install: - brew update - brew outdated swiftlint || brew upgrade swiftlint ### Generic setup follows ### script: - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh - chmod u+x build-package.sh - ./build-package.sh notifications: email: on_success: never on_failure: change branches: only: - master git: depth: 10
Simplify tests by using 'make all'
script: cd src && make language: c compiler: - clang - gcc os: - linux - os addons: apt: packages: - graphviz script: - cd src - make - make test - make jpg
script: cd src && make language: c compiler: - clang - gcc os: - linux - os addons: apt: packages: - graphviz script: - cd src - make all
Switch to Travis's container infra.
language: python env: - RASTERIO_VERSION=0.26.0 python: - "2.7" - "3.4" cache: directories: - $HOME/.pip-cache/ - $HOME/wheelhouse before_install: - sudo add-apt-repository -y ppa:ubuntugis/ppa - sudo apt-get update -qq - sudo apt-get install -y libgdal1h gdal-bin - curl -L https://github.com/mapbox/rasterio/releases/download/$RASTERIO_VERSION/rasterio-travis-wheels-$TRAVIS_PYTHON_VERSION.tar.gz > /tmp/wheelhouse.tar.gz - tar -xzvf /tmp/wheelhouse.tar.gz -C $HOME install: - "pip install coveralls" - "pip install --use-wheel --find-links=$HOME/wheelhouse -e .[test] --cache-dir $HOME/.pip-cache" script: - py.test --cov riomucho --cov-report term-missing after_success: - coveralls
sudo: false language: python env: - RASTERIO_VERSION=0.26.0 addons: apt: packages: - libgdal1h - gdal-bin python: - "2.7" - "3.4" cache: directories: - $HOME/.pip-cache/ - $HOME/wheelhouse before_install: - curl -L https://github.com/mapbox/rasterio/releases/download/$RASTERIO_VERSION/rasterio-travis-wheels-$TRAVIS_PYTHON_VERSION.tar.gz > /tmp/wheelhouse.tar.gz - tar -xzvf /tmp/wheelhouse.tar.gz -C $HOME install: - "pip install -U pip" - "pip install coveralls" - "pip install --use-wheel --find-links=$HOME/wheelhouse -e .[test] --cache-dir $HOME/.pip-cache" script: - py.test --cov riomucho --cov-report term-missing after_success: - coveralls
Remove the create db from scrapi for now
language: python sudo: false python: - "2.7" - "3.4" services: - cassandra - elasticsearch - postgres addons: postgresql: "9.4" install: - pip install -r dev-requirements.txt - pip install coveralls - cp scrapi/settings/travis-dist.py scrapi/settings/local.py before_script: - flake8 . - psql -c "CREATE DATABASE scrapi;" -U postgres script: - invoke provider_map - invoke test after_success: coveralls
language: python sudo: false python: - "2.7" - "3.4" services: - cassandra - elasticsearch - postgres addons: postgresql: "9.4" install: - pip install -r dev-requirements.txt - pip install coveralls - cp scrapi/settings/travis-dist.py scrapi/settings/local.py before_script: - flake8 . # - psql -c "CREATE DATABASE scrapi;" -U postgres script: - invoke provider_map - invoke test after_success: coveralls
Revert "Use 'make' instead of direct call to test binaries"
language: cpp compiler: - clang - gcc env: matrix: - CC=clang - CC=gcc notifications: irc: channels: - "irc.freenode.net#nupic-hackers" webhooks: http://issues.numenta.org:8081/travis before_install: - if [ "$CC" = "gcc" ]; then export CXX=g++; fi - if [ "$CC" = "clang" ]; then export CXX=clang++; fi install: - "mkdir -p $TRAVIS_BUILD_DIR/build/scripts" - "cd $TRAVIS_BUILD_DIR/build/scripts" - "cmake $TRAVIS_BUILD_DIR/src" script: - "cd $TRAVIS_BUILD_DIR/build/scripts" - "make -j3" # legacy binary tests - "make tests_htm" # (not quite everything, really) - "make tests_everything"
language: cpp compiler: - clang - gcc env: matrix: - CC=clang - CC=gcc notifications: irc: channels: - "irc.freenode.net#nupic-hackers" webhooks: http://issues.numenta.org:8081/travis before_install: - if [ "$CC" = "gcc" ]; then export CXX=g++; fi - if [ "$CC" = "clang" ]; then export CXX=clang++; fi install: - "mkdir -p $TRAVIS_BUILD_DIR/build/scripts" - "cd $TRAVIS_BUILD_DIR/build/scripts" - "cmake $TRAVIS_BUILD_DIR/src" script: - "cd $TRAVIS_BUILD_DIR/build/scripts" - "make -j3" # legacy binary tests - "$TRAVIS_BUILD_DIR/build/release/bin/testcpphtm" # (not quite everything, really) - "$TRAVIS_BUILD_DIR/build/release/bin/testeverything"
Add Ruby 2.2.0 to CI build matrix
rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.5 - ruby-head - jruby-19mode # JRuby in 1.9 mode - rbx
rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.5 - 2.2.0 - ruby-head - jruby-19mode # JRuby in 1.9 mode - rbx
Switch to the docker-based infrastructure on Travis
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm # run build against php 7.0 but allow them to fail # http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail matrix: fast_finish: true allow_failures: - php: 7.0 before_script: - composer update script: phpunit
language: php sudo: false php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm # run build against php 7.0 but allow them to fail # http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail matrix: fast_finish: true allow_failures: - php: 7.0 before_script: - composer update script: phpunit
Enable Python 3.5 on Travis.
language: python python: - "2.7" - "3.3" - "3.4" - pypy sudo: false install: - "pip install ." - "pip install -r test_requirements.txt" - "pip install flake8" before_script: "flake8 --max-complexity 10 h2 test" script: - > if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then py.test test/ else py.test -n 4 --cov h2 test/ fi
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - pypy sudo: false install: - "pip install ." - "pip install -r test_requirements.txt" - "pip install flake8" before_script: "flake8 --max-complexity 10 h2 test" script: - > if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then py.test test/ else py.test -n 4 --cov h2 test/ fi
Add PHP versions to Travis build
language: php php: - 5.5 before_script: - composer selfupdate - composer install --prefer-dist -o
language: php php: - 5.5 - 5.6 - hhvm - hhvm-nightly matrix: allow_failures: - php: hhvm - php: hhvm-nightly before_script: - composer selfupdate - composer install --prefer-dist -o
Update build env from OS X 10.11 to 10.12
os: osx osx_image: xcode8 env: - COLUMNS=240 install: - brew update - brew install advancecomp - brew install gdk-pixbuf --without-modules --with-included-loaders="png,jpeg" - brew install harfbuzz --without-graphite2 - brew install vips --with-webp --with-jpeg-turbo --without-fftw --without-poppler - brew info gdk-pixbuf - brew info harfbuzz - brew info vips script: - ./package.sh addons: artifacts: s3_region: eu-west-1
os: osx osx_image: xcode8.3 env: - COLUMNS=240 install: - brew update - brew install advancecomp - brew install gdk-pixbuf --without-modules --with-included-loaders="png,jpeg" - brew install harfbuzz --without-graphite2 - brew install vips --with-webp --with-jpeg-turbo --without-fftw --without-poppler - brew info gdk-pixbuf - brew info harfbuzz - brew info vips script: - ./package.sh addons: artifacts: s3_region: eu-west-1
Build against Java 1.6 in Travis
language: java jdk: - openjdk7 - oraclejdk7 - oraclejdk8 script: - gradle clean test jar
language: java jdk: - openjdk6 - openjdk7 - oraclejdk7 - oraclejdk8 script: - gradle clean test jar
Switch to xenial as being a more modern platform.
# force run: 1 language: c compiler: - clang - gcc python: - "2.7" sudo: required before_install: # - sudo -H DEBIAN_FRONTEND=noninteractive apt-get update - sudo -H PATH="${PATH}:/usr/local/clang-3.4/bin" pip install -r requirements.txt - sudo -H DEBIAN_FRONTEND=noninteractive apt-get update # - sudo brew update # - sudo brew install openssl # - sudo brew install python --with-brewed-openssl - pip install --user cpp-coveralls env: global: - COVERALLS_PARALLEL=true script: sh -x ./scripts/do-test.sh after_success: - if [ "${CC}" = "gcc" ]; then coveralls --gcov gcov --gcov-options '\-lp'; fi
# force run: 1 dist: xenial language: c compiler: - clang - gcc python: - "2.7" sudo: required before_install: # - sudo -H DEBIAN_FRONTEND=noninteractive apt-get update - sudo -H PATH="${PATH}:/usr/local/clang-3.4/bin" pip install -r requirements.txt - sudo -H DEBIAN_FRONTEND=noninteractive apt-get update # - sudo brew update # - sudo brew install openssl # - sudo brew install python --with-brewed-openssl - pip install --user cpp-coveralls env: global: - COVERALLS_PARALLEL=true script: sh -x ./scripts/do-test.sh after_success: - if [ "${CC}" = "gcc" ]; then coveralls --gcov gcov --gcov-options '\-lp'; fi
Correct typo in Travis CI before script
language: ruby cache: bundler before_script: - - psql -c 'create database speakerlin_test;' -U postgres
language: ruby cache: bundler before_script: - psql -c 'create database speakerline_test;' -U postgres
Revert "Install latest Firefox version via addon"
language: node_js node_js: - stable sudo: false before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some time to start script: - node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --browsers=Firefox - codeclimate-test-reporter < coverage/*/lcov.info addons: firefox: latest code_climate: repo_token: 65e8dbb60c4122ae34a35bc6d312a3d0d16984cbf78e6fc8267c7e52f82d40bc
language: node_js node_js: - stable sudo: false before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some time to start script: - node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --browsers=Firefox - codeclimate-test-reporter < coverage/*/lcov.info addons: code_climate: repo_token: 65e8dbb60c4122ae34a35bc6d312a3d0d16984cbf78e6fc8267c7e52f82d40bc
Fix regexp to match branch
language: bash before_deploy: - docker pull ajnasz/hook-deploy deploy: - provider: script script: docker run --rm -v /etc/ssl/certs:/etc/ssl/certs:ro -e SERVER_URL="https://scm.koszti.hu" -e HOOK_JOB="scrum-poker" -e HOOK_TOKEN="$HOOK_TOKEN" -e CI_COMMIT_SHA="$TRAVIS_COMMIT" ajnasz/hook-deploy branches: - /^v?\d+\.\d+\.\d+$/ - provider: script script: docker run --rm -v /etc/ssl/certs:/etc/ssl/certs:ro -e SERVER_URL="https://scm.koszti.hu" -e HOOK_JOB="scrum-poker-test" -e HOOK_TOKEN="$HOOK_TOKEN" -e CI_COMMIT_SHA="$TRAVIS_COMMIT" ajnasz/hook-deploy on: branch: test/travis.yml
language: bash before_deploy: - docker pull ajnasz/hook-deploy deploy: - provider: script script: docker run --rm -v /etc/ssl/certs:/etc/ssl/certs:ro -e SERVER_URL="https://scm.koszti.hu" -e HOOK_JOB="scrum-poker" -e HOOK_TOKEN="$HOOK_TOKEN" -e CI_COMMIT_SHA="$TRAVIS_COMMIT" ajnasz/hook-deploy branches: - /^v?[0-9]+\.[0-9]+\.[0-9]+$/ - provider: script script: docker run --rm -v /etc/ssl/certs:/etc/ssl/certs:ro -e SERVER_URL="https://scm.koszti.hu" -e HOOK_JOB="scrum-poker-test" -e HOOK_TOKEN="$HOOK_TOKEN" -e CI_COMMIT_SHA="$TRAVIS_COMMIT" ajnasz/hook-deploy on: branch: test/travis.yml
Add ruby 2.3 to the test matrix
sudo: false cache: bundler language: ruby rvm: - 2.1 - 2.2 script: - RAILS_ENV=test bundle exec rake --trace db:create db:migrate - bundle exec rspec - bundle exec rubocop
sudo: false cache: bundler language: ruby rvm: - 2.1 - 2.2 - 2.3 script: - RAILS_ENV=test bundle exec rake --trace db:create db:migrate - bundle exec rspec - bundle exec rubocop
Use Node 4.1 on Travis
--- language: node_js node_js: - 0.12
--- language: node_js node_js: - 4.1 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 before_install: - export CXX='g++-4.8' - npm install -g npm
Use the pip install method on Travis CI, too.
dist: xenial language: python branches: except: - gh-pages python: - "3.5" - "3.6" - "3.7" - "3.8" install: - python setup.py install - pip install pytest pytest-cov pytest-pycodestyle script: - py.test -vvv --pycodestyle --cov=pcapng --cov-report=term-missing tests
dist: xenial language: python branches: except: - gh-pages python: - "3.5" - "3.6" - "3.7" - "3.8" install: - pip install .[dev] script: - py.test -vvv --pycodestyle --cov=pcapng --cov-report=term-missing tests
Verify successful compilation of examples with Travis CI
sudo: false language: d os: - linux d: - dmd-2.068.0 addons: apt: packages: - gcc-multilib notifications: email: false env: global: secure: Hi3gL0DN+PHupzzb+fA7r7uklB/Gc7qFYVlvmEGvIKf8q4uMq/lpA3RK7WziYQij8m6WhpLNy3CzKC/ydI6yu17DBi07MKCZ4kJ7yINFxyL03qtxYA1vsFgLsaaOvzvOEs1KHiVNLAI7h0KQPPA5YS+cMxnFREyFKPQVXkf79vo= matrix: - ARCH=x86 - ARCH=x86_64 script: - dub build --arch=$ARCH after_success: - "./push-ddoc.sh"
sudo: false language: d os: - linux d: - dmd-2.068.0 addons: apt: packages: - gcc-multilib notifications: email: false env: global: secure: Hi3gL0DN+PHupzzb+fA7r7uklB/Gc7qFYVlvmEGvIKf8q4uMq/lpA3RK7WziYQij8m6WhpLNy3CzKC/ydI6yu17DBi07MKCZ4kJ7yINFxyL03qtxYA1vsFgLsaaOvzvOEs1KHiVNLAI7h0KQPPA5YS+cMxnFREyFKPQVXkf79vo= matrix: - ARCH=x86 - ARCH=x86_64 script: - dub build --arch=$ARCH - for ex in `\ls -1 example/`; do (echo "[INFO] Building example $ex"; cd example/$ex && dub build --arch=$ARCH) || exit 1; done after_success: - "./push-ddoc.sh"
Stop using Travis trusty and downgrade to pg 9.4
language: java jdk: - oraclejdk8 sudo: false dist: trusty services: - postgresql addons: postgresql: "9.6" 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/ before_script: - psql -f n12m-db/src/main/sql/setup_db.sql -U postgres script: - ./gradlew n12m-db:setupTestData check
language: java jdk: - oraclejdk8 # dist: trusty # sudo: required services: - postgresql addons: postgresql: "9.4" 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/ before_script: - psql -f n12m-db/src/main/sql/setup_db.sql -U postgres script: - ./gradlew n12m-db:setupTestData check
Change node_js version to 5.10.1
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - '4' before_install: - npm i -g npm@^2.0.0 before_script: - npm prune script: - npm test after_success: - npm run semantic-release branches: except: - "/^v\\d+\\.\\d+\\.\\d+$/"
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - '5.10.1' before_install: - npm i -g npm before_script: - npm prune script: - npm test after_success: - npm run semantic-release branches: except: - "/^v\\d+\\.\\d+\\.\\d+$/"
Remove hhvm-nightly from Travis CI
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm - hhvm-nightly before_script: - composer install script: - mkdir -p build/logs - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - vendor/bin/coveralls -v matrix: allow_failures: - php: hhvm-nightly
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer install script: - mkdir -p build/logs - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - vendor/bin/coveralls -v matrix: allow_failures: - php: hhvm-nightly
Add the on tag command.
language: objective-c osx_image: xcode7.3 before_install: - gem install xcpretty -N --no-ri --no-rdoc script: - set -o pipefail - xcodebuild clean test -workspace Example/AirRivet.xcworkspace -scheme AirRivet-Example -destination "platform=iOS Simulator,name=iPhone 6 Plus" -enableCodeCoverage YES | xcpretty deploy: skip_cleanup: true provider: script script: ./scripts/deploy.sh
language: objective-c osx_image: xcode7.3 before_install: - gem install xcpretty -N --no-ri --no-rdoc script: - set -o pipefail - xcodebuild clean test -workspace Example/AirRivet.xcworkspace -scheme AirRivet-Example -destination "platform=iOS Simulator,name=iPhone 6 Plus" -enableCodeCoverage YES | xcpretty deploy: skip_cleanup: true provider: script script: ./scripts/deploy.sh on: tags: true
Add requirements to the test runner.
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" # command to run tests, e.g. python setup.py test script: - pip install flake8 - python setup.py test - flake8 .
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: "pip install -r requirements_dev.txt" # command to run tests, e.g. python setup.py test script: - python setup.py test - flake8 .
Use whatever npm version is bundled with node by default
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - '4' - '5' before_install: - npm i -g npm@^2.0.0 before_script: - npm prune after_success: - npm run coveralls - npm run semantic-release branches: except: - "/^v\\d+\\.\\d+\\.\\d+$/"
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - '4' - '5' before_script: - npm prune after_success: - npm run coveralls - npm run semantic-release branches: except: - "/^v\\d+\\.\\d+\\.\\d+$/"
Remove docutils 0.11 from tests
language: python sudo: false cache: directories: - $HOME/.cache/pip python: - "2.7" - "3.4" - "3.5" - "3.6" - "nightly" - "pypy" env: global: - TEST=-v matrix: - DOCUTILS=0.11 - DOCUTILS=0.12 - DOCUTILS=0.13.1 - DOCUTILS=0.14 matrix: exclude: - python: "3.4" env: DOCUTILS=0.11 - python: "3.4" env: DOCUTILS=0.12 - python: "3.5" env: DOCUTILS=0.11 - python: "3.5" env: DOCUTILS=0.12 - python: "3.6" env: DOCUTILS=0.11 - python: "3.6" env: DOCUTILS=0.12 - python: nightly env: DOCUTILS=0.11 - python: nightly env: DOCUTILS=0.12 - python: pypy env: DOCUTILS=0.11 - python: pypy env: DOCUTILS=0.12 install: - pip install -U pip - pip install docutils==$DOCUTILS - pip install -r requirements.txt script: - make -C demo_docs html
language: python sudo: false cache: directories: - $HOME/.cache/pip python: - "2.7" - "3.4" - "3.5" - "3.6" - "nightly" - "pypy" env: global: - TEST=-v matrix: - DOCUTILS=0.12 - DOCUTILS=0.13.1 - DOCUTILS=0.14 matrix: exclude: - python: "3.4" env: DOCUTILS=0.12 - python: "3.5" env: DOCUTILS=0.12 - python: "3.6" env: DOCUTILS=0.12 - python: nightly env: DOCUTILS=0.12 - python: pypy env: DOCUTILS=0.12 install: - pip install -U pip - pip install docutils==$DOCUTILS - pip install -r requirements.txt script: - make -C demo_docs html
Drop extension creation from tests since a migration should do it now
language: python cache: - pip python: - "2.7" - "3.5" - "3.6" addons: postgresql: "9.6" env: - DJANGO_VERSION=1.10.* - DJANGO_VERSION=1.11.* install: - pip install -r requirements.txt --no-binary opencivicdata - pip uninstall -y Django - pip install -q Django==$DJANGO_VERSION before_script: - cp example/project/settings_local.py.template example/settings_local.py - psql -c 'CREATE DATABASE calaccess_processed;' -U postgres - psql -c 'CREATE EXTENSION IF NOT EXISTS pgcrypto;' -U postgres script: - flake8 calaccess_processed - coverage run example/manage.py test calaccess_processed after_success: - coveralls
language: python cache: - pip python: - "2.7" - "3.5" - "3.6" addons: postgresql: "9.6" env: - DJANGO_VERSION=1.10.* - DJANGO_VERSION=1.11.* install: - pip install -r requirements.txt --no-binary opencivicdata - pip uninstall -y Django - pip install -q Django==$DJANGO_VERSION before_script: - cp example/project/settings_local.py.template example/settings_local.py - psql -c 'CREATE DATABASE calaccess_processed;' -U postgres script: - flake8 calaccess_processed - coverage run example/manage.py test calaccess_processed after_success: - coveralls
Add Python 3.7 to Travis' build matrix.
language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "pypy" before_install: - sudo apt-get -qq update - sudo apt-get install -y libmagic-dev install: - python setup.py build --enable-magic --enable-dotnet - python setup.py install script: - python tests.py
language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "3.7" - "pypy" before_install: - sudo apt-get -qq update - sudo apt-get install -y libmagic-dev install: - python setup.py build --enable-magic --enable-dotnet - python setup.py install script: - python tests.py
Remove env variables from Travis config
language: node_js node_js: - '0.10' env: matrix: - USE_CLOUD=1 global: - secure: qdlJz51Hmrg8NIvPmkFI1EwX2qPUKC4Qpw9CupsDUmZLoAxMyMbhtkqXREU94KE8lvqAaQaCajaOmKiA8CKOOy3jX7jc+JOnuYdFpRYEwQs5uuMhFM1dAUbqVlUhpNV/Q6Vizcbr2GequBFssJSfwMGt66cWA/pgcnj9AfPNLXU= - secure: gf/gbbVhJKfD3wSsK2PYEcHz0CfLtIYcVXUT/WJVMf7utBtlDv02OtTYawrONIs5CmDdQngHWq//36J9MsP53+e6jcC3PtVyt7XeRe+xtMO/tvwWV3q/VfKh3U1ZycKdl8cuG96oy6cLrazV2BvCQUH0HRkRIMVFgupA23ovLWQ= sudo: false before_script: - wget http://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip - unzip BrowserStackLocal-linux-x64.zip - ./BrowserStackLocal $BROWSER_STACK_ACCESS_KEY localhost,8001,0 > /dev/null & - sleep 10 branches: except: - latest - /^v\d/
language: node_js node_js: - '0.10' sudo: false before_script: - wget http://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip - unzip BrowserStackLocal-linux-x64.zip - ./BrowserStackLocal $BROWSER_STACK_ACCESS_KEY localhost,8001,0 > /dev/null & - sleep 10 branches: except: - latest - /^v\d/
Allow failures in coverage report
language: node_js script: npm run coverage && cat ./coverage/lcov.info | coveralls node_js: - "0.10" - "0.12" matrix: fast_finish: true
language: node_js after_success: npm run coverage && cat ./coverage/lcov.info | coveralls node_js: - "0.10" - "0.12" matrix: fast_finish: true
Stop building against Ruby 2
branches: master gemfile: - gemfiles/rails30.gemfile - gemfiles/rails31.gemfile - gemfiles/rails32.gemfile language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ruby-head before_script: - unset RAILS_ENV - unset RACK_ENV
branches: master gemfile: - gemfiles/rails30.gemfile - gemfiles/rails31.gemfile - gemfiles/rails32.gemfile language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 before_script: - unset RAILS_ENV - unset RACK_ENV
Fix CI module caching for npm versions older than 2.6.1
sudo: false language: node_js node_js: - 7 - 6 - 5 - 4 env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 install: - npm update - npm run postinstall - npm prune cache: directories: - node_modules after_success: - npm run ci
sudo: false language: node_js node_js: - 7 - 6 - 5 - 4 env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 install: - npm install - npm prune cache: directories: - node_modules after_success: - npm run ci
Update Travis config with newer node version
language: node_js node_js: - "8" script: - npm run test - npm run lint
language: node_js node_js: - "10" script: - npm run test - npm run lint
Create a new iOS simulator device before running the Travis tests
language: objective-c matrix: include: - osx_image: xcode8.1 - osx_image: xcode8.2 script: - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-iOS -sdk iphonesimulator -destination \"platform=iOS Simulator,name=iPhone 6\" test" - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-OSX test"
language: objective-c matrix: include: - osx_image: xcode8.1 - osx_image: xcode8.2 # Create a new simulator device and reference it by id to avoid the following errors: # "The requested device could not be found because no available devices matched the request." # "The requested device could not be found because multiple devices matched the request." before_script: - "destination_id=$(xcrun simctl create Travis com.apple.CoreSimulator.SimDeviceType.iPhone-7 com.apple.CoreSimulator.SimRuntime.iOS-10-1)" script: - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-iOS -sdk iphonesimulator -destination \"id=$destination_id\" test" - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-OSX test"
Remove golang 1.7 from CI test matrix
sudo: false language: go go: - 1.7.x - tip script: - make
sudo: false language: go go: - 1.8 - tip script: - make
Deploy only on PHP 5.6.
language: php # PHP versions php: - 5.6 - 7.0 # faster builds on new travis setup not using sudo sudo: false # cache vendor dirs cache: directories: - vendor - $COMPOSER_CACHE_DIR # update composer it-self install: - composer self-update # install package before_script: - phpenv config-rm xdebug.ini - composer install --no-interaction - mkdir -p build/logs # run PHPUnit and export code coverage log script: - phpunit -c ./ --coverage-text --coverage-clover build/logs/clover.xml # run coveralls after_script: - php vendor/bin/coveralls -v # build phar before_deploy: vendor/bin/box build # deploy to GitHub release deploy: provider: releases api_key: $GITHUB_TOKEN file: "dist/phpoole.phar" skip_cleanup: true overwrite: true on: tags: true # deploy phar file to gh-pages after_deploy: bash deploy.sh
language: php # PHP versions php: - 5.6 - 7.0 # faster builds on new travis setup not using sudo sudo: false # cache vendor dirs cache: directories: - vendor - $COMPOSER_CACHE_DIR # update composer it-self install: - composer self-update # install package before_script: - phpenv config-rm xdebug.ini - composer install --no-interaction - mkdir -p build/logs # run PHPUnit and export code coverage log script: - phpunit -c ./ --coverage-text --coverage-clover build/logs/clover.xml # run coveralls after_script: - php vendor/bin/coveralls -v # build phar before_deploy: vendor/bin/box build # deploy to GitHub release deploy: provider: releases api_key: $GITHUB_TOKEN file: "dist/phpoole.phar" skip_cleanup: true overwrite: true on: tags: true php: '5.6' # deploy phar file to gh-pages after_deploy: bash deploy.sh
Use quicker install phase for Travis CI
env: _JAVA_OPTIONS="-Xms1G -Xmx4G" language: java jdk: - oraclejdk8 addons: apt: packages: - oracle-java8-installer script: - mvn clean verify notifications: irc: "chat.freenode.net#io7m"
env: _JAVA_OPTIONS="-Xms1G -Xmx4G" language: java jdk: - oraclejdk8 addons: apt: packages: - oracle-java8-installer install: true script: - mvn clean verify notifications: irc: "chat.freenode.net#io7m"
Allow Rubinius failures, at least for 1.99.
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.0 - 2.1 - 2.2.4 - jruby-9.0.4.0 - rbx-2 cache: bundler sudo: false
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.0 - 2.1 - 2.2.4 - jruby-9.0.4.0 - rbx-2 cache: bundler sudo: false matrix: allow_failures: - rvm: rbx-2
Test against jruby 2.0 mode
language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2 - jruby-19mode - rbx-19mode gemfile: - gemfiles/activesupport3.gemfile - gemfiles/activesupport4.gemfile
language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2 - jruby-19mode - jruby-20mode - rbx-19mode gemfile: - gemfiles/activesupport3.gemfile - gemfiles/activesupport4.gemfile
Add IRC notifications from Travis
rvm: - 1.9.3
rvm: - 1.9.3 notifications: recipients: - jari.bakken@gmail.com irc: "irc.freenode.net#holderdeord"
Add allowed to fail tests for officially unsupported python versions
language: python sudo: false python: - 2.7 - 3.3 - 3.4 - 3.5 cache: pip notifications: email: - thierryschellenbach@gmail.com - tbarbugli@gmail.com install: - pip install -r dev_requirements.txt script: - py.test stream/tests.py -lv --cov stream --cov-report term-missing after_script: # ensure we validate against pep standards - "pep8 --exclude=migrations --ignore=E501,E225,W293 stream" after_success: - coveralls
language: python sudo: false python: - 2.7 - 3.3 - 3.4 - 3.5 # These are allowed to fail - '3.5-dev' # 3.5 development branch - '3.6-dev' # 3.6 development branch - 'nightly' # currently points to 3.7-dev - 'pypy' - 'pypy3' matrix: allow_failures: - python: '3.5-dev' # 3.5 development branch - python: '3.6-dev' # 3.6 development branch - python: 'nightly' - python: 'pypy' - python: 'pypy3' cache: pip notifications: email: - thierryschellenbach@gmail.com - tbarbugli@gmail.com install: - pip install -r dev_requirements.txt script: - py.test stream/tests.py -lv --cov stream --cov-report term-missing after_script: # ensure we validate against pep standards - "pep8 --exclude=migrations --ignore=E501,E225,W293 stream" after_success: - coveralls
Test with Ruby 2.4.0 on Travis CI
language: ruby sudo: false before_install: - gem update bundler cache: bundler rvm: - 2.1 - 2.2 - 2.3.0 - jruby-9.0.0.0 notifications: email: false hipchat: on_success: never on_failure: change template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Details</a>/<a href="%{compare_url}">Change view</a>)' format: html rooms: secure: KU2mE9mcqvBczfiCTgTsgMmJPyW02AH/0Rzcli7oj3HVbiHGw8t5JlBQWYROF5TPht0kFhGkiwVPl6HUt/VAGxOIBsOp+/8MXR6aK5FkdIw6g8DMKlDjm9a2QijOT9rvat5bZ3l6hm3snojgkI3s9pLKmLq9l+KalAsPcevwKAQ=
language: ruby sudo: false before_install: - gem update bundler cache: bundler rvm: - 2.1 - 2.2 - 2.3.0 - 2.4.0 - jruby-9.0.0.0 notifications: email: false hipchat: on_success: never on_failure: change template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Details</a>/<a href="%{compare_url}">Change view</a>)' format: html rooms: secure: KU2mE9mcqvBczfiCTgTsgMmJPyW02AH/0Rzcli7oj3HVbiHGw8t5JlBQWYROF5TPht0kFhGkiwVPl6HUt/VAGxOIBsOp+/8MXR6aK5FkdIw6g8DMKlDjm9a2QijOT9rvat5bZ3l6hm3snojgkI3s9pLKmLq9l+KalAsPcevwKAQ=
Add support for latest python
language: python python: - "2.7" - "3.3" env: - DJANGO=django==1.4.9 - DJANGO=https://github.com/django/django/archive/stable/1.6.x.zip install: - psql -c 'CREATE DATABASE orderable' -U postgres; - pip install $DJANGO --use-mirrors - pip install -r requirements.txt - pip install -e . script: "python orderable/tests/run.py" notifications: email: false matrix: exclude: - python: "3.3" env: DJANGO=django==1.4.9
language: python python: - "2.7" - "3.3" - "3.4" env: - DJANGO=django==1.4.9 - DJANGO=https://github.com/django/django/archive/stable/1.6.x.zip install: - psql -c 'CREATE DATABASE orderable' -U postgres; - pip install $DJANGO --use-mirrors - pip install -r requirements.txt - pip install -e . script: "python orderable/tests/run.py" notifications: email: false matrix: exclude: - python: "3.3" env: DJANGO=django==1.4.9
Allow failures on JRuby builds
language: ruby rvm: - 1.9.3 - jruby-19mode jdk: - openjdk7 - oraclejdk7 matrix: exclude: - rvm: 1.9.3 jdk: openjdk7 script: ./run-integration-tests before_install: sudo apt-get install librrd-dev
language: ruby rvm: - 1.9.3 - jruby-19mode jdk: - openjdk7 - oraclejdk7 matrix: exclude: - rvm: 1.9.3 jdk: openjdk7 allow_failures: - rvm: jruby-19mode script: ./run-integration-tests before_install: sudo apt-get install librrd-dev
Fix Travis CI config file.
rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree
language: ruby script: bundle exec rake services: mongodb rvm: - 1.8.7 - 1.9.3 - 2.0.0 - ree - ruby-head matrix: allow_failures: - rvm: ruby-head
Split into various scripts to get the build going.
language: node_js node_js: - 0.8 before_script: "jam install && grunt copy-deps" test: "grunt jasmine" after_script: "jam compile assets/require.js"
language: node_js node_js: - 0.8 install: - "npm install -g jamjs grunt" - "jam install" before_script: "grunt copy-deps" test: "grunt jasmine" after_script: - "grunt clean-deps" - "jam compile assets/require.js"
Add PHP 7, HHVM; enable Travis fast finish
language: php php: - 5.6 - 5.5 - 5.4 - 5.3 os: - linux before_script: - git clone git://github.com/jedisct1/libsodium.git - cd libsodium - ./autogen.sh - ./configure --disable-dependency-tracking --enable-minimal - make - sudo make install - sudo /sbin/ldconfig - cd .. - rm -fr libsodium script: - phpize - ./configure --with-libsodium - make clean - make - env NO_INTERACTION=1 make test
language: php php: - "7.0" - "5.6" - "5.5" - "5.4" - "5.3" - "hhvm" sudo: false matrix: fast_finish: true allow_failures: - php: "7.0" - php: "hhvm" os: - linux before_script: - git clone git://github.com/jedisct1/libsodium.git - cd libsodium - ./autogen.sh - ./configure --disable-dependency-tracking --enable-minimal - make - sudo make install - sudo /sbin/ldconfig - cd .. - rm -fr libsodium script: - phpize - ./configure --with-libsodium - make clean - make - env NO_INTERACTION=1 make test
Remove `brew carthage install` step from Travis
language: generic os: osx osx_image: xcode8.1 branches: only: - master before_install: - export XCODEBUILD_PATH=$(which xcodebuild) - export PATH=$PATH:$XCODEBUILD_PATH - export PATH=$PATH:~/bin - mkdir ~/go - export GOPATH=~/go - brew update - brew install carthage - gem install xcpretty --user-install -n~/bin install: - xcrun simctl list - carthage update --platform 'iOS' - go get github.com/jwfriese/iossimulator script: - go build script/test.go - ./test 'iOS 10.0' 'iPhone 6'
language: generic os: osx osx_image: xcode8.1 branches: only: - master before_install: - export XCODEBUILD_PATH=$(which xcodebuild) - export PATH=$PATH:$XCODEBUILD_PATH - export PATH=$PATH:~/bin - mkdir ~/go - export GOPATH=~/go - brew update - gem install xcpretty --user-install -n~/bin install: - xcrun simctl list - carthage update --platform 'iOS' - go get github.com/jwfriese/iossimulator script: - go build script/test.go - ./test 'iOS 10.0' 'iPhone 6'
Refactor scripts for collecting of a coverage
language: node_js node_js: - "0.10" env: global: - GH_REF: github.com/eGavr/toc-md.git - ISTANBUL_COVERAGE: true after_success: - npm i coveralls - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && echo "Coverage data was sent to coveralls!"
language: node_js node_js: - "0.10" script: - npm test --coverage after_success: cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls
Make pep8 ignore E501 (line too long)
language: python virtualenv: system_site_packages: true before_install: - sudo apt-get -q -y install pep8 pylint script: - pep8 --show-source --show-pep8 run.py - pylint run.py
language: python virtualenv: system_site_packages: true before_install: - sudo apt-get -q -y install pep8 pylint script: - pep8 --ignore=E501 --show-source --show-pep8 run.py - pylint run.py
Revert "Replace outdated npm script vscode:prepublish"
language: node_js sudo: false node_js: - "node" before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi install: - npm install - npm run compile script: - npm test --silent after_success: - bash <(curl -s https://codecov.io/bash)
language: node_js sudo: false node_js: - "node" before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi install: - npm install - npm run vscode:prepublish script: - npm test --silent after_success: - bash <(curl -s https://codecov.io/bash)
Update to Ruby 2.3.3 and add Ruby 2.4.0.
language: ruby sudo: false before_script: - bundle update cache: bundler rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.6 - 2.3.2 - ruby-head - jruby-1.7.26 - jruby-9.1.6.0 - jruby-head - rbx-2.71828182 - rbx-3.29 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: rbx-2.71828182 - rvm: rbx-3.29
language: ruby sudo: false before_script: - bundle update cache: bundler rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 - ruby-head - jruby-1.7.26 - jruby-9.1.6.0 - jruby-head - rbx-2.71828182 - rbx-3.29 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: rbx-2.71828182 - rvm: rbx-3.29
Fix ruby version error on Travis
language: ruby rvm: - 2.1 - jruby - rbx-2 before_install: - rvm install ruby -v 2.2.0p0 #- rvm install binary # uncomment and edit the following line if your project needs to run something other than `rake`: # script: bundle exec rspec spec script: - RAILS_ENV=test bundle exec rake db:migrate --trace - bundle exec rake db:test:prepare - bundle exec rspec - bundle exec cucumber after_script: - bundle exec rake send_to_codeclimate
language: ruby rvm: - 2.1 - jruby - rbx-2 before_install: - rvm install ruby -v 2.3.0p0 #- rvm install binary # uncomment and edit the following line if your project needs to run something other than `rake`: # script: bundle exec rspec spec script: - RAILS_ENV=test bundle exec rake db:migrate --trace - bundle exec rake db:test:prepare - bundle exec rspec - bundle exec cucumber after_script: - bundle exec rake send_to_codeclimate
Fix Travis build by re-adding the second cabal invocation
language: haskell install: - cabal install gtk2hs-buildtools - cabal install --enable-tests --reinstall --force-reinstalls --solver=modular --constraint="mtl>=2.1.2" --constraint="containers>=0.5.2.1" --constraint="template-haskell>=2.7.0.0" --constraint="text>=0.11.2.3" --constraint="regex-posix>=0.95.2"
language: haskell install: - cabal install gtk2hs-buildtools - cabal install ConfigFile regex-posix regex-compat gtk --enable-tests --reinstall --force-reinstalls --constraint="mtl>=2.1.2" --constraint="containers>=0.5.2.1" --constraint="template-haskell>=2.7.0.0" --constraint="text>=0.11.2.3" - cabal install --enable-tests --force-reinstalls --constraint="mtl>=2.1.2" --constraint="containers>=0.5.2.1" --constraint="template-haskell>=2.7.0.0" --constraint="text>=0.11.2.3"
Add PHP 7 to versions to test in Travis
language: php env: - SILEX_VERSION="~2.0" before_script: - travis_retry composer require silex/silex:${SILEX_VERSION} - travis_retry composer install --dev --prefer-source script: vendor/bin/phpunit php: - 5.5 - 5.6 - hhvm matrix: allow_failures: - php: hhvm
language: php env: - SILEX_VERSION="~2.0" before_script: - travis_retry composer require silex/silex:${SILEX_VERSION} - travis_retry composer install --dev --prefer-source script: vendor/bin/phpunit php: - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - hhvm matrix: allow_failures: - php: hhvm
Update Travis allowed failures for new matrix
language: python install: - pip install tox env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - TOX_ENV=cov - TOX_ENV=flake8 script: - tox -e $TOX_ENV matrix: fast_finish: true allowed_failures: - python: 3.3 - python: 3.4
language: python install: - pip install tox env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - TOX_ENV=cov - TOX_ENV=flake8 script: - tox -e $TOX_ENV matrix: fast_finish: true allowed_failures: - env: TOX_ENV=py33 - env: TOX_ENV=py34
Remove lint check because test task does depend on it
language: android dist: trusty android: components: # Uncomment the lines below if you want to # use the latest revision of Android SDK Tools # - tools # - platform-tools # The BuildTools version used by your project - build-tools-28.0.3 # The SDK version used to compile your project - android-28 # Additional components - extra-google-m2repository - extra-android-m2repository # Gradle caching 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/ - $HOME/.android/build-cache script: - ./gradlew build lintVitalRelease - ./gradlew build test
language: android dist: trusty android: components: # Uncomment the lines below if you want to # use the latest revision of Android SDK Tools # - tools # - platform-tools # The BuildTools version used by your project - build-tools-28.0.3 # The SDK version used to compile your project - android-28 # Additional components - extra-google-m2repository - extra-android-m2repository # Gradle caching 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/ - $HOME/.android/build-cache script: - ./gradlew build test
Add OS X support to Travis CI
language: cpp sudo: required compiler: - gcc before_install: - lsb_release -a - sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-add-repository -y ppa:beineri/opt-qt562 - sudo apt-get -qq update - sudo apt-get -qq install g++-5 libc6-i386 qt56tools qt56base - export CXX="g++-5" - export CC="gcc-5" install: - git clone https://github.com/Reactive-Extensions/RxCpp.git RxCpp script: - QTDIR="/opt/qt56" - PATH="$QTDIR/bin:$PATH" - qt56-env.sh - cd test - qmake test.pro - make CXX="g++-5" CC="gcc-5" all - ./rxtest
language: cpp matrix: include: - os: linux compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test - sourceline: 'ppa:beineri/opt-qt562' packages: - g++-5 - libc6-i386 - qt56tools - qt56base before_install: - export CC=gcc-5 - export CXX=g++-5 - export PATH="/opt/qt56/bin/:${PATH}" - qt56-env.sh - os: osx compiler: clang before_install: - brew install qt - export PATH="/usr/local/opt/qt/bin/:${PATH}" install: - git clone https://github.com/Reactive-Extensions/RxCpp.git RxCpp script: - cd test - qmake test.pro - make CXX="${CXX}" CC="${CC}" all - ./rxtest