doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
247aa5c2-bb2d-4868-a91b-cc5e425e695b
{ "language": "YAML" }
```yaml "project_identifier" : "binary-bot" api_key_env: CROWDIN_API_KEY files: - source: /src/common/translations/en/*.json translation: /src/common/translations/%locale_with_underscore%/%original_file_name% ``` Use the source file name instead of regex
```yaml "project_identifier" : "binary-bot" api_key_env: CROWDIN_API_KEY files: - source: /src/common/translations/en/i10n.json translation: /src/common/translations/%locale_with_underscore%/%original_file_name% ```
24980161-cc82-4630-9bcf-b1762d4a798a
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" env: global: - BEANSTALKD=./beanstalkd install: # Install most recent beanstalkd from source - wget https://github.com/kr/beanstalkd/archive/v1.10.tar.gz - tar xf v1.10.tar.gz - make -C beanstalkd-1.10/ - mv beanstalkd-1.10/bean...
```yaml language: python python: - "2.6" - "2.7" env: global: - BEANSTALKD=./beanstalkd install: # Install most recent beanstalkd from source - wget https://github.com/kr/beanstalkd/archive/v1.10.tar.gz - tar xf v1.10.tar.gz - make -C beanstalkd-1.10/ - mv beanstalkd-1.10/bean...
58d126e7-a338-4262-9b6d-2c8e822f583c
{ "language": "YAML" }
```yaml language: php sudo: false php: - 7.0 - 7.1 - 7.2 - 7.3 - nightly env: global: - DEFAULT=1 matrix: allow_failures: - php: nightly fast_finish: true include: - php: 7.1 env: - COVERALLS=1 before_script: - composer self-update - rm composer.lock - composer in...
```yaml language: php sudo: false php: - 7.0 - 7.1 - 7.2 - 7.3 - nightly env: global: - DEFAULT=1 matrix: allow_failures: - php: 7.3 - php: nightly fast_finish: true include: - php: 7.1 env: - COVERALLS=1 before_script: - composer self-update - rm composer.lock ...
9cc5736d-e988-4904-bd33-12da013c08df
{ "language": "YAML" }
```yaml language: node_js node_js: v8 deploy: provider: pages local_dir: dist skip_cleanup: true github_token: $GITHUB_TOKEN on: branch: master ``` Build with ruby on TravisCI too
```yaml language: ruby ruby: 2.4 script: jekyll build deploy: provider: pages local_dir: _site skip_cleanup: true github_token: $GITHUB_TOKEN on: branch: master ```
4fc4a91b-1089-48f2-b5d4-ed217e8105c9
{ "language": "YAML" }
```yaml language: node_js node_js: - "5" install: - sudo apt-get update - cd hashstore/bakery/js - npm install - cd ../../.. - npm install - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda...
```yaml language: node_js node_js: - "8" install: - sudo apt-get update - cd hashstore/bakery/js - npm install - cd ../../.. - npm install - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda...
c159eff1-e208-40af-ad94-27acb2b2465f
{ "language": "YAML" }
```yaml sudo: false language: php php: - 7.2 - 7.1 - 7.0 - 5.6 - 5.5 env: - SYMFONY_VERSION=3.4.* - SYMFONY_VERSION=3.3.* - SYMFONY_VERSION=3.2.* - SYMFONY_VERSION=3.1.* - SYMFONY_VERSION=2.8.* before_script: - if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then echo 'memory_limit = -1' >> ~/.phpenv/v...
```yaml sudo: false language: php php: - 7.2 - 7.1 - 7.0 - 5.6 - 5.5 env: - SYMFONY_VERSION=3.4.* - SYMFONY_VERSION=3.3.* - SYMFONY_VERSION=3.2.* - SYMFONY_VERSION=3.1.* - SYMFONY_VERSION=2.8.* before_script: - echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/tra...
55250de5-4895-4844-809c-37728c4d7609
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.11" - "0.10" - "0.8" before_install: - "sudo apt-get update" - "sudo apt-get install -qq libotr2-dev" - "pushd test; make build LIBOTR_DIR=/usr; popd" script: - "make all" ``` Stop testing on node v0.8
```yaml language: node_js node_js: - "0.11" - "0.10" before_install: - "sudo apt-get update" - "sudo apt-get install -qq libotr2-dev" - "pushd test; make build LIBOTR_DIR=/usr; popd" script: - "make all" ```
e83e1833-1ec4-47c3-86d4-e37858cbe090
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - ruby-head - rbx-19mode matrix: allow_failures: - rvm: ruby-head - rvm: rbx-19mode before_install: gem install bundler --pre script: - "bundle exec rake ci:all" ``` Add JRuby to Travis configuration
```yaml language: ruby rvm: - 1.9.3 - ruby-head - rbx-19mode - jruby-19mode - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: rbx-19mode - rvm: jruby-19mode - rvm: jruby-head before_install: gem install bundler --pre script: - "bundle exec rake ci:all" ```
aeb177a5-bee0-4a27-b836-c2f6b30c9d13
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.11" - "0.10" notifications: email: on_success: never on_failure: change ``` Stop testing in 0.11 for now. Things be broke.
```yaml language: node_js node_js: - "0.10" notifications: email: on_success: never on_failure: change ```
56efafa8-770a-4152-b212-a7ce661bdaf6
{ "language": "YAML" }
```yaml language: ruby rvm: - '2.3.0' - '2.2' - '2.1' - '2.0' - '1.9.3' - 'rbx-2' - 'jruby' before_install: - gem install bundler ``` Update Ruby versions and update rubygems for install
```yaml language: ruby rvm: - '2.3.1' - '2.2.5' - '2.1.10' - 'rbx-2' - 'jruby' before_install: - gem update --system - gem install bundler ```
1715bb15-7b80-45ca-86f2-769b52275e8f
{ "language": "YAML" }
```yaml notifications: recipients: - siraaj@khandkar.net language: erlang otp_release: - 17.0 - R16B02 script: "make ci" cache: directories: - logs ``` Remove the no-longer-supported OTP version from Travis
```yaml notifications: recipients: - siraaj@khandkar.net language: erlang otp_release: - 17.0 script: "make ci" cache: directories: - logs ```
a57cef3c-83bc-45d2-988e-8e797e513696
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" - "3.2" env: - PYTHONPATH='.' branches: only: - master - next before_install: - sudo apt-get update - sudo apt-get install nodejs - curl http://npmjs.org/install.sh | sh - npm update zombie - npm install zombie install: - pip install . --us...
```yaml language: python python: - "2.6" - "2.7" - "3.2" env: - PYTHONPATH='.' branches: only: - master - next before_install: - sudo apt-get update - sudo apt-get install nodejs - curl http://npmjs.org/install.sh | sh - npm install zombie install: - pip install . --use-mirrors - pip inst...
ff879738-a531-468e-bf47-cf9d8203b85b
{ "language": "YAML" }
```yaml language: go go: - 1.2 install: - script/bootstrap script: - export PATH="$HOME/gopath/bin:$PATH" - script/build - script/test ``` Add features spec to build
```yaml language: go go: - 1.2 install: - script/bootstrap - bundle install script: - export PATH="$HOME/gopath/bin:$PATH" - script/build - script/test - bundle exec rake features ```
f0f5aaac-d494-48c7-ad78-e797166ef166
{ "language": "YAML" }
```yaml language: go sudo: false go: - tip before_install: - go get github.com/mattn/goveralls script: - $HOME/gopath/bin/goveralls -service=travis-ci``` Use go 1.9 in Travis CI.
```yaml language: go sudo: false go: - 1.9 before_install: - go get github.com/mattn/goveralls script: - $HOME/gopath/bin/goveralls -service=travis-ci```
0041ae04-2094-4d51-83bf-252409496619
{ "language": "YAML" }
```yaml language: python python: - "3.5" # command to install dependencies install: - sudo apt-get update - sudo apt-get install libsdl1.2-dev - pip install -r requirements.txt - pip install python-coveralls - pip install nose - pip install coverage # command to run tests script: - nosetests -v --with-c...
```yaml language: python python: - "3.5" # command to install dependencies install: - sudo apt-get update - sudo apt-get install libsdl1.2-dev - pip install -r requirements.txt - pip install coveralls - pip install nose - pip install coverage # command to run tests script: - nosetests -v --with-coverage...
6686ceba-fd7b-4570-b962-34e53f1b1ea6
{ "language": "YAML" }
```yaml language: php php: - 5.3.3 - 5.4 - 5.5 - 5.6 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer self-update - composer install --no-interaction --prefer-source --dev - composer require jakub-onderka/php-console-highlighter 0.3 script: - ./vendor/bin/tester tests -...
```yaml language: php php: - 5.3.3 - 5.4 - 5.5 - 5.6 - hhvm - hhvm-nightly matrix: allow_failures: - php: hhvm - php: hhvm-nightly before_script: - composer self-update - composer install --no-interaction --prefer-source --dev - composer require jakub-onderka/php-console-highlighter 0.3 ...
2ffbf5d3-09fc-4974-a024-6dd0404bd302
{ "language": "YAML" }
```yaml go_import_path: v.io language: go go: 1.6 install: go get -t -v ./... script: VDLPATH=$PWD/.. go test -v ./...``` Drop the -v for go get/test
```yaml go_import_path: v.io language: go go: 1.6 install: go get -t ./... script: VDLPATH=$PWD/.. go test ./...```
6619cc63-3434-4e31-a387-3983849ac1a8
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.2" - "3.3" - "pypy" install: "pip install -r requirements.txt" before_script: python setup.py develop script: mamba spec/*.py ``` Revert "Check support for python 3.2"
```yaml language: python python: - "2.7" - "3.3" - "pypy" install: "pip install -r requirements.txt" before_script: python setup.py develop script: mamba spec/*.py ```
6bfa38ce-ce8d-4f99-ba23-ace7782fdedd
{ "language": "YAML" }
```yaml language: python python: - "2.7" before_install: "apt-get install libldap2-dev libsasl2-dev" install: "make install" before_script: "pip install -U pytest mock httplib2 wsgi_intercept" script: "make pep8 test"``` Add sudo to apt command
```yaml language: python python: - "2.7" before_install: "sudo apt-get install libldap2-dev libsasl2-dev" install: "make install" before_script: "pip install -U pytest mock httplib2 wsgi_intercept" script: "make pep8 test"```
0ea3aad7-f2fb-48c8-9791-45376918ce6f
{ "language": "YAML" }
```yaml env: - GHCVER=7.2.2 - GHCVER=7.4.2 - GHCVER=7.6.3 - GHCVER=7.8.3 - GHCVER=head matrix: allow_failures: - env: GHCVER=head script: - wget https://raw.github.com/ndmitchell/neil/master/travis.sh -O - --no-check-certificate --quiet | sh ``` Remove GHC-head from the allowed list of failures
```yaml env: - GHCVER=7.2.2 - GHCVER=7.4.2 - GHCVER=7.6.3 - GHCVER=7.8.3 - GHCVER=head script: - wget https://raw.github.com/ndmitchell/neil/master/travis.sh -O - --no-check-certificate --quiet | sh ```
1dd10c9e-4bde-4524-9df4-f3c0800e1c32
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - 'iojs' - '0.12' - '0.10' ``` Test on `4` and `5`
```yaml sudo: false language: node_js node_js: - '5' - '4' - '0.12' - '0.10' ```
08596616-b9dd-4a5d-b698-0721ec5acf5a
{ "language": "YAML" }
```yaml sudo: false dist: xenial language: python python: - 2.7 - 3.4 - 3.5 - 3.6 - 3.7 install: - pip install tox-travis coveralls before_script: - psql -c 'create database timezone_field_tests;' -U postgres script: - tox after_success: - coveralls ``` Add PostgreSQL as a Travis CI service
```yaml sudo: false dist: xenial services: - postgresql language: python python: - 2.7 - 3.4 - 3.5 - 3.6 - 3.7 install: - pip install tox-travis coveralls before_script: - psql -c 'create database timezone_field_tests;' -U postgres script: - tox after_success: - coveralls ```
ec94e278-053c-46dc-9536-77815aacfc48
{ "language": "YAML" }
```yaml language: objective-c env: - LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 before_install: gem install xcpretty cocoapods -N podfile: Playgrounds/AudioKitPlayground/Podfile cache: cocoapods script: "./Tests/travis.sh" notifications: slack: secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe9NetzyNqWVN6URRFdcjvSnpah...
```yaml language: objective-c osx_image: beta-xcode6.3 env: - LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 before_install: gem install xcpretty cocoapods -N podfile: Playgrounds/AudioKitPlayground/Podfile cache: cocoapods script: "./Tests/travis.sh" notifications: slack: secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe...
736363f9-a0c1-4011-a46c-4e26ede29efd
{ "language": "YAML" }
```yaml language: node_js sudo: false node_js: - "4" - "6" - "7" after_success: - npm run coverage - npm i codecov - codecov -f coverage/coverage.json notifications: email: on_success: never ``` Add Node.js 8 for testing
```yaml language: node_js sudo: false node_js: - "4" - "6" - "7" - "8" after_success: - npm run coverage - npm i codecov - codecov -f coverage/coverage.json notifications: email: on_success: never ```
42f0d09a-93cc-4afa-83f0-d3c58823d732
{ "language": "YAML" }
```yaml language: node_js node_js: - "4" - "6" - "7" install: - npm install script: - npm run lint - npm run compile - npm test ``` Add Travis-CI Node v8 target
```yaml language: node_js node_js: - "4" - "6" - "7" - "8" install: - npm install script: - npm run lint - npm run compile - npm test ```
0cfe719e-32fb-44ee-95cd-c24fef0ed81a
{ "language": "YAML" }
```yaml language: node_js node_js: - "stable" branches: - /.*/ ``` Update install & script steps for CI
```yaml language: node_js node_js: - "stable" branches: - /.*/ install: - npm install script: - npm test ```
effe41f6-e482-4b81-a0b7-713f3a8faaa0
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci before_install: - npm install - npm install -g istanbul coveralls ``` Use NPM 5 on Travis CI.
```yaml sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci install: - npm install -g npm - npm install --no-package-lock --no-save - npm install -g istanbul coveralls ```
57b3a218-b158-4416-8e05-06d505b1aed9
{ "language": "YAML" }
```yaml language: "node_js" node_js: - "0.11" install: - "npm install" script: - "./_test" branches: only: - master ``` Change node version from 0.11 to 0.10
```yaml language: "node_js" node_js: - "0.10" install: - "npm install" script: - "./_test" branches: only: - master ```
348f8e61-e59d-44d4-a598-f34ce6a822c9
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '4' - '5' - '6' after_success: - make coveralls - '[[ -n "$TRAVIS_TAG" ]] && make gh-pages' deploy: provider: npm email: rr.rossmann@gmail.com api_key: secure: DC89w8xRSEK+lm0ZHq8mnEcubBXKRj3/h9ZvcKL0s8sKUo2gwx6hwpNu1zUNbDJI7+teD8JsE1bun8uGRX6JsUEjIPoejBTDvAPCt...
```yaml sudo: false language: node_js node_js: - '4' - '5' - '6' after_success: - make coveralls - '[[ -n "$TRAVIS_TAG" ]] && make gh-pages' deploy: provider: npm email: rr.rossmann@gmail.com api_key: secure: lkRl7d7WwlI6UEnnNJbfyOsOYQyUsIFXulD8Fff8HSKFgr39Ye5eObS3u69+zdTeYaQfOJ0fl4XD/kAe3coUJHN3fN7GPfz+sxmCY...
17de1407-c3e2-4a7f-a771-f8c7ec1159f2
{ "language": "YAML" }
```yaml dist: trusty cache: bundler language: ruby rvm: - 2.5.1 env: matrix: - SOLIDUS_BRANCH=v2.4 DB=postgres - SOLIDUS_BRANCH=v2.5 DB=postgres - SOLIDUS_BRANCH=v2.6 DB=postgres - SOLIDUS_BRANCH=v2.7 DB=postgres - SOLIDUS_BRANCH=v2.8 DB=postgres - SOLIDUS_BRANCH=master DB=postgres - SOL...
```yaml dist: trusty cache: bundler language: ruby rvm: - 2.5.1 env: matrix: - SOLIDUS_BRANCH=v2.5 DB=postgres - SOLIDUS_BRANCH=v2.6 DB=postgres - SOLIDUS_BRANCH=v2.7 DB=postgres - SOLIDUS_BRANCH=v2.8 DB=postgres - SOLIDUS_BRANCH=master DB=postgres - SOLIDUS_BRANCH=v2.5 DB=mysql - SOLIDU...
922d8c76-967b-4bc7-9c43-8f0362c3f403
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer update --prefer-dist script: # - php ./vendor/phpunit/phpunit/phpunit - php ./vendor/phpunit/phpunit/phpunit --coverage-clover=build/logs/clover.xml after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.ph...
```yaml language: php php: - 5.5 - 5.6 - hhvm before_script: - composer update --prefer-dist script: # - php ./vendor/phpunit/phpunit/phpunit - php ./vendor/phpunit/phpunit/phpunit --coverage-clover=build/logs/clover.xml after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-...
27695f6d-4923-451e-a9df-66735daa33b7
{ "language": "YAML" }
```yaml sudo: required language: ruby rvm: - 2.4.2 services: - docker script: - bundle exec rake rubocop - bundle exec rake after_success: - if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push suhlig/concourse-rss-resource; fi ``...
```yaml sudo: required language: ruby rvm: - 2.5.0 services: - docker script: - bundle exec rake rubocop - bundle exec rake after_success: - if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; docker push suhlig/concourse-rss-resource; fi ``...
f7119984-6ab0-49d2-ab13-9e430a655186
{ "language": "YAML" }
```yaml language: go go: - 1.4 - 1.5 - 1.6 install: - go get github.com/bwmarrin/flake - go get -v . ``` Check more, Check against Go 11.x/12.x
```yaml language: go go: - 1.11.x - 1.12.x install: - go get -v . script: - diff <(gofmt -d .) <(echo -n) - go vet -x ./... - golint -set_exit_status ./... - go test -v -race ./... ```
bb190412-06fd-4e54-b457-13dcca833ff0
{ "language": "YAML" }
```yaml language: cpp os: - linux - osx matrix: include: - compiler: gcc os: linux addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.9 before_script: - export CXX=g++-4.9 - compiler: gcc os: linux add...
```yaml language: cpp matrix: include: - compiler: gcc os: linux addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.9 before_script: - export CXX=g++-4.9 - compiler: gcc os: linux addons: apt: ...
b6b72d9b-9ca4-45ba-a612-7579cbba75be
{ "language": "YAML" }
```yaml language: python install: - pip install -r test-requirements.txt - python setup.py install script: - pytest pydiff - pytest pydiff --pep8 notifications: slack: rooms: - beagleinc:DB8ZeLgjLqjW9Mhn3WmXpbuW#circleci - serf-beagle:StH5vRHmpWcpZ6ryDdPzIkc2#ci email: false ``` Add Py3 ...
```yaml language: python python: - "2.7" - "3.6" install: - python setup.py install - pip install -r test-requirements.txt script: - pytest pydiff - pytest pydiff --pep8 notifications: slack: rooms: - beagleinc:DB8ZeLgjLqjW9Mhn3WmXpbuW#circleci - serf-beagle:StH5vRHmpWcpZ6ryDdPzIkc2#ci...
11954833-40f2-44f1-ab26-c32ea7fc1ef7
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" - "0.12" - "iojs" before_install: - "sudo apt-get install cimg-dev libphash0-dev libmagickcore-dev" script: "npm run-script test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" ``` Add 'apt-get update' to Travis CI
```yaml language: node_js node_js: - "0.10" - "0.12" - "iojs" before_install: - "sudo apt-get update" - "sudo apt-get install cimg-dev libphash0-dev libmagickcore-dev" script: "npm run-script test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" ```
2e20fd41-2118-491e-a696-06f89b6a132a
{ "language": "YAML" }
```yaml language: python sudo: required python: - "2.7" before_install: - sudo apt-get install fabric liblua5.2 liblua5.2-dev pylint install: - pip install -r requirements.txt script: - ./tools/infrastructure/checkstyle.sh - fab test_all ``` Improve Travis build: build only master and develop on pu...
```yaml language: python sudo: required python: - "2.7" branches: only: - master - develop before_install: - sudo apt-get install fabric liblua5.2 liblua5.2-dev pylint install: - pip install -r requirements.txt script: - ./tools/infrastructure/checkstyle.sh - fab test_all ```
b521fc09-c996-4c90-b226-7e9eef20acf1
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 - rbx-19mode - ruby-head ``` Remove Rubinius because Travis can't find binaries
```yaml language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 - ruby-head ```
37efacec-8c40-40d6-baf4-5b93d801944e
{ "language": "YAML" }
```yaml sudo: false language: elixir elixir: - 1.1.0 - 1.2.0 otp_release: - 18.0 - 18.1 - 18.2 env: matrix: - CC=clang - CC=gcc before_install: - kerl list installations - export MIX_ENV=ci after_success: - mix coveralls.travis after_script: - mix inch.report - mix credo --strict ...
```yaml sudo: false language: elixir elixir: - 1.2.6 - 1.3.1 otp_release: - 18.3 - 19.0 env: matrix: - CC=clang - CC=gcc before_install: - kerl list installations - export MIX_ENV=ci after_success: - mix coveralls.travis after_script: - mix inch.report - mix credo --strict - mix hex...
eb1a6713-7f65-47aa-87f6-fc14318ef073
{ "language": "YAML" }
```yaml sudo: required services: - docker env: global: - PRODUCT=tarantool-cbench matrix: - OS=el DIST=6 PACK=rpm - OS=el DIST=7 PACK=rpm - OS=fedora DIST=23 PACK=rpm - OS=fedora DIST=24 PACK=rpm # - OS=fedora DIST=rawhide PACK=rpm - OS=ubuntu DIST=precise PACK=deb ...
```yaml sudo: required services: - docker env: global: - PRODUCT=tarantool-cbench matrix: - OS=el DIST=6 PACK=rpm - OS=el DIST=7 PACK=rpm - OS=fedora DIST=23 PACK=rpm - OS=fedora DIST=24 PACK=rpm # - OS=fedora DIST=rawhide PACK=rpm - OS=ubuntu DIST=precise PACK=deb ...
8107786c-2613-4cb6-b980-a34dc0a95e97
{ "language": "YAML" }
```yaml language: node_js sudo: required # requirement for postgres 9.5 dist: trusty node_js: - "6.10" services: - postgresql - redis-server env: - CXX=g++-4.8 NODE_ENV=development DB_ENV=travis addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - unicode-data post...
```yaml language: node_js sudo: required # requirement for postgres 9.5 dist: trusty node_js: - "6.10" - "7.7" services: - postgresql - redis-server env: - CXX=g++-4.8 NODE_ENV=development DB_ENV=travis addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - unicode-d...
e0a50156-9759-4f9e-8892-bde54ca3c470
{ "language": "YAML" }
```yaml language: node_js # Use container-based infrastructure sudo: false node_js: - "6" - "5" - "5.1" - "4" - "4.2" - "4.1" - "4.0" script: - npm run lint - npm run test:cover after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: d46a4809...
```yaml language: node_js # Use container-based infrastructure sudo: false node_js: - "6" - "5" - "4" script: - npm run lint - npm run test:cover after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: d46a480972b9542986bef5f14563522aa4ad65a9122fa681...
e1eaea9c-7783-4c98-80b6-4f0998eaa224
{ "language": "YAML" }
```yaml sudo: required dist: trusty language: python python: - "3.4" - "3.5" before_install: - sudo apt-get update -y - sudo apt-get install clang -y install: - "pip install --process-dependency-links ." script: - "python setup.py test"``` Install the development libraries of clang, not clang itself.
```yaml sudo: required dist: trusty language: python python: - "3.4" - "3.5" before_install: - sudo apt-get update -y - sudo apt-get install libclang-dev -y install: - "pip install --process-dependency-links ." script: - "python setup.py test"```
483f6ce4-d7c2-473c-8295-ab79b8a5fc28
{ "language": "YAML" }
```yaml --- env: - PUPPET_VERSION=2.7.23 - PUPPET_VERSION=3.3.2 - PUPPET_VERSION=3.4.2 notifications: email: false rvm: - 1.8.7 - 1.9.3 - 2.0.0 matrix: allow_failures: - env: PUPPET_VERSION=2.7.23 - rvm: 2.0.0 language: ruby before_script: "gem install --no-ri --no-rdoc bundler" script: 'bundle exec rake validate...
```yaml --- env: - PUPPET_VERSION=3.3.2 - PUPPET_VERSION=3.4.2 notifications: email: false rvm: - 1.8.7 - 1.9.3 - 2.0.0 matrix: allow_failures: - rvm: 2.0.0 language: ruby before_script: "gem install --no-ri --no-rdoc bundler" script: 'bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format docume...
9663f36c-8913-4dda-8814-ba6191261a63
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.3 before_install: - | bash -c " # Install MariaDB sudo bash .travis_mariadb.sh " before_script: - mysql -e 'create database portus_test;' script: - 'bundle exec rspec spec' - 'bundle exec rubocop' ``` Add ENV variables required to build portus package on OBS
```yaml language: ruby rvm: - 2.1.3 env: - OBS_REPO=Virtualization:containers:Portus - OBS_BRANCH=master before_install: - | bash -c " # Install MariaDB sudo bash .travis_mariadb.sh " before_script: - mysql -e 'create database portus_test;' script: - 'bundle exec rspec spec' - 'bundle exec r...
239b7dcd-a4ae-4814-9fc8-54c59857ea0c
{ "language": "YAML" }
```yaml language: android sudo: false jdk: - oraclejdk8 android: components: - tools - build-tools-25.0.2 - android-25 - extra-android-support - extra-android-m2repository licenses: - 'android-sdk-license-.+' - '.*intel.+' before_install: - chmod +x gradlew install: - ./gradlew scr...
```yaml language: android sudo: false jdk: - oraclejdk8 android: components: - tools - build-tools-25.0.2 - android-25 - extra-android-support - extra-android-m2repository licenses: - 'android-sdk-license-.+' - '.*intel.+' before_install: - chmod +x gradlew install: - ./gradlew scr...
80ce3d5d-f12c-4dfb-aa46-15c0d45beb60
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" script: grunt default ``` Install bower and install necessary libraries.
```yaml language: node_js node_js: - "0.10" before_script: - npm install -g bower - bower install script: grunt default ```
e6e664a0-6bdc-4529-ba72-4d8494a0bcf9
{ "language": "YAML" }
```yaml language: python env: - REQUIREMENTS=lowest - REQUIREMENTS=current python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "pypy" install: - pip install tox script: - tox -e $(echo py$TRAVIS_PYTHON_VERSION | tr -d . | sed -e 's/pypypy/pypy/')-$REQUIREMENTS notifications: email: false ``` Enable auto publis...
```yaml language: python env: - REQUIREMENTS=lowest - REQUIREMENTS=current python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "pypy" install: - pip install tox script: - tox -e $(echo py$TRAVIS_PYTHON_VERSION | tr -d . | sed -e 's/pypypy/pypy/')-$REQUIREMENTS notifications: email: false deploy: provider: py...
d2e83ce9-2af8-4054-a43b-191289e26a86
{ "language": "YAML" }
```yaml language: go go: - 1.1 - 1.2 - release - tip install: - go get github.com/oschwald/maxminddb-golang - go get launchpad.net/gocheck script: - go test -v ./... ``` Add Go 1.3 to Travis
```yaml language: go go: - 1.1 - 1.2 - 1.3 - release - tip -install: - go get github.com/oschwald/maxminddb-golang - go get launchpad.net/gocheck ```
a2b950b3-8741-4f0c-ae21-9b2b903274f4
{ "language": "YAML" }
```yaml language: php php: - 5.6 - '7' install: composer install --dev script: vendor/bin/phpunit ``` Use PHP 7.4 to run Travis-CI tests
```yaml language: php php: - 7.4 install: composer install --dev script: vendor/bin/phpunit ```
719bdc2e-28a4-4d95-b921-76705d758c9a
{ "language": "YAML" }
```yaml bundler_args: "--without production" rvm: - 1.8.7 - 1.9.2 - rbx - rbx-2.0 - ree env: "RAILS_ENV=test" ``` Test against Rubinius in both Ruby 1.8 and 1.9 mode
```yaml bundler_args: "--without production" rvm: - 1.8.7 - 1.9.2 - rbx-18mode - rbx-19mode - ree env: "RAILS_ENV=test" ```
0f258686-c2f0-4648-a58f-7ee70d7702a5
{ "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 ``` Use system installed Python dependencies.
```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 ```
f2bdae1c-f188-4770-aba2-671ed1d74afc
{ "language": "YAML" }
```yaml language: ruby sudo: false rvm: - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 - ruby-head ``` Test against ruby 2.1.10, 2.2.5, and 2.3.1
```yaml language: ruby sudo: false rvm: - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 - ruby-head ```
56f11aca-b76f-43e4-ad4b-ad9b3a992c50
{ "language": "YAML" }
```yaml # Use Travis's cointainer based infrastructure sudo: false dist: trusty addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: ...
```yaml # Use Travis's cointainer based infrastructure sudo: false dist: trusty addons: apt: sources: - chef-current-trusty packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: ...
84371ba4-897f-45f1-a666-49f4923fa902
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - "10" - "12" script: - npm run lint - npm test after_script: "npm run coverage" cache: directories: - node_modules matrix: fast_finish: true ``` Validate Travis CI config file from now on
```yaml # https://docs.travis-ci.com/user/build-config-validation/ version: ~> 1.0 language: node_js node_js: - "10" - "12" script: - npm run lint - npm test after_script: "npm run coverage" cache: directories: - node_modules jobs: fast_finish: true ```
e25d771b-1d30-4267-ac90-7a579cee225c
{ "language": "YAML" }
```yaml sudo: false language: ruby bundler_args: --path vendor/bundle --jobs=3 --retry=3 script: bundle exec rspec cache: bundler before_install: - gem install bundler - bundle config --local without local_development yard guard rvm: # 2.1, not 2.1.0 until fixed https://github.com/travis-ci/travis-ci/issues/2220...
```yaml language: ruby bundler_args: --path vendor/bundle --jobs=3 --retry=3 script: bundle exec rspec cache: bundler before_install: - gem install bundler - bundle config --local without local_development yard guard rvm: # 2.1, not 2.1.0 until fixed https://github.com/travis-ci/travis-ci/issues/2220 - 2.5 -...
696eae3a-273c-4e1f-85ac-6a9effa54a4c
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script: - travis_retry composer self-update - travis_retry composer update $COMPOSER_OPTS script: - php vendor/bin/phpunit --coverage-text --coverage-clover=cov...
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script: - travis_retry composer self-update - travis_retry composer update $COMPOSER_OPTS script: - php vendor/bin/phpunit```
b356d48e-be28-4541-a38b-91ba1937867e
{ "language": "YAML" }
```yaml language: go go: - 1.3 - tip install: go get -v ./solr before_script: curl -sSL https://raw.githubusercontent.com/moliware/travis-solr/master/travis-solr.sh | SOLR_VERSION=4.7.2 bash script: go test -v ./solr ``` Remove solr instance installation. Seems to work well, need to prepare config and some tes...
```yaml language: go go: - 1.3 - tip install: go get -v ./solr script: go test -v ./solr ```
536f4fa5-d997-4a0c-bc61-c99a2d1f89f6
{ "language": "YAML" }
```yaml language: node_js cache: yarn node_js: - node - "8" - "6" git: depth: 5 ``` Add Node.js 10 to Travis CI
```yaml language: node_js cache: yarn node_js: - node - "10" - "8" - "6" git: depth: 5 ```
6242839a-4c73-41b3-b0b5-65a19b53696b
{ "language": "YAML" }
```yaml os: linux sudo: required language: java python: - "2.7" services: - docker env: DOCKER_COMPSE_VERSION: 1.14.0 DOCKER_VERSION: 17.06.0~ce-0~ubuntu before_install: - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-repository "deb [arch=amd64] https://down...
```yaml os: linux sudo: required language: java python: - "2.7" services: - docker env: DOCKER_COMPSE_VERSION: 1.14.0 DOCKER_VERSION: 17.06.0~ce-0~ubuntu before_install: - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-repository "deb [arch=amd64] https://down...
6a208b27-9df9-4fd4-8f6b-afae3078ce0a
{ "language": "YAML" }
```yaml language: node_js node_js: - '0.8' - '0.10' before_install: pip install codecov after_success: codecov ``` Use node 0.10 and 0.11
```yaml language: node_js sudo: false node_js: - '0.10' - '0.11' after_success: - bash <(curl -s https://codecov.io/bash) ```
77548044-fdbf-4a72-9033-5ca17e74f0cd
{ "language": "YAML" }
```yaml language: ruby rvm: - jruby-19mode - rbx-19mode - 1.9.2 - 1.9.3 - 2.0.0 ``` Add Ruby 2.1.0 to Travis config
```yaml bundler_args: --without development language: ruby rvm: - jruby-19mode - rbx-19mode - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 matrix: allow_failures: - rvm: rbx-19mode ```
31b25f10-20bb-4ff1-98cc-c287f5102e4c
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" - "3.6" install: pip install tox-travis script: tox ``` Drop support for Python 2.6 in Travis CI
```yaml language: python python: - "2.7" - "3.6" install: pip install tox-travis script: tox ```
2c665871-3f7d-4148-a93e-cc5e40c7575d
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '0.10' before_script: - npm install -g grunt-cli - git submodule update --init --recursive deploy: provider: s3 bucket: code.fireboltjs.com skip_cleanup: true local-dir: dist access_key_id: secure: SIFyjgmdTR5BPhOTNp6YydkSvTukSomEnc7v70fkfVI8prJAQ3/cq...
```yaml sudo: false language: node_js node_js: - '0.10' before_script: - npm install -g grunt-cli deploy: provider: s3 bucket: code.fireboltjs.com skip_cleanup: true local-dir: dist access_key_id: secure: SIFyjgmdTR5BPhOTNp6YydkSvTukSomEnc7v70fkfVI8prJAQ3/cqbCJelC9ZSlbfTcwZjm8g1n4zwis1AdnnUAp27ndpeJoz...
7237419d-59b6-429c-8613-7b97ffc49870
{ "language": "YAML" }
```yaml language: ruby sudo: false rvm: - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.4 - 2.6.2 - ruby-head gemfile: - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile - gemfiles/rails_6.0.0.beta3.gemfile - gemfiles/rails_edge.gemfile matrix: allow_failures: - rvm: ruby...
```yaml language: ruby sudo: false rvm: - 2.2.10 - 2.3.8 - 2.4.6 - 2.5.5 - 2.6.3 - ruby-head gemfile: - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile - gemfiles/rails_6.0.0.beta3.gemfile - gemfiles/rails_edge.gemfile matrix: allow_failures: - rvm: ruby...
43047137-074e-4e5a-8f49-9a7c6f69fde6
{ "language": "YAML" }
```yaml sudo: false language: php cache: directories: - $HOME/.composer/cache - vendor matrix: fast_finish: true include: - php: 5.5 env: - COMPOSER_ARGUMENTS="--prefer-lowest" - php: 5.5 env: - EXECUTE_CS_CHECK=true - php: 5.6 env: - EXECUTE_TEST_C...
```yaml sudo: false language: php cache: directories: - $HOME/.composer/cache - vendor matrix: fast_finish: true include: - php: 5.5 env: - COMPOSER_ARGUMENTS="--prefer-lowest" - php: 5.5 env: - EXECUTE_CS_CHECK=true - php: 5.6 env: - EXECUTE_TEST_C...
1c83da16-0199-487a-b34c-a4898cf0b5a7
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.2 - 1.9.3 - jruby gemfile: - gemfiles/rapporteur2.gemfile - gemfiles/rapporteur3.gemfile notifications: email: false campfire: on_success: change on_failure: always rooms: - secure: "AVi2J9hq3ZBvNt9/eDwslgGfqyhURtcoJFlHScOgffK+9woQOeJXDQcpqxxE\nto7C1lnRn...
```yaml language: ruby rvm: - 1.8.7 - 1.9.3 - jruby gemfile: - gemfiles/rapporteur2.gemfile - gemfiles/rapporteur3.gemfile matrix: exclude: - rvm: 1.8.7 gemfile: gemfiles/rapporteur2.gemfile notifications: email: false campfire: on_success: change on_failure: always rooms: - ...
629c971c-63e5-46c9-9046-bff720aa52f0
{ "language": "YAML" }
```yaml language: c os: - linux - osx compiler: - clang - gcc before_script: - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install libboost-all-dev; fi - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install automa...
```yaml language: c os: - linux compiler: - clang - gcc before_script: - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install libboost-all-dev; fi - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install automake autoc...
11c8c916-16e8-4300-b809-761587d541b1
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" ``` Support stable and current lts release. Remove node 0.6 & 0.8 support.
```yaml language: node_js node_js: - "stable" - "4.2" - "0.10" ```
18bc997f-c7b7-49fb-a760-cd6e70c4c5bf
{ "language": "YAML" }
```yaml language: java sudo: false # Linux OS: run in container matrix: include: - os: linux dist: precise jdk: oraclejdk8 - os: linux dist: trusty jdk: oraclejdk8 # Headless Build: `sudo xvfb` + TestFX does not work on Travis OSX environments (as of 2017-05-24) # See ht...
```yaml language: java jdk: - oraclejdk8 after_success: - bash <(curl -s https://codecov.io/bash) ```
8d2a6017-8456-4cc2-847a-2238060f1b63
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode9.2 jobs: include: # testing - stage: test script: xcodebuild -workspace Vienna.xcworkspace -scheme Vienna test | xcpretty # linting - stage: lint before_script: - brew outdated swiftlint || brew upgrade swiftlint - swiftlint v...
```yaml language: objective-c osx_image: xcode9.3 jobs: include: # testing - stage: test script: xcodebuild -workspace Vienna.xcworkspace -scheme Vienna test | xcpretty # linting - stage: lint before_script: - brew outdated swiftlint || brew upgrade swiftlint - swiftlint v...
bd2cc207-9475-4a7b-87c7-39dd9dc19eda
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.2 - 2.1 - 2.0.0 addons: postgresql: "9.3" before_script: - psql -c 'CREATE DATABASE safer_migrations_test;' -U postgres script: - bundle exec rspec spec - bundle exec rubocop env: global: - "DATABASE_URL=postgres://postgres@localhost/safer_migrations_test" matr...
```yaml language: ruby rvm: - 2.3.0 - 2.2 - 2.1 - 2.0.0 addons: postgresql: "9.3" before_script: - psql -c 'CREATE DATABASE safer_migrations_test;' -U postgres script: - bundle exec rspec spec - bundle exec rubocop env: global: - "DATABASE_URL=postgres://postgres@localhost/safer_migrations_te...
a3e3bb99-503b-4b20-b8d6-7a65bce1af57
{ "language": "YAML" }
```yaml language: cpp compiler: - gcc before_install: - sudo sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list" - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-get update -qq - sudo apt-get install -qq llvm-3.4 - su...
```yaml language: cpp compiler: - gcc before_install: - sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main' >> /etc/apt/sources.list" - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-get update -qq - sudo apt-get install -qq llvm-3.4-dev -...
dc31b7b1-f8ac-4dab-82c5-3454b1ef6157
{ "language": "YAML" }
```yaml sudo: false language: ruby rvm: - 2.4.0 - 2.3.3 - 2.2.6 gemfile: Gemfile.ci env: - DATABASE_URL="sqlite::memory:" RACK_ENV=test before_install: gem install bundler -v 1.12.5 addons: code_climate: repo_token: after_success: - bundle exec codeclimate-test-reporter ``` Add code climate repo token
```yaml sudo: false language: ruby rvm: - 2.4.0 - 2.3.3 - 2.2.6 gemfile: Gemfile.ci env: - DATABASE_URL="sqlite::memory:" RACK_ENV=test before_install: gem install bundler -v 1.12.5 addons: code_climate: repo_token: 289860573c6284a8e277de86848caba84d840be49e35f3601bcd672ab40d1e35 after_success: - bundle...
81c6e23d-2e87-4928-b4d0-672185eeecdd
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" - "0.12" - "4.2" - "5.0" # Use container-based Travis infrastructure. sudo: false branches: only: - master before_install: # GUI for real browsers. - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - 'npm install -g npm@3' script: - npm --ver...
```yaml language: node_js node_js: - "0.10" - "0.12" - "4.2" - "5.0" # Use container-based Travis infrastructure. sudo: false branches: only: - master addons: firefox: "latest" before_install: # GUI for real browsers. - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - 'npm install -g ...
fc556ddc-1f1e-4f16-ad18-df28898e6165
{ "language": "YAML" }
```yaml language: php php: - 5.6 - 7 env: - SYMFONY_VERSION=2.3.* - SYMFONY_VERSION=2.7.* - SYMFONY_VERSION=2.8.* - SYMFONY_VERSION=3.0.* branches: only: - master before_script: # disable xdebug - phpenv config-rm xdebug.ini - wget http://getcomposer.org/composer.phar - php composer....
```yaml language: php php: - 7 env: - SYMFONY_VERSION=2.3.* - SYMFONY_VERSION=2.7.* - SYMFONY_VERSION=2.8.* - SYMFONY_VERSION=3.0.* branches: only: - master before_script: # disable xdebug - phpenv config-rm xdebug.ini - wget http://getcomposer.org/composer.phar - php composer.phar req...
ad39d9ba-fe6d-4e62-a211-03455ffabb17
{ "language": "YAML" }
```yaml language: python python: - 2.7 services: - mongodb install: - pip install -r requirements/travis.pip --allow-external webassets --allow-unverified webassets - pip install --no-deps -e . - requirements/elasticsearch-travisci.sh script: - nosetests --with-xcoverage udata after_success: - coveralls `...
```yaml language: python python: - 2.7 services: - mongodb before_install: - sudo requirements/elasticsearch-travisci.sh install: - pip install -r requirements/travis.pip --allow-external webassets --allow-unverified webassets - pip install --no-deps -e . script: - nosetests --with-xcoverage udata after_suc...
91a58c41-4efb-41fe-8446-a96f39d276f7
{ "language": "YAML" }
```yaml language: php php: - 5.6 - 7.0 - hhvm sudo: false install: - travis_retry composer install --no-interaction --prefer-source script: vendor/bin/phpunit ``` Install yaml on Travis build.
```yaml language: php php: - 5.6 - 7.0 - hhvm sudo: required before_install: - sudo apt-get install -y libyaml-dev - sudo pecl install yaml-beta && echo "extension=yaml.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini install: - travis_retry composer install --no-interaction --prefer-source ...
f329134f-ce3e-4d4c-947a-d9ccd695285d
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 before_install: - git submodule update --init --recursive - sudo apt-get update -qq - sudo apt-get install python-software-properties python g++ make - echo 'yes' | sudo add-apt-repository ppa:chris-lea/node.js - sudo apt-get update -qq - sudo apt-get install nodejs sq...
```yaml language: ruby rvm: - 1.9.3 before_install: - sudo apt-get update -qq - sudo apt-get install python-software-properties python g++ make - echo 'yes' | sudo add-apt-repository ppa:chris-lea/node.js - sudo apt-get update -qq - sudo apt-get install nodejs sqlite3 - sudo apt-get install libicu-dev bu...
1c16279a-f28b-4d67-b2db-1231ae5660ae
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 1.9.2 - 2.0.0 - rbx-19mode - ruby-head - jruby-19mode ``` Revert "Add JRuby to Travis builds."
```yaml language: ruby rvm: - 1.9.3 - 1.9.2 - 2.0.0 - rbx-19mode - ruby-head ```
c011757e-369b-49b1-8589-adb50b8bdec6
{ "language": "YAML" }
```yaml language: php sudo: true php: - '5.6' - '5.7' - '7.0' before_install: # We need this because Zenfolio uses a Comodo/AddTrust certificate not trusted by default. - echo -n | openssl s_client -connect api.zenfolio.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/cert...
```yaml language: php sudo: true php: - '5.6' - '7.0' before_install: # We need this because Zenfolio uses a Comodo/AddTrust certificate not trusted by default. - echo -n | openssl s_client -connect api.zenfolio.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certi...
470dfb2f-c161-489a-8d6b-1793654f6a92
{ "language": "YAML" }
```yaml language: node_js node_js: - "node" - "lts/*" - "0.10" ``` Remove requirement to build the project on an ancient version of Node.js
```yaml language: node_js node_js: - "node" - "lts/*" ```
1d676b67-7ad5-4137-8040-ef4cb823b0ea
{ "language": "YAML" }
```yaml language: node_js install: - npm install koa - npm install node_js: - "4" - "5" ``` Test on node 6 and 8
```yaml language: node_js install: - npm install koa - npm install node_js: - "4" - "6" - "8" ```
88a2104c-ca8a-4b8d-bbc2-cff728ba9335
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.1 addons: code_climate: repo_token: fe7b3d07aa0eaf8102bccfbaac456cd2f1d8696365d0dc306090d889bf632a47 ``` Install hunspell on Travis before build.
```yaml before_install: - sudo apt-get install libhunspell-dev hunspell-en-us - gem install ffi rubygems-tasks rspec yard language: ruby rvm: - 2.1.1 addons: code_climate: repo_token: fe7b3d07aa0eaf8102bccfbaac456cd2f1d8696365d0dc306090d889bf632a47 ```
84bcaa08-a897-43d3-b7f2-fd16960850ae
{ "language": "YAML" }
```yaml language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: # - 1.8.7 - 1.9.3 - 2.0.0 # - jruby-18mode - jruby-19mode # - rbx-18mode - rbx-19mode ``` Use JRuby 1.7.4 for CI.
```yaml language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: # - 1.8.7 - 1.9.3 - 2.0.0 # - jruby-18mode - jruby-19mode-1.7.4 # - rbx-18mode - rbx-19mode ```
df203971-92a3-4273-ace6-58002cf3c2bb
{ "language": "YAML" }
```yaml language: android android: components: # Use the latest revision of Android SDK Tools - tools - platform-tools # The BuildTools version used by your project - build-tools-23.0.2 # The SDK version used to compile your project - android-23 # For AppCompat - extra bef...
```yaml language: android android: components: # Use the latest revision of Android SDK Tools - tools - platform-tools # The BuildTools version used by your project - build-tools-23.0.2 # The SDK version used to compile your project - android-23 # For AppCompat - extra bef...
34294b93-e9c0-458b-ad06-a9f6dc60c090
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.3.1 cache: bundler before_script: - cd spec/dummy && bundle exec rake db:create db:migrate db:test:prepare sudo: false ``` Use bundle exec all the way through
```yaml language: ruby rvm: - 2.3.1 cache: bundler before_script: - cd spec/dummy && bundle exec rake db:create db:migrate db:test:prepare script: bundle exec rspec sudo: false ```
80f1c166-2c32-4fc1-b9b4-b794a58c0d38
{ "language": "YAML" }
```yaml language: node_js node_js: - '0.10' - '0.12' - '4.2' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls ``` Test with latest Node.js 4 on Travis CI.
```yaml 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 ```
63c46371-f626-490b-97c6-e252241aedd5
{ "language": "YAML" }
```yaml language: cpp compiler: - g++ - clang++ os: - linux - osx before_install: - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi - sudo apt-get update -qq install: # For m...
```yaml language: cpp compiler: - g++ - clang++ os: - linux - osx before_install: - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi - sudo apt-get update -qq install: # For m...
23f086ae-f281-4aa3-94fe-34e96f3a24f7
{ "language": "YAML" }
```yaml language: haskell ghc: 7.8 script: - cabal configure --enable-tests --enable-library-coverage -v2 && cabal build && cabal test after_script: - cabal install hpc-coveralls - hpc-coveralls --exclude-dir=tests tests notifications: email: true deploy: provider: releases file: - dist/build/docgen/doc...
```yaml language: haskell ghc: 7.8 script: - cabal configure --enable-tests --enable-library-coverage -v2 && cabal build && cabal test after_script: - cabal install hpc-coveralls - hpc-coveralls --exclude-dir=tests tests notifications: email: true deploy: provider: releases api_key: $RELEASE_KEY file: ...
3cbf9a05-e5f6-4221-9a67-91c99c2ad144
{ "language": "YAML" }
```yaml sudo: false language: python dist: trusty python: - "2.7" after_success: - codecov virtualenv: system_site_packages: true install: - pip install -r requirements.txt - pip install --editable . - pip install codecov pytest-cov click ipaddress humanize falcon script: - py.test --cov-report xml --cov=...
```yaml sudo: false language: python dist: trusty python: - "2.7" after_success: - codecov virtualenv: system_site_packages: true install: - pip install -r requirements.txt - pip install --editable . - pip install codecov pytest-cov click ipaddress humanize falcon simplepam script: - py.test --cov-report ...
8035641e-4c45-428c-b752-b1361c7cc670
{ "language": "YAML" }
```yaml sudo: true language: python python: 3.5 cache: apt: true addons: apt_packages: - sqlite3 env: matrix: - ENV=py27-django111 - ENV=py35-django111 - ENV=py35-django20 - ENV=py35-django21 - ENV=py35-django22 - ENV=py36-django111 - ENV=py36-django20 - ENV=py36-django21...
```yaml sudo: true language: python cache: apt: true addons: apt_packages: - sqlite3 matrix: include: - env: ENV=py27-django111 python: 2.7 - env: ENV=py34-django111 python: 3.4 sudo: false dist: trusty - env: ENV=py34-django20 python: 3.4 sudo: false ...
1d533c92-5135-42d1-9412-8e1052211225
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer self-update - composer install --prefer-source --no-interaction --dev script: phpunit ``` Remove PHP 5.3 from testing
```yaml language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer self-update - composer install --prefer-source --no-interaction --dev script: phpunit ```
f2cda417-2f6c-4c32-8006-e8c0f4813848
{ "language": "YAML" }
```yaml sudo: false language: python cache: pip python: - 2.7 - 3.6 cache: - pip install: - pip install -r requirements.txt script: - make test after_success: - coveralls ``` Test Python 3.7 on Travis
```yaml sudo: false language: python cache: pip python: - 2.7 - 3.6 - 3.7-dev cache: - pip install: - pip install -r requirements.txt script: - make test after_success: - coveralls ```
228ab923-b8ca-4700-978f-382ee7133518
{ "language": "YAML" }
```yaml language: node_js sudo: false node_js: - "stable" - "0.12" - "0.10" before_script: - npm install -g grunt-cli ``` Test on Node.js 4.2 LTS
```yaml language: node_js sudo: false node_js: - "stable" - "4.2" - "0.12" - "0.10" before_script: - npm install -g grunt-cli ```
c929c659-3567-46b9-add2-eb8a15c512fd
{ "language": "YAML" }
```yaml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" matrix: include: - rvm: 1.9.3 - rvm: 2.0.0 - rvm: ruby-head - rvm: rbx-19mode - rvm: jruby-19mode env: JRUBY_OPTS="$JRUBY_OPTS --debug" - rvm: jruby-head...
```yaml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" rvm: - 1.9.3 - 2.0.0 - ruby-head - rbx-19mode matrix: include: - rvm: jruby-19mode env: JRUBY_OPTS="$JRUBY_OPTS --debug" - rvm: jruby-head env: JRUBY_OPTS=...
cd93c9ce-cb71-4e9a-b5e2-5538d3abe929
{ "language": "YAML" }
```yaml language: java jdk: oraclejdk7 script: mvn clean verify -U -B -fae branches: only: - mavenbuild ``` Revert to build without tests
```yaml language: java jdk: oraclejdk7 script: mvn clean verify -U -B -fae -DskipTests branches: only: - mavenbuild ```
ee48f167-6555-4268-a1c9-a6516cfd9734
{ "language": "YAML" }
```yaml sudo: false language: php dist: trusty php: - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 before_script: - if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then composer require satooshi/php-coveralls:1.* squizlabs/php_codesniffer:2.* -n ; fi - if [[ "$TRAVIS_PHP_VERSION" == '7.1' ]]; then composer require phpstan/ph...
```yaml sudo: false language: php dist: trusty php: - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 before_script: - if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then composer require satooshi/php-coveralls:1.* squizlabs/php_codesniffer:2.* -n ; fi - if [[ "$TRAVIS_PHP_VERSION" == '7.1' ]]; then composer require phpstan/ph...
41700008-f1c7-4c5c-8fc4-b5b00a81da95
{ "language": "YAML" }
```yaml sudo: required dist: trusty language: generic env: global: - "BUILD_NUMBER=$TRAVIS_BUILD_NUMBER" - "BUILD_DIR=$TRAVIS_BUILD_DIR" - "TRAVIS_MSBUILD_MODE=framework" - "TRAVIS_MSBUILD=./travis-msbuild" - "TRAVIS_MSBUILD_BIN=$TRAVIS_MSBUILD/bin" - "TRAVIS_MSBUILD_...
```yaml sudo: false dist: trusty language: csharp env: global: - "BUILD_NUMBER=$TRAVIS_BUILD_NUMBER" - "BUILD_DIR=$TRAVIS_BUILD_DIR" script: - xbuild /p:Configuration=Release ```
b2f2f13f-abbb-41b0-8854-985dd5b0058a
{ "language": "YAML" }
```yaml --- language: node_js node_js: - '4' - '5' - '6' install: true env: - TYPECHECK=. - TYPECHECK=scripts/babel-relay-plugin - TEST=. - TEST=scripts/babel-relay-plugin script: - | if [ $TYPECHECK ]; then cd $TYPECHECK && npm install && npm run typecheck fi if [ $TEST ]; then cd $TEST && npm ...
```yaml --- language: node_js node_js: - '4' - '5' - '6' install: true env: - TEST=. - TEST=scripts/babel-relay-plugin - TYPECHECK=. - TYPECHECK=scripts/babel-relay-plugin script: - | if [ $TEST ]; then cd $TEST && npm install && npm run jest -- --runInBand --no-watchman fi - | if [ $TYPECHECK ]; then...