doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
9f82a1a3-093e-40d4-af4b-fad120c931cb | {
"language": "YAML"
} | ```yaml
sudo: required
dist: trusty
addons:
apt:
sources:
- chef-stable-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-7
- INSTANCE=d... | ```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-7
- INSTANCE=... |
5d1bc37a-8f06-499c-920e-95501121413c | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.6"
# Command to install dependencies
install:
- pip install -U pip setuptools
- pip install -r requirements.txt
# Command to run tests
script: "python run_tests.py"
```
Add step to auto-push to pypi | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.6"
# Command to install dependencies
install:
- pip install -U pip setuptools
- pip install -r requirements.txt
# Command to run tests
script: "python run_tests.py"
deploy:
provider: pypi
user: "nabla"
password:
secure: "L/pKWyeRCz9Obzl9ihBj9BFJs... |
16ca1aad-4531-47ea-88ef-d7a54bd84e90 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- openjdk8
- openjdk7
- openjdk6
before_install:
- chmod +x gradlew```
Remove permission change, that was not the problem | ```yaml
language: java
jdk:
- openjdk8
- openjdk7
- openjdk6``` |
bdec1c36-5f46-4e40-9b6f-7fa4f65d22a1 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5.1'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
befo... | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before... |
8e93f929-229a-4f94-83f6-839c1737f100 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
env:
global:
- PYTHONPATH=~/gaesdk/google_appengine
matrix:
- USE_EXTENSIONS=true # no dependencies
- USE_EXTENSIONS=false # no dependencies
- DJANGO_VERSION=1.2.7
- DJANGO_VERSION=1.3.7
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.7.3... | ```yaml
language: python
python:
- "2.6"
- "2.7"
env:
global:
- PYTHONPATH=~/gaesdk/google_appengine
matrix:
- USE_EXTENSIONS=true # no dependencies
- USE_EXTENSIONS=false # no dependencies
- DJANGO_VERSION=1.2.7
- DJANGO_VERSION=1.3.7
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.7.3... |
31edc479-7f81-4bc0-8900-66ab30e2fc60 | {
"language": "YAML"
} | ```yaml
script: "gem install foodcritic -v 1.7.0 && foodcritic -f any -t ~FC023 -t ~FC022 -t ~FC017 ."
rvm:
- 1.9.3
```
Update to the latest version of Foodcritic | ```yaml
script: "gem install foodcritic -v 2.0.0 && foodcritic -f any -t ~FC023 -t ~FC017 ."
rvm:
- 1.9.3
``` |
73094905-a632-485f-b401-dafc8f3ae60a | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.6"
services:
- mongodb
# for plugins that require UI
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
install:
- if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then pip install --upgrade pytest; else pip uninstall -y pytest;... | ```yaml
language: python
services:
- mongodb
# for plugins that require UI
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
install:
- pip install -r requirements.txt -U pytest
jobs:
include:
- env: RUN_COMMAND=python run.py
python: '2.7'
- env: RUN_COMMAND... |
a4e539ec-56d2-4736-8ae8-adf585970c2c | {
"language": "YAML"
} | ```yaml
dist: xenial
language: rust
rust:
- nightly
- stable
addons:
apt:
packages:
- libgtk-3-dev
- libssh2-1-dev
script:
- test "$TRAVIS_RUST_VERSION" == "nightly" || rustup component add rustfmt clippy
- test "$TRAVIS_RUST_VERSION" == "nightly" || cargo clippy --release
- test "$TRAVIS_RUST_VERSI... | ```yaml
dist: xenial
language: rust
rust:
- nightly
- stable
addons:
apt:
packages:
- libgtk-3-dev
- libssh2-1-dev
script:
- test "$TRAVIS_RUST_VERSION" == "nightly" || rustup component add rustfmt clippy
- test "$TRAVIS_RUST_VERSION" == "nightly" || cargo clippy --release
- test "$TRAVIS_RUST_VERSI... |
288e977d-7b31-4748-b563-2afd97298571 | {
"language": "YAML"
} | ```yaml
sudo: false
language: python
cache: pip
python:
- 3.5
- 3.6
- "3.7-dev"
env:
- AMY_ENABLE_PYDATA=true
AMY_PYDATA_USERNAME=username
AMY_PYDATA_PASSWORD=password
CHECK_MIGRATION=true
- CHECK_MIGRATION=true
install:
- pip install -r requirements.txt
- pip install coveralls
before_sc... | ```yaml
dist: xenial
sudo: required
language: python
cache: pip
python:
- 3.5
- 3.6
- 3.7
env:
- AMY_ENABLE_PYDATA=true
AMY_PYDATA_USERNAME=username
AMY_PYDATA_PASSWORD=password
CHECK_MIGRATION=true
- CHECK_MIGRATION=true
install:
- pip install -r requirements.txt
- pip install coveralls
... |
2427b4e5-e786-48b5-9e0e-6b65830e9f2a | {
"language": "YAML"
} | ```yaml
language: csharp
dotnet: 3.1.201
mono: none
matrix:
include:
- os: linux
dist: bionic
before_install:
- curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
- sudo apt-get install -y nodejs graphviz
- os: osx
addons:
homebrew:
update: true... | ```yaml
language: csharp
dotnet: 3.1.201
mono: none
matrix:
include:
- os: linux
dist: bionic
before_install:
- curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
- sudo apt-get -qq update && sudo apt-get install -y nodejs graphviz
- os: osx
addons:
homeb... |
ba24769f-d4f6-4687-8e36-22ed4928278d | {
"language": "YAML"
} | ```yaml
env:
global:
- secure: FMIb2m6XcZI4lMlJlpZuLIIxFynbGX+4VPpBG9jmzHhkjOYqt018Yd6Z2fEz7SAAbO8sUF2mMh0KRXzp8HBaBgD1cO65rOrLXoYwDk0ZLr2GrNd0w6+VrueLUbXl/odAkacWtfzFb6n5MUSJ4wpegk8gPlqf8QojfZGgoXD+qQE=
language: rust
rust: nightly
script:
- cargo build --verbose
- cargo test --verbose
- cargo bench --ve... | ```yaml
env:
global:
- secure: FMIb2m6XcZI4lMlJlpZuLIIxFynbGX+4VPpBG9jmzHhkjOYqt018Yd6Z2fEz7SAAbO8sUF2mMh0KRXzp8HBaBgD1cO65rOrLXoYwDk0ZLr2GrNd0w6+VrueLUbXl/odAkacWtfzFb6n5MUSJ4wpegk8gPlqf8QojfZGgoXD+qQE=
language: rust
rust: nightly
script:
- cargo build --verbose
- cargo test --verbose
- cargo bench --ve... |
d7514d8b-064a-4ec2-b164-45491da169a1 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
matrix:
# pypy is frequentlyish unstable on Travis, don't let it mark entire status
# as 'bad' =/ (Still worth running it though.)
allow_failures:
- python: pypy
install:
# Pre-requirements sanity test (again, resembles pure... | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "pypy"
matrix:
# pypy is frequentlyish unstable on Travis, don't let it mark entire status
# as 'bad' =/ (Still worth running it though.)
allow_failures:
- python: pypy
install:
# Pre-requirements sanity test (again, rese... |
8a389faf-6db7-401a-9ac7-00c1eeb78b87 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- '6.5'
- '6.4'
- '6.3'
- '6.2'
- '6.1'
- '6.0'
- '5.12'
- '5.11'
- '5.10'
- '5.9'
- '5.8'
- '5.7'
- '5.6'
- '5.5'
- '5.4'
- '5.3'
- '5.2'
- '5.1'
- '5.0'
- '4.5'
before_install:
- currentfolder=${PWD##*/}
- if [ "$currentfolder" != 'generat... | ```yaml
language: node_js
node_js:
- '7.1'
- '6.9'
- '6.0'
- '5.12'
- '4.5'
before_install:
- currentfolder=${PWD##*/}
- if [ "$currentfolder" != 'generator-react-webpack-redux' ]; then cd .. && eval "mv $currentfolder generator-react-webpack-redux" && cd generator-react-webpack-redux; fi
``` |
31fbea0a-3b23-4dd9-a4f2-bb8176197c5c | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
```
Add gcc 4.8 for node 4 native module support | ```yaml
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
``` |
d42e10d7-4ebf-4e08-812b-b477a15d2af1 | {
"language": "YAML"
} | ```yaml
# Config file for automatic testing at travis-ci.org
language: python
python:
- "3.3"
- "2.7"
- "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements-test.txt
# command to run tests using coverage, e.g. python setup.py test
scr... | ```yaml
# Config file for automatic testing at travis-ci.org
language: python
python:
- "3.3"
- "2.7"
- "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements-test.txt
# command to run tests using coverage, e.g. python setup.py test
scr... |
f50b5f12-3fb0-4052-b700-cf0d214cf2e3 | {
"language": "YAML"
} | ```yaml
language: go
go: 1.5.1
dist: trusty
group: edge
env:
global:
- GO15VENDOREXPERIMENT='1'
addons:
artifacts:
paths:
- "./build/linux/amd64/gcloud-cleanup"
- "./build/darwin/amd64/gcloud-cleanup"
- "./build.tar.gz"
target_paths:
- travis-ci/gcloud-cleanup/$TRAVIS_BRANCH
- tra... | ```yaml
language: go
go: 1.5.1
dist: trusty
group: edge
env:
global:
- GO15VENDOREXPERIMENT='1'
addons:
artifacts:
paths:
- "./build/linux/amd64/gcloud-cleanup"
- "./build/darwin/amd64/gcloud-cleanup"
- "./build.tar.gz"
target_paths:
- travis-ci/gcloud-cleanup/$TRAVIS_BRANCH
- tra... |
6f3ad31e-0897-42da-b56c-58957158a3bd | {
"language": "YAML"
} | ```yaml
language: php
php:
- '5.6'
- '7.0'
- '7.1'
before_script:
- nvm install 4
- nvm use 4
- npm i -g npm@4
- npm i -g gulp
- npm i
- touch tests.db
- chmod a+w tests.db
script:
- ./src/api/vendor/phpunit/phpunit/phpunit -c test/api/phpunit.xml
- gulp test-app && gulp coverage
after_success:
... | ```yaml
language: php
php:
- '5.6'
- '7.0.23'
- '7.1'
before_script:
- nvm install 4
- nvm use 4
- npm i -g npm@4
- npm i -g gulp
- npm i
- touch tests.db
- chmod a+w tests.db
script:
- ./src/api/vendor/phpunit/phpunit/phpunit -c test/api/phpunit.xml
- gulp test-app && gulp coverage
after_succes... |
836094e3-694f-4af9-9759-da2fb9d7cac9 | {
"language": "YAML"
} | ```yaml
sudo: false
language: ruby
script: script/ci.sh
cache: bundler
rvm:
- 1.9.2
- 1.9.3
- '2.0'
- '2.1'
- '2.2'
- jruby-19mode
- rbx-19mode
```
Stop testing against Ruby 1.9.2 | ```yaml
sudo: false
language: ruby
script: script/ci.sh
cache: bundler
rvm:
- 1.9.3
- '2.0'
- '2.1'
- '2.2'
- jruby-19mode
- rbx-19mode
``` |
3ba82a8d-ac68-4fac-b0c6-a7a9697e2e7a | {
"language": "YAML"
} | ```yaml
language: ruby
bundler_args: --without integration
cache: bundler
sudo: false
rvm:
- 1.9.3
- 2.0.0
script: bundle exec rake travis
```
Drop support of ruby 1.9.3 | ```yaml
language: ruby
bundler_args: --without integration
cache: bundler
sudo: false
rvm:
- 2.0.0
script: bundle exec rake travis
``` |
4f8eb015-151f-4e93-8392-33c1af3a64d4 | {
"language": "YAML"
} | ```yaml
language: ruby
dist: trusty
sudo: false
cache: bundler
rvm:
- 2.2.7
- 2.3.5
- 2.4.2
branches:
only:
- master
before_install:
- gem install bundler
before_script: bundle exec rake alchemy:spec:prepare
script: bundle exec rspec
after_success: bundle exec codeclimate-test-reporter
env:
- DB=mysql
- DB=... | ```yaml
language: ruby
dist: trusty
sudo: false
cache: bundler
rvm:
- 2.4.5
- 2.5.5
- 2.6.2
branches:
only:
- master
before_install:
- gem install bundler
before_script: bundle exec rake alchemy:spec:prepare
script: bundle exec rspec
after_success: bundle exec codeclimate-test-reporter
env:
- DB=mysql
- DB=... |
dffb4055-efa3-4565-8236-5acbe173a154 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0.0
services:
- mongodb
before_script:
- rake db:mongoid:create_indexes
notifications:
campfire:
- secure: "eEuzoYFXLPeIMt+zHGzZp6XCvbfxRDe8FA3kVwrNRB0zoOktPRZXD9O8ng2z\nx2Yg8C7i1unstuW0bjPvwphpdxJOTFSxliw6P4Xk1Y9HnTYQqqUbDat/zL9c\nAyjYezuRQgYFSBP2BgNZ2RL9RiLSy... | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0.0
services:
- mongodb
before_script:
- rake db:mongoid:create_indexes
notifications:
campfire:
rooms:
- secure: "eEuzoYFXLPeIMt+zHGzZp6XCvbfxRDe8FA3kVwrNRB0zoOktPRZXD9O8ng2z\nx2Yg8C7i1unstuW0bjPvwphpdxJOTFSxliw6P4Xk1Y9HnTYQqqUbDat/zL9c\nAyjYezuRQgYFSBP2... |
d4a5e824-549f-487d-b571-370d740fc609 | {
"language": "YAML"
} | ```yaml
bundler_args: "--without development"
script: "bundle exec rake test:ci"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
- rbx
- rbx-2.0
notifications:
irc: "irc.freenode.org#travis"
```
Add before_script to prepare the database.yml file | ```yaml
bundler_args: "--without development"
before_script:
- "cp config/database.example.yml config/database.yml"
script: "bundle exec rake test:ci"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
- rbx
- rbx-2.0
notifications:
irc: "irc.freenode.org#travis"
``` |
a237f1c4-559c-4ae8-8db2-62050b1958d4 | {
"language": "YAML"
} | ```yaml
{% set name = "types-psycopg2" %}
{% set version = "2.9.13" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/types-psycopg2-{{ version }}.tar.gz
sha256: 2015365ffcf0494fb6613c2ffe0144ebadb2068b340df89578c4a2581135210b
buil... | ```yaml
{% set name = "types-psycopg2" %}
{% set version = "2.9.13" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/types-psycopg2-{{ version }}.tar.gz
sha256: 2015365ffcf0494fb6613c2ffe0144ebadb2068b340df89578c4a2581135210b
buil... |
f8198cac-c881-4960-a61c-180c82977225 | {
"language": "YAML"
} | ```yaml
language: c
compiler:
- gcc
script: make test
before_install:
- sudo apt-get update -qq
- sudo apt-get install check
```
Switch into source directory before running tests on CI. | ```yaml
language: c
compiler:
- gcc
script: cd src && make test
before_install:
- sudo apt-get update -qq
- sudo apt-get install check
``` |
36705640-eb10-4b91-90b4-8924f81fa3c3 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.6"
install: pip install . nose coverage codacy-coverage
script: nosetests --with-coverage --cover-package=canopen --cover-xml
after_script: python-codacy-coverage -r coverage.xml
```
Use pytest for unit testing | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.6"
install:
- pip install -e .
- pip install pytest pytest-cov codacy-coverage
script: pytest -v --cov-report xml --cov=canopen test/
after_script: python-codacy-coverage -r coverage.xml
``` |
07f54c8c-35c9-4843-aa94-62f971f24c78 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.4
- 5.6
- 7.0
- hhvm
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_script:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION}; fi;
- composer require videlalvaro/php-amqplib:2.2.*
- composer re... | ```yaml
language: php
php:
- 5.4
- 5.6
- 7.0
- hhvm
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_script:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION}; fi;
- composer require php-amqplib/php-amqplib:2.6.*
- composer re... |
50d4cc89-cc6c-4109-abf3-604bdd43980d | {
"language": "YAML"
} | ```yaml
sudo: true
language: ruby
rvm:
- 2.3.4
before_install:
- docker-compose --version
- docker-compose pull
- docker-compose build
- docker-compose start
- docker ps
- gem install bundler -v 1.15.3
```
Replace docker pull, build, start etc with up -d | ```yaml
sudo: true
language: ruby
rvm:
- 2.3.4
before_install:
- docker-compose --version
- docker-compose up -d
- docker ps
- gem install bundler -v 1.15.3
``` |
057f533a-03b3-49ec-b676-ea48bacad77b | {
"language": "YAML"
} | ```yaml
language: objective-c
osx_image: xcode8.2
sudo: false # Enable container-based builds
env:
matrix:
- SCHEME="SwiftGit2-OSX"
- SCHEME="SwiftGit2-iOS"
matrix:
fast_finish: true
before_install:
- gem update bundler # https://github.com/bundler/bundler/pull/4981
- gem install xcpretty
- gem i... | ```yaml
language: objective-c
osx_image: xcode8.3
sudo: false # Enable container-based builds
env:
matrix:
- SCHEME="SwiftGit2-OSX"
- SCHEME="SwiftGit2-iOS"
matrix:
fast_finish: true
before_install:
- gem update bundler # https://github.com/bundler/bundler/pull/4981
- gem install xcpretty
- gem i... |
59759a9d-6236-4293-a44c-661bb0b63e51 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
before_script:
- RAILS_ENV=test rake db:migrate
```
Use xvfb in Travis to run Selenium tests | ```yaml
language: ruby
rvm:
- 1.9.3
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- RAILS_ENV=test rake db:migrate > /dev/null 2>&1
``` |
fe9fc6dd-bcc9-46fd-aa4d-b3cbd69d50b3 | {
"language": "YAML"
} | ```yaml
language: python
python:
# - "2.6"
# - "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: python manage.py test
```
Test ... | ```yaml
language: python
env:
- DJANGO_VERSION=1.7
- DJANGO_VERSION=1.8
- DJANGO_VERSION=1.8.6
python:
# - "2.6"
# - "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
# command to install dependencies
install:
- pip install -q Dj... |
3a819a1b-21d0-40e9-95de-321529ae075d | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
script:
- phpunit --coverage-text --coverage-clover=covera... | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: hhvm
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- phpunit --coverage-text --coverage-cl... |
a3080b19-c1bd-475b-b431-f296d11acc74 | {
"language": "YAML"
} | ```yaml
env:
global:
- CC_TEST_REPORTER_ID=6f07a33d1bf4060910c8b97cb9bf97230bbf1fad75765fef98f3cca9f29cd6b0
language: ruby
before_install:
- gem install bundler
install:
- bundle install --without local
rvm:
- 3.0.1
- 3.0.0
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
... | ```yaml
env:
global:
- CC_TEST_REPORTER_ID=6f07a33d1bf4060910c8b97cb9bf97230bbf1fad75765fef98f3cca9f29cd6b0
language: ruby
before_install:
- gem install bundler
install:
- bundle install --without local
rvm:
- 3.0.1
- 3.0.0
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
... |
80eafbf3-ec0a-408f-904e-a672342a8ec0 | {
"language": "YAML"
} | ```yaml
language: minimal
sudo: required
services:
- docker
dist: trusty
git:
depth: 3
notifications:
email: false
env:
matrix:
- PYTHON_VERSION=3.5
- PYTHON_VERSION=3.6
- PYTHON_VERSION=3.7
before_install: >
docker build
-t sklearn-porter
--build-arg PYTHON_VERSION=${PYTHON_VERSION... | ```yaml
language: minimal
sudo: required
services:
- docker
dist: trusty
git:
depth: 3
notifications:
email: false
env:
matrix:
- PYTHON_VERSION=3.5
- PYTHON_VERSION=3.6
- PYTHON_VERSION=3.7
before_install:
docker build
-t sklearn-porter
--build-arg PYTHON_VERSION=${PYTHON_VERSION}
... |
b6142e35-8605-4a8c-9b4a-c81d1df61f3a | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
os:
- linux
- osx
addons:
firefox: "latest"
script:
- mvn install -Dchrome.binary.path=/usr/bin/chromium-browser -Ptravis-ci
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "mkdir -p /tmp/webdriverextensions-maven-plugin... | ```yaml
language: java
jdk:
- oraclejdk8
os:
- linux
addons:
firefox: "latest"
script:
- mvn install -Dchrome.binary.path=/usr/bin/chromium-browser -Ptravis-ci
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "mkdir -p /tmp/webdriverextensions-maven-plugin/cache"
... |
ed3da0bf-6fda-4bfe-b036-45a60d7fb934 | {
"language": "YAML"
} | ```yaml
script: bundle exec rake test
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
```
Add ruby 2.1.0 to allow_failures until puppet is fixed. | ```yaml
script: bundle exec rake test
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: 2.1.0 # Problem with puppet monkey patch... waiting for >3.4.2
``` |
2b3331f3-4ac5-4bbd-9ec3-c82a223e57b8 | {
"language": "YAML"
} | ```yaml
language: python
env:
- DJANGO=1.11.9
- DJANGO=2.0.1
python:
- "2.7"
- "3.5"
- "3.6"
install:
- pip install --no-deps -r requirements.txt
- pip install --no-deps -r requirements-test.txt
- pip install --no-deps . Django==$DJANGO
before_script:
- flake8 --version
- flake8 django_graph_api
script:... | ```yaml
language: python
env:
- DJANGO=1.8.18
- DJANGO=1.11.9
- DJANGO=2.0.1
python:
- "2.7"
- "3.5"
- "3.6"
install:
- pip install --no-deps -r requirements.txt
- pip install --no-deps -r requirements-test.txt
- pip install --no-deps . Django==$DJANGO
before_script:
- flake8 --version
- flake8 django_g... |
94378c54-aad9-4d4b-b9e6-862fd7fc67d6 | {
"language": "YAML"
} | ```yaml
cache:
directories:
- $HOME/.m2/repository
git:
depth: 3
jdk:
- openjdk8
- oraclejdk8
language: java
install: mvn install -DskipTests=true -Pfeature-truelicense-v1
script: mvn verify -Pfeature-truelicense-v1
```
Use batch mode for Travis CI build. | ```yaml
cache:
directories:
- $HOME/.m2/repository
git:
depth: 3
jdk:
- openjdk8
- oraclejdk8
language: java
install: mvn install -DskipTests=true -B -Pfeature-truelicense-v1
script: mvn verify -B -Pfeature-truelicense-v1
``` |
a0d6806a-ac71-42c1-9286-f897d61e995c | {
"language": "YAML"
} | ```yaml
sudo: required
language: node_js
node_js:
- 6
- 7
- 8
install:
- npm install
- npm run clean
before_script:
- npm run bootstrap
- npm run build
script:
- npm run test
after_success:
- bash <(curl -s https://codecov.io/bash)
```
Remove codecov at the moment | ```yaml
sudo: required
language: node_js
node_js:
- 6
- 7
- 8
install:
- npm install
- npm run clean
before_script:
- npm run bootstrap
- npm run build
script:
- npm run test
``` |
257e7d68-6a51-4b09-b3dd-e2e8b63a419c | {
"language": "YAML"
} | ```yaml
language: "ruby"
rvm:
- "1.8"
- "1.9"
- "2.0"
- "2.1"
- "jruby"
- "rbx"
install:
- bundle install --retry=3
matrix:
include:
- rvm: "2.1"
gemfile: "gemfiles/Gemfile.multi_json.x"
- rvm: "2.1"
gemfile: "gemfiles/Gemfile.yajl-ruby.x"
- rvm: "2.1"
gemfile: "gemfiles/Ge... | ```yaml
language: "ruby"
rvm:
- "1.8"
- "1.9"
- "2.0"
- "2.1"
- "jruby"
- "rbx"
sudo:false
install:
- bundle install --retry=3
matrix:
include:
- rvm: "2.1"
gemfile: "gemfiles/Gemfile.multi_json.x"
- rvm: "2.1"
gemfile: "gemfiles/Gemfile.yajl-ruby.x"
- rvm: "2.1"
gemfil... |
d98efc93-c33c-4931-a3a7-2536c5628f75 | {
"language": "YAML"
} | ```yaml
language: cpp
os:
- linux
services:
- docker
before_script:
- docker run -ti --rm -v $PWD:/qflex:ro debian:bullseye /bin/bash -c "apt update && apt install -y yapf3 clang-format && bash /qflex/scripts/check_format.sh"
- docker-compose build
script:
- docker run -ti --rm qflex-tests:latest
- dock... | ```yaml
language: cpp
os:
- linux
services:
- docker
before_script:
- docker run -ti --rm -v $PWD:/qflex:ro alpine:3.10.3 /bin/sh -c "apk update && apk add bash py3-pip clang && pip3 install yapf && bash /qflex/scripts/check_format.sh"
- docker-compose build
script:
- docker run -ti --rm qflex-tests:lates... |
7d967339-452d-4654-9bf3-78fdb39c0f91 | {
"language": "YAML"
} | ```yaml
---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
sudo: false
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2
script: bundle exec rake test
env:
- PUPPET_GEM_VERSION="~> 3.6.0"
- PUPPET_GEM_VERSION="~> 3.7.0"
- PUPPET_GEM_VERSION="~> 3.8.0"
- PUPPET_GEM_... | ```yaml
---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
sudo: false
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2
script: bundle exec rake test
env:
- PUPPET_GEM_VERSION="~> 3.1.1"
- PUPPET_GEM_VERSION="~> 3.6.0"
- PUPPET_GEM_VERSION="~> 3.7.0"
- PUPPET_GEM_... |
e39946da-8e34-42bf-ba47-19a1d3948225 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.5"
# command to install dependencies
install:
pip install -r test-requirements.txt
python setup.py develop
# command to run tests
script:
nosetests --with-coverage --cover-package=duo
after_success:
coveralls
```
Use YAML to install dependencies :P | ```yaml
language: python
python:
- "2.7"
- "3.5"
# command to install dependencies
install:
- pip install -r test-requirements.txt
- pip install .
# command to run tests
script:
nosetests --with-coverage --cover-package=duo
after_success:
coveralls
``` |
8d469cd4-9fa4-4c47-bd60-e56a02c160ec | {
"language": "YAML"
} | ```yaml
language: ruby
gemfile: Gemfile.ci
rvm:
- 1.9.2
- 1.9.3
```
Build using MRI 1.8.7 on Travis | ```yaml
language: ruby
gemfile: Gemfile.ci
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
``` |
05fe8d3e-d81b-4203-b9b2-a70155e39a86 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
- '6'
```
Remove testing on nodejs < 4 | ```yaml
sudo: false
language: node_js
node_js:
- '4'
- '5'
- '6'
``` |
18b57053-5606-4c0c-9cf8-06f9d2121d0b | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "6"
script: "npm run travis"
```
Drop support for node.js <10, add 10, 12, 14 + latest (semver-major) | ```yaml
language: node_js
node_js:
- 10
- 12
- 14
- node
script: "npm run travis"
``` |
8138f3ff-d27e-4ab7-b97e-bae071867870 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- "4.0"
- "iojs"
- "0.12"
```
Update npm before running npm install in Travis | ```yaml
sudo: false
language: node_js
node_js:
- "4.0"
- "iojs"
- "0.12"
before_install:
- npm install -g npm
``` |
7660ddbb-fe94-47fc-8872-a4a4ef2a7eff | {
"language": "YAML"
} | ```yaml
sudo: false
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
before_script:
- composer self-update
- composer install
script:
- php vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no
- php vendor/bin/phpcs --no-cache --no-colors
- XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-... | ```yaml
sudo: false
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
before_script:
- composer self-update
- composer install
script:
- php vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no
- php vendor/bin/phpcs --no-cache --no-colors
- XDEBUG_MODE=coverage php vendor/bin/phpunit --c... |
bb007477-24c6-4020-a9b6-2b3d104a3898 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.6
services:
- redis-server
before_script:
- mysql -uroot -e 'create database rena;'
- wget http://getcomposer.org/composer.phar
- php composer.phar install --dev --no-interaction -o
- ls -alh
- cp tests/config.php config/config.php
- cat config/config.php
- cp tests/p... | ```yaml
sudo: true
language: php
php:
- 5.6
services:
- redis-server
before_script:
- sudo service mysql stop
- sudo apt-get install python-software-properties
- sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
- sudo add-apt-repository 'deb http://ftp.osuosl.org/... |
ccf56a4b-26bb-48fe-8edd-27b4017e61b6 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.4.1"
# command to install dependencies
sudo: false
addons:
apt:
packages:
- python-scipy
- libblas-dev
- liblapack-dev
- gfortran
- python-pip
install:
- "easy_install -U setuptools"
- "pip install -r requirements.txt"
# This is n... | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
# command to install dependencies
sudo: false
addons:
apt:
packages:
- python-scipy
- libblas-dev
- liblapack-dev
- gfortran
- python-pip
install:
- "easy_install -U setuptools"
- "pip install -r requirements.txt"
# This is nee... |
037ffb00-1102-47b6-bed5-5f7a80ee588a | {
"language": "YAML"
} | ```yaml
language: php
php:
- 7.0
- 7.1
install:
- composer install
script:
- composer test
```
Add PHP 7.2 into Travis CI Configuration | ```yaml
language: php
php:
- 7.0
- 7.1
- 7.2
install:
- composer install
script:
- composer test
``` |
2c0014e0-9f20-4aec-91a9-ca55a6de520b | {
"language": "YAML"
} | ```yaml
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: 7.0
before_script:
- travis_retry composer selfupdate
- travis_retry composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phpunit --coverage-clover=coverage.clov... | ```yaml
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: 7.0
before_script:
- travis_retry composer selfupdate
- travis_retry composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phpunit --coverage-clover=coverage.clov... |
ff71e7c2-878f-4f0b-8795-bd99c56f4ea4 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
before_install:
- sudo apt-get install liblapack-dev gfortran
- pip install -r requirements.txt
- pip install pytest
install:
- python setup.py install
script:
- (cd tests && py.test test*.py)
```
Move to apt-get install sci/numpy | ```yaml
language: python
python:
- "2.7"
before_install:
- sudo apt-get update
- sudo apt-get install python-numpy python-scipy cython libatlas-dev liblapack-dev gfortran
- pip install -r requirements.txt
- pip install pytest
install:
- python setup.py install
script:
- (cd tests && py.t... |
05891755-3d46-4e12-ac75-f70a076752a3 | {
"language": "YAML"
} | ```yaml
# Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install:
- "./requirements.sh"
- "pip install -e ."
- "pip install https://github.com/brandon-rhodes/assay/archive/master.zip"
- "curl -O ftp://ssd.jpl... | ```yaml
# Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install:
- "./requirements.sh"
- "pip install -e ."
- "pip install https://github.com/brandon-rhodes/assay/archive/master.zip"
- "curl -O ftp://ssd.jpl... |
184b4326-7557-4265-ab00-a5f3462ebf98 | {
"language": "YAML"
} | ```yaml
language: c
compiler:
- clang
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq automake debootstrap libtool lsb-release
script: ./autogen.sh && ./configure && make && make test
env:
- TEST_DEBOOTSTRAP=1
```
Exclude some branches for Travis | ```yaml
language: c
compiler:
- clang
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq automake debootstrap libtool lsb-release
script: ./autogen.sh && ./configure && make && make test
env:
- TEST_DEBOOTSTRAP=1
branches:
except:
- /^archive\//
- /^stash\//
``` |
6183ab9b-e66b-4fb1-bcfd-6273e142b1de | {
"language": "YAML"
} | ```yaml
language: python
python:
- '3.5'
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run --source=flask_forecaster setup.py test
after_success: coveralls
deploy:
- provider: cloudfoundry
edge: true
api: https://api.run.pez.pivotal.io
username: $CF_USERNAME
pas... | ```yaml
language: python
python:
- '3.5'
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run --source=flask_forecaster setup.py test
after_success: coveralls
deploy:
- provider: cloudfoundry
edge: true
api: https://api.run.pivotal.io
username: $CF_USERNAME
passwor... |
6ff0b6b5-dbcb-4e0a-9088-9a1112ab8cc4 | {
"language": "YAML"
} | ```yaml
---
- name: Install needed packages to run wkhtmltopdf
yum:
name={{ item }}
state=present
with_items:
- openssl
- xorg-x11-server-Xorg
- xorg-x11-server-Xvfb
- fontconfig
- libXrender
- libXext
- xorg-x11-fonts-Type1
- xorg-x11-fonts-75dpi
- freetype
- libpng... | ```yaml
---
- name: Install needed packages to run wkhtmltopdf
yum:
name={{ item }}
state=present
with_items:
- openssl
- xorg-x11-server-Xorg
- xorg-x11-server-Xvfb
- fontconfig
- libXrender
- libXext
- xorg-x11-fonts-Type1
- xorg-x11-fonts-75dpi
- freetype
- libpng... |
bf0af08b-8ae4-49df-8c5c-707e71a6c5a2 | {
"language": "YAML"
} | ```yaml
language: python
addons:
apt:
config:
retries: true
cache:
apt: true
pip: true
matrix:
include:
- os: linux
dist: xenial
python: 2.7
env: TOXENV=py27
name: "2.7 Xenial"
- os: linux
dist: xenial
python: 3.5
env: TOXENV=py35
name: "3.5 X... | ```yaml
language: python
addons:
apt:
config:
retries: true
cache:
apt: true
pip: true
matrix:
include:
- os: linux
dist: xenial
python: 2.7
env: TOXENV=py27
name: "2.7 Xenial"
- os: linux
dist: xenial
python: 3.5
env: TOXENV=py35
name: "3.5 X... |
a31470f4-5738-4b27-9bd0-564d3396d5b7 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.1
- 2.2
- rbx-2
- ruby-head
- jruby-head
env:
- COVERAGE=true JRUBY_OPTS=--debug
sudo: false
cache: bundler
before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.10.tgz -O /tmp/mongodb.tgz
- tar -xvf /tmp/mongodb.tgz
- mkdir /tmp/data
- ${PWD}... | ```yaml
language: ruby
rvm:
- 2.1
- 2.2
- 2.3.0
- rbx-2
- ruby-head
- jruby-head
env:
- COVERAGE=true JRUBY_OPTS=--debug
sudo: false
cache: bundler
before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.10.tgz -O /tmp/mongodb.tgz
- tar -xvf /tmp/mongodb.tgz
- mkdir /tmp/data
... |
02055377-bc68-4a82-bd55-9328b930ab44 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
# command to install dependencies
install:
- "pip install ."
- "pip install -r requirements.txt"
# command to run tests
script: nosetests
```
Remove the install of the project | ```yaml
language: python
python:
- "2.7"
# command to install dependencies
install:
# - "pip install ."
- "pip install -r requirements.txt"
# command to run tests
script: nosetests
``` |
001c9d24-3baa-4885-a49b-d71fd660d7d3 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: nosetests
```
Remove Travis CI support for Python 2.6 | ```yaml
language: python
python:
- "2.7"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: nosetests
``` |
adacd76c-944f-4d4c-9c70-f3f67c6b1ce7 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
- oraclejdk9
os:
- linux
script: mvn clean install -Prun-its
after_success:
- mvn jacoco:report coveralls:report
```
Add other JDK versions in Travis build | ```yaml
language: java
jdk:
- openjdk8
- openjdk9
- openjdk11
- openjdk-ea
os:
- linux
script: mvn clean install -Prun-its
after_success:
- mvn jacoco:report coveralls:report
``` |
10c6dd55-784f-47ff-a423-9f7c5658dc7b | {
"language": "YAML"
} | ```yaml
language: cpp
dist: trusty
sudo: required
matrix:
include:
- os: linux
compiler: gcc
# - os: linux
#compiler: clang
script:
- (cd bigtable/api && cmake . && make)
addons:
apt:
packages:
- vim
- curl
- git-core
- make
- gcc
- g++
- bui... | ```yaml
language: cpp
dist: trusty
sudo: required
matrix:
include:
- os: linux
compiler: gcc
# - os: linux
#compiler: clang
script:
- (cd bigtable/api && cmake . && make)
addons:
apt:
packages:
- vim
- curl
- git-core
- make
- gcc
- g++
- bui... |
94739939-f063-4030-9314-c390004093fd | {
"language": "YAML"
} | ```yaml
info:
app:
name: JVM Bloggers
description: Application to spread info about polish blogging JVM Developers
spring:
mandatory-file-encoding: UTF-8
jpa.hibernate.ddl-auto: validate
liquibase.change-log: classpath:db/changelog/db.changelog.xml
server.compression:
enabled: true
mime-types: appl... | ```yaml
info:
app:
name: JVM Bloggers
description: Application to spread info about polish blogging JVM Developers
spring:
mandatory-file-encoding: UTF-8
jpa.hibernate.ddl-auto: validate
liquibase.change-log: classpath:db/changelog/db.changelog.xml
server.compression:
enabled: true
mime-types: appl... |
27f37de3-1f3b-4b85-9645-10b359c1bb17 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
```
Add 2.2, ruby-head/jruby-head, allow failures | ```yaml
language: ruby
rvm:
- "1.9.3"
- "2.0"
- "2.1"
- "2.2"
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
fast_finish: true
``` |
b57e5089-1155-4a08-8d64-b30f05bf79be | {
"language": "YAML"
} | ```yaml
language: python
python:
- '3.5'
- '3.6'
env:
- HASS=0.64.3
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install homeassistant==$HASS
script:
- hass -c . --script check_config
```
Update Home Assistant to 0.65.3 for config checks in Travis CI | ```yaml
language: python
python:
- '3.5'
- '3.6'
env:
- HASS=0.65.3
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install homeassistant==$HASS
script:
- hass -c . --script check_config
``` |
d96ae0f7-425b-4e50-bfe5-7eeab33cd327 | {
"language": "YAML"
} | ```yaml
language: go
go:
- tip
- 1.6
- 1.5
- 1.4
- 1.3
- 1.2
```
Test on Go 1.7 - 1.10 | ```yaml
language: go
go:
- tip
- 1.10
- 1.9
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4
- 1.3
- 1.2
``` |
a6da2148-700c-44f7-ad2f-9a9c7270bc32 | {
"language": "YAML"
} | ```yaml
language: android
android:
components:
- build-tools-22.0.1
- android-22
- extra
script: ./gradlew test
```
Migrate to new infrastracture on Travis | ```yaml
language: android
sudo: false
android:
components:
- build-tools-22.0.1
- android-22
- extra
script: ./gradlew test
``` |
289f4bd1-aeb0-4cb9-bb0b-a58a885cfde6 | {
"language": "YAML"
} | ```yaml
language: go
env:
- DEP_VERSION="0.3.2"
before_install:
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
- chmod +x $GOPATH/bin/dep
install:
- dep ensure
go:
- 1.7
- 1.8
- 1.9
- tip
matrix:
allow_failures:
- go: tip
... | ```yaml
language: go
env:
- DEP_VERSION="0.3.2"
before_install:
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
- chmod +x $GOPATH/bin/dep
install:
- dep ensure
go:
- 1.8
- 1.9
- 1.10
- tip
matrix:
allow_failures:
- go: tip... |
aba5a072-22b8-4875-a63d-7cbe768b5f7e | {
"language": "YAML"
} | ```yaml
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
rvm:
- 1.9.3
- 1.9.2
- 1.8.7
- rbx-18mode
- rbx-19mode
gemfile:
- Gemfile
- ci/Gemfile.capybara1-0
- ci/Gemfile.capybara1-1
```
Revert "try rbx 1.9 mode" | ```yaml
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
rvm:
- 1.9.3
- 1.9.2
- 1.8.7
- rbx-18mode
gemfile:
- Gemfile
- ci/Gemfile.capybara1-0
- ci/Gemfile.capybara1-1
``` |
b7afd7ff-ea11-4914-8498-8aed7b35a58e | {
"language": "YAML"
} | ```yaml
database:
driver: pdo_mysql
username: root
password: root
dbname: cms
host: localhost
mail:
char_set: utf-8
host:
smtp_auth: true
username:
password:
port: 587```
Update default credentials for vagrant box | ```yaml
database:
driver: pdo_mysql
username: cmsv4
password: cmsv4
dbname: cmsv4
host: localhost
mail:
char_set: utf-8
host:
smtp_auth: true
username:
password:
port: 587``` |
638d26e5-ac97-4563-8e42-f8458ca40958 | {
"language": "YAML"
} | ```yaml
language: node_js
sudo: false
node_js:
- 0.12
- 4.1
```
Build only reasonable node versions | ```yaml
language: node_js
sudo: false
node_js:
- 4
- 5
``` |
a1e57383-2df2-4f2c-a998-955434b94f39 | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.6
- 1.7
- 1.8
install:
- go get github.com/nsf/termbox-go
sudo: false
os:
- linux
- osx
```
Drop CI tests for Go 1.6 and add Go 1.9 | ```yaml
language: go
go:
- 1.7
- 1.8
- 1.9
install:
- go get github.com/nsf/termbox-go
sudo: false
os:
- linux
- osx
``` |
ccf8d3c5-a2bb-492b-a0dc-8966bd660646 | {
"language": "YAML"
} | ```yaml
- name: Ensure that the desired git repository folder exists
file:
state: directory
path: "{{ git_repo_folder }}"
- name: Check if personal tmux configuration repository exists locally
stat:
path: "{{ git_repo_folder }}/config.tmux"
register: st
- name: Acquire personal tmux configurat... | ```yaml
- name: Ensure that the desired git repository folder exists
file:
state: directory
path: "{{ git_repo_folder }}"
- name: Check if personal tmux configuration repository exists locally
stat:
path: "{{ git_repo_folder }}/config.tmux"
register: st
- name: Acquire personal tmux configurat... |
26a92da7-63dd-46e7-98b2-49c61564e6f3 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 0.9
- 0.8
- 0.6
before_install: "npm install -g bob"
script: "bob build"
```
Drop 0.9 for now until Buster fixes compatibility issue. | ```yaml
language: node_js
node_js:
- 0.8
- 0.6
before_install: "npm install -g bob"
script: "bob build"
``` |
fce0580f-9151-4c51-87ad-90668082ac30 | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.7
- tip
script: go test -v
sudo: false
```
Build using current Go release. | ```yaml
language: go
go:
- 1.8
- tip
script: go test -v
sudo: false
``` |
69c1faf6-7409-4d80-a6f0-92efc8efeca2 | {
"language": "YAML"
} | ```yaml
parity-magic:
order-number: 1
# qr-codes:
# order-number: 2
# product-code-check-digits:
# order-number: 3
finite-state-automata:
order-number: 4
# image-representation:
# order-number: 5
binary-representation:
order-number: 6
stroop-effect:
order-number: 7
```
Hide parity-magic les... | ```yaml
# parity-magic:
# order-number: 1
# qr-codes:
# order-number: 2
# product-code-check-digits:
# order-number: 3
finite-state-automata:
order-number: 4
# image-representation:
# order-number: 5
binary-representation:
order-number: 6
stroop-effect:
order-number: 7
``` |
5a8c9703-34d8-44a0-938b-c9249fe52d86 | {
"language": "YAML"
} | ```yaml
language: python
services:
- postgresql memcached
env:
- DATABASE_URL='postgres://postgres:@localhost:5432/robotix' DJANGO_SECRET_KEY='tT\xd7\xb06\xf7\x9b\xff\x0fZL\xca\xca\x11\xefM\xacr\xfb\xdf\xca\x9b' DJANGO_SETTINGS_MODULE='config.settings.production'
python:
- '3.4'
- '2.7'
- 'nightl... | ```yaml
language: python
services:
- postgresql memcached
env:
- DATABASE_URL='postgres://postgres:@localhost:5432/robotix' DJANGO_SECRET_KEY='tT\xd7\xb06\xf7\x9b\xff\x0fZL\xca\xca\x11\xefM\xacr\xfb\xdf\xca\x9b' DJANGO_SETTINGS_MODULE='config.settings.production'
python:
- '3.4'
- '2.7'
addons:
... |
e7347d0e-506a-4ac3-a014-d04f1b367ff6 | {
"language": "YAML"
} | ```yaml
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ... | ```yaml
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ... |
90a8c40f-18a6-4883-8edf-78ecf193cf74 | {
"language": "YAML"
} | ```yaml
# https://travis-ci.org/danielkoster/argosd
language: python
python:
- 3.4
- 3.5
install:
- pip install -r requirements-test.txt --quiet
script:
- nosetests tests -v --with-coverage --cover-package=argosd --cover-inclusive
- pep8 argosd
- pep8 tests
after_success:
- python-codacy-coverage -r cover... | ```yaml
# https://travis-ci.org/danielkoster/argosd
language: python
python:
- 3.4
- 3.5
install:
- pip install -r requirements-test.txt --quiet
script:
- nosetests tests -v --with-coverage --cover-package=argosd --cover-inclusive --cover-xml
- pep8 argosd
- pep8 tests
after_success:
- python-codacy-cover... |
086b8259-3967-43d2-97ca-645114d8255f | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
matrix:
allow_failures:
- php: 5.5
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --no-interaction --prefer-source
- cp phpunit.xml.dist phpunit.xml
```
Test on all doctrine branches | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
env:
- DOCTRINE_VERSION="2.2.*"
- DOCTRINE_VERSION="2.3.*"
- DOCTRINE_VERSION="dev-master"
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar require doctrine/orm:${DOCTRINE_VERSION} doctrine/dbal:${DOCTRINE... |
33e74fca-b3dd-4cb1-81ea-41a1e78cc702 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.3
env:
- DJANGO=Django==1.4.13
- DJANGO=Django==1.5.8
- DJANGO=Django==1.6.5
- DJANGO=https://github.com/django/django/tarball/stable/1.7.x
install:
- pip install --use-mirrors $DJANGO
- pip install --use-mirrors coverage coveralls
script: coverage ... | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.3
env:
- DJANGO=Django==1.4.13
- DJANGO=Django==1.5.8
- DJANGO=Django==1.6.5
- DJANGO=https://github.com/django/django/tarball/stable/1.7.x
install:
- pip install --use-mirrors coverage coveralls $DJANGO
script: coverage run -a --branch setup.py test
... |
b3c37211-caee-4e61-a795-649e4b883b24 | {
"language": "YAML"
} | ```yaml
language: python
python: 3.6
cache: pip
install:
- "pip install coveralls"
- "pip install -r requirements.txt"
before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- curl -L https:/... | ```yaml
language: python
python: 3.6
cache: pip
install:
- "pip install coveralls"
- "pip install -r requirements.txt"
before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- curl -L https:/... |
bff46e07-05bc-42a8-ade2-cc77a87dc2c0 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
- "0.8"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28'
- npm install -g npm@latest
```
Add node 0.12 and 0.11 | ```yaml
sudo: false
language: node_js
node_js:
- 'iojs'
- '0.12'
- '0.10'
``` |
8a9a968d-d152-4789-9d72-489f134b377a | {
"language": "YAML"
} | ```yaml
language: ruby
before_install:
# Travis bundler versions are quite out of date and can cause install errors
# see: https://github.com/rubygems/rubygems/issues/1419
- gem update bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
- 2.3.0
- 2.4.0
- 2.5.0
- 2.6.0
env:
global:
secure: MBTxmpWCjrsNKPlOoFwJUMHze... | ```yaml
language: ruby
before_install:
- gem update bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
- 2.3.0
- 2.4.0
- 2.5.0
- 2.6.0
env:
global:
secure: MBTxmpWCjrsNKPlOoFwJUMHze3GPMz8YCXQFQG3zJBh3WGNQnz4z91ra/1P/DClyVCxHGSFCOswxCNe4kJ2zAnPyQLqGSinXy9uDpqZQUEdaRoQbPnh4/bguZNSJ429gtTpMdDSNOgQ+Hra2EFnWwHA+rLF6ImksMs... |
3b49d82a-5fc8-4827-812f-15fb83bb0aff | {
"language": "YAML"
} | ```yaml
---
language: ruby
bundler_args: --without system_tests --jobs 3 --retry 3
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
sudo: false
matrix:
fast_finish: true
include:
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.... | ```yaml
---
language: ruby
bundler_args: --without system_tests --jobs 3 --retry 3
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
sudo: false
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIAB... |
2a123a38-b3bb-4b21-bdfd-9d7d1b37e64e | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
before_script: cd test/
script: jjs -DNnClassLoader.debug=true test-all.js
```
Add jdk9 testing to CI | ```yaml
language: java
jdk:
- oraclejdk8
- oraclejdk9
before_script: cd test/
script: jjs -DNnClassLoader.debug=true test-all.js
``` |
edee5ce5-ac05-47b9-ba20-ca25170691a9 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_install:
- phpenv rehash
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/e... | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
- hhvm-nightly
before_install:
- phpenv rehash
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$... |
7b9dcaf8-b99f-4c42-b844-5817eebcbd8c | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.1"
- "3.2"
- "3.3"
before_install:
- sudo apt-get install graphviz
install:
- pip install Sphinx --use-mirrors
- pip install pep8 --use-mirrors
before_script:
- pep8 --exclude=asizeof.py,metadata.py,bottle*.py --max-line-length=80 pympler... | ```yaml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.1"
- "3.2"
before_install:
- sudo apt-get install graphviz python-tk
install:
- pip install Sphinx --use-mirrors
- pip install pep8 --use-mirrors
before_script:
- pep8 --exclude=asizeof.py,metadata.py,bottle*.py --max-line-length=80 pympler... |
69408562-62c4-4d36-afd6-9cb3afb509c1 | {
"language": "YAML"
} | ```yaml
image: archlinux
packages:
- meson
- ninja
- wayland
- wayland-protocols
- mesa
- libinput
- pixman
- libxkbcommon
- xcb-util-image
- libcap
- rustup
- clang
- libxcb
- xorg-xinput
- xcb-util-image
- xcb-util-cursor
- xcb-util-wm
sources:
- h... | ```yaml
image: archlinux
packages:
- meson
- ninja
- wayland
- wayland-protocols
- mesa
- libinput
- pixman
- libxkbcommon
- xcb-util-image
- libcap
- rustup
- clang
- libxcb
- xorg-xinput
- xcb-util-image
- xcb-util-cursor
- xcb-util-wm
sources:
- h... |
682c68ea-7542-4073-b68a-d3c84ea31dd5 | {
"language": "YAML"
} | ```yaml
- project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-python3-yoga-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
```
Add Python3 zed unit tests | ```yaml
- project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-python3-zed-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
``` |
94640b08-0d46-4a32-b5f4-f7a2fcb6e585 | {
"language": "YAML"
} | ```yaml
- job:
name: heatclient-functional
parent: devstack-tox-functional
timeout: 4200
required-projects:
- openstack/heat
- openstack/python-heatclient
vars:
openrc_enable_export: true
devstack_plugins:
heat: https://opendev.org/openstack/heat
irrelevant-files:... | ```yaml
- job:
name: heatclient-functional
parent: devstack-tox-functional
timeout: 4200
required-projects:
- openstack/heat
- openstack/python-heatclient
vars:
openrc_enable_export: true
devstack_plugins:
heat: https://opendev.org/openstack/heat
irrelevant-files:... |
18f783df-e882-40c3-b492-6296843ea0c4 | {
"language": "YAML"
} | ```yaml
kind: Service
apiVersion: v1
metadata:
name: manila-api
labels:
system: openstack
type: api
component: manila
annotations:
prometheus.io/scrape: "true"
prometheus.io/targets: {{ required ".Values.alerts.prometheus" .Values.alerts.prometheus | quote }}
spec:
selector:
name: mani... | ```yaml
kind: Service
apiVersion: v1
metadata:
name: manila-api
labels:
system: openstack
type: api
component: manila
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: {{ .Values.global.metrics_port | quote }}
prometheus.io/targets: {{ required ".Values.alerts.prometheus" .Val... |
42325599-b3c3-4251-bb18-87e13c496558 | {
"language": "YAML"
} | ```yaml
---
- name: install mysql
apt: pkg=$item state=installed
with_items:
- python-mysqldb
- mysql-client
- mysql-server
- name: start the mysql service
action: service name=mysql state=started
- name: update mysql root password for all root accounts
mysql_user: name=root host=$item password=$m... | ```yaml
---
- name: install mysql
apt: pkg=$item state=installed update_cache=yes
with_items:
- python-mysqldb
- mysql-client
- mysql-server
- name: start the mysql service
action: service name=mysql state=started
- name: update mysql root password for all root accounts
mysql_user: name=root host=... |
ea1bb20f-5fe2-4597-937f-025866af1caf | {
"language": "YAML"
} | ```yaml
---
- name: set_fact use_new_ceph_iscsi package or old ceph-iscsi-config/cli
set_fact:
use_new_ceph_iscsi: "{{ (gateway_ip_list | default('0.0.0.0') == '0.0.0.0' and gateway_iqn | default('') | length == 0 and client_connections | default({}) | length == 0 and rbd_devices | default({}) | length == 0) | bo... | ```yaml
---
- name: set_fact use_new_ceph_iscsi package or old ceph-iscsi-config/cli
set_fact:
use_new_ceph_iscsi: "{{ (gateway_ip_list | default('0.0.0.0') == '0.0.0.0' and gateway_iqn | default('') | length == 0 and client_connections | default({}) | length == 0 and rbd_devices | default({}) | length == 0) | bo... |
57acafca-9c43-460d-b6ea-ae8860559769 | {
"language": "YAML"
} | ```yaml
name: glop
version: '0.1'
summary: Glue Language for OPerations
description: |
A DSL and interpreted runtime for building autonomous, intelligent agents
that operate software systems.
grade: stable
confinement: strict
apps:
glop:
command: glop-wrapper
plugs:
- network
- network-bind
... | ```yaml
name: glop
version: '0.2'
summary: Glue Language for OPerations
description: |
A DSL and interpreted runtime for building autonomous, intelligent agents
that operate software systems.
grade: stable
confinement: classic
apps:
glop:
command: glop-wrapper
parts:
glop:
plugin: rust
rust-chann... |
7226b193-4c77-41fe-bc77-1a807c71c60d | {
"language": "YAML"
} | ```yaml
{% set name = "markdown-kernel" %}
{% set version = "0.2.0" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 6487c240a7424fb20f62aa61d0dd16971e9a757fe08d1482916560156eef7b3b
buil... | ```yaml
{% set name = "markdown-kernel" %}
{% set version = "0.2.0" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 6487c240a7424fb20f62aa61d0dd16971e9a757fe08d1482916560156eef7b3b
buil... |
79e20ea8-6a6b-4c30-b51d-294e9c3edc2b | {
"language": "YAML"
} | ```yaml
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you m... | ```yaml
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you m... |
b9d3069a-568a-45b3-953e-a55946908c84 | {
"language": "YAML"
} | ```yaml
name: Build Aphex
on:
push:
branches:
- '**'
tags:
- 'v*'
env:
IMAGE_NAME: ethicaljobs/aphex
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.3', '7.4']
name: Build PHP ${{ matrix.php }} container
steps:
- name: Checkout
use... | ```yaml
name: Build Aphex
on:
push:
branches:
- '**'
tags:
- 'v*'
env:
IMAGE_NAME: ethicaljobs/aphex
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.3', '7.4']
name: Build PHP ${{ matrix.php }} container
steps:
- name: Checkout
use... |
ea12bd66-82f8-433b-88e1-1684cefddd54 | {
"language": "YAML"
} | ```yaml
redash:
image: redash
ports:
- "5000:5000"
links:
- redis
- postgres
environment:
REDASH_STATIC_ASSETS_PATH:"../rd_ui/app/"
REDASH_LOG_LEVEL:"INFO"
REDASH_REDIS_URL:redis://localhost:6379/0
REDASH_DATABASE_URL:"postgresql://redash"
REDASH_COOKIE_SECRET:veryverysecret
... | ```yaml
redash:
image: redash
ports:
- "5000:5000"
links:
- redis
- postgres
environment:
REDASH_STATIC_ASSETS_PATH:"../rd_ui/app/"
REDASH_LOG_LEVEL:"INFO"
REDASH_REDIS_URL:redis://localhost:6379/0
REDASH_DATABASE_URL:"postgresql://redash"
REDASH_COOKIE_SECRET:veryverysecret
... |
d0a4b54c-a0ac-4298-b022-cd449df7fa06 | {
"language": "YAML"
} | ```yaml
---
# Copyright 2015, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | ```yaml
---
# Copyright 2015, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.