doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
34418aa7-34cf-48dd-9d51-8796a2673237
{ "language": "YAML" }
```yaml language: node_js node_js: - "node" services: - mongodb cache: directories: - "node_modules" install: - npm ci - npm install -g npx script: - npx istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec - npx codecov ``` Add asset build to CI
```yaml language: node_js node_js: - "node" services: - mongodb cache: directories: - "node_modules" install: - npm ci - npm install -g npx script: - npx gulp - npx istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec - npx codecov ```
6155f0a8-6641-49bc-8047-8f8fba53bc01
{ "language": "YAML" }
```yaml language: php php: - 5.4 env: - EIX_ENV=TEST before_install: - composer self-update - composer update ``` Enable container builds in Travis.
```yaml sudo: false language: php php: - 5.4 env: - EIX_ENV=TEST before_install: - composer self-update - composer update ```
00d47bf2-e46b-4050-88c4-25aa134387c2
{ "language": "YAML" }
```yaml language: python matrix: include: - python: 2.6 env: - TOXENV=py26 - python: 2.7 env: - TOXENV=py27 - python: 3.4 env: - TOXENV=py34 - python: 3.5 env: - TOXENV=py35 install: - pip install tox - pip install coveralls - pip install codeclima...
```yaml language: python matrix: include: - python: 2.6 env: - TOXENV=py26 - python: 2.7 env: - TOXENV=py27 - python: 3.4 env: - TOXENV=py34 - python: 3.5 env: - TOXENV=py35 install: - pip install tox - pip install coveralls - pip install codeclima...
4a6d68c8-3ce5-4616-a871-bbfe146f6a7a
{ "language": "YAML" }
```yaml sudo: required dist: trusty # install the pre-release chef-dk. Use chef-stable-trusty to install the stable release addons: apt: sources: - chef-current-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" branches: only: ...
```yaml sudo: required dist: trusty # install the pre-release chef-dk. Use chef-stable-trusty to install the stable release addons: apt: sources: - chef-stable-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" branches: only: ...
1291e4b7-c300-455c-bc89-bf65e4f60942
{ "language": "YAML" }
```yaml language: rust rust: 1.0.0-beta.3 branches: only: - master notifications: slack: secure: QpFHoGnFmO56Dc7PZzYEqeVbT0II7QCAYc7V0Xm4cV4NKLcz2DjBw523G+cCa7cewWVdhOooUKA14H6wjCHdqReMR7xO7iOGQm/p7iSMgU9eMlIvem0jBDGqxo/8R5GtA/OVZ6SB93ja+BaZiYaapsaQcTfxNxxeopecKus0z44= ``` Update Travis CI Rust version to ...
```yaml language: rust rust: nightly-2015-05-01 branches: only: - master notifications: slack: secure: QpFHoGnFmO56Dc7PZzYEqeVbT0II7QCAYc7V0Xm4cV4NKLcz2DjBw523G+cCa7cewWVdhOooUKA14H6wjCHdqReMR7xO7iOGQm/p7iSMgU9eMlIvem0jBDGqxo/8R5GtA/OVZ6SB93ja+BaZiYaapsaQcTfxNxxeopecKus0z44= ```
2e1bbafb-91c0-45a8-8128-69f4d2fbed6f
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" before_install: - 'sudo apt-get install redis' install: - 'pip install Flask' - 'pip install pytz' - 'pip install python-dateutil' - 'pip install Beaker>=1.6.4,<1.7' - 'pip install redis>=2.10' script: py.test ``` Correct redis package name for Travis
```yaml language: python python: - "2.6" - "2.7" before_install: - 'sudo apt-get install redis-server' install: - 'pip install Flask' - 'pip install pytz' - 'pip install python-dateutil' - 'pip install Beaker>=1.6.4,<1.7' - 'pip install redis>=2.10' script: py.test ```
e33a8bdd-2480-45f7-aac3-de9ce43bf057
{ "language": "YAML" }
```yaml dist: trusty language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1" - "2.2" - "ruby-2.3.0" before_install: - gem install bundler script: - bundle exec rspec - script/cucumber - ruby script/rubocop.rb bundler_args: --without development matrix: include: - rvm: "1.9.2" dist: precise ...
```yaml dist: trusty language: ruby rvm: - "1.9.2" - "1.9.3" - "2.0.0" - "2.1" - "2.2" - "ruby-2.3.0" before_install: - gem install bundler script: - bundle exec rspec - script/cucumber - ruby script/rubocop.rb bundler_args: --without development matrix: include: - rvm: jruby-19mode # JRu...
1c7e3278-7f95-43c8-a01f-bcf6b77a05b8
{ "language": "YAML" }
```yaml language: node_js node_js: - "8" # send builds to the container-based infrastructure sudo: false ``` Allow deploying with Travis 🤖
```yaml language: node_js node_js: - "8" # send builds to the container-based infrastructure sudo: false deploy: provider: npm email: paulo@ragonha.me api_key: secure: uwtKe6c+QPSOi7QLCGmVw5cIxl4XDAhaxVWKmRT/GA5CUALjY7ZY1i9Kn6mjcIcvW9HxATU51BASSfq3otWoSJnJB+J3E0kMHJTDW5JMYbQoeu0jRz6ny/FnQoNGvtd3GEAxBkRLCmE...
6e31900e-0b34-4d53-aa6e-bf1b608da0ed
{ "language": "YAML" }
```yaml language: node_js node_js: - "6.0.0" - "6" - "7" - "8" - "9" - "10" after_success: npm run test:coverage && npm run coverage:upload ``` Remove node versions below 8 from the Travis testing matrix
```yaml language: node_js node_js: - "8.0.0" - "8" - "9" - "10" after_success: npm run test:coverage && npm run coverage:upload ```
b8df1c73-8c6a-4ca3-92fa-5dbff37bc3cf
{ "language": "YAML" }
```yaml language: android android: components: - build-tools-21.1.2 - android-21``` Fix Travis CI pass 1
```yaml language: android android: components: - build-tools-21.1.2 - android-21 before_script: - chmod +x gradlew```
a5eb8b4e-8e1d-4e7f-b975-604999886d74
{ "language": "YAML" }
```yaml language: php script: - vendor/bin/phpunit test php: - 5.6 - 7.0 - 7.1 - 7.2 notifications: email: false``` Add dependency installation to Travis build
```yaml language: php before_script: composer install script: vendor/bin/phpunit test php: - 5.6 - 7.0 - 7.1 - 7.2 notifications: email: false```
b14c65c6-fcc9-42fc-b378-bae43043dfde
{ "language": "YAML" }
```yaml language: go go: - 1.7 - 1.8 - 1.9 - "1.10" - 1.11 - 1.12 - 1.13 - 1.14 sudo: false before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get . script: - make test notifications: slack: secure: U+RtmtVJEzEoZf+/VVuon9qNC4GXKzXoTqdYThP57ZTzqoDAJDnuZ/qUrMGrMYpYg38ikxtK3...
```yaml language: go go: - 1.7 - 1.8 - 1.9 - "1.10" - 1.11 - 1.12 - 1.13 - 1.14 - 1.15 sudo: false before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get . script: - make test notifications: slack: secure: U+RtmtVJEzEoZf+/VVuon9qNC4GXKzXoTqdYThP57ZTzqoDAJDnuZ/qUrMGrMYpYg3...
17acf54c-48a1-4fdb-9891-17ace739cb38
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" sudo: false after_success: - npm run coveralls ``` Test on more node versions
```yaml language: node_js node_js: - "0.10" - "0.12" - "4" - "5" sudo: false after_success: - npm run coveralls ```
cf7b5a72-c146-475e-bdd8-82b6f8d44a3d
{ "language": "YAML" }
```yaml sudo: false language: ruby rvm: jruby-1.7.16 jdk: openjdk7 env: global: - COVERAGE=1 matrix: - RAKE_TASK=spec - RAKE_TASK=rubocop matrix: allow_failures: - env: RAKE_TASK=rubocop services: - redis addons: postgresql: 9.3 before_script: - 'RAILS_ENV=test bundle exec rake db:create db:str...
```yaml sudo: false language: ruby rvm: - jruby-1.7.16 - jruby-head jdk: openjdk7 env: global: - COVERAGE=1 matrix: - RAKE_TASK=spec - RAKE_TASK=rubocop matrix: allow_failures: - env: RAKE_TASK=rubocop services: - redis addons: postgresql: 9.3 before_script: - 'RAILS_ENV=test bundle exec ra...
84af15d6-4927-4eb8-8860-fde777cad0fc
{ "language": "YAML" }
```yaml language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10"``` Add GitHub auth to jspm initialization
```yaml language: node_js before_install: - npm install -g jspm - jspm config registries.github.auth $JSPM_GITHUB_AUTH_TOKEN node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" ```
8eece1c1-e41e-4806-a058-944e6a07dd86
{ "language": "YAML" }
```yaml # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you ...
```yaml # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you ...
0f5ca206-1a3a-4701-99f0-c868ee1b8418
{ "language": "YAML" }
```yaml language: "node_js" node_js: - 0.4 - 0.6 ``` Test on node 0.8 using Travis CI.
```yaml language: "node_js" node_js: - 0.4 - 0.6 - 0.8 ```
1f39112d-2564-46f2-8926-cfc92b445424
{ "language": "YAML" }
```yaml language: scala scala: - 2.11.8 sudo: false jdk: - oraclejdk8 script: - sbt ++$TRAVIS_SCALA_VERSION server/test client/test # Tricks to avoid unnecessary cache updates, from # http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html - find $HOME/.sbt -name "*.lock" | xargs rm - find $HOME/.ivy2 -name "ivydata...
```yaml language: scala scala: - 2.11.8 sudo: false jdk: - oraclejdk8 script: - sbt ++$TRAVIS_SCALA_VERSION server/test client/test # Tricks to avoid unnecessary cache updates, from # http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html - find $HOME/.sbt -name "*.lock" | xargs rm - find $HOME/.ivy2 -name "ivydata...
d73426b0-4641-4990-a506-c70a2ae9fa5f
{ "language": "YAML" }
```yaml stages: - name: test if: NOT branch IN (master, staging) - name: deploy if: branch IN (master, staging) jobs: include: - stage: test language: node_js node_js: [node] cache: {directories: [node_modules]} script: - npm test - stage: deploy language: ge...
```yaml stages: - name: test if: NOT (branch IN (master, staging) OR tag =~ ^v\d+) - name: deploy if: branch IN (master, staging) OR tag =~ ^v\d+ jobs: include: - stage: test language: node_js node_js: [node] cache: {directories: [node_modules]} script: - npm test ...
9da15881-b69c-4ae7-9cbf-00e2895d56dd
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 ``` Remove 1.9.3 for ohai compatibility
```yaml language: ruby rvm: - 2.0.0 - 2.1.0 ```
1aabb4fc-a39b-4f02-bc34-2fa869ec43ce
{ "language": "YAML" }
```yaml language: java jdk: # JDK6 isn't supported after Jersey upgrade 2.6 -> 2.21 # - openjdk6 - openjdk7 - oraclejdk7 - oraclejdk8 script: - mvn clean verify - java -jar NetLicensingClient-demo/target/netlicensing-client-demo.jar after_success: - env ``` Deploy snapshot to Sonatype snapshots repo
```yaml language: java jdk: # JDK6 isn't supported after Jersey upgrade 2.6 -> 2.21 # - openjdk6 - openjdk7 - oraclejdk7 - oraclejdk8 script: - mvn clean verify - java -jar NetLicensingClient-demo/target/netlicensing-client-demo.jar after_success: - test "${TRAVIS_JDK_VERSION}" == "openjdk7" && test "${TRA...
f61d1b16-ec7c-4d64-affd-da3bae0f3d04
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "2.6" env: - DJANGO=1.4.3 - DJANGO=1.3.5 - DJANGO=https://github.com/django/django/zipball/master install: - pip install -q Django==$DJANGO --use-mirrors script: python setup.py test notifications: email: recipients: - code@p...
```yaml language: python python: - "2.7" - "2.6" env: - DJANGO_VERSION=DJANGO==1.4.3 - DJANGO_VERSION=DJANGO==1.3.5 - DJANGO_VERSION=git+git://github.com/django/django.git install: - pip install -q $DJANGO_VERSION --use-mirrors script: python setup.py test notifications: email: r...
a971691d-cd66-4bf0-a87e-bee88f2f203c
{ "language": "YAML" }
```yaml sudo: false language: go go: - 1.10.x env: - DEP_VERSION=0.5.0 matrix: allow_failures: - go: master fast_finish: true before_install: - curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep - chmod +x $GOPATH/bin/dep install: - # Do nothi...
```yaml sudo: false language: go go: - 1.10.x git: depth: 3 env: - DEP_VERSION=0.5.0 matrix: allow_failures: - go: master fast_finish: true before_install: - curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep - chmod +x $GOPATH/bin/dep install...
e5f5faf7-b7c0-4c05-8d19-6e20f781e6fc
{ "language": "YAML" }
```yaml --- language: node_js node_js: - "0.12" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCE...
```yaml --- language: node_js node_js: - "0.12" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCE...
07f6537c-e85b-4741-beb0-360b30602a33
{ "language": "YAML" }
```yaml language: node_js cache: directories: - node_modules node_js: - "4" - "5" ``` Remove Node4 from testing (does not play nice with coveralls)
```yaml language: node_js cache: directories: - node_modules node_js: - "5" ```
d2a4fbe9-2f49-4a67-a53a-8af69d66ebff
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.8" - "0.10" - "0.12" notifications: irc: "irc.freenode.org#socket.io" ``` Use container-based infrastructure for faster build
```yaml sudo: false language: node_js node_js: - "0.8" - "0.10" - "0.12" notifications: irc: "irc.freenode.org#socket.io" ```
64ddd46e-002b-4c42-9371-4104adfd4af3
{ "language": "YAML" }
```yaml sudo: required services: - docker language: node_js node_js: - '0.10' env: global: - GH_REF: github.com/chad-autry/stdin-eval-stdout script: - npm test - npm prune --production - docker build -t chadautry/stdin-eval-stdout:latest . - if [[ ! -z "$TRAVIS_TAG" ]]; then docker tag chadautry/stdin-eval-stdout...
```yaml sudo: required services: - docker language: node_js node_js: - '0.10' env: global: - GH_REF: github.com/chad-autry/stdin-eval-stdout script: - npm test - npm prune --production - docker build -t chadautry/stdin-eval-stdout:latest . after_script: - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="...
8e048415-4ca2-4712-8d1d-a884ce36f943
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.3 ``` Test on Ruby 2.2, bump 2.1 to 2.1.5
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.5 - 2.2.0 ```
a2503c29-e651-4985-9f80-4543a4eb9907
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 cache: directories: - $HOME/.m2 branches: only: - master - /^release-.+$/ env: - MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" before_install: - OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download\w+:)"` - NEW_VER...
```yaml language: java jdk: - oraclejdk8 cache: directories: - $HOME/.m2 branches: only: - master - /^release-.+$/ env: - MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" before_install: - OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download\w+:)"` - NEW_VER...
23272d7e-54b6-4c23-9287-30bf5f4b3db0
{ "language": "YAML" }
```yaml language: node_js node_js: - "8" env: global: - DB_HOST=ec2-23-21-158-253.compute-1.amazonaws.com - DB_NAME=d3o0vjc16si1ah - DB_USER=hxkztrgqaamine - DB_PORT=5432 - DB_PASS=1cfb071d0368a6f42237c09dad637df79750d9476f5346f922cd58683586779d - SESS_SECRET=dui8w9837@##& - PORT=5000 ...
```yaml language: node_js node_js: - "8" env: global: - DB_HOST=ec2-23-21-158-253.compute-1.amazonaws.com - DB_NAME=d3o0vjc16si1ah - DB_USER=hxkztrgqaamine - DB_PORT=5432 - DB_PASS=1cfb071d0368a6f42237c09dad637df79750d9476f5346f922cd58683586779d - SESS_SECRET=dfidfjdjakjfkdjkfjkdk - PO...
36dd6c0f-99ec-4e24-b75a-114f3f64e834
{ "language": "YAML" }
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage language: objective-c osx_image: xcode9 before_install: - gem install cocoapods xcpretty --no-rdoc --no-ri --no-document --quiet script: - set -o pipefail && xcodebuild test -workspace SimpleAnimation.x...
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage language: objective-c osx_image: xcode10.1 before_install: - gem install cocoapods xcpretty --no-rdoc --no-ri --no-document --quiet script: - set -o pipefail && xcodebuild test -workspace SimpleAnimatio...
c6b16cdf-8b26-45d8-9e37-0114d85effe2
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode7.3 sudo: false before_install: - brew install carthage - gem install xcpretty-travis-formatter script: ./Scripts/build.sh branches: only: - master env: - TARGET=WebDriverAgentLib SDK=iphonesimulator DESTINATION='iPad Air' ACTION=test - TARGET=WebDriverAgentLib...
```yaml language: objective-c osx_image: xcode7.3 sudo: false before_install: - brew install carthage - gem install xcpretty-travis-formatter script: ./Scripts/build.sh branches: only: - master env: - TARGET=WebDriverAgentLib SDK=iphonesimulator DESTINATION='iPad 2' ACTION=test - TARGET=WebDriverAgentLib S...
27f16f23-fae4-4f18-b025-45ad5b64cbf3
{ "language": "YAML" }
```yaml sudo: required language: python env: # Target Branch and Directory for Deployment of Pages - PAGES_TARGET_BRANCH="gh-pages" - PAGES_VERSION_BASE="version3" install: - sudo pip install -r .travis/python_req.txt script: - bash .travis/build_docs.sh - bash .travis/push_docs_to_gh_pages.sh ...
```yaml sudo: required language: python env: global: # Target Branch and Directory for Deployment of Pages - PAGES_TARGET_BRANCH="gh-pages" - PAGES_VERSION_BASE="version3" install: - sudo pip install -r .travis/python_req.txt script: - bash .travis/build_docs.sh - bash .travis/push_docs_to_gh_p...
bb4bd9fa-8f54-4c17-8070-1ecc0bbd2b6d
{ "language": "YAML" }
```yaml language: ruby sudo: false script: 'bundle exec rake test:coverage --trace && bundle exec rubocop --display-cop-names' rvm: - 2.2.5 - 2.3.1 - jruby-9.1.2.0 - ruby-head - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head ``` Remove MRI 2.2 from CI
```yaml language: ruby sudo: false script: 'bundle exec rake test:coverage --trace && bundle exec rubocop' rvm: - 2.3.1 - jruby-9.1.5.0 - ruby-head - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head ```
68b35448-e618-4e3c-a435-acaf1c7be37e
{ "language": "YAML" }
```yaml sudo: false dist: trusty language: node_js node_js: stable cache: directories: - node_modules addons: firefox: latest google-chrome: latest install: - npm install - polymer install --variants before_script: - gulp lint - polymer lint --rules polymer-2-hybrid --input *.html - xvfb-run -s ...
```yaml sudo: true dist: trusty language: node_js node_js: stable cache: directories: - node_modules addons: firefox: latest google-chrome: latest # Temporary fix, currently there are some weird timeout issues in Travis with Chrome 59 # TODO @limonte revisit after Chrome 60 release before_install: - wget...
68200abb-c205-4d3e-b029-023bfbd01725
{ "language": "YAML" }
```yaml # Config file for automatic testing at travis-ci.org language: python python: - "3.5" env: - TOX_ENV=py35-django-18 - TOX_ENV=py34-django-18 - TOX_ENV=py33-django-18 - TOX_ENV=py27-django-18 - TOX_ENV=py35-django-19 - TOX_ENV=py34-django-19 - TOX_ENV=py27-django-19 - TOX_ENV=py35-django-11...
```yaml # Config file for automatic testing at travis-ci.org language: python python: - "3.5" env: - TOX_ENV=py35-django-18 - TOX_ENV=py34-django-18 - TOX_ENV=py27-django-18 - TOX_ENV=py35-django-19 - TOX_ENV=py34-django-19 - TOX_ENV=py27-django-19 - TOX_ENV=py35-django-110 - TOX_ENV=py34-django-11...
065e651d-63ae-4345-9c25-fe3219886ae3
{ "language": "YAML" }
```yaml language: go sudo: false notifications: email: false go: - 1.4 - tip script: - go test ./... - go fmt ./... ``` Update Travis CI config to use Go v1.5
```yaml language: go sudo: false notifications: email: false go: - 1.5 - tip script: - go test ./... - go fmt ./... ```
73a2734b-6ca7-4d2d-96f5-805d89c5d1db
{ "language": "YAML" }
```yaml sudo: false language: ruby rvm: - 2.4 - 2.3 - 2.2 - 2.0.0 - 2.1 - 1.9.3 - rbx-2 - jruby matrix: allow_failures: - rvm: rbx-2 # See rubinius/rubinius#3485 - rubocop segfaults script: "bundle exec rake" addons: apt: packages: - idn - build-essential # this and below attempt al...
```yaml sudo: false language: ruby rvm: - 2.4 - 2.3 - 2.2 - 2.0.0 - 2.1 - 1.9.3 - rbx-2 - jruby-9.1.9.0 matrix: allow_failures: - rvm: rbx-2 # See rubinius/rubinius#3485 - rubocop segfaults script: "bundle exec rake" addons: apt: packages: - idn - build-essential # this and below at...
a4826a93-c59e-4a85-8aa1-a480e7755e00
{ "language": "YAML" }
```yaml language: php sudo: false php: - 7.0 - 7.1 - 7.2 matrix: allow_failures: - php: 7.2 cache: directories: - $HOME/.composer/cache before_install: - composer selfupdate install: - composer install script: - ./vendor/bin/phpunit ``` Remove "allow_failures" for PHP 7.2
```yaml language: php sudo: false php: - 7.0 - 7.1 - 7.2 cache: directories: - $HOME/.composer/cache before_install: - composer selfupdate install: - composer install script: - ./vendor/bin/phpunit ```
388809ea-8419-4b7c-a151-2b50499fadfe
{ "language": "YAML" }
```yaml language: php before_script: # Setup Coveralls and httpbin-php - phpenv local 5.5 - composer install --dev --no-interaction - sudo tests/utils/server/start.sh - export REQUESTS_TEST_HOST_HTTPS=localhost - phpenv local --unset # Work out of the tests directory - cd tests script: - phpunit --coverage-cl...
```yaml language: php before_script: # Setup Coveralls and httpbin-php - phpenv local 5.5 - composer install --dev --no-interaction - sudo tests/utils/server/start.sh - export REQUESTS_TEST_HOST_HTTP=localhost - phpenv local --unset # Work out of the tests directory - cd tests script: - phpunit --coverage-clo...
92b156cb-8f89-465f-aa10-19c72b3e4384
{ "language": "YAML" }
```yaml sudo: required dist: trusty language: python python: - "3.6" addons: apt: sources: - google-chrome packages: - google-chrome-stable before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - nvm install node install: - pip install -r requirements.txt - cd web ...
```yaml sudo: required dist: trusty language: python python: - "3.6" addons: apt: sources: - google-chrome packages: - google-chrome-stable before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - nvm install node install: - pip install -r requirements.txt - cd web ...
f4edb161-d01c-47d9-b2d6-bccb090da58c
{ "language": "YAML" }
```yaml language: go go: - 1.3 - 1.4 - tip script: - go test -cpu=2 ./... - go test -cpu=2 -tags=noasm ./... - go test -cpu=2 -short -race ./... - go test -cpu=2 -short -race -tags=noasm ./... ``` Add Go 1.5 to tests.
```yaml language: go go: - 1.3 - 1.4 - 1.5 - tip script: - go test -cpu=2 ./... - go test -cpu=2 -tags=noasm ./... - go test -cpu=2 -short -race ./... - go test -cpu=2 -short -race -tags=noasm ./... ```
a38a57af-9715-49ae-a7a3-9db0ccb6ce58
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 - jruby - jruby-19mode - rbx - rbx-19mode matrix: allow_failures: - rvm: jruby - rvm: jruby-19mode - rvm: rbx - rvm: rbx-19mode services: mongodb ``` Add ruby-head to build matrix
```yaml language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 - ruby-head - jruby - jruby-19mode - rbx - rbx-19mode matrix: allow_failures: - rvm: ruby-head - rvm: jruby - rvm: jruby-19mode - rvm: rbx - rvm: rbx-19mode services: mongodb ```
c64265e5-2409-4a25-8216-555ee727f42c
{ "language": "YAML" }
```yaml language: php php: - 7.1 - nightly cache: yarn: true directories: - ~/.composer/cache/files before_install: - echo "memory_limit=4096M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini install: - composer update --prefer-dist before_script: - (cd tests/...
```yaml language: php php: - 7.1 - 7.2 - nightly cache: yarn: true directories: - ~/.composer/cache/files before_install: - echo "memory_limit=4096M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini install: - composer update --prefer-dist before_script: - ...
ae5294fd-ff73-40f4-821e-ea42f9b29fa4
{ "language": "YAML" }
```yaml rvm: - 2.0.0 - 1.9.3 - 2.1.0 - jruby-19mode - rbx-2 ``` Fix Travis build for jruby
```yaml before_install: - gem install bundler -v '= 1.5.1' rvm: - 2.0.0 - 1.9.3 - 2.1.0 - jruby-19mode - rbx-2 ```
17192a27-7084-4d7c-8a1d-d40ff86ca4ca
{ "language": "YAML" }
```yaml language: cpp os: - linux - osx env: - CFLAGS="-O0 -g" QMAKEFLAGS="-config debug" PATH=/opt/qt56/bin:/usr/local/opt/qt5/bin:$PATH addons: apt: sources: - sourceline: 'ppa:beineri/opt-qt563-trusty' packages: - qt56base valgrind install: - if [ "${TRAVIS_OS_NAME}" != "linux" ]; then ...
```yaml language: cpp os: - linux - osx env: - CFLAGS="-O0 -g" QMAKEFLAGS="-config debug" PATH=/opt/qt56/bin:/usr/local/opt/qt5/bin:$PATH addons: apt: sources: - sourceline: 'ppa:beineri/opt-qt563-trusty' packages: - qt56base valgrind install: - if [ "${TRAVIS_OS_NAME}" != "linux" ]; then ...
fe0ac1cd-0328-422d-a8e1-f49c58a4c157
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-19mode script: bundle exec rake ``` Test modern Rubies and use Travis's new container infrastructure
```yaml language: ruby sudo: false cache: bundler rvm: - 2.1 - 2.2 script: bundle exec rake ```
d38eee74-8448-40a8-934f-d5492e805273
{ "language": "YAML" }
```yaml sudo: true dist: trusty language: node_js node_js: - '6' before_script: - npm install -g bower - yarn - bower install script: gulp test cache: directories: - node_modules addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable ``` Use xvfb / global wct
```yaml sudo: true dist: trusty language: node_js node_js: - '6' before_script: - npm install -g bower web-component-tester - yarn - bower install - gulp build:tests script: xvfb-run wct cache: directories: - node_modules addons: firefox: latest apt: sources: - google-chrome packages: ...
ea730a08-d2de-40da-9e9c-33c959df633e
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.0 - 2.0.0 ``` Allow Travis to cache bundler
```yaml language: ruby cache: bundler rvm: - 2.1.0 - 2.0.0 ```
03e06ce0-e9bb-4033-8d72-8c46df1de233
{ "language": "YAML" }
```yaml language: go sudo: false go: - "1.11" - "1.12" before_install: - go get github.com/mattn/goveralls script: - $HOME/gopath/bin/goveralls -service=travis-ci``` Add current go version to Travis
```yaml language: go sudo: false go: - "1.11" - "1.12" - "1.13" before_install: - go get github.com/mattn/goveralls script: - $HOME/gopath/bin/goveralls -service=travis-ci ```
1314d58c-0717-4d11-b9a3-70f3c17ebedb
{ "language": "YAML" }
```yaml os: linux dist: trusty language: java install: true jdk: openjdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -rf $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.m2 - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ jobs: include: - stage: Core ...
```yaml os: linux dist: trusty language: java install: true jdk: openjdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -rf $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.m2 - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ jobs: include: - stage: Core ...
56ba834c-7086-4d7b-af1c-04d7b5da0afd
{ "language": "YAML" }
```yaml language: node_js node_js: - "node" - "8" env: - PKG_ENV=npm - PKG_ENV=yarn before_install: - if [[ "$PKG_ENV" == "yarn" ]]; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi - if [[ "$PKG_ENV" == "yarn" ]]; then export PATH=$HOME/.yarn/bin:$PATH; fi ``` Test on linux and osx
```yaml language: node_js node_js: - "node" - "8" env: - PKG_ENV=npm - PKG_ENV=yarn before_install: - if [[ "$PKG_ENV" == "yarn" ]]; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi - if [[ "$PKG_ENV" == "yarn" ]]; then export PATH=$HOME/.yarn/bin:$PATH; fi os: - linux - osx ```
2e174597-a474-48fa-b6ac-ace7f2b6bf63
{ "language": "YAML" }
```yaml dist: xenial language: php env: global: - setup=stable matrix: fast_finish: true include: - php: 7.1 - php: 7.1 env: setup=lowest - php: 7.2 - php: 7.2 env: setup=lowest - php: 7.3 - php: 7.3 env: setup=lowest sudo: false cache: directories: - $HOME/...
```yaml dist: xenial language: php env: global: - setup=stable matrix: fast_finish: true include: - php: 7.1 - php: 7.1 env: setup=lowest - php: 7.2 - php: 7.2 env: setup=lowest - php: 7.3 - php: 7.3 env: setup=lowest cache: directories: - $HOME/.composer/cac...
9ec40143-cfba-47b2-96ae-b6525d9a58a4
{ "language": "YAML" }
```yaml language: android android: components: - tools - platform-tools - build-tools-23.0.1 - android-23 jdk: - oraclejdk8 before_install: - env - nvm install 6 - nvm use 6 install: - npm i script: - jarsigner -verify -verbose -certs test/android-release-unsigned.apk | grep "unsigned" ...
```yaml language: android android: components: - tools - platform-tools - build-tools-23.0.1 - android-23 jdk: - oraclejdk8 before_install: - env - nvm install 6 - nvm use 6 install: - npm i script: - jarsigner -verify -verbose -certs test/android-release-unsigned.apk | grep "unsigned" ...
e1c8db6e-f193-4ad7-a9ca-f22358659f9f
{ "language": "YAML" }
```yaml sudo: required services: - docker jdk: oraclejdk8 language: groovy branches: except: - /^tmp-.*$/ env: DOCKER_COMPOSE_VERSION: 1.8.0 before_install: - openssl aes-256-cbc -K $encrypted_f3d5ce600e4d_key -iv $encrypted_f3d5ce600e4d_iv -in gradle.properties.enc -out gradle.properties -d - sudo apt-...
```yaml sudo: required services: - docker jdk: oraclejdk8 language: groovy branches: except: - /^tmp-.*$/ before_install: - openssl aes-256-cbc -K $encrypted_f3d5ce600e4d_key -iv $encrypted_f3d5ce600e4d_iv -in gradle.properties.enc -out gradle.properties -d - sudo apt-get -y update - sudo apt-get -o Dpkg...
7539a18f-c93e-47e9-bf61-90510eb9b41f
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 ``` Remove ruby-1.8 testing since it is EoL and activesupport-4.0.0 does not support it
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 ```
c335cc0c-5d30-4fdf-99e3-a0c4d8b142b5
{ "language": "YAML" }
```yaml # We need sudo to install pip system-wide sudo: required os: - linux - osx before_install: # Workaround for upgrading gcc, see https://github.com/travis-ci/travis-ci/issues/8826 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask uninstall oclint ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then...
```yaml # We need sudo to install pip system-wide sudo: required os: - linux - osx before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python...
146f62b3-6037-4bce-a3a3-b946e81737ce
{ "language": "YAML" }
```yaml language: - java jdk: - openjdk10 - oraclejdk10 script: - ./gradlew -x signArchives assemble ``` Exclude archive signing from Travis CI builds
```yaml language: - java jdk: - openjdk10 - oraclejdk10 install: - true script: - ./gradlew -x signArchives assemble ```
172654f1-6e65-4314-addf-3045c168ec91
{ "language": "YAML" }
```yaml language: python python: - '2.7' - '3.2' - '3.3' - 'pypy' # Install dependencies install: - 'pip install -e ".[test]" --use-mirrors' # Run tests script: - nosetests tests/armet - nosetests tests/django_django - nosetests tests/flask_django - nosetests tests/bottle_django ``` Remove tests/ p...
```yaml language: python python: - '2.7' - '3.2' - '3.3' - 'pypy' # Install dependencies install: - 'pip install -e ".[test]" --use-mirrors' # Run tests script: - nosetests armet - nosetests django_django - nosetests flask_django - nosetests bottle_django ```
1ae2d96e-2edb-4d46-89a1-aeffbdb48674
{ "language": "YAML" }
```yaml language: ruby sudo: false before_install: gem install bundler matrix: allow_failures: - rvm: jruby-head fast_finish: true include: - rvm: 1.9.3 gemfile: gemfiles/Gemfile.1.9.2+ - rvm: 2.0.0 gemfile: Gemfile - rvm: 2.1.0 gemfile: Gemfile - rvm: 2.1.1 gemfile: Ge...
```yaml language: ruby sudo: false before_install: gem install bundler matrix: allow_failures: - rvm: jruby-head fast_finish: true include: - rvm: 1.9.3 gemfile: gemfiles/Gemfile.1.9.2+ - rvm: 2.0.0 gemfile: Gemfile - rvm: 2.1.10 gemfile: Gemfile - rvm: 2.2.6 gemfile: G...
bd4c63d9-803c-43c0-9822-54b49a57efd9
{ "language": "YAML" }
```yaml dist: trusty sudo: false language: c cache: directories: - $HOME/.ghc - $HOME/.cabal matrix: include: - env: CABALVER="2.0" GHCVER="8.2.1" compiler: ": #GHC 8.2.1" addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.1], sources: [hvr-ghc]}} - os: osx env: CABALVER="2.0" GHCV...
```yaml dist: trusty sudo: false language: c cache: directories: - $HOME/.ghc - $HOME/.cabal matrix: include: - env: CABALVER="2.0" GHCVER="8.2.1" compiler: ": #GHC 8.2.1" addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.1], sources: [hvr-ghc]}} - os: osx env: CABALVER="2.0" GHCV...
4ba9dd61-4f07-4ce9-b210-53800903a2f3
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.5" - "3.6" - "nightly" script: pytest ``` Add gdal cflags and libs to environment
```yaml language: python python: - "2.7" - "3.5" - "3.6" - "nightly" script: pytest before_install: - export CFLAGS=`gdal-config --cflags` - export LDFLAGS=`gdal-config --libs` - export PROJ_LIB=/usr/share/proj addons: apt: packages: - libgdal-dev - gdal-bin ```
09b1cf8d-4fe9-4b1e-9a6d-6a0b5f6ea8a2
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 # http://docs.travis-ci.com/user/caching/ cache: directories: - $HOME/.m2 - $HOME/.sonar/cache addons: # https://docs.travis-ci.com/user/sonarcloud/ sonarcloud: organization: "marcelstoer-github" script: # the following command line builds the project, run...
```yaml language: java jdk: - openjdk8 # http://docs.travis-ci.com/user/caching/ cache: directories: - $HOME/.m2 - $HOME/.sonar/cache addons: # https://docs.travis-ci.com/user/sonarcloud/ sonarcloud: organization: "marcelstoer-github" script: # the following command line builds the project, runs ...
934e3406-1652-4f2c-b995-db4637b0cb75
{ "language": "YAML" }
```yaml sudo: false language: python python: - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 - 3.6 addons: apt: packages: - make - gcc - qemu-utils - xorriso - zlib1g-dev before_script: - export PATH=$PATH:$PWD/bin - export PREFIX=$PWD install: - pip install tox-travis - pip in...
```yaml sudo: false language: python python: - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 - 3.6 addons: apt: packages: - make - gcc - qemu-utils - xorriso - zlib1g-dev before_script: - export PATH=$PATH:$PWD/bin - export PREFIX=$PWD install: - pip install --upgrade pip - pip...
83b18f4a-9b4c-4eb1-b4e0-cc8789ca3278
{ "language": "YAML" }
```yaml rvm: - 1.8.7 - 1.9.1 - 1.9.2 - jruby - rbx - ree ``` Add 1.8.6 to the CI matrix
```yaml rvm: - 1.8.6 - 1.8.7 - 1.9.1 - 1.9.2 - jruby - rbx - ree ```
5d1d3e1e-f4c9-4e12-8b8d-e65937d82902
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" services: - mongodb before_script: "grunt bgShell:nodemonDev" script: "grunt coverage" addons: code_climate: repo_token: secure: "hrUanDfyczomvyEYHJI9iQ39eVLyk1c4UjNHfa5Ea/gmaIhIUt94tUMDnU2fMQfNhXdNV+3WPeguMh5HGyLT5z7hPUPMDbXR+qELTPajTgxM+5e1BB199seMt9CIC...
```yaml language: node_js node_js: - "0.10" services: - mongodb before_script: "grunt bgShell:nodemonDev" script: "grunt coverage" addons: code_climate: repo_token: secure: "hrUanDfyczomvyEYHJI9iQ39eVLyk1c4UjNHfa5Ea/gmaIhIUt94tUMDnU2fMQfNhXdNV+3WPeguMh5HGyLT5z7hPUPMDbXR+qELTPajTgxM+5e1BB199seMt9CIC...
41fc6414-99db-4265-a672-943b429d0052
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1 branches: except: - ontohub.org - staging.ontohub.org - develop.ontohub.org services: - redis-server - elasticsearch notifications: email: false before_install: - 'export DISPLAY=:99.0' - 'sh -e /etc/init.d/xvfb start' - 'gem install bundler' script: ...
```yaml language: ruby rvm: - 2.1 branches: except: - ontohub.org - staging.ontohub.org - develop.ontohub.org services: - redis-server - elasticsearch notifications: email: false before_install: - 'export DISPLAY=:99.0' - 'sh -e /etc/init.d/xvfb start' - 'gem install bundler' script: ...
7d512a3b-1e2e-4b0a-8e1d-7ceb1f597b72
{ "language": "YAML" }
```yaml language: node_js sudo: false node_js: - "4.3" - "5" env: - KAFKA_HOME=../kafka CXX=g++-4.8 before_install: - wget http://www.us.apache.org/dist/kafka/0.8.2.2/kafka_2.10-0.8.2.2.tgz -O kafka.tgz - mkdir -p ${KAFKA_HOME} && tar xzf kafka.tgz -C ${KAFKA_HOME} --strip-components 1 - echo 'delete.topic.ena...
```yaml language: node_js sudo: false node_js: - "4.3" - "5" env: - KAFKA_HOME=../kafka CXX=g++-4.8 before_install: - wget http://www.us.apache.org/dist/kafka/0.8.2.2/kafka_2.10-0.8.2.2.tgz -O kafka.tgz - mkdir -p ${KAFKA_HOME} && tar xzf kafka.tgz -C ${KAFKA_HOME} --strip-components 1 - echo 'delete.topic.ena...
b365eeb3-a5f8-405c-8f19-47432fe35fa7
{ "language": "YAML" }
```yaml language: node_js sudo: false before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install branches: only: - gh-pages - /.*/ node_js: 4 addons: firefox: latest apt: sources: - google-chrome packages: ...
```yaml language: node_js sudo: required dist: trusty before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install branches: only: - gh-pages - /.*/ node_js: 4 addons: firefox: latest apt: sources: - google-chrome ...
5985cbf3-9d2c-4f76-ac52-23de690ad949
{ "language": "YAML" }
```yaml language: ruby sudo: false rvm: - 2.3.1 jdk: - oraclejdk7 git: depth: 10 before_install: - gem update bundler ``` Build using Java 8 as Java 7 has been removed from some TravisCI nodes
```yaml language: ruby sudo: false rvm: - 2.3.1 jdk: - oraclejdk8 git: depth: 10 before_install: - gem update bundler ```
fab21d5b-5064-4867-8f51-24fb71e358b1
{ "language": "YAML" }
```yaml --- language: go go: - 1.5 - tip install: make updatedeps # whitelist master branch branches: only: - master script: - make - make test ``` Tag go version 1.6 explicitly
```yaml --- language: go go: - 1.5 - 1.6 - tip install: make updatedeps # whitelist master branch branches: only: - master script: - make - make test ```
97c489b2-43f7-4dca-bfc2-00e405b33e4c
{ "language": "YAML" }
```yaml language: "node_js" node_js: - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" - "0.10" - "0.8" before_install: - "npm install make-node@0.3.x -g" - "preinstall-compat" script: - "make test-cov" after_success: - "make report-cov" sudo: false ``` Add new node versions t...
```yaml language: "node_js" node_js: - "8" - "7" - "6" - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" - "0.10" - "0.8" before_install: - "npm install make-node@0.3.x -g" - "preinstall-compat" script: - "make test-cov" after_success: - "make report-cov" sudo: false ```
8f36dc6a-895b-4cf4-bc6e-f6e441875bc1
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode6.4 before_install: - gem install xcpretty --no-document script: - set -o pipefail - xcodebuild -project CommandKit.xcodeproj -scheme CommandKit -sdk macosx test | xcpretty -c ``` Update Travis to use Xcode 7
```yaml language: objective-c osx_image: xcode7 before_install: - gem install xcpretty --no-document script: - set -o pipefail - xcodebuild -project CommandKit.xcodeproj -scheme CommandKit -sdk macosx test | xcpretty -c ```
282e5139-11d9-407e-bab0-78673197a043
{ "language": "YAML" }
```yaml language: python python: - '2.7' env: - TOX_ENV=py27 - TOX_ENV=py34 - TOX_ENV=flake8 install: - sudo apt-get install python-gdal python-numpy python-psycopg2 python-sqlalchemy - pip install tox script: - tox -e $TOX_ENV after_success: - coveralls ``` Install Travis dependencies in before_install
```yaml language: python python: - '2.7' env: - TOX_ENV=py27 - TOX_ENV=py34 - TOX_ENV=flake8 before_install: - sudo apt-get install python-gdal python-numpy python-psycopg2 python-sqlalchemy install: - pip install tox script: - tox -e $TOX_ENV after_success: - coveralls ```
3267213d-d5fc-4399-8b1e-b891730d23c3
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' branches: only: - master - development - travis-ci before_install: - npm install - npm install istanbul coveralls ``` Test with Node.js 5.1 on Travis CI.
```yaml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' - '5.1' branches: only: - master - development - travis-ci before_install: - npm install - npm install istanbul coveralls ```
e903089c-09a8-4e60-b6a4-9cd3b7b4bb1e
{ "language": "YAML" }
```yaml rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ruby-head - ree - jruby - rbx-18mode gemfile: - Gemfile - gemfiles/Gemfile.base-versions before_script: - 'sh -e /etc/init.d/xvfb start' before_install: - 'git submodule update --init' env: - DISPLAY=':99.0' ``` Exclude Rubinius and JRuby with base version...
```yaml rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ruby-head - ree - jruby - rbx-18mode gemfile: - Gemfile - gemfiles/Gemfile.base-versions matrix: exclude: # Nokogiri 1.3.3 is not compatible with Rubinius or JRuby - gemfile: gemfiles/Gemfile.base-versions rvm: rbx-18mode - gemfile: gemfiles/G...
793cbd72-f128-4502-b4f1-2dd2eb45a6ee
{ "language": "YAML" }
```yaml language: c compiler: - gcc - clang script: - autoreconf -iv - ./configure --enable-Werror - make -j8 - make check - make distcheck ``` Send code coverage reports to coveralls.io
```yaml language: c compiler: - gcc - clang before_install: - sudo apt-get install -y lcov - gem install coveralls-lcov script: - autoreconf -iv - ./configure --enable-Werror --enable-code-coverage - make -j8 - make check - make distcheck after_success: - test "x$CC" = "xgcc" && make code-...
e6e4ffde-0f3d-4a1d-9d63-eb98eabf0eed
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm - 7 before_script: - composer self-update - composer install script: - phpunit --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage...
```yaml language: php php: - 7.3 - 7.4 before_script: - composer self-update - composer install script: - phpunit --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover ```
eae1c647-03b9-45af-847a-1183076326ba
{ "language": "YAML" }
```yaml sudo: false language: python python: - 2.6 - 2.7 - 3.3 - 3.4 env: - DB=mongodb - DB=mysql - DB=redis-server before_script: - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS testdb;'; fi" services: - mongodb - redis-server install: - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pi...
```yaml sudo: false language: python python: - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 env: - DB=mongodb - DB=mysql - DB=redis-server before_script: - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS testdb;'; fi" services: - mongodb - redis-server install: - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; t...
06011309-932c-4088-a65e-50dd96ce5fa5
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree - rbx-18mode - rbx-19mode - jruby-18mode - jruby-19mode env: - DB=mysql #- DB=postgres before_script: - "mysql -e 'create database `foreigner-matcher_test`;'" #- "psql -c 'create database \"foreigner-matcher_test\";' -U postgres" - bund...
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ree - rbx-18mode - rbx-19mode - jruby-18mode - jruby-19mode env: - DB=mysql #- DB=postgres before_script: - "mysql -e 'create database `foreigner-matcher_test`;'" #- "psql -c 'create database \"foreigner-matcher_test\";' -U postgres" - bund...
ddc1626b-0614-4c1d-8a06-7b4d4ccd9aa0
{ "language": "YAML" }
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage os: osx osx_image: xcode7.3 language: objective-c rvm: - 2.2.5 cache: cocoapods podfile: Example/Podfile before_install: - sw_vers # Show osx versions - gem install cocoapods # Since Travis is no...
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage os: osx osx_image: xcode7.3 language: objective-c rvm: - 2.2.5 cache: cocoapods podfile: Example/Podfile before_install: - sw_vers # Show osx versions - gem install cocoapods # Since Travis is no...
5a728a7e-584e-4a20-a3f2-a85a518ffd1c
{ "language": "YAML" }
```yaml language: php php: - 5.6 - 7.0 - 7.1 env: matrix: - COMPOSER_FLAGS="--prefer-lowest" - COMPOSER_FLAGS="" before_script: - travis_retry composer self-update - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source script: - phpunit --coverage-text --coverage-clo...
```yaml language: php php: - 5.6 - 7.0 - 7.1 env: matrix: - COMPOSER_FLAGS="--prefer-lowest" - COMPOSER_FLAGS="" before_script: - travis_retry composer self-update - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source script: - vendor/phpunit/phpunit/phpunit --cover...
13047954-b3dd-44e3-9a2e-96121fc8ee92
{ "language": "YAML" }
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage language: objective-c # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Example...
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage language: objective-c # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Example...
1c9f43ef-51d6-44e7-96c3-2468065e9e2f
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.4 script: - bundle exec rubocop - bundle exec rspec ``` Disable email notifcations from Travis
```yaml language: ruby rvm: - 2.4 script: - bundle exec rubocop - bundle exec rspec notifications: email: false ```
236669a4-c83d-40fd-a5fb-488915c8b857
{ "language": "YAML" }
```yaml language: go go: - 1.3 - 1.4.3 - 1.5.1 - tip install: - go get -d -v ./... script: - go build -v ./... - go tool vet -all -v *.go ``` Make sure we have go vet
```yaml language: go go: - 1.3 - 1.4.3 - 1.5.1 - tip install: - go get -v golang.org/x/tools/cmd/vet - go get -d -v ./... script: - go build -v ./... - go tool vet -all -v *.go ```
2cb97446-f5d5-4a1a-8798-a781456654d5
{ "language": "YAML" }
```yaml language: php php: - 5.5 - 5.4 - hhvm install: - composer install script: - make test ``` Add 5.3 to the build config
```yaml language: php php: - 5.5 - 5.4 - 5.3 - hhvm install: - composer install script: - make test ```
b5cc2301-b8b1-434d-9af7-988427fad1b2
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.3" - "3.4" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - ./miniconda.sh -b - export PAT...
```yaml language: python python: - "2.7" - "3.3" - "3.4" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors before_install: - sudo apt-get install libnetcdf-dev libhdf5-serial-dev - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - ...
0b6fb540-021b-4a08-8971-7eeae0797694
{ "language": "YAML" }
```yaml language: go go: - 1.2 install: - go get -v github.com/mattn/go-sqlite3 - go get -v github.com/go-sql-driver/mysql - go get -v github.com/lib/pq - go get -v github.com/naoina/genmai env: - DB=sqlite3 - DB=mysql - DB=postgres before_script: - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'DROP...
```yaml language: go go: - 1.2 - 1.2.1 - tip install: - go get -v github.com/mattn/go-sqlite3 - go get -v github.com/go-sql-driver/mysql - go get -v github.com/lib/pq - go get -v github.com/naoina/genmai env: - DB=sqlite3 - DB=mysql - DB=postgres before_script: - sh -c "if [ '$DB' = 'postgres' ]; ...
774bfbde-f25c-4d8c-a07b-86957cec3ddb
{ "language": "YAML" }
```yaml language: node_js node_js: '10' os: - linux - osx - windows script: # - npm run lint - echo "npm run check" - echo "npm run cover" - echo "npm run build" - echo "npm run bundle:$TRAVIS_OS_NAME" after_success: # Upload test coverage to codecov.io - echo "bash <(curl -s https://codecov.io/b...
```yaml language: node_js node_js: '10' os: - linux - osx # Windows builds fail on Travis for projects with secrets # See https://travis-ci.community/t/current-known-issues-please-read-this-before-posting-a-new-topic/264/10 # - windows script: # - npm run lint - echo "npm run check" - echo "npm run c...
d2424454-fb66-4c7b-ba4e-02ac3f20ecbf
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - rbx - jruby env: - COVERALLS=true cache: bundler matrix: allow_failures: - rvm: rbx ``` Test more rubies before release
```yaml language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.6 - 2.5.5 - 2.6.2 - rbx - jruby env: - COVERALLS=true cache: bundler matrix: allow_failures: - rvm: rbx ```
325b49d2-165a-40a5-98eb-4bd1a87fcad8
{ "language": "YAML" }
```yaml before_script: - npm cache clean - npm update -g npm language: node_js node_js: - 0.10``` Test Fix Travis CI build error
```yaml before_script: - npm update -g npm language: node_js node_js: - 0.10```
8d1738b7-fc79-4586-809e-301426bd8c98
{ "language": "YAML" }
```yaml language: ruby cache: - bundler rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - ruby-head - rbx-19mode matrix: fast_finish: true allow_failures: - rvm: ruby-head - rvm: rbx-19mode branches: only: - master script: rake test ``` Remove caching of Ruby gems from Travis CI for the ...
```yaml language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.1 - ruby-head - rbx-19mode matrix: fast_finish: true allow_failures: - rvm: ruby-head - rvm: rbx-19mode branches: only: - master script: rake test ```
bfb9323c-160a-4b97-90f0-2b62fc5d9877
{ "language": "YAML" }
```yaml osx_image: xcode8.3 language: swift # cache: cocoapods # podfile: Example/Podfile env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - SDK=iphonesimulator10.3 matrix: - DESTINATION="OS=10.3.1 ,name=iPhone 7 Plus" POD_LINT="YES" - DESTINATION="OS=9.0,name=iPhone 6" POD_LINT="NO" - DEST...
```yaml osx_image: xcode8.3 language: swift # cache: cocoapods # podfile: Example/Podfile env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - SDK=iphonesimulator10.3 matrix: - DESTINATION="OS=10.3.1 ,name=iPhone 7 Plus" POD_LINT="YES" - DESTINATION="OS=9.0,name=iPhone 6" POD_LINT="NO" - DEST...
a5334f70-d584-48fb-9d10-66aa520638c9
{ "language": "YAML" }
```yaml language: python cache: pip python: 2.7 before_install: - export GALAXY_RELEASE=release_18.09 install: - pip install flake8 flake8-import-order planemo - planemo conda_init - ~/miniconda3/bin/conda install -y -c conda-forge conda=4.3.34 - planemo --version - ~/miniconda3/bin/conda --version - e...
```yaml language: python cache: pip python: 2.7 before_install: - export GALAXY_RELEASE=release_19.05 install: - pip install flake8 flake8-import-order planemo - planemo conda_init - ~/miniconda3/bin/conda install -y -c conda-forge conda=4.3.34 - planemo --version - ~/miniconda3/bin/conda --version - e...
11aea1b4-6208-4af2-96b7-6dcd55870c84
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9 - 2.0 - 2.1 - 2.2 - 2.3.0 before_install: gem install bundler -v 1.10.6 notifications: email: false ``` Drop support for Ruby 1.9
```yaml language: ruby rvm: - 2.0 - 2.1 - 2.2 - 2.3.0 before_install: gem install bundler -v 1.10.6 notifications: email: false ```
03985da4-2109-48f9-ac73-f8582cc7a936
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.2.2 - 2.3.0 - ruby-head branches: only: - "master" - "/^release-/" matrix: fast_finish: true allow_failures: - rvm: ruby-head before_install: gem install bundler cache: bundler sudo: false git: depth: 1 ``` Use recent Rubies in Travis CI
```yaml language: ruby rvm: - 2.2.5 - 2.3.1 - ruby-head branches: only: - "master" - "/^release-/" matrix: fast_finish: true allow_failures: - rvm: ruby-head before_install: gem install bundler cache: bundler sudo: false git: depth: 1 ```
4985513b-cbd2-45d7-80a2-d0aee98c0feb
{ "language": "YAML" }
```yaml language: php matrix: fast_finish: true include: - php: 7 install: composer install --no-interaction script: - composer test - composer cs-check after_script: - composer upload-coverage``` Use php 7 by default, shallow copy for git to speed things up, and use the new container infrastructure.
```yaml language: php php: - 7.0 git: depth: 5 sudo: false matrix: fast_finish: true install: composer install --no-interaction script: - composer test - composer cs-check after_script: - composer upload-coverage ```
a5639674-2134-4b2e-9260-01084f2d6514
{ "language": "YAML" }
```yaml sudo: false language: perl perl: - '5.28' - '5.26' - '5.24' - '5.22' - '5.20' - '5.18' - '5.16' - '5.14' install: - wget -P ~/bin https://git.io/cpm - chmod +x ~/bin/cpm - for i in exercises/*/.meta/solutions; do cd $i; if [ -f cpanfile ]; then echo "$i"; cpm install; fi; cd - > /dev/null;...
```yaml sudo: false language: perl perl: - '5.28' - '5.26' - '5.24' - '5.22' - '5.20' - '5.18' - '5.16' - '5.14' install: - wget -P ~/bin https://git.io/cpm - chmod +x ~/bin/cpm - for i in exercises/*/.meta/solutions; do cd $i; if [ -f cpanfile ]; then echo "$i"; cpm install; fi; cd - > /dev/null;...
73bf8a8b-a55f-4bfd-9761-bc22151173a9
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.2 - 2.1.5 - 2.1.9 - 2.1.10 - 2.2.5 - 2.3.1 before_install: - gem update bundler env: - rvmsudo_secure_path=1 script: bundle exec rake test_all services: - mongodb before_install: - gem update bundler notifications: email: recipients: - healthcare-ci@goog...
```yaml language: ruby rvm: - 2.1.2 - 2.1.5 - 2.1.9 - 2.1.10 - 2.2.5 - 2.3.1 before_install: - gem update bundler env: - rvmsudo_secure_path=1 script: bundle exec rake test_unit services: - mongodb before_install: - gem update bundler notifications: email: recipients: - healthcare-ci@goo...
d6ed8ed2-d63a-4045-8252-d6f4e1f40217
{ "language": "YAML" }
```yaml language: php php: - "7.1" - "7.0" - "5.6" before_script: - composer self-update - composer install --prefer-source script: - composer phpcs - composer phpunit ``` Add PHP 7.4 to Travis
```yaml language: php php: - "7.4" - "7.1" - "7.0" - "5.6" before_script: - composer self-update - composer install --prefer-source script: - composer phpcs - composer phpunit ```