doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
5efd6eb9-cafc-4725-85cb-425d41ec630f | {
"language": "YAML"
} | ```yaml
language: c
env:
- EnableNuGetPackageRestore=true
before_install:
# Make sure mono is installed,
# pipe stdout to dev/null because qq is still too chatty
- sudo apt-get update -qq > /dev/null
- sudo apt-get install -qq mono-devel mono-gmcs > /dev/null
# update root certs for nuget
- mozroots --import --sync
script:
- .ci/build.sh
#script:
# - xbuild /property:Configuration=Debug /property:Platform="Any CPU" SteamBot.sln```
Update build.sh to be executable on CI server | ```yaml
language: c
env:
- EnableNuGetPackageRestore=true
before_install:
# Make sure mono is installed,
# pipe stdout to dev/null because qq is still too chatty
- sudo apt-get update -qq > /dev/null
- sudo apt-get install -qq mono-devel mono-gmcs > /dev/null
# update root certs for nuget
- mozroots --import --sync
- chmod a+x .ci/build.sh
script:
- .ci/build.sh
#script:
# - xbuild /property:Configuration=Debug /property:Platform="Any CPU" SteamBot.sln``` |
03d183fb-0eee-4cd1-bf78-ad4d49422eb9 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.8
- 1.9
- 2.5
- ruby-head
- jruby
```
Test on different Ruby 2 versions | ```yaml
language: ruby
rvm:
- 1.8
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- ruby-head
- jruby
``` |
4af48ff1-f224-4875-93ca-97a1b135304e | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
```
Add 0.12 and iojs to CI run. | ```yaml
sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.12"
- iojs
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
``` |
aa995784-f7df-40f6-98af-b06575931870 | {
"language": "YAML"
} | ```yaml
---
# Verify this with: http://lint.travis-ci.org/
language: ruby
# Delete dependency locks for matrix builds.
before_install: rm Gemfile.lock || true
script: bundle exec rake test
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
env:
matrix:
- PUPPET_VERSION="~> 3.8.5"
- PUPPET_VERSION="~> 4.3.2"
matrix:
exclude:
- rvm: 2.2.0
env: PUPPET_VERSION="~> 3.8.5"
# Only notify for failed builds.
notifications:
email:
on_success: never
```
Test on a newer minor version of puppet 4. | ```yaml
---
# Verify this with: http://lint.travis-ci.org/
language: ruby
# Delete dependency locks for matrix builds.
before_install: rm Gemfile.lock || true
script: bundle exec rake test
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
env:
matrix:
- PUPPET_VERSION="~> 3.8.5"
- PUPPET_VERSION="~> 4.8.0"
matrix:
exclude:
- rvm: 2.2.0
env: PUPPET_VERSION="~> 3.8.5"
# Only notify for failed builds.
notifications:
email:
on_success: never
``` |
16ccf4b5-04b5-4911-a8ed-3b4bac9a800f | {
"language": "YAML"
} | ```yaml
---
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
# - jruby-18mode
# - jruby-19mode
- ree
env:
- RAILS_VERSION=""
- RAILS_VERSION="~>3.2.0"
- RAILS_VERSION="~>3.1.0"
- RAILS_VERSION="~>3.0.0"
- RAILS_VERSION="" MONETA_VERSION="~> 0.6.0"
- RAILS_VERSION="~>3.2.0" MONETA_VERSION="~> 0.6.0"
- RAILS_VERSION="~>3.1.0" MONETA_VERSION="~> 0.6.0"
- RAILS_VERSION="~>3.0.0" MONETA_VERSION="~> 0.6.0"
- RAILS_VERSION="" MONETA_VERSION="~> 0.7.0"
- RAILS_VERSION="~>3.2.0" MONETA_VERSION="~> 0.7.0"
- RAILS_VERSION="~>3.1.0" MONETA_VERSION="~> 0.7.0"
- RAILS_VERSION="~>3.0.0" MONETA_VERSION="~> 0.7.0"
notifications:
email:
- sutto@sutto.net```
Cut down what we test against, add tests for Ruby 2.0.0 | ```yaml
---
language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
env:
- RAILS_VERSION=""
- RAILS_VERSION="~>3.2.0"
- RAILS_VERSION="~>3.1.0"
- RAILS_VERSION="~>3.0.0"
- RAILS_VERSION="~>4.0.0.beta1"
- RAILS_VERSION="" MONETA_VERSION="~> 0.6.0"
- RAILS_VERSION="" MONETA_VERSION="~> 0.7.0"
notifications:
email:
- sutto@sutto.net``` |
64d3cf5a-0c02-48a9-a2e7-fc3ad4a22d90 | {
"language": "YAML"
} | ```yaml
language: php
sudo: false
php:
- 5.6
- 7.0
- 7.1
env:
- SYMFONY_VERSION=3.2.*
before_install:
- composer self-update
- composer require --no-update symfony/symfony "$SYMFONY_VERSION"
install:
- composer install --no-interaction --prefer-dist
script:
- ./vendor/bin/phpcs ./ -p --encoding=utf-8 --extensions=php --ignore=vendor --ignore=Tests --standard=./vendor/escapestudios/symfony2-coding-standard/Symfony2
- ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- $COMPOSER_CACHE_DIR
notifications:
email:
- genvaldartem@gmail.com
```
Add Symfony 3.3 to Travis.CI env | ```yaml
language: php
sudo: false
php:
- 5.6
- 7.0
- 7.1
env:
- SYMFONY_VERSION=3.2.*
- SYMFONY_VERSION=3.3.*
before_install:
- composer self-update
- composer require --no-update symfony/symfony "$SYMFONY_VERSION"
install:
- composer install --no-interaction --prefer-dist
script:
- ./vendor/bin/phpcs ./ -p --encoding=utf-8 --extensions=php --ignore=vendor --ignore=Tests --standard=./vendor/escapestudios/symfony2-coding-standard/Symfony2
- ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- $COMPOSER_CACHE_DIR
notifications:
email:
- genvaldartem@gmail.com
``` |
c1a9a55a-b5ce-4ad9-b926-ec36e1279c0c | {
"language": "YAML"
} | ```yaml
language: haskell
ghc:
- 7.6
- 7.8
install:
- cabal install happy # a "haskell-src-exts" implicit dependency workaround
- cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls
script:
- cabal configure --enable-tests --enable-benchmarks
- cabal build
- cabal test --show-details=always
```
Update Travis to test older transformers | ```yaml
language: haskell
ghc:
- 7.6
- 7.8
env:
- transformers=0.2.*
- transformers=0.4.*
install:
- cabal install "transformers == $transformers"
- cabal install happy # a "haskell-src-exts" implicit dependency workaround
- cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls
script:
- cabal configure --enable-tests --enable-benchmarks
- cabal build
- cabal test --show-details=always
``` |
a957a3ee-c496-4af4-a131-1a2b36ab7e56 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- jruby-20mode
```
Drop support of buggy JRuby 1.7.4 | ```yaml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
#- jruby-19mode
#- jruby-20mode
``` |
756d1e33-4c2a-4548-b5d6-9154df6c3eaf | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
before_script:
- composer self-update
- composer install --dev
script: vendor/bin/phpunit --configuration phpunit.xml.dist```
Disable Composr interaction to work around rate limits. | ```yaml
language: php
php:
- 5.3
- 5.4
before_script:
- composer self-update
- composer install --dev --no-interaction
script: vendor/bin/phpunit --configuration phpunit.xml.dist``` |
db1577ed-fa8a-4b5d-9e4d-b5c64798409e | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "5"
- "5.1"
- "4"
- "4.2"
- "4.1"
- "4.0"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
```
Remove Travis node version 4.2 | ```yaml
language: node_js
node_js:
- "5"
- "5.1"
- "4"
- "4.1"
- "4.0"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
``` |
164b74e7-4f3d-4987-95c5-261edef0ebc2 | {
"language": "YAML"
} | ```yaml
language: ruby
script: rake ci
rvm:
- 1.9.3
- 2.0
- 2.1
- ruby-head
- jruby
- jruby-head
- rbx-2.1
- rbx-2.2
- rbx-2.3
gemfile:
- Gemfile
- Gemfile-jruby
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS='--2.0'
exclude:
- rvm: 1.9.3
gemfile: Gemfile-jruby
- rvm: 2.0
gemfile: Gemfile-jruby
- rvm: 2.1
gemfile: Gemfile-jruby
- rvm: ruby-head
gemfile: Gemfile-jruby
- rvm: jruby
gemfile: Gemfile
- rvm: jruby-head
gemfile: Gemfile
- rvm: rbx-2.1
gemfile: Gemfile-jruby
- rvm: rbx-2.2
gemfile: Gemfile-jruby
- rvm: rbx-2.3
gemfile: Gemfile-jruby
allow_failures:
- rvm: jruby
- rvm: jruby-head
- rvm: rbx-2.1
- rvm: rbx-2.2
- rvm: rbx-2.3
```
Fix matrix excludes (again) (hopefully) | ```yaml
language: ruby
script: rake ci
rvm:
- 1.9.3
- 2.0
- 2.1
- ruby-head
- jruby
- jruby-head
- rbx-2.1
- rbx-2.2
- rbx-2.3
gemfile:
- Gemfile
- Gemfile-jruby
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS='--2.0'
exclude:
- rvm: 1.9.3
gemfile: Gemfile-jruby
- rvm: 2.0
gemfile: Gemfile-jruby
- rvm: 2.1
gemfile: Gemfile-jruby
- rvm: ruby-head
gemfile: Gemfile-jruby
- rvm: jruby
gemfile: Gemfile
- rvm: jruby
gemfile: Gemfile
env: JRUBY_OPTS='--2.0'
- rvm: jruby-head
gemfile: Gemfile
- rvm: rbx-2.1
gemfile: Gemfile-jruby
- rvm: rbx-2.2
gemfile: Gemfile-jruby
- rvm: rbx-2.3
gemfile: Gemfile-jruby
allow_failures:
- rvm: jruby
- rvm: jruby-head
- rvm: rbx-2.1
- rvm: rbx-2.2
- rvm: rbx-2.3
``` |
062ca392-01e2-48dd-b7cb-bad07653c30d | {
"language": "YAML"
} | ```yaml
language: php
sudo: true
php:
- 5.6
before_script:
- mysql -e 'create database homestead_test;'
# fix ipv6 issue that prevented composer requests and resulted in failing builds
- sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"
# updates composer on travis
- travis_retry composer self-update
# clear composer cache, might speed up finding new tags
- travis_retry composer clear-cache
# set the global github token, so connections won't be cancelled
- composer config -g github-oauth.github.com $GITHUB_TOKEN
- composer install --prefer-source --no-interaction
- php artisan migrate:install
- php artisan migrate:refresh --seed
script: phpunit
notifications:
on_success: never
on_failure: always```
Update PHP version for Travis CI | ```yaml
language: php
sudo: true
php:
- 7.1
before_script:
- mysql -e 'create database homestead_test;'
# fix ipv6 issue that prevented composer requests and resulted in failing builds
- sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"
# updates composer on travis
- travis_retry composer self-update
# clear composer cache, might speed up finding new tags
- travis_retry composer clear-cache
# set the global github token, so connections won't be cancelled
- composer config -g github-oauth.github.com $GITHUB_TOKEN
- composer install --prefer-source --no-interaction
- php artisan migrate:install
- php artisan migrate:refresh --seed
script: phpunit
notifications:
on_success: never
on_failure: always
``` |
40cee557-5fbf-489a-8842-3eb696e0ded0 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
env:
- DOCKER_COMPOSE_VERSION=1.24.0
install: mvn install -B
before_script:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose up -d
- sleep 200
script:
- cd int-tests
- mvn test -B
after_failure:
- docker-compose logs
after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
docker push nels/trackfind:latest;
fi;
if [ -n "$TRAVIS_TAG" ]; then
docker tag nels/trackfind:latest nels/trackfind:$TRAVIS_TAG;
docker push nels/trackfind:$TRAVIS_TAG;
fi
```
Add "dist: trusty" to fix Travis issues | ```yaml
dist: trusty
language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
env:
- DOCKER_COMPOSE_VERSION=1.24.0
install: mvn install -B
before_script:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose up -d
- sleep 200
script:
- cd int-tests
- mvn test -B
after_failure:
- docker-compose logs
after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
docker push nels/trackfind:latest;
fi;
if [ -n "$TRAVIS_TAG" ]; then
docker tag nels/trackfind:latest nels/trackfind:$TRAVIS_TAG;
docker push nels/trackfind:$TRAVIS_TAG;
fi
``` |
c5d8288d-56bb-4863-922f-8c20c4d7554d | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- '4.2'
before_script:
- npm install -g grunt-cli
env:
global:
secure: aOSQkEeIGiLNcMucvVJF4mBpukVkDM0+UbiuX1dunk8tPQbfKlNEACyEZneMAYCDTJBT2wlujKVEIKMzaBsrUKRKPYZ5vi77X/DrowW+3pGF0r2AdYxJKNO3FEHxzCSYaVxusDtMT0ohsDBLwyPxjll8zu9PPfcUe6EIb+AWemQ=
deploy:
provider: npm
email: jononor@gmail.com
skip_cleanup: true
api_key:
secure: FjHI+CEzM1CqgynAdIZtd1XPpDEUOplHWOpKRa4epZxm6UK5x5uU1qN8BjntaRdpQyMHF8uhpf8VufWZFPiErymEz/kKa7IURQyL2rESaA39oB/xkXiNAxrxdIYgyM+vE3IgFXY1kaSYXqTXqdUHyb7mG9a2P8lwtSeAtQC0vzk=
on:
tags: true
repo: the-grid/apidocs
after_deploy:
- grunt gh-pages
```
Use 0.12 instead of 4.2 | ```yaml
language: node_js
node_js:
- '0.12'
before_script:
- npm install -g grunt-cli
env:
global:
secure: aOSQkEeIGiLNcMucvVJF4mBpukVkDM0+UbiuX1dunk8tPQbfKlNEACyEZneMAYCDTJBT2wlujKVEIKMzaBsrUKRKPYZ5vi77X/DrowW+3pGF0r2AdYxJKNO3FEHxzCSYaVxusDtMT0ohsDBLwyPxjll8zu9PPfcUe6EIb+AWemQ=
deploy:
provider: npm
email: jononor@gmail.com
skip_cleanup: true
api_key:
secure: FjHI+CEzM1CqgynAdIZtd1XPpDEUOplHWOpKRa4epZxm6UK5x5uU1qN8BjntaRdpQyMHF8uhpf8VufWZFPiErymEz/kKa7IURQyL2rESaA39oB/xkXiNAxrxdIYgyM+vE3IgFXY1kaSYXqTXqdUHyb7mG9a2P8lwtSeAtQC0vzk=
on:
tags: true
repo: the-grid/apidocs
after_deploy:
- grunt gh-pages
``` |
6bb0827f-e72e-465c-aa07-87bf0c516516 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "6"
- "8"
- "10"
- "11"
```
Add node 12, 13 to test coverage matrix | ```yaml
language: node_js
node_js:
- "6"
- "8"
- "10"
- "12"
- "13"
``` |
7b229008-0066-4e21-a1f8-e0aa259780fd | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
cache:
apt: true
# TODO local node modules path correct?
directories:
- $HOME/.pip-cache/
- $HOME/.tox
- /home/travis/virtualenv/python2.7
install:
- echo 'Running installation in directory $PWD'
- # Python
- pip install -r dev-requirements.txt --download-cache $HOME/.pip-cache --use-mirrors
- echo "Installed Python packages:"
- pip freeze
script:
- tox
- # Documentation
# - make doc
after_succes:
coveralls
```
Use new pip parameter name | ```yaml
language: python
python:
- "2.7"
cache:
apt: true
# TODO local node modules path correct?
directories:
- $HOME/.pip-cache/
- $HOME/.tox
- /home/travis/virtualenv/python2.7
install:
- echo 'Running installation in directory $PWD'
- # Python
- pip install -r dev-requirements.txt --cache-dir $HOME/.pip-cache --use-mirrors
- echo "Installed Python packages:"
- pip freeze
script:
- tox
- # Documentation
# - make doc
after_succes:
coveralls
``` |
f323dd13-6241-44ac-9a26-026929cc349e | {
"language": "YAML"
} | ```yaml
language: node_js
sudo: false
node_js:
- '0.10'
- '0.12'
- 'iojs'
before_install:
- "mkdir -p ~/.npm"
before_script:
- npm install -g grunt-cli istanbul codeclimate-test-reporter
script:
- grunt lint
- istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -R spec
- CODECLIMATE_REPO_TOKEN=cdedf6138cfcd8a16492f5180f36a32789247baada76a55615a252fb04e916d5 codeclimate-test-reporter < coverage/lcov.info
```
Update Travis build to include most recent version of Node | ```yaml
language: node_js
sudo: false
node_js:
- '0.10'
- '0.12'
- '4.0'
- '4.1'
- '5.0'
before_install:
- "mkdir -p ~/.npm"
before_script:
- npm install -g grunt-cli istanbul codeclimate-test-reporter
script:
- grunt lint
- istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -R spec
- CODECLIMATE_REPO_TOKEN=cdedf6138cfcd8a16492f5180f36a32789247baada76a55615a252fb04e916d5 codeclimate-test-reporter < coverage/lcov.info
``` |
b3312ed3-acf5-4bf2-b187-9655cda0536b | {
"language": "YAML"
} | ```yaml
---
language: python
python: "2.7"
env:
- ANSIBLE_VERSION=1.9.2
install:
# Install Ansible.
- pip install ansible==$ANSIBLE_VERSION
# Add ansible.cfg to pick up roles path.
- printf "[defaults]\nroles_path=./" > ansible.cfg
script:
# TODO: once travis-ci includes an option to use CentOS, run the playbook for real.
# Check the role/playbook's syntax.
- ansible-playbook .tests/test.yaml -i .tests/inventory --syntax-check
notifications:
irc:
channels:
- "chat.freenode.net##phatypus"
template:
- "(%{repository_name}) %{build_number}: %{branch}@%{commit} %{author} -> %{message} %{build_url}"
use_notice: true
```
Update the version of ansible used to test. | ```yaml
---
language: python
python: "2.7"
env:
- ANSIBLE_VERSION=2.1.2.0
install:
# Install Ansible.
- pip install ansible==$ANSIBLE_VERSION
# Add ansible.cfg to pick up roles path.
- printf "[defaults]\nroles_path=./" > ansible.cfg
script:
# TODO: once travis-ci includes an option to use CentOS, run the playbook for real.
# Check the role/playbook's syntax.
- ansible-playbook .tests/test.yaml -i .tests/inventory --syntax-check
notifications:
irc:
channels:
- "chat.freenode.net##phatypus"
template:
- "(%{repository_name}) %{build_number}: %{branch}@%{commit} %{author} -> %{message} %{build_url}"
use_notice: true
``` |
ff78e2ae-202b-4f4f-964a-2a5a2dc9ad12 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.7
- 3.4
script:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then python -m unittest discover; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python -m unittest discover; fi```
Add install instructions to Travis | ```yaml
language: python
python:
- 2.7
- 3.4
install:
- python setup.py install
script:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then python -m unittest discover; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python -m unittest discover; fi``` |
5a82f649-1917-49c6-ae18-4437d832769c | {
"language": "YAML"
} | ```yaml
language: ruby
sudo: required
before_install:
- sudo apt-get update
- sudo apt-get install cups wicd
- apt-cache search wicd
script: bundle exec make
```
Revert "Install & search wicd to check for wicd-cli" | ```yaml
language: ruby
sudo: required
before_install:
- sudo apt-get update
- sudo apt-get install cups
script: bundle exec make
``` |
adb46acb-eb9f-44ce-98af-6de415ee6e80 | {
"language": "YAML"
} | ```yaml
language: objective-c
osx_image: xcode9
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- PROJECT=OAuthSwift.xcodeproj
- IOS_FRAMEWORK_SCHEME="OAuthSwift"
- MACOS_FRAMEWORK_SCHEME="OAuthSwiftOSX"
- IOS_SDK=iphonesimulator10.0
- MACOS_SDK=macosx10.12
matrix:
- DESTINATION="OS=10.0,name=iPhone 8" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK"
- DESTINATION="arch=x86_64" SCHEME="$MACOS_FRAMEWORK_SCHEME" SDK="$MACOS_SDK"
before_install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty;
branches:
only:
- master
```
Switch CI to iOS 11 | ```yaml
language: objective-c
osx_image: xcode9
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- PROJECT=OAuthSwift.xcodeproj
- IOS_FRAMEWORK_SCHEME="OAuthSwift"
- MACOS_FRAMEWORK_SCHEME="OAuthSwiftOSX"
- IOS_SDK=iphonesimulator11.0
- MACOS_SDK=macosx10.12
matrix:
- DESTINATION="OS=11.0,name=iPhone 8" SCHEME="$IOS_FRAMEWORK_SCHEME" SDK="$IOS_SDK"
- DESTINATION="arch=x86_64" SCHEME="$MACOS_FRAMEWORK_SCHEME" SDK="$MACOS_SDK"
before_install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty;
branches:
only:
- master
``` |
318bd1f0-5a00-4c49-a2ca-7233b06d0ee6 | {
"language": "YAML"
} | ```yaml
language: android
android:
components:
- build-tools-23.0.3
- android-23
- extra-android-m2repository
- sys-img-armeabi-v7a-android-16
licenses:
- 'android-sdk-license-.+'
before_script:
- echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
```
Fix build tools 23.0.3 is not found. | ```yaml
language: android
android:
components:
- platform-tools
- tools
- build-tools-23.0.3
- android-23
- extra-android-m2repository
- sys-img-armeabi-v7a-android-16
licenses:
- 'android-sdk-license-.+'
before_script:
- echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
``` |
bdbcd924-f6f4-4582-a80e-ea2672d0ce9e | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
```
Remove Io.js from test targets | ```yaml
language: node_js
node_js:
- "0.10"
- "0.12"
``` |
a7fa8b7b-24d6-434b-87a9-34bb1fa633b8 | {
"language": "YAML"
} | ```yaml
---
#####################
# Install Python
#####################
- hosts: all
gather_facts: false # As Python is not yet installed, we cannot gather host facts
tasks:
- name: Install Python
raw: "apt-get -y -q install python"
become: true
#######################
# Setup K8s components
#######################
- hosts: etcd
roles:
- common
- etcd
- hosts: controller
roles:
- common
- controller
- hosts: worker
roles:
- common
- worker
```
Add retry to install python, in case the playbook is run immediately after Terraform, when sshd is not yet ready to respond | ```yaml
---
#####################
# Install Python
#####################
- hosts: all
gather_facts: false # As Python is not yet installed, we cannot gather host facts
tasks:
- name: Install Python
raw: "apt-get -y -q install python"
become: true
retries: 10
delay: 20
# If you run this playbook immediately after Terraform, ssh may not be ready to respond yet
#######################
# Setup K8s components
#######################
- hosts: etcd
roles:
- common
- etcd
- hosts: controller
roles:
- common
- controller
- hosts: worker
roles:
- common
- worker
``` |
817366ec-1efd-44fe-b015-5c2d19c10a7c | {
"language": "YAML"
} | ```yaml
sudo: required
language: go
go: 1.9.x
services:
- docker
before_install:
- rvm install 2.4.2
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt update
- sudo apt -y install docker-ce
- docker --version
- docker pull wpscanteam/vulnerablewordpress
- git clone https://github.com/wpscanteam/wpscan.git
- cd wpscan
- gem install bundler
- bundle install --without test
- sudo ln -s $(pwd)/wpscan.rb /usr/local/bin/wpscan
- cd ..
install:
- make setup
- make install
script:
- make test
- docker ps | awk '{ print $13 }' | grep -o -P "(.*:\d+)" > vuln_targets.txt
- docker ps -a
- cat vuln_targets.txt
- ./mass-wpscan -i vuln_targets.txt -p "-r --batch -e vt,tt,u,vp" -o output.txt
after_success:
- bash <(curl -s https://codecov.io/bash)
```
Add sleep command to attempt to resolve the issue with vuln wp containers | ```yaml
sudo: required
language: go
go: 1.9.x
services:
- docker
before_install:
- rvm install 2.4.2
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt update
- sudo apt -y install docker-ce
- docker --version
- docker pull wpscanteam/vulnerablewordpress
- git clone https://github.com/wpscanteam/wpscan.git
- cd wpscan
- gem install bundler
- bundle install --without test
- sudo ln -s $(pwd)/wpscan.rb /usr/local/bin/wpscan
- cd ..
install:
- make setup
- make install
script:
- make test
- docker ps | awk '{ print $13 }' | grep -o -P "(.*:\d+)" > vuln_targets.txt
- docker ps -a
- sleep 15
- cat vuln_targets.txt
- ./mass-wpscan -i vuln_targets.txt -p "-r --batch -e vt,tt,u,vp" -o output.txt
after_success:
- bash <(curl -s https://codecov.io/bash)
``` |
058b22d4-6c0b-4f61-b1a7-40f51b23b720 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 1.9.2
- ruby-head
env:
- "CHEF_VERSION=11.4.0"
- "CHEF_VERSION=10.24.0"
- "CHEF_VERSION=0.10.10"
- "CHEF_VERSION=0.9.18"
- "CHEF_VERSION=0.8.16"
- "CHEF_VERSION=0.7.16"
matrix:
allow_failures:
- rvm: ruby-head
```
Revert "How far in Chef versions can we go?" | ```yaml
language: ruby
rvm:
- 1.9.3
- 1.9.2
- ruby-head
env:
- "CHEF_VERSION=11.4.0"
- "CHEF_VERSION=10.24.0"
- "CHEF_VERSION=0.10.10"
- "CHEF_VERSION=0.9.18"
matrix:
allow_failures:
- rvm: ruby-head
``` |
3921f595-6dea-47e1-a56d-920ed8edbab9 | {
"language": "YAML"
} | ```yaml
fullnameOverride: "web"
replicaCount: 3
service:
port: 3000
containers:
- name: web
image: cyberdojo/web
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi
#livenessProbe:
# path: /alive?
# port: 3000
#readinessProbe:
# path: /ready?
# port: 3000
envFromSecret: {}
nodeSelector: {}
affinity: {}
tolerations: []
```
Add explicit k8s securityContext entries | ```yaml
fullnameOverride: "web"
replicaCount: 3
service:
port: 3000
containers:
- name: web
image: cyberdojo/web
securityContext:
runAsUser: 65534 # nobody
fsGroup: 65534 # nobody
allowPrivilegeEscalation: false
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi
#livenessProbe:
# path: /alive?
# port: 3000
#readinessProbe:
# path: /ready?
# port: 3000
envFromSecret: {}
nodeSelector: {}
affinity: {}
tolerations: []
``` |
305e573b-75c2-4baf-92ac-588cb6356183 | {
"language": "YAML"
} | ```yaml
---
sudo: false
before_script:
- git clone https://github.com/exercism/problem-specifications.git
- bin/fetch-configlet
- docker pull rakudo-star:latest
script:
- bin/configlet lint .
- docker run -e EXERCISM=1 -t -v $PWD:/exercism rakudo-star prove /exercism -re perl6
```
Use parallel jobs with prove | ```yaml
---
sudo: false
before_script:
- git clone https://github.com/exercism/problem-specifications.git
- bin/fetch-configlet
- docker pull rakudo-star:latest
script:
- bin/configlet lint .
- docker run
--env EXERCISM=1
--volume $PWD:/exercism
rakudo-star prove /exercism
--exec perl6
--recurse
--jobs 2
``` |
b9e57da7-582f-4464-88af-c14bba87efc4 | {
"language": "YAML"
} | ```yaml
language: go
os:
- linux
- osx
go:
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- tip
notifications:
email:
on_success: change
on_failure: always
```
Test Go 1.8 with Travis | ```yaml
language: go
os:
- linux
- osx
go:
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- tip
notifications:
email:
on_success: change
on_failure: always
``` |
ef3bb0c3-4dff-4055-8163-df5fc824723a | {
"language": "YAML"
} | ```yaml
sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
env: UNIT_AND_LINT=1
```
Test Debian 8/9 and Ubuntu 18.04 in Travis | ```yaml
sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-debian-8
- INSTANCE=default-debian-9
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604
- INSTANCE=default-ubuntu-1804
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
env: UNIT_AND_LINT=1
``` |
8119c5cf-6aff-4176-a6fc-fe48e3f0e808 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
```
Allow ruby-head to fail (at least until Travis fixes it) | ```yaml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
``` |
bc5f0b46-3d8b-4dc9-b3c6-b3ac88d2c600 | {
"language": "YAML"
} | ```yaml
language: python
sudo: required
branches:
only:
- master
services:
- docker
install:
- docker pull jvarho/pylibscrypt
script:
- docker run -v ${PWD}:/app jvarho/pylibscrypt
```
Add coveralls integration now that all implementations are tested | ```yaml
language: python
sudo: required
branches:
only:
- master
services:
- docker
install:
- docker pull jvarho/pylibscrypt
- pip install coveralls
script:
- docker run -v ${PWD}:/app jvarho/pylibscrypt
after_success:
- sed -i "s@/app@$TRAVIS_BUILD_DIR@g" .coverage
- coveralls
``` |
2d9af43a-5d6e-4abf-bbca-270e716c0b70 | {
"language": "YAML"
} | ```yaml
name: Build and publish to ECR
on:
workflow_dispatch:
branches:
- main
push:
branches:
- main
paths-ignore:
- "Jenkinsfile"
- ".git**"
jobs:
build-publish-image-to-ecr:
uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main
secrets:
AWS_GOVUK_ECR_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_ECR_ACCESS_KEY_ID }}
AWS_GOVUK_ECR_SECRET_ACCESS_KEY: ${{ secrets.AWS_GOVUK_ECR_SECRET_ACCESS_KEY }}
```
Update CI workflow to trigger deploy to integration | ```yaml
name: CI
on:
workflow_dispatch:
branches:
- main
push:
branches:
- main
paths-ignore:
- "Jenkinsfile"
- ".git**"
jobs:
build-and-publish-image:
name: Build and publish image
uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main
secrets:
AWS_GOVUK_ECR_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_ECR_ACCESS_KEY_ID }}
AWS_GOVUK_ECR_SECRET_ACCESS_KEY: ${{ secrets.AWS_GOVUK_ECR_SECRET_ACCESS_KEY }}
trigger-deploy-to-integration:
name: Trigger deploy to integration
needs: build-and-publish-image
uses: alphagov/govuk-infrastructure/.github/workflows/deploy.yaml@main
secrets:
GOVUK_CI_GITHUB_API_TOKEN: ${{ secrets.GOVUK_CI_GITHUB_API_TOKEN }}
``` |
2cd1858c-38c4-42b2-9884-411877203d29 | {
"language": "YAML"
} | ```yaml
name: Tests
on:
- push
- pull_request
env:
GOPATH: ${{ github.workspace }}/go
jobs:
test-and-verify:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- uses: actions/checkout@v2
with:
path: ${{ env.GOPATH }}/src/k8s.io/autoscaler
- name: Apt-get
run: sudo apt-get install libseccomp-dev -qq
- name: Prepare
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler
run: hack/install-verify-tools.sh
env:
GO111MODULE: auto
- name: Verify
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler
run: hack/verify-all.sh -v
env:
GO111MODULE: auto
- name: Test
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler
run: hack/for-go-proj.sh test
env:
GO111MODULE: auto
```
Update github unittest checks to use go1.17 | ```yaml
name: Tests
on:
- push
- pull_request
env:
GOPATH: ${{ github.workspace }}/go
jobs:
test-and-verify:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.5
- uses: actions/checkout@v2
with:
path: ${{ env.GOPATH }}/src/k8s.io/autoscaler
- name: Apt-get
run: sudo apt-get install libseccomp-dev -qq
- name: Prepare
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler
run: hack/install-verify-tools.sh
env:
GO111MODULE: auto
- name: Verify
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler
run: hack/verify-all.sh -v
env:
GO111MODULE: auto
- name: Test
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler
run: hack/for-go-proj.sh test
env:
GO111MODULE: auto
``` |
78bfb89d-2dea-43fe-9915-2307594dce3a | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 7
- 8
cache:
directories:
- node_modules
- public/components
before_install:
- npm i -g bower codecov istanbul
install:
- yarn
- bower install
script:
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
- codecov
- yarn run posttest
notifications:
slack:
rooms:
- araytek:B8Xevy6shC51ftn3tBiZR8fw
on_success: change
on_failure: always```
Update config of Travis CI | ```yaml
language: node_js
node_js:
- 6
- 7
- 8
cache:
directories:
- node_modules
- public/components
before_install:
- npm i -g bower codecov istanbul
install:
- yarn
- bower install
script:
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
- codecov
- yarn run posttest
notifications:
slack:
rooms:
- araytek:B8Xevy6shC51ftn3tBiZR8fw
on_success: change
on_failure: always``` |
ca06cf48-3053-4ced-9abd-79c0890b0fea | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
before_install:
- pip install codecov
- pip install pytest-cov
install:
- "pip install -r requirements.txt"
script:
- "py.test -v --cov"
after_success:
- codecov
```
Add pep8 check with py.test | ```yaml
language: python
python:
- "2.6"
- "2.7"
before_install:
- pip install codecov
- pip install pytest-cov
- pip install pytest-pep8
install:
- "pip install -r requirements.txt"
script:
- "py.test -v --cov --pep8"
after_success:
- codecov
``` |
6df80471-7e54-4ad2-9382-37ef4ebbcf1d | {
"language": "YAML"
} | ```yaml
language: java
sudo: false
dist: trusty
addons:
apt:
packages:
- oracle-java8-installer # Travis is running v8u31 which exposes problems with instrumentation of invokedynamic call sites.
- oracle-java9-installer # JDK 9 is not currently installed by default.
branches:
only:
- master
matrix:
include:
- jdk: openjdk6
- jdk: oraclejdk7
env: TARGET=-Pjava7 -Pintegration
- jdk: oraclejdk8
env: TARGET=-Pjava8 -Pintegration
- jdk: oraclejdk9
env: TARGET=-Pjava9 # Findbugs cannot currently process Java 9
install: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script: ./mvnw jacoco:prepare-agent verify jacoco:report $TARGET -Dnet.bytebuddy.test.travis=true -B -V
after_success:
- ./mvnw coveralls:report
```
Remove Java 9 build for now. | ```yaml
language: java
sudo: false
branches:
only:
- master
matrix:
include:
- jdk: openjdk6
- jdk: oraclejdk7
env: TARGET=-Pjava7 -Pintegration
- jdk: oraclejdk8
env: TARGET=-Pjava8 -Pintegration
#- jdk: oraclejdk9
# env: TARGET=-Pjava9 # Findbugs cannot currently process Java 9
install: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script: ./mvnw jacoco:prepare-agent verify jacoco:report $TARGET -Dnet.bytebuddy.test.travis=true -B -V
after_success:
- ./mvnw coveralls:report
``` |
5c5b68c2-6685-4183-a77c-476fa0869a4f | {
"language": "YAML"
} | ```yaml
---
language: node_js
node_js:
- "6"
sudo: false
dist: trusty
addons:
chrome: stable
cache:
yarn: true
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1
matrix:
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-default
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn global add greenkeeper-lockfile@1
install:
- yarn install --no-lockfile --non-interactive
before_script: greenkeeper-lockfile-update
script:
- yarn lint:js
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO --skip-cleanup
after_script: greenkeeper-lockfile-upload
```
Allow ember-beta to fail tests | ```yaml
---
language: node_js
node_js:
- "6"
sudo: false
dist: trusty
addons:
chrome: stable
cache:
yarn: true
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1
matrix:
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-default
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-beta
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn global add greenkeeper-lockfile@1
install:
- yarn install --no-lockfile --non-interactive
before_script: greenkeeper-lockfile-update
script:
- yarn lint:js
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO --skip-cleanup
after_script: greenkeeper-lockfile-upload
``` |
6c0f8266-6470-4bb5-a69a-c234749aab59 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer install -n --dev --prefer-source
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
```
Add PHP 7.1 to the automated tests. | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer install -n --dev --prefer-source
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
``` |
9d8cf04a-6f1a-4f0d-b927-ecbad12ed2a1 | {
"language": "YAML"
} | ```yaml
dist: trusty
language: python
python: 2.7
cache:
- apt
- pip
- directories:
- ~/ediscovery-files
# These files are huge!
before_cache:
- rm -rf ~/ediscovery-files/.git
- rm -rf ~/ediscovery-files/assets/scale/randomTextDataZip
addons:
apt:
sources:
- sourceline: 'ppa:libreoffice/ppa'
packages:
- libtesseract-dev
- tesseract-ocr-eng
- imagemagick
- poppler-utils
- libreoffice
- unoconv
before_install:
- curl https://raw.githubusercontent.com/dagwieers/unoconv/master/unoconv -o ~/unoconv && chmod +x ~/unoconv
- eval $UNOCONV_BIN -vvv -l &
- test -d ~/ediscovery-files/assets || git clone --depth=1 https://gitlab.com/dzmitry-lahoda/ediscovery-files.git ~/ediscovery-files
env:
global:
- EXTRA_FIXTURES_PATH=~/ediscovery-files/assets
- UNOCONV_BIN="/usr/bin/python3 $HOME/unoconv -s 0.0.0.0 -p 102002 -vvv"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements_dev.txt
# command to run tests, e.g. python setup.py test
script: make lint test
```
Make sure pip and Co. are up-to-date. | ```yaml
dist: trusty
language: python
python: 2.7
cache:
- apt
- pip
- directories:
- ~/ediscovery-files
# These files are huge!
before_cache:
- rm -rf ~/ediscovery-files/.git
- rm -rf ~/ediscovery-files/assets/scale/randomTextDataZip
addons:
apt:
sources:
- sourceline: 'ppa:libreoffice/ppa'
packages:
- libtesseract-dev
- tesseract-ocr-eng
- imagemagick
- poppler-utils
- libreoffice
- unoconv
before_install:
- pip install -U pip setuptools
- curl https://raw.githubusercontent.com/dagwieers/unoconv/master/unoconv -o ~/unoconv && chmod +x ~/unoconv
- eval $UNOCONV_BIN -vvv -l &
- test -d ~/ediscovery-files/assets || git clone --depth=1 https://gitlab.com/dzmitry-lahoda/ediscovery-files.git ~/ediscovery-files
env:
global:
- EXTRA_FIXTURES_PATH=~/ediscovery-files/assets
- UNOCONV_BIN="/usr/bin/python3 $HOME/unoconv -s 0.0.0.0 -p 102002 -vvv"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements_dev.txt
# command to run tests, e.g. python setup.py test
script: make lint test
``` |
78a39fd0-9859-4052-b665-3bf24a76cec4 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- v7
- v6
after_script:
- 'npm run coveralls'
```
Test with Node 8 on Travis | ```yaml
language: node_js
node_js:
- v8
- v7
- v6
after_script:
- 'npm run coveralls'
``` |
d1d5f1eb-c298-4d9f-82c3-ed276461d259 | {
"language": "YAML"
} | ```yaml
language: android
jdk:
- oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-25.0.2
- android-25
- extra-android-m2repository
- sys-img-armeabi-v7a-android-18
licenses:
- 'android-sdk-license-.+'
before_script:
- echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
```
Change emulator version to 22. | ```yaml
language: android
jdk:
- oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-25.0.2
- android-25
- extra-android-m2repository
licenses:
- 'android-sdk-license-.+'
before_script:
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
``` |
8f230ee5-a6c7-4ad1-86fd-bc5172a55965 | {
"language": "YAML"
} | ```yaml
language: ruby
env:
- ARUBA_TIMEOUT=240
before_install:
- gem update --system
- gem update bundler
- gem cleanup bundler
cache: bundler
rvm:
- 2.1.5
- 2.2.4
- 2.3.0
- jruby-19mode
branches:
only:
- master
install:
- "travis_retry bundle install --jobs 8"
gemfile:
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.1.gemfile
- gemfiles/rails4.2.gemfile
- gemfiles/rails5.0.gemfile
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-19mode
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.1.5
gemfile: gemfiles/rails5.0.gemfile
```
Drop jruby & add modern Rubies to Travis config | ```yaml
language: ruby
env:
- ARUBA_TIMEOUT=240
before_install:
- gem update --system
- gem update bundler
- gem cleanup bundler
cache: bundler
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
branches:
only:
- master
install:
- "bundle install --retry 3 --jobs 8"
gemfile:
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.1.gemfile
- gemfiles/rails4.2.gemfile
- gemfiles/rails5.0.gemfile
matrix:
fast_finish: true
allow_failures:
- rvm: 2.1
gemfile: gemfiles/rails5.0.gemfile
``` |
7f692d2d-c375-4dbd-a01e-bc770633b5e3 | {
"language": "YAML"
} | ```yaml
# Config file for automatic testing at travis-ci.org
language: python
# Use container based infrastructure
sudo: false
python:
- 2.6
- 2.7
- 3.3
- 3.4
env:
matrix:
- DJANGO=1.4 CMD=./test
- DJANGO=1.5 CMD=./test
- DJANGO=1.6 CMD=./test
- DJANGO=1.7 CMD=./test
matrix:
allow_failures:
- python: 3.3
- python: 3.4
- env: CMD="flake8 aldryn_newsblog"
exclude:
- python: 2.6
env: DJANGO=1.7 CMS=./test
fast_finish: true
include:
- python: 2.7
env: DJANGO=1.7 CMD="flake8 aldryn_newsblog"
cache:
directories:
- $HOME/.wheelhouse
install:
- pip install -q -r "test_requirements/django-$DJANGO.txt"
script: coverage run test_settings.py
after_success: coveralls
```
Remove testing for Django 1.5, 1.5 | ```yaml
# Config file for automatic testing at travis-ci.org
language: python
# Use container based infrastructure
sudo: false
python:
- 2.6
- 2.7
- 3.3
- 3.4
env:
matrix:
- DJANGO=1.6 CMD=./test
- DJANGO=1.7 CMD=./test
matrix:
allow_failures:
- python: 3.3
- python: 3.4
- env: CMD="flake8 aldryn_newsblog"
exclude:
- python: 2.6
env: DJANGO=1.7 CMD=./test
fast_finish: true
include:
- python: 2.7
env: DJANGO=1.7 CMD="flake8 aldryn_newsblog"
cache:
directories:
- $HOME/.wheelhouse
install:
- pip install -q -r "test_requirements/django-$DJANGO.txt"
script: coverage run test_settings.py
after_success: coveralls
``` |
b049845e-4935-4833-a36a-2569f2410720 | {
"language": "YAML"
} | ```yaml
language: objective-c
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- brew update
- brew uninstall xctool && brew install xctool
install:
- pushd objc/VotingInformationProject && pod install
- cp VotingInformationProject/CivicAPIKey.plist.template VotingInformationProject/CivicAPIKey.plist
- cp VotingInformationProject/settings.plist.template VotingInformationProject/settings.plist
script:
- xctool -workspace VotingInformationProject.xcworkspace -scheme VotingInformationProject -configuration Debug -sdk iphonesimulator -arch i386 test
- popd
- ./scripts/ci/check_copyright.sh
```
Update xctool args to clean+build+test | ```yaml
language: objective-c
before_install:
# Cocoapods expects UTF-8 terminal and throws warning
- export LANG=en_US.UTF-8
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- brew update
# Faster than uninstall + install
- brew upgrade xctool
install:
- pushd objc/VotingInformationProject && pod install
- cp VotingInformationProject/CivicAPIKey.plist.template VotingInformationProject/CivicAPIKey.plist
- cp VotingInformationProject/settings.plist.template VotingInformationProject/settings.plist
script:
- xctool -workspace VotingInformationProject.xcworkspace -scheme VotingInformationProject -configuration Debug -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO clean build test
- popd
- ./scripts/ci/check_copyright.sh
``` |
b35f9424-4490-47b3-8727-0e5171d0ed86 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.6
```
Update ruby versions for Travis CI | ```yaml
language: ruby
rvm:
- 2.3.0
- 2.2.4
- 2.1.8
``` |
c3d1d930-8945-48d8-8b71-4cb4321d0163 | {
"language": "YAML"
} | ```yaml
language: python
python:
- '2.7'
- '3.3'
- '3.4'
env:
global:
- DB=postgres
matrix:
- DJANGO=1.6.5
install:
- pip install -q coveralls coverage flake8 Django==$DJANGO
before_script:
- psql -c 'CREATE DATABASE {{ project_name }};' -U postgres
script:
- flake8 .
- coverage run setup.py test
- coverage report --fail-under=100
after_success:
coveralls
```
Build docs as part of CI | ```yaml
language: python
python:
- '2.7'
- '3.3'
- '3.4'
env:
global:
- DB=postgres
matrix:
- DJANGO=1.6.5
install:
- pip install -q coveralls coverage flake8 Django==$DJANGO
- pip install -r requirements/docs.txt
before_script:
- psql -c 'CREATE DATABASE {{ project_name }};' -U postgres
script:
- flake8 .
- coverage run setup.py test
- coverage report --fail-under=100
- python setup.py install
- cd docs && make html
after_success:
coveralls
``` |
0e368297-0ca3-416b-adb0-6cee87873407 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.11"
notifications:
email: false
```
Automate npm deployments on tags | ```yaml
language: node_js
node_js:
- '0.11'
notifications:
email: false
deploy:
provider: npm
email: wayne.graham@virginia.edu
api_key:
secure: EqXvpuo2H5o4GnS/UbeweWwGe6D3XVAfKxkA2mET1dL9UhuTH15gB2mPVbqkzbxrWceD0qPpmvcLnLmuPJXTTCjJtEVFPvoN3gagj47N3gdccaWkzWQFtihyex6WSw7g+1CxHmZbZfzf4KuMv58RPkCyk7U3O4fNwejw4oS/rUmpos8SOLWqp3FMPVES5sIaI5iM0cxuj2mTUAqAzy2ooWsPQPV0TmFVbhXtzNCNKjLmflBMsmL8l+VIgbImTPDnFHS0ihWTCCUraHd33lEQT9nGnXw0on+0JSYJ6zAIplBsn3pBzZuUP1yLNMK+nKnkbsyDoLmivVN6xvpfOK/dsCIWoDwh0tLzqvNxMAkvkfpDrYjjbwYtqLpfk6HT7gBq01gkyHVuhl0w0N/qQF3CHCFVSRtPMvVCaWyW1WfKqTzv9I+0UU6si0iJ6cCj3jR8w2qzEE/GJS/gkPnjqMvzZJ62DFa8WIyRP1w6idLOrLabXhRNssFybzUbVoxkRxN5u9+51diT/2923FKTRTrEou95l8FzSvVLHOvx9gvrYiwZ7ms6dtvL3m/acbBU1w3DJ2kcXtb44F1oFQrJSrfuTc0jZizeGrJrBmWbjkJ9BdCjPe9BkW4/B0+pxkD7iDFyQ94w715tepDA/deJ2bCcqKBXN+j3KCJDhI4npVojFQY=
on:
tags: true
repo: waynegraham/hubot-memes
``` |
fc8fa644-1931-493a-b452-d04598d89df6 | {
"language": "YAML"
} | ```yaml
language: python
python: "2.7"
script:
- "python setup.py test"
after_script:
- sudo apt-get update -qq
- sudo apt-get install -yy ansible
- config/deploy
notifications:
irc: "irc.freenode.org#takeyourmeds"
```
Put these earlier - for caching? | ```yaml
language: python
python: "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y ansible
script:
- "python setup.py test"
after_script:
- config/deploy
notifications:
irc: "irc.freenode.org#takeyourmeds"
``` |
62b40d85-5471-483c-839d-99296c29023a | {
"language": "YAML"
} | ```yaml
rvm:
- 1.9.3
- jruby
before_script:
- "pushd ruby && gem install bundler && bundle && popd"
script: "make travis"
notifications:
email:
- cukes-devs@googlegroups.com
irc:
- "irc.freenode.org#cucumber"
```
Build issue and fix branches | ```yaml
rvm:
- 1.9.3
- jruby
before_script:
- "pushd ruby && gem install bundler && bundle && popd"
script: "make travis"
branches:
only:
- master
- /^issue.*$/
- /^fix.*$/
notifications:
email:
- cukes-devs@googlegroups.com
irc:
- "irc.freenode.org#cucumber"
``` |
dd008582-6bd3-42fb-8f43-bbef660fb49d | {
"language": "YAML"
} | ```yaml
language: php
sudo: false
php:
- 7.1
- 7.2
env:
global:
- coverage=no
matrix:
- setup=basic
- setup=lowest
- setup=stable
before_script:
- travis_retry composer self-update
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "php-coveralls/php-coveralls=^2.1" --prefer-dist --no-interaction --dev; fi
script:
- if [[ $coverage = 'yes' ]]; then vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
- if [[ $coverage = 'no' ]]; then vendor/bin/phpunit -c phpunit.xml --testdox --verbose; fi
after_script:
- if [[ $setup = 'coveralls' ]]; then php vendor/bin/php-coveralls -v; fi
matrix:
include:
- php: 7.1
env: setup=coveralls coverage=yes
allow_failures:
- env: setup=coveralls coverage=yes
fast_finish: true
```
Update test to run against php 7.3 and nightly | ```yaml
language: php
sudo: false
php:
- 7.1
- 7.2
- 7.3
- nightly
env:
global:
- coverage=no
matrix:
- setup=basic
- setup=lowest
- setup=stable
before_script:
- travis_retry composer self-update
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "php-coveralls/php-coveralls=^2.1" --prefer-dist --no-interaction --dev; fi
script:
- if [[ $coverage = 'yes' ]]; then vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
- if [[ $coverage = 'no' ]]; then vendor/bin/phpunit -c phpunit.xml --testdox --verbose; fi
after_script:
- if [[ $setup = 'coveralls' ]]; then php vendor/bin/php-coveralls -v; fi
matrix:
include:
- php: 7.1
env: setup=coveralls coverage=yes
allow_failures:
- env: setup=coveralls coverage=yes
fast_finish: true
``` |
aa3229fc-2e20-4ac8-bebf-1eae5c16d67d | {
"language": "YAML"
} | ```yaml
language: erlang
env:
- LUAROCKS_VERSION="2.1.2"
branches:
only:
- master
install:
- sudo apt-get install npm
- sudo npm update npm -g
- sudo npm config set registry http://registry.npmjs.org/
- sudo npm install -g docco
- sudo apt-get install lua5.2
- sudo apt-get install lua5.2-dev
- wget http://luarocks.org/releases/luarocks-${LUAROCKS_VERSION}.tar.gz
- tar zxvpf luarocks-${LUAROCKS_VERSION}.tar.gz
- cd luarocks-${LUAROCKS_VERSION}
- ./configure --prefix=${HOME} --lua-version=5.2 --with-lua-include="/usr/include/lua5.2"
- make bootstrap
- cd ..
- ${HOME}/bin/luarocks install luassert
- ${HOME}/bin/luarocks install luacov
- ${HOME}/bin/luarocks install luacheck
script: "./bin/make-all"
notifications:
recipients:
- alban.linard@lsv.ens-cachan.fr
email:
on_success: change
on_failure: always
```
Add /home/alinard/bin to path for Travis. | ```yaml
language: erlang
env:
- LUAROCKS_VERSION="2.1.2"
- PATH=${PATH}:${HOME}/bin
branches:
only:
- master
install:
- sudo apt-get install npm
- sudo npm update npm -g
- sudo npm config set registry http://registry.npmjs.org/
- sudo npm install -g docco
- sudo apt-get install lua5.2
- sudo apt-get install lua5.2-dev
- wget http://luarocks.org/releases/luarocks-${LUAROCKS_VERSION}.tar.gz
- tar zxvpf luarocks-${LUAROCKS_VERSION}.tar.gz
- cd luarocks-${LUAROCKS_VERSION}
- ./configure --prefix=${HOME} --lua-version=5.2 --with-lua-include="/usr/include/lua5.2"
- make bootstrap
- cd ..
- ${HOME}/bin/luarocks install luassert
- ${HOME}/bin/luarocks install luacov
- ${HOME}/bin/luarocks install luacheck
script: "./bin/make-all"
notifications:
recipients:
- alban.linard@lsv.ens-cachan.fr
email:
on_success: change
on_failure: always
``` |
f5e35264-ad98-40a0-99ae-1456b7385f32 | {
"language": "YAML"
} | ```yaml
language: c
sudo: false
services:
- docker
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-docker.sh
script: bash ./.travis-docker.sh
env:
global:
- PACKAGE=pkcs11
- DISTRO=debian-stable
matrix:
- OCAML_VERSION=4.02.3
- OCAML_VERSION=4.03.0
- OCAML_VERSION=4.04.0
```
Add a CI job on Alpine | ```yaml
language: c
sudo: false
services:
- docker
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-docker.sh
script: bash ./.travis-docker.sh
env:
global:
- PACKAGE=pkcs11
- DISTRO=debian-stable
matrix:
- OCAML_VERSION=4.02.3
- OCAML_VERSION=4.03.0
- OCAML_VERSION=4.04.0
- OCAML_VERSION=4.03.0 DISTRO=alpine-3.5
``` |
c18e5add-3432-47d6-b159-8e4f6d72bcc6 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- '4'
- '6'
- '8'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls
```
Build with Node.js 10 on Travis CI. | ```yaml
sudo: false
language: node_js
node_js:
- '4'
- '6'
- '8'
- '10'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls
``` |
30cf1a5e-a0b8-4ced-b9c0-55088f6c7d07 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.1.7
- 2.3.1
# User container based travis infrastructure which allows caching
# features for open source projects.
sudo: false
cache:
bundler: true
directories:
- node_modules
env:
- PAGEFLOW_RAILS_VERSION=4.2.6 PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true
services:
- redis-server
before_install:
- nvm install stable
before_script:
- bin/npm install
- bin/npm run build
- bin/rake pageflow:dummy
- bin/rake app:assets:precompile
script:
- bin/rspec
- bin/teaspoon
- bin/npm test
after_success:
- bundle exec publish-pageflow-theme-doc
notifications:
webhooks: https://coveralls.io/webhook?service_name=travis-ci
```
Fix dummy app generation on Travis for Rubygems 2.7 | ```yaml
language: ruby
rvm:
- 2.1.7
- 2.3.1
# User container based travis infrastructure which allows caching
# features for open source projects.
sudo: false
cache:
bundler: true
directories:
- node_modules
env:
- PAGEFLOW_RAILS_VERSION=4.2.6 PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true
services:
- redis-server
before_install:
- nvm install stable
before_script:
- bin/npm install
- bin/npm run build
# We need to use "bundle exec" instead of binstubs until
# https://github.com/rubygems/rubygems/issues/2055 is fixed
- bundle exec rake pageflow:dummy
- bin/rake app:assets:precompile
script:
- bin/rspec
- bin/teaspoon
- bin/npm test
after_success:
- bundle exec publish-pageflow-theme-doc
notifications:
webhooks: https://coveralls.io/webhook?service_name=travis-ci
``` |
d325b963-5096-4dbf-b7ff-4b2d5d0a619c | {
"language": "YAML"
} | ```yaml
language: python
matrix:
include:
- python: 3.3
- python: 3.4
- python: 3.5
- python: 3.5-dev
- python: nightly
allow_failures:
- python: 3.3
fast_finish: true
install: python setup.py install
services: rabbitmq
before_script:
- pushd test_project
- celery -A cosmic_ray.tasks.worker worker &
- popd
script:
- py.test cosmic_ray/test
- cd test_project
- bash run_tests.sh
```
Remove Python 3.3 from test matrix | ```yaml
language: python
matrix:
include:
- python: 3.4
- python: 3.5
- python: 3.5-dev
- python: nightly
fast_finish: true
install: python setup.py install
services: rabbitmq
before_script:
- pushd test_project
- celery -A cosmic_ray.tasks.worker worker &
- popd
script:
- py.test cosmic_ray/test
- cd test_project
- bash run_tests.sh
``` |
ee411afe-f0fc-40ea-ba77-ae56d5cf8046 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "7"
after_success:
- npm install -g codeclimate-test-reporter lcov-result-merger
- lcov-result-merger 'coverage/*.info' coverage.info
- codeclimate-test-reporter < coverage.info
services:
- mongodb
addons:
code_climate:
repo_token: 456ad90bfb6a7127443d64b5100c75db696e939578004596a8adab9c9c15a1e5
chrome: stable
notifications:
slack: momentum-js:6TmOdr6hT41DKexW452oc4L7
```
Remove spec cleanup from Travis-CI build | ```yaml
language: node_js
node_js:
- "7"
script:
- npm run test-client && npm run test-server
after_success:
- npm install -g codeclimate-test-reporter lcov-result-merger
- lcov-result-merger 'coverage/*.info' coverage.info
- codeclimate-test-reporter < coverage.info
services:
- mongodb
addons:
code_climate:
repo_token: 456ad90bfb6a7127443d64b5100c75db696e939578004596a8adab9c9c15a1e5
chrome: stable
notifications:
slack: momentum-js:6TmOdr6hT41DKexW452oc4L7
``` |
28b652b7-c191-4435-b86c-7f6c50dce9d0 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.2
- 1.9.3```
Stop spamming the mailing list :). | ```yaml
language: ruby
rvm:
- 1.9.2
- 1.9.3
notifications:
email:
recipients:
- mwilson@majorleaguegaming.com
``` |
072c8d3b-a9c7-4285-8160-b93a706e46a3 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm update -g npm
- npm install -g bob --loglevel error
script: "bob build"
```
Add coveralls report to CI run. | ```yaml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
``` |
412a5d42-2acf-4cfd-9318-6e5bce769c0c | {
"language": "YAML"
} | ```yaml
# Currently fails on JRuby, partly due to Nokogiri behaving differently,
# and partly for some other reason I'm not sure about regarding
# Hexp::Node::Normalize
language: ruby
script: "bundle exec rspec"
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1
- rbx
- jruby
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: jruby
- rvm: ruby-head
- rvm: jruby-head
```
Allow rbx to fail on Travis | ```yaml
# Currently fails on JRuby, partly due to Nokogiri behaving differently,
# and partly for some other reason I'm not sure about regarding
# Hexp::Node::Normalize
language: ruby
script: "bundle exec rspec"
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- 2.1.2
- 2.1.3
- 2.1
- rbx
- jruby
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: jruby
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx
``` |
c4397c3f-a336-43f1-ae5d-96d0d6630b35 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "pypy"
- "pypy3"
before_install:
# install GCC v4.8 with better C++11 support, required to build Brotli extension
# See: https://github.com/travis-ci/travis-ci/issues/1379
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get install -qq gcc-4.8
- sudo apt-get install -qq g++-4.8
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- g++ --version
install:
# To compile Brotli for pypy3 we also need to link libstdc++.
# See: https://github.com/behdad/fonttools/issues/339
- if [[ $TRAVIS_PYTHON_VERSION == pypy3 ]]; then
pip install --global-option build_ext --global-option --libraries=stdc++ -vr requirements.txt;
else
pip install -vr requirements.txt;
fi
- make install
script:
- make check
notifications:
irc: "irc.freenode.org##fonts"
email: fonttools@googlegroups.com
```
Disable pypy3 until Travis updates it to >= 3.3 | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "pypy"
# - "pypy3" # Disable pypy3 until Travis updates it to >= 3.3
before_install:
# install GCC v4.8 with better C++11 support, required to build Brotli extension
# See: https://github.com/travis-ci/travis-ci/issues/1379
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get install -qq gcc-4.8
- sudo apt-get install -qq g++-4.8
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- g++ --version
install:
# To compile Brotli for pypy3 we also need to link libstdc++.
# See: https://github.com/behdad/fonttools/issues/339
- if [[ $TRAVIS_PYTHON_VERSION == pypy3 ]]; then
pip install --global-option build_ext --global-option --libraries=stdc++ -vr requirements.txt;
else
pip install -vr requirements.txt;
fi
- make install
script:
- make check
notifications:
irc: "irc.freenode.org##fonts"
email: fonttools@googlegroups.com
``` |
5fe016a8-6f50-4368-ab3b-a9c9d754ba1a | {
"language": "YAML"
} | ```yaml
language: perl
services:
- docker
env:
global:
- ES="localhost:9200"
sudo: false
matrix:
fast_finish: true
include:
- perl: dev
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
- perl: 5.30
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
- perl: 5.28
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
- perl: 5.26
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
- perl: 5.24
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
allow_failures:
- perl: dev
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
before_install:
- cpanm LWP::Simple # optional dependency
- ./travis/run_es_docker.sh
- ./travis/checkout_yaml_test.pl
script:
- prove -l t/{1,2,3,4,5,6,9}*/*.t
- prove -l t/Client_$CLIENT_VER/*.t
- ./test/run_yaml_tests.pl
```
Use of dzil test command | ```yaml
language: perl
services:
- docker
env:
global:
- ES="localhost:9200"
sudo: false
matrix:
fast_finish: true
include:
- perl: dev
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
- perl: 5.30
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
- perl: 5.28
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
- perl: 5.26
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
- perl: 5.24
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
allow_failures:
- perl: dev
env: CLIENT_VER="6_0" ES_VERSION="6.0.0"
before_install:
- cpanm Dist::Zilla
- cd ./dist && dzil --authordeps --missing | cpanm && dzil --listdeps --missing | cpanm
- ./travis/run_es_docker.sh
- ./travis/checkout_yaml_test.pl
script:
- cd ./dist-client-6_0 && dzil test --all
- cd ./dist-client-6_0-async && dzil test --all
``` |
e83ad348-bdd6-452e-876e-e7a43b1a3c3b | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- "2.0.0"
- "2.1.0"
addons:
code_climate:
repo_token: "3fa15641f89d7fce5dde29b03abaa3a07225b6f1509b3046cdbf4c64e22619f4"
```
Add coverage for all ruby 2.1.x's | ```yaml
language: ruby
rvm:
- "2.0.0"
- "2.1.0"
- "2.1.1"
- "2.1.2"
- "2.1.3"
- "2.1.4"
- "2.1.5"
addons:
code_climate:
repo_token: "3fa15641f89d7fce5dde29b03abaa3a07225b6f1509b3046cdbf4c64e22619f4"
``` |
f3323bff-7bfc-4149-960a-834180bbc06b | {
"language": "YAML"
} | ```yaml
language: ruby
bundler_args: --without extras
script:
- bundle
- rake appraisal:install
- rake appraisal
rvm:
- 1.9.2
- 1.9.3
- jruby-19mode
- rbx-19mode
gemfile:
- gemfiles/activerecord-3.0.gemfile
- gemfiles/activerecord-3.1.gemfile
- gemfiles/activerecord-master.gemfile
matrix:
allow_failures:
- rvm: jruby-19mode
- rvm: rbx-19mode
```
Fix gemfiles in Travis config | ```yaml
language: ruby
bundler_args: --without extras
script:
- bundle
- rake appraisal:install
- rake appraisal
rvm:
- 1.9.2
- 1.9.3
- jruby-19mode
- rbx-19mode
gemfile:
- gemfiles/activerecord-3.0.gemfile
- gemfiles/activerecord-3.1.gemfile
- gemfiles/activerecord-3.2.gemfile
matrix:
allow_failures:
- rvm: jruby-19mode
- rvm: rbx-19mode
``` |
9a9d941a-e649-42ae-85ec-a7f79750a30c | {
"language": "YAML"
} | ```yaml
# .travis.yml
# Build Options
language: ruby
rvm:
- 2.3.3
gemfile:
- gemfiles/rails_5_0.gemfile
before_script:
- cp .rspec.example .rspec
script:
- bundle exec appraisal thor ci:steps
# Travis-CI Configuration
cache: bundler
sudo: false # Enable containerized builds.
```
Remove Appraisal dependency in CI environment. | ```yaml
# .travis.yml
# Build Options
language: ruby
rvm:
- 2.3.3
gemfile:
- gemfiles/rails_5_0.gemfile
before_script:
- cp .rspec.example .rspec
script:
- bundle exec thor ci:steps
# Travis-CI Configuration
cache: bundler
sudo: false # Enable containerized builds.
``` |
10e2afd2-868b-4aaa-9ed0-a776de8d5b9f | {
"language": "YAML"
} | ```yaml
sudo: required
services:
- docker
cache:
directories:
- $HOME/.m2
dist: trusty
language: java
before_install:
- nvm install 9.5.0
addons:
chrome: stable
hosts:
- dataflow.local
jdk:
- oraclejdk8
install: true
script:
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw package'
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || ./mvnw package'
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
local_dir: ui/documentation
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
branch: master
jobs:
include:
- stage: Maven
script: ./run-maven-build.sh
- stage: Unit Tests SauceLabs + BrowserStack
script: ./run-npm-test-saucelabs.sh
if: type != pull_request
after_success: skip
- script: ./run-npm-test-browserstack.sh
if: type != pull_request
after_success: skip
- stage: E2E Local + SauceLabs + BrowserStack
script: ./run-npm-e2e-local.sh
after_success: skip
- script: ./run-npm-e2e-saucelabs.sh
if: type != pull_request
after_success: skip
- script: ./run-npm-e2e-browserstack.sh
if: type != pull_request
after_success: skip
```
Disable Unit tests saucelabs + browserstack | ```yaml
sudo: required
services:
- docker
cache:
directories:
- $HOME/.m2
dist: trusty
language: java
before_install:
- nvm install 9.5.0
addons:
chrome: stable
hosts:
- dataflow.local
jdk:
- oraclejdk8
install: true
script:
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw package'
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] || ./mvnw package'
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
local_dir: ui/documentation
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
branch: master
jobs:
include:
- stage: Maven
script: ./run-maven-build.sh
- script: ./run-npm-test-browserstack.sh
if: type != pull_request
after_success: skip
- stage: E2E Local + SauceLabs + BrowserStack
script: ./run-npm-e2e-local.sh
after_success: skip
- script: ./run-npm-e2e-saucelabs.sh
if: type != pull_request
after_success: skip
- script: ./run-npm-e2e-browserstack.sh
if: type != pull_request
after_success: skip
``` |
c0aa82c7-06e2-4053-b7a5-f6e3113b47bc | {
"language": "YAML"
} | ```yaml
initial_walls:
x: [29, 50]
y: [31]
z: [264]
intra_node_shape: [64,46,512]
monitor_interval: 32
mpi_grid_shape: [2,2,2]
temporal_blocking_interval: 8
option_strings: ['stick-single-comp', 'omp', 'omp-collapse', 'no-subroutine', 'nbux2']
```
Set benchmark mode in C++ | ```yaml
initial_walls:
x: [29, 50]
y: [31]
z: [264]
intra_node_shape: [64,46,512]
monitor_interval: 32
mpi_grid_shape: [2,2,2]
temporal_blocking_interval: 8
option_strings: ['stick-single-comp', 'omp', 'omp-collapse', 'no-subroutine', 'nbux2', 'bench-fine-collection', 'bench-fine-fapp']
``` |
93db1a22-33b1-4861-a725-95749e7dd773 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install gcc libffi-dev libldap2-dev libsasl2-dev libssl-dev python-dev
install:
# Build/test dependencies
- python setup.py install
script:
- python setup.py test
```
Add a proof of concept pypi uploader | ```yaml
language: python
python:
- '2.7'
before_install:
- sudo apt-get update -qq
- sudo apt-get install gcc libffi-dev libldap2-dev libsasl2-dev libssl-dev python-dev
install:
- python setup.py install
script:
- python setup.py test
deploy:
provider: pypi
user: opennode
password:
secure: K4nUGpELCyhmEvqVh7Q74W+9tOYO/btsj9q2MdiUTbxIQHBeRTsN2UIsi4CJD8CoVwD95x/6Cfxqh86sHEOpU3sRYV7W5wKH4OJ1n5f/KRuKFqQ7VR6KVap9hWg1HvXkT/XIfprom5dYeHv+fvhF5hryk1V5fPF2pTdjP/pUS9E=
on:
tags: true
repo: opennode/nodeconductor
``` |
c960f5ff-6cfb-4915-8245-3ca30420e963 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
- "0.8"
```
Update TravisCI to modern versions of Node.js | ```yaml
language: node_js
node_js:
- "stable"
- "5"
- "4"
- "0.10"
``` |
b86c1b74-56ca-46fd-a450-922cdf34e5bb | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.5
- 5.4
- hhvm
before_script:
- composer update --prefer-source
script:
- ./vendor/bin/phpcs --standard=./phpcs.xml -np --report=summary .
- phpunit
notifications:
irc: "irc.freenode.org#zftalk.modules"
```
Maintain sensible order of PHP versions | ```yaml
language: php
php:
- 5.4
- 5.5
- hhvm
before_script:
- composer update --prefer-source
script:
- ./vendor/bin/phpcs --standard=./phpcs.xml -np --report=summary .
- phpunit
notifications:
irc: "irc.freenode.org#zftalk.modules"
``` |
e536dc54-c670-4991-b147-c4bc20bec3db | {
"language": "YAML"
} | ```yaml
language: node_js
env:
- CXX=g++-4.8
services:
- memcached
node_js:
- "4.0.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
sudo: false
before_script:
- npm install
script:
- NODE_ENV=production mocha -R spec test/spec/server --recursive
after_script:
- grunt deploy```
Build only on node 4.x and node 5.x | ```yaml
language: node_js
env:
- CXX=g++-4.8
services:
- memcached
node_js:
- "5.x"
- "4.x"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
sudo: false
before_script:
- npm install
script:
- NODE_ENV=production mocha -R spec test/spec/server --recursive
after_script:
- grunt deploy``` |
41e4f0d9-f234-4fa8-a76f-915225737898 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "3.6"
- "3.6-dev"
- "3.7"
- "3.7-dev"
- "3.8-dev"
- "nightly"
install:
- pip install pipenv
- pipenv install
script:
- python tests.py
- mypy parsenvy/parsenvy.py
```
Remove Python versions not yet supported by Travis | ```yaml
language: python
python:
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
install:
- pip install pipenv
- pipenv install
script:
- python tests.py
- mypy parsenvy/parsenvy.py
``` |
dbf712ba-659c-44ec-ab5d-1fce6ff290af | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
script:
- ant all```
Add automated publishing to github releases | ```yaml
language: java
jdk:
- oraclejdk8
script:
- ant all
deploy:
provider: releases
api_key:
secure: OkS1oQ39WbXQMRDmKkC3VB4rWzyJdpmXRMMnGIpPc3CSvVS8WFroVs9mYXOqvD/y33bnzTY2p84roYLrYkr6C1G0v5gS7SfQVfhmV2/DiooBpaSB414VfBLftmRiVNs8M9nwXjLp7F84TOE9weJgbiu//J91FrKe0z5XH3ETFX5QbnkoTA38XHfVwaWeylERy+O7sKOcPbD6Jcxs4BrWHcQin6F3TivzuQNFNWjRr2KT49sJXJbBPwbqrlXPoW9UUIo07aMV+2SInkv7dTnpBvIYV836w9edIDcarmMlc1MRt/6T+/r1yZHpuREdr/gfaykI94N6DbQZU1DProq3nYEpdGeB5haP36V1HxXtURCbICrjWCymdmmX/m1wDodpDHUtdNSNlGBZU0LKmAz0k7Pq988ZrkB4Kv/Fp2HJGnBjNZnfBVAxR1hpme+zP6SCO3IXFZ6fXLCFqlMYBnlb4gWctTycZpQ23T9fyQHo28QHucCs4b2yiCYvtUaigBUj+LYNSUMYlGmZIFc8UiWNHHG8U1s098KGOHjObm1WAYLlOsdZBAEz5rjgKrICDyRRo5kE1G0OOqLf0OEX1CVJtCPi06s4KUooWKYGTExcd8nj3XGfa8LV6GV0XwvdChH1MnUEzUuUJFFQWxjF0VlIDQL+fahhXbazkcL+2oWknOg=
file: out/artifacts/octopus_build_trigger_plugin_zip/octopus-build-trigger.zip
on:
repo: matt-richardson/teamcity-octopus-build-trigger-plugin
``` |
671f4fa6-36e1-4b57-a129-d5aefe359ffc | {
"language": "YAML"
} | ```yaml
language: python
python:
- '2.7'
before_install:
- sudo apt-get update -qq
- sudo apt-get install gcc libffi-dev libsasl2-dev libssl-dev python-dev
install:
- pip install --upgrade -e .
- python setup.py install
script:
- python setup.py test
deploy:
provider: pypi
user: opennode
distributions: "sdist bdist_wheel"
password:
secure: K4nUGpELCyhmEvqVh7Q74W+9tOYO/btsj9q2MdiUTbxIQHBeRTsN2UIsi4CJD8CoVwD95x/6Cfxqh86sHEOpU3sRYV7W5wKH4OJ1n5f/KRuKFqQ7VR6KVap9hWg1HvXkT/XIfprom5dYeHv+fvhF5hryk1V5fPF2pTdjP/pUS9E=
on:
tags: true
repo: opennode/nodeconductor
```
Fix release branch for pypi | ```yaml
language: python
python:
- '2.7'
before_install:
- sudo apt-get update -qq
- sudo apt-get install gcc libffi-dev libsasl2-dev libssl-dev python-dev
install:
- pip install --upgrade -e .
- python setup.py install
script:
- python setup.py test
deploy:
provider: pypi
user: opennode
distributions: "sdist bdist_wheel"
password:
secure: K4nUGpELCyhmEvqVh7Q74W+9tOYO/btsj9q2MdiUTbxIQHBeRTsN2UIsi4CJD8CoVwD95x/6Cfxqh86sHEOpU3sRYV7W5wKH4OJ1n5f/KRuKFqQ7VR6KVap9hWg1HvXkT/XIfprom5dYeHv+fvhF5hryk1V5fPF2pTdjP/pUS9E=
on:
tags: true
repo: opennode/waldur-core
``` |
cee08165-11b6-4904-a4ea-19a114382e49 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
before_script: make jshint```
Configure Travis to auto-deploy to npmjs.org | ```yaml
language: node_js
node_js:
- '0.10'
before_script: make jshint
deploy:
provider: npm
email: peter@twistedstream.com
api_key:
secure: l2yoeQUCu6ZGVPQ8m9HaAjLqfezAUyfv2Mdqulr4XGiwavNhlUYL0cS45s+6wzrfIW0t/GnZwJJ1XZDV8M+pydgSTkSh9UfQZbRf6H+j6HNFVWtP+VW//GNmObfOP5HuitsE1/gl8hM2CGy/MFZ7yGtW4oNmOvn6LyPyKo+qtJ4=
on:
tags: true
``` |
6519384c-2867-4d58-9013-ff76adbe48c7 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
install:
- "sudo apt-get update"
- "sudo apt-get install python-numpy python-scipy"
# Fetch and install ASE
- "curl https://wiki.fysik.dtu.dk/ase-files/python-ase-3.8.1.3440.tar.gz | tar -zvx ; cd python-ase-3.8.1.3440 ; python setup.py install ; cd .."
- "python setup.py install"
script:
- "cd tests ; python run_tests.py"
```
Test on Python 2.6 as well as 2.7 | ```yaml
language: python
python:
- "2.6"
- "2.7"
install:
- "sudo apt-get update"
- "sudo apt-get install python-numpy python-scipy"
# Fetch and install ASE
- "curl https://wiki.fysik.dtu.dk/ase-files/python-ase-3.8.1.3440.tar.gz | tar -zvx ; cd python-ase-3.8.1.3440 ; python setup.py install ; cd .."
- "python setup.py install"
script:
- "cd tests ; python run_tests.py"
``` |
04c0d4cd-6e23-4324-8614-13f17742d151 | {
"language": "YAML"
} | ```yaml
# Use Docker environment
sudo: false
# Setup build matrix
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm-nightly
# Special environments
matrix:
fast_finish: true
allow_failures:
- php: hhvm-nightly
include:
- php: 5.4
env: dependencies=lowest
# Dependencies
before_script:
- composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable -n; fi;
script: phpunit
# Cache dependencies
cache:
directories:
- vendor
- $HOME/.composer/cache
```
Remove allowed failures for HHVM | ```yaml
# Use Docker environment
sudo: false
# Setup build matrix
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm-nightly
# Special environments
matrix:
fast_finish: true
include:
- php: 5.4
env: dependencies=lowest
# Dependencies
before_script:
- composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable -n; fi;
script: phpunit
# Cache dependencies
cache:
directories:
- vendor
- $HOME/.composer/cache
``` |
966eec2f-e0d3-4573-9aca-d6861bdd39d3 | {
"language": "YAML"
} | ```yaml
on:
tags: true
sudo: required
services:
- docker
before_install:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USER" -p="$DOCKER_PASSWORD"
script:
- ALPINE_ID=$(docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}" -f Dockerfile . | tail -1 | sed 's/.*Successfully built \(.*\)$/\1/') # Build with Alpine
- docker tag $ALPINE_ID "carbonsrv/carbon:${TRAVIS_TAG:-latest}-alpine"
- docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}-alpine_edge" -f Dockerfile .
- docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}-arch" -f Dockerfile.arch . # Build with Arch
- docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}-golang" -f Dockerfile.golang . # Build with Golang
after_success:
- docker push carbonsrv/carbon
```
Copy build output to stderr too, so you can see it. | ```yaml
on:
tags: true
sudo: required
services:
- docker
before_install:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USER" -p="$DOCKER_PASSWORD"
script:
- ALPINE_ID=$(docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}" -f Dockerfile . | tee /dev/stderr | tail -1 | sed 's/.*Successfully built \(.*\)$/\1/') # Build with Alpine
- docker tag $ALPINE_ID "carbonsrv/carbon:${TRAVIS_TAG:-latest}-alpine"
- docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}-alpine_edge" -f Dockerfile .
- docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}-arch" -f Dockerfile.arch . # Build with Arch
- docker build -t "carbonsrv/carbon:${TRAVIS_TAG:-latest}-golang" -f Dockerfile.golang . # Build with Golang
after_success:
- docker push carbonsrv/carbon
``` |
bd1002e0-876a-4d01-9f64-ea95fb97e51e | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
script:
- if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --coverage-text --coverage-clover=coverage.clover; fi
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
notifications:
email:
on_success: never
on_failure: change
```
Disable code coverage for PHP 7 | ```yaml
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
script:
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then phpunit; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --coverage-text --coverage-clover=coverage.clover; fi
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
notifications:
email:
on_success: never
on_failure: change
``` |
2c681b1b-a50a-4fa7-b26b-0dcbc1027c4e | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- rbx
gemfile:
- gemfiles/ar3.1.gemfile
- gemfiles/ar3.2.gemfile
- gemfiles/ar4.0.gemfile
- gemfiles/ar4.1.gemfile
- gemfiles/ar4.2.gemfile
- gemfiles/mongoid2.gemfile
- gemfiles/mongoid3.gemfile
- gemfiles/mongoid4.gemfile
- gemfiles/mongoid5.gemfile
- gemfiles/noorm.gemfile
sudo: false
services:
- mongodb
before_script:
- mysql -e 'create database blueprints_boy_test;'
```
Drop support for 1.9 and 2.0 | ```yaml
language: ruby
rvm:
- 2.1
- 2.2
- rbx
gemfile:
- gemfiles/ar3.1.gemfile
- gemfiles/ar3.2.gemfile
- gemfiles/ar4.0.gemfile
- gemfiles/ar4.1.gemfile
- gemfiles/ar4.2.gemfile
- gemfiles/mongoid2.gemfile
- gemfiles/mongoid3.gemfile
- gemfiles/mongoid4.gemfile
- gemfiles/mongoid5.gemfile
- gemfiles/noorm.gemfile
sudo: false
services:
- mongodb
before_script:
- mysql -e 'create database blueprints_boy_test;'
``` |
42df7ee1-d594-4463-b588-09e93d29bad7 | {
"language": "YAML"
} | ```yaml
language: ruby
before_install: gem install bundler
bundler_args: --without yard guard benchmarks
script: "bundle exec rake ci"
rvm:
- ree
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-18mode
- jruby-19mode
- jruby-head
- rbx-18mode
- rbx-19mode
notifications:
email:
- mbj@seonic.net
- dan.kubb@gmail.com
```
Add IRC notification on successful builds | ```yaml
language: ruby
before_install: gem install bundler
bundler_args: --without yard guard benchmarks
script: "bundle exec rake ci"
rvm:
- ree
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-18mode
- jruby-19mode
- jruby-head
- rbx-18mode
- rbx-19mode
notifications:
irc: "irc.freenode.org#datamapper"
email:
- mbj@seonic.net
- dan.kubb@gmail.com
``` |
25599c80-f3d2-44f2-8f02-008c33574ba4 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 3.4
- 3.5
install:
- pip install --upgrade setuptools
- pip install coveralls
- pip install -r requirements.txt
script:
py.test --cov=aiohttp_jinja2 tests
after_success:
coveralls
env:
matrix:
- PYTHONASYNCIODEBUG=x
- PYTHONASYNCIODEBUG=
```
Fix error in requirements file name | ```yaml
language: python
python:
- 3.4
- 3.5
install:
- pip install --upgrade setuptools
- pip install coveralls
- pip install -r requirements-dev.txt
script:
py.test --cov=aiohttp_jinja2 tests
after_success:
coveralls
env:
matrix:
- PYTHONASYNCIODEBUG=x
- PYTHONASYNCIODEBUG=
``` |
3b1edf80-ee31-432e-ad44-08e961012ae6 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.2.2
script: script/cibuild
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
```
Use container-based infrastructure for CI | ```yaml
language: ruby
rvm:
- 2.2.2
script: script/cibuild
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
sudo: false # migrate to container-based infrastructure
``` |
0a939aaa-3cf3-4523-9d0e-a48d8143d56b | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "4.0"
- "5.0"
- "6.0"
```
Update node versions for koa2 syntax | ```yaml
language: node_js
node_js:
- "6.0"
- "7.0"
``` |
fece8bf5-8df7-4783-91ea-02af4a7dff4e | {
"language": "YAML"
} | ```yaml
language: c
install:
- autoreconf --install
script:
- ./configure && make
```
Speed up the build, according to Travis | ```yaml
language: c
env:
global:
- MAKEFLAGS="-j 2"
install:
- autoreconf --install
script:
- ./configure && make
``` |
1d5fa879-7e4e-4c19-a53d-9eecbc22dd09 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 7.1
branches:
only:
- master
cache:
directories:
- $HOME/.composer/cache/files
- tmp/components
before_script:
- composer install
script:
- ./bin/build
deploy:
provider: pages
skip_cleanup: true
local_dir: ./tmp/build
project_name: "ReactPHP Website"
fqdn: $DEPLOY_FQDN
repo: $DEPLOY_REPO
target_branch: $DEPLOY_TARGET_BRANCH
github_token: $GITHUB_TOKEN
on:
branch: master
```
Add sudo:false to run on container infrastructure | ```yaml
language: php
sudo: false
php:
- 7.1
branches:
only:
- master
cache:
directories:
- $HOME/.composer/cache/files
- tmp/components
before_script:
- composer install
script:
- ./bin/build
deploy:
provider: pages
skip_cleanup: true
local_dir: ./tmp/build
project_name: "ReactPHP Website"
fqdn: $DEPLOY_FQDN
repo: $DEPLOY_REPO
target_branch: $DEPLOY_TARGET_BRANCH
github_token: $GITHUB_TOKEN
on:
branch: master
``` |
049b603c-edbf-4e02-9551-7800d114ba91 | {
"language": "YAML"
} | ```yaml
language: go
script:
- go test -check.vv ./...
install:
- go get gopkg.in/check.v1
env:
global:
- secure: RsNugq1R2VlLqa8hZzcccagr+4D6fMeoxt2T7YK4nzSiFA3zkw0IwCDO9oMSuDHcVrmuPVUJIi8QUsGNOzp0uffuSNtc8RLIXRZuGbeb0v8joSSdYyDXB2O6RrW6gipmq8JGgBm4KOp+QFLw1VH4ilPfZ/gHsyMA171TVjicyAc=
```
Remove -check.v flags from go test because it causes subpackages to be skipped | ```yaml
language: go
script:
- go test -v ./...
install:
- go get gopkg.in/check.v1
env:
global:
- secure: RsNugq1R2VlLqa8hZzcccagr+4D6fMeoxt2T7YK4nzSiFA3zkw0IwCDO9oMSuDHcVrmuPVUJIi8QUsGNOzp0uffuSNtc8RLIXRZuGbeb0v8joSSdYyDXB2O6RrW6gipmq8JGgBm4KOp+QFLw1VH4ilPfZ/gHsyMA171TVjicyAc=
``` |
f86b148a-05e6-428c-b70d-1ca2fba542f3 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
os:
- osx
- linux
node_js:
- 8
- 10
after_success: npm run coverage
```
Disable email notifications from Travis | ```yaml
sudo: false
language: node_js
os:
- osx
- linux
node_js:
- 8
- 10
after_success: npm run coverage
notifications:
email: false
``` |
0a42b0b3-4f61-416d-9abb-3b46158bf27f | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.5
- 2.2.0
- jruby
```
Enable tests to run on new (much faster) Travis architecture | ```yaml
language: ruby
sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.5
- 2.2.0
- jruby
``` |
58e8b518-f801-4ab9-a427-c31dd8959787 | {
"language": "YAML"
} | ```yaml
# This is necessary until https://github.com/travis-ci/travis-ci/issues/3120 is
# fixed
sudo: required
language: scala
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION
scala:
- 2.10.5
- 2.11.6
jdk:
- oraclejdk7
# Note: not currently testing on JDK 8 internally
- oraclejdk8
- openjdk7
before_script:
# default $SBT_OPTS is irrelevant to sbt lancher
- unset SBT_OPTS
- travis_retry ./sbt ++$TRAVIS_SCALA_VERSION update
script: ./sbt ++$TRAVIS_SCALA_VERSION coverage test && ./sbt ++$TRAVIS_SCALA_VERSION coverageAggregate
after_success: ./sbt ++$TRAVIS_SCALA_VERSION coveralls
```
Add 2.12.0-M1 testing to Travis | ```yaml
# This is necessary until https://github.com/travis-ci/travis-ci/issues/3120 is
# fixed
sudo: required
language: scala
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION
scala:
- 2.10.5
- 2.11.6
- 2.12.0-M1
jdk:
- oraclejdk7
# Note: not currently testing on JDK 8 internally
- oraclejdk8
- openjdk7
before_script:
# default $SBT_OPTS is irrelevant to sbt lancher
- unset SBT_OPTS
- travis_retry ./sbt ++$TRAVIS_SCALA_VERSION update
script: ./sbt ++$TRAVIS_SCALA_VERSION coverage test && ./sbt ++$TRAVIS_SCALA_VERSION coverageAggregate
after_success: ./sbt ++$TRAVIS_SCALA_VERSION coveralls
``` |
a2f391f3-4896-43dd-b471-baab6cf55d99 | {
"language": "YAML"
} | ```yaml
language: php
addons:
apt:
packages:
- language-pack-nl
php:
- 5.6
- 7.0
- 7.1
branches:
only:
- master
install:
- composer install
- wget https://scrutinizer-ci.com/ocular.phar -O "$HOME/ocular.phar"
script:
- vendor/bin/phpunit --coverage-clover cache/logs/clover.xml
after_success:
- php "$HOME/ocular.phar" code-coverage:upload --format=php-clover cache/logs/clover.xml
```
Remove PHP 5.6 as Twig 2.x only supports ^7.0 | ```yaml
language: php
addons:
apt:
packages:
- language-pack-nl
php:
- 7.0
- 7.1
branches:
only:
- master
install:
- composer install
- wget https://scrutinizer-ci.com/ocular.phar -O "$HOME/ocular.phar"
script:
- vendor/bin/phpunit --coverage-clover cache/logs/clover.xml
after_success:
- php "$HOME/ocular.phar" code-coverage:upload --format=php-clover cache/logs/clover.xml
``` |
22719215-279c-4a23-a9bc-8993296a974f | {
"language": "YAML"
} | ```yaml
language: objective-c
cache: cocoapods
podfile: Example/Podfile
osx_image: xcode8
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- npm install ios-sim -g
script:
# OCSlimProject Example Acceptance Tests
- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProject_AcceptanceUnitTestBundle_SimulatorWarmUpExcercise -destination 'platform=iOS Simulator,name=iPhone 6s' -destination-timeout 300 test
- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProject_Example -destination 'platform=iOS Simulator,name=iPhone 6s' test
#- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProject_ExampleMac test
# OCSlimProjectTestBundleSupport Pod Unit Tests
#- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProjectTestBundleSupportTests -destination 'platform=iOS Simulator,name=iPhone 6s' test
#- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProjectTestBundleSupportTestsMac test
# Pod Lib Lint
#- pod lib lint OCSlimProject.podspec --allow-warnings
#- pod lib lint OCSlimProjectTestBundleSupport.podspec --use-libraries --allow-warnings
```
Add all the xcodebuild steps to fully excercise and verify all mac,ios and pod setups | ```yaml
language: objective-c
cache: cocoapods
podfile: Example/Podfile
osx_image: xcode8
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- npm install ios-sim -g
- ios-sim start --devicetypeid iPhone-6s
script:
# OCSlimProject Example Acceptance Tests (iOS, macOS)
- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProject_AcceptanceUnitTestBundle_SimulatorWarmUpExcercise -destination 'platform=iOS Simulator,name=iPhone 6s' -destination-timeout 300 test
- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProject_Example -destination 'platform=iOS Simulator,name=iPhone 6s' test
- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProject_ExampleMac test
# OCSlimProjectTestBundleSupport Pod Unit Tests (iOS, macOS)
- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProjectTestBundleSupportTests -destination 'platform=iOS Simulator,name=iPhone 6s' test
- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OCSlimProjectTestBundleSupportTestsMac test
# Pod Lib Lint (unavailable on xcode 8)
#- pod lib lint OCSlimProject.podspec --allow-warnings
#- pod lib lint OCSlimProjectTestBundleSupport.podspec --use-libraries --allow-warnings
``` |
03e3a1fc-aaca-438b-b520-ae8a29f0bcb4 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "4"
- "6"
- "8"
- "9"
script: "npm run-script travis"
```
Drop node.js 4 support (semver-major) | ```yaml
language: node_js
node_js:
- "6"
- "8"
- "9"
script: "npm run-script travis"
``` |
50fbdf6e-0a10-4c3a-ac44-38d5f3a8a657 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
addons:
apt:
packages:
- libqtwebkit-dev
- xvfb
code_climate:
repo_token:
secure: "cT2wvWS2Uk2trYGwZ38Qo9XWCeL+OOXH0lVmLfNb1Xy/tWAXycDdZsc9CN8igjhD+/cKvvh529/qdDm2PJnb1Hux1bxHSTuMuE2xQWlfJqaOR/IX0z96MbP1eITKjhGv9vccmIPdV3Rh/OQLeHkyqyHvXio9NXiARMJUZDTpRuA="
branches:
only:
- 1.0.x # stable
- master
install:
- wget -c "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.31/ncbi-blast-2.2.31+-x64-linux.tar.gz"
- tar xvf ncbi-blast-2.2.31+-x64-linux.tar.gz
- export PATH="ncbi-blast-2.2.31+/bin:$PATH"
- gem install bundler && bundle
script: xvfb-run bundle exec rake spec
cache:
directories:
- vendor/bundle
- ncbi-blast-2.2.31+
sudo: false
```
Use BLAST 2.6.0+ on Travis | ```yaml
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
addons:
apt:
packages:
- libqtwebkit-dev
- xvfb
code_climate:
repo_token:
secure: "cT2wvWS2Uk2trYGwZ38Qo9XWCeL+OOXH0lVmLfNb1Xy/tWAXycDdZsc9CN8igjhD+/cKvvh529/qdDm2PJnb1Hux1bxHSTuMuE2xQWlfJqaOR/IX0z96MbP1eITKjhGv9vccmIPdV3Rh/OQLeHkyqyHvXio9NXiARMJUZDTpRuA="
branches:
only:
- 1.0.x # stable
- master
install:
- wget -c "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.6.0/ncbi-blast-2.6.0+-x64-linux.tar.gz"
- tar xvf ncbi-blast-2.6.0+-x64-linux.tar.gz
- export PATH="ncbi-blast-2.6.0+/bin:$PATH"
- gem install bundler && bundle
script: xvfb-run bundle exec rake spec
cache:
directories:
- vendor/bundle
- ncbi-blast-2.6.0+
sudo: false
``` |
1a5d6b9d-d932-4887-96a2-e7808ce69fbe | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.0.0
- 1.9.3
before_install:
- "mkdir ~/.gemcert && cd ~/.gemcert && gem cert --build test@example.com && cp gem-public_cert.pem $TRAVIS_BUILD_DIR/"
install: bundle install
script: rspec
```
Move back to the project directory | ```yaml
language: ruby
rvm:
- 2.0.0
- 1.9.3
before_install:
- "mkdir ~/.gemcert && cd ~/.gemcert && gem cert --build test@example.com && cp gem-public_cert.pem $TRAVIS_BUILD_DIR/"
- "cd $TRAVIS_BUILD_DIR"
install: bundle install
script: rspec
``` |
61fe2d25-3821-4f66-9560-2df0a905cb19 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.6
- 7.0
- hhvm
sudo: required
before_install:
- printf "\n" | pecl install yaml-beta
- echo "extension = yaml.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
install:
- travis_retry composer install --no-interaction --prefer-source
script: vendor/bin/phpunit
```
Install pecl yaml based on PHP version. | ```yaml
language: php
php:
- 5.6
- 7.0
- hhvm
sudo: required
before_install:
- if [[ $TRAVIS_PHP_VERSION < 7.0 ]]; then printf "\n" | pecl install yaml; fi
- if [[ $TRAVIS_PHP_VERSION >= 7.0 ]]; then printf "\n" | pecl install yaml-beta; fi
install:
- travis_retry composer install --no-interaction --prefer-source
script: vendor/bin/phpunit
``` |
a2b2f455-5655-464a-abdc-b61bfa6915a8 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.2.2
env:
global:
- CC_TEST_REPORTER_ID=9302884ead7bad6d1cc81026ba78b5cd8551024643cf14c72fe2d42eaaef36e6
before_install:
- gem update --system
- gem install bundler
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
cache: bundler
```
Build for current Ruby versions | ```yaml
language: ruby
rvm:
- 2.4.5
- 2.5.3
env:
global:
- CC_TEST_REPORTER_ID=9302884ead7bad6d1cc81026ba78b5cd8551024643cf14c72fe2d42eaaef36e6
before_install:
- gem update --system
- gem install bundler
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
cache: bundler
``` |
1b1359f1-fe17-460d-b83e-a1223b7e1a75 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.5.9
- 5.5
- 5.6
- 7.0
- 7.1
env:
global:
- setup=basic
matrix:
include:
- php: 5.5.9
env: setup=lowest
- php: 5.5.9
env: setup=stable
sudo: false
install:
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-source; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-lowest --prefer-stable; fi
script: vendor/bin/phpunit
```
Add PHP 7.2 to the Travis test matrix | ```yaml
language: php
php:
- 5.5.9
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
env:
global:
- setup=basic
matrix:
include:
- php: 5.5.9
env: setup=lowest
- php: 5.5.9
env: setup=stable
sudo: false
install:
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-source; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-lowest --prefer-stable; fi
script: vendor/bin/phpunit
``` |
6322c366-fe4d-4611-bc85-c48187a7909c | {
"language": "YAML"
} | ```yaml
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -yqq libevent-dev
script: mkdir build && cd build && cmake .. && make && ./test/test
```
Install GCC 4.8 for C++11 support in tests | ```yaml
language: cpp
compiler:
- gcc
before_install:
# We need GCC 4.8 for the unit tests
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -yqq g++-4.8 libevent-dev
- export CXX="g++-4.8"
script: mkdir build && cd build && cmake .. && make && ./test/test
``` |
dee3915f-2ce9-4cca-a538-99a5a073c2f8 | {
"language": "YAML"
} | ```yaml
language: ruby
addons:
postgresql: "9.3"
rvm:
- '2.2.0'
before_install:
- sudo apt-get install -qq phantomjs
before_script:
- bundle exec rake db:test:prepare
notifications:
email: false
env:
```
Use Ruby 2.1.5 for CI. | ```yaml
language: ruby
addons:
postgresql: "9.3"
rvm:
- '2.1.5'
before_install:
- sudo apt-get install -qq phantomjs
before_script:
- bundle exec rake db:test:prepare
notifications:
email: false
env:
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.