doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
5efd6eb9-cafc-4725-85cb-425d41ec630f
{ "language": "YAML" }
```yaml language: c env: - EnableNuGetPackageRestore=true before_install: # Make sure mono is installed, # pipe stdout to dev/null because qq is still too chatty - sudo apt-get update -qq > /dev/null - sudo apt-get install -qq mono-devel mono-gmcs > /dev/null # update root certs for nuget - mozroots --i...
```yaml language: c env: - EnableNuGetPackageRestore=true before_install: # Make sure mono is installed, # pipe stdout to dev/null because qq is still too chatty - sudo apt-get update -qq > /dev/null - sudo apt-get install -qq mono-devel mono-gmcs > /dev/null # update root certs for nuget - mozroots --i...
03d183fb-0eee-4cd1-bf78-ad4d49422eb9
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.8 - 1.9 - 2.5 - ruby-head - jruby ``` Test on different Ruby 2 versions
```yaml language: ruby rvm: - 1.8 - 1.9 - 2.0 - 2.1 - 2.2 - 2.3 - 2.4 - 2.5 - ruby-head - jruby ```
4af48ff1-f224-4875-93ca-97a1b135304e
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.11" - "0.10" before_install: - npm update -g npm - npm install -g bob coveralls --loglevel error script: - bob build ``` Add 0.12 and iojs to CI run.
```yaml sudo: false language: node_js node_js: - "0.11" - "0.10" - "0.12" - iojs before_install: - npm update -g npm - npm install -g bob coveralls --loglevel error script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls ```
aa995784-f7df-40f6-98af-b06575931870
{ "language": "YAML" }
```yaml --- # Verify this with: http://lint.travis-ci.org/ language: ruby # Delete dependency locks for matrix builds. before_install: rm Gemfile.lock || true script: bundle exec rake test rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 env: matrix: - PUPPET_VERSION="~> 3.8.5" - PUPPET_VERSION="~> 4.3.2" matrix:...
```yaml --- # Verify this with: http://lint.travis-ci.org/ language: ruby # Delete dependency locks for matrix builds. before_install: rm Gemfile.lock || true script: bundle exec rake test rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 env: matrix: - PUPPET_VERSION="~> 3.8.5" - PUPPET_VERSION="~> 4.8.0" matrix:...
16ccf4b5-04b5-4911-a8ed-3b4bac9a800f
{ "language": "YAML" }
```yaml --- language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 # - jruby-18mode # - jruby-19mode - ree env: - RAILS_VERSION="" - RAILS_VERSION="~>3.2.0" - RAILS_VERSION="~>3.1.0" - RAILS_VERSION="~>3.0.0" - RAILS_VERSION="" MONETA_VERSION="~> 0.6.0" - RAILS_VERSION="~>3.2.0" MONETA_VERSION="~> 0.6.0" ...
```yaml --- language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 env: - RAILS_VERSION="" - RAILS_VERSION="~>3.2.0" - RAILS_VERSION="~>3.1.0" - RAILS_VERSION="~>3.0.0" - RAILS_VERSION="~>4.0.0.beta1" - RAILS_VERSION="" MONETA_VERSION="~> 0.6.0" - RAILS_VERSION="" MONETA_VERSION="~> 0.7.0" notifications: ema...
64d3cf5a-0c02-48a9-a2e7-fc3ad4a22d90
{ "language": "YAML" }
```yaml language: php sudo: false php: - 5.6 - 7.0 - 7.1 env: - SYMFONY_VERSION=3.2.* before_install: - composer self-update - composer require --no-update symfony/symfony "$SYMFONY_VERSION" install: - composer install --no-interaction --prefer-dist script: - ./vendor/bin/phpcs ./ -p --encoding=...
```yaml language: php sudo: false php: - 5.6 - 7.0 - 7.1 env: - SYMFONY_VERSION=3.2.* - SYMFONY_VERSION=3.3.* before_install: - composer self-update - composer require --no-update symfony/symfony "$SYMFONY_VERSION" install: - composer install --no-interaction --prefer-dist script: - ./vendor...
c1a9a55a-b5ce-4ad9-b926-ec36e1279c0c
{ "language": "YAML" }
```yaml language: haskell ghc: - 7.6 - 7.8 install: - cabal install happy # a "haskell-src-exts" implicit dependency workaround - cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls script: - cabal configure --enable-tests --enable-benchmarks - cabal build - cabal te...
```yaml language: haskell ghc: - 7.6 - 7.8 env: - transformers=0.2.* - transformers=0.4.* install: - cabal install "transformers == $transformers" - cabal install happy # a "haskell-src-exts" implicit dependency workaround - cabal install --only-dependencies --enable-tests --enable-benchmarks --force-r...
a957a3ee-c496-4af4-a131-1a2b36ab7e56
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode - jruby-20mode ``` Drop support of buggy JRuby 1.7.4
```yaml language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 #- jruby-19mode #- jruby-20mode ```
756d1e33-4c2a-4548-b5d6-9154df6c3eaf
{ "language": "YAML" }
```yaml language: php php: - 5.3 - 5.4 before_script: - composer self-update - composer install --dev script: vendor/bin/phpunit --configuration phpunit.xml.dist``` Disable Composr interaction to work around rate limits.
```yaml language: php php: - 5.3 - 5.4 before_script: - composer self-update - composer install --dev --no-interaction script: vendor/bin/phpunit --configuration phpunit.xml.dist```
db1577ed-fa8a-4b5d-9e4d-b5c64798409e
{ "language": "YAML" }
```yaml language: node_js node_js: - "5" - "5.1" - "4" - "4.2" - "4.1" - "4.0" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 ``` Remove Travis node version 4.2
```yaml language: node_js node_js: - "5" - "5.1" - "4" - "4.1" - "4.0" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 ```
164b74e7-4f3d-4987-95c5-261edef0ebc2
{ "language": "YAML" }
```yaml language: ruby script: rake ci rvm: - 1.9.3 - 2.0 - 2.1 - ruby-head - jruby - jruby-head - rbx-2.1 - rbx-2.2 - rbx-2.3 gemfile: - Gemfile - Gemfile-jruby matrix: include: - rvm: jruby env: JRUBY_OPTS='--2.0' exclude: - rvm: 1.9.3 gemfile: Gemfile-jruby - rvm: 2....
```yaml language: ruby script: rake ci rvm: - 1.9.3 - 2.0 - 2.1 - ruby-head - jruby - jruby-head - rbx-2.1 - rbx-2.2 - rbx-2.3 gemfile: - Gemfile - Gemfile-jruby matrix: include: - rvm: jruby env: JRUBY_OPTS='--2.0' exclude: - rvm: 1.9.3 gemfile: Gemfile-jruby - rvm: 2....
062ca392-01e2-48dd-b7cb-bad07653c30d
{ "language": "YAML" }
```yaml language: php sudo: true php: - 5.6 before_script: - mysql -e 'create database homestead_test;' # fix ipv6 issue that prevented composer requests and resulted in failing builds - sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf" # updates composer on travis - travis_retry compose...
```yaml language: php sudo: true php: - 7.1 before_script: - mysql -e 'create database homestead_test;' # fix ipv6 issue that prevented composer requests and resulted in failing builds - sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf" # updates composer on travis - travis_retry compose...
40cee557-5fbf-489a-8842-3eb696e0ded0
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 cache: directories: - $HOME/.m2 env: - DOCKER_COMPOSE_VERSION=1.24.0 install: mvn install -B before_script: - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s...
```yaml dist: trusty language: java jdk: - oraclejdk8 cache: directories: - $HOME/.m2 env: - DOCKER_COMPOSE_VERSION=1.24.0 install: mvn install -B before_script: - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-com...
c5d8288d-56bb-4863-922f-8c20c4d7554d
{ "language": "YAML" }
```yaml language: node_js node_js: - '4.2' before_script: - npm install -g grunt-cli env: global: secure: aOSQkEeIGiLNcMucvVJF4mBpukVkDM0+UbiuX1dunk8tPQbfKlNEACyEZneMAYCDTJBT2wlujKVEIKMzaBsrUKRKPYZ5vi77X/DrowW+3pGF0r2AdYxJKNO3FEHxzCSYaVxusDtMT0ohsDBLwyPxjll8zu9PPfcUe6EIb+AWemQ= deploy: provider: npm email: jo...
```yaml language: node_js node_js: - '0.12' before_script: - npm install -g grunt-cli env: global: secure: aOSQkEeIGiLNcMucvVJF4mBpukVkDM0+UbiuX1dunk8tPQbfKlNEACyEZneMAYCDTJBT2wlujKVEIKMzaBsrUKRKPYZ5vi77X/DrowW+3pGF0r2AdYxJKNO3FEHxzCSYaVxusDtMT0ohsDBLwyPxjll8zu9PPfcUe6EIb+AWemQ= deploy: provider: npm email: j...
6bb0827f-e72e-465c-aa07-87bf0c516516
{ "language": "YAML" }
```yaml language: node_js node_js: - "6" - "8" - "10" - "11" ``` Add node 12, 13 to test coverage matrix
```yaml language: node_js node_js: - "6" - "8" - "10" - "12" - "13" ```
7b229008-0066-4e21-a1f8-e0aa259780fd
{ "language": "YAML" }
```yaml language: python python: - "2.7" cache: apt: true # TODO local node modules path correct? directories: - $HOME/.pip-cache/ - $HOME/.tox - /home/travis/virtualenv/python2.7 install: - echo 'Running installation in directory $PWD' - # Python - pip install -r dev-requirements.txt --downlo...
```yaml language: python python: - "2.7" cache: apt: true # TODO local node modules path correct? directories: - $HOME/.pip-cache/ - $HOME/.tox - /home/travis/virtualenv/python2.7 install: - echo 'Running installation in directory $PWD' - # Python - pip install -r dev-requirements.txt --cache-...
f323dd13-6241-44ac-9a26-026929cc349e
{ "language": "YAML" }
```yaml language: node_js sudo: false node_js: - '0.10' - '0.12' - 'iojs' before_install: - "mkdir -p ~/.npm" before_script: - npm install -g grunt-cli istanbul codeclimate-test-reporter script: - grunt lint - istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -R spec - CODECLIMATE_REPO_TOKE...
```yaml language: node_js sudo: false node_js: - '0.10' - '0.12' - '4.0' - '4.1' - '5.0' before_install: - "mkdir -p ~/.npm" before_script: - npm install -g grunt-cli istanbul codeclimate-test-reporter script: - grunt lint - istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -R spec - CO...
b3312ed3-acf5-4bf2-b187-9655cda0536b
{ "language": "YAML" }
```yaml --- language: python python: "2.7" env: - ANSIBLE_VERSION=1.9.2 install: # Install Ansible. - pip install ansible==$ANSIBLE_VERSION # Add ansible.cfg to pick up roles path. - printf "[defaults]\nroles_path=./" > ansible.cfg script: # TODO: once travis-ci includes an option to use CentOS, run th...
```yaml --- language: python python: "2.7" env: - ANSIBLE_VERSION=2.1.2.0 install: # Install Ansible. - pip install ansible==$ANSIBLE_VERSION # Add ansible.cfg to pick up roles path. - printf "[defaults]\nroles_path=./" > ansible.cfg script: # TODO: once travis-ci includes an option to use CentOS, run ...
ff78e2ae-202b-4f4f-964a-2a5a2dc9ad12
{ "language": "YAML" }
```yaml language: python python: - 2.7 - 3.4 script: - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then python -m unittest discover; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python -m unittest discover; fi``` Add install instructions to Travis
```yaml language: python python: - 2.7 - 3.4 install: - python setup.py install script: - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then python -m unittest discover; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python -m unittest discover; fi```
5a82f649-1917-49c6-ae18-4437d832769c
{ "language": "YAML" }
```yaml language: ruby sudo: required before_install: - sudo apt-get update - sudo apt-get install cups wicd - apt-cache search wicd script: bundle exec make ``` Revert "Install & search wicd to check for wicd-cli"
```yaml language: ruby sudo: required before_install: - sudo apt-get update - sudo apt-get install cups script: bundle exec make ```
adb46acb-eb9f-44ce-98af-6de415ee6e80
{ "language": "YAML" }
```yaml language: objective-c osx_image: xcode9 env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - PROJECT=OAuthSwift.xcodeproj - IOS_FRAMEWORK_SCHEME="OAuthSwift" - MACOS_FRAMEWORK_SCHEME="OAuthSwiftOSX" - IOS_SDK=iphonesimulator10.0 - MACOS_SDK=macosx10.12 matrix: - DESTINATI...
```yaml language: objective-c osx_image: xcode9 env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - PROJECT=OAuthSwift.xcodeproj - IOS_FRAMEWORK_SCHEME="OAuthSwift" - MACOS_FRAMEWORK_SCHEME="OAuthSwiftOSX" - IOS_SDK=iphonesimulator11.0 - MACOS_SDK=macosx10.12 matrix: - DESTINATI...
318bd1f0-5a00-4c49-a2ca-7233b06d0ee6
{ "language": "YAML" }
```yaml language: android android: components: - build-tools-23.0.3 - android-23 - extra-android-m2repository - sys-img-armeabi-v7a-android-16 licenses: - 'android-sdk-license-.+' before_script: - echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a - emulator -avd te...
```yaml language: android android: components: - platform-tools - tools - build-tools-23.0.3 - android-23 - extra-android-m2repository - sys-img-armeabi-v7a-android-16 licenses: - 'android-sdk-license-.+' before_script: - echo no | android create avd --force -n test -t android-16 --abi...
bdbcd924-f6f4-4582-a80e-ea2672d0ce9e
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" - "0.12" - "iojs" ``` Remove Io.js from test targets
```yaml language: node_js node_js: - "0.10" - "0.12" ```
a7fa8b7b-24d6-434b-87a9-34bb1fa633b8
{ "language": "YAML" }
```yaml --- ##################### # Install Python ##################### - hosts: all gather_facts: false # As Python is not yet installed, we cannot gather host facts tasks: - name: Install Python raw: "apt-get -y -q install python" become: true ####################### # Setup K8s components ###...
```yaml --- ##################### # Install Python ##################### - hosts: all gather_facts: false # As Python is not yet installed, we cannot gather host facts tasks: - name: Install Python raw: "apt-get -y -q install python" become: true retries: 10 delay: 20 # If you ru...
817366ec-1efd-44fe-b015-5c2d19c10a7c
{ "language": "YAML" }
```yaml sudo: required language: go go: 1.9.x services: - docker before_install: - rvm install 2.4.2 - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" - sudo apt upda...
```yaml sudo: required language: go go: 1.9.x services: - docker before_install: - rvm install 2.4.2 - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" - sudo apt upda...
058b22d4-6c0b-4f61-b1a7-40f51b23b720
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 1.9.2 - ruby-head env: - "CHEF_VERSION=11.4.0" - "CHEF_VERSION=10.24.0" - "CHEF_VERSION=0.10.10" - "CHEF_VERSION=0.9.18" - "CHEF_VERSION=0.8.16" - "CHEF_VERSION=0.7.16" matrix: allow_failures: - rvm: ruby-head ``` Revert "How far in Chef versions can we go?"
```yaml language: ruby rvm: - 1.9.3 - 1.9.2 - ruby-head env: - "CHEF_VERSION=11.4.0" - "CHEF_VERSION=10.24.0" - "CHEF_VERSION=0.10.10" - "CHEF_VERSION=0.9.18" matrix: allow_failures: - rvm: ruby-head ```
3921f595-6dea-47e1-a56d-920ed8edbab9
{ "language": "YAML" }
```yaml fullnameOverride: "web" replicaCount: 3 service: port: 3000 containers: - name: web image: cyberdojo/web resources: requests: cpu: 100m memory: 128Mi limits: cpu: 200m memory: 256Mi #livenessProbe: # path: /alive? # port: 3000 #readin...
```yaml fullnameOverride: "web" replicaCount: 3 service: port: 3000 containers: - name: web image: cyberdojo/web securityContext: runAsUser: 65534 # nobody fsGroup: 65534 # nobody allowPrivilegeEscalation: false resources: requests: cpu: 100m memory: 128Mi ...
305e573b-75c2-4baf-92ac-588cb6356183
{ "language": "YAML" }
```yaml --- sudo: false before_script: - git clone https://github.com/exercism/problem-specifications.git - bin/fetch-configlet - docker pull rakudo-star:latest script: - bin/configlet lint . - docker run -e EXERCISM=1 -t -v $PWD:/exercism rakudo-star prove /exercism -re perl6 ``` Use parallel jobs with prov...
```yaml --- sudo: false before_script: - git clone https://github.com/exercism/problem-specifications.git - bin/fetch-configlet - docker pull rakudo-star:latest script: - bin/configlet lint . - docker run --env EXERCISM=1 --volume $PWD:/exercism rakudo-star prove /exercism --exec perl6 --r...
b9e57da7-582f-4464-88af-c14bba87efc4
{ "language": "YAML" }
```yaml language: go os: - linux - osx go: - 1.3 - 1.4 - 1.5 - 1.6 - 1.7 - tip notifications: email: on_success: change on_failure: always ``` Test Go 1.8 with Travis
```yaml language: go os: - linux - osx go: - 1.3 - 1.4 - 1.5 - 1.6 - 1.7 - 1.8 - tip notifications: email: on_success: change on_failure: always ```
ef3bb0c3-4dff-4055-8163-df5fc824723a
{ "language": "YAML" }
```yaml sudo: required dist: trusty addons: apt: sources: - chef-current-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" branches: only: - master services: docker env: matrix: - INSTANCE=default-ubuntu-1404 - INSTAN...
```yaml sudo: required dist: trusty addons: apt: sources: - chef-current-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" branches: only: - master services: docker env: matrix: - INSTANCE=default-debian-8 - INSTANCE=...
8119c5cf-6aff-4176-a6fc-fe48e3f0e808
{ "language": "YAML" }
```yaml language: ruby rvm: - "1.9.2" - "1.9.3" - ruby-head - jruby-19mode - jruby-head - rbx-19mode ``` Allow ruby-head to fail (at least until Travis fixes it)
```yaml language: ruby rvm: - "1.9.2" - "1.9.3" - ruby-head - jruby-19mode - jruby-head - rbx-19mode matrix: allow_failures: - rvm: ruby-head ```
bc5f0b46-3d8b-4dc9-b3c6-b3ac88d2c600
{ "language": "YAML" }
```yaml language: python sudo: required branches: only: - master services: - docker install: - docker pull jvarho/pylibscrypt script: - docker run -v ${PWD}:/app jvarho/pylibscrypt ``` Add coveralls integration now that all implementations are tested
```yaml language: python sudo: required branches: only: - master services: - docker install: - docker pull jvarho/pylibscrypt - pip install coveralls script: - docker run -v ${PWD}:/app jvarho/pylibscrypt after_success: - sed -i "s@/app@$TRAVIS_BUILD_DIR@g" .coverage - coverall...
2d9af43a-5d6e-4abf-bbca-270e716c0b70
{ "language": "YAML" }
```yaml name: Build and publish to ECR on: workflow_dispatch: branches: - main push: branches: - main paths-ignore: - "Jenkinsfile" - ".git**" jobs: build-publish-image-to-ecr: uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main secrets: AWS_G...
```yaml name: CI on: workflow_dispatch: branches: - main push: branches: - main paths-ignore: - "Jenkinsfile" - ".git**" jobs: build-and-publish-image: name: Build and publish image uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main secrets: ...
2cd1858c-38c4-42b2-9884-411877203d29
{ "language": "YAML" }
```yaml name: Tests on: - push - pull_request env: GOPATH: ${{ github.workspace }}/go jobs: test-and-verify: runs-on: ubuntu-latest steps: - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.16 - uses: actions/checkout@v2 with: path...
```yaml name: Tests on: - push - pull_request env: GOPATH: ${{ github.workspace }}/go jobs: test-and-verify: runs-on: ubuntu-latest steps: - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.17.5 - uses: actions/checkout@v2 with: pa...
78bfb89d-2dea-43fe-9915-2307594dce3a
{ "language": "YAML" }
```yaml language: node_js node_js: - 7 - 8 cache: directories: - node_modules - public/components before_install: - npm i -g bower codecov istanbul install: - yarn - bower install script: - istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec - codecov - yarn run postte...
```yaml language: node_js node_js: - 6 - 7 - 8 cache: directories: - node_modules - public/components before_install: - npm i -g bower codecov istanbul install: - yarn - bower install script: - istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec - codecov - yarn run ...
ca06cf48-3053-4ced-9abd-79c0890b0fea
{ "language": "YAML" }
```yaml language: python python: - "2.6" - "2.7" before_install: - pip install codecov - pip install pytest-cov install: - "pip install -r requirements.txt" script: - "py.test -v --cov" after_success: - codecov ``` Add pep8 check with py.test
```yaml language: python python: - "2.6" - "2.7" before_install: - pip install codecov - pip install pytest-cov - pip install pytest-pep8 install: - "pip install -r requirements.txt" script: - "py.test -v --cov --pep8" after_success: - codecov ```
6df80471-7e54-4ad2-9382-37ef4ebbcf1d
{ "language": "YAML" }
```yaml language: java sudo: false dist: trusty addons: apt: packages: - oracle-java8-installer # Travis is running v8u31 which exposes problems with instrumentation of invokedynamic call sites. - oracle-java9-installer # JDK 9 is not currently installed by default. branches: only: - master ...
```yaml language: java sudo: false branches: only: - master matrix: include: - jdk: openjdk6 - jdk: oraclejdk7 env: TARGET=-Pjava7 -Pintegration - jdk: oraclejdk8 env: TARGET=-Pjava8 -Pintegration #- jdk: oraclejdk9 # env: TARGET=-Pjava9 # Findbugs cannot currently process Ja...
5c5b68c2-6685-4183-a77c-476fa0869a4f
{ "language": "YAML" }
```yaml --- language: node_js node_js: - "6" sudo: false dist: trusty addons: chrome: stable cache: yarn: true env: global: # See https://git.io/vdao3 for details. - JOBS=1 matrix: - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary ...
```yaml --- language: node_js node_js: - "6" sudo: false dist: trusty addons: chrome: stable cache: yarn: true env: global: # See https://git.io/vdao3 for details. - JOBS=1 matrix: - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary ...
6c0f8266-6470-4bb5-a69a-c234749aab59
{ "language": "YAML" }
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer install -n --dev --prefer-source script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text ``` Add PHP 7.1 to the automated tests.
```yaml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer install -n --dev --prefer-source script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text ```
9d8cf04a-6f1a-4f0d-b927-ecbad12ed2a1
{ "language": "YAML" }
```yaml dist: trusty language: python python: 2.7 cache: - apt - pip - directories: - ~/ediscovery-files # These files are huge! before_cache: - rm -rf ~/ediscovery-files/.git - rm -rf ~/ediscovery-files/assets/scale/randomTextDataZip addons: apt: sources: - sourceline: 'ppa:libreoffice/ppa...
```yaml dist: trusty language: python python: 2.7 cache: - apt - pip - directories: - ~/ediscovery-files # These files are huge! before_cache: - rm -rf ~/ediscovery-files/.git - rm -rf ~/ediscovery-files/assets/scale/randomTextDataZip addons: apt: sources: - sourceline: 'ppa:libreoffice/ppa...
78a39fd0-9859-4052-b665-3bf24a76cec4
{ "language": "YAML" }
```yaml language: node_js node_js: - v7 - v6 after_script: - 'npm run coveralls' ``` Test with Node 8 on Travis
```yaml language: node_js node_js: - v8 - v7 - v6 after_script: - 'npm run coveralls' ```
d1d5f1eb-c298-4d9f-82c3-ed276461d259
{ "language": "YAML" }
```yaml language: android jdk: - oraclejdk8 android: components: - tools - platform-tools - tools - build-tools-25.0.2 - android-25 - extra-android-m2repository - sys-img-armeabi-v7a-android-18 licenses: - 'android-sdk-license-.+' before_script: - echo no | android create avd --f...
```yaml language: android jdk: - oraclejdk8 android: components: - tools - platform-tools - tools - build-tools-25.0.2 - android-25 - extra-android-m2repository licenses: - 'android-sdk-license-.+' before_script: - echo no | android create avd --force -n test -t android-22 --abi arme...
8f230ee5-a6c7-4ad1-86fd-bc5172a55965
{ "language": "YAML" }
```yaml language: ruby env: - ARUBA_TIMEOUT=240 before_install: - gem update --system - gem update bundler - gem cleanup bundler cache: bundler rvm: - 2.1.5 - 2.2.4 - 2.3.0 - jruby-19mode branches: only: - master install: - "travis_retry bundle install --jobs 8" gemfile: - gemfiles/rails3.2.ge...
```yaml language: ruby env: - ARUBA_TIMEOUT=240 before_install: - gem update --system - gem update bundler - gem cleanup bundler cache: bundler rvm: - 2.1 - 2.2 - 2.3 - 2.4 - 2.5 branches: only: - master install: - "bundle install --retry 3 --jobs 8" gemfile: - gemfiles/rails3.2.gemfile - ...
7f692d2d-c375-4dbd-a01e-bc770633b5e3
{ "language": "YAML" }
```yaml # Config file for automatic testing at travis-ci.org language: python # Use container based infrastructure sudo: false python: - 2.6 - 2.7 - 3.3 - 3.4 env: matrix: - DJANGO=1.4 CMD=./test - DJANGO=1.5 CMD=./test - DJANGO=1.6 CMD=./test - DJANGO=1.7 CMD=./test matrix: allow_failures: ...
```yaml # Config file for automatic testing at travis-ci.org language: python # Use container based infrastructure sudo: false python: - 2.6 - 2.7 - 3.3 - 3.4 env: matrix: - DJANGO=1.6 CMD=./test - DJANGO=1.7 CMD=./test matrix: allow_failures: - python: 3.3 - python: 3.4 - env: CMD="fla...
b049845e-4935-4833-a36a-2569f2410720
{ "language": "YAML" }
```yaml language: objective-c before_install: - gem install cocoapods --no-rdoc --no-ri --no-document --quiet - brew update - brew uninstall xctool && brew install xctool install: - pushd objc/VotingInformationProject && pod install - cp VotingInformationProject/CivicAPIKey.plist.template VotingInf...
```yaml language: objective-c before_install: # Cocoapods expects UTF-8 terminal and throws warning - export LANG=en_US.UTF-8 - gem install cocoapods --no-rdoc --no-ri --no-document --quiet - brew update # Faster than uninstall + install - brew upgrade xctool install: - pushd objc/VotingIn...
b35f9424-4490-47b3-8727-0e5171d0ed86
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.2.2 - 2.2.1 - 2.2.0 - 2.1.6 ``` Update ruby versions for Travis CI
```yaml language: ruby rvm: - 2.3.0 - 2.2.4 - 2.1.8 ```
c3d1d930-8945-48d8-8b71-4cb4321d0163
{ "language": "YAML" }
```yaml language: python python: - '2.7' - '3.3' - '3.4' env: global: - DB=postgres matrix: - DJANGO=1.6.5 install: - pip install -q coveralls coverage flake8 Django==$DJANGO before_script: - psql -c 'CREATE DATABASE {{ project_name }};' -U postgres script: - flake8 . - coverage run setup.py t...
```yaml language: python python: - '2.7' - '3.3' - '3.4' env: global: - DB=postgres matrix: - DJANGO=1.6.5 install: - pip install -q coveralls coverage flake8 Django==$DJANGO - pip install -r requirements/docs.txt before_script: - psql -c 'CREATE DATABASE {{ project_name }};' -U postgres script:...
0e368297-0ca3-416b-adb0-6cee87873407
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.11" notifications: email: false ``` Automate npm deployments on tags
```yaml language: node_js node_js: - '0.11' notifications: email: false deploy: provider: npm email: wayne.graham@virginia.edu api_key: secure: EqXvpuo2H5o4GnS/UbeweWwGe6D3XVAfKxkA2mET1dL9UhuTH15gB2mPVbqkzbxrWceD0qPpmvcLnLmuPJXTTCjJtEVFPvoN3gagj47N3gdccaWkzWQFtihyex6WSw7g+1CxHmZbZfzf4KuMv58RPkCyk7U3O4fNwejw...
fc8fa644-1931-493a-b452-d04598d89df6
{ "language": "YAML" }
```yaml language: python python: "2.7" script: - "python setup.py test" after_script: - sudo apt-get update -qq - sudo apt-get install -yy ansible - config/deploy notifications: irc: "irc.freenode.org#takeyourmeds" ``` Put these earlier - for caching?
```yaml language: python python: "2.7" before_install: - sudo apt-get update -qq - sudo apt-get install -y ansible script: - "python setup.py test" after_script: - config/deploy notifications: irc: "irc.freenode.org#takeyourmeds" ```
62b40d85-5471-483c-839d-99296c29023a
{ "language": "YAML" }
```yaml rvm: - 1.9.3 - jruby before_script: - "pushd ruby && gem install bundler && bundle && popd" script: "make travis" notifications: email: - cukes-devs@googlegroups.com irc: - "irc.freenode.org#cucumber" ``` Build issue and fix branches
```yaml rvm: - 1.9.3 - jruby before_script: - "pushd ruby && gem install bundler && bundle && popd" script: "make travis" branches: only: - master - /^issue.*$/ - /^fix.*$/ notifications: email: - cukes-devs@googlegroups.com irc: - "irc.freenode.org#cucumber" ```
dd008582-6bd3-42fb-8f43-bbef660fb49d
{ "language": "YAML" }
```yaml language: php sudo: false php: - 7.1 - 7.2 env: global: - coverage=no matrix: - setup=basic - setup=lowest - setup=stable before_script: - travis_retry composer self-update - composer config discard-changes true - if [[ $setup = 'basic' ]]; then travis_retry composer install --...
```yaml language: php sudo: false php: - 7.1 - 7.2 - 7.3 - nightly env: global: - coverage=no matrix: - setup=basic - setup=lowest - setup=stable before_script: - travis_retry composer self-update - composer config discard-changes true - if [[ $setup = 'basic' ]]; then travis_retry...
aa3229fc-2e20-4ac8-bebf-1eae5c16d67d
{ "language": "YAML" }
```yaml language: erlang env: - LUAROCKS_VERSION="2.1.2" branches: only: - master install: - sudo apt-get install npm - sudo npm update npm -g - sudo npm config set registry http://registry.npmjs.org/ - sudo npm install -g docco - sudo apt-get install lua5.2 - sudo apt-get install lua5.2-dev - ...
```yaml language: erlang env: - LUAROCKS_VERSION="2.1.2" - PATH=${PATH}:${HOME}/bin branches: only: - master install: - sudo apt-get install npm - sudo npm update npm -g - sudo npm config set registry http://registry.npmjs.org/ - sudo npm install -g docco - sudo apt-get install lua5.2 - sudo ap...
f5e35264-ad98-40a0-99ae-1456b7385f32
{ "language": "YAML" }
```yaml language: c sudo: false services: - docker install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-docker.sh script: bash ./.travis-docker.sh env: global: - PACKAGE=pkcs11 - DISTRO=debian-stable matrix: - OCAML_VERSION=4.02.3 - OCAML_VERSION=4.03.0 ...
```yaml language: c sudo: false services: - docker install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-docker.sh script: bash ./.travis-docker.sh env: global: - PACKAGE=pkcs11 - DISTRO=debian-stable matrix: - OCAML_VERSION=4.02.3 - OCAML_VERSION=4.03.0 ...
c18e5add-3432-47d6-b159-8e4f6d72bcc6
{ "language": "YAML" }
```yaml sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g istanbul coveralls ``` Build with Node.js 10 on Travis CI.
```yaml sudo: false language: node_js node_js: - '4' - '6' - '8' - '10' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g istanbul coveralls ```
30cf1a5e-a0b8-4ced-b9c0-55088f6c7d07
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.1.7 - 2.3.1 # User container based travis infrastructure which allows caching # features for open source projects. sudo: false cache: bundler: true directories: - node_modules env: - PAGEFLOW_RAILS_VERSION=4.2.6 PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true services: ...
```yaml language: ruby rvm: - 2.1.7 - 2.3.1 # User container based travis infrastructure which allows caching # features for open source projects. sudo: false cache: bundler: true directories: - node_modules env: - PAGEFLOW_RAILS_VERSION=4.2.6 PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true services: ...
d325b963-5096-4dbf-b7ff-4b2d5d0a619c
{ "language": "YAML" }
```yaml language: python matrix: include: - python: 3.3 - python: 3.4 - python: 3.5 - python: 3.5-dev - python: nightly allow_failures: - python: 3.3 fast_finish: true install: python setup.py install services: rabbitmq before_script: - pushd test_project - celery -A cosmic_ray.tasks...
```yaml language: python matrix: include: - python: 3.4 - python: 3.5 - python: 3.5-dev - python: nightly fast_finish: true install: python setup.py install services: rabbitmq before_script: - pushd test_project - celery -A cosmic_ray.tasks.worker worker & - popd script: - py.test cosmi...
ee411afe-f0fc-40ea-ba77-ae56d5cf8046
{ "language": "YAML" }
```yaml language: node_js node_js: - "7" after_success: - npm install -g codeclimate-test-reporter lcov-result-merger - lcov-result-merger 'coverage/*.info' coverage.info - codeclimate-test-reporter < coverage.info services: - mongodb addons: code_climate: repo_token: 456ad90bfb6a7127443d64b5100c75...
```yaml language: node_js node_js: - "7" script: - npm run test-client && npm run test-server after_success: - npm install -g codeclimate-test-reporter lcov-result-merger - lcov-result-merger 'coverage/*.info' coverage.info - codeclimate-test-reporter < coverage.info services: - mongodb addons: code...
28b652b7-c191-4435-b86c-7f6c50dce9d0
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.2 - 1.9.3``` Stop spamming the mailing list :).
```yaml language: ruby rvm: - 1.9.2 - 1.9.3 notifications: email: recipients: - mwilson@majorleaguegaming.com ```
072c8d3b-a9c7-4285-8160-b93a706e46a3
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.11" - "0.10" before_install: - npm update -g npm - npm install -g bob --loglevel error script: "bob build" ``` Add coveralls report to CI run.
```yaml language: node_js node_js: - "0.11" - "0.10" before_install: - npm update -g npm - npm install -g bob coveralls --loglevel error script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls ```
412a5d42-2acf-4cfd-9318-6e5bce769c0c
{ "language": "YAML" }
```yaml # Currently fails on JRuby, partly due to Nokogiri behaving differently, # and partly for some other reason I'm not sure about regarding # Hexp::Node::Normalize language: ruby script: "bundle exec rspec" rvm: - 1.9.3 - 2.0.0 - 2.1.1 - 2.1.2 - 2.1.3 - 2.1 - rbx - jruby - jruby-head - ruby-hea...
```yaml # Currently fails on JRuby, partly due to Nokogiri behaving differently, # and partly for some other reason I'm not sure about regarding # Hexp::Node::Normalize language: ruby script: "bundle exec rspec" rvm: - 1.9.3 - 2.0.0 - 2.1.1 - 2.1.2 - 2.1.3 - 2.1 - rbx - jruby - jruby-head - ruby-hea...
c4397c3f-a336-43f1-ae5d-96d0d6630b35
{ "language": "YAML" }
```yaml language: python python: - "2.7" - "3.3" - "3.4" - "pypy" - "pypy3" before_install: # install GCC v4.8 with better C++11 support, required to build Brotli extension # See: https://github.com/travis-ci/travis-ci/issues/1379 - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get -...
```yaml language: python python: - "2.7" - "3.3" - "3.4" - "pypy" # - "pypy3" # Disable pypy3 until Travis updates it to >= 3.3 before_install: # install GCC v4.8 with better C++11 support, required to build Brotli extension # See: https://github.com/travis-ci/travis-ci/issues/1379 - sudo add-apt-repositor...
5fe016a8-6f50-4368-ab3b-a9c9d754ba1a
{ "language": "YAML" }
```yaml language: perl services: - docker env: global: - ES="localhost:9200" sudo: false matrix: fast_finish: true include: - perl: dev env: CLIENT_VER="6_0" ES_VERSION="6.0.0" - perl: 5.30 env: CLIENT_VER="6_0" ES_VERSION="6.0.0" - perl: 5.28 env: CLIENT_VER="6_0" ES_VERSI...
```yaml language: perl services: - docker env: global: - ES="localhost:9200" sudo: false matrix: fast_finish: true include: - perl: dev env: CLIENT_VER="6_0" ES_VERSION="6.0.0" - perl: 5.30 env: CLIENT_VER="6_0" ES_VERSION="6.0.0" - perl: 5.28 env: CLIENT_VER="6_0" ES_VERSI...
e83ad348-bdd6-452e-876e-e7a43b1a3c3b
{ "language": "YAML" }
```yaml language: ruby rvm: - "2.0.0" - "2.1.0" addons: code_climate: repo_token: "3fa15641f89d7fce5dde29b03abaa3a07225b6f1509b3046cdbf4c64e22619f4" ``` Add coverage for all ruby 2.1.x's
```yaml language: ruby rvm: - "2.0.0" - "2.1.0" - "2.1.1" - "2.1.2" - "2.1.3" - "2.1.4" - "2.1.5" addons: code_climate: repo_token: "3fa15641f89d7fce5dde29b03abaa3a07225b6f1509b3046cdbf4c64e22619f4" ```
f3323bff-7bfc-4149-960a-834180bbc06b
{ "language": "YAML" }
```yaml language: ruby bundler_args: --without extras script: - bundle - rake appraisal:install - rake appraisal rvm: - 1.9.2 - 1.9.3 - jruby-19mode - rbx-19mode gemfile: - gemfiles/activerecord-3.0.gemfile - gemfiles/activerecord-3.1.gemfile - gemfiles/activerecord-master.gemfile matrix: allow_fa...
```yaml language: ruby bundler_args: --without extras script: - bundle - rake appraisal:install - rake appraisal rvm: - 1.9.2 - 1.9.3 - jruby-19mode - rbx-19mode gemfile: - gemfiles/activerecord-3.0.gemfile - gemfiles/activerecord-3.1.gemfile - gemfiles/activerecord-3.2.gemfile matrix: allow_failu...
9a9d941a-e649-42ae-85ec-a7f79750a30c
{ "language": "YAML" }
```yaml # .travis.yml # Build Options language: ruby rvm: - 2.3.3 gemfile: - gemfiles/rails_5_0.gemfile before_script: - cp .rspec.example .rspec script: - bundle exec appraisal thor ci:steps # Travis-CI Configuration cache: bundler sudo: false # Enable containerized builds. ``` Remove Appraisal dependency in CI en...
```yaml # .travis.yml # Build Options language: ruby rvm: - 2.3.3 gemfile: - gemfiles/rails_5_0.gemfile before_script: - cp .rspec.example .rspec script: - bundle exec thor ci:steps # Travis-CI Configuration cache: bundler sudo: false # Enable containerized builds. ```
10e2afd2-868b-4aaa-9ed0-a776de8d5b9f
{ "language": "YAML" }
```yaml sudo: required services: - docker cache: directories: - $HOME/.m2 dist: trusty language: java before_install: - nvm install 9.5.0 addons: chrome: stable hosts: - dataflow.local jdk: - oraclejdk8 install: true script: - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw package' - '[ "${T...
```yaml sudo: required services: - docker cache: directories: - $HOME/.m2 dist: trusty language: java before_install: - nvm install 9.5.0 addons: chrome: stable hosts: - dataflow.local jdk: - oraclejdk8 install: true script: - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw package' - '[ "${T...
c0aa82c7-06e2-4053-b7a5-f6e3113b47bc
{ "language": "YAML" }
```yaml initial_walls: x: [29, 50] y: [31] z: [264] intra_node_shape: [64,46,512] monitor_interval: 32 mpi_grid_shape: [2,2,2] temporal_blocking_interval: 8 option_strings: ['stick-single-comp', 'omp', 'omp-collapse', 'no-subroutine', 'nbux2'] ``` Set benchmark mode in C++
```yaml initial_walls: x: [29, 50] y: [31] z: [264] intra_node_shape: [64,46,512] monitor_interval: 32 mpi_grid_shape: [2,2,2] temporal_blocking_interval: 8 option_strings: ['stick-single-comp', 'omp', 'omp-collapse', 'no-subroutine', 'nbux2', 'bench-fine-collection', 'bench-fine-fapp'] ```
93db1a22-33b1-4861-a725-95749e7dd773
{ "language": "YAML" }
```yaml language: python python: - "2.7" before_install: - sudo apt-get update -qq - sudo apt-get install gcc libffi-dev libldap2-dev libsasl2-dev libssl-dev python-dev install: # Build/test dependencies - python setup.py install script: - python setup.py test ``` Add a proof of concept pypi uploader
```yaml language: python python: - '2.7' before_install: - sudo apt-get update -qq - sudo apt-get install gcc libffi-dev libldap2-dev libsasl2-dev libssl-dev python-dev install: - python setup.py install script: - python setup.py test deploy: provider: pypi user: opennode password: secure: K4nUGpELCyhmEvqVh7Q...
c960f5ff-6cfb-4915-8245-3ca30420e963
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" - "0.8" ``` Update TravisCI to modern versions of Node.js
```yaml language: node_js node_js: - "stable" - "5" - "4" - "0.10" ```
b86c1b74-56ca-46fd-a450-922cdf34e5bb
{ "language": "YAML" }
```yaml language: php php: - 5.5 - 5.4 - hhvm before_script: - composer update --prefer-source script: - ./vendor/bin/phpcs --standard=./phpcs.xml -np --report=summary . - phpunit notifications: irc: "irc.freenode.org#zftalk.modules" ``` Maintain sensible order of PHP versions
```yaml language: php php: - 5.4 - 5.5 - hhvm before_script: - composer update --prefer-source script: - ./vendor/bin/phpcs --standard=./phpcs.xml -np --report=summary . - phpunit notifications: irc: "irc.freenode.org#zftalk.modules" ```
e536dc54-c670-4991-b147-c4bc20bec3db
{ "language": "YAML" }
```yaml language: node_js env: - CXX=g++-4.8 services: - memcached node_js: - "4.0.0" - "0.12" - "0.11" - "0.10" - "iojs" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 sudo: false before_script: - npm install script: - NODE_ENV=production mocha -R spec test...
```yaml language: node_js env: - CXX=g++-4.8 services: - memcached node_js: - "5.x" - "4.x" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 sudo: false before_script: - npm install script: - NODE_ENV=production mocha -R spec test/spec/server --recursive after_scrip...
41e4f0d9-f234-4fa8-a76f-915225737898
{ "language": "YAML" }
```yaml language: python python: - "3.6" - "3.6-dev" - "3.7" - "3.7-dev" - "3.8-dev" - "nightly" install: - pip install pipenv - pipenv install script: - python tests.py - mypy parsenvy/parsenvy.py ``` Remove Python versions not yet supported by Travis
```yaml language: python python: - "3.6" - "3.6-dev" - "3.7-dev" - "nightly" install: - pip install pipenv - pipenv install script: - python tests.py - mypy parsenvy/parsenvy.py ```
dbf712ba-659c-44ec-ab5d-1fce6ff290af
{ "language": "YAML" }
```yaml language: java jdk: - oraclejdk8 script: - ant all``` Add automated publishing to github releases
```yaml language: java jdk: - oraclejdk8 script: - ant all deploy: provider: releases api_key: secure: OkS1oQ39WbXQMRDmKkC3VB4rWzyJdpmXRMMnGIpPc3CSvVS8WFroVs9mYXOqvD/y33bnzTY2p84roYLrYkr6C1G0v5gS7SfQVfhmV2/DiooBpaSB414VfBLftmRiVNs8M9nwXjLp7F84TOE9weJgbiu//J91FrKe0z5XH3ETFX5QbnkoTA38XHfVwaWeylERy+O7sKOcPbD6Jcxs4...
671f4fa6-36e1-4b57-a129-d5aefe359ffc
{ "language": "YAML" }
```yaml language: python python: - '2.7' before_install: - sudo apt-get update -qq - sudo apt-get install gcc libffi-dev libsasl2-dev libssl-dev python-dev install: - pip install --upgrade -e . - python setup.py install script: - python setup.py test deploy: provider: pypi user: opennode distributions: "sdist bdi...
```yaml language: python python: - '2.7' before_install: - sudo apt-get update -qq - sudo apt-get install gcc libffi-dev libsasl2-dev libssl-dev python-dev install: - pip install --upgrade -e . - python setup.py install script: - python setup.py test deploy: provider: pypi user: opennode distributions: "sdist bdi...
cee08165-11b6-4904-a4ea-19a114382e49
{ "language": "YAML" }
```yaml language: node_js node_js: - "0.10" before_script: make jshint``` Configure Travis to auto-deploy to npmjs.org
```yaml language: node_js node_js: - '0.10' before_script: make jshint deploy: provider: npm email: peter@twistedstream.com api_key: secure: l2yoeQUCu6ZGVPQ8m9HaAjLqfezAUyfv2Mdqulr4XGiwavNhlUYL0cS45s+6wzrfIW0t/GnZwJJ1XZDV8M+pydgSTkSh9UfQZbRf6H+j6HNFVWtP+VW//GNmObfOP5HuitsE1/gl8hM2CGy/MFZ7yGtW4oNmOvn6LyPyKo+qt...
6519384c-2867-4d58-9013-ff76adbe48c7
{ "language": "YAML" }
```yaml language: python python: - "2.7" install: - "sudo apt-get update" - "sudo apt-get install python-numpy python-scipy" # Fetch and install ASE - "curl https://wiki.fysik.dtu.dk/ase-files/python-ase-3.8.1.3440.tar.gz | tar -zvx ; cd python-ase-3.8.1.3440 ; python setup.py install ; cd .." - "python set...
```yaml language: python python: - "2.6" - "2.7" install: - "sudo apt-get update" - "sudo apt-get install python-numpy python-scipy" # Fetch and install ASE - "curl https://wiki.fysik.dtu.dk/ase-files/python-ase-3.8.1.3440.tar.gz | tar -zvx ; cd python-ase-3.8.1.3440 ; python setup.py install ; cd .." - "...
04c0d4cd-6e23-4324-8614-13f17742d151
{ "language": "YAML" }
```yaml # Use Docker environment sudo: false # Setup build matrix language: php php: - 5.4 - 5.5 - 5.6 - hhvm-nightly # Special environments matrix: fast_finish: true allow_failures: - php: hhvm-nightly include: - php: 5.4 env: dependencies=lowest # Dependencies before_script: - compose...
```yaml # Use Docker environment sudo: false # Setup build matrix language: php php: - 5.4 - 5.5 - 5.6 - hhvm-nightly # Special environments matrix: fast_finish: true include: - php: 5.4 env: dependencies=lowest # Dependencies before_script: - composer self-update - travis_retry composer in...
966eec2f-e0d3-4573-9aca-d6861bdd39d3
{ "language": "YAML" }
```yaml on: tags: true sudo: required services: - docker before_install: - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USER" -p="$DOCKER_PASSWORD" script: - ALPINE_ID=$(docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}" -f Dockerfile . | tail -1 | sed 's/.*Successfully built \(.*\)$/\1/') # Build with...
```yaml on: tags: true sudo: required services: - docker before_install: - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USER" -p="$DOCKER_PASSWORD" script: - ALPINE_ID=$(docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}" -f Dockerfile . | tee /dev/stderr | tail -1 | sed 's/.*Successfully built \(.*\)$/...
bd1002e0-876a-4d01-9f64-ea95fb97e51e
{ "language": "YAML" }
```yaml language: php php: - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: 7.0 before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction script: - if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi - if [ "$TRAVIS_PHP_VE...
```yaml language: php php: - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: 7.0 before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction script: - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; the...
2c681b1b-a50a-4fa7-b26b-0dcbc1027c4e
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - rbx gemfile: - gemfiles/ar3.1.gemfile - gemfiles/ar3.2.gemfile - gemfiles/ar4.0.gemfile - gemfiles/ar4.1.gemfile - gemfiles/ar4.2.gemfile - gemfiles/mongoid2.gemfile - gemfiles/mongoid3.gemfile - gemfiles/mongoid4.gemfile - gemfiles/m...
```yaml language: ruby rvm: - 2.1 - 2.2 - rbx gemfile: - gemfiles/ar3.1.gemfile - gemfiles/ar3.2.gemfile - gemfiles/ar4.0.gemfile - gemfiles/ar4.1.gemfile - gemfiles/ar4.2.gemfile - gemfiles/mongoid2.gemfile - gemfiles/mongoid3.gemfile - gemfiles/mongoid4.gemfile - gemfiles/mongoid5.gemfile ...
42df7ee1-d594-4463-b588-09e93d29bad7
{ "language": "YAML" }
```yaml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" rvm: - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode notifications: email: - mbj@seoni...
```yaml language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci" rvm: - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode notifications: irc: "irc.freenode.org...
25599c80-f3d2-44f2-8f02-008c33574ba4
{ "language": "YAML" }
```yaml language: python python: - 3.4 - 3.5 install: - pip install --upgrade setuptools - pip install coveralls - pip install -r requirements.txt script: py.test --cov=aiohttp_jinja2 tests after_success: coveralls env: matrix: - PYTHONASYNCIODEBUG=x - PYTHONASYNCIODEBUG= ``` Fix error in re...
```yaml language: python python: - 3.4 - 3.5 install: - pip install --upgrade setuptools - pip install coveralls - pip install -r requirements-dev.txt script: py.test --cov=aiohttp_jinja2 tests after_success: coveralls env: matrix: - PYTHONASYNCIODEBUG=x - PYTHONASYNCIODEBUG= ```
3b1edf80-ee31-432e-ad44-08e961012ae6
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.2.2 script: script/cibuild env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer ``` Use container-based infrastructure for CI
```yaml language: ruby rvm: - 2.2.2 script: script/cibuild env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer sudo: false # migrate to container-based infrastructure ```
0a939aaa-3cf3-4523-9d0e-a48d8143d56b
{ "language": "YAML" }
```yaml language: node_js node_js: - "4.0" - "5.0" - "6.0" ``` Update node versions for koa2 syntax
```yaml language: node_js node_js: - "6.0" - "7.0" ```
fece8bf5-8df7-4783-91ea-02af4a7dff4e
{ "language": "YAML" }
```yaml language: c install: - autoreconf --install script: - ./configure && make ``` Speed up the build, according to Travis
```yaml language: c env: global: - MAKEFLAGS="-j 2" install: - autoreconf --install script: - ./configure && make ```
1d5fa879-7e4e-4c19-a53d-9eecbc22dd09
{ "language": "YAML" }
```yaml language: php php: - 7.1 branches: only: - master cache: directories: - $HOME/.composer/cache/files - tmp/components before_script: - composer install script: - ./bin/build deploy: provider: pages skip_cleanup: true local_dir: ./tmp/build project_name: "ReactPHP Website" fq...
```yaml language: php sudo: false php: - 7.1 branches: only: - master cache: directories: - $HOME/.composer/cache/files - tmp/components before_script: - composer install script: - ./bin/build deploy: provider: pages skip_cleanup: true local_dir: ./tmp/build project_name: "ReactPHP ...
049b603c-edbf-4e02-9551-7800d114ba91
{ "language": "YAML" }
```yaml language: go script: - go test -check.vv ./... install: - go get gopkg.in/check.v1 env: global: - secure: RsNugq1R2VlLqa8hZzcccagr+4D6fMeoxt2T7YK4nzSiFA3zkw0IwCDO9oMSuDHcVrmuPVUJIi8QUsGNOzp0uffuSNtc8RLIXRZuGbeb0v8joSSdYyDXB2O6RrW6gipmq8JGgBm4KOp+QFLw1VH4ilPfZ/gHsyMA171TVjicyAc= ``` Remove -check.v ...
```yaml language: go script: - go test -v ./... install: - go get gopkg.in/check.v1 env: global: - secure: RsNugq1R2VlLqa8hZzcccagr+4D6fMeoxt2T7YK4nzSiFA3zkw0IwCDO9oMSuDHcVrmuPVUJIi8QUsGNOzp0uffuSNtc8RLIXRZuGbeb0v8joSSdYyDXB2O6RrW6gipmq8JGgBm4KOp+QFLw1VH4ilPfZ/gHsyMA171TVjicyAc= ```
f86b148a-05e6-428c-b70d-1ca2fba542f3
{ "language": "YAML" }
```yaml sudo: false language: node_js os: - osx - linux node_js: - 8 - 10 after_success: npm run coverage ``` Disable email notifications from Travis
```yaml sudo: false language: node_js os: - osx - linux node_js: - 8 - 10 after_success: npm run coverage notifications: email: false ```
0a42b0b3-4f61-416d-9abb-3b46158bf27f
{ "language": "YAML" }
```yaml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.5 - 2.2.0 - jruby ``` Enable tests to run on new (much faster) Travis architecture
```yaml language: ruby sudo: false rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.1.5 - 2.2.0 - jruby ```
58e8b518-f801-4ab9-a427-c31dd8959787
{ "language": "YAML" }
```yaml # This is necessary until https://github.com/travis-ci/travis-ci/issues/3120 is # fixed sudo: required language: scala # These directories are cached to S3 at the end of the build cache: directories: - $HOME/.ivy2/cache - $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION scala: - 2.10.5 - 2.11.6 jdk: ...
```yaml # This is necessary until https://github.com/travis-ci/travis-ci/issues/3120 is # fixed sudo: required language: scala # These directories are cached to S3 at the end of the build cache: directories: - $HOME/.ivy2/cache - $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION scala: - 2.10.5 - 2.11.6 - 2....
a2f391f3-4896-43dd-b471-baab6cf55d99
{ "language": "YAML" }
```yaml language: php addons: apt: packages: - language-pack-nl php: - 5.6 - 7.0 - 7.1 branches: only: - master install: - composer install - wget https://scrutinizer-ci.com/ocular.phar -O "$HOME/ocular.phar" script: - vendor/bin/phpunit --coverage-clover cache/logs/c...
```yaml language: php addons: apt: packages: - language-pack-nl php: - 7.0 - 7.1 branches: only: - master install: - composer install - wget https://scrutinizer-ci.com/ocular.phar -O "$HOME/ocular.phar" script: - vendor/bin/phpunit --coverage-clover cache/logs/clover.xm...
22719215-279c-4a23-a9bc-8993296a974f
{ "language": "YAML" }
```yaml language: objective-c cache: cocoapods podfile: Example/Podfile osx_image: xcode8 before_install: - gem install cocoapods # Since Travis is not always on latest version - npm install ios-sim -g script: # OCSlimProject Example Acceptance Tests - set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcwo...
```yaml language: objective-c cache: cocoapods podfile: Example/Podfile osx_image: xcode8 before_install: - gem install cocoapods # Since Travis is not always on latest version - npm install ios-sim -g - ios-sim start --devicetypeid iPhone-6s script: # OCSlimProject Example Acceptance Tests (iOS, macOS) - set -o pipefa...
03e3a1fc-aaca-438b-b520-ae8a29f0bcb4
{ "language": "YAML" }
```yaml language: node_js node_js: - "4" - "6" - "8" - "9" script: "npm run-script travis" ``` Drop node.js 4 support (semver-major)
```yaml language: node_js node_js: - "6" - "8" - "9" script: "npm run-script travis" ```
50fbdf6e-0a10-4c3a-ac44-38d5f3a8a657
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.3 - 2.4 - 2.5 addons: apt: packages: - libqtwebkit-dev - xvfb code_climate: repo_token: secure: "cT2wvWS2Uk2trYGwZ38Qo9XWCeL+OOXH0lVmLfNb1Xy/tWAXycDdZsc9CN8igjhD+/cKvvh529/qdDm2PJnb1Hux1bxHSTuMuE2xQWlfJqaOR/IX0z96MbP1eITKjhGv9vccmIPdV3Rh/OQLeHkyqyHvXio9...
```yaml language: ruby rvm: - 2.3 - 2.4 - 2.5 addons: apt: packages: - libqtwebkit-dev - xvfb code_climate: repo_token: secure: "cT2wvWS2Uk2trYGwZ38Qo9XWCeL+OOXH0lVmLfNb1Xy/tWAXycDdZsc9CN8igjhD+/cKvvh529/qdDm2PJnb1Hux1bxHSTuMuE2xQWlfJqaOR/IX0z96MbP1eITKjhGv9vccmIPdV3Rh/OQLeHkyqyHvXio9...
1a5d6b9d-d932-4887-96a2-e7808ce69fbe
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.0.0 - 1.9.3 before_install: - "mkdir ~/.gemcert && cd ~/.gemcert && gem cert --build test@example.com && cp gem-public_cert.pem $TRAVIS_BUILD_DIR/" install: bundle install script: rspec ``` Move back to the project directory
```yaml language: ruby rvm: - 2.0.0 - 1.9.3 before_install: - "mkdir ~/.gemcert && cd ~/.gemcert && gem cert --build test@example.com && cp gem-public_cert.pem $TRAVIS_BUILD_DIR/" - "cd $TRAVIS_BUILD_DIR" install: bundle install script: rspec ```
61fe2d25-3821-4f66-9560-2df0a905cb19
{ "language": "YAML" }
```yaml language: php php: - 5.6 - 7.0 - hhvm sudo: required before_install: - printf "\n" | 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 script: vendor/bin/phpunit ...
```yaml language: php php: - 5.6 - 7.0 - hhvm sudo: required before_install: - if [[ $TRAVIS_PHP_VERSION < 7.0 ]]; then printf "\n" | pecl install yaml; fi - if [[ $TRAVIS_PHP_VERSION >= 7.0 ]]; then printf "\n" | pecl install yaml-beta; fi install: - travis_retry composer install --no-interaction --pre...
a2b2f455-5655-464a-abdc-b61bfa6915a8
{ "language": "YAML" }
```yaml language: ruby rvm: - 2.2.2 env: global: - CC_TEST_REPORTER_ID=9302884ead7bad6d1cc81026ba78b5cd8551024643cf14c72fe2d42eaaef36e6 before_install: - gem update --system - gem install bundler before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./...
```yaml language: ruby rvm: - 2.4.5 - 2.5.3 env: global: - CC_TEST_REPORTER_ID=9302884ead7bad6d1cc81026ba78b5cd8551024643cf14c72fe2d42eaaef36e6 before_install: - gem update --system - gem install bundler before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-...
1b1359f1-fe17-460d-b83e-a1223b7e1a75
{ "language": "YAML" }
```yaml language: php php: - 5.5.9 - 5.5 - 5.6 - 7.0 - 7.1 env: global: - setup=basic matrix: include: - php: 5.5.9 env: setup=lowest - php: 5.5.9 env: setup=stable sudo: false install: - if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer...
```yaml language: php php: - 5.5.9 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 env: global: - setup=basic matrix: include: - php: 5.5.9 env: setup=lowest - php: 5.5.9 env: setup=stable sudo: false install: - if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction ...
6322c366-fe4d-4611-bc85-c48187a7909c
{ "language": "YAML" }
```yaml language: cpp compiler: - gcc - clang before_install: - sudo apt-get update -qq - sudo apt-get install -yqq libevent-dev script: mkdir build && cd build && cmake .. && make && ./test/test ``` Install GCC 4.8 for C++11 support in tests
```yaml language: cpp compiler: - gcc before_install: # We need GCC 4.8 for the unit tests - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update -qq install: - sudo apt-get install -yqq g++-4.8 libevent-dev - export CXX="g++-4.8" script: mkdir build && cd build && cmake .. && ma...
dee3915f-2ce9-4cca-a538-99a5a073c2f8
{ "language": "YAML" }
```yaml language: ruby addons: postgresql: "9.3" rvm: - '2.2.0' before_install: - sudo apt-get install -qq phantomjs before_script: - bundle exec rake db:test:prepare notifications: email: false env: ``` Use Ruby 2.1.5 for CI.
```yaml language: ruby addons: postgresql: "9.3" rvm: - '2.1.5' before_install: - sudo apt-get install -qq phantomjs before_script: - bundle exec rake db:test:prepare notifications: email: false env: ```