doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
5c31325c-e549-4f46-9cc5-6cf1b9e21958
{ "language": "YAML" }
```yaml language: node_js node_js: - "node" - "6" - "4" - "0.12" - "0.10" - "0.8" ``` Stop testing on Node 0.8. Mocha 3 can’t run on it.
```yaml language: node_js node_js: - "node" - "6" - "4" - "0.12" - "0.10" ```
b36c94d4-8dc9-4fd2-b6bf-e4225317bfb8
{ "language": "YAML" }
```yaml language: go go: - 1.5 - 1.6 - tip ``` Add Go 1.7 to Travis-CI build matrix.
```yaml language: go go: - 1.5 - 1.6 - 1.7 - tip ```
ecc9cb2f-b5d7-4c83-8012-849412f7ede8
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 notifications: recipients: - jari.bakken@gmail.com irc: "irc.freenode.net#holderdeord" script: "RAILS_ENV=test bundle exec rake travis" before_script: - "sh -e /etc/init.d/xvfb start" - "npm install -g buster autolint" env: - DISPLAY=:99.0 COVERAGE_THRESHOLD=60 ``` F...
```yaml language: ruby rvm: - 1.9.3 notifications: recipients: - jari.bakken@gmail.com irc: "irc.freenode.net#holderdeord" script: "RAILS_ENV=test bundle exec rake travis" before_script: - psql -c 'create database hdo_test;' -U postgres - "ruby -ryaml -e 'c = YAML.load_file(%{config/database.yml}); c[%{te...
23fb9241-0d2e-4e1c-bdb2-3aec86fbefde
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" # command to install dependencies install: - "pip install --pre pyusb" # command to run tests script: "python setup.py test -s test.soft" ``` Use Travis container based infrastructure.
```yaml language: python sudo: false python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" cache: directories: - $HOME/.cache/pip addons: apt: packages: - libusb-1.0-0 install: - pip install "pip>=7.0.2" wheel - pip install --pre pyusb script: "python setup.py test -s test.soft" ```
974e388d-0095-4f24-82fc-cecb706165cd
{ "language": "YAML" }
```yaml language: java install: true before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - chmod +x gradlew jdk: oraclejdk8 git: depth: false addons: sonarcloud: organization: "gurkenlabs-github" script: - ./gradlew fullbuild - if [ $TRAVIS_PULL_REQUEST = 'false' ]; then ...
```yaml language: java install: true before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - chmod +x gradlew jdk: oraclejdk11 git: depth: false addons: sonarcloud: organization: "gurkenlabs-github" script: - ./gradlew fullbuild - jdk_switcher use oraclejdk8 - ./gradlew fullbuil...
3ee7850c-b565-45f7-ad04-a8c11c1b9b8c
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5.1' branches: only: - master - travis-ci before_install: - for dir in prolific*; do (cd $dir && npm install); done - npm install - npm install istanbul coveralls ``` Test with latest Node.js 5 on Travis CI.
```yaml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - for dir in prolific*; do (cd $dir && npm install); done - npm install - npm install istanbul coveralls ```
ab796bd5-c3b2-46df-8bf8-c624b91bb56e
{ "language": "YAML" }
```yaml language: cpp os: - linux sudo: required dist: trusty compiler: - clang - gcc addons: apt: sources: - sudo add-apt-repository ppa:george-edison55/cmake-3.x --yes packages: - cmake - cmake-data before_install: - git submodule update --init --recursive install: - $CXX...
```yaml language: cpp os: - linux sudo: required dist: trusty compiler: - clang - gcc before_install: - git submodule update --init --recursive install: - wget -quiet http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz - tar xf cmake-3.3.2.tar.gz - cd cmake-3.3.2 - ./configure - make - sudo ma...
3563872d-2a23-4fda-923b-657932291be1
{ "language": "YAML" }
```yaml language: perl perl: - "5.20" - "5.10" services: - mysql before_script: - mysql -e "create database seccubus_create" - mysql -e "create database seccubus_upgrade"``` Make sure DB is there
```yaml language: perl perl: - "5.20" - "5.10" services: - mysql before_script: - mysql -e "create database seccubus_create" - mysql -e "create database seccubus_upgrade" - mysql -e "create database seccubus_issues"```
a58a92d3-1161-456f-aff2-b0fb58be1b29
{ "language": "YAML" }
```yaml language: cpp sudo: false dist: xenial os: - linux addons: apt: packages: - g++-5 git: submodules: false branches: only: - master script: - cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_CXX_FLAGS="-fprofile-arcs -ftest-coverage -fsanitize=address" ./ - make VERBOSE=1 -j 2 - ctest -VV after_scrip...
```yaml language: cpp sudo: false dist: xenial os: - linux addons: apt: packages: - g++-5 - lcov git: submodules: false branches: only: - master script: - cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_CXX_FLAGS="-fprofile-arcs -ftest-coverage -fsanitize=address" ./ - make VERBOSE=1 -j 2 - ctest -VV ...
6aa08865-71a5-4854-a9c3-7659b10a805e
{ "language": "YAML" }
```yaml dist: xenial language: python python: - 3.8 install: - pip install -r requirements.txt - pip install -r requirements-dev.txt script: - bin/lint - bin/test after_success: - pip install coveralls - coveralls notifications: email: on_success: never ``` Test against multiple Python versio...
```yaml dist: xenial language: python python: - 3.6 - 3.7 - 3.8 install: - pip install -r requirements.txt - pip install -r requirements-dev.txt script: - bin/lint - bin/test after_success: - pip install coveralls - coveralls notifications: email: on_success: never ```
c1fdf83b-da3b-4bb6-bee5-a3ff028ea258
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - hhvm env: global: - CORE_BRANCH=master - APP_NAME=bookmarks matrix: - DB=sqlite branches: only: - master - /^stable\d+(\.\d+)?$/ before_install: # - composer install - wget https://raw.githubusercontent.com/owncloud/administration/m...
```yaml language: php php: - 5.4 - 5.5 - 5.6 - hhvm - 7 env: global: - CORE_BRANCH=master - APP_NAME=bookmarks matrix: - DB=sqlite branches: only: - master - /^stable\d+(\.\d+)?$/ before_install: # - composer install - wget https://raw.githubusercontent.com/owncloud/administra...
e4e5bebd-842f-42fd-9539-20d3f73eafcb
{ "language": "YAML" }
```yaml language: node_js sudo: false node_js: - "0.12" - "0.10" - iojs before_install: - npm install -g npm@'>2.7.0' after_script: - CODECLIMATE_REPO_TOKEN=7b0cbee1382c968a036868d26ec04d0ddc7b7aeef25ceead5ff9ff50a3c2ae8b codeclimate < coverage/lcov.info - rm -rf ./coverage notifications: email: on_success: chang...
```yaml language: node_js sudo: false node_js: - "0.12" - "0.10" - "4" after_script: - CODECLIMATE_REPO_TOKEN=7b0cbee1382c968a036868d26ec04d0ddc7b7aeef25ceead5ff9ff50a3c2ae8b codeclimate < coverage/lcov.info - rm -rf ./coverage notifications: email: on_success: change on_failure: change ```
fcf4bd46-98c9-4905-9fcb-8c90e2fa63a3
{ "language": "YAML" }
```yaml language: go go: - 1.8.1 before_script: - go get github.com/alecthomas/gometalinter - gometalinter --install script: - go build -race -v -gcflags "-N -l" ./... - exec 5>&1 && output="$(gofmt -l -w "$@" | tee /dev/fd/5)" && [[ -z "$output" ]] - gometalinter --exclude=corefoundation.go --deadline=60...
```yaml language: go go: - 1.8.1 before_script: - go get github.com/alecthomas/gometalinter - gometalinter --install script: - go build -race -v -gcflags "-N -l" ./... - exec 5>&1 && output="$(gofmt -l -w "$@" | tee /dev/fd/5)" && [[ -z "$output" ]] - gometalinter --exclude=corefoundation.go --deadline=60...
dbeeaaa3-3b7f-47a5-a7af-0f7719c70a7c
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - hhvm install: - sudo apt-get purge riak - sudo curl https://packagecloud.io/install/repositories/basho/riak/script.deb | sudo bash - sudo apt-get install riak=2.0.0-1 - sudo sed -i -e "s/search = off/search = on/g" /etc/riak/riak.conf -...
```yaml language: php php: - 5.4 - 5.5 - 5.6 - hhvm install: - sudo apt-get purge riak - sudo curl https://packagecloud.io/install/repositories/basho/riak/script.deb | sudo bash - sudo apt-get install riak=2.0.0-1 - sudo sed -i -e "s/search = off/search = on/g" /etc/riak/riak.conf -...
570354eb-b73f-4dbb-bdc3-46ef18567ac8
{ "language": "YAML" }
```yaml language: ruby script: bundle exec rake test rvm: - 2.2 - 2.1 - 2.0.0 - ruby-head - jruby-head - rbx-2 addons: code_climate: repo_token: 6f4b7c1f44b29f414ffb9b243b1f83cf5fa40eb297b4cd0c7761bf960487a8eb ``` Allow failures on Ruby head
```yaml language: ruby script: bundle exec rake test rvm: - 2.2 - 2.1 - 2.0.0 - ruby-head - jruby-head - rbx-2 addons: code_climate: repo_token: 6f4b7c1f44b29f414ffb9b243b1f83cf5fa40eb297b4cd0c7761bf960487a8eb matrix: allow_failures: - rvm: ruby-head```
c958a401-c3a3-43f2-9efc-33d5624ec206
{ "language": "YAML" }
```yaml sudo: required language: rust rust: - 1.0.0 - beta - nightly install: - sudo apt-get install opencc libopencc-dev script: - cargo build --verbose - cargo test --verbose ``` Test again the latest OpenCC codes
```yaml sudo: required language: rust rust: - 1.0.0 - beta - nightly install: - sudo apt-get install cmake - git clone https://github.com/BYVoid/OpenCC.git && cd OpenCC - make && sudo make install - sudo ldconfig - cd .. script: - cargo build --verbose - cargo test --verbose ```
7558ad47-381f-4b93-baf9-94ce90e1264d
{ "language": "YAML" }
```yaml language: node_js node_js: - "4" - "6" - "7" - "8" - "9" - "10" install: - yarn install - yarn run compile script: - yarn run lint - yarn run test jobs: include: - stage: after_success script: yarn run coveralls node_js: 9 ``` Remove Node 4 build target
```yaml language: node_js node_js: - "6" - "7" - "8" - "9" - "10" install: - yarn install - yarn run compile script: - yarn run lint - yarn run test jobs: include: - stage: after_success script: yarn run coveralls node_js: 9 ```
1694a30e-3e18-47df-92a1-a0871bbf8d82
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 notifications: email: on_success: always on_failure: always ``` Add Ruby 2.1 to Travis matrix
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 notifications: email: on_success: always on_failure: always ```
46ff4591-4a61-47ef-825e-7ee4c3827eb2
{ "language": "YAML" }
```yaml language: python python: - "2.7" before_install: - sh -x ./install_depends/opensips.sh script: sh -x ./test_opensips.sh env: - MM_TYPE=opensips RTPPC_TYPE=udp - MM_TYPE=opensips RTPPC_TYPE=udp6 - MM_TYPE=opensips RTPPC_TYPE=unix - MM_TYPE=b2bua RTPPC_TYPE=udp - MM_TYPE=b2bua RTPPC_TYPE=udp6 ...
```yaml language: python python: - "2.7" before_install: - sh -x ./install_depends/opensips.sh script: sh -x ./test_opensips.sh env: - MM_TYPE=b2bua RTPPC_TYPE=udp - MM_TYPE=b2bua RTPPC_TYPE=udp6 - MM_TYPE=b2bua RTPPC_TYPE=unix - MM_TYPE=b2bua RTPPC_TYPE=cunix - MM_TYPE=opensips MM_BRANCH=1.8 RTPPC_TY...
3f3fdf92-cec4-40ad-a18e-15b0a319e7dc
{ "language": "YAML" }
```yaml --- language: ruby rvm: - 2.4.10 - 2.5.8 - 2.6.6 - 2.7.1 - ruby-head - jruby-9.2.11.1 before_install: - yes | gem update --system - gem update bundler script: bundle exec rake test ``` Drop Ruby 2.4 due to EoL
```yaml --- language: ruby rvm: - 2.5.8 - 2.6.6 - 2.7.1 - ruby-head - jruby-9.2.11.1 before_install: - yes | gem update --system - gem update bundler script: bundle exec rake test ```
8724e960-1c22-4f1a-b8cb-701ea8043c90
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode9 cache: - bundler env: matrix: - FASTLANE_ENV=iOS - FASTLANE_ENV=macOS script: - bundle exec fastlane test --env $FASTLANE_ENV after_success: - bash <(curl -s https://codecov.io/bash) ``` Use Xcode 9.2 for tests
```yaml language: objective-c osx_image: xcode9.2 branches: - master cache: - bundler env: matrix: - FASTLANE_ENV=iOS - FASTLANE_ENV=macOS script: - bundle exec fastlane test --env $FASTLANE_ENV after_success: - bash <(curl -s https://codecov.io/bash) ```
be626598-f01d-49f3-95cb-38997b9d6b18
{ "language": "YAML" }
```yaml sudo: true dist: trusty # Choose a lightweight base image language: c addons: apt: packages: npm before_install: - ./.travis/install-dependencies/cpp-install-dependencies.sh - ./.travis/install-dependencies/haskell-install-dependencies.sh - ./.travis/install-dependencies/java-install-depend...
```yaml sudo: true dist: trusty # Choose a lightweight base image language: c addons: apt: packages: npm before_install: # - ./.travis/install-dependencies/cpp-install-dependencies.sh # - ./.travis/install-dependencies/haskell-install-dependencies.sh # - ./.travis/install-dependencies/java-install-dep...
53b8a9d4-ad06-415d-8bd4-5203ba9a01be
{ "language": "YAML" }
```yaml language: php sudo: true dist: trusty php: - 7.1.0 - 7.0 install: - sudo apt-get -qq update - sudo apt-get install -y asciidoc libarchive-dev curl libgpgme11-dev - curl -O https://sources.archlinux.org/other/pacman/pacman-5.0.1.tar.gz - tar -xzvf pacman-5.0.1.tar.gz - cd pacman-5....
```yaml language: php sudo: true dist: trusty php: - 7.1 - 7.0 - 5.6 - 5.5 - 5.4 - 5.3 install: - sudo apt-get -qq update - sudo apt-get install -y asciidoc libarchive-dev curl libgpgme11-dev - curl -O https://sources.archlinux.org/other/pacman/pacman-5.0.1.tar.gz - tar -xzvf ...
73ca861a-3f84-4729-8a49-308969f12e68
{ "language": "YAML" }
```yaml language: node_js node_js: - 0.8 before_install: "npm install -g bob" script: "bob build" ``` Add 0.10 and 0.11 to CI run.
```yaml language: node_js node_js: - "0.11" - "0.10" - 0.8 before_install: "npm install -g bob" script: "bob build" ```
3ed2cb8a-9e56-4f9a-ae2e-62053696e7ea
{ "language": "YAML" }
```yaml # Make sure we run in the docker container sudo: false language: c dist: trusty addons: apt: packages: # Libraries needed to build cross compiler - libgmp-dev - libmpfr-dev - python-virtualenv - libclang1-3.4 - clang - y...
```yaml # Make sure we run in the docker container sudo: false language: c dist: trusty addons: apt: packages: # Libraries needed to build cross compiler - libgmp-dev - libmpfr-dev - python-virtualenv - libclang1-3.4 - clang - y...
5c9934ae-e6da-45d3-9bf0-c5df773d98f6
{ "language": "YAML" }
```yaml env: global: - secure: "W3PaYhPnJFCaG6TW5Xc0wtggdEqcreTQcHThmIo5Eqs/jUL2toiUiv3ZWlhzR3tkphLvt2KeaQe83BR6RTifYjSmnmAePj0Gw5res1AXzN95OsKEk3nMiTZbVP+PuTTbQZJga8B31nRUBiAMQ6FsNlpGq7E8sp9N65lnR3mGHAE=" - PIP_DOC_DEPENDENCIES="six sphinx sphinx_bootstrap_theme jsonschema pyyaml mistune" - ASDF_MASTER="...
```yaml env: global: - secure: "W3PaYhPnJFCaG6TW5Xc0wtggdEqcreTQcHThmIo5Eqs/jUL2toiUiv3ZWlhzR3tkphLvt2KeaQe83BR6RTifYjSmnmAePj0Gw5res1AXzN95OsKEk3nMiTZbVP+PuTTbQZJga8B31nRUBiAMQ6FsNlpGq7E8sp9N65lnR3mGHAE=" - PIP_DOC_DEPENDENCIES="six sphinx sphinx_bootstrap_theme jsonschema pyyaml mistune" - ASDF_MASTER="...
8649fc16-3606-44dd-98c1-9c234d599efb
{ "language": "YAML" }
```yaml dist: trusty os: linux language: cpp install: sudo apt-get install libboost-all-dev libdb++-dev libminiupnpc-dev libqrencode-dev libssl-dev script: qmake bunnycoin-qt.pro USE_QRCODE=1 USE_UPNP=1 && make notifications: slack: $SLACK_WORKSPACE:$SLACK_KEY ``` Use encrypted key for Travis-Slack integration
```yaml dist: trusty os: linux language: cpp install: sudo apt-get install libboost-all-dev libdb++-dev libminiupnpc-dev libqrencode-dev libssl-dev script: qmake bunnycoin-qt.pro USE_QRCODE=1 USE_UPNP=1 && make notifications: slack: rooms: secure: kicq+PakRDw1En6D+PF5EEggzAEWCgANmrEmOfpWXwWtpXaFwL/2C7NuY1...
16045a47-0dbf-4b40-a87a-3d5d114cb189
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 ``` Add fixes for running in Travis
```yaml language: java # copy from wix-embedded-mysql project before_install: # os x - workaround for JAVA_HOME not set and mvn missing # - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi # linux - installing libaio1 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get updat...
df3b83f1-88a5-4fa5-a1d5-f5e7e21fc09d
{ "language": "YAML" }
```yaml language: ruby os: - osx osx_image: xcode8.3 rvm: - 2.4.1 - 2.3.5 - 2.2.8 - 2.1.10 branches: except: - gh-pages - /\/v\d/ script: - gem install bundler - bundle exec rake travis:build notifications: slack: secure: Ksji5MDNOWnuzuyu9Hblbxse6kGLdH4kXyYkF98C+wawIGLSONWWkuA65wpdqSLtBN/79RCLMWoBzKAGX4xy9B...
```yaml language: ruby os: - osx osx_image: xcode8.3 rvm: - 2.5.0 - 2.4.3 - 2.3.6 - 2.2.9 - 2.1.10 branches: except: - gh-pages - /\/v\d/ script: - gem install bundler - bundle exec rake travis:build notifications: slack: secure: Ksji5MDNOWnuzuyu9Hblbxse6kGLdH4kXyYkF98C+wawIGLSONWWkuA65wpdqSLtBN/79RCLMWoBzK...
4c16bdbf-f129-4e73-b377-f16b892f939a
{ "language": "YAML" }
```yaml # Use macOS with XCode 10 os: osx osx_image: xcode10 # Use Node 10.x and yarn language: node_js node_js: - "10" cache: yarn install: # Set up RVM, RubyGems, Bundler # - rvm install 2.6.3 # Use 2.4.3, the most recent preinstalled on Travis # (also no longer receiving bug fixes, only security updates). ...
```yaml # Use macOS with XCode 10 os: osx osx_image: xcode10 # Use Node 10.x and yarn language: node_js node_js: - "10" cache: yarn install: # Set up RVM, RubyGems, Bundler # - rvm install 2.6.3 # Use 2.4.3, the most recent preinstalled on Travis # (also no longer receiving bug fixes, only security updates). ...
152d2640-f60e-4695-a96f-17670ef7408f
{ "language": "YAML" }
```yaml language: node_js addons: firefox: latest node_js: - "8" before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 script: - npm run test env: global: - FIREFOX_BINARY: firefox matrix: include: - script: npm run test env: global: - FIREFOX_B...
```yaml language: node_js addons: firefox: latest node_js: - "8" before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 - npm i -g npm@6 script: - npm run test env: global: - FIREFOX_BINARY: firefox matrix: include: - script: npm run test env: global: ...
c17ff6f1-01af-4acf-b521-6f37c183cff7
{ "language": "YAML" }
```yaml sudo: required services: - docker before_install: - docker build -t zosconnectforswift . - docker run zosconenctforswift /bin/sh -c "swift test" script: - swift test ``` Correct typo in docker run command
```yaml sudo: required services: - docker before_install: - docker build -t zosconnectforswift . - docker run zosconnectforswift /bin/sh -c "swift test" script: - swift test ```
cbe4c2e6-5adb-41f8-bc3b-247516a74bdf
{ "language": "YAML" }
```yaml go: 1.6 language: go addons: postgresql: "9.4" install: - sudo apt-get install python-dev python-virtualenv - go get github.com/mozilla-services/autograph - psql -c "CREATE DATABASE dbname ENCODING 'UTF8' TEMPLATE template0;" -U postgres - psql -c "CREATE USER admin WITH PASSWORD 'pass';" -U p...
```yaml go: 1.6 language: go addons: postgresql: "9.4" install: - sudo apt-get install python-dev python-virtualenv - go get github.com/mozilla-services/autograph - psql -c "CREATE DATABASE dbname ENCODING 'UTF8' TEMPLATE template0;" -U postgres - psql -c "CREATE USER admin WITH PASSWORD 'pass';" -U p...
8a19fb63-2814-4555-b451-3603e5a62739
{ "language": "YAML" }
```yaml language: node_js node_js: - 8 before_install: - "npm install react@16.4.1 react-dom@16.4.1 styled-components@3.4.10" ``` Update to styled components 4
```yaml language: node_js node_js: - 8 before_install: - "npm install react@16.4.1 react-dom@16.4.1 styled-components@4.1.3" ```
c6c1a3cd-1b76-4d28-9b83-9a9ab124c54b
{ "language": "YAML" }
```yaml language: python python: - "2.7" install: - pip install codecov script: - python setup.py install - coverage run tests/test.py after_success: - codecov --token $CODECOV_TOKEN ``` Automate pypi deployment for new tags
```yaml language: python python: - "2.7" install: - pip install codecov script: - python setup.py install - coverage run tests/test.py after_success: - codecov --token $CODECOV_TOKEN deploy: provider: pypi user: dpmcmlxxvi password: secure: UZ3ZOSFFpcmTfMnoFYh/KUIeQLGxvZpGH07sCBiblHfUtECpiq7FJ00Gvyj...
644c2d46-671c-4fa7-8c86-c051041128fc
{ "language": "YAML" }
```yaml rvm: - 1.9.3 - 2.0.0 before_script: - bundle exec berks install script: - bundle exec foodcritic -f any . - bundle exec rspec --color --format progress ``` Add ruby 2.1 as well as 2.0 and 1.9.3
```yaml rvm: - 1.9.3 - 2.0 - 2.1 before_script: - bundle exec berks install script: - bundle exec foodcritic -f any . - bundle exec rspec --color --format progress ```
bbea1920-d1c6-4da4-b256-1d3729a902fd
{ "language": "YAML" }
```yaml language: objective-c xcode_project: ProgressView.xcworkspace xcode_scheme: ProgressViewTests before_install: - gem install cocoapods - cd Example\ Project``` Fix incorrect xcode_project and xcode_scheme in Travis config
```yaml language: objective-c xcode_project: PWProgressView.xcworkspace xcode_scheme: PWProgressViewTests before_install: - gem install cocoapods - cd Example\ Project```
d5af2245-4f44-4c33-a053-dccfc4847789
{ "language": "YAML" }
```yaml sudo: false cache: directories: - node_modules services: - mongodb node_js: - "8" before_script: - npm prune - mongo test --eval 'db.createUser({user:"admin",pwd:"admin",roles:["readWrite"]});' - npm run build notifications: disabled: true install: - npm install -g codecov - npm in...
```yaml sudo: false cache: directories: - node_modules services: - mongodb node_js: - "8" - "9" before_script: - npm prune - mongo test --eval 'db.createUser({user:"admin",pwd:"admin",roles:["readWrite"]});' - npm run build notifications: disabled: true install: - npm install -g codecov ...
c533722d-d9f7-484d-b527-84ff36c714d0
{ "language": "YAML" }
```yaml language: python python: # We don't actually use the Travis Python, but this keeps it organized. - "2.6" - "2.7" - "3.3" - "3.4" install: - sudo apt-get update # You may want to periodically update this, although the conda update # conda line below will keep everything up-to-date. We do this ...
```yaml language: python python: # We don't actually use the Travis Python, but this keeps it organized. - "2.6" - "2.7" - "3.3" - "3.4" install: - sudo apt-get update # You may want to periodically update this, although the conda update # conda line below will keep everything up-to-date. We do this ...
8d0b8612-38da-4176-b81d-4d02427b9049
{ "language": "YAML" }
```yaml language: php php: - 7.1 - 7.2 - 7.3 - nightly sudo: false matrix: fast_finish: true include: - php: 7.1 env: COMPOSER_FLAGS="--prefer-lowest" - php: 7.3 env: SYMFONY_VERSION=^3.4 - php: 7.3 env: SYMFONY_VERSION=^4.0 allow_failures: - php: nightly cache: dir...
```yaml language: php php: - 7.1 - 7.2 - 7.3 - 7.4snapshot sudo: false matrix: fast_finish: true include: - php: 7.1 env: COMPOSER_FLAGS="--prefer-lowest" - php: 7.3 env: SYMFONY_VERSION=^3.4 - php: 7.3 env: SYMFONY_VERSION=^4.0 allow_failures: - php: 7.4snapshot cach...
ee5f43b6-3207-479f-b1ca-626afe0657bc
{ "language": "YAML" }
```yaml language: node_js node_js: - "8" cache: yarn: true directories: - "node_modules" script: - yarn test ``` Test Travis CI with no cache
```yaml language: node_js node_js: - "8" script: - yarn test ```
9eda4557-c8c8-41d8-9c20-f3b43743466b
{ "language": "YAML" }
```yaml # R for travis # https://docs.travis-ci.com/user/languages/r language: r sudo: false cache: packages warnings_are_errors: false # Temporarily enable when caching Bioconductor packages # script: true r: - bioc-release # - bioc-devel r_packages: - covr - rlang after_success: - Rscript -e 'covr::code...
```yaml # R for travis # https://docs.travis-ci.com/user/languages/r language: r sudo: false cache: packages warnings_are_errors: false # Temporarily enable when caching Bioconductor packages # script: true r: - bioc-release # - bioc-devel r_packages: - covr - DT - formatR - hexbin - rlang - testthat...
da26d79e-85ab-4d17-b2f4-df208694132a
{ "language": "YAML" }
```yaml # https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options bundler_args: --without development script: "bundle exec rspec spec" rvm: - 1.8.7 - 1.8.7-p249 - 1.9.2 - rbx-2.0 - ree - ruby-head notifications: recipients: - jakub@rabbitmq.com - michaelklishin@me.com - markizko@gmail....
```yaml # https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options bundler_args: --without development script: "bundle exec rspec spec" rvm: - 1.8.7 - 1.8.7-p249 - 1.9.2 - jruby - rbx-2.0 - ree - ruby-head notifications: recipients: - jakub@rabbitmq.com - michaelklishin@me.com - marki...
a2e65a65-18db-40c3-a7eb-4cd209bddd7f
{ "language": "YAML" }
```yaml language: c env: - PG=9.4 - PG=9.3 - PG=9.2 install: - sudo /etc/init.d/postgresql stop - sudo apt-get update -o Dir::Etc::sourcelist=/dev/null - sudo apt-get install postgresql-$PG postgresql-server-dev-$PG - sudo /etc/init.d/postgresql start $PG script: - psql postgres -xA -c '...
```yaml language: c env: - PG=9.5 - PG=9.4 - PG=9.3 - PG=9.2 install: - PGPORT=5440 - sudo /etc/init.d/postgresql stop - sudo apt-get update -o Dir::Etc::sourcelist=/dev/null - sudo apt-get install postgresql-$PG postgresql-server-dev-$PG - sudo pg_createcluster -p $PGPORT $PG test ...
d80f577a-d02d-474c-86c1-6f8874cea036
{ "language": "YAML" }
```yaml language: node_js node_js: - '6' - '8' - '10' script: 'npm run ci' after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js' ``` Drop node.js 6 support, add 12
```yaml language: node_js node_js: - '8' - '10' - '12' script: 'npm run ci' after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js' ```
2b7bb0b3-3841-4ffb-964a-19ebe033fb1b
{ "language": "YAML" }
```yaml language: python python: - "3.3" install: - "sudo apt-get install python3-sphinx" - "pip install -r .travis-requirements.txt" script: - "pep8 --ignore E501 i3pystatus tests" - "PYTHONPATH=. py.test" # run unit tests - "python setup.py install" # test install - "sphinx-build -W docs html"...
```yaml language: python python: - "3.3" install: - "sudo apt-get install -qq python3-sphinx" - "pip3 install -r .travis-requirements.txt" script: - "pep8 --ignore E501 i3pystatus tests" - "PYTHONPATH=. py.test" # run unit tests - "python setup.py -q install" # test install - "sphinx-build -W do...
04385485-dbad-460a-9f7e-a5da9265b5f1
{ "language": "YAML" }
```yaml language: go go: 1.1 install: - export PATH=$PATH:$HOME/gopath/bin # Annoyingly, we can not use go get revel/... because references to app/routes package fail - go get -v github.com/robfig/revel/revel - go get -v github.com/robfig/revel/harness - go get -v github.com/coopernurse/gorp - go get -v cod...
```yaml language: go go: 1.1 install: - export PATH=$PATH:$HOME/gopath/bin # Annoyingly, we can not use go get revel/... because references to app/routes package fail - go get -v github.com/robfig/revel/revel - go get -v github.com/robfig/revel/harness - go get -v github.com/coopernurse/gorp - go get -v cod...
820fc4dc-0383-442c-a0d0-ba83aa482b46
{ "language": "YAML" }
```yaml language: python python: - "2.7.3" - "2.7" install: - "pip install ." script: - "python setup.py flake8" - "pytest -s" ``` Change minimal python version to test (2.7.11)
```yaml language: python python: - "2.7.11" - "2.7" install: - "pip install ." script: - "python setup.py flake8" - "pytest -s" ```
f991cd91-d0bd-4244-b912-e56a146c088a
{ "language": "YAML" }
```yaml language: node_js node_js: - '0.10' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm install - npm instal...
```yaml sudo: false language: node_js node_js: - '0.10' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm install ...
8bd2cbb2-723e-4054-b96c-e737fba3cbda
{ "language": "YAML" }
```yaml # vim ft=yaml # https://travis-ci.org/leeclemens/imageroller language: python python: - 3.4 - 3.5 install: # Install Python packages / dependencies # coverage - travis_retry pip install coverage # coveralls - travis_retry pip install coveralls # pylint - travis_retry pip install pyli...
```yaml # vim ft=yaml # https://travis-ci.org/leeclemens/imageroller language: python python: - 3.4 - 3.5 install: # Install Python packages / dependencies # coverage - travis_retry pip install coverage # coveralls - travis_retry pip install coveralls # pylint - travis_retry pip install pyli...
9d6bf6b6-9e0d-42ee-a83b-62273780715e
{ "language": "YAML" }
```yaml language: node_js node_js: - '0.11' - '0.10' before_install: - openssl aes-256-cbc -K $encrypted_450e4adece3f_key -iv $encrypted_450e4adece3f_iv -in .travis/deploy_key.enc -out .travis/deploy_key -d script: - ./node_modules/.bin/gulp build after_success: - chmod 600 .travis/deploy_key - ssh-add .trav...
```yaml language: node_js node_js: - '0.11' before_install: - openssl aes-256-cbc -K $encrypted_450e4adece3f_key -iv $encrypted_450e4adece3f_iv -in .travis/deploy_key.enc -out .travis/deploy_key -d script: - ./node_modules/.bin/gulp build after_success: - chmod 600 .travis/deploy_key - ssh-add .travis/deploy...
0cc64592-3aaa-4cd4-aed6-6d79275d31cb
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "2.6" install: pip install --use-mirrors script: - python setup.py test ``` Remove the Travis build for Python 2.6
```yaml language: python python: - "2.7" install: pip install --use-mirrors script: - python setup.py test ```
5a6a50eb-55d7-4f83-a8dc-1d95d726b63f
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.6 - 2.2.2 cache: bundle before_script: bin/rake db script: bin/rake test addons: codeclimate: repo_token: secure: CxFMGcOhwkzowVZyys4fxSlsahNTNR6eBnRJmXqOhzjZwOoB7z0j3wfvIv8lDkKl03ayFUmToH147M4euh6RTbyCiFa9ti/bcVglWHaTDn6Qh5Ow6FWSJ76tIPAXpDaipn+ns8PQ...
```yaml language: ruby rvm: - 2.0.0 - 2.1.6 - 2.2.2 cache: bundle before_script: bin/rake db script: bin/rake test addons: codeclimate: repo_token: secure: CxFMGcOhwkzowVZyys4fxSlsahNTNR6eBnRJmXqOhzjZwOoB7z0j3wfvIv8lDkKl03ayFUmToH147M4euh6RTbyCiFa9ti/bcVglWHaTDn6Qh5Ow6FWSJ76tIPAXpDaipn+ns8PQpsvrBISu6p...
3d5fe9f9-e771-4a33-b873-a58c0a2b253b
{ "language": "YAML" }
```yaml language: objective-c matrix: include: - osx_image: xcode7.3 - osx_image: xcode8 - osx_image: xcode8.1 script: - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-iOS -sdk iphonesimulator -destination \"platform=iOS Simulator,name=iPhone 6\" test" - "xcodebuild -workspace Guanaco.xc...
```yaml language: objective-c osx_image: xcode8.1 script: - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-iOS -sdk iphonesimulator -destination \"platform=iOS Simulator,name=iPhone 6\" test" - "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-OSX test" ```
bc025b1e-a5ec-4581-829f-8c1b6a1067f6
{ "language": "YAML" }
```yaml language: go go: - 1.6 - tip before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update -qq - sudo apt-get install gcc-6 g++-6 libsnappy-dev zlib1g-dev libbz2-dev -qq - export CXX="g++-6" CC="gcc-6" - wget https://launchpad.net/ubuntu/+archive/primary/+files/l...
```yaml language: go go: - 1.7 - tip before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update -qq - sudo apt-get install gcc-6 g++-6 libsnappy-dev zlib1g-dev libbz2-dev -qq - export CXX="g++-6" CC="gcc-6" - wget https://launchpad.net/ubuntu/+archive/primary/+files/l...
785b3c28-eca7-41d6-91be-9caea45d67c6
{ "language": "YAML" }
```yaml --- # https://docs.travis-ci.com/user/multi-os/ matrix: include: - os: osx language: generic script: - ansible-playbook playbooks/buildenv.yml -i tests/inventory -l localhost -vvvv - bundle exec rake spec SPEC_TARGET=localhost - os: linux dist: trusty language: ...
```yaml --- # https://docs.travis-ci.com/user/multi-os/ matrix: include: - os: osx language: generic script: - ansible-playbook playbooks/buildenv.yml -i tests/inventory -l localhost -vvvv - bundle exec rake spec SPEC_TARGET=localhost - os: linux dist: trusty language: ...
dd221d7a-b0d6-4f22-9988-79a8578752a2
{ "language": "YAML" }
```yaml sudo: true language: android jdk: oraclejdk8 android: components: - tools - tools - platform-tools - build-tools-26.0.0 - android-26 - android-22 - sys-img-armeabi-v7a-android-22 before_script: - echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a - emu...
```yaml sudo: true language: android jdk: oraclejdk8 android: components: - tools - tools - platform-tools - build-tools-28.0.2 - android-28 - android-22 - sys-img-armeabi-v7a-android-22 before_script: - echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a - emu...
3a3a6dcd-5b57-426a-b0ea-8e5434db5ecf
{ "language": "YAML" }
```yaml # Copyright 2020 SkyWater PDK Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
```yaml # Copyright 2020 SkyWater PDK Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
5754909d-729a-4d83-8c22-2d8190f7d7a3
{ "language": "YAML" }
```yaml language: java matrix: include: - os: linux dist: precise jdk: oraclejdk7 env: TEST_SUITE=assemble test --tests '*SystemdJournalAppenderTest*' - os: linux jdk: oraclejdk8 env: TEST_SUITE=build - os: linux jdk: openjdk8 env: TEST_SUITE=build - os: linu...
```yaml language: java matrix: include: - os: linux dist: precise jdk: oraclejdk7 env: TEST_SUITE=assemble test --tests '*SystemdJournalAppenderTest*' - os: linux jdk: oraclejdk8 env: TEST_SUITE=build - os: linux jdk: openjdk8 env: TEST_SUITE=build - os: linu...
469fae21-c415-49c3-8784-483f0317ec93
{ "language": "YAML" }
```yaml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake spec" rvm: - 1.9.3 - 2.0.0 - jruby-19mode - jruby-head - rbx-19mode - ruby-head matrix: allow_failures: - rvm: ruby-head notifications: email: - piotr.solnica@gmail....
```yaml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake spec" rvm: - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode - ruby-head matrix: allow_failures: - rvm: ruby-head notifications: email: - piotr.solnica@gmail.com - dan.k...
a4cf9f5b-9b42-4f95-bb87-a58224b0feba
{ "language": "YAML" }
```yaml dist: xenial language: python sudo: false git: depth: 1 python: - 2.7 - 3.7 - pypy2.7-6.0 - pypy3.5-6.0 env: - secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0=" install: - ...
```yaml dist: bionic language: python sudo: false git: depth: 1 python: - 3.7 - 3.8 - pypy3.5-6.0 env: - secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0=" install: - echo $TRAVIS_P...
900b7dd5-84ef-4aca-9d06-1b485e8e7b23
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 services: postgresql before_script: - psql -c 'create database pgwrapper_test' -U postgres -h 127.0.0.1 - cp tests/config.php.travis tests/config.php install: composer install script: vendor/bin/phpunit --configuration tests/phpunit.xml ``` Test on...
```yaml language: php php: - 7.2 - 7.3 - 7.4snapshot matrix: fast_finish: true allow_failures: - php: 7.4snapshot services: postgresql before_script: - psql -c 'create database pgwrapper_test' -U postgres -h 127.0.0.1 - cp tests/config.php.travis tests/config.php install: composer install script: ve...
aa1de54c-872d-4e9f-b4a4-93015bf81ff6
{ "language": "YAML" }
```yaml language: ruby rvm: - "2.1.0" - "2.0.0" - "1.9.3" - jruby-19mode gemfile: - ".gemfiles/Gemfile.rails-3.2.x" - ".gemfiles/Gemfile.rails-4.0.x" matrix: include: - rvm: "1.8.7" gemfile: ".gemfiles/Gemfile.rails-3.2.x" - rvm: jruby-18mode gemfile: ".gemfiles/Gemfile.rails-3.2.x"...
```yaml language: ruby rvm: - "2.1.0" - "2.0.0" gemfile: - ".gemfiles/Gemfile.rails-3.2.x" - ".gemfiles/Gemfile.rails-4.0.x" ```
4382bf8e-1f46-4eed-8bdf-4a03a539b506
{ "language": "YAML" }
```yaml language: smalltalk sudo: false # Select operating system(s) os: - linux - osx # Select compatible Smalltalk image(s) smalltalk: - Squeak-trunk - Squeak-5.0 - Squeak-4.6 - Squeak-4.5 ``` Adjust .trayis.yml to test on trunk and 5.1 only
```yaml language: smalltalk sudo: false # Select operating system(s) os: - linux - osx # Select compatible Smalltalk image(s) smalltalk: - Squeak-trunk - Squeak-5.1 ```
9647acb0-e355-409d-a570-4e6b7642f5be
{ "language": "YAML" }
```yaml language: go go: - 1.4 - 1.5 - 1.6 install: - go get golang.org/x/tools/cmd/vet - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover - go get github.com/golang/lint/golint - go get github.com/pierrre/gotestcover - go get -t ./... script: - go vet -x ./xerror - golin...
```yaml language: go go: - 1.5 - 1.6 install: - go get golang.org/x/tools/cmd/vet - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover - go get github.com/golang/lint/golint - go get github.com/pierrre/gotestcover - go get -t ./... script: - go vet -x ./xerror - golint ./xerr...
6e529423-90d7-4937-a682-769f73ae10e9
{ "language": "YAML" }
```yaml language: cpp compiler: - gcc before_install: - sudo add-apt-repository ppa:kalakris/cmake -y - sudo apt-get update -qq - sudo apt-get install -y cmake - sudo apt-get install -y libqt4-dev libdcmtk2-dev libinsighttoolkit3-dev libgdcm2-dev - sudo apt-get install -y xpra xserver-xorg-video-dummy be...
```yaml language: cpp compiler: - gcc before_install: - sudo add-apt-repository ppa:kalakris/cmake -y - sudo apt-get update -qq - sudo apt-get install -y cmake - sudo apt-get install -y libqt4-dev libdcmtk2-dev libinsighttoolkit3-dev libgdcm2-dev - sudo apt-get install -y xpra xserver-xorg-video-dummy be...
f6c36017-b872-4870-9083-4c090c87e65f
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.4" before_install: - sudo apt-get update -qq install: - sudo apt-get install -y python-opencv - pip install -r requirements.txt script: - python setup.py build virtualenv: system_site_packages: true ``` Build with Python 3.2 not 3.4.
```yaml language: python python: - "2.7" - "3.2" before_install: - sudo apt-get update -qq install: - sudo apt-get install -y python-opencv - pip install -r requirements.txt script: - python setup.py build virtualenv: system_site_packages: true ```
f27e4bad-7136-4aa1-9723-76e5b83f86a8
{ "language": "YAML" }
```yaml language: ruby cache: bundler rvm: - 2.0.0 - 2.1.0 - 2.1.1 - rbx-2 - ruby-head matrix: include: - rvm: jruby-19mode env: JRUBY_OPTS="$JRUBY_OPTS --debug" - rvm: jruby-head env: JRUBY_OPTS="$JRUBY_OPTS --debug" allow_failures: - rvm: ruby-head - rvm: jruby-head fast_fi...
```yaml language: ruby cache: bundler rvm: - 2.0.0 - 2.1.0 - rbx-2 - ruby-head matrix: include: - rvm: jruby env: JRUBY_OPTS="--2.0 --debug" - rvm: jruby-head env: JRUBY_OPTS="--2.1 --debug" - rvm: jruby-head env: JRUBY_OPTS="--debug" allow_failures: - rvm: ruby-head - ...
fc23b4d3-d134-4f38-b00d-e951fb01dd4b
{ "language": "YAML" }
```yaml language: node_js node_js: - "6" services: - postgresql before_script: - npm install -g sequelize-cli - psql -c 'create database postitdbtests;' -U postgres script: - npm install - npm run test - npm run coverage after_success: - npm run coveralls``` Add settings to fix build error
```yaml language: node_js node_js: - "6" services: - postgresql before_script: - npm install -g sequelize-cli - psql -c 'create database postitdbtests;' -U postgres script: - npm install - npm run test - npm run coverage after_success: - npm run coveralls addons: apt: sources: - ubuntu-to...
7bf1c089-c8bb-481b-aaad-ed3d1199cc92
{ "language": "YAML" }
```yaml --- language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 gemfile: - gemfiles/Gemfile.rails-3.2 - gemfiles/Gemfile.rails-4.0 - gemfiles/Gemfile.rails-4.1 - gemfiles/Gemfile.rails-5.0 ``` Add ruby 2.3.0 to build matrix
```yaml --- language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 - 2.3.0 gemfile: - gemfiles/Gemfile.rails-3.2 - gemfiles/Gemfile.rails-4.0 - gemfiles/Gemfile.rails-4.1 - gemfiles/Gemfile.rails-5.0 ```
03fbd368-2174-4ea5-8ee7-cbde5afbed02
{ "language": "YAML" }
```yaml language: node_js node_js: - 0.10 - 0.12 script: npm test notifications: email: recipients: - ypt-team@yahoo-inc.com on_success: change on_failure: always env: global: - secure: dtJpzQPi6/UYsySz8cUIxja7JiiEvDhtKkKpSZa3skB1Es1NNo/tYmVHZyw4MkLpdvXuJx0020dR5ao7...
```yaml language: node_js node_js: - 0.10 - 0.12 - 4.2 - 5 script: npm test notifications: email: recipients: - ypt-team@yahoo-inc.com on_success: change on_failure: always env: global: - secure: dtJpzQPi6/UYsySz8cUIxja7JiiEvDhtKkKpSZa3skB1Es1NNo/tYmVHZyw4Mk...
b0c6fe2d-bdc9-4557-a902-75f3bfe79fff
{ "language": "YAML" }
```yaml dist: trusty sudo: false group: beta language: node_js node_js: - node addons: firefox: '49.0.2' cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; ...
```yaml dist: trusty sudo: false group: beta language: node_js node_js: - node addons: firefox: latest-esr cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]...
79476bb7-2015-4e86-ba09-70deabd6ce06
{ "language": "YAML" }
```yaml language: generic env: - TARGET=script_test - TARGET=travis_test script: "make $TARGET" notifications: email: false services: - docker ``` Fix a mistake in CI Script
```yaml language: generic env: - TARGET=test - TARGET=travis_test script: "make $TARGET" notifications: email: false services: - docker ```
251210d6-9238-41ef-b7eb-4e00428ddfe7
{ "language": "YAML" }
```yaml language: go go: - 1.6.x - 1.7.x - 1.8.x - 1.9.x - tip gobuild_args: -tags no_pkg_config dist: xenial addons: apt: packages: - bison - flex - automake - autoconf - libtool - make - gcc before_install: - wget --no-verbose -O- https://github.com/VirusTotal/yara/archive/v3....
```yaml language: go go: - 1.6.x - 1.7.x - 1.8.x - 1.9.x - 1.10.x - tip gobuild_args: -tags no_pkg_config dist: xenial addons: apt: packages: - bison - flex - automake - autoconf - libtool - make - gcc before_install: - wget --no-verbose -O- https://github.com/VirusTotal/yara/a...
756bc0c1-86ae-4e4b-a147-c5b18ad07589
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls ``` Test with latest Node.js 5 on Travis CI.
```yaml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls ```
be441511-761e-4369-aea7-07113b9b709f
{ "language": "YAML" }
```yaml before_install: - gem install bundler language: ruby rvm: - 2.3 - 2.4 - 2.5 ``` Add recent Rubies to Travis matrix
```yaml before_install: - gem install bundler language: ruby rvm: - 2.3 - 2.4 - 2.5 - 2.6 - 2.7 ```
2ffe05a7-ce09-4e56-a37a-936548457b5f
{ "language": "YAML" }
```yaml sudo: false language: node_js before_install: - npm install npm -g node_js: - "4" - "5" - "6" - "7" env: - TEST_SUITE=test script: npm run-script $TEST_SUITE ``` Fix Travis by removing v4 and v5
```yaml sudo: false language: node_js before_install: - npm install npm -g node_js: - "lts/*" - "9" - "10" env: - TEST_SUITE=test script: npm run-script $TEST_SUITE ```
6f6fa3d3-8481-4bd8-8c4d-88f115758bd6
{ "language": "YAML" }
```yaml language: php php: - 5.2 - 5.3 - 5.4 - hhvm script: phpunit tests ``` Add PHP 5.5 to Travis
```yaml language: php php: - 5.2 - 5.3 - 5.4 - 5.5 - hhvm script: phpunit tests ```
8af51b30-5c79-43a2-b061-bb2853555e32
{ "language": "YAML" }
```yaml sudo: true dist: trusty cache: false env: - URL=https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz before_install: - openssl aes-256-cbc -K $encrypted_bc21448d0b37_key -iv $encrypted_bc21448d0b37_iv -in assets/server.key.enc -out assets/server.key -d - export SFDX_AUTOUPDATE_DISABLE...
```yaml sudo: true dist: trusty cache: false addons: apt: sources: - google-chrome packages: - google-chrome-stable env: - URL=https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz before_install: - openssl aes-256-cbc -K $encrypted_bc21448d0b37_key -iv $encrypted_bc21448d0...
76340de9-7a2c-488a-ae8a-581323929b7b
{ "language": "YAML" }
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode7.3 language: objective-c # cache: cocoapods # podfile: XCFitDemo/Podfile # before_install: # - gem install cocoapods # - pod install --project-directory=XCFitDemo script: - cd XCFit...
```yaml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode7.3 language: objective-c # cache: cocoapods # podfile: XCFitDemo/Podfile # before_install: # - gem install cocoapods # - pod install --project-directory=XCFitDemo script: - cd XCFit...
46555412-51f0-485f-b8a3-a3d275a13a5a
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.4" - "3.5" before_script: - pip install codecov # command to install dependencies install: - pip install --upgrade pip - pip install requests - pip install nose-parameterized - pip install -r requirements.txt # command to run tests script: nosetests --w...
```yaml language: python python: - "2.7" - "3.4" - "3.5" env: - PANDAS_VERSION=0.17.1 - PANDAS_VERSION=0.18.1 - PANDAS_VERSION=0.19.1 before_script: - pip install codecov - pip install nose-parameterized # command to install dependencies install: - pip install --upgrade pip - pip install requests...
28450af5-59ff-41e8-a29a-cd73cc0ee35a
{ "language": "YAML" }
```yaml language: node_js node_js: - "6.1"``` Add codecov.io code coverage hook
```yaml language: node_js node_js: - "6.1" after_success: - bash <(curl -s https://codecov.io/bash)```
36d02e58-c0b8-4ec4-850d-506e8c72c7f6
{ "language": "YAML" }
```yaml language: php php: - 5.5 - 5.4 - hhvm install: - composer install script: phpunit ``` Update Travis settings file. Add composer.json file for install.
```yaml language: php php: - 5.5 - 5.4 - hhvm install: - echo "{'require': {'psr/log': '~1.0', 'monolog/monolog': '1.9.1'}}" > composer.json - composer install script: phpunit ```
78b4c530-9ee0-461d-8dde-2fb8e2f73e55
{ "language": "YAML" }
```yaml language: php php: - 5.6 - 7.0 install: - composer update``` Add the PHP test version
```yaml language: php php: - 5.6 - 7.0 - 7.1 install: - composer update ```
635f7c65-aad2-4e5a-9c03-283a0dfb5582
{ "language": "YAML" }
```yaml rvm: - 1.8.7 - 1.9.3 - jruby-19mode - rbx-19mode language: ruby before_script: - "rake servers:jasig:prep" - "bundle exec rake servers:jasig:start &" - "bundle exec rake servers:callback:start &" ``` Revert "Travis workers are using 1.8.25 now."
```yaml rvm: - 1.8.7 - 1.9.3 - jruby-19mode - rbx-19mode language: ruby before_install: - "gem update --system" before_script: - "rake servers:jasig:prep" - "bundle exec rake servers:jasig:start &" - "bundle exec rake servers:callback:start &" ```
987bc3a1-01c1-45d7-8ca0-3b8ef354d6dd
{ "language": "YAML" }
```yaml language: java jdk: - openjdk8 - openjdk7 notifications: webhooks: urls: - https://webhooks.gitter.im/e/5ce63b0ed77e8bf5dc74 on_success: change on_failure: always on_start: false email: on_success: change on_failure: always ``` Remove Java 7 as CI target
```yaml language: java jdk: - openjdk8 notifications: webhooks: urls: - https://webhooks.gitter.im/e/5ce63b0ed77e8bf5dc74 on_success: change on_failure: always on_start: false email: on_success: change on_failure: always ```
39192144-8e2c-4390-861a-7ed5eb267c67
{ "language": "YAML" }
```yaml language: bash sudo: required os: - linux script: - sudo ./install.sh addons: apt: packages: - puppet ``` Use a more modern ruby.
```yaml language: ruby rvm: - 2.1.0 sudo: required os: - linux script: - sudo ./install.sh addons: apt: packages: - puppet ```
aa31eb42-37ac-43e9-a093-252b4e2a35d9
{ "language": "YAML" }
```yaml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - tip script: - go test ./... -bench .``` Test only with latest version of Go
```yaml language: go go: - tip script: - go test ./... -bench . ```
71524b41-efb9-47c1-84f8-7327b27582a1
{ "language": "YAML" }
```yaml dist: trusty language: go go: - "1.10.x" - master os: - linux - osx install: - go get -t ./... script: - make test ``` Revert "maybe the problem is xenial?"
```yaml language: go go: - "1.9.x" - "1.10.x" - "1.13.x" - master os: - linux - osx install: - go get -t ./... script: - make test ```
550ee9bf-cb45-4b75-bed5-5723aa68ec28
{ "language": "YAML" }
```yaml language: python sudo: false python: - "3.4" - "3.3" - "2.7" env: - DJANGO_VERSION=1.7.10 - DJANGO_VERSION=1.8.4 install: - pip install coverage>=4.0 - pip install flake8 - pip install -q Django==$DJANGO_VERSION script: - coverage run setup.py test - coverage report -m - flake8 soapbox ``` Update D...
```yaml language: python sudo: false python: - "3.4" - "3.3" - "2.7" env: - DJANGO_VERSION=1.7.10 - DJANGO_VERSION=1.8.5 install: - pip install coverage>=4.0 - pip install flake8 - pip install -q Django==$DJANGO_VERSION script: - coverage run setup.py test - coverage report -m - flake8 soapbox ```
c0825497-6fb2-4f91-a18d-608f05fcb5bc
{ "language": "YAML" }
```yaml language: ruby script: bundle exec rake sudo: false rvm: - "2.2" - "2.3" - "2.4" - "2.5" - "2.6" - ruby-head - jruby-19mode matrix: allow_failures: - rvm: ruby-head ``` Drop unused Travis CI option
```yaml language: ruby script: bundle exec rake rvm: - "2.2" - "2.3" - "2.4" - "2.5" - "2.6" - ruby-head - jruby-19mode matrix: allow_failures: - rvm: ruby-head ```
bdd63ae7-3762-4d4b-bbae-b154f6e50b1c
{ "language": "YAML" }
```yaml language: elixir elixir: - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 - 1.6 - 1.7 - 1.8 sudo: false before_script: - mix deps.get --only test env: - MIX_ENV=test script: - mix test - mix coveralls.travis after_script: - mix deps.get --only docs - MIX_ENV=docs mix inch.report ``` Remove redundant c...
```yaml language: elixir elixir: - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 - 1.6 - 1.7 - 1.8 sudo: false before_script: - mix deps.get --only test env: - MIX_ENV=test script: - mix coveralls.travis after_script: - mix deps.get --only docs - MIX_ENV=docs mix inch.report ```
b514b154-66f2-4824-b576-1272deb1db5a
{ "language": "YAML" }
```yaml language: node_js node_js: - 7 - 6 sudo: false ``` Test against newest node including linting
```yaml language: node_js node_js: - '7' - '6' - '4' script: - npm prune - npm update - npm run prepublish cache: directories: - node_modules ```
a501d00c-8f0c-4d51-97ec-cd4ef1b103e1
{ "language": "YAML" }
```yaml language: php php: 7.4 services: - mysql cache: directories: - $HOME/.composer/cache/files before_install: - mysql -e 'CREATE DATABASE lanager;' before_script: - composer self-update - composer install --no-interaction - cp .env.travis .env - php artisan key:generate...
```yaml language: php php: 7.4 services: - mysql cache: directories: - $HOME/.composer/cache/files before_install: - mysql -e 'CREATE DATABASE lanager;' before_script: - composer self-update - composer install --no-interaction - cp .env.travis .env - php artisan key:generate...
b8ebc506-21ef-44d3-ae7d-da16ad24bdb5
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 before_script: - composer self-update - composer install script: - vendor/bin/phpcs --standard=psr2 --extensions=php --ignore=vendor . - vendor/bin/phpunit --coverage-text ``` Add php nightly to build matrix
```yaml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - nightly matrix: allow_failures: - php: nightly before_install: - composer self-update install: - composer install script: - vendor/bin/phpcs --standard=psr2 --extensions=php --ignore=vendor . - vendor/bin/phpunit --coverage-text ```
1f0e510a-5529-4fd9-85bb-af1f568a4ba8
{ "language": "YAML" }
```yaml language: php php: - '5.4' - '5.5' - '5.6' - '7.0' - hhvm - nightly before_script: - composer self-update - composer install --no-interaction - curl -L https://gist.githubusercontent.com/JimMackin/c3db403bae59c2c9a27c/raw/f7dccb1fad965fb3d2b2fa0f7ba0e1d4ef52cddb/config_si.php > config_si.php ...
```yaml language: php php: - '5.4' - '5.5' - '5.6' - '7.0' - hhvm - nightly before_script: - composer self-update - composer install --no-interaction - curl -L https://gist.githubusercontent.com/JimMackin/c3db403bae59c2c9a27c/raw/f7dccb1fad965fb3d2b2fa0f7ba0e1d4ef52cddb/config_si.php > config_si.php ...
1e8b379d-fc9a-4636-ac5b-9b1a9a0328a6
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer install --dev script: phpunit -c phpunit.xml.dist notifications: email: - info@endroid.nl ``` Disable xdebug in Travis CI
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: fast_finish: true before_install: - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi; - composer self-update && composer install --no-interaction script: - phpunit notifications: ...
17032c7f-402d-41cd-b58a-a4b8212e4009
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm install: - travis_retry composer install --no-interaction --prefer-source script: vendor/bin/phpunit ``` Test against three latest php versions
```yaml language: php php: - 5.6 - 7.0 - 7.1 install: - travis_retry composer install --no-interaction --prefer-source script: vendor/bin/phpunit ```
8bd19550-c7a2-42cf-916d-f251fb54b33f
{ "language": "YAML" }
```yaml language: java script: ant -buildfile build/build.xml test sudo: false jdk: - oraclejdk8 - oraclejdk9 ``` Remove obsolete Travis CI configuration (alpha)
```yaml language: java script: ant -buildfile build/build.xml test jdk: - oraclejdk8 - oraclejdk9 ```
2aa2bfe7-d4d1-47b7-98e0-c9b357c44242
{ "language": "YAML" }
```yaml --- language: node_js node_js: - 4 - 5 sudo: false script: - npm run test - npm run coverage - npm run lint cache: directories: - node_modules ``` Configure Travis CI to test on Node.js 4 and current
```yaml --- language: node_js node_js: - '4' - node sudo: false script: - npm run test - npm run coverage - npm run lint cache: directories: - node_modules ```