doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
93bbb244-43a7-4965-b64e-0052d1c1cf4e | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk7
- openjdk7
- oraclejdk8
env:
- GWT_VERSION=2.6.1
- GWT_VERSION=2.7.0
- GWT_VERSION=2.8.0-SNAPSHOT
install: true
script: mvn verify -Dinvoker.streamLogs=true -Dinvoker.mavenOpts="-Djava.net.preferIPv4Stack=true" -DgwtVersion=$GWT_VERSION
after_success:
- ci/depl... | ```yaml
language: java
jdk:
- oraclejdk7
- openjdk7
- oraclejdk8
env:
- GWT_VERSION=2.6.1
- GWT_VERSION=2.7.0
- GWT_VERSION=2.8.0-SNAPSHOT
matrix:
allow_failures:
- jdk: oraclejdk7
env: GWT_VERSION=2.8.0-SNAPSHOT
- jdk: openjdk7
env: GWT_VERSION=2.8.0-SNAPSHOT
install: true
script:... |
3347f292-81ac-490a-86ca-301447648c6e | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
fast_finish: true
allow_failures:
php: 7.1
cache:
directories:
- $HOME/.composer/cache
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --n... | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
fast_finish: true
cache:
directories:
- $HOME/.composer/cache
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist
script:
... |
c91c78fa-d5d4-46c2-bcf3-4701fc04c99d | {
"language": "YAML"
} | ```yaml
rvm:
- 1.9.3
- 2.0.0
- jruby
- rbx
```
Use 1.9 mode for jruby and rbx on Travis | ```yaml
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
``` |
d096b5b7-2fe2-49c9-978b-20e1f069ac87 | {
"language": "YAML"
} | ```yaml
before_install:
- travis_retry sudo apt-add-repository ppa:chris-lea/zeromq -y
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install libzmq3 libzmq3-dev -y
language: ruby
rvm:
- 2.0.0
cache:
- bundler
- apt
```
Build against Ruby 2.1.0 as well | ```yaml
before_install:
- travis_retry sudo apt-add-repository ppa:chris-lea/zeromq -y
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install libzmq3 libzmq3-dev -y
language: ruby
rvm:
- 2.0.0
- 2.1.0
cache:
- bundler
- apt
``` |
a5d5acfa-3b7f-4359-87e6-23d719bdac1e | {
"language": "YAML"
} | ```yaml
language: php
php:
- 7.1
- 7.2
- 7.3
env:
- dependencies=lowest
- dependencies=highest
before_script:
- composer self-update
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --no-interaction; fi;
- if [ "$dependencies" = "highest" ]; then composer update --no-interaction... | ```yaml
language: php
php:
- 7.1
- 7.2
- 7.3
env:
- dependencies=lowest
- dependencies=highest
before_script:
- composer self-update
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --no-interaction; fi;
- if [ "$dependencies" = "highest" ]; then composer update --no-interaction... |
56adc25d-4f98-4fdc-b0b9-d91b221d287f | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
install:
- pip install -q coveralls --use-mirrors
- pip install flake8
before_script:
- flake8 origins
script:
- coverage run test_strconv.py
after_success:
- coveralls
```
Fix wrong target for flake8 | ```yaml
language: python
python:
- "2.6"
- "2.7"
install:
- pip install -q coveralls --use-mirrors
- pip install flake8
before_script:
- flake8 strconv.py
script:
- coverage run test_strconv.py
after_success:
- coveralls
``` |
f8855a9e-95b6-4b0d-be7a-05a1a5060156 | {
"language": "YAML"
} | ```yaml
language: go
os:
- linux
go:
- 1.8.1
- 1.7.3
install:
- go get github.com/gorilla/mux
- go get github.com/gorilla/csrf
before_script:
- go fmt github.com/omar-h/goimage
- go fmt github.com/omar-h/goimage/util
script:
- go test github.com/omar-h/goimage
- go test github.com/omar-h/goimage... | ```yaml
language: go
os:
- linux
go:
- 1.8.3
- 1.7.6
install:
- go get github.com/gorilla/mux
- go get github.com/gorilla/csrf
before_script:
- gofmt github.com/omar-h/goimage
- gofmt github.com/omar-h/goimage/util
script:
- go test github.com/omar-h/goimage
- go test github.com/omar-h/goimage/ut... |
ee8e0c5f-ffe3-4b75-aef6-76eded545ed6 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "4"
- "5"
script:
- npm test
```
Drop support for node version older than 6 | ```yaml
language: node_js
node_js:
- stable
- lts/*
- 6.9
script:
- npm test
``` |
968715e4-5081-4d78-aaaa-2d17aa368db2 | {
"language": "YAML"
} | ```yaml
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 5.4
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: hhvm
allow_failures:
- php: hhvm
before_install:
- composer self-update
- curl -LSs https://... | ```yaml
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 7.0
- php: 7.1
before_install:
- composer self-update
- curl -LSs https://box-project.github.io/box2/installer.php | php
- mv box.phar box
- chmod 755 box
install:
... |
9d822198-73a9-435d-a3da-1072e6e4c14c | {
"language": "YAML"
} | ```yaml
matrix:
include:
- language: python
python:
- "3.5"
sudo: False
addons:
postgresql: "9.6"
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
- pip install cover... | ```yaml
matrix:
include:
- language: python
python:
- "3.5"
sudo: False
addons:
postgresql: "9.6"
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
- pip install cover... |
9a072459-eb48-4bfc-b9ea-1173d3748f50 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.1.1
- 2.0.0
- 1.9.3
before_script: bundle exec rake ksvalidator:setup
notifications:
hipchat: ac943dbb9ee5b4a2562d4476987a91@Stork
```
Revert "add notification token for hipchat" | ```yaml
language: ruby
rvm:
- 2.1.1
- 2.0.0
- 1.9.3
before_script: bundle exec rake ksvalidator:setup
notifications:
hipchat: ***REMOVED***@Stork
``` |
bf348b5f-ae2f-4ab2-b349-f5f7f3a362f0 | {
"language": "YAML"
} | ```yaml
language: objective-c
env:
global:
- EnableNuGetPackageRestore=true
matrix:
- MONO_VERSION="3.8.0"
before_install:
- wget "http://download.mono-project.com/archive/${MONO_VERSION}/macos-10-x86/MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg"
- sudo installer -pkg "MonoFramework-MDK-${MONO_V... | ```yaml
language: objective-c
env:
global:
- EnableNuGetPackageRestore=true
before_install:
- wget "https://download.mono-project.com/archive/4.6.1/macos-10-universal/MonoFramework-MDK-4.6.1.5.macos10.xamarin.universal.pkg"
- sudo installer -pkg "MonoFramework-MDK-4.6.1.5.macos10.xamarin.universal.pkg" -target ... |
5f0421a6-a58d-4a00-a6ed-ae4f2ef9e092 | {
"language": "YAML"
} | ```yaml
language: go
go:
- stable
- master
before_script:
- go get -u github.com/golang/lint
script:
- test -z $(gofmt -l .)
- test -z $(golint ./...)
- go vet ./...
- go test -v ./...
matrix:
allow_failures:
- go: master
```
Switch to Ubuntu 14.04 Travis image | ```yaml
dist: trusty
sudo: false
language: go
go:
- stable
- master
before_script:
- go get -u github.com/golang/lint
script:
- test -z $(gofmt -l .)
- test -z $(golint ./...)
- go vet ./...
- go test -v ./...
matrix:
allow_failures:
- go: master
``` |
f4250425-93c4-4d08-8168-ff18f9733e74 | {
"language": "YAML"
} | ```yaml
before_script:
- sudo apt-get install ccache libffi-dev libicu-dev libgmp3-dev
script: "perl Configure.pl --optimize --cc=\"$CC\" --link=\"$CC\" --ld=\"$CC\" --ccflags='-g' && make fulltest"
# branches:
# only:
# - master
notifications:
recipients:
- duke@leto.net
email:
on_success: change... | ```yaml
before_script:
- sudo apt-get install ccache libffi-dev libicu-dev libgmp3-dev clang
script: "perl Configure.pl --test=build $PARROT_OPTIMIZE --cc=\"$CC\" --link=\"$CC\" --ld=\"$CC\" --ccflags='-g' && make $PARROT_TEST"
# branches:
# only:
# - master
notifications:
recipients:
- duke@leto.net
... |
a934ff18-4867-4b73-bade-c30b957d44da | {
"language": "YAML"
} | ```yaml
language: python
env:
- PYTHON=2.7
- PYTHON=2.7
- PYTHON=3.3
- PYTHON=3.4
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
install:
- conda up... | ```yaml
language: python
env:
- PYTHON=2.6
- PYTHON=2.7
- PYTHON=3.3
- PYTHON=3.4
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
install:
- conda up... |
a6ede4ca-f7b9-482b-a152-0d68d294ed88 | {
"language": "YAML"
} | ```yaml
sudo: false
language: python
python:
- "2.7"
install:
- "pip install -r requirements-dev.txt"
- "pip install -e ."
script:
- mamba
```
Add python 3.6 to test languages | ```yaml
sudo: false
language: python
python:
- "2.7"
- "3.6"
install:
- "pip install -r requirements-dev.txt"
- "pip install -e ."
script:
- mamba
``` |
0a1e52ab-5897-441c-bb66-e5c5e1894ab5 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
env:
- DJANGO=https://github.com/django/django/zipball/master
- DJANGO=https://www.djangoproject.com/download/1.5b2/tarball/
- DJANGO=django==1.4.3 --use-mirrors
- DJANGO=django==1.3.5 --use-mirrors
install:
- pip install $DJANGO
- pip instal... | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
env:
- DJANGO=https://github.com/django/django/zipball/master
- DJANGO=https://www.djangoproject.com/download/1.5b2/tarball/
- DJANGO=django==1.4.3 --use-mirrors
- DJANGO=django==1.3.5 --use-mirrors
install:
- pip install $DJANGO
- pip instal... |
7f986bf6-06eb-4701-aa50-e420fb194db8 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
sudo: false
# Setup anaconda
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.8.3-Linux... | ```yaml
language: python
python:
- 2.7
sudo: false
# Setup anaconda
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.8.3-Linux-x86_64.sh -O miniconda.... |
4647ba30-012a-4b2b-b153-de227fc0c243 | {
"language": "YAML"
} | ```yaml
language: ruby
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: "RAILS_ENV=test bundle exec rake db:create db:migrate default"
after_success: ./script/deploy-staging.sh
bundler_args: --without development
```
Update to current Travis infrastructure | ```yaml
sudo: false
language: ruby
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: "RAILS_ENV=test bundle exec rake db:create db:migrate default"
after_success: ./script/deploy-staging.sh
bundler_args: --without development
``` |
6a1dabc0-04f8-446e-8622-6f141749a17f | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.2.2
- 2.2.3
- 2.3.1
- 2.4.3
- 2.5.0
before_install: gem install bundler -v 1.16.1
```
Remove old versions of ruby | ```yaml
language: ruby
rvm:
- 2.1.0
- 2.2.3
- 2.3.1
- 2.4.3
- 2.5.0
before_install: gem install bundler -v 1.16.1
``` |
0c00843b-2058-4d2a-b857-6bfcfa200a58 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 0.8
- "0.10"
- 0.11
env:
global:
- secure: c3UcLxEeEld/+adgMG4wNTpu4QMtP1exxH2Ne4P10LAl/F+VZKG4t5XcvU56kS3Hsx6WGhJpgKUqDJ9ULjaBHjqEFjhLZOFIFfGhlQaqR67wYPqyCuNtJXVaEH2JcJTvJq7CbWjPSoak91XfO2C9fY2C0rcrLQ2LnMp2JocaLKw=
- secure: gdSKZDRCr/t8LC5Cle0qnBjXJXDpchIeksdqkoVeya0B6VVUNND... | ```yaml
language: node_js
node_js:
- 0.8
- "0.10"
- 0.11
before_install:
- npm i npm@latest -g
env:
global:
- secure: c3UcLxEeEld/+adgMG4wNTpu4QMtP1exxH2Ne4P10LAl/F+VZKG4t5XcvU56kS3Hsx6WGhJpgKUqDJ9ULjaBHjqEFjhLZOFIFfGhlQaqR67wYPqyCuNtJXVaEH2JcJTvJq7CbWjPSoak91XfO2C9fY2C0rcrLQ2LnMp2JocaLKw=
- secure: gdSKZ... |
e2846f9e-fc50-49b1-90d8-a8f4ef7c79ec | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
install:
- sudo pip install -r requirements.txt
- sudo pip install coveralls
script: nosetests --with-coverage --cover-package=energiscore
after_success:
- coveralls
```
Update coverage call (correctly pointing to estream) | ```yaml
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
install:
- sudo pip install -r requirements.txt
- sudo pip install coveralls
script: nosetests --with-coverage --cover-package=energistream-py
after_success:
- coveralls
``` |
e71cbe33-c09c-49b6-adec-595488b17211 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
env:
- DJANGO_INSTALL="Django==1.4.5"
- DJANGO_INSTALL="Django==1.5.1"
- DJANGO_INSTALL="-e git+https://github.com/django/django.git@1.6b2#egg=Django"
install:
- pip install -q $DJANGO_INSTALL
- python setup.py -q install
script: ./runtests.sh
ma... | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
env:
- DJANGO_INSTALL="Django==1.4.10"
- DJANGO_INSTALL="Django==1.5.5"
- DJANGO_INSTALL="Django==1.6"
install:
- pip install -q $DJANGO_INSTALL
- python setup.py -q install
script: ./runtests.sh
matrix:
exclude:
- python: "3.3"
env: ... |
b65f3edd-74e0-4c0c-997d-8781f870a10c | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "5"
script:
- npm test
```
Add automatic deployments via Travis | ```yaml
language: node_js
node_js:
- stable
cache:
yarn: true
directories:
- node_modules
install:
- yarn
script:
- yarn test
deploy:
provider: npm
email: joel@oblador.se
api_key:
secure: "AjuViYEVHB0kJOP2N/7gXSQiji3rGOeaM2juNDnxvdhoSf91aanKSMQp8Mqt3Oug0vxnWPDuKMvc2M2PxQcyiaN4uNKxIJ2+nl3B/mhBBBvWYbZu5H7... |
a04d73da-f42d-489b-ab12-26726a63fc4c | {
"language": "YAML"
} | ```yaml
language: node_js
cache: yarn
node_js:
- node
- "10"
- "8"
```
Add Node.js 12 to CI | ```yaml
language: node_js
cache: yarn
node_js:
- node
- "12"
- "10"
- "8"
``` |
3cd69982-c582-49d5-9f10-e353d1c914e1 | {
"language": "YAML"
} | ```yaml
sudo: false
language: go
go:
- "1.9.x"
- "1.10.x"
script:
- make
```
Add Go 1.11 to Travis. | ```yaml
sudo: false
language: go
go:
- "1.9.x"
- "1.10.x"
- "1.11".x"
script:
- make
``` |
2a6793ba-7eb4-436d-966f-2ea247072751 | {
"language": "YAML"
} | ```yaml
language: python
sudo: false
cache: pip
dist: xenial
install:
- pip install --upgrade pip
- pip install --upgrade --pre -r test-requirements.txt .
- pip freeze
env:
OAUTH2_TOKEN_URL="token_url"
OAUTH2_USERDATA_URL="userdata_url"
script:
- |
if [[ "$TEST_LINT" = 1 ]]; then
flake8 oauthenti... | ```yaml
language: python
sudo: false
cache: pip
dist: xenial
install:
- pip install --upgrade pip
- pip install --upgrade --pre -r test-requirements.txt .
- pip freeze
env:
OAUTH2_TOKEN_URL="token_url"
OAUTH2_USERDATA_URL="userdata_url"
script:
- |
if [[ "$TEST_LINT" = 1 ]]; then
flake8 oauthenti... |
b7c1078c-d70c-4017-b263-2a8cd6e7089b | {
"language": "YAML"
} | ```yaml
language: go
matrix:
include:
- os: linux
sudo: required
services:
- docker
- os: osx
go:
- 1.13.x
notifications:
email: false
install:
# NOTE: The (brew update) should not be necessary, and slows things down;
# we include it as a workaround for https://github.com/Homebrew/b... | ```yaml
language: go
matrix:
include:
- os: linux
sudo: required
services:
- docker
- os: osx
go:
- 1.13.x
notifications:
email: false
install:
# Ideally, the (brew update) should not be necessary and Travis would have fairly
# frequenstly updated OS images; that’s not been the case... |
8c320da8-3481-4348-86c9-aea5daa6f1f9 | {
"language": "YAML"
} | ```yaml
---
language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
- node
- iojs
sudo: false
script:
- npm test
- npm run lint
```
Configure Travis CI to test on Node.js 4 and current | ```yaml
---
language: node_js
node_js:
- '4'
- node
sudo: false
script:
- npm test
- npm run lint
``` |
9d0e55e0-494b-44f4-ac76-86f6f09769ae | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
script:
- phpunit
install:
- composer install
```
Modify building script to use some logical order | ```yaml
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
install:
- composer install
script:
- phpunit
``` |
80cf7f03-88e5-4162-854d-8814350e1e15 | {
"language": "YAML"
} | ```yaml
language: clojure
lein: lein2
script: lein2 test!
branches:
only:
- master
- dev
jdk:
- oraclejdk7
services:
- redis-server
notifications:
hipchat:
rooms:
- ec1ead2b384476ea5bcb232b5bb9b6@Snooty Monkey```
Update CI notifications from HipChat to Slack. | ```yaml
language: clojure
lein: lein2
script: lein2 test!
branches:
only:
- master
- dev
jdk:
- oraclejdk7
services:
- redis-server
notifications:
slack:
secure: Xymsv6anNyxB6t79IchZQxjMk14huMEQ1FXCxNRwSmfHzqeRPEvLTEv9JWd6T4xoaoW7a1H5RV5lEyRb9iPV9qE1JVpE22AaZmuxvgLl1kAN1X6LN1vTqN5HCrPGQCuHY0HFbhV0/wewGB3fU0... |
ddc31de8-0a3e-4ea3-8182-a704a9a01929 | {
"language": "YAML"
} | ```yaml
---
cache:
bundler: true
language: ruby
rvm:
- 2.4.5
- 2.5.3
- 2.6.1
before_script:
- bundle install
script:
- bundle exec rspec
- bundle exec rubocop --fail-level C
```
Update bundler, drop ruby 2.4 support | ```yaml
---
cache:
bundler: true
language: ruby
rvm:
- 2.4.6
- 2.5.5
- 2.6.3
before_install:
- rvm use @global
- gem uninstall bundler -x || true
- gem install bundler --force --version=2.0.1
- bundler --version
- bundle install
script:
- bundle exec rspec
- bundle exec rubocop --fail-level C
``` |
53064eee-830b-4464-8b0b-763589f9e6cc | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- xvfb
- vnc-java
- x11vnc
- tightvncserver
env:
- DSPLAY=:0
before_script:
- pip install --user codecov
after_success:
- codecov
addons:
srcclr: true
```
Disable SourceClear as it breaks the build | ```yaml
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- xvfb
- vnc-java
- x11vnc
- tightvncserver
env:
- DSPLAY=:0
before_script:
- pip install --user codecov
after_success:
- codecov
#addons:
# srcclr: true
``` |
fdf1ad35-37d2-432f-b2f4-6b0633f0c31d | {
"language": "YAML"
} | ```yaml
language: "node_js"
node_js:
- 0.4
- 0.6
- 0.8
```
Update node version for Travis CI. | ```yaml
language: "node_js"
node_js:
- 0.8
- 0.10
- 0.12
- iojs
``` |
669d7cc7-fc17-4c6c-8f14-5293a8d4464a | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- "1.9.3-p551"
- "2.1.10"
- "2.2.5"
- "2.3.1"
```
Remove Ruby 1.9 from CI. | ```yaml
language: ruby
rvm:
# - "1.9.3-p551"
- "2.1.10"
- "2.2.5"
- "2.3.1"
``` |
6067dd7a-7731-4cb5-a099-05619e83d0b6 | {
"language": "YAML"
} | ```yaml
rvm: 1.9.3
notifications:
email:
- patrick.schoenfeld@googlemail.com
env:
- PUPPET_VERSION=2.7.11
```
Set puppet version for tests to 3.7. | ```yaml
rvm: 1.9.3
notifications:
email:
- patrick.schoenfeld@googlemail.com
env:
- PUPPET_VERSION=3.7.2
``` |
be2f2db4-4359-415b-8aec-de49b2ea0978 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.6.5
- 2.5.7
- 2.4.9
- jruby-9.2.8.0
install:
- gem install bundler
- bundle install --retry=3
env:
- ACTIVE_RECORD_BRANCH="master"
- ACTIVE_RECORD_VERSION="~> 6.0.0"
- ACTIVE_RECORD_VERSION="~> 5.2.0"
- ACTIVE_RECORD_VERSION="~> 5.1.0"
- ACTIVE_RECORD_VERSION="~>... | ```yaml
language: ruby
rvm:
- 2.7.0
- 2.6.5
- 2.5.7
- 2.4.9
- jruby-9.2.8.0
install:
- gem install bundler
- bundle install --retry=3
env:
- ACTIVE_RECORD_BRANCH="master"
- ACTIVE_RECORD_VERSION="~> 6.0.0"
- ACTIVE_RECORD_VERSION="~> 5.2.0"
- ACTIVE_RECORD_VERSION="~> 5.1.0"
- ACTIVE_RECORD_V... |
1c699401-2eb2-4363-bc6d-2a234b97d234 | {
"language": "YAML"
} | ```yaml
sudo: required
dist: trusty
language: ruby
cache: bundler
addons:
postgresql: 9.4
services:
- postgresql
before_script:
- npm install bower
- RAILS_ENV=test bin/bundle exec rake db:create db:migrate
- RAILS_ENV=production bin/rake assets:precompile
script: bin/rails test test/models/ test/controllers/... | ```yaml
sudo: required
dist: trusty
language: ruby
cache: bundler
addons:
postgresql: 9.4
services:
- postgresql
before_script:
- npm install bower
- RAILS_ENV=test bin/bundle exec rake db:create db:migrate
- RAILS_ENV=production bin/rake assets:precompile
script: bin/rails test test/models/ test/controllers/... |
2cc7ac8a-925f-498b-aa03-50fa71d2438d | {
"language": "YAML"
} | ```yaml
language: python
python:
- '3.6'
- '2.7'
install:
- pip install keras
- pip install tensorflow
- pip install git+https://github.com/broadinstitute/keras-resnet
script:
- py.test --pep8
```
Add installation of pytest-pep8 to Travis. | ```yaml
language: python
python:
- '3.6'
- '2.7'
install:
- pip install keras==2.0.9
- pip install tensorflow
- pip install git+https://github.com/broadinstitute/keras-resnet
- pip install pytest-pep8
script:
- py.test --pep8
``` |
7e39c5f0-dffb-4e3e-acde-03c161acbfbd | {
"language": "YAML"
} | ```yaml
# Configuration for Travis (https://travis-ci.org)
language: objective-c
xcode_workspace: OneTimePassword.xcworkspace
xcode_scheme: OneTimePassword
osx_image: xcode7.2
xcode_sdk: iphonesimulator9.1
env:
- DESTINATION="OS=8.1,name=iPhone 4S"
- DESTINATION="OS=8.2,name=iPhone 5"
- DESTINATION="OS=8.3,na... | ```yaml
# Configuration for Travis (https://travis-ci.org)
language: objective-c
xcode_workspace: OneTimePassword.xcworkspace
xcode_scheme: OneTimePassword
osx_image: xcode7.2
xcode_sdk: iphonesimulator9.2
env:
- DESTINATION="OS=8.1,name=iPhone 4S"
- DESTINATION="OS=8.2,name=iPhone 5"
- DESTINATION="OS=8.3,na... |
6c6cb796-2be6-48fe-9eb5-dda960105a46 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
env:
- DB=mysql
- DB=sqlite
before_script:
- cd ..
- git clone git://github.com/zendframework/ZendSkeletonApplication.git --recursive
- cd ZendSkeletonApplication
- cd vendor && mv ~/builds/cdli/CdliTwoStageSignup . && cd - >/dev/null
- cp vendor/CdliTwoStageS... | ```yaml
language: php
php:
- 5.3
- 5.4
env:
- DB=mysql
- DB=sqlite
before_script:
- cd ..
- git clone git://github.com/zendframework/ZendSkeletonApplication.git --recursive
- cd ZendSkeletonApplication
- cd vendor && mv ~/builds/cdli/CdliTwoStageSignup . && cd - >/dev/null
- cp vendor/CdliTwoStageS... |
2ccaf80e-a89f-478f-99fe-9f3318bd2b91 | {
"language": "YAML"
} | ```yaml
language: cpp
sudo: required
services:
- docker
matrix:
include:
- env: BUILD_TARGET=linux-gcc BUILD_FLAGS="--with-coverage"
- env: BUILD_TARGET=linux-clang BUILD_FLAGS="--sanitizer=undefined,address"
before_install:
- docker pull mpopoloski/slang:1.1
- docker run -itd --name build mpopoloski... | ```yaml
language: cpp
sudo: required
services:
- docker
matrix:
include:
- env: BUILD_TARGET=linux-gcc BUILD_FLAGS="--with-coverage"
- env: BUILD_TARGET=linux-clang BUILD_FLAGS="--sanitizer=undefined,address"
before_install:
- docker pull mpopoloski/slang:1.2
- docker run -itd --name build mpopoloski... |
2dafbb60-2d97-45bb-ae1d-98c078e3f878 | {
"language": "YAML"
} | ```yaml
language: python
python:
# - "2.7" - too long, gets killed :'(
- "3.2"
- "3.3"
- "3.4"
- "3.5-dev"
- "3.5.0b2"
- "3.5.0b3"
# - "nightly"
- "pypy"
- "pypy3"
before_install:
- sudo apt-get update -qq
install:
- pip install pep8
- pip install --upgrade pyflakes
before_script:
- pep8 *.p... | ```yaml
language: python
python:
# - "2.7" - too long, gets killed :'(
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "3.6"
- "3.6-dev"
- "3.7-dev"
# - "nightly"
- "pypy"
- "pypy3"
before_install:
- sudo apt-get update -qq
install:
- pip install pep8
- pip install --upgrade pyflakes
before... |
ebcd28da-4f6d-414a-8937-cf7d3c3240ad | {
"language": "YAML"
} | ```yaml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
- jruby
- rbx-18mode
gemfile:
- Gemfile
- gemfiles/Gemfile.base-versions
matrix:
exclude:
# Nokogiri 1.3.3 is not compatible with Rubinius or JRuby
- gemfile: gemfiles/Gemfile.base-versions
rvm: rbx-18mode
- gemfile: gemfiles/Gemfile.base-ve... | ```yaml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
gemfile:
- Gemfile
- gemfiles/Gemfile.base-versions
matrix:
exclude:
# Nokogiri 1.3.3 is not compatible with Rubinius or JRuby
- gemfile: gemfiles/Gemfile.base-versions
rvm: rbx-18mode
... |
c10deaee-797e-4e3c-a947-096dfb740df1 | {
"language": "YAML"
} | ```yaml
sudo: false
language: python
cache: pip
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install:
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; else pip install -r requirements-py2.txt; fi
- pip install coveralls
before_script:
- psql -U postgres -c 'CREATE DA... | ```yaml
sudo: false
language: python
cache: pip
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
install:
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; else pip install -r requirements-py2.txt; fi
- pip install coveralls
before_script:
- psql -U postgres -c ... |
cc756a7b-ede1-4a8d-80da-94071c7264ba | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3.0
- 2.4.0
- jruby
before_install:
- gem install bundler
services:
- redis-server
```
Remove Redis from Travis config | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3.0
- 2.4.0
- jruby
before_install:
- gem install bundler``` |
dc6e8416-7cd0-4ea6-97d0-6498e2b9328b | {
"language": "YAML"
} | ```yaml
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
install:
- pip install pipenv
- pipenv install --dev
script:
- pipenv run python -m pytest --cov-report term-missing --cov=pytac
- pipenv run flake8
after_success:
- coveralls
```
Move to Xenial for Python 3.7 s... | ```yaml
sudo: false
language: python
dist: xenial
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
install:
- pip install pipenv
- pipenv install --dev
script:
- pipenv run python -m pytest --cov-report term-missing --cov=pytac
- pipenv run flake8
after_success:
- coveralls
``` |
96149d64-6488-4bfa-920e-880c4d750e62 | {
"language": "YAML"
} | ```yaml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/op... | ```yaml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/o... |
3e8da99c-1a36-42bd-925b-475f2ae515e3 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
cache:
yarn: true
directories:
- node_modules
- $HOME/.mongodb-prebuilt
notifications:
email: true
node_js:
- "7"
- "6"
- "5"
- "4"
script:
- yarn run coverage
- yarn run build
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_al... | ```yaml
sudo: false
language: node_js
cache:
yarn: true
directories:
- node_modules
- $HOME/.mongodb-binaries
notifications:
email: true
node_js:
- "7"
- "6"
- "5"
- "4"
script:
- yarn run coverage
- yarn run build
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_al... |
93c92533-d1bb-4207-b995-10e9a76bd19b | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- jruby-9.1.16.0
gemfile:
- test/gemfiles/Gemfile-Rails-4-2
- test/gemfiles/Gemfile-Rails-5-0
- test/gemfiles/Gemfile-Rails-5-1
- Gemfile
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-9.1.16.0
```
Test against latest dependencies in CI | ```yaml
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- jruby-9.1.16.0
gemfile:
- test/gemfiles/Gemfile-Rails-4-2
- test/gemfiles/Gemfile-Rails-5-0
- test/gemfiles/Gemfile-Rails-5-1
- Gemfile
script:
- rm "${BUNDLE_GEMFILE}.lock" && bundle exec rake
matrix:
fast_finish: true
allow_failures:
- rvm:... |
6cf25af9-e317-4581-bc35-13e42b3f5e04 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "pypy"
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install -r requirements-test.txt
# command to run tests
script:
- flake8 .
- nosetests -v
notifications:
irc:
channels:
- "irc.esper.net#Ultros"
temp... | ```yaml
language: python
python:
- "2.6"
- "2.7"
# - "pypy"
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install -r requirements-test.txt
# command to run tests
script:
- flake8 .
- nosetests -v
notifications:
irc:
channels:
- "irc.esper.net#Ultros"
tem... |
b1d565ef-87c4-467a-820e-b3643fbcd292 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- '4'
- '6'
```
Fix test by install react manually | ```yaml
sudo: false
language: node_js
node_js:
- '4'
- '6'
install:
- yarn install
- npm install react
``` |
c82113e3-f6b4-4f2c-936b-1145c837a3be | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
matrix:
fast_finish: true
allow_failures:
- php: hhvm-nightly
before_script:
- ./.travis.install.sh
script:
- ./vendor/bin/phpunit
```
Remove PHP 5.4 support and add PHP 7 | ```yaml
language: php
php:
- 5.5
- 5.6
- 7
- hhvm
- hhvm-nightly
matrix:
fast_finish: true
allow_failures:
- php: hhvm-nightly
before_script:
- ./.travis.install.sh
script:
- ./vendor/bin/phpunit
``` |
388572b7-bbfb-49df-92dd-b7689939e621 | {
"language": "YAML"
} | ```yaml
language: ruby
script: "bundle exec rspec"
before_install:
- gem install bundler -v '>= 1.3'
rvm:
- 1.8.7
- 1.9.3
- 1.9.3-p448
- 2.0.0
gemfile:
- Gemfile
notifications:
email: false
```
Remove Ruby 1.8.7 from CI | ```yaml
language: ruby
script: "bundle exec rspec"
before_install:
- gem install bundler -v '>= 1.3'
rvm:
- 1.9.3
- 1.9.3-p448
- 2.0.0
gemfile:
- Gemfile
notifications:
email: false
``` |
55881e6c-abad-4bf5-860c-4ff18da93fca | {
"language": "YAML"
} | ```yaml
language: ruby
env:
- TEST_SUITE=test:unit
rvm:
- 1.9.3
- 2.1.0
- ruby-head
before_install:
- gem update --system
- gem update bundler
before_script:
- cp spec/data/.gooddata ~/
script: rake $TEST_SUITE
```
Test of secure environment variables | ```yaml
language: ruby
env:
global:
- secure: "BBg7RcixIsnmCQDkLuO9aVcqtCMJhnVfwZhc+az7UkSWGrs2biR4ArmMuhEA5UAp5gOfWdFk61OBNIJ7A+e22Czpi0msvlBCyDocaQR9Z1JQ8uDrsVohGd5+ir+fbo8cGw/Wr7Ol+KxLZC0TjlGnPtLa/J4MFomYjpF3JUCjnr8="
- TEST_SUITE=test:unit
- TEST_SUITE=test:integration
rvm:
- 1.9.3
- 2.1.0
- r... |
48a7600b-cad1-4771-8a0d-b7749ac3d5ef | {
"language": "YAML"
} | ```yaml
language: common-lisp
sudo: required
env:
matrix:
- LISP=sbcl-bin
- LISP=ccl-bin
- LISP=clisp
- LISP=allegro
- LISP=abcl
- LISP=ecl
- LISP=cmucl
matrix:
allow_failures:
- env: LISP=clisp
- env: LISP=ecl
- env: LISP=cmucl
install:
- curl -L https://raw.githubuserc... | ```yaml
language: common-lisp
sudo: required
env:
matrix:
- LISP=sbcl-bin
- LISP=ccl-bin
- LISP=clisp
- LISP=allegro
- LISP=abcl
- LISP=ecl
install:
- curl -L https://raw.githubusercontent.com/snmsts/roswell/master/scripts/install-for-ci.sh | sh
before_script:
- ros --version
- ros co... |
2ae31c6d-37c9-49d3-a4af-316bb63d845d | {
"language": "YAML"
} | ```yaml
language: android
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-24.0.0
# The SDK version used to compile your project
- andr... | ```yaml
language: android
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-24.0.0
# The SDK version used to compile your project
- andr... |
eef3275f-2b65-438a-91d3-7cbcb1205953 | {
"language": "YAML"
} | ```yaml
sudo: false
language: ruby
cache: bundler
bundler_args: --without development
rvm:
- ruby-head
- ruby
- 2.2.0
- 2.1.0
- 2.0.0
- 1.9.3
- jruby-head
- jruby
- jruby-19mode
- rbx-head
- rbx-2
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: ruby
- rvm: jruby-h... | ```yaml
sudo: false
language: ruby
cache: bundler
bundler_args: --without development
rvm:
- ruby-head
- ruby
- 2.2.0
- 2.1.0
- 2.0.0
- jruby-head
- jruby
- rbx-head
- rbx-2
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: ruby
- rvm: jruby-head
- rvm: jruby
- ... |
b2e4e3dd-7f1d-4a30-9344-16909fee4346 | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
- tip
install:
- go get golang.org/x/net/html
script: go test -v ./...
```
Expand on Go versions being tested | ```yaml
language: go
go:
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- tip
install:
- go get golang.org/x/net/html
script: go test -v ./...
``` |
574071ce-70ef-4a6d-87fb-5d97b02103ce | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.4"
install: pip install git+https://github.com/tBaxter/vobject.git
script:
- python test_vobject.py additional_tests
```
Install local version for testing rather than GH version | ```yaml
language: python
python:
- "2.7"
- "3.4"
install: pip install -e .
script:
- python test_vobject.py additional_tests
``` |
df87a860-f6b8-4fb2-9a2a-78d5516e141a | {
"language": "YAML"
} | ```yaml
language: python
python:
- '3.5'
- '3.6'
env:
- HASS=0.57.0
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install homeassistant==$HASS
script:
- hass -c . --script check_config
```
Update Home Assistant to 0.57.2 for config checks in Travis CI | ```yaml
language: python
python:
- '3.5'
- '3.6'
env:
- HASS=0.57.2
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install homeassistant==$HASS
script:
- hass -c . --script check_config
``` |
b801969c-a633-4819-803f-4118696f5f50 | {
"language": "YAML"
} | ```yaml
#
# .travis.yml
# PoseGallery
#
# Copyright © 2016 Trollwerks Inc. All rights reserved.
#
# references:
# http://www.objc.io/issue-6/travis-ci.html
# http://docs.travis-ci.com/user/build-configuration/
# http://docs.travis-ci.com/user/languages/objective-c/
# https://github.com/kattrali/xcpretty-travis-formatt... | ```yaml
#
# .travis.yml
# PoseGallery
#
# Copyright © 2016 Trollwerks Inc. All rights reserved.
#
# references:
# http://www.objc.io/issue-6/travis-ci.html
# http://docs.travis-ci.com/user/build-configuration/
# http://docs.travis-ci.com/user/languages/objective-c/
# https://github.com/kattrali/xcpretty-travis-formatt... |
80cf2875-711e-4290-9712-3de6836e2cf1 | {
"language": "YAML"
} | ```yaml
language: scala
scala:
- 2.10.5
- 2.11.7
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
before_script:
# default $SBT_OPTS is irrelevant to sbt launcher
- unset SBT_OPTS
script:
- travis_retry ./sbt ++$TRAVIS_SCALA_VERSION clean coverage test
after_success:
- bash <(curl -s https://codecov.io/... | ```yaml
language: scala
scala:
- 2.10.5
- 2.11.7
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
before_script:
# default $SBT_OPTS is irrelevant to sbt launcher
- unset SBT_OPTS
- chmod +x ./bin/travisci
- ./bin/travisci
script:
- travis_retry ./sbt ++$TRAVIS_SCALA_VERSION clean coverage test
after_... |
0dff1bc5-a033-424c-80c7-3b504c50a560 | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.4
- 1.5
- 1.6
- tip
script: make ci
```
Update Travis CI supported versions | ```yaml
language: go
go:
- 1.9
- master
script: make ci
``` |
b4779d7c-8ddf-43fb-9dbd-45e2402814dd | {
"language": "YAML"
} | ```yaml
sudo: false
language: ruby
cache: bundler
rvm:
- 2.0
- 2.1
- 2.2
matrix:
include:
- # GitHub Pages
rvm: 2.3.1
env: JEKYLL_VERSION=3.3.0
env:
matrix:
- JEKYLL_VERSION=3.3
branches:
only:
- master
git:
depth: 1000
install:
- travis_retry script/bootstrap
script: script/cibuild
noti... | ```yaml
sudo: false
language: ruby
cache: bundler
rvm:
- 2.0
- 2.1
- 2.2
matrix:
include:
- rvm: 2.3.1
env: JEKYLL_VERSION=3.3.0
env:
matrix:
- JEKYLL_VERSION=3.3
branches:
only:
- master
git:
depth: 1000
install:
- travis_retry script/bootstrap
script: script/cibuild
notifications:
irc:
on_succ... |
100bdc96-2057-4875-a8ac-468592c59517 | {
"language": "YAML"
} | ```yaml
language: android
sudo: required
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-26.0.1
- android-26
licenses:
- android-sdk-license-.+
script:
- "./gradlew clean build assemble -PdisablePreDex --stacktrace"```
Update build tools to 26.0.2 in Travis config | ```yaml
language: android
sudo: required
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-26.0.2
- android-26
licenses:
- android-sdk-license-.+
script:
- "./gradlew clean build assemble -PdisablePreDex --stacktrace"``` |
2249b4c1-f896-4c56-8ad4-0bc021db1d34 | {
"language": "YAML"
} | ```yaml
sudo: false
language: ruby
rvm:
- 2.3.1
env:
matrix:
- SOLIDUS_BRANCH=v1.1 DB=postgres
- SOLIDUS_BRANCH=v1.2 DB=postgres
- SOLIDUS_BRANCH=v1.3 DB=postgres
- SOLIDUS_BRANCH=v1.4 DB=postgres
- SOLIDUS_BRANCH=v2.0 DB=postgres
- SOLIDUS_BRANCH=master DB=postgres
- SOLIDUS_BRANCH=v1.1... | ```yaml
sudo: false
language: ruby
rvm:
- 2.3.1
env:
matrix:
- SOLIDUS_BRANCH=v1.1 DB=postgres
- SOLIDUS_BRANCH=v1.2 DB=postgres
- SOLIDUS_BRANCH=v1.3 DB=postgres
- SOLIDUS_BRANCH=v1.4 DB=postgres
- SOLIDUS_BRANCH=v2.0 DB=postgres
- SOLIDUS_BRANCH=v2.1 DB=postgres
- SOLIDUS_BRANCH=master... |
66885709-e0f1-45f5-a50d-978c99b4bba4 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 6
- node
env:
- NPM_SCRIPT=tap:unit -- --jobs=4
- NPM_SCRIPT=tap:integration -- --jobs=4
sudo: false
cache:
directories:
- node_modules
install:
- npm install
- npm update
script: npm run $NPM_SCRIPT
jobs:
include:
- env: NPM_SCRIPT=lint
node_js: 6
- stage:... | ```yaml
language: node_js
node_js:
- 6
- node
env:
- NPM_SCRIPT=tap:unit -- --jobs=4
- NPM_SCRIPT=tap:integration -- --jobs=4
sudo: false
cache:
directories:
- node_modules
install:
- npm install
- npm update
script: npm run $NPM_SCRIPT
jobs:
include:
- env: NPM_SCRIPT=lint
node_js: 6
- stage:... |
8e7302a5-d2c3-41df-9fbe-82b74e8c383e | {
"language": "YAML"
} | ```yaml
language: perl6
perl6:
- latest
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y zip unzip
install:
- rakudobrew build-zef
- zef --depsonly install Archive::SimpleZip
```
Remove apt-get for zip/unzip from Travis.yml | ```yaml
language: perl6
perl6:
- latest
install:
- rakudobrew build-zef
- zef --depsonly install Archive::SimpleZip
``` |
692aef43-d11d-46b1-ba6b-e349da1cfba3 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js: node
before_script:
- npm install -g gulp
script:
- gulp test
after_success:
- bash <(curl -s https://codecov.io/bash) -f build/unit-coverage.lcov -F unit
- bash <(curl -s https://codecov.io/bash) -f build/integration-coverage.lcov -F integration
- gulp doc
- bash <(curl -s h... | ```yaml
language: node_js
node_js: node
before_script:
- npm install -g gulp-cli
script:
- gulp test
after_success:
- bash <(curl -s https://codecov.io/bash) -f build/unit-coverage.lcov -F unit
- bash <(curl -s https://codecov.io/bash) -f build/integration-coverage.lcov -F integration
- gulp doc
- bash <(curl ... |
737f00fa-e6d4-4918-b546-6580ca9fa2e7 | {
"language": "YAML"
} | ```yaml
language: perl6
install:
- rakudobrew build-panda
- panda installdeps .
script:
- prove -v -e "perl6 --ll-exception -Ilib" t
- PANDA_SUBMIT_TESTREPORTS=1 panda install .
after_success:
- panda list --installed --verbose
```
Remove panda steps from Travis config. | ```yaml
language: perl6
script:
- prove -v -e "perl6 --ll-exception -Ilib" t
``` |
d7e6bb35-0651-4cea-9e69-f3613ed54ed8 | {
"language": "YAML"
} | ```yaml
language: android
sudo: required
dist: trusty # https://github.com/travis-ci/travis-ci/issues/3259
jdk:
- oraclejdk8
android:
components:
- tools
- build-tools-23.0.2
- android-23
- extra```
Add step to run android emulator for tests | ```yaml
language: android
sudo: required
dist: trusty # https://github.com/travis-ci/travis-ci/issues/3259
jdk:
- oraclejdk8
android:
components:
- tools
- build-tools-23.0.2
- android-23
- extra
before_script:
- echo no | android create avd --force -n test -t android-23 --abi armeabi-v7a
- e... |
99b945ba-4ba4-476a-9648-ec061b8ee023 | {
"language": "YAML"
} | ```yaml
language: scala
scala:
- 2.11.12
- 2.12.8
- 2.12.9
- 2.12.10
- 2.13.0
- 2.13.1
script:
- sbt clean test
jdk:
- oraclejdk11
before_script:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx1024m"
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" -... | ```yaml
language: scala
scala:
- 2.11.12
- 2.12.8
- 2.12.9
- 2.12.10
- 2.13.1
script:
- sbt clean test
jdk:
- oraclejdk11
before_script:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx1024m"
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" -delete
- f... |
7c2b9d8c-b30a-4a75-aed9-657676d0d7a4 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- '10'
- '12'
- '14'
- '15'
- '16'
# Use container-based Travis infrastructure.
sudo: false
branches:
only:
- master
- /^greenkeeper/.*$/
script:
- yarn test
after_success:
- yarn run coverage
```
Remove Node v16 as it does not yet exist? | ```yaml
language: node_js
node_js:
- '10'
- '12'
- '14'
- '15'
# Use container-based Travis infrastructure.
sudo: false
branches:
only:
- master
- /^greenkeeper/.*$/
script:
- yarn test
after_success:
- yarn run coverage
``` |
d60f03e2-f9ce-4f2c-b29d-f13db0977db3 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "8"
- "10"
- "12"
- "14"
```
Drop CI support for Node < 10 | ```yaml
language: node_js
node_js:
- "10"
- "12"
- "14"
``` |
b7e188ba-887e-49ff-a114-f124d1d7f3a1 | {
"language": "YAML"
} | ```yaml
install:
- npm install
- npm install -g jasmine
language: node_js
node_js:
- "4.1"
- "4.0"
```
Install Typescript and Jasmine globally | ```yaml
install:
- npm install
- npm install -g jasmine typescript
language: node_js
node_js:
- "4.1"
- "4.0"
``` |
8ae9b5c6-a33e-4136-bd28-f981347b77f9 | {
"language": "YAML"
} | ```yaml
language: "perl"
perl:
- "5.10"
install: "echo"
script: "perl Configure.pl --backends=moar $NQP_OPTIONS; make test"
branches:
only:
- master
- /smoke-me/
notifications:
irc:
channels:
- "irc.freenode.net#perl6"
on_success: change
on_failure: always
template:
- "NQ... | ```yaml
language: "perl"
perl:
- "5.10"
install: "echo"
script: "perl Configure.pl $NQP_OPTIONS; make test"
branches:
only:
- master
- /smoke-me/
notifications:
irc:
channels:
- "irc.freenode.net#perl6"
on_success: change
on_failure: always
template:
- "NQP build %{result... |
29ed18cd-62f4-4d83-886f-a1d7d3d74538 | {
"language": "YAML"
} | ```yaml
dist: trusty
language: node_js
node_js:
- '8'
- '6'
- '4'
sudo: false
addons:
apt:
packages:
- google-chrome-stable
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start &
- sleep 3
cache:
yarn: true
```
Test using Node 6 and 8 6 is the current LTS and 8 is next. | ```yaml
dist: trusty
language: node_js
node_js:
- '8'
- '6'
sudo: false
addons:
apt:
packages:
- google-chrome-stable
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start &
- sleep 3
cache:
yarn: true
``` |
fa65d64f-24cd-4555-8f02-003743cc4e3f | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g grunt-cli
notifications:
email: false
irc:
channels:
- "chat.freenode.net#webplatform-bot"
template:
- "%{repository}#%{build_number} (on %{branch} by %{author}): %{message} %{build_url}"
```
Fix Travis build (insta... | ```yaml
language: node_js
node_js:
- "0.10"
before_install:
- npm install -g grunt-cli
notifications:
email: false
irc:
channels:
- "chat.freenode.net#webplatform-bot"
template:
- "%{repository}#%{build_number} (on %{branch} by %{author}): %{message} %{build_url}"
``` |
adac9c16-a7f7-4883-bca3-43aafd93b385 | {
"language": "YAML"
} | ```yaml
language: objective-c
os:
- osx
script: "make test"
```
Build objective-c on Travis. Fix Travis language settings. | ```yaml
language: objective-c
os: osx
osx_image: xcode7
script:
- xcodebuild -version
- xcodebuild -scheme "GherkinOSX" -configuration Debug CONFIGURATION_BUILD_DIR=build/
- xcodebuild -scheme "AstGenerator" CONFIGURATION_BUILD_DIR=build/
- xcodebuild -scheme "TokensGenerator" CONFIGURATION_BUILD_DIR=build/
# - x... |
2845dc39-23a8-440d-b29e-a8b8443fb60d | {
"language": "YAML"
} | ```yaml
language: ruby
cache: bundler
rvm:
- 2.1.2
bundler_args: --without development
before_script:
- while read line; do export $line; done < .env.test
- createdb transferatu_test
- bundle exec rake db:migrate
script: bundle exec rspec
notifications:
email: true
services:
- redis-server
addons:
postgre... | ```yaml
language: ruby
cache: bundler
rvm:
- 2.1.2
bundler_args: --without development
before_script:
- while read line; do export $line; done < .env.test
- createdb transferatu_test
- bundle exec rake db:migrate
script: bundle exec rspec
notifications:
email: true
addons:
postgresql: "9.3"
``` |
ba247c08-5cb2-43eb-a6ae-9d10a9e61543 | {
"language": "YAML"
} | ```yaml
sudo: false
language: go
go:
- 1.6 # Latest GAE standard, unfortunately.
env:
global:
- GAE_SDK_URL=https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.48.zip
- PATH=$HOME/go_appengine:$PATH
cache:
directories:
- "$HOME/go_appengine"
install:
- "[ -f $HOME/go_appen... | ```yaml
sudo: false
language: go
go:
- 1.11 # Latest GAE standard
env:
global:
- GAE_SDK_URL=https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.48.zip
- PATH=$HOME/go_appengine:$PATH
cache:
directories:
- "$HOME/go_appengine"
install:
- "[ -f $HOME/go_appengine/goapp ] ||... |
c1565f11-8040-4953-b478-73fb6fbf312b | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
addons:
apt:
packages:
- liblapack-dev
- libblas-dev
- gfortran
- libgeos-dev
- libnetcdf-dev
- libhdf5-serial-dev
- libglib2.0-dev
install:
- #sudo apt-get install libhdf5-serial-dev
- ls /usr/lib/glib-2.0/include
- sudo ln -s /usr/li... | ```yaml
language: python
python:
- "2.7"
addons:
apt:
packages:
- liblapack-dev
- libblas-dev
- gfortran
- libgeos-dev
- libnetcdf-dev
- libhdf5-serial-dev
- libglib2.0-dev
install:
- #sudo apt-get install libhdf5-serial-dev
- sudo apt-get slocate
- locate glibconfig.h
- su... |
32f1a62b-0885-4377-83b4-b9928a67b1cf | {
"language": "YAML"
} | ```yaml
sudo: required
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
- sourceline: 'ppa:canonical-qt5-edgers/ubuntu1204-qt5'
matrix:
include:
- compiler: gcc
addons:
apt:
packages:
- g++-5
env: CC=gcc-5 CXX=g++-5
- comp... | ```yaml
sudo: required
language: cpp
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
- sourceline: 'ppa:canonical-qt5-edgers/ubuntu1204-qt5'
packages:
- g++-5
env: CC=gcc-5 CXX=g++-5
... |
c4186f03-c15e-40b8-86ba-b4192a85fd74 | {
"language": "YAML"
} | ```yaml
sudo: required
language: bash
services:
- docker
before_install:
- curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- wget -nc -P "$HOME/cache" "http://download.geof... | ```yaml
sudo: required
language: bash
services:
- docker
before_install:
- curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- wget -nc -P "$HOME/cache" "http://download.geof... |
d8d3eb87-0dd8-4389-9d21-0acf2574ed9d | {
"language": "YAML"
} | ```yaml
language: ruby
script: bundle exec rake
rvm:
- 2.2.3
- 2.3.1
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
deploy:
provider: rubygems
api_key:
secure: VTosVmCdLWUGK8KyzovYri7ySfd7fACtfL8MClEBBHnI+m2cLCpmtCJ7Z1X7z9BXlj974EDaF8V9iRKzfksXIf8aaPfVQw9AW94fL... | ```yaml
language: ruby
script: bundle exec rake
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
deploy:
provider: rubygems
api_key:
secure: VTosVmCdLWUGK8KyzovYri7ySfd7fACtfL8MClEBBHnI+m2cLCpmtCJ7Z1X7z9BXlj974EDaF... |
a5138c86-f3e5-4dfe-bb6d-59d4281bd5ec | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
before_script:
- npm install -g gulp
script: gulp
```
Install bower globally before running gulp script | ```yaml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
before_script:
- npm install -g gulp
- npm install -g bower
script: gulp
``` |
78bb4423-cfc9-45b2-ab03-f3a2724ce54e | {
"language": "YAML"
} | ```yaml
language: python
sudo: false
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
dist: xenial # required for Python >= 3.7
... | ```yaml
language: python
sudo: false
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
dist: xenial # required for Python >= 3.7
... |
a8e3b2da-8898-4935-9d61-40db51227273 | {
"language": "YAML"
} | ```yaml
#sudo: true
#services:
# - docker
#before_install:
# - docker pull thomastoye/kairosdb-scala-driver-it
language: scala
scala:
- 2.11.8
jdk:
- openjdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
script:
# Your normal script
- sbt ++$TRAVIS_SCALA_VERSION -J-XX:ReservedCodeCa... | ```yaml
#sudo: true
#services:
# - docker
#before_install:
# - docker pull thomastoye/kairosdb-scala-driver-it
language: scala
scala:
- 2.11.8
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
script:
# Your normal script
- sbt ++$TRAVIS_SCALA_VERSION -J-XX:ReservedCode... |
81447a7c-384d-4fa4-b442-b09dca356192 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk7
```
Add more things to skip | ```yaml
language: java
jdk:
- oraclejdk7
install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -B -V``` |
dd90c8fe-ff21-4af9-80c1-7de389a816b4 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
- pypy3
install:
python setup.py develop
script:
- coverage run --source=coveralls setup.py test
- coverage report -m
after_script:
coveralls --verbose
```
Add python 3.5 to Travis Matrix | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5
- pypy
- pypy3
matrix:
allow_failures:
- python: 3.5
install:
python setup.py develop
script:
- coverage run --source=coveralls setup.py test
- coverage report -m
after_script:
coveralls --verbose
``` |
9d845d35-e479-4d83-b761-c5121cfdaad2 | {
"language": "YAML"
} | ```yaml
language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- 8
- 10
- 12
- node
matrix:
include:
- name: Lint
node_js: 12
script: npm run lint
script: npm run test:ci
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
```
Drop node.j... | ```yaml
language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- 10
- 12
- node
matrix:
include:
- name: Lint
node_js: 12
script: npm run lint
script: npm run test:ci
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
``` |
84a2b27d-2ab0-4de7-9458-d2f7e75fb984 | {
"language": "YAML"
} | ```yaml
# ---------------------------------------------------------
# Configuration file for http://travis-ci.org/#!/karmi/tire
# ---------------------------------------------------------
language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.8.7
- ree
- jruby-19mode
env:
- TEST_COMMAND="rake test:unit"
- TEST_COMMAN... | ```yaml
# ---------------------------------------------------------
# Configuration file for http://travis-ci.org/#!/karmi/tire
# ---------------------------------------------------------
language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- jruby-19mode
env:
- TEST_COMMAND="rake test:unit"
- TEST_COMMAND="rake ... |
2d75971f-7f75-46f1-ae83-189db9896c28 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.5
- 5.6
- hhvm
services: mongodb
env: APP_ENV=testing
before_script:
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = zmq.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo yes | pecl install apcu-b... | ```yaml
language: php
php:
- 5.5
- 5.6
- hhvm
env: APP_ENV=testing
before_script:
- source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
- wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
... |
a7e24c74-9fdf-4cdc-a56a-784ffc1e453e | {
"language": "YAML"
} | ```yaml
language: ruby
bundler_args: --without development
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- ruby-head
- ree
- rbx
- jruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: rbx
before_install:
- gem install bundler
```
Add 2.2.5, 2.3.1, Update 2.1.0 to 2.1.10 | ```yaml
language: ruby
bundler_args: --without development
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.5
- 2.3.1
- ruby-head
- ree
- rbx
- jruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: rbx
before_install:
- gem install bundler
``` |
ecb9f209-9b07-4761-be2c-89bdf22f6db0 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- '2.3.1'
sudo: false
cache:
bundler: true
directories:
- vendor/assets/bower_components
before_cache:
- cat bower.json > vendor/assets/bower_components/bower.json
addons:
postgresql: '9.4'
before_install:
- source ${TRAVIS_BUILD_DIR}/tools/ci/before_install.sh
before_script: bundl... | ```yaml
language: ruby
rvm:
- '2.3.1'
sudo: false
cache:
bundler: true
directories:
- vendor/assets/bower_components
before_cache:
- cat bower.json > vendor/assets/bower_components/bower.json
addons:
postgresql: '9.4'
before_install:
- source ${TRAVIS_BUILD_DIR}/tools/ci/before_install.sh
before_script: bundl... |
54cab48c-a623-4b66-87f3-a6c26aeda8c2 | {
"language": "YAML"
} | ```yaml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/o... | ```yaml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/op... |
30efd445-8593-41ab-b169-850433b9caf5 | {
"language": "YAML"
} | ```yaml
git:
depth: 10
branches:
only:
- master
env:
global:
- ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4
compiler: clang
matrix:
include:
- os: linux
env: NODE_VERSION=0.12
- os: linux
env: NODE_VERSION=4
- os: osx
env: ATOM_SPECS_TASK=core NODE_VERSION... | ```yaml
git:
depth: 10
branches:
only:
- master
env:
global:
- ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4
compiler: clang
matrix:
include:
- os: linux
env: NODE_VERSION=0.12
- os: linux
env: NODE_VERSION=4
- os: osx
env: ATOM_SPECS_TASK=core NODE_VERSION... |
a119f517-23d6-4e11-b747-0a2ed9ad621b | {
"language": "YAML"
} | ```yaml
language: "python"
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "pypy"
install:
pip install coveralls
script:
coverage run --source=geojson setup.py test
after_success:
coveralls
```
Enable testing on PyPy 3 | ```yaml
language: "python"
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "pypy"
- "pypy3"
install:
pip install coveralls
script:
coverage run --source=geojson setup.py test
after_success:
coveralls
``` |
e85195da-a98a-41dd-a06d-fff0a3628a46 | {
"language": "YAML"
} | ```yaml
language: go
sudo: false
matrix:
include:
- go: 1.4
- go: 1.5
- go: 1.6
- go: tip
allow_failures:
- go: tip
install:
- if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go get github.com/golang/lint/golint; fi
script:
- go get -t -v $(go list ./... | grep -v '/vendor/')
- if [[ $TRAVIS_... | ```yaml
language: go
sudo: false
matrix:
include:
- go: 1.4
- go: 1.5
- go: 1.6
- go: 1.7
- go: tip
allow_failures:
- go: tip
install:
- if [[ $TRAVIS_GO_VERSION == 1.7* ]]; then go get github.com/golang/lint/golint; fi
script:
- go get -t -v $(go list ./... | grep -v '/vendor/')
- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.