doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
dae9210b-b737-4897-9f03-18606f3fd4a0
{ "language": "YAML" }
```yaml --- - name: Testing Playbook hosts: all gather_facts: no tasks: - name: Test task register: test_msg changed_when: "'Test' in test_msg.stderr" shell: echo 'Test'``` Use Ansible's local connection option for tests
```yaml --- - name: Testing Playbook hosts: all gather_facts: no connection: local tasks: - name: Test task register: test_msg changed_when: "'Test' in test_msg.stderr" shell: echo 'Test'```
ab6947c2-caa1-4afc-8d85-47784f891ae2
{ "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 ...
c0d52dc0-a12c-4055-a32d-517c4b2dd059
{ "language": "YAML" }
```yaml language: ruby before_install: gem install bundler rvm: - 1.9.3 - 2.0.0 branches: only: - master - production notifications: email: recipients: - api-versions@erichmenge.com env: - RAILS_VERSION=3.0.17 - RAILS_VERSION=3.1.8 - RAILS_VERSION=3.2.9 ``` Allow 2.0.0 preview to fa...
```yaml language: ruby before_install: gem install bundler rvm: - 1.9.3 - 2.0.0 branches: only: - master - production notifications: email: recipients: - api-versions@erichmenge.com env: - RAILS_VERSION=3.0.17 - RAILS_VERSION=3.1.8 - RAILS_VERSION=3.2.9 matrix: allow_failures: ...
cfa6e63c-662b-413b-a355-1623a017c57b
{ "language": "YAML" }
```yaml # travis file # https://docs.travis-ci.com/user/customizing-the-build language: node_js node_js: - 8.1.0 env: - CXX=g++-4.8 NODE_ENV=production addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - graphicsmagick cache: directories: # パッケージをキャッシュすると本来は動...
```yaml # travis file # https://docs.travis-ci.com/user/customizing-the-build language: node_js node_js: - 7.10.0 env: - CXX=g++-4.8 NODE_ENV=production addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - graphicsmagick cache: directories: # パッケージをキャッシュすると本来は...
7a27103f-b86f-4758-aea5-e15f1ddb99b0
{ "language": "YAML" }
```yaml --- dependencies: [] galaxy_info: author: fubarhouse description: Installs NVM, NodeJS and NPM packages. license: "license (BSD, MIT)" min_ansible_version: 2.1.0.0 platforms: - name: Debian versions: - wheezy - jessie - stretch - name: EL versions: - 6 - 7 - name: Fe...
```yaml --- dependencies: [] galaxy_info: author: fubarhouse description: Installs NVM, NodeJS and NPM packages. license: "license (BSD, MIT)" min_ansible_version: 2.1.0.0 platforms: - name: Debian versions: - wheezy - jessie - stretch - name: EL versions: - 6 - 7 ...
2cd85f0c-7add-48be-8460-f601a29570dc
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" env: - TOX_ENV=py36-django111 - TOX_ENV=py35-django111 - TOX_ENV=py34-django111 - TOX_ENV=py27-django111 - TOX_ENV=py35-django110 - TOX_ENV=py34-django110 - TOX_ENV=py27-django110 - TOX_ENV=py35-django19 - TOX_ENV=py3...
```yaml language: python python: 3.6 env: - TOX_ENV=py36-django111 - TOX_ENV=py35-django111 - TOX_ENV=py34-django111 - TOX_ENV=py27-django111 - TOX_ENV=py35-django110 - TOX_ENV=py34-django110 - TOX_ENV=py27-django110 - TOX_ENV=py35-django19 - TOX_ENV=py34-django19 - TOX_ENV=py27-django19 - TOX_E...
7989bce2-4ea6-4cfa-9380-f4c65ba2fc02
{ "language": "YAML" }
```yaml language: ruby services: - mongodb before_install: - gem install bundler gemfile: - Gemfile - Gemfile.rails4 rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - jruby-19mode notifications: email: recipients: - lest@brainspec.com - nashby@brainspec.com - dreamfall@brainspec.com ``` Excl...
```yaml language: ruby services: - mongodb before_install: - gem install bundler gemfile: - Gemfile - Gemfile.rails4 rvm: - 1.9.3 - 2.0.0 - 2.1 - 2.2 - jruby-19mode matrix: exclude: - rvm: 2.2 gemfile: Gemfile notifications: email: recipients: - lest@brainspec.com - nashb...
9fe0da61-f694-4f86-a71f-bb7ea9e84a34
{ "language": "YAML" }
```yaml env: - CXX=g++-4.8 language: node_js node_js: - "8" - "10" addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.8 - g++-4.8 install: npm install before_install: - npm install -g npm - npm install -g greenkeeper-lockfile@1 before_script: greenkeeper-lockfile-update after_...
```yaml env: - CXX=g++-4.8 language: node_js node_js: - "8" - "10" addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.8 - g++-4.8 install: npm install before_install: - npm install -g npm@6.1.0 - npm install -g greenkeeper-lockfile@1 before_script: greenkeeper-lockfile-update ...
1bfa326a-3760-4d5f-8179-5da65fc37e79
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 env: - "RAILS_VERSION=3.2.0" - "RAILS_VERSION=4.0.0" - "RAILS_VERSION=4.1.0"``` Test w/ ruby 2.2 and rails 4.2.0
```yaml language: ruby matrix: include: - rvm: 1.9.3 env: "RAILS_VERSION=3.2.0" - rvm: 2.0.0 env: "RAILS_VERSION=4.0.0" - rvm: 2.1.2 env: "RAILS_VERSION=4.1.0" - rvm: 2.2.0 env: "RAILS_VERSION=4.2.0" ```
163eebd4-f299-45e0-86e5-56018b9f70c9
{ "language": "YAML" }
```yaml language: perl perl: - 5.14 - 5.16 - 5.18 ``` Add Perl v5.20 to Travis
```yaml language: perl perl: - 5.14 - 5.16 - 5.18 - 5.20 ```
70592318-3fab-48bf-bbcc-1201a7c14b1b
{ "language": "YAML" }
```yaml language: python python: - "3.4" - "3.5" - "3.6" env: matrix: - DJANGO="Django>=1.8,<1.9" # 1.8 - DJANGO="Django>=1.9,<1.10" # 1.9 - DJANGO="Django>=1.10,<1.11" # 1.10 - DJANGO="Django>=1.11,<1.12" # 1.11 - DJANGO="Django>=2.0,<2.1" # 2.0 - DJANGO="Django>=2.1,<2.2" # 2.0 cach...
```yaml language: python python: - "3.4" - "3.5" - "3.6" env: matrix: - DJANGO="Django>=1.8,<1.9" # 1.8 - DJANGO="Django>=1.9,<1.10" # 1.9 - DJANGO="Django>=1.10,<1.11" # 1.10 - DJANGO="Django>=1.11,<1.12" # 1.11 - DJANGO="Django>=2.0,<2.1" # 2.0 - DJANGO="Django>=2.1,<2.2" # 2.0 cach...
292c7c15-1c80-4657-a9be-61f534c845bf
{ "language": "YAML" }
```yaml language: generic dist: trusty services: - docker env: - VERSION=stable COMMAND="cargo build" - VERSION=nightly COMMAND="cargo clippy -- -Dclippy" - VERSION=nightly COMMAND="cargo fmt -- --write-mode=diff" - VERSION=nightly COMMAND="cargo build --release" before_install: - docker pull undeadleech/xc...
```yaml language: generic dist: trusty services: - docker env: - VERSION=stable COMMAND="cargo build" - VERSION=nightly COMMAND="cargo clippy -- -Dclippy" - VERSION=nightly COMMAND="cargo fmt -- --write-mode=diff" - VERSION=nightly COMMAND="cargo build" - VERSION=nightly COMMAND="cargo build --release" - ...
43613a0e-d2d1-46b8-acf3-309c05a091c6
{ "language": "YAML" }
```yaml --- language: ruby matrix: include: - rvm: "1.9.3-p545" env: COMMAND=rake - rvm: "1.9.2" env: COMMAND=rspec install: bundle install --deployment --without debug script: bundle exec $COMMAND ``` Disable tests for Ruby 1.9.2
```yaml --- language: ruby matrix: include: - rvm: "1.9.3-p545" env: COMMAND=rake # - rvm: "1.9.2" # env: COMMAND=rspec install: bundle install --deployment --without debug script: bundle exec $COMMAND ```
66a4552a-c8d2-4277-8b36-0e687385d312
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-19mode # - rbx-19mode``` Add Ruby 2.1.0 for testing
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode ```
b6912a12-2dbb-45bb-9128-50217bd429cb
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.5" # command to install dependencies before_install: ./configure install: make # command to run tests script: make test addons: apt: packages: - nginx``` Exclude Python 2.7 from Travis build matrix.
```yaml language: python python: - "3.5" # command to install dependencies before_install: ./configure install: make # command to run tests script: make test addons: apt: packages: - nginx ```
38080a51-1a68-4be4-9c28-fad68d86e9a6
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - "0.10" ``` Add node.js 0.12 on Travis CI
```yaml sudo: false language: node_js node_js: - "0.12" - "0.10" ```
5ce6413a-7f8f-4237-99cf-945569be55f5
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode8.2 env: global: - SDK=iphonesimulator10.2 - WORKSPACE=Withings-SDK-iOS.xcworkspace - FRAMEWORK_SCHEME=Withings-SDK-iOS - EXAMPLE_SCHEME=Withings-SDK-iOS-Demo matrix: - DESTINATION="OS=10.2,name=iPhone 7 Plus" - DESTINATION="OS=9.3,name=iPhone 6" - D...
```yaml language: objective-c osx_image: xcode8.2 env: global: - SDK=iphonesimulator10.2 - WORKSPACE=Withings-SDK-iOS.xcworkspace - FRAMEWORK_SCHEME=Withings-SDK-iOS - EXAMPLE_SCHEME=Withings-SDK-iOS-Demo matrix: - DESTINATION="id=8188B40E-F57F-4519-AC47-E43D884B9016,OS=10.2,name=iPhone 7 Plus" - DE...
338aae7b-6d2e-4ec4-8144-89455e09936b
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - "0.12" addons: firefox: "47.0" notifications: irc: channels: - "irc.mozilla.org#pageshot" on_success: change template: - "%{message}: %{repository}#%{build_number} (%{branch} - %{commit} : %{author}) %{build_url}" before_install: - "exp...
```yaml sudo: false language: node_js node_js: - "0.12" cache: bundler: true directories: - node_modules addons: firefox: "47.0" notifications: irc: channels: - "irc.mozilla.org#pageshot" on_success: change template: - "%{message}: %{repository}#%{build_number} (%{branch} - %{comm...
7479e237-9eb7-490c-bf4b-a64e90824c84
{ "language": "YAML" }
```yaml env: global: - JRUBY_OPTS="$JRUBY_OPTS --debug" language: ruby script: bundle exec rspec before_install: gem update bundler matrix: include: - rvm: 1.9.3 gemfile: Gemfile - rvm: 2.0.0 gemfile: Gemfile - rvm: 2.1 gemfile: Gemfile - rvm: 2.2 gemfile: Gemfile - r...
```yaml env: global: - JRUBY_OPTS="$JRUBY_OPTS --debug" language: ruby script: bundle exec rspec before_install: gem update bundler matrix: include: - rvm: 1.9.3 gemfile: Gemfile - rvm: 2.0.0 gemfile: Gemfile - rvm: 2.1 gemfile: Gemfile - rvm: 2.2 gemfile: Gemfile - r...
0da02a61-87c6-4fc3-ac69-a6a9718a1d8c
{ "language": "YAML" }
```yaml language: python python: - "3.3" - "2.7" # - "pypy" # Install flake8 install: - pip install -r requirements.txt --use-mirrors before_script: - python tests.py write script: - flake8 --max-complexity 10 linescan.py - python tests.py ``` Test tests.py against flake8 too
```yaml language: python python: - "3.3" - "2.7" # - "pypy" # Install flake8 install: - pip install -r requirements.txt --use-mirrors before_script: - python tests.py write script: - flake8 --max-complexity 10 linescan.py - flake8 --max-complexity 10 tests.py - python tests.py ```
260e0357-4481-4e8e-9443-4dac5fe581e4
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" - "0.12" - "iojs" notifications: email: false ``` Remove iojs from build matrix
```yaml language: node_js node_js: - "0.10" - "0.12" notifications: email: false ```
59f9aef4-c009-41e7-b4d2-33ec00abdf0e
{ "language": "YAML" }
```yaml language: rust rust: 1.0.0-beta after_success: | [ $TRAVIS_BRANCH = master ] && \ [ $TRAVIS_PULL_REQUEST = false ] && \ cargo doc && \ echo "<meta http-equiv=refresh content=0;url=lines/index.html>" > target/doc/index.html && \ sudo pip install ghp-import && \ ghp-import -n target/doc && \ git pus...
```yaml language: rust rust: 1.0.0-beta.3 after_success: | [ $TRAVIS_BRANCH = master ] && \ [ $TRAVIS_PULL_REQUEST = false ] && \ cargo doc && \ echo "<meta http-equiv=refresh content=0;url=lines/index.html>" > target/doc/index.html && \ sudo pip install ghp-import && \ ghp-import -n target/doc && \ git p...
a03af892-5ee9-450b-be70-6ab3d4174a51
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.6" env: - TRAVIS_NODE_VERSION="6" - TRAVIS_NODE_VERSION="8" install: - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VER...
```yaml language: python python: - "2.7" - "3.6" env: - TRAVIS_NODE_VERSION="6" - TRAVIS_NODE_VERSION="8" install: - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VER...
851af8aa-57fe-42fb-b843-501e503958ac
{ "language": "YAML" }
```yaml language: python python: - "2.7" install: "pip install -q -r requirements.txt" script: - cd documentation; sphinx-build -nW -b html source build - flake8 --select E . ``` Reset flake8 to default option.
```yaml language: python python: - "2.7" install: "pip install -q -r requirements.txt" script: - cd documentation; sphinx-build -nW -b html source build - flake8 . ```
d91bf87c-eff5-465b-9f40-3dc653ff1801
{ "language": "YAML" }
```yaml language: node_js node_js: - '6' env: global: - CI=true - NODE_ENV=test - AWS_REGION=us-west-2 before_install: # Repo for Yarn - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list...
```yaml language: node_js node_js: - '6' env: global: - CI=true - NODE_ENV=test - AWS_REGION=us-west-2 before_install: # Repo for Yarn - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list...
b04c699e-1ab7-44b1-8c2d-2cc223368c4c
{ "language": "YAML" }
```yaml language: cpp os: - linux before_install: # g++4.8.1 - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi # clang 3.4 - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi - sudo apt-get update -qq install: - sudo apt-get inst...
```yaml language: cpp os: - linux 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: - sudo apt-get install -qq gnulib - sudo apt...
c2ccf158-6a8e-48bb-8931-a817ae273ded
{ "language": "YAML" }
```yaml language: java sudo: false jdk: - oraclejdk7 install: "./installViaTravis.sh" script: "./buildViaTravis.sh" cache: directories: - "$HOME/.gradle/caches/" before_install: - test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_cb6c1fbf7ffb_key -iv $encrypted_cb6c1fbf7ffb_iv -in gradle.prop...
```yaml language: java sudo: false jdk: - oraclejdk7 install: "./installViaTravis.sh" script: "./buildViaTravis.sh" cache: directories: - "$HOME/.gradle/caches/" before_install: - test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_cb6c1fbf7ffb_key -iv $encrypted_cb6c1fbf7ffb_iv -in gradle.prop...
cc81467f-6796-4c0d-bbe3-2b025c77e2c7
{ "language": "YAML" }
```yaml language: php before_script: - composer install --prefer-source script: phpunit php: - 5.3 - 5.4 - 5.5 - hhvm ``` Add PHP 5.6 and 7 on Travis
```yaml language: php before_script: - composer install --prefer-source script: phpunit php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm ```
6bb802bd-9350-466f-bee3-89d5bc2ad465
{ "language": "YAML" }
```yaml language: go script: - go test -v ./... go: - 1.3.3 - 1.4.3 - 1.5.2 install: - go get gopkg.in/fsnotify.v1 - go get gopkg.in/tomb.v1 ``` Add race detection on Travis CI
```yaml language: go script: - go test -race -v ./... go: - 1.3.3 - 1.4.3 - 1.5.2 install: - go get gopkg.in/fsnotify.v1 - go get gopkg.in/tomb.v1 ```
d47e9369-b148-4947-a595-0c82d64a76ed
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 script: RAILS_ENV=test rake spec ``` Add JRuby to build matrix.
```yaml language: ruby rvm: - 1.9.3 - jruby-19mode script: RAILS_ENV=test rake spec ```
1dcfd1c4-c23b-4f65-a2f3-8ff55026d5f8
{ "language": "YAML" }
```yaml sudo: required os: - linux - osx language: python python: - "2.7" - "3.4" - "3.5" - "3.6" # versions of java to test (for parsers) before_install: - sudo apt-get update - sudo apt-get install oracle-java8-installer oracle-java8-set-default # command to install dependencies install: - pip insta...
```yaml sudo: required language: python python: - "2.7" - "3.4" - "3.5" - "3.6" # versions of java to test (for parsers) before_install: - sudo apt-get update - sudo apt-get install oracle-java8-installer oracle-java8-set-default # command to install dependencies install: - pip install --upgrade pip setup...
08c53800-4737-4b58-a8f9-bad27eec5500
{ "language": "YAML" }
```yaml language: node_js node_js: - '0.12' before_install: - npm install -g grunt-cli install: script/deps.sh script: - script/build.sh - script/test.sh before_deploy: script/deploy.sh deploy: provider: releases api_key: secure: K5SwhcI8qO9GBYw98lzuN/pvrN27IoTH1NfTQqLRpQoWfFn3gbqKIoVlrWZb5YNiR1jWCtCZxLnYF/PV4I...
```yaml language: node_js node_js: - '0.12' before_install: - npm install -g grunt-cli install: script/deps.sh script: - script/build.sh - script/test.sh before_deploy: script/deploy.sh deploy: provider: releases api_key: secure: K5SwhcI8qO9GBYw98lzuN/pvrN27IoTH1NfTQqLRpQoWfFn3gbqKIoVlrWZb5YNiR1jWCtCZxLnYF/PV4I...
540a3b67-806e-4967-87a6-e739c013ab1b
{ "language": "YAML" }
```yaml dist: bionic language: go go_import_path: github.com/godbus/dbus go: - 1.10.x - 1.11.x - 1.12.x - tip env: global: matrix: - TARGET=amd64 - TARGET=arm64 - TARGET=arm - TARGET=386 - TARGET=ppc64le matrix: fast_finish: true allow_failures: - go: tip exclude: - go: tip ...
```yaml dist: bionic language: go go_import_path: github.com/godbus/dbus go: - 1.11.x - 1.12.x - 1.13.x - tip env: global: matrix: - TARGET=amd64 - TARGET=arm64 - TARGET=arm - TARGET=386 - TARGET=ppc64le matrix: fast_finish: true allow_failures: - go: tip exclude: - go: tip ...
5116c80b-1830-4dc4-b8af-7919abc89d62
{ "language": "YAML" }
```yaml language: node_js node_js: - "9" - "8" - "7" - "6" - "5" sudo: false before_install: - npm i -g makeshift && makeshift -s @bcoe -r https://registry.npmjs.org script: - npm run test-with-cov before_deploy: - git config --global user.name 'Travis CI' - git config --global user.email 'travis@r...
```yaml language: node_js node_js: - "9" - "8" - "7" - "6" - "5" sudo: false before_install: - npm i -g makeshift && makeshift -s @bcoe -r https://registry.npmjs.org script: - npm run test-with-cov before_deploy: - git config --global user.name 'Travis CI' - git config --global user.email 'travis@r...
d1aae726-44bd-4ac6-a93c-4149510fab34
{ "language": "YAML" }
```yaml sudo: false 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 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 ```
f16104a0-bfa4-4d9b-accb-09b724540135
{ "language": "YAML" }
```yaml language: go sudo: false go: - 1.8.x - 1.9.x - master services: - docker cache: directories: - vendor - webroot/node_modules before_install: - nvm install 6.11.0 - nvm use 6.11.0 - npm install -g yarn install: - make deps-install - cd webroot && make yarn-install && cd .. scri...
```yaml language: go sudo: false go: - 1.8.x - 1.9.x - master services: - docker cache: directories: - vendor - webroot/node_modules before_install: - nvm install 6.11.0 - nvm use 6.11.0 - npm install -g yarn install: - make deps-install - cd webroot && make yarn-install && cd .. scri...
3d76d0e5-83fb-4de8-a32e-776e39de86b8
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9 - 2.0 - 2.1 - 2.2 - 2.3.0 - rbx-2 - rbx-3.26 - jruby-19mode - jruby-9.0.5 jdk: - openjdk6 - openjdk7 - openjdk8 - oraclejdk7 - oraclejdk8 before_install: - gem install bundler ``` Remove OpenJDK 8 again for Travis CI as it is not supported
```yaml language: ruby rvm: - 1.9 - 2.0 - 2.1 - 2.2 - 2.3.0 - rbx-2 - rbx-3.26 - jruby-19mode - jruby-9.0.5 jdk: - openjdk6 - openjdk7 - oraclejdk7 - oraclejdk8 before_install: - gem install bundler ```
67f143d1-81ef-4602-b735-95f31332d714
{ "language": "YAML" }
```yaml language: python notifications: email: - alkemic7+travis-ci-notifications@gmail.com python: - "2.7" - "2.6" install: - pip install coverage - pip install coveralls - pip install nose - python setup.py install script: - nosetests --with-coverage --cover-package=scrapper after_success: ...
```yaml language: python notifications: email: - alkemic7+travis-ci-notifications@gmail.com python: - "2.7" install: - pip install coverage - pip install coveralls - pip install nose - python setup.py install script: - nosetests --with-coverage --cover-package=scrapper after_success: - coverall...
15329ccf-f03d-484d-93c4-f7f64b0778cc
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.3.4 - 2.2.7 - 2.1.10 before_install: - gem update --remote bundler - gem update --system sudo: false bundler_args: --without=guard notifications: disabled: true ``` Test against Ruby 2.4 and 2.5
```yaml language: ruby rvm: - 2.5.0 - 2.4.3 - 2.3.6 - 2.2.9 - 2.1.10 before_install: - gem update --remote bundler - gem update --system sudo: false bundler_args: --without=guard notifications: disabled: true ```
81c1ceb6-a966-4fc9-ba2c-3263b3de8f5e
{ "language": "YAML" }
```yaml language: cpp # enabling multi platform build (under travis beta) # requires emailing support@travis-ci.com for this to be enabled for our repo # http://docs.travis-ci.com/user/multi-os/ matrix: include: - os: osx env: PLATFORM=osx compiler: clang - os: osx env...
```yaml language: cpp # enabling multi platform build (under travis beta) # requires emailing support@travis-ci.com for this to be enabled for our repo # http://docs.travis-ci.com/user/multi-os/ matrix: include: - os: osx env: PLATFORM=osx compiler: clang - os: osx env...
45fac83f-f319-428f-8b52-f77c9b197413
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" - "3.5" - "3.6" # command to install dependencies install: "pip install pep8" # command to run tests script: python ./tests/pep8-git-pr-checker ``` Add the test suite to Travis.
```yaml language: python python: - "2.6" - "2.7" - "3.5" - "3.6" # command to install dependencies install: - pip install pep8 setuptools - python setup.py install script: # Stye Check - python ./tests/pep8-git-pr-checker # Automated Testing - python -m unittest discover tests -v ```
c0c2785f-db2b-461d-a754-58fa138e9dc7
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "pypy" # Use container-based infrastructure sudo: false install: # Coveralls 4.0 doesn't support Python 3.2 - if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install coverage==3.7.1; fi - if [ "$TRAVIS_PYTHON_VERSION" != "3.2"...
```yaml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" - "3.6-dev" - "3.7-dev" - "nightly" - "pypy" # Use container-based infrastructure sudo: false install: # Coveralls 4.0 doesn't support Python 3.2 - if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install coverage==3.7.1; f...
fd3abed2-ea88-4258-a81d-e34168902827
{ "language": "YAML" }
```yaml language: cpp compiler: gcc before_install: - sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe" - sudo apt-get clean - sudo apt-get update -qq - sudo apt-get install -qq build-essential cmake libboost-filesystem-dev libboost-log-dev libboost-system-dev libssl-dev bef...
```yaml language: cpp compiler: gcc before_install: - sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe" - sudo apt-get clean - sudo apt-get update -qq - if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-4.8-dev; fi - if [ "$CXX" = "g++" ]; then sudo apt-ge...
467a984d-66eb-4410-826d-8baef05c3bb8
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 1.9.2 gemfile: - ".gemfiles/Gemfile.rails-3.1.x" - ".gemfiles/Gemfile.rails-3.2.x" ``` Add Ruby 2.0.0 to Travis-CI build
```yaml language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2 gemfile: - ".gemfiles/Gemfile.rails-3.1.x" - ".gemfiles/Gemfile.rails-3.2.x" ```
31662eff-78bf-4645-8212-a7278e9d539e
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 env: - PUPPET_VERSION=2.6.18 - PUPPET_VERSION=2.7.21 - PUPPET_VERSION=3.0.2 - PUPPET_VERSION=3.1.1 - PUPPET_VERSION=3.2.1 ``` Exclude Ruby 1.9.*/Puppet 2.6.18 from build matrix
```yaml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 env: - PUPPET_VERSION=2.6.18 - PUPPET_VERSION=2.7.21 - PUPPET_VERSION=3.0.2 - PUPPET_VERSION=3.1.1 - PUPPET_VERSION=3.2.1 matrix: exclude: - rvm: 1.9.2 env: PUPPET_VERSION=2.6.18 - rvm: 1.9.3 env: PUPPET_VERSION=2.6.18 ```
a2799d1d-4dc8-4062-88ab-72a0765b509f
{ "language": "YAML" }
```yaml language: go sudo: false go: - 1.6 - 1.7 - 1.8 services: - mysql - postgresql before_install: - mysql -e "CREATE DATABASE IF NOT EXISTS test;" -uroot - mysql -e "CREATE DATABASE IF NOT EXISTS test_env;" -uroot - psql -c "CREATE DATABASE test;" -U postgres install: - go g...
```yaml language: go sudo: false go: - 1.8 services: - mysql - postgresql before_install: - mysql -e "CREATE DATABASE IF NOT EXISTS test;" -uroot - mysql -e "CREATE DATABASE IF NOT EXISTS test_env;" -uroot - psql -c "CREATE DATABASE test;" -U postgres install: - go get -t ./... - go...
0c8f88c9-bb55-481f-ad93-1526fc276219
{ "language": "YAML" }
```yaml language: erlang script: make test otp_release: - R15B01 - R15B ``` Build against "older" Erlang/OTP release
```yaml language: erlang script: make test otp_release: - R15B01 - R15B - R14B04 - R14B03 - R14B02 ```
e2a662b5-225d-4c6a-bedc-103bb2b878e5
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" script: "node node_modules/grunt-cli/bin/grunt test:travis" before_script: - npm install -g bower - bower install``` Add HipChat notification to Travis build.
```yaml language: node_js node_js: - "0.10" script: "node node_modules/grunt-cli/bin/grunt test:travis" before_script: - npm install -g bower - bower install notifications: hipchat: rooms: secure: "dPDcvtGQXXzdj31ftZkRShrn+l1TCnTEPTdr6YVAfzAI1Ashzhr4yGvnNfMs\n4lbxYDJfRxpTO5Xd1Hte5HH7c0ijoHEGjajySSl43+...
f73b03fb-5e6f-46de-81c6-a27d9c009dd2
{ "language": "YAML" }
```yaml script: rake ci rvm: - 1.9.3 - 2.0.0 - 2.1.0 - ruby-head - jruby - jruby-head - rbx matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: rbx notifications: irc: "irc.freenode.org#celluloid" ``` Allow JRuby failures on Travis
```yaml script: rake ci rvm: - 1.9.3 - 2.0.0 - 2.1.0 - ruby-head - jruby - jruby-head - rbx matrix: allow_failures: - rvm: ruby-head - rvm: jruby - rvm: jruby-head - rvm: rbx notifications: irc: "irc.freenode.org#celluloid" ```
fcb57ecb-9645-44f7-a78a-76427b74d06c
{ "language": "YAML" }
```yaml --- language: ruby dist: trusty sudo: true before_install: - rvm get head - gem install bundler - export CXX="g++-4.8" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 rvm: - 2.2.4 - 2.3.1 - ruby-head - rbx-2 - jruby-9.1.0.0 - jruby-head sudo: false matrix: ...
```yaml --- language: ruby dist: trusty sudo: true before_install: - rvm get head - gem install bundler - export CXX="g++-4.8" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 rvm: - 2.2.4 - 2.3.1 - ruby-head - rbx - jruby-9.1.0.0 - jruby-head sudo: false matrix: al...
0f57c619-5bb5-4144-96ca-a95dd39da84a
{ "language": "YAML" }
```yaml language: android sudo: false android: components: - 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 script: - ./gradlew :library:buil...
```yaml language: android sudo: false jdk: - oraclejdk8 android: components: - 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 script: - ./g...
f61d8259-de98-4841-8fe0-d3a98e3ad1db
{ "language": "YAML" }
```yaml language: ruby install: script/bootstrap script: script/test rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1 - jruby-18mode - jruby-19mode - jruby-head matrix: allow_failures: # "A fatal error has been detected by the Java Runtime Environment: # Internal Error (sharedRuntime.cpp:843)" - rvm: jr...
```yaml sudo: false language: ruby install: script/bootstrap script: script/test rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1 - jruby-18mode - jruby-19mode - jruby-head matrix: allow_failures: # "A fatal error has been detected by the Java Runtime Environment: # Internal Error (sharedRuntime.cpp:843)" ...
feec42b3-c39e-4052-9187-5402ec14e1c2
{ "language": "YAML" }
```yaml language: cpp compiler: gcc dist: trusty node_js: "5" before_install: - sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y - sudo apt-get update -qq - sudo apt-get install -y gcc-arm-embedded - sudo apt-get install -y cmake cmake-data - cmake --version - node --version install: - npm insta...
```yaml language: cpp compiler: gcc dist: trusty node_js: "5" before_install: - sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y - sudo apt-get update -qq - sudo apt-get install -y gcc-arm-embedded # From https://github.com/boostorg/hana/blob/master/.travis.yml - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" ...
b5b88aca-2b3c-4157-a042-bda310a0d574
{ "language": "YAML" }
```yaml language: node_js node_js: - 6 # NodeJS v4+ requires gcc 4.8 # https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements env: - NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8" services: - mongodb sudo: false # gcc 4.8 requires ubuntu-toolchain-r-test addons...
```yaml language: node_js node_js: - 6 # NodeJS v4+ requires gcc 4.8 # https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements env: - NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8" services: - mongodb sudo: false # gcc 4.8 requires ubuntu-toolchain-r-test addons...
858c379b-6c16-4d73-81b6-0faf393e8b3d
{ "language": "YAML" }
```yaml language: jruby rvm: - 1.7.16.1 script: - bundle exec rake db:migrate RAILS_ENV=test - bundle exec rspec -fd before_script: - cp config/database.travis.yml config/database.yml - cp config/shards.travis.yml config/shards.yml - cp config/secrets.travis.yml config/secrets.yml #branches: # only: # -...
```yaml language: jruby rvm: - 1.7.16.1 script: - bundle exec rake db:drop db:create db:migrate RAILS_ENV=test - bundle exec rspec -fd before_script: - cp config/database.travis.yml config/database.yml - cp config/shards.travis.yml config/shards.yml - cp config/secrets.travis.yml config/secrets.yml #branche...
9ab77125-fb7a-468c-bd31-47cdc80e1c79
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.8" - "0.10" - "0.11" ``` Test against Node .10 and .11 only
```yaml language: node_js node_js: - "0.10" - "0.11" ```
b4c3f653-683a-4c53-bb35-3451b8205e6a
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" - "0.11" script: "npm run-script test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" ``` Test up to Nodejs 8 with Travis
```yaml language: node_js node_js: - "0.10" - "0.12" - "4" - "6" - "8" matrix: fast_finish: true allow_failures: - node_js: '4' - node_js: '6' - node_js: '8' script: "npm run-script test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" ```
b1baa3f7-9509-46d6-a292-c532c7768c18
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 env: - CAKE_VERSION=master - CAKE_VERSION=2.3 before_script: - sh -c "mysql -e 'CREATE DATABASE cakephp_test;'" - git clone --depth 1 git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp && git checkout $CAKE_VERSION - cp -R ../asset_compress plugins/Asset...
```yaml language: php php: - 5.3 env: - CAKE_VERSION=master - CAKE_VERSION=2.3 before_script: - sh -c "mysql -e 'CREATE DATABASE cakephp_test;'" - git clone --depth 1 git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp && git checkout $CAKE_VERSION - cp -R ../asset_compress plugins/AssetCompress...
a612c6b6-191e-408d-831d-a6dc784f3d9c
{ "language": "YAML" }
```yaml env: global: - CC_TEST_REPORTER_ID=abf0a371ff8851f13b563671914b195bb46f0997f0f93142e666d9acad08e22f language: ruby rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 before_install: - gem update bundler install: - bundle install --jobs=3 --retry=3 - gem install rubocop before_script: - curl -L http...
```yaml env: global: - CC_TEST_REPORTER_ID=abf0a371ff8851f13b563671914b195bb46f0997f0f93142e666d9acad08e22f language: ruby rvm: - 2.3 - 2.4 - 2.5 - 2.6 before_install: - gem update bundler install: - bundle install --jobs=3 --retry=3 - gem install rubocop before_script: - curl -L https://code...
dbb7c187-5b7b-43cc-8dcb-09c8f849c360
{ "language": "YAML" }
```yaml language: ruby branches: only: - master rvm: - 1.9.3 - "2.0" - "2.1" - ruby-head gemfile: - gemfiles/rails30.gemfile - gemfiles/rails31.gemfile - gemfiles/rails32.gemfile - gemfiles/rails40.gemfile - gemfiles/rails41.gemfile env: global: secure: | # CODECLIMATE_REPO_TOKEN TvV...
```yaml language: ruby branches: only: - master rvm: - 2.1 - 2.2.4 - 2.3.0 - ruby-head gemfile: - gemfiles/rails30.gemfile - gemfiles/rails31.gemfile - gemfiles/rails32.gemfile - gemfiles/rails40.gemfile - gemfiles/rails41.gemfile env: global: secure: | # CODECLIMATE_REPO_TOKEN TvVAT...
9e438457-04fa-44e2-be96-139c586482a6
{ "language": "YAML" }
```yaml language: node_js sudo: required dist: trusty before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install node_js: stable addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable ...
```yaml language: node_js sudo: required dist: trusty before_script: - npm install web-component-tester - npm install bower - 'export PATH=$PWD/node_modules/.bin:$PATH' - bower install - "if [ -v JUICY_TATTOO_DEPENDENCY ]; then bower uninstall ${JUICY_TATTOO_DEPENDENCY} ${JUICY_TATTOO_DEPENDENCY_SLUG} --save;...
4605f1dd-64ca-4b3d-a939-670f580d648b
{ "language": "YAML" }
```yaml language: objective-c before_script: - brew update - brew upgrade xctool || true - gem install cocoapods --no-rdoc --no-ri --no-document --quiet - cd $TRAVIS_BUILD_DIR/Tests/OMPromisesTests && pod install script: cd $TRAVIS_BUILD_DIR/Tests/OMPromisesTests && ./run_tests.sh ``` Use XCode 7.2 to ...
```yaml language: objective-c osx_image: xcode7.2 before_script: - brew update - brew upgrade xctool || true - gem install cocoapods --no-rdoc --no-ri --no-document --quiet - cd $TRAVIS_BUILD_DIR/Tests/OMPromisesTests && pod install script: cd $TRAVIS_BUILD_DIR/Tests/OMPromisesTests && ./run_tests.sh `...
3c916452-ab19-4516-91c2-2ad4e869a794
{ "language": "YAML" }
```yaml # stacks/certificate.yml AWSTemplateFormatVersion: "2010-09-09" Description: > Creates a wildcard ACM certificate for the some PRX operated domains Resources: Certificate: Type: AWS::CertificateManager::Certificate Properties: DomainName: "*.prx.tech" DomainValidationOptions: - V...
```yaml # stacks/certificate.yml AWSTemplateFormatVersion: "2010-09-09" Description: > Creates a wildcard ACM certificate for the some PRX operated domains Resources: Certificate: Type: AWS::CertificateManager::Certificate Properties: DomainName: "*.prx.tech" DomainValidationOptions: - V...
52eeeedf-be1f-444c-8e28-ffef37847277
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '11' - '10' - '9' - '8' - '7' - '6' env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8``` Remove Node.js nightly version 11 which is not available on Travis CI.
```yaml sudo: false language: node_js node_js: - '10' - '9' - '8' - '7' - '6' env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8```
eecd0234-3e3d-497b-bf45-a028d3f379b7
{ "language": "YAML" }
```yaml sudo: false rvm: - 2.5.1 language: ruby cache: bundler before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" ``` Install Geckodriver and Firefox in Travis CI.
```yaml sudo: false rvm: - 2.5.1 language: ruby cache: bundler addons: firefox: 54.0 before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz - mkdir geckodriver - tar -xzf geckodri...
b00af0b4-4990-4bfc-933a-2547a1dcdc83
{ "language": "YAML" }
```yaml language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - hhvm-nightly matrix: allow_failures: - php: hhvm-nightly before_script: - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then echo "" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini; fi;' ...
```yaml language: php env: global: - SYMFONY_VERSION="3.4.*" - COMPOSER_FLAGS="--prefer-stable" matrix: include: - php: 5.5 - php: 5.5 env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" - php: 5.6 - php: 7.0 - php: 7.1 env: SYMFONY_VERSION="4.1.*" - php: 7.2 en...
c14fe8dc-dc4c-40f6-baca-9828083c409f
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 test: post: - ./gradlew jacocoTestReport - bash <(curl -s https://codecov.io/bash) ``` Fix Travis configuration for codecov.io
```yaml language: java jdk: - oraclejdk8 script: - ./gradlew check jacocoTestReport after_success: - bash <(curl -s https://codecov.io/bash) ```
309004c1-308c-4411-bdf4-c087c01a96a9
{ "language": "YAML" }
```yaml cache: directories: - /usr/local/lib/python2.7/dist-packages - /home/travis/virtualenv before_install: - mysql -uroot -Dmysql -e 'UPDATE user SET password=PASSWORD("root") WHERE user="root"; FLUSH PRIVILEGES;' install: - sudo -H pip install flake8 - sudo -H ./setup.sh script: - flake8 . - IN...
```yaml cache: directories: - /usr/local/lib/python2.7/dist-packages - /home/travis/virtualenv before_install: - mysql -uroot -Dmysql -e 'UPDATE user SET password=PASSWORD("root") WHERE user="root"; FLUSH PRIVILEGES;' install: - sudo -H pip install flake8 - sudo -H ./setup.sh script: - flake8 --select...
27a2f568-b6a9-406e-ae92-623b80d5673a
{ "language": "YAML" }
```yaml language: go go: - 1.8 install: - mkdir -p $HOME/gopath/src/k8s.io - mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/kube-state-metrics script: - make test-unit - make ``` Split the UT and Build in different Stages
```yaml language: go go: - 1.8 install: - mkdir -p $HOME/gopath/src/k8s.io - mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/kube-state-metrics jobs: include: - stage: Unit Test script: make test-unit - stage: Build script: make ```
52900e49-d926-41f8-97e9-d2909829b378
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.2" - "3.3" - "3.4" install: - pip install -r chassis/development.txt script: - cd chassis - nosetests ``` Test python 2.6 on Travis-CI
```yaml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" install: - pip install -r chassis/development.txt script: - cd chassis - nosetests ```
735f3927-eeea-476b-80d2-5f2004f81ab6
{ "language": "YAML" }
```yaml language: objective-c before_install: - brew update - brew install xctool script: xctool -workspace IYLoginItem.xcworkspace -scheme IYLoginItem clean test``` Use xcodebuild instead of xctool.
```yaml language: objective-c script: xcodebuild -workspace IYLoginItem.xcworkspace -scheme IYLoginItem clean test```
fe52530f-ba9e-4be4-8ef3-879a9cef0293
{ "language": "YAML" }
```yaml sudo: true os: - osx - linux compiler: - gcc - clang install: - .travis/install_openssl.sh `pwd`/libcrypto-build `pwd`/libcrypto-root $TRAVIS_OS_NAME > /dev/null # Install python linked with our compiled Openssl for integration tests - .travis/install_python.sh `pwd`/libcrypto-root > /dev/null ...
```yaml sudo: true os: - osx - linux compiler: - gcc - clang install: - .travis/install_openssl.sh `pwd`/libcrypto-build `pwd`/libcrypto-root $TRAVIS_OS_NAME > /dev/null # Install python linked with our compiled Openssl for integration tests - .travis/install_python.sh `pwd`/libcrypto-root > /dev/null ...
b4e7ae9a-bdcd-456f-ab46-90c189078287
{ "language": "YAML" }
```yaml language: python python: - "3.5" install: - pip install . - pip install -r requirements.txt script: - "nosetests -v 2 httpobs/tests -e insert_test_result -e scored_test -e select_test_results --with-coverage --cover-package=httpobs" - "flake8 --config .flake8 httpobs" ``` Exclude networked retrieval ...
```yaml language: python python: - "3.5" install: - pip install . - pip install -r requirements.txt script: - "nosetests httpobs/tests -e insert_test_result -e scored_test -e select_test_results -e test_retrieve --with-coverage --cover-package=httpobs" - "flake8 --config .flake8 httpobs" ```
210de0a4-c49e-4a73-8549-27a3a89e2c2e
{ "language": "YAML" }
```yaml language: node_js node_js: - "iojs-v1.6" - "iojs-v1.5" - "iojs-v1.4" - "iojs-v1.3" - "iojs-v1.2" - "iojs-v1.1" - "iojs-v1.0" - "0.12" - "0.11" - "0.10" - "0.9" - "0.8" - "0.6" - "0.4" before_install: - '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@1.4.6' matrix: fa...
```yaml language: node_js node_js: - "iojs-v2.1" - "iojs-v2.0" - "iojs-v1.8" - "iojs-v1.7" - "iojs-v1.6" - "iojs-v1.5" - "iojs-v1.4" - "iojs-v1.3" - "iojs-v1.2" - "iojs-v1.1" - "iojs-v1.0" - "0.12" - "0.11" - "0.10" - "0.9" - "0.8" - "0.6" - "0.4" before_install: - '[ "${TRAVIS_NOD...
eec5237f-6e57-463f-a6e1-cab422f5ff3d
{ "language": "YAML" }
```yaml # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may n...
```yaml # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may n...
ad2c8e65-cbc3-4156-8d16-95e20a908e0e
{ "language": "YAML" }
```yaml language: python python: - "3.4" - "3.3" - "2.7" env: - DJANGO_VERSION=1.6.11 - DJANGO_VERSION=1.7.7 install: - pip install -q Django=$DJANGO_VERSION script: python setup.py test``` Fix silly typo in Travis config.
```yaml language: python python: - "3.4" - "3.3" - "2.7" env: - DJANGO_VERSION=1.6.11 - DJANGO_VERSION=1.7.7 install: - pip install -q Django==$DJANGO_VERSION script: python setup.py test```
6bd7edbd-761a-4f25-8be1-a3eae6089d89
{ "language": "YAML" }
```yaml language: python python: - 2.7 notifications: email: - hemperek@uni-bonn.de - janssen@physik.uni-bonn.de before_install: - sudo apt-get update -qq install: - pip install bitarray - pip install pyyaml - wget -O cocotb-master.zip https://github.com/potentialventures/cocotb/archive/mas...
```yaml language: python python: - 2.7 notifications: email: - hemperek@uni-bonn.de - janssen@physik.uni-bonn.de before_install: - sudo add-apt-repository -y ppa:team-electronics/ppa - sudo apt-get update -qq install: - pip install bitarray - pip install pyyaml - wget -O cocotb-master.zip...
78c090a5-62cc-4e6c-8041-1a503dc3532b
{ "language": "YAML" }
```yaml language: node_js node_js: - 4 - 6 - 8 script: npm run test:ci after_script: - node -v | grep "v6" && npm run cover && npm run cover:report addons: code_climate: repo_token: c92188dcdeaca7d9732f8ea38fdd41d6bff18dc27a8d6f8b64a5b1311b7b6c21 chrome: stable packages: - google-chrome-stable - lib...
```yaml language: node_js node_js: - 4 - 6 - 8 script: npm run test:ci after_script: - node -v | grep "v8" && npm run cover && npm run cover:report addons: code_climate: repo_token: c92188dcdeaca7d9732f8ea38fdd41d6bff18dc27a8d6f8b64a5b1311b7b6c21 chrome: stable packages: - google-chrome-stable - lib...
a85608ed-3161-4d1e-bda6-09b358397c66
{ "language": "YAML" }
```yaml language: csharp matrix: include: - os: linux dist: trusty sudo: required env: DOTNETCORE=1 before_install: - sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list' - sudo apt-key adv --keyserver hkp:/...
```yaml language: csharp matrix: include: - os: linux dist: trusty sudo: required env: DOTNETCORE=1 before_install: - sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list' - sudo apt-key adv --keyserver hkp:/...
2d17185f-6263-4f48-ad93-265a8ad8de8b
{ "language": "YAML" }
```yaml rvm: - 1.8.7 - 1.9.3 notifications: email: - code@bootstraponline.com before_install: - sudo apt-get update ``` Drop 1.8.7 support on Travis (It's broken)
```yaml rvm: - 1.9.3 before_install: - sudo apt-get update ```
fcc155d0-ecc9-4eeb-bfcc-a6cbecbed38c
{ "language": "YAML" }
```yaml dist: bionic language: cpp compiler: gcc script: - cd test - make - timeout 60 ./libmorton_test ``` Add limited test run to Travis
```yaml dist: bionic language: cpp compiler: gcc script: - cd test - make # This really should finish in less than 2 minutes - otherwise something's wrong - timeout 120 ./libmorton_test 128 ```
e35fa56a-04c6-45eb-a5e7-938f93c4a79b
{ "language": "YAML" }
```yaml language: php php: - 7.0 - 7.1 install: - travis_retry composer update script: - vendor/bin/phpunit --coverage-text --coverage-clover coverage.xml after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.xml ``` Allow php 7....
```yaml language: php php: - 7.0 - 7.1 install: - travis_retry composer update script: - vendor/bin/phpunit --coverage-text --coverage-clover coverage.xml after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.xml matrix: allo...
12988324-a640-4f5e-b1e7-42728e426142
{ "language": "YAML" }
```yaml language: c sudo: required compiler: - clang - gcc - gcc-7 addons: apt: sources: - sourceline: 'ppa:ubuntu-toolchain-r/test' packages: - gcc-7 before_script: - ./autogen.sh script: - ./.travis/configure.sh - make - make check after_success: - mv src/sas/.libs/*.gc* . - m...
```yaml language: c sudo: required compiler: - clang - gcc - gcc-7 - gcc-8 addons: apt: sources: - sourceline: 'ppa:ubuntu-toolchain-r/test' packages: - gcc-7 - gcc-8 before_script: - ./autogen.sh script: - ./.travis/configure.sh - make - make check after_success: - mv src/s...
7d47ee7b-84db-4f84-870b-bca29b9f824e
{ "language": "YAML" }
```yaml language: python env: - DJANGO_VERSION=https://github.com/django/django/archive/stable/1.6.x.zip python: - "2.6" - "2.7" - "3.3" install: - pip install $DJANGO_VERSION --use-mirrors - pip install -e git://github.com/stephenmcd/mezzanine.git#egg=mezzanine - pip install . --allow-unverified pyPdf sc...
```yaml language: python env: - DJANGO_VERSION=https://github.com/django/django/archive/stable/1.7.x.zip - DJANGO_VERSION=https://github.com/django/django/archive/stable/1.8.x.zip python: - "2.7" - "3.3" - "3.4" matrix: exclude: - python: "2.7" env: DJANGO_VERSION=https://github.com/django/djang...
d633b133-cb05-42ea-ab50-b6e8b29dfce9
{ "language": "YAML" }
```yaml version: '2' services: factory: image: obitec/dstack-factory:3.5 build: context: ./factory/3.5/ dockerfile: Dockerfile args: - UID=${UID} volumes: - /srv/build/wheelhouse:/wheelhouse - /srv/build/archive:/archive - /srv/build/recipes:/app/ environme...
```yaml version: '2' services: factory: image: obitec/dstack-factory:3.5 build: context: ./factory/3.5/ dockerfile: Dockerfile args: - UID=${UID:-4801} volumes: - /srv/build/wheelhouse:/wheelhouse - /srv/build/archive:/archive - /srv/build/recipes:/app/ env...
154423b1-8b10-49b3-a9f8-ff3195195163
{ "language": "YAML" }
```yaml version: '2' services: php: container_name: php-school-fpm image: php:7-fpm build: context: . dockerfile: ./.docker/files/php-school-fpm volumes: - .:/var/www/html environment: - MYSQL_USER - MYSQL_PASSWORD - XDEBUG_ENABLE - XDEBUG_CONFIG port...
```yaml version: '2' services: php: container_name: php-school-fpm image: php:7-fpm build: context: . dockerfile: ./.docker/files/php-school-fpm volumes: - .:/var/www/html environment: - MYSQL_USER - MYSQL_PASSWORD - XDEBUG_ENABLE - XDEBUG_CONFIG port...
62d9c63d-28c5-4b61-880f-19bb72e03883
{ "language": "YAML" }
```yaml # Docker-like setup that serves as a local drop-in for the corresponding Travis services version: "2" services: test: build: . user: 1000:1000 links: - crossbar volumes: - .:/app environment: CROSSBAR_HOST: crossbar entrypoint: dockerize -wait http://crossbar:8080 pyt...
```yaml # Docker-like setup that serves as a local drop-in for the corresponding Travis services version: "2" services: test: build: . user: 1000:1000 links: - crossbar volumes: - .:/app environment: CROSSBAR_HOST: crossbar entrypoint: dockerize -wait http://crossbar:8080 pyt...
293a172a-90a2-411b-8578-84389080e6ca
{ "language": "YAML" }
```yaml # Branch definition: only build master and PRs branches: only: master # Build definition; language, deps, scripts language: python python: - "3.6" install: - pip install -r requirements/dev.txt script: - tox after_success: - pip install coveralls - coveralls - coverage erase ``` Add 3.5 as w...
```yaml # Branch definition: only build master and PRs branches: only: master # Build definition; language, deps, scripts language: python python: - "3.5" - "3.6" install: - pip install -r requirements/dev.txt script: - tox after_success: - pip install coveralls - coveralls - coverage erase ```
c57928b7-d6d8-4fa0-af56-4b35272c2e6a
{ "language": "YAML" }
```yaml dist: xenial language: ruby rvm: - 2.4.5 - 2.3.8 cache: bundler: true yarn: true timeout: 600 addons: postgresql: '10' env: matrix: - TEST_SUITE=spec - TEST_SUITE=spec:javascript - TEST_SUITE=spec:compile - TEST_SUITE=spec:jest matrix: exclude: - rvm: 2.4.5 env: TEST_SUITE=spec:javascr...
```yaml dist: xenial language: ruby rvm: - 2.4.5 - 2.5.3 cache: bundler: true yarn: true timeout: 600 addons: postgresql: '10' env: matrix: - TEST_SUITE=spec - TEST_SUITE=spec:javascript - TEST_SUITE=spec:compile - TEST_SUITE=spec:jest matrix: exclude: - rvm: 2.4.5 env: TEST_SUITE=spec:javascr...
fdeb7b74-eec5-4930-a87f-9cc7caf4c5f3
{ "language": "YAML" }
```yaml version: "2" services: loraserver: build: context: . dockerfile: Dockerfile-devel command: make serve volumes: - ./:/go/src/github.com/brocaar/loraserver links: - postgres - redis - mosquitto environment: - DB_AUTOMIGRATE=true - NET_ID=010203...
```yaml version: "2" services: loraserver: build: context: . dockerfile: Dockerfile-devel command: make serve volumes: - ./:/loraserver links: - postgres - redis - mosquitto environment: - DB_AUTOMIGRATE=true - NET_ID=010203 - BAND=EU_863_870 ...
de30838d-c1a4-49d1-b27c-fce6d6f281f8
{ "language": "YAML" }
```yaml rvm: - 1.8.7 - 1.9.2 - 1.9.3 - rbx - rbx-2.0 - ree ``` Test against Rubinius in both Ruby 1.8 and 1.9 mode
```yaml rvm: - 1.8.7 - 1.9.2 - 1.9.3 - rbx-18mode - rbx-19mode - ree ```
88ccc708-905c-4384-b14d-beb49fa8b4b8
{ "language": "YAML" }
```yaml sudo: required services: - docker language: bash script: # build image - ./build.sh # test image - ./test.sh # push image - > if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" ./deploy.sh fi ``` Deploy only on tag bui...
```yaml sudo: required services: - docker language: bash script: # build image - ./build.sh # test image - ./test.sh # push image - > if [ !z "$TRAVIS_TAG" ]; then docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" ./deploy.sh fi ```
d0e5986b-639d-4fdf-948a-97cadde4a954
{ "language": "YAML" }
```yaml language: perl6 perl6: - latest install: - rakudobrew build-panda - panda --notests installdeps . script: - perl6 -MPanda::Builder -e 'Panda::Builder.build(~$*CWD)' - PERL6LIB=$PWD/lib prove -e perl6 -vr t/ sudo: false ``` Use zef instead of panda
```yaml language: perl6 perl6: - latest install: - rakudobrew build-zef - zef --debug --depsonly --/test install . script: - zef build . - PERL6LIB=$PWD/lib prove -e perl6 -vr t/ sudo: false ```
19d28c65-a6ac-4c65-844c-726dbdcf3552
{ "language": "YAML" }
```yaml rvm: - 1.9.3 - 2.0.0 - 2.1.* gemfile: - Gemfile ``` Add Ruby 2.2 job in Travis
```yaml rvm: - 1.9.3 - 2.0.0 - 2.1.* - 2.2 gemfile: - Gemfile ```
f606c821-1ed9-4107-8161-8ca92d44c153
{ "language": "YAML" }
```yaml language: rust rust: - stable - beta - nightly matrix: allow_failures: - rust: nightly dist: trusty sudo: false addons: apt: packages: - python3-pip before_install: - wget https://storage.googleapis.com/wasm-llvm/builds/linux/26619/wasm-toolchain_0.1.26619_amd...
```yaml language: rust rust: - stable - beta - nightly matrix: allow_failures: - rust: - beta - nightly dist: trusty sudo: false addons: apt: packages: - python3-pip before_install: - wget https://storage.googleapis.com/wasm-llvm/builds/linux/2...
dbf4156a-7028-42a9-b253-cdf0fc7ad6aa
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" before_script: - npm install grunt-cli -g ``` Add node 0.11 to Travis, but allow it to fail.
```yaml language: node_js node_js: - "0.10" - "0.11" matrix: allow_failures: - node_js: "0.11" before_script: - npm install grunt-cli -g ```
f4113cf9-844b-4ad0-8217-caf552b54341
{ "language": "YAML" }
```yaml # Config file for automatic testing at travis-ci.org language: python python: - "3.6" - "3.5" - "3.4" - "3.3" - "2.7" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements/test.txt # command to run tests using coverage script: ma...
```yaml # Config file for automatic testing at travis-ci.org language: python python: - "3.6" - "3.5" - "3.4" - "2.7" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install -r requirements/test.txt # command to run tests using coverage script: make test #...
d974b337-6d96-4265-b901-b9027959a272
{ "language": "YAML" }
```yaml sudo: false language: python python: - "2.7" install: # - npm install recess - pip install . - pip install pep8 - pip install coverage - pip install python-coveralls before_script: - cp sampleproj/manage.py manage.py - python manage.py migrate --noinput --settings=sampleproj.settings.travis scr...
```yaml sudo: false language: python python: - "2.7" install: # - npm install recess - pip install . - pip install pycodestyle - pip install coverage - pip install python-coveralls before_script: - cp sampleproj/manage.py manage.py - python manage.py migrate --noinput --settings=sampleproj.settings.tra...
12d82b10-42cc-4e60-96f3-9033fc974b26
{ "language": "YAML" }
```yaml language: node_js node_js: - '14' - '16' - '18' before_install: - npm install -g codecov install: - npm install script: - npm test - npm run lint - codecov ``` Add support for node 17
```yaml language: node_js node_js: - '14' - '16' - '17' before_install: - npm install -g codecov install: - npm install script: - npm test - npm run lint - codecov ```
9bf46b23-6831-4d43-9946-30a227ce2148
{ "language": "YAML" }
```yaml cache: bundler language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1" - "2.2" - "2.3.0" #- ruby-head - jruby-19mode - rbx-2 install: - bundle install --retry=3 script: - bundle exec rspec - bundle exec rubocop ``` Allow it to fail on Rubinius
```yaml cache: bundler language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1" - "2.2" - "2.3.0" - jruby-19mode - rbx-2 matrix: # Doesn't play well with Rubocop allow_failures: - rvm: rbx-2 install: - bundle install --retry=3 script: - bundle exec rspec - bundle exec rubocop ```