doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
3646ca15-be2e-4c75-811f-996784a4df2d
{ "language": "YAML" }
```yaml before_script: - bundle exec rake db:create db:schema:load - bundle exec rake sunspot:solr:start bundler_args: "--without assets:development:production" language: ruby rvm: - 1.9.2 - 1.9.3 ``` Switch to schema migrate instead of schema load
```yaml before_script: - bundle exec rake db:migrate - bundle exec rake sunspot:solr:start bundler_args: "--without assets:development:production" language: ruby rvm: - 1.9.2 - 1.9.3 ```
edea6fa3-738c-42d0-88ca-be330ce54191
{ "language": "YAML" }
```yaml language: python python: - 2.7 install: - pip install Cython=0.27.3 - python setup.py install script: - echo "No test yet" ``` Correct cython version requirement for Travis CI
```yaml language: python python: - 2.7 install: - pip install Cython==0.27.3 - python setup.py install script: - echo "No test yet" ```
8aeada20-2024-4aa2-aa79-a404c436f812
{ "language": "YAML" }
```yaml language: node_js node_js: - '5' before_script: - jspm install``` Add auth token for jspm
```yaml language: node_js env: global: - secure: "NQjF+kiuN6Auvx2bF733oCkr6jvb7YuL/SPO+66miS+IKLvJJAS3cXECe8nr7lTrK2C6+n+xGA0iOT/T+AeuF1Cab9SsCpDImCEwIMBhcZ92w/iePRSSSx4oi9QDU6DDhTxtVSovJ35yBXqvgc3R4fCR04ZuemNlIYW8BDJgtp/CGcrG5Ba+sA//UjTNox2moidgxJNylCOMBF4v20+zIksqaJGFdLX0lTAxam02Jv2Bm4uXecP/OiHyTAYhrF82ZLswM+j8sr...
c4a56d27-41f9-4680-9cad-d011441c6afa
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 - rbx-2 - ruby-head before_script: - RAILS_ENV=test bundle exec rake db:schema:load script: - bundle exec rake test matrix: allow_failures: - rvm: rbx-2 - rvm: ruby-head ``` Update to use containerized Travis infrastructure.
```yaml language: ruby sudo: false cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.2 - rbx-2 - ruby-head before_script: - RAILS_ENV=test bundle exec rake db:schema:load script: - bundle exec rake test matrix: allow_failures: - rvm: rbx-2 - rvm: ruby-head ```
5b49d8a7-771a-44c9-ab03-776c9258038a
{ "language": "YAML" }
```yaml language: php php: - 5.3.3 - 5.3 - 5.4 before_script: - composer install --dev script: phpunit --coverage-text --configuration phpunit.travis.xml notifications: email: false hipchat: b00ece55a12a4a46874554f64029c9@Allgemein ``` Change when composer commands are run
```yaml language: php php: - 5.3.3 - 5.3 - 5.4 before_install: - composer self-update install: - composer install --dev --prefer-source script: - phpunit --coverage-text --configuration phpunit.travis.xml notifications: email: false hipchat: b00ece55a12a4a46874554f64029c9@Allgemein ```
3fbe3530-24c6-454c-8a9c-a81e83f47ffd
{ "language": "YAML" }
```yaml language: cpp compiler: - clang - gcc before_install: - pwd - date -u - uname -a # Out-of-source build - cd .. - mkdir SimpleElastix-build - cd SimpleElastix-build before_script: - export OMP_NUM_THREADS=2 - echo $OMP_NUM_THREADS script: - cmake ../SimpleElastix/SuperBuild - make ...
```yaml language: cpp compiler: - clang - gcc before_install: - pwd - date -u - uname -a # Out-of-source build - cd .. - mkdir SimpleElastix-build - cd SimpleElastix-build before_script: - export OMP_NUM_THREADS=2 - echo $OMP_NUM_THREADS script: - cmake ../SimpleElastix/SuperBuild - make ...
704e7962-6103-4fb0-9912-d69c4c5cdc69
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.3.8 - 2.4.7 - 2.5.6 - 2.6.4 - ruby-head gemfile: - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile - gemfiles/rails_6.0.gemfile - gemfiles/rails_edge.gemfile matrix: allow_failures: - rvm: ruby-head - gemfile: gemfiles/ra...
```yaml language: ruby rvm: - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 - ruby-head gemfile: - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile - gemfiles/rails_6.0.gemfile - gemfiles/rails_edge.gemfile matrix: allow_failures: - rvm: ruby-head - gemfile: gemfiles/ra...
15374e70-66ce-4fbc-9f1a-e72a6f6d0722
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 env: - PUPPET_VERSION=2.6.17 - PUPPET_VERSION=2.7.19 - PUPPET_VERSION=3.0.1 ``` Add Puppet 2.6.2 (default in Debian Sqeeze) and 3.0.2 to Travis CI config
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 env: - PUPPET_VERSION=2.6.2 - PUPPET_VERSION=2.6.17 - PUPPET_VERSION=2.7.19 - PUPPET_VERSION=3.0.2 ```
0eef3144-f752-4e92-a934-5fc73fdef77a
{ "language": "YAML" }
```yaml language: go go: - 1.9.x - 1.10.x go_import_path: github.com/sclevine/spec script: - go test ./... ``` Add go 1.11 beta 2 to the build matrix
```yaml language: go go: - 1.9.x - 1.10.x - 1.11beta2 go_import_path: github.com/sclevine/spec script: - env GO111MODULE=on go test ./... ```
8f73588c-e2e5-46e0-9580-7c9fd24077cf
{ "language": "YAML" }
```yaml language: ruby env: - DB=sqlite - DB=mysql - DB=postgresql rvm: - 2.1.1 script: - RAILS_ENV=test bundle exec rake --trace test_with_coveralls before_script: - mysql -e 'create database railskating_test' - psql -c 'create database railskating_test;' -U postgres notifications: email: false ```...
```yaml language: ruby env: - DB=sqlite - DB=mysql - DB=postgresql rvm: - 2.1.5 script: - RAILS_ENV=test bundle exec rake --trace test_with_coveralls before_script: - mysql -e 'create database railskating_test' - psql -c 'create database railskating_test;' -U postgres notifications: email: false ```
c1b99d05-9e35-458e-a098-d0bb80d941f6
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.3 - 2.4 - 2.5 - 2.6 env: - TARGET=redmine REDMINE_VERSION=4.0.3 - TARGET=plugin REDMINE_VERSION=4.0.3 before_install: sh travis/before_install.sh script: sh travis/exec_test.sh addons: chrome: stable allow_failures: - TARGET=redmine REDMINE_VERSION=4.0.3 ``` Allow failur...
```yaml language: ruby rvm: - 2.3 - 2.4 - 2.5 - 2.6 env: - TARGET=redmine REDMINE_VERSION=4.0.3 - TARGET=plugin REDMINE_VERSION=4.0.3 before_install: sh travis/before_install.sh script: sh travis/exec_test.sh addons: chrome: stable allow_failures: env: - TARGET=redmine REDMINE_VERSION=4.0.3 ```
979501e0-55ac-4d84-b915-076987db285f
{ "language": "YAML" }
```yaml language: python python: 2.7 install: - pip install -r server/src/requirements.txt -r server/src/requirements_recommended.txt -r server/src/requirements_suggested.txt -r server/src/requirements_testing.txt - python server/src/develop.py --deploy-test-db --db-engine=mysql --db-create-db --db-admin-user=r...
```yaml language: python services: - redis-server python: 2.7 install: - pip install -r server/src/requirements.txt -r server/src/requirements_recommended.txt -r server/src/requirements_suggested.txt -r server/src/requirements_testing.txt - python server/src/develop.py --deploy-test-db --db-engine=mysql --db-...
af332725-9a11-492f-b224-042b356a9492
{ "language": "YAML" }
```yaml language: objective-c cache: directories: - Example/vendor/bundle install: - (cd Example && bundle install --path=vendor/bundle --binstubs=vendor/bin) script: - (cd Example && pod install && bundle exec rake build test) env: global: - LANG=en_US.UTF-8 - LC_ALL=en_US.UTF-8 ``` Add `bundle ex...
```yaml language: objective-c cache: directories: - Example/vendor/bundle install: - (cd Example && bundle install --path=vendor/bundle --binstubs=vendor/bin) script: - (cd Example && bundle exec pod install && bundle exec rake build test) env: global: - LANG=en_US.UTF-8 - LC_ALL=en_US.UTF-8 ```
d073f738-6bb0-49c4-8412-8ad3e67645ca
{ "language": "YAML" }
```yaml dist: trusty sudo: required services: - docker language: go go: - "1.11" git: depth: 1 install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that live there. # See: https://github.com/golang/go/iss...
```yaml dist: trusty sudo: required services: - docker language: go go: - "1.11.1" git: depth: 1 install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that live there. # See: https://github.com/golang/go/i...
b0f90c24-e29f-467a-b21b-712104c5e532
{ "language": "YAML" }
```yaml language: node_js sudo: required node_js: - "0.10" install: - npm install -g eslint - npm install -g spacejam script: - export PATH="$HOME/.meteor:$PATH" - cp settings.json.template settings.json - eslint . - spacejam test-packages before_install: - "curl -L http://git.io/ejPSng | /bin/sh" bra...
```yaml language: node_js sudo: required node_js: - "0.10" install: - npm install -g eslint - npm install -g spacejam script: - export PATH="$HOME/.meteor:$PATH" - cp settings.json.template settings.json - eslint . - spacejam test-packages --settings settings.json before_install: - "curl -L http://git....
40af669c-1770-400d-8664-6fff14b019c3
{ "language": "YAML" }
```yaml language: c install: sudo make install script: - sudo make test - sudo make test-install notifications: email: false compiler: - clang - gcc ``` Fix a Travis issue with clang
```yaml language: c before_install: - which $CC - $CC --version # Fix an issue with clang not available system-wide; causing a failure on # 'sudo make install'. # See https://github.com/travis-ci/travis-ci/issues/2607 # and https://github.com/kerolasa/lelux-utiliteetit/commit/ac54004f4b319040ed24232b8cd70d3...
14723e3a-609b-4d1f-ac75-937266617f26
{ "language": "YAML" }
```yaml language: cpp sudo: required compiler: - gcc os: - linux before_install: - sudo apt-get -qq update - sudo apt-get install -y git - sudo apt-get install -y libboost-all-dev - sudo apt-get install -y libpqxx-3.1 libpqxx3-dev - sudo apt-get install -y libconfig++ - sudo apt-get install -y cmake -...
```yaml language: cpp sudo: required dist: trusty compiler: - gcc os: - linux before_install: - sudo apt-get -qq update - sudo apt-get install -y git - sudo apt-get install -y libboost-all-dev - sudo apt-get install -y libpqxx-3.1 libpqxx3-dev - sudo apt-get install -y libconfig++ - sudo apt-get install ...
50489714-9ab3-4130-a799-d34f353d0104
{ "language": "YAML" }
```yaml sudo: false language: python python: - "3.5" cache: directories: - $HOME/.cache/pip - assets/js/tests/elm-stuff/build-artifacts install: - pip install pip setuptools wheel --upgrade - pip install -r test_requirements.txt - pip install coveralls - rm -rf ~/.nvm && git clone https://github.com...
```yaml sudo: false language: python python: - "3.5" cache: directories: - $HOME/.cache/pip - assets/js/tests/elm-stuff/build-artifacts - $HOME/.nvm/versions install: - pip install pip setuptools wheel --upgrade - pip install -r test_requirements.txt - pip install coveralls - nvm install v6 - ...
f2d98963-c24f-40dd-bd0f-3b1b9b8a310b
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk7 - openjdk7 script: ./gradlew clean build artifactoryPublish ``` Remove open JDK from the matrix
```yaml language: java jdk: - oraclejdk7 script: ./gradlew clean build artifactoryPublish ```
a5b6292b-1096-4100-b2cc-eb9c3733c066
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" - "0.8" before_script: - npm install -g bower - bower install ``` Remove dependency on node 0.8
```yaml language: node_js node_js: - "0.10" before_script: - npm install -g bower - bower install ```
a5ee2b3d-66ec-4a2c-b0ec-b674e039339d
{ "language": "YAML" }
```yaml sudo: false language: android jdk: oraclejdk8 env: global: - ANDROID_TARGET=android-26 - ANDROID_BUILD_TOOLS_VERSION=26.0.1 - ANDROID_ABI=armeabi-v7a - ANDROID_EMULATOR_TARGET=android-22 android: components: - tools - build-tools-$ANDROID_BUILD_TOOLS_VERSION - $ANDROID_TARGET...
```yaml sudo: false language: android jdk: oraclejdk8 env: global: - ANDROID_TARGET=android-26 - ANDROID_BUILD_TOOLS_VERSION=26.0.1 - ANDROID_ABI=armeabi-v7a - ANDROID_EMULATOR_TARGET=android-22 android: components: - tools - build-tools-$ANDROID_BUILD_TOOLS_VERSION - $ANDROID_TARGET...
9d8645eb-6cf6-47e4-b499-0ae2f871fca6
{ "language": "YAML" }
```yaml language: php php: - 7.1 before_install: - composer self-update install: composer install --dev script: phpunit ``` Fix phpunit tests on Travis-CI
```yaml language: php php: - 7.1 before_install: - composer self-update install: composer install --dev script: vendor/bin/phpunit ```
0087d9b6-24b9-4539-b0f2-0f296ca22f33
{ "language": "YAML" }
```yaml language: php sudo: false php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer self-update - composer --prefer-source install script: - vendor/bin/phpunit ``` Send code coverage report to Scrutinizer
```yaml language: php sudo: false php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer self-update - wget -q https://scrutinizer-ci.com/ocular.phar - composer --prefer-source install script: - vendor/bin/phpunit ...
19266700-0fa8-420e-ac1b-73a4f2859f16
{ "language": "YAML" }
```yaml # see http://about.travis-ci.org/docs/user/languages/php/ for more hints language: php # list any PHP version you want to test against php: - 5.4 - 5.5 - 5.6 - hhvm matrix: allow_failures: - php: hhvm addons: code_climate: repo_token: 8432fd00f5d96695457d25cf9216a92f8629b8997a68bcdccc09...
```yaml # see http://about.travis-ci.org/docs/user/languages/php/ for more hints language: php # list any PHP version you want to test against php: - 5.4 - 5.5 - 5.6 - hhvm matrix: allow_failures: - php: hhvm addons: code_climate: repo_token: 8432fd00f5d96695457d25cf9216a92f8629b8997a68bcdccc09...
2efa2f78-7fb3-4459-b7fe-3e933468ac14
{ "language": "YAML" }
```yaml language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - 3.4 env: - PANDAS_VERSION=v0.12.0 - PANDAS_VERSION=v0.13.1 - PANDAS_VERSION=master before_install: - sudo add-apt-repository -y ppa:ubuntugis/ppa - sudo apt-get update - sudo apt-get install gdal-bin libgdal-dev postgis - sudo -u post...
```yaml language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - 3.4 env: - PANDAS_VERSION=v0.12.0 - PANDAS_VERSION=v0.13.1 - PANDAS_VERSION=master before_install: - sudo add-apt-repository -y ppa:ubuntugis/ppa - sudo apt-get update - sudo apt-get install gdal-bin libgdal-dev # - sudo -u postgres ps...
ed501471-341c-4d9a-890a-70bd3b007441
{ "language": "YAML" }
```yaml dist: trusty language: node_js sudo: false node_js: - stable - 12 ``` Update Travis to bionic, and only check stable
```yaml dist: bionic language: node_js sudo: false node_js: - stable ```
0ec487ae-6c6e-4139-9ac2-85cb54fcba88
{ "language": "YAML" }
```yaml language: go sudo: false go: - 1.13 before_script: - make setup - make deps script: - make build notifications: email: false ``` Use `go build` for temporarily
```yaml language: go sudo: false go: - 1.13 before_script: - make deps script: - go build notifications: email: false ```
42286447-9edb-49e1-9afe-006a9619b95d
{ "language": "YAML" }
```yaml language: ruby rvm: 2.4.1 cache: bundler script: bundle exec rake test addons: postgresql: "9.6" before_script: - sudo apt-get install postgresql-server-dev-9.6 - git clone https://github.com/dalibo/hypopg.git - cd hypopg - make - sudo make install - psql -c 'create database dexter_test;' -U postg...
```yaml language: ruby rvm: 2.4.1 cache: bundler script: bundle exec rake test addons: postgresql: "9.6" before_script: - sudo apt-get install postgresql-server-dev-9.6 - git clone https://github.com/HypoPG/hypopg.git - cd hypopg - make - sudo make install - psql -c 'create database dexter_test;' -U postg...
d2bd5872-296d-4e0c-8978-8abe16298d8f
{ "language": "YAML" }
```yaml language: node_js node_js: - "4" - "6" - "7" - "8" branches: only: - master - /^.*-alpha$/ - /^.*-beta$/ after_success: npm run coverage ``` Remove support v7 and support v9
```yaml language: node_js node_js: - "4" - "6" - "8" - "9" branches: only: - master - /^.*-alpha$/ - /^.*-beta$/ after_success: npm run coverage ```
3422bdff-c59c-4891-93d4-9ea5d5768324
{ "language": "YAML" }
```yaml language: ruby bundler_args: --without development rvm: - 2.0.0 - 2.1.1 - 2.2 gemfile: - Gemfile env: global: - CI="travis" - JRUBY_OPTS="--server -J-Xms512m -J-Xmx1024m" matrix: - MONGODB=2.4.14 - MONGODB=2.6.10 - MONGODB=3.0.3 before_script: - wget http://fastdl.mongodb....
```yaml language: ruby bundler_args: --without development rvm: - 2.0.0 - 2.1.1 - 2.2 gemfile: - Gemfile env: global: - CI="travis" - JRUBY_OPTS="--server -J-Xms512m -J-Xmx1024m" matrix: - MONGODB=2.4.14 - MONGODB=2.6.10 before_script: - wget http://fastdl.mongodb.org/linux/mongodb-li...
0172f801-9593-4bcf-a0f9-63e3dc845d70
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.1 ``` Add more versions to Travis
```yaml language: ruby rvm: - 2.0.0 - 2.1.1 - 2.2.0 - jruby-head ```
5fdd602b-3631-4ca9-9222-7e354d8e9f7d
{ "language": "YAML" }
```yaml language: python sudo: false python: - '2.7' env: - "DJANGO_VERSION=1.8" - "DJANGO_VERSION=1.9" before_install: - pip install codecov install: - cd testapp - python install_deps.py script: - python manage.py test after_script: - cd .. - rm django_tests after_success: - codecov notifications: slack: ...
```yaml language: python sudo: false python: - '2.7' env: - "DJANGO_VERSION=1.8" - "DJANGO_VERSION=1.9" - "DJANGO_VERSION=master" before_install: - pip install codecov install: - cd testapp - python install_deps.py script: - python manage.py test after_script: - cd .. - rm django_tests after_success: - codecov ...
12e547b8-b2d5-4628-bf62-98d3cfb79bbe
{ "language": "YAML" }
```yaml language: php php: - 5.5 - 5.6 - 7.0 - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clove...
```yaml language: php php: - 5.5 - 5.6 - 7.0 - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clove...
cfab2a83-2335-4ee7-8436-33e0b30b555e
{ "language": "YAML" }
```yaml language: android jdk: oraclejdk7 branches: only: - unstable android: components: - build-tools-21.1.1 - android-21 - sys-img-x86-android-21 - addon-google_apis_x86-google-21 env: global: # install timeout in minutes - ADB_INSTALL_TIMEOUT=8 # Create and star...
```yaml language: android jdk: oraclejdk7 branches: only: - unstable android: components: - build-tools-21.1.1 - android-21 - sys-img-x86-android-21 - addon-google_apis_x86-google-21 env: global: # install timeout in minutes - ADB_INSTALL_TIMEOUT=8 # Create and star...
451b4d00-0e07-45dd-881a-b8c4034f749d
{ "language": "YAML" }
```yaml language: rust rust: - nightly notifications: email: - mitchell.nordine@gmail.com os: - linux before_script: - rustc --version - cargo --version script: - cargo build -v - cargo test -v - cargo doc -v ``` Test stable and beta as well as nightly. Test serde_serialization ...
```yaml language: rust rust: - stable - beta - nightly notifications: email: - mitchell.nordine@gmail.com os: - linux before_script: - rustc --version - cargo --version script: - cargo build -v - cargo test -v - cargo test --features="serde_serialization" -v - cargo d...
8a64125d-a75d-46cf-aad9-70993a69f104
{ "language": "YAML" }
```yaml language: objective-c notifications: slack: devlucky:0AP12qjjfc2Zxc0s9yo1cQQm env: global: - FASTLANE_LANE=ci_commit before_install: - gem update fastlane - gem update scan - gem install danger --no-ri --no-doc - gem install danger-swiftlint --no-ri --no-doc before_script: - danger matrix...
```yaml language: objective-c notifications: slack: devlucky:0AP12qjjfc2Zxc0s9yo1cQQm env: global: - FASTLANE_LANE=ci_commit before_install: - gem update fastlane - gem update scan - gem install danger --no-ri --no-doc - gem install danger-swiftlint --no-ri --no-doc matrix: include: - osx_imag...
03e47fd9-694e-452e-8994-6f78c856be59
{ "language": "YAML" }
```yaml sudo: false language: android android: components: - build-tools-21.1.2 - android-21 - sys-img-armeabi-v7a-android-21 - add-on - extra licenses: - 'android-sdk-preview-license-52d11cd2' - 'android-sdk-license-.+' - 'google-gdk-license-.+' jdk: - oraclejdk7 before_instal...
```yaml sudo: false language: android android: components: - build-tools-22.0.1 - android-22 - sys-img-armeabi-v7a-android-22 - add-on - extra licenses: - 'android-sdk-preview-license-52d11cd2' - 'android-sdk-license-.+' - 'google-gdk-license-.+' jdk: - oraclejdk7 before_instal...
c742617f-f981-4161-b9e9-8ac0e32953c3
{ "language": "YAML" }
```yaml language: java sudo: false install: "" script: ./travis.sh jdk: - openjdk7 ``` Use jdk8 to build, still with jdk7 compat
```yaml language: java sudo: false install: "" script: ./travis.sh jdk: - oraclejdk8 ```
0d0a9e50-0e4f-41bb-a0d3-423e428db058
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.0 - 2.4.0 script: - bundle exec rspec services: - redis-server ``` Add ruby 2.5 and 2.6 ci tests
```yaml language: ruby rvm: - 2.1.0 - 2.4.0 - 2.5.0 - 2.6.0 script: - bundle exec rspec services: - redis-server ```
fd0dbf63-dfa3-4a90-ac23-7a53c44977cb
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script: - travis_retry composer self-update - travis_retry composer update $COMPOSER_OPTS script: - php vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover ...
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script: - travis_retry composer self-update - travis_retry composer update $COMPOSER_OPTS script: - php vendor/bin/phpunit --coverage-text --coverage-clover=cov...
b4be6d54-c2eb-497a-8ed3-3180264de6bb
{ "language": "YAML" }
```yaml sudo: false language: php php: - 7.0 - 7.1 - 7.2 - nightly matrix: allow_failures: - php: nightly fast_finish: true env: - AMP_DEBUG=true before_install: - phpenv config-rm xdebug.ini || echo "No xdebug config." install: - composer update -n --prefer-dist - wget https://github.com/...
```yaml sudo: false language: php php: - 7.0 - 7.1 - 7.2 - nightly matrix: allow_failures: - php: nightly fast_finish: true env: - AMP_DEBUG=true before_install: - phpenv config-rm xdebug.ini || echo "No xdebug config." install: - composer update -n --prefer-dist - wget https://github.com/...
222b4f05-f312-4af4-8663-896e4dd92774
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.12" - "4" - "5" - "6" script: - npm test - npm run build - npm run build:customised ``` Remove Node 0.12 from Travis because ESLint 3.0 do not support it.
```yaml language: node_js node_js: - "4" - "5" - "6" script: - npm test - npm run build - npm run build:customised ```
3ab657ce-7bc1-4f93-aa88-65505391fb5a
{ "language": "YAML" }
```yaml sudo: required dist: trusty language: go go: - 1.5.3 go_import_path: github.com/vmware/harbor service: - mysql - docker env: GO15VENDOREXPERIMENT=1 DB_HOST=127.0.0.1 DB_PORT=3306 DB_USR=root DB_PWD= install: - sudo apt-get update && sudo apt-get install -y libldap2-dev - go get -d github.com/...
```yaml sudo: required language: go go: - 1.5.3 go_import_path: github.com/vmware/harbor service: - mysql - docker env: GO15VENDOREXPERIMENT=1 DB_HOST=127.0.0.1 DB_PORT=3306 DB_USR=root DB_PWD= install: - sudo apt-get update && sudo apt-get install -y libldap2-dev - go get -d github.com/docker/distri...
72605495-aba2-4910-904f-8a44e560d482
{ "language": "YAML" }
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 l1atform=iOS Simulator,name=iPhone 6,OS=10.2inguage: objective-c # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not alway...
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 l1atform=iOS Simulator,name=iPhone 6,OS=10.2inguage: objective-c # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not alway...
39873a3d-25a6-4a92-a58d-88a10252a03d
{ "language": "YAML" }
```yaml language: ruby sudo: false rvm: - 1.9.3 - 2.3.0 - jruby-19mode - rbx env: global: - JRUBY_OPTS='-Xcext.enabled=true' - COVERAGE=1 matrix: allow_failures: - rvm: jruby-19mode - rvm: rbx services: - redis-server notifications: irc: channels: - 'chat.freenode.net#resque' on_success: chang...
```yaml language: ruby sudo: false rvm: - 1.9.3 - 2.3.1 - jruby-9.1.1.0 env: global: - JRUBY_OPTS='-Xcext.enabled=true' - COVERAGE=1 matrix: allow_failures: - rvm: jruby-9.1.1.0 services: - redis-server notifications: irc: channels: - 'chat.freenode.net#resque' on_success: change on_failure:...
aa86ff47-9dec-4e8c-b8b3-546dc82cacfc
{ "language": "YAML" }
```yaml # see http://about.travis-ci.org/docs/user/languages/php/ for more hints language: php php: - "7.3" env: global: - ADDITIONAL_CONFIG=config.travis.neon - DEBUG_MODE=1 services: - mysql install: - travis_retry composer install --no-progress --prefer-dist # execute any number of scripts befo...
```yaml # see http://about.travis-ci.org/docs/user/languages/php/ for more hints language: php php: - "7.3" env: global: - CONFIG%FILE=config.travis.neon - DEBUG_MODE=1 services: - mysql install: - travis_retry composer install --no-progress --prefer-dist # execute any number of scripts before the...
849c1d8d-0651-422f-ac7c-f861aeb77814
{ "language": "YAML" }
```yaml language: node_js node_js: - 0.10 services: - redis-server before_script: - npm install -g grunt-cli ``` Update to node >= 5.11
```yaml language: node_js node_js: - 5.11 services: - redis-server before_script: - npm install -g grunt-cli ```
9c40e804-714e-4667-b943-0284204674d2
{ "language": "YAML" }
```yaml sudo: required language: go services: - docker env: global: - DOCKER_VERSION=1.10.1-0~trusty - DOCKER_COMPOSE_VERSION=1.6.0 before_install: # list docker-engine versions - apt-cache madison docker-engine # upgrade docker-engine to specific version - sudo apt-ge...
```yaml sudo: required language: go services: - docker env: global: - DOCKER_VERSION=1.10.1-0~trusty - DOCKER_COMPOSE_VERSION=1.6.0 before_install: # list docker-engine versions - apt-cache madison docker-engine # upgrade docker-engine to specific version - sudo apt-ge...
31fb483a-3a64-410b-bad6-849471879392
{ "language": "YAML" }
```yaml sudo: false os: - linux - osx language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "pypy" - "pypy3" env: - DJANGO="django1.6" - DJANGO="django1.7" - DJANGO="django1.8" - DJANGO="django1.9" install: - pip install tox --use-mirrors script: - tox -e ${DJANGO} ``` Fix issue ...
```yaml sudo: false os: - linux - osx language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "pypy" - "pypy3" env: - DJANGO="django1.6" - DJANGO="django1.7" - DJANGO="django1.8" - DJANGO="django1.9" install: - pip install tox script: - tox -e ${DJANGO} ```
095a42d7-4b01-46b0-9610-47ca755001e4
{ "language": "YAML" }
```yaml language: php php: - '7.0' - '7.1' install: - composer install script: - mkdir -p build/logs - phpunit --configuration tests/phpunit.xml --coverage-clover build/logs/clover.xml - php vendor/bin/phpcs --ignore=vendor --standard=coding_standard.xml . after_success: - travis_retry php vendor/bin...
```yaml language: php php: - '7.0' - '7.1' install: - composer install script: - mkdir -p build/logs - vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover build/logs/clover.xml - php vendor/bin/phpcs --ignore=vendor --standard=coding_standard.xml . after_success: - travis_retry php...
52a813ab-fb2b-4708-8bd8-51842db56d82
{ "language": "YAML" }
```yaml language: python python: - "2.7" before_install: # Install RDKit from source (Release_2014_03_1) # Follow the pattern in rdkit/.travis.yml on GitHub - clone=`pwd` - cd ~ - sudo apt-get update -qq - sudo apt-get install -qq flex bison build-essential python-numpy cmake python-dev sqlite3 libsqlite3-dev ...
```yaml language: python python: - "2.7" before_install: # Install RDKit from source (Release_2014_03_1) # Follow the pattern in rdkit/.travis.yml on GitHub - clone=`pwd` - sudo apt-get update -qq - sudo apt-get install -qq flex bison build-essential python-numpy cmake python-dev sqlite3 libsqlite3-dev libboost...
585fda64-9c9c-4056-9573-87f1d9dd3bdf
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 matrix: allow_failures: - php: 7.0 before_script: - composer install - wget https://scrutinizer-ci.com/ocular.phar script: - php vendor/atoum/atoum/scripts/coverage.php --format xml --output clover.xml after_script: - php ocular.phar code-cov...
```yaml language: php php: - 5.5 - 5.6 - 7.0 matrix: allow_failures: - php: 7.0 before_script: - composer install - wget https://scrutinizer-ci.com/ocular.phar script: - php vendor/atoum/atoum/scripts/coverage.php --format xml --output clover.xml after_script: - php ocular.phar code-coverage:up...
75a55922-46e3-42b3-b019-45277af7aad0
{ "language": "YAML" }
```yaml language: go go: - 1.7.1 - master ``` Configure docker integration on Travis
```yaml language: go go: - 1.7.1 - master # Sudo is required for docker sudo: required # Enable docker services: - docker # In Travis, we need to bind to 127.0.0.1 in order to get a working connection. This environment variable # tells dockertest to do that. env: - DOCKERTEST_BIND_LOCALHOST=true ```
c29e9f12-a379-413f-a8ec-ee87eed0d6d7
{ "language": "YAML" }
```yaml sudo: true language: python matrix: include: - python: 2.7 - python: 3.5 - python: 3.6 - python: 3.7 dist: xenial - python: pypy before_install: - sudo apt-get update -qq - sudo apt-get install --yes fakeroot openssh-server install: - pip install --constraint=constraints.txt --...
```yaml sudo: true language: python matrix: include: - python: 2.7 - python: 3.5 - python: 3.6 - python: 3.7 dist: xenial - python: pypy before_install: - sudo apt-get update -qq - sudo apt-get install --yes fakeroot openssh-server install: - pip install --requirement=requirements-trav...
873a9684-fba7-44ec-b09c-fa299aa71ac7
{ "language": "YAML" }
```yaml --- language: node_js sudo: false cache: directories: - node_modules before_install: - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install script: - npm test after_success: - ember build --environment=production - "./bin...
```yaml --- language: node_js node_js: - "0.12" - "iojs" sudo: false cache: directories: - node_modules before_install: - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install script: - npm test after_success: - ember build --en...
a4e7eadd-e622-47a3-8e94-2caf4dbb6da6
{ "language": "YAML" }
```yaml language: node_js sudo: false node_js: - 'node' before_install: # Log HTTP requests - npm config set loglevel http install: - time npm install ``` Test on Node 4, not latest Node
```yaml language: node_js sudo: false node_js: - '4' before_install: # Log HTTP requests - npm config set loglevel http install: - time npm install ```
2b6e44d0-707f-4677-8787-a6a6467c8da8
{ "language": "YAML" }
```yaml language: node_js node_js: - "4.0.0" - "stable" install: npm install script: npm run travis sudo: false ``` Upgrade min node js version to 10
```yaml language: node_js node_js: - "10.18.1" - "stable" install: npm install script: npm run travis sudo: false ```
d78ea678-942f-453c-989e-be25fe9a0285
{ "language": "YAML" }
```yaml language: go go: - "1.11.2" - "1.10.5" install: - go get -u golang.org/x/lint/golint script: - golint -set_exit_status - go vet - go test ``` Build against Go 1.11.4; drop 1.10.5
```yaml language: go go: - "1.11.4" install: - go get -u golang.org/x/lint/golint script: - golint -set_exit_status - go vet - go test ```
eca2f2d2-4de3-4387-816b-6740bb505c4c
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - "4.1" env: global: # Please get your own free key if you want to test yourself - SAUCE_USERNAME: dojo2-ts-ci - SAUCE_ACCESS_KEY: e92610e3-834e-4bec-a3b5-6f7b9d874601 - BROWSERSTACK_USERNAME: dtktestaccount1 - BROWSERSTACK_ACCESS_KEY: mG2qbEFJCZY2q...
```yaml sudo: false language: node_js node_js: - "5.1" env: global: # Please get your own free key if you want to test yourself - SAUCE_USERNAME: dojo2-ts-ci - SAUCE_ACCESS_KEY: e92610e3-834e-4bec-a3b5-6f7b9d874601 - BROWSERSTACK_USERNAME: dtktestaccount1 - BROWSERSTACK_ACCESS_KEY: mG2qbEFJCZY2q...
3ac62a48-9fc7-48fa-a407-63429f08426c
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - stable before_script: - npm install -g grunt-cli env: global: - secure: GKwpR/WClxLyT0FXkq7UAglifJ6QJdikdFCW9/vUVWh1oRNkxt71LhvOGn7VDZgEwexA1C3l9lwLEXLgFX7JCuvdkj7UqvOTPwNG63UciagSsxfQnGvi8smd6QxfZg3JGhbzrpOofA6xm4mVhGdJdNaKnf49nNzUtXcRqh8/qUU= ...
```yaml sudo: false language: node_js node_js: - stable before_script: - npm install -g grunt-cli env: global: secure: "FkP/F/2n6ZEXpiMQDrOGDUxjUf+Ai+ErHSF3QjGfZjmjfxG9wRJNP6r2KyoM58jQ6HQduE94U//wYf6KTDyYduy7HurTFfF7KlaQRRJRxEebIjy/gWSXnu8pa/pffaBiD4QKX1g5PZIoocCfkbqNRI3f1PIrNgOngScv0IPWMJc=" ...
7665d168-43ae-47e2-8c14-770257e5a750
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 before_install: - sudo apt-get update && sudo apt-get install oracle-java8-installer - java -version``` Add Travis caching for JDK 8
```yaml language: java jdk: - oraclejdk8 cache: apt before_install: - sudo apt-get update && sudo apt-get install oracle-java8-installer - java -version```
ea8b656e-0688-4b16-95b0-91c1adc69267
{ "language": "YAML" }
```yaml language: node_js node_js: - "8" - "10" before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 script: - yarn test cache: yarn ``` Use npm instead of yarn
```yaml language: node_js node_js: - "8" - "10" before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 script: - npm test ```
5be3bd4e-58a2-4a8e-bff2-33effe12ed5b
{ "language": "YAML" }
```yaml language: go go: - 1.3 - tip env: - "PATH=/home/travis/gopath/bin:$PATH" before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get code.google.com/p/go.tools/cmd/cover install: go get -v ./recurly script: - go test -v -covermode=count -coverprofile=coverage...
```yaml language: go go: - 1.3 - tip env: - "PATH=/home/travis/gopath/bin:$PATH" before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover install: go get -v ./recurly script: - go test -v -covermode=count -coverprofile=coverage.out ./r...
35a64c42-002b-432d-a59f-d069d47755b6
{ "language": "YAML" }
```yaml before_install: - yes | sudo add-apt-repository ppa:hansjorg/rust - sudo apt-get update install: - sudo apt-get install rust-nightly - wget http://www.libsdl.org/release/SDL2-2.0.0.tar.gz - tar -zxvf SDL2-2.0.0.tar.gz - cd SDL2-2.0.0 - ./configure && make && sudo make install - cd - script: - ...
```yaml before_install: - wget http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz - tar xf rust-nightly-x86_64-unknown-linux-gnu.tar.gz install: - sudo ./rust-nightly-x86_64-unknown-linux-gnu/install.sh - wget http://www.libsdl.org/release/SDL2-2.0.0.tar.gz - tar -zxvf SDL2-2.0.0.ta...
db9494cb-1ad4-430d-b1d6-556a29bd567b
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.11" services: mongodb after_success: 'curl -v -X POST -H "api_key: fdb9e03f-f843-4bea-9d02-43ab619dd289" http://162.243.219.172/deploys/openhim-core/preprod' ``` Add node 0.12 and io.js
```yaml language: node_js node_js: - "0.11" - "0.12" - iojs services: mongodb after_success: 'curl -v -X POST -H "api_key: fdb9e03f-f843-4bea-9d02-43ab619dd289" http://162.243.219.172/deploys/openhim-core/preprod' ```
2885002e-448d-4091-abec-233b70b08ce7
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.2 env: - DB=postgresql addons: postgresql: "9.3" script: - RAILS_ENV=test bundle exec rake db:setup --trace - RAILS_ENV=test bundle exec rake db:migrate --trace - bundle exec rake before_script: - cp config/secrets.yml.travis config/secrets.yml - cp config/database.yml....
```yaml language: ruby rvm: - 2.1.2 - 2.2.0 env: - DB=postgresql addons: postgresql: "9.3" script: - RAILS_ENV=test bundle exec rake db:setup --trace - RAILS_ENV=test bundle exec rake db:migrate --trace - bundle exec rake before_script: - cp config/secrets.yml.travis config/secrets.yml - cp config/dat...
d5a13030-0a47-4821-a607-28833e195184
{ "language": "YAML" }
```yaml dist: xenial language: python python: - "3.7" - "pypy3" matrix: allow_failures: - python: pypy3 before_script: - pip install poetry script: - make lint - make test after_success: - bash <(curl -s https://codecov.io/bash) services: - docker - postgresql env: global: - FLASK_APP...
```yaml dist: xenial language: python python: - "3.8" before_script: - pip install poetry script: - make lint - make test after_success: - bash <(curl -s https://codecov.io/bash) services: - docker - postgresql env: global: - FLASK_APP="app.py" - BOILERPLATEAPP_CONFIG="testing" - SQLAL...
ec599611-910e-400d-acde-df908d8e15f3
{ "language": "YAML" }
```yaml env: global: - DOCKER_VERSION=1.10.1-0~trusty sudo: required services: - docker before_install: - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} script: - docker version - docker login -e=$DOCKER_EMAIL -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD - ./buil...
```yaml env: global: - DOCKER_VERSION=1.10.1-0~trusty sudo: required services: - docker before_install: - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} script: - docker version - docker login --email="$DOCKER_EMAIL" --username="$DOCKER_USERNAME" --password="$...
14b287e2-7f43-4123-beb5-d607fad30e87
{ "language": "YAML" }
```yaml language: python python: - "3.4" - "3.3" - "3.2" install: - npm install jshint - pip install -r dev_requirements.txt - pip install coveralls script: - .githooks/pre-commit -f - ./runtests.sh after_success: - coveralls deploy: provider: pypi user: ixa password: ...
```yaml language: python python: - "3.4" - "3.3" - "3.2" install: - npm install jshint - pip install -r dev_requirements.txt - pip install coveralls script: - .githooks/pre-commit -f - ./runtests.sh after_success: - coveralls deploy: provider: pypi user: ixa password: ...
17bca5cf-a171-489d-a273-97b4af551d9d
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 notifications: email: false # Skip the install step, which causes a double build. The commands below in # `script` automatically download and install their dependencies as well. install: true # Install custom dynsem version, containing the required classes # for the project....
```yaml language: java jdk: - oraclejdk8 notifications: email: false # Skip the install step, which causes a double build. The commands below in # `script` automatically download and install their dependencies as well. install: true # Cache the dependencies: these take unnecessarily long to download. cache: direc...
bc80fef4-813d-485e-ad9b-b9b130da94f3
{ "language": "YAML" }
```yaml language: node_js node_js: - "8" cache: directories: - node_modules install: npm install jobs: include: - stage: test script: bash ./travis/test.sh - stage: deploy script: bash ./travis/deploy.sh env: global: - ENCRYPTION_LABEL: "af862fa96d3e" - COMMIT_AUTHOR_EMAIL: "amis...
```yaml language: node_js node_js: - "8" - "9" cache: directories: - node_modules install: npm install jobs: include: - stage: test script: bash ./travis/test.sh - stage: deploy script: bash ./travis/deploy.sh env: global: - ENCRYPTION_LABEL: "af862fa96d3e" - COMMIT_AUTHOR_EMAI...
9bde0390-a5f3-403d-a25f-1d6991914f5b
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.2 - 2.3.0 script: bundle exec rake ci sudo: false cache: bundler ``` Use latest patch released on Travis CI
```yaml language: ruby rvm: - 2.2.6 - 2.3.3 script: bundle exec rake ci sudo: false cache: bundler ```
21da3a54-efe4-4070-9cf5-1361ae5666bf
{ "language": "YAML" }
```yaml language: node_js node_js: - 0.8 ``` Add CI testing for newer Node versions
```yaml language: node_js node_js: - "0.8" - "0.10" - "0.11" ```
4e45bb80-ce56-4407-bd8e-58bd4fd2a5ab
{ "language": "YAML" }
```yaml sudo: false language: ruby cache: bundler script: bundle exec rspec rvm: - 2.4.1 env: matrix: - ACTION_MAILER_VERSION=4 - ACTION_MAILER_VERSION=5 - ACTION_MAILER_VERSION=master matrix: fast_finish: true allow_failures: - env: ACTION_MAILER_VERSION=master ``` Use latest ruby version on T...
```yaml sudo: false language: ruby cache: bundler script: bundle exec rspec rvm: - 2.6.1 env: matrix: - ACTION_MAILER_VERSION=4 - ACTION_MAILER_VERSION=5 - ACTION_MAILER_VERSION=master matrix: fast_finish: true allow_failures: - env: ACTION_MAILER_VERSION=master ```
21f9b8fa-afb2-46ff-8016-a4a2c04b95c4
{ "language": "YAML" }
```yaml # Angular and Meteor - The perfect stack https://www.angular-meteor.com/ # # Author: Georgy Berdyshev # sudo: required services: - docker env: - distribution: ubuntu version: bionic before_install: - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-reposit...
```yaml # Angular and Meteor - The perfect stack https://www.angular-meteor.com/ # # Author: Georgy Berdyshev # sudo: required services: - docker env: - distribution: ubuntu version: bionic before_install: - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-reposit...
8b9b9d79-5f90-454a-a1a9-9e5cc19607a6
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 env: - - RACK_VERSION=1.3.0 - RACK_VERSION=1.4.0 - RACK_VERSION=1.5.0 - RACK_VERSION=1.6.0 script: "bundle exec rake spec" branches: only: - master ``` Add test in CI for ruby 2.2
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 env: - - RACK_VERSION=1.3.0 - RACK_VERSION=1.4.0 - RACK_VERSION=1.5.0 - RACK_VERSION=1.6.0 script: "bundle exec rake spec" branches: only: - master ```
60e56fdf-3cec-46f1-863c-6adf8b67ac8e
{ "language": "YAML" }
```yaml language: python branches: only: - master python: - "3.4" services: - postgresql before_script: - psql -c 'create database travis_ci_test;' -U postgres - git submodule init - git submodule update - ./scripts/get_static_validation.sh # command to install dependencies install: - pip install ...
```yaml language: python branches: only: - master python: - "3.4" services: - postgresql before_script: - psql -c 'create database travis_ci_test;' -U postgres - git submodule init - git submodule update - ./scripts/get_static_validation.sh # command to install dependencies install: - pip install ...
e79fb1d2-3d13-4618-8d60-a60b64e7d027
{ "language": "YAML" }
```yaml rvm: - 1.9.3 - 2.0.0 gemfile: - gemfiles/activesupport_3_2.gemfile - gemfiles/activesupport_4_0.gemfile - gemfiles/activesupport_4_1.gemfile - gemfiles/activesupport_4_2.gemfile ``` Drop support for old Rubies
```yaml rvm: - 2.2.6 - 2.3.3 - 2.4.0 gemfile: - gemfiles/activesupport_3_2.gemfile - gemfiles/activesupport_4_0.gemfile - gemfiles/activesupport_4_1.gemfile - gemfiles/activesupport_4_2.gemfile ```
9f545a06-4ab1-4b12-bca9-c53395316324
{ "language": "YAML" }
```yaml language: php php: - 7.1 - 7.1snapshot - 7.2 - 7.2snapshot git: depth: 5 cache: directories: - $HOME/.composer/cache/files branches: only: - master - development - /^feature\/.+$/ - /^refactoring\/.+$/ - /^issue\/.+$/ before_script: - if [ "$TRAVIS_PULL_REQUEST" =...
```yaml language: php php: - 7.2 - 7.2snapshot git: depth: 5 cache: directories: - $HOME/.composer/cache/files branches: only: - master - development - /^feature\/.+$/ - /^refactoring\/.+$/ - /^issue\/.+$/ before_script: - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git ch...
58e0f076-7598-440f-b277-287ee46bf450
{ "language": "YAML" }
```yaml language: java sudo: false jdk: - oraclejdk8 env: global: - DISPLAY=:99.0 cache: directories: - $HOME/.m2 # Handle git submodules yourself git: submodules: false # Enable UI # Use sed to replace the SSH URL with the public URL, then initialize submodules before_install: - sh -...
```yaml language: java sudo: false jdk: - oraclejdk8 env: global: - DISPLAY=:99.0 cache: directories: - $HOME/.m2 # Handle git submodules yourself git: submodules: false # Enable UI # Use sed to replace the SSH URL with the public URL, then initialize submodules before_install: - sh -...
d89903cc-3e2d-4322-9084-5ef6ffe51b67
{ "language": "YAML" }
```yaml os: - osx - linux sudo: required language: go go: 1.4 install: - ./tasks/general/ci/install.sh github.com/limetext/lime-backend/lib - ./tasks/local/ci/install.sh script: - ./tasks/general/ci/run_tests.sh lib - ./tasks/local/ci/check_gen.sh - ./tasks/general/ci/check_fmt.sh notifications: w...
```yaml os: - osx - linux sudo: required language: go go: 1.4 install: - ./tasks/general/ci/install.sh github.com/limetext/lime-backend/lib script: - ./tasks/general/ci/run_tests.sh lib - ./tasks/local/ci/check_gen.sh - ./tasks/general/ci/check_fmt.sh notifications: webhooks: urls: - https...
a27785b7-05e5-42b9-8640-90426a7061d1
{ "language": "YAML" }
```yaml language: php before_script: - sudo apt-get install bsdtar zip # - sudo easy_install sphinx - composer install --dev --prefer-source env: - ZIPPY_ADAPTER=ZipAdapter - ZIPPY_ADAPTER=ZipExtensionAdapter - ZIPPY_ADAPTER=GNUTar\\TarGNUTarAdapter - ZIPPY_ADAPTER=GNUTar\\TarGzGNUTarAdapter - ZIPPY_AD...
```yaml language: php before_script: - sudo apt-get install bsdtar zip # - sudo easy_install sphinx - composer install --dev --prefer-source env: - ZIPPY_ADAPTER=ZipAdapter - ZIPPY_ADAPTER=ZipExtensionAdapter - ZIPPY_ADAPTER=GNUTar\\TarGNUTarAdapter - ZIPPY_ADAPTER=GNUTar\\TarGzGNUTarAdapter - ZIPPY_AD...
bcd00e2f-b737-489e-9174-92211064d88f
{ "language": "YAML" }
```yaml language: java before_install: - npm install gulp gulp-mocha gulp-util chai - sudo apt-get update - sudo apt-get install scala script: "gradle build" ``` Add languages to Travis yml
```yaml language: cpp compiler: - gcc - clang language: java before_install: - npm install gulp gulp-mocha gulp-util chai - sudo apt-get update - sudo apt-get install scala script: "gradle build" ```
0a78e261-75e4-470a-89b8-0a7320b34dec
{ "language": "YAML" }
```yaml sudo: false language: ruby rvm: - 2.3.0 - 2.5.0 before_install: gem install bundler -v 1.6.1 ``` Remove hardcoded bundler version and cache bundle
```yaml sudo: false language: ruby cache: bundler rvm: - 2.3.0 - 2.5.0 before_install: gem install bundler ```
86cd957f-1ab9-4604-98a9-d9b6ed0457a8
{ "language": "YAML" }
```yaml language: objective-c branches: only: - master git: submodules: false before_install: - git submodule update --init --recursive - brew update - brew upgrade - brew install swiftlint - bundle install podfile: CocoaHeadsApp/Podfile xcode_workspace: CocoaHeadsApp/CocoaHeadsApp.xcworkspace xcode_sch...
```yaml language: objective-c branches: only: - master git: submodules: false before_install: - git submodule update --init --recursive - brew update - brew upgrade - brew install swiftlint - bundle install podfile: CocoaHeadsApp/Podfile xcode_workspace: CocoaHeadsApp/CocoaHeadsApp.xcworkspace xcode_sch...
9b808893-d5cb-4974-971d-4ecba689f8f0
{ "language": "YAML" }
```yaml language: node_js node_js: - 10 - 11 - 12 - 13 cache: npm: false matrix: include: - name: Lint node_js: 12 script: npm run lint addons: apt: sources: - ubuntu-toolchain-r-test packages: - graphicsmagick - inkscape script: npm run test:ci after_success: ...
```yaml language: node_js node_js: - 10 - 12 - 14 - node cache: npm: false matrix: include: - name: Lint node_js: 12 script: npm run lint addons: apt: sources: - ubuntu-toolchain-r-test packages: - graphicsmagick - inkscape script: npm run test:ci after_success...
6563a516-3869-41e1-8780-257dbf667cd0
{ "language": "YAML" }
```yaml language: python python: - "3.6" - "3.5" - "3.4" - "3.3" - "2.7" - "2.6" services: - redis-server env: - TEST_HIREDIS=0 - TEST_HIREDIS=1 install: - pip install -e . - "if [[ $TEST_PEP8 == '1' ]]; then pip install pep8; fi" - "if [[ $TEST_HIREDIS == '1' ]]; then pip install hiredis; fi" s...
```yaml language: python cache: pip python: - "3.6" - "3.5" - "3.4" - "3.3" - "2.7" - "2.6" services: - redis-server env: - TEST_HIREDIS=0 - TEST_HIREDIS=1 install: - pip install -e . - "if [[ $TEST_PEP8 == '1' ]]; then pip install pep8; fi" - "if [[ $TEST_HIREDIS == '1' ]]; then pip install hir...
68d7f5cd-6bac-41b5-afb7-2cd68debaa09
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode9.1 env: - LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 before_install: - pod repo update - gem install xcpretty -N script: "./Tests/travis.sh" notifications: slack: secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe9NetzyNqWVN6URRFdcjvSnpah1kg2gGhIdkT5gvBT8HcP8OS6x/2lMFQsOhu...
```yaml language: objective-c osx_image: xcode9.2 env: - LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 before_install: - pod repo update - gem install xcpretty -N script: "./Tests/travis.sh" notifications: slack: secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe9NetzyNqWVN6URRFdcjvSnpah1kg2gGhIdkT5gvBT8HcP8OS6x/2lMFQsOhu...
440b5679-d622-4a95-a68e-64f55bfdcd73
{ "language": "YAML" }
```yaml sudo: False language: python cache: pip python: - "2.7.13" - "3.3.5" - "3.4.6" - "3.5.3" - "3.6.1" - "nightly" install: - pip install -r requirements.txt - pip install coverage codacy-coverage script: - coverage run test.py after_success: - coverage report - coverage xml - python-codac...
```yaml sudo: False language: python cache: pip python: - "2.7.13" - "3.3.5" - "3.4.5" - "3.5.2" - "3.6.0" - "nightly" install: - pip install -r requirements.txt - pip install coverage codacy-coverage script: - coverage run test.py after_success: - coverage report - coverage xml - python-codac...
56721a98-e22a-447c-9fce-9f0adc5446c9
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.8" - "0.10" before_install: - npm install -g bower - bower install - npm install -g grunt-cli before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - grunt ci ``` Stop running tests on Node 0.8
```yaml language: node_js node_js: - "0.10" - "0.11" before_install: - npm install -g bower - bower install - npm install -g grunt-cli before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - grunt ci ```
b0e4f969-305e-4a9f-a73f-365a715349f1
{ "language": "YAML" }
```yaml # Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/op...
```yaml # Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-current-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/o...
6fcf1d18-0b26-4210-a36a-621d91468900
{ "language": "YAML" }
```yaml os: linux arch: - amd64 - arm64 sudo: false language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" - "3.8" - "3.9" matrix: include: - language: generic os: osx install: pip2 install tox-travis script: tox --skip-missing-interpreters allow_failures: - arc...
```yaml os: linux arch: - amd64 - arm64 language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" - "3.8" - "3.9" jobs: include: - language: generic os: osx install: pip2 install tox-travis script: tox --skip-missing-interpreters allow_failures: - arch: arm64 insta...
2317d679-6948-450c-976f-53d11b1db36e
{ "language": "YAML" }
```yaml language: python python: - 2.6 - 2.7 - 3.2 notifications: email: - raphael.pinson@camptocamp.com install: # Use latest Augeas - sudo add-apt-repository -y ppa:raphink/augeas - sudo apt-get update - sudo apt-get install libaugeas-dev libxml2-dev matrix: allow_failures: - python: 3.2 scri...
```yaml language: python python: - 2.6 - 2.7 - 3.2 notifications: email: - raphael.pinson@camptocamp.com install: # Use latest Augeas - sudo add-apt-repository -y ppa:raphink/augeas-dev - sudo apt-get update - sudo apt-get install libaugeas-dev libxml2-dev matrix: allow_failures: - python: 3.2 ...
0d53ba2b-8b69-4577-a816-b495d6e6954b
{ "language": "YAML" }
```yaml language: go sudo: false go: - 1.11.x - 1.12.x - 1.13.x - 1.14.x - master matrix: fast_finish: true include: - go: 1.11.x env: GO111MODULE=on - go: 1.12.x env: GO111MODULE=on git: depth: 1 install: - if [[ "${GO111MODULE}" = "on" ]]; then go mod download; else go get -t -v ./......
```yaml language: go sudo: false go: - 1.11.x - 1.12.x - 1.13.x - 1.14.x - 1.15.x - master matrix: fast_finish: true include: - go: 1.11.x env: GO111MODULE=on - go: 1.12.x env: GO111MODULE=on git: depth: 1 install: - if [[ "${GO111MODULE}" = "on" ]]; then go mod download; else go get ...
53e786a5-0182-4b3a-a626-0fda76e4f102
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode script: - "bundle exec rspec spec" branches: only: - master ``` Allow failures in jruby; install gems faster
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode install: 'bundle install --deployment -j 4' script: - "bundle exec rspec spec" branches: only: - master matrix: allow_failures: - rvm: jruby-19mode ```
9efd155b-1dd8-4b3f-8902-922743a515d9
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk7 before_install: - chmod +x .utility/initiate-publish.sh - > if [ "$TRAVIS_REPO_SLUG" == "Mangopay/mangopay2-java-sdk" ]; then openssl aes-256-cbc -K $encrypted_1689c6b91eac_key -iv $encrypted_1689c6b91eac_iv -in .utility/signingkey.gpg.enc -out .utility/signingkey.gpg -...
```yaml language: java jdk: - oraclejdk7 before_install: - chmod +x .utility/initiate-publish.sh - > if [ "$TRAVIS_REPO_SLUG" == "Mangopay/mangopay2-java-sdk" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then openssl aes-256-cbc -K $encrypted_1689c6b91eac_key -iv $encrypted_1689c6b91eac_iv -in .utility/signingk...
9d3cb3af-27c1-4701-9dda-9639f26975a8
{ "language": "YAML" }
```yaml sudo: required language: go go: - go1.7 - go1.8 - go1.9 - tip install: - go get -u github.com/golang/lint/golint - go get -u golang.org/x/tools/cmd/goimports - go get -u github.com/golang/protobuf/proto - go get -u github.com/stretchr/testify/assert - go get -u gopkg.in/cheggaaa/pb.v1 scri...
```yaml sudo: required language: go go: - go1.7 - go1.8 - go1.9 - tip install: - go get -u github.com/golang/lint/golint - go get -u golang.org/x/tools/cmd/goimports - go get -u github.com/golang/protobuf/proto - go get -u github.com/stretchr/testify/assert - go get -u gopkg.in/cheggaaa/pb.v1 scri...
92305963-b642-4cda-9eba-14b977f174ae
{ "language": "YAML" }
```yaml language: android jdk: oraclejdk8 sudo: required android: components: - tools - platform-tools - android-26 - build-tools-26.0.1 - exra-android-m2repository - extra-google-m2repository cache: directories: - $HOME/.gradle/caches/ - $H...
```yaml language: android jdk: oraclejdk8 sudo: required android: components: - tools - platform-tools - android-27 - build-tools-26.0.2 - exra-android-m2repository - extra-google-m2repository cache: directories: - $HOME/.gradle/caches/ - $H...
f7a83402-9226-48a4-a4f6-684b75eee7f9
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 script: rspec before_install: - sudo apt-get update -qq - sudo apt-get install -qq rpm - gem update 1.8.25 ``` Add testing under ruby-2.0.0, remove pinning rubygems version
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 script: rspec before_install: - sudo apt-get update -qq - sudo apt-get install -qq rpm ```
56c38348-54d8-4fe6-b3f3-2c085a6f57c0
{ "language": "YAML" }
```yaml language: ruby cache: bundler bundler_args: --without production rvm: - 2.6 ``` Use a more specific Ruby version on Travis
```yaml language: ruby cache: bundler bundler_args: --without production rvm: - 2.6.5 ```