doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
8bfb54c7-d09e-4965-8034-b89df051c479 | {
"language": "YAML"
} | ```yaml
language: scala
scala:
- 2.11.12
- 2.12.8
- 2.12.9
- 2.12.10
- 2.13.1
script:
- sbt clean test
jdk:
- oraclejdk11
before_script:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx1024m"
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" -delete
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
```
Add 2.13.0 back to the build matrix. | ```yaml
language: scala
scala:
- 2.11.12
- 2.12.8
- 2.12.9
- 2.12.10
- 2.13.0
- 2.13.1
script:
- sbt clean test
jdk:
- oraclejdk11
before_script:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx1024m"
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" -delete
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
``` |
71f8229f-e4d4-4522-9242-4b9cc98ad1d1 | {
"language": "YAML"
} | ```yaml
language: node_js
install:
- npm install -g bower broccoli-cli
- npm install
- bower install
script:
- npm test
```
Add build hook for Travis | ```yaml
language: node_js
install:
- npm install -g bower broccoli-cli
- npm install
- bower install
script:
- npm test
after_success:
- "./bin/bower_build"
``` |
d466d2ec-50ac-4818-b5a8-a73f3a062cf1 | {
"language": "YAML"
} | ```yaml
language: rust
rust:
- nightly
before_install:
- sudo apt-get update
- sudo apt-get install python3
script:
- cargo build
- cargo test
- cd examples/ ; make
```
Add dependency on test-unit gem for Ruby example | ```yaml
language: rust
rust:
- nightly
before_install:
- sudo apt-get update
- sudo apt-get install python3 ruby
script:
- cargo build
- cargo test
- gem install test-unit
- cd examples/ ; make
``` |
39df89c2-d170-4632-a24a-f2c84cc072a8 | {
"language": "YAML"
} | ```yaml
env:
global:
- BINSTAR_USER: menpo
matrix:
- PYTHON_VERSION: 2.7
- PYTHON_VERSION: 3.4
matrix:
allow_failures:
- env: PYTHON_VERSION=3.4 # waiting for menpo Python 3 support
install:
- wget https://raw.githubusercontent.com/jabooth/condaci/v0.2.0/condaci.py -O condaci.py
- python condaci.py setup $PYTHON_VERSION --channel $BINSTAR_USER
- export PATH=$HOME/miniconda/bin:$PATH
- conda config --add channels $BINSTAR_USER/channel/master
script:
- python condaci.py auto ./conda --binstaruser $BINSTAR_USER --binstarkey $BINSTAR_KEY
notifications:
slack: menpo:19gyWImMkOfCj0iDAgTbDlDA
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/7599ff4870c99ba51310
on_success: always
on_failure: always
on_start: never
```
Move to condaci 0.2.1, quieter CI notifications | ```yaml
env:
global:
- BINSTAR_USER: menpo
matrix:
- PYTHON_VERSION: 2.7
- PYTHON_VERSION: 3.4
matrix:
allow_failures:
- env: PYTHON_VERSION=3.4 # waiting for menpo Python 3 support
install:
- wget https://raw.githubusercontent.com/jabooth/condaci/v0.2.1/condaci.py -O condaci.py
- python condaci.py setup $PYTHON_VERSION --channel $BINSTAR_USER
- export PATH=$HOME/miniconda/bin:$PATH
- conda config --add channels $BINSTAR_USER/channel/master
script:
- python condaci.py auto ./conda --binstaruser $BINSTAR_USER --binstarkey $BINSTAR_KEY
notifications:
slack:
rooms:
- menpo:19gyWImMkOfCj0iDAgTbDlDA
on_success: :change
on_failure: :change
email: false
``` |
ee02e410-0cd3-4040-8fdb-363b0d5a279f | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
services: mysql
install:
- pip install -r requirements/dev.txt --use-mirrors
script: python manage.py test --noinput
```
Create database before running tests. | ```yaml
language: python
python:
- "2.6"
- "2.7"
services: mysql
install:
- pip install -r requirements/dev.txt --use-mirrors
before_script:
- mysql -e 'create database captain;'
script: python manage.py test --noinput
``` |
a1b3c82f-ec52-4f59-b6ff-133957015ff4 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "stable"
- "iojs"
after_success:
- "npm run update-gh-pages"
notifications:
slack:
secure: f5QSFkke3kvTa0Li+PT5qgFozTmY0inw0PPWJn5FXeg+P1PGIG4ksL8ACKxtwO+repbrdrLYX9kt/AQaLnktXXvuylgI5wqt+YQYIwTP8WV91SkBVJotz4+0UxRk0O47lM/IGBSV5lU6Oon0gr8zz4PPwpZw4xjWEinWmWi+ZLo=
```
Remove "after_success" task for now. | ```yaml
language: node_js
node_js:
- "stable"
- "iojs"
notifications:
slack:
secure: f5QSFkke3kvTa0Li+PT5qgFozTmY0inw0PPWJn5FXeg+P1PGIG4ksL8ACKxtwO+repbrdrLYX9kt/AQaLnktXXvuylgI5wqt+YQYIwTP8WV91SkBVJotz4+0UxRk0O47lM/IGBSV5lU6Oon0gr8zz4PPwpZw4xjWEinWmWi+ZLo=
on_success: change
``` |
b2333e2c-3885-42ff-80b7-162a0a4b70a3 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 3.6
cache:
pip: true
directories:
- ${VIRTUAL_ENV}
env:
global:
- RANDOM_SEED=0
before_install:
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
- make doctor
install:
- make install
script:
- make check
- make test
after_success:
- pip install coveralls scrutinizer-ocular
- coveralls
- ocular
notifications:
email:
on_success: never
on_failure: never
```
Test against Python 3.6 on Travis CI | ```yaml
dist: xenial
language: python
python:
- 3.6
- 3.7
cache:
pip: true
directories:
- ${VIRTUAL_ENV}
env:
global:
- RANDOM_SEED=0
before_install:
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
- make doctor
install:
- make install
script:
- make check
- make test
after_success:
- pip install coveralls scrutinizer-ocular
- coveralls
- ocular
notifications:
email:
on_success: never
on_failure: never
``` |
eeeb3fde-e6e2-4bbb-94ab-b27a38d971a0 | {
"language": "YAML"
} | ```yaml
language: ruby
before_install:
- gem install bundler -v 1.17.3
matrix:
include:
- rvm: 2.5.1 # Pre-installed Ruby version
script: bundle exec rake rubocop # ONLY lint once, first
- rvm: 2.1
- rvm: 2.2
- rvm: 2.3.5
- rvm: 2.4.6
- rvm: 2.5.5
- rvm: 2.6.3
- rvm: jruby-9.1.8.0
env:
- JRUBY_OPTS="--debug"
jdk: openjdk8
- rvm: jruby-9.2.8.0
env:
- JRUBY_OPTS="--debug"
```
Update default CI ruby version | ```yaml
language: ruby
before_install:
- gem install bundler -v 1.17.3
matrix:
include:
- rvm: 2.5.3 # Pre-installed Ruby version
script: bundle exec rake rubocop # ONLY lint once, first
- rvm: 2.1
- rvm: 2.2
- rvm: 2.3.5
- rvm: 2.4.6
- rvm: 2.5.5
- rvm: 2.6.3
- rvm: jruby-9.1.8.0
env:
- JRUBY_OPTS="--debug"
jdk: openjdk8
- rvm: jruby-9.2.8.0
env:
- JRUBY_OPTS="--debug"
``` |
55361251-058f-4e91-be60-caafe72a5fde | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
branches:
only:
- master
script: rake
env:
- DB=mysql
- DB=postgresql
- RAILS_VERSION=4.1.0.rc2
notifications:
irc:
on_success: change
on_failure: always
use_notice: true
channels:
- "irc.freenode.org#alchemy_cms"
matrix:
allow_failures:
- env: RAILS_VERSION=4.1.0.rc2
```
Build against Rails 4.1.0, without allowing it to fail. | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
branches:
only:
- master
script: rake
env:
- DB=mysql
- DB=postgresql
- RAILS_VERSION=4.1.0
notifications:
irc:
on_success: change
on_failure: always
use_notice: true
channels:
- "irc.freenode.org#alchemy_cms"
matrix:
allow_failures:
- env: RAILS_VERSION=4.1.0
``` |
40ae247f-6e90-41d1-b369-641063d78322 | {
"language": "YAML"
} | ```yaml
branches:
only:
- 'master'
language: ruby
rvm:
- 1.9.2
- 1.9.3
env:
- DB=postgres BUILD_TYPE=other
- DB=postgres BUILD_TYPE=cucumber
bundler_args: "--without development production heroku"
before_script: "./script/ci/before.sh"
script: "bundle exec rake travis"
notifications:
irc:
channels:
- 'irc.freenode.org:6667#codeforamerica'
```
Remove cucumber tests for now | ```yaml
branches:
only:
- 'master'
language: ruby
rvm:
- 1.9.2
- 1.9.3
env:
- DB=postgres BUILD_TYPE=other
bundler_args: "--without development production heroku"
before_script: "./script/ci/before.sh"
script: "bundle exec rake travis"
notifications:
irc:
channels:
- 'irc.freenode.org:6667#codeforamerica'
``` |
b0e67511-ceb5-48e5-9f28-a3a38322763b | {
"language": "YAML"
} | ```yaml
sudo: false
language: c
matrix:
include:
- env: CC=gcc-5
addons:
apt:
packages: ['g++-5', 'cmake', 'ninja-build']
sources: ['ubuntu-toolchain-r-test', 'kalakris-cmake']
- env: CC=clang-3.8
addons:
apt:
packages: ['clang-3.8', 'cmake', 'ninja-build']
sources: ['ubuntu-toolchain-r-test', 'kalakris-cmake']
before_script:
- mkdir build
- cd build
script:
- cmake -G"Ninja" ..
- ninja
```
Use newer version of CMake on Travis. | ```yaml
sudo: false
language: c
matrix:
include:
- env: CC=gcc-5
addons:
apt:
packages: ['g++-5', 'ninja-build']
sources: ubuntu-toolchain-r-test
- env: CC=clang-3.8
addons:
apt:
packages: ['clang-3.8', 'ninja-build']
sources: ubuntu-toolchain-r-test
before_install:
- export PATH="$HOME/bin:$PATH"
- mkdir ~/bin
- wget --no-check-certificate --no-clobber -O /tmp/tools/cmake https://cmake.org/files/v3.4/cmake-3.4.0-rc3-Linux-x86_64.sh || true
- chmod -R +x /tmp/tools
install:
- /tmp/tools/cmake --prefix="$HOME" --exclude-subdir
before_script:
- mkdir build
- cd build
script:
- cmake -G"Ninja" ..
- ninja
``` |
aaaed372-42bd-426e-ac1f-4f3f1d5a6135 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
- "0.11"
```
Update Travis config to use Node 0.12 | ```yaml
language: node_js
node_js:
- "0.10"
- "0.12"
``` |
870e9f83-aeea-485f-90c5-5d0b55324997 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.8.7
- 1.9.2
```
Test on more recent Ruby versions | ```yaml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
``` |
3e39f03e-c29c-4fd2-9997-6cd0eeca090b | {
"language": "YAML"
} | ```yaml
language: php
dist: precise
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
cache:
directories:
- $HOME/.composer/cache
before_script:
- travis_retry composer install --no-interaction --prefer-dist
script: make sniff test
```
Use 7.4snapshot to build on PHP 7.4 | ```yaml
language: php
dist: precise
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4snapshot
cache:
directories:
- $HOME/.composer/cache
before_script:
- travis_retry composer install --no-interaction --prefer-dist
script: make sniff test
``` |
5824cb99-f551-43d2-97d8-a52d4c1005c7 | {
"language": "YAML"
} | ```yaml
sudo: false
language: python
cache: pip
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "pypy3"
install:
- pip install -r dev_requirements.txt
script:
- check-manifest
- nosetests --rednose --with-coverage --cover-package=transip
- pylint --rcfile=.pylintrc transip
# Deploy a new release to PyPi for every new tag on the 'master' branch on the
# repository 'benkonrath/transip-api'.
deploy:
provider: pypi
user: roaldnefs
password:
secure: "ahpUlrwDpSzVETim897QkLZNGdK3MUZJWghAd3U9idPaIo/Ax21jgPJ0emRQxBOEmK+ztcxVkm5GKU5IZQYbBbTZeppi+xV0a3MeCwmMIrwDZCYxc8uZPjbqmqLjaO3dd5lNcpOXkDXXhr5LGtUIsRKhI9oLb6l+ZfbmuF4niBw="
on:
repo: benkonrath/transip-api
tags: true
branch: master
python: 3.6
```
Remove CI test runs with pypy3 | ```yaml
sudo: false
language: python
cache: pip
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
# Not currently working in travisci.org:
#- "pypy3"
install:
- pip install -r dev_requirements.txt
script:
- check-manifest
- nosetests --rednose --with-coverage --cover-package=transip
- pylint --rcfile=.pylintrc transip
# Deploy a new release to PyPi for every new tag on the 'master' branch on the
# repository 'benkonrath/transip-api'.
deploy:
provider: pypi
user: roaldnefs
password:
secure: "ahpUlrwDpSzVETim897QkLZNGdK3MUZJWghAd3U9idPaIo/Ax21jgPJ0emRQxBOEmK+ztcxVkm5GKU5IZQYbBbTZeppi+xV0a3MeCwmMIrwDZCYxc8uZPjbqmqLjaO3dd5lNcpOXkDXXhr5LGtUIsRKhI9oLb6l+ZfbmuF4niBw="
on:
repo: benkonrath/transip-api
tags: true
branch: master
python: 3.6
``` |
8796fe18-864c-4a75-b1e0-8fe182344e2e | {
"language": "YAML"
} | ```yaml
sudo: false
dist: trusty
language: node_js
node_js:
- 12
stages:
- test
- deploy
env:
- TEST_SUITE=main
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1
- TEST_SUITE=node
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g yarn
branches:
only:
- master
- "/v\\d+\\.\\d+\\.\\d+(-\\w+)?/"
script:
- ./scripts/test/travis.sh
jobs:
include:
- stage: deploy
if: tag IS present
script: ./scripts/release/release.sh
- stage: Coverage report
script: ./scripts/test/coverageReport.sh
cache: yarn
addons:
chrome: stable
# sauce_connect: true
```
Update Node.js to the latest LTS | ```yaml
sudo: false
dist: trusty
language: node_js
node_js:
- 14
stages:
- test
- deploy
env:
- TEST_SUITE=main
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1
- TEST_SUITE=node
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g yarn
branches:
only:
- master
- "/v\\d+\\.\\d+\\.\\d+(-\\w+)?/"
script:
- ./scripts/test/travis.sh
jobs:
include:
- stage: deploy
if: tag IS present
script: ./scripts/release/release.sh
- stage: Coverage report
script: ./scripts/test/coverageReport.sh
cache: yarn
addons:
chrome: stable
# sauce_connect: true
``` |
d8a4233e-a4c5-4e09-8d89-90b57ac12f1d | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "4"
- "6"
- "8"
- "9"
env:
- CC=clang CXX=clang++
- ""
install:
- npm install --no-save --ignore-scripts
before_script:
- tmp=$(mktemp --directory)
- bash -O dotglob -O extglob -c 'mv !(node_modules|test) "$1"/' bash "$tmp"
- pack=$(npm pack "$tmp")
- node -p '"sha512-" + Buffer.from(process.argv[1], "hex").toString("base64")' $(sha512sum -- "$pack")
- tar --strip-components=1 -x -v -f "$pack"
- npm install --no-save
```
Add Node 10 to CI | ```yaml
language: node_js
node_js:
- "4"
- "6"
- "8"
- "9"
- "10"
env:
- CC=clang CXX=clang++
- ""
install:
- npm install --no-save --ignore-scripts
before_script:
- tmp=$(mktemp --directory)
- bash -O dotglob -O extglob -c 'mv !(node_modules|test) "$1"/' bash "$tmp"
- pack=$(npm pack "$tmp")
- node -p '"sha512-" + Buffer.from(process.argv[1], "hex").toString("base64")' $(sha512sum -- "$pack")
- tar --strip-components=1 -x -v -f "$pack"
- npm install --no-save
``` |
7f149eb2-75b7-4323-96c6-63d00faf4162 | {
"language": "YAML"
} | ```yaml
os: linux
dist: trusty
language: java
install: true
jdk:
- openjdk7
- openjdk8
- openjdk9
cache:
directories:
- $HOME/.m2
script: ./mvnw clean verify
```
Test against OpenJDK7, OpenJDK8 and OracleJDK11 | ```yaml
os: linux
dist: trusty
language: java
install: true
jdk:
- openjdk7
- openjdk8
- oraclejdk11
cache:
directories:
- $HOME/.m2
script: ./mvnw clean verify
``` |
f81dc334-e038-4cfc-b104-4202f7113208 | {
"language": "YAML"
} | ```yaml
dist: bionic
language: python
matrix:
include:
- python: "3.8"
- python: "3.7"
- python: "3.6"
- python: "3.5"
- python: "3.4"
- python: "2.7"
- python: "nightly"
- python: "pypy3"
- os: osx
language: generic
- name: build docs and check for broken links
install:
- pip install -r doc/requirements.txt
script:
- python setup.py build_sphinx -b linkcheck -W
addons:
apt:
packages:
- pandoc
- libportaudio2
install:
- pip install .
script:
- cd /tmp
- python -m sounddevice
- python -c "import sounddevice as sd; print(sd._libname)"
- python -c "import sounddevice as sd; print(sd.get_portaudio_version())"
notifications:
email: false
```
Remove tests for Python 3.4 | ```yaml
dist: bionic
language: python
matrix:
include:
- python: "3.8"
- python: "3.7"
- python: "3.6"
- python: "3.5"
- python: "2.7"
- python: "nightly"
- python: "pypy3"
- os: osx
language: generic
- name: build docs and check for broken links
install:
- pip install -r doc/requirements.txt
script:
- python setup.py build_sphinx -b linkcheck -W
addons:
apt:
packages:
- pandoc
- libportaudio2
install:
- pip install .
script:
- cd /tmp
- python -m sounddevice
- python -c "import sounddevice as sd; print(sd._libname)"
- python -c "import sounddevice as sd; print(sd.get_portaudio_version())"
notifications:
email: false
``` |
8dd54829-07b2-47bb-8da9-60c9341d3467 | {
"language": "YAML"
} | ```yaml
rvm:
- "2.1.0"
- "2.2.0"
- "2.3.0"
```
Use latest minor versions for each Ruby on Travis | ```yaml
rvm:
- "2.1.8"
- "2.2.4"
- "2.3.0"
``` |
60a36e85-fea6-42db-b4a6-5a2219415e89 | {
"language": "YAML"
} | ```yaml
### Project specific config ###
language: php
matrix:
include:
- os: linux
php: '5.6'
- os: linux
php: '7.0'
- os: linux
php: '7.0'
env:
- ATOM_CHANNEL=beta
after_failure:
- php --syntax-check --define display_errors=On --define log_errors=Off ./spec/files/good.php
- php --syntax-check --define display_errors=On --define log_errors=Off ./spec/files/bad.php
before_script:
- php --version
### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
- ./build-package.sh
notifications:
email:
on_success: never
on_failure: change
branches:
only:
- master
- /^greenkeeper/.*$/
git:
depth: 10
sudo: false
addons:
apt:
packages:
- build-essential
- git
- libgnome-keyring-dev
- fakeroot
```
Update beta channel test to run on PHP v7.1 | ```yaml
### Project specific config ###
language: php
matrix:
include:
- os: linux
php: '5.6'
- os: linux
php: '7.0'
- os: linux
php: '7.1'
env:
- ATOM_CHANNEL=beta
after_failure:
- php --syntax-check --define display_errors=On --define log_errors=Off ./spec/files/good.php
- php --syntax-check --define display_errors=On --define log_errors=Off ./spec/files/bad.php
before_script:
- php --version
### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
- ./build-package.sh
notifications:
email:
on_success: never
on_failure: change
branches:
only:
- master
- /^greenkeeper/.*$/
git:
depth: 10
sudo: false
addons:
apt:
packages:
- build-essential
- git
- libgnome-keyring-dev
- fakeroot
``` |
6a0ca30a-3e42-4c56-bacc-6ad6dbd7fd7f | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- '0.12'
- '0.10'
- '0.8'
- 'iojs'
before_install:
- npm install -g npm@~1.4.6
```
Test on all newer node versions | ```yaml
language: node_js
node_js:
- '9'
- '8'
- '7'
- '6'
- '5'
- '4'
- 'iojs'
- '0.12'
- '0.10'
- '0.8'
before_install:
- 'if [ "${TRAVIS_NODE_VERSION}" == "0.8" ]; then npm install -g npm@~1.4.6; fi'
``` |
7028b666-50fa-4172-9aa1-67a6b483c2f4 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- "10"
- "12"
cache:
directories:
- node_modules
script:
- npm run lint
- npm test
matrix:
fast_finish: true
after_script: "npm run coverage"
```
Validate Travis CI config file from now on | ```yaml
# https://docs.travis-ci.com/user/build-config-validation/
version: ~> 1.0
language: node_js
node_js:
- "10"
- "12"
cache:
directories:
- node_modules
script:
- npm run lint
- npm test
jobs:
fast_finish: true
after_script: "npm run coverage"
``` |
8c1699fd-6ce7-450e-9bf8-a0bda395951a | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
- ree
```
Remove ree from Travis build | ```yaml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
``` |
2ddf8ba4-415d-41c5-afa3-b1ec0b05ad49 | {
"language": "YAML"
} | ```yaml
language: rust
rust:
- stable
- beta
- nightly
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
sudo: required
before_install:
- bash ./travis/install_cfitsio.sh
cache: cargo
matrix:
allow_failures:
- rust: nightly
after_success: |
wget https://github.com/SimonKagstrom/kcov/archive/v31.zip &&
unzip v31.zip && mkdir kcov-31/build && cd kcov-31/build && cmake .. && make &&
sudo make install && cd ../.. &&
kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo --verify target/kcov target/debug/fitsio-*
```
Update to install packages at after_success level | ```yaml
language: rust
rust:
- stable
- beta
- nightly
sudo: required
before_install:
- bash ./travis/install_cfitsio.sh
cache: cargo
matrix:
allow_failures:
- rust: nightly
after_success: |
sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev binutils-dev libbfd-dev libiberty-dev
wget https://github.com/SimonKagstrom/kcov/archive/v31.zip &&
unzip v31.zip && mkdir kcov-31/build && cd kcov-31/build && cmake .. && make &&
sudo make install && cd ../.. &&
kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo --verify target/kcov target/debug/fitsio-*
``` |
a7e9a70d-da00-44f7-872c-d7993c1085b2 | {
"language": "YAML"
} | ```yaml
language: ruby
dist: trusty
sudo: false
cache: bundler
bundler_args: --without tools benchmarks
script:
- bundle exec rake
after_success:
# Send coverage report from the job #1 == current MRI release
- '[ "${TRAVIS_JOB_NUMBER#*.}" = "1" ] && [ "$TRAVIS_BRANCH" = "master" ] && bundle exec codeclimate-test-reporter'
rvm:
- 2.4.0
- 2.3.3
- 2.2.6
- 2.1.10
- jruby-9.1.5.0
env:
global:
- JRUBY_OPTS='--dev -J-Xmx1024M'
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/19098b4253a72c9796db
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
addons:
code_climate:
repo_token: c1c8f334714254acf5da901ca4da6afe24b15408074faae27159e3d14a450b62
```
Allow JRuby to fail on Travis (it’s having trouble with installing json) | ```yaml
language: ruby
dist: trusty
sudo: false
cache: bundler
bundler_args: --without tools benchmarks
script:
- bundle exec rake
after_success:
# Send coverage report from the job #1 == current MRI release
- '[ "${TRAVIS_JOB_NUMBER#*.}" = "1" ] && [ "$TRAVIS_BRANCH" = "master" ] && bundle exec codeclimate-test-reporter'
rvm:
- 2.4.0
- 2.3.3
- 2.2.6
- 2.1.10
- jruby-9.1.6.0
env:
global:
- JRUBY_OPTS='--dev -J-Xmx1024M'
matrix:
allow_failures:
- rvm: jruby-9.1.6.0
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/19098b4253a72c9796db
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
addons:
code_climate:
repo_token: c1c8f334714254acf5da901ca4da6afe24b15408074faae27159e3d14a450b62
``` |
993281cf-fe9b-41f3-8647-ad4289580913 | {
"language": "YAML"
} | ```yaml
language: c
compiler:
- gcc
- clang
env:
- VER_NGINX=1.6.3
- VER_NGINX=1.8.1
- VER_NGINX=1.9.15
- VER_NGINX=1.10.0
sudo: false
addons:
apt:
packages:
- libzmq3-dev
install:
- mkdir ./vendor && cd ./vendor
- wget "http://nginx.org/download/nginx-${VER_NGINX}.tar.gz" && tar -xf "nginx-${VER_NGINX}.tar.gz"
- cd nginx-${VER_NGINX}
- ./configure --add-module=../..
script: make
```
Add 1.10.1 and 1.11.3 to Travis | ```yaml
language: c
compiler:
- gcc
- clang
env:
- VER_NGINX=1.6.3
- VER_NGINX=1.8.1
- VER_NGINX=1.9.15
- VER_NGINX=1.10.1
- VER_NGINX=1.11.3
sudo: false
addons:
apt:
packages:
- libzmq3-dev
install:
- mkdir ./vendor && cd ./vendor
- wget "http://nginx.org/download/nginx-${VER_NGINX}.tar.gz" && tar -xf "nginx-${VER_NGINX}.tar.gz"
- cd nginx-${VER_NGINX}
- ./configure --add-module=../..
script: make
``` |
dee19313-ed08-45fb-8c6b-084f0bcf3033 | {
"language": "YAML"
} | ```yaml
language: python
cache: pip
matrix:
include:
- os: linux
dist: xenial
sudo: false
python: '2.6'
- os: linux
dist: xenial
sudo: false
python: '2.7'
- os: linux
dist: xenial
sudo: false
python: '3.2'
- os: linux
dist: xenial
sudo: false
python: '3.3'
- os: linux
dist: xenial
sudo: false
python: '3.4'
- os: linux
dist: xenial
sudo: false
python: '3.5'
- os: linux
dist: xenial
sudo: false
python: '3.6'
- os: linux
dist: xenial
sudo: false
python: '3.7-dev'
- os: linux
dist: xenial
sudo: false
python: 'nightly'
- os: linux
dist: xenial
sudo: false
python: 'pypy'
- os: linux
dist: xenial
sudo: false
python: 'pypy3'
install:
- pip install codecov
- pip install -r requirements.txt
- pip install -e .
script:
- PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
after_success:
- PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py
- codecov
```
Switch back to offical Python 3.7 build | ```yaml
language: python
cache: pip
matrix:
include:
- os: linux
dist: xenial
sudo: false
python: '2.6'
- os: linux
dist: xenial
sudo: false
python: '2.7'
- os: linux
dist: xenial
sudo: false
python: '3.2'
- os: linux
dist: xenial
sudo: false
python: '3.3'
- os: linux
dist: xenial
sudo: false
python: '3.4'
- os: linux
dist: xenial
sudo: false
python: '3.5'
- os: linux
dist: xenial
sudo: false
python: '3.6'
- os: linux
dist: xenial
sudo: true
python: '3.7'
- os: linux
dist: xenial
sudo: false
python: 'nightly'
- os: linux
dist: xenial
sudo: false
python: 'pypy'
- os: linux
dist: xenial
sudo: false
python: 'pypy3'
install:
- pip install codecov
- pip install -r requirements.txt
- pip install -e .
script:
- PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
after_success:
- PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py
- codecov
``` |
165b095f-a851-46d3-ab44-ee243a564914 | {
"language": "YAML"
} | ```yaml
language: node_js
os:
- linux
node_js:
- "8"
- "6"
- "4"
after_script:
- npm run coverage
- cat coverage/lcov.info | node_modules/.bin/coveralls
```
Revert "Task: Add node4 support." | ```yaml
language: node_js
os:
- linux
node_js:
- "8"
- "6"
after_script:
- npm run coverage
- cat coverage/lcov.info | node_modules/.bin/coveralls
``` |
fca10722-65e0-40f7-be51-36d8e3ee7b3e | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.11.x
- master
sudo: false
services:
- rabbitmq
# safelist branch to build
branches:
only:
- master
addons:
apt:
packages:
- rabbitmq-server
env:
- AMQP_URL=amqp://guest:guest@127.0.0.1:5672/
script:
- make jenkins
notifications:
email:
- bifer@alea-soluciones.com
```
Fix latest version compatible 1.17.X | ```yaml
language: go
go:
- 1.11.x
- 1.17.x
sudo: false
services:
- rabbitmq
# safelist branch to build
branches:
only:
- master
addons:
apt:
packages:
- rabbitmq-server
env:
- AMQP_URL=amqp://guest:guest@127.0.0.1:5672/
script:
- make jenkins
notifications:
email:
- bifer@alea-soluciones.com
``` |
6927f3d2-b6f1-40b0-876d-7e148ab9f2a7 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.2.3
before_install: gem install bundler -v 1.10.6
```
Test on more Ruby versions | ```yaml
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.7
- 2.2.3
before_install: gem install bundler -v 1.10.6
``` |
c6298cb8-6139-421c-87d9-8378a3cbcd47 | {
"language": "YAML"
} | ```yaml
language: cpp
script:
- git submodule update --init --recursive
- export CXX="clang++ -isystem /usr/include/x86_64-linux-gnu/c++/4.8/ -isystem /usr/include/x86_64-linux-gnu"
- cd bin/ninja && ./bootstrap.py && ./configure.py && cd -
- ./bin/ninja/ninja -f bootstrap.ninja
- cat build.ninja
- ./bin/ninja/ninja
compiler:
- clang
before_install:
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ saucy main universe"
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ raring main universe"
- sudo add-apt-repository -y "deb http://llvm.org/apt/raring/ llvm-toolchain-raring main"
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo apt-get -qq update
- sudo apt-get -qq install g++-4.8 libboost1.53-all-dev clang-3.4 re2c
```
Remove the display of build.ninja contents. | ```yaml
language: cpp
script:
- git submodule update --init --recursive
- export CXX="clang++ -isystem /usr/include/x86_64-linux-gnu/c++/4.8/ -isystem /usr/include/x86_64-linux-gnu"
- cd bin/ninja && ./bootstrap.py && ./configure.py && cd -
- ./bin/ninja/ninja -f bootstrap.ninja
- ./bin/ninja/ninja
compiler:
- clang
before_install:
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ saucy main universe"
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ raring main universe"
- sudo add-apt-repository -y "deb http://llvm.org/apt/raring/ llvm-toolchain-raring main"
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo apt-get -qq update
- sudo apt-get -qq install g++-4.8 libboost1.53-all-dev clang-3.4 re2c
``` |
28c19c0c-bac4-4bdb-b8bd-b1a2feb113e9 | {
"language": "YAML"
} | ```yaml
before_install:
- gem update bundler rake
branches:
only:
- master
env:
global:
- secure: | # CODECLIMATE_REPO_TOKEN
LANA2wEG+eJ4a+Sl0Uhw343XutMp00m/+IV4n7T+AYpFmzmBPB8k5kVP1SZR
lhqpkdWuJlpaSUyP1EvODyS3Ryg+UtCXXKa0vX6AQseYZqMzXoWWWS1UPHx5
R5/Dvko4JIPfOeeXwyPGnBhzewdQSqXcQR5UnPIWPG7jvfoCd/Q=
gemfile:
- gemfiles/rails30.gemfile
- gemfiles/rails31.gemfile
- gemfiles/rails32.gemfile
- gemfiles/rails40.gemfile
- gemfiles/rails41.gemfile
- gemfiles/rails42.gemfile
language: ruby
matrix:
allow_failures:
- rvm: ruby-head
include:
- rvm: 2.2.2
gemfile: gemfiles/rails50.gemfile
- rvm: 2.3.0
gemfile: gemfiles/rails50.gemfile
rvm:
- 1.9.3
- "2.0"
- "2.1"
- 2.2.2
- 2.3.0
- ruby-head
script: bundle exec rspec
```
Use container-based infrastructure and cache bundle | ```yaml
before_install:
- gem update bundler rake
branches:
only:
- master
cache: bundler
env:
global:
- secure: | # CODECLIMATE_REPO_TOKEN
LANA2wEG+eJ4a+Sl0Uhw343XutMp00m/+IV4n7T+AYpFmzmBPB8k5kVP1SZR
lhqpkdWuJlpaSUyP1EvODyS3Ryg+UtCXXKa0vX6AQseYZqMzXoWWWS1UPHx5
R5/Dvko4JIPfOeeXwyPGnBhzewdQSqXcQR5UnPIWPG7jvfoCd/Q=
gemfile:
- gemfiles/rails30.gemfile
- gemfiles/rails31.gemfile
- gemfiles/rails32.gemfile
- gemfiles/rails40.gemfile
- gemfiles/rails41.gemfile
- gemfiles/rails42.gemfile
language: ruby
matrix:
allow_failures:
- rvm: ruby-head
include:
- rvm: 2.2.2
gemfile: gemfiles/rails50.gemfile
- rvm: 2.3.0
gemfile: gemfiles/rails50.gemfile
rvm:
- 1.9.3
- "2.0"
- "2.1"
- 2.2.2
- 2.3.0
- ruby-head
script: bundle exec rspec
sudo: false
``` |
2d111e7b-30de-4671-9631-36fcacdb2544 | {
"language": "YAML"
} | ```yaml
language: ruby
script: "bundle exec rspec spec"
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- ree
env:
- ACTIVE_RECORD_VERSION="~> 4.0.0.rc1"
- ACTIVE_RECORD_VERSION="~> 3.2.0"
- ACTIVE_RECORD_VERSION="~> 3.1.0"
- ACTIVE_RECORD_VERSION="~> 3.0.0"
matrix:
allow_failures:
- env: ACTIVE_RECORD_VERSION="~> 4.0.0.rc1"
exclude:
- rvm:
- 1.8.7
- jruby-18mode
- rbx-18mode
- ree
env: ACTIVE_RECORD_VERSION="~> 4.0.0.rc1"
```
Test against Active Record 4.0 | ```yaml
language: ruby
script: "bundle exec rspec spec"
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
env:
- ACTIVE_RECORD_VERSION="~> 4.0.0"
- ACTIVE_RECORD_VERSION="~> 3.2.0"
- ACTIVE_RECORD_VERSION="~> 3.1.0"
- ACTIVE_RECORD_VERSION="~> 3.0.0"
``` |
5c40e964-8e15-4e5e-94bb-7657346af47d | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.12"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c77e712c44b0a4914b7c
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
```
Make Travis use Docker for faster builds | ```yaml
language: node_js
node_js:
- "0.12"
sudo: false
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c77e712c44b0a4914b7c
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
``` |
a6b11846-db42-48ea-a0fd-077298cfffca | {
"language": "YAML"
} | ```yaml
language: node_js
cache: yarn
node_js:
- stable
- "8"
- "6"
- "4"
```
Remove Node 4 from Travis | ```yaml
language: node_js
cache: yarn
node_js:
- stable
- "8"
- "6"
``` |
995c26f8-4174-4884-ae03-69df82134152 | {
"language": "YAML"
} | ```yaml
---
branches:
only:
- master
services:
- mongodb
language: node_js
node_js:
- "6.9.2"
sudo: true
addons:
hosts:
- www.koaton.test
- koaton.test
- koaton.t3st
- origin.koaton.test
apt:
packages:
- nginx
cache:
directories:
- node_modules
before_install:
- npm config set spin false
- npm install -g ember-cli@2.9.1
install:
- git clone https://github.com/gerard2p/koaton-demoapp.git testingapp
- cd testingapp
- npm i --only=prod
- cd ..
- npm i .
script:
- npm run eslint
- npm run cover
- npm run codeclimate_cov
- npm run semantic-release
```
Remove nginx from Travis CI | ```yaml
---
branches:
only:
- master
services:
- mongodb
language: node_js
node_js:
- "6.9.2"
sudo: true
addons:
hosts:
- www.koaton.test
- koaton.test
- koaton.t3st
- origin.koaton.test
cache:
directories:
- node_modules
before_install:
- npm config set spin false
- npm install -g ember-cli@2.9.1
install:
- git clone https://github.com/gerard2p/koaton-demoapp.git testingapp
- cd testingapp
- npm i --only=prod
- cd ..
- npm i .
script:
- npm run eslint
- npm run cover
- npm run codeclimate_cov
- npm run semantic-release
``` |
9f6ee7b1-aad0-4ea7-a609-c19e1b074017 | {
"language": "YAML"
} | ```yaml
language: d
sudo: false
matrix:
include:
- d: dmd-2.068.0-rc1
- d: dmd-2.067.1
env:
- COVERAGE=true
- d: dmd-2.066.1
- d: dmd-2.064.2
- d: dmd-2.065.0
- d: ldc-0.15.1
- d: ldc-0.14.0
- d: gdc-4.9.0
script:
- ./travis-ci.sh
```
Test with the latest DMD and GDC versions. | ```yaml
language: d
sudo: false
matrix:
include:
- d: dmd-2.068.2-b1
- d: dmd-2.068.1
- d: dmd-2.067.1
env:
- COVERAGE=true
- d: dmd-2.066.1
- d: dmd-2.065.0
- d: dmd-2.064.2
- d: ldc-0.15.1
- d: ldc-0.14.0
- d: gdc-4.9.2
- d: gdc-4.9.0
script:
- ./travis-ci.sh
``` |
f152bce8-de1e-435c-8f35-838edc5146a5 | {
"language": "YAML"
} | ```yaml
# .travis.yml
# Do not set the language to c++, this over rides our environment variable CXX
# below.
language: C++
sudo: false
git:
depth: 1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
os:
- linux
cache:
ccache: true
directories:
- node_modules
install:
- npm install
- pip install --user cpp-coveralls
before_script:
- export CXX="ccache g++-5"
script:
- mkdir build && cd build
- cmake -DB9_GCOV=ON ..
- make -j8 || echo "RETRYING BUILD!" && make -j1 VERBOSE=1 # On failure, retry with verbose output
- ctest --output-on-failure
after_script:
- coveralls --exclude third_party --gcov /usr/bin/gcov-5 --gcov-options '\-lp' --build-root build
```
Remove the build directory from the coveralls line | ```yaml
# .travis.yml
# Do not set the language to c++, this over rides our environment variable CXX
# below.
language: C++
sudo: false
git:
depth: 1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
os:
- linux
cache:
ccache: true
directories:
- node_modules
install:
- npm install
- pip install --user cpp-coveralls
before_script:
- export CXX="ccache g++-5"
script:
- mkdir build && cd build
- cmake -DB9_GCOV=ON ..
- make -j8 || echo "RETRYING BUILD!" && make -j1 VERBOSE=1 # On failure, retry with verbose output
- ctest --output-on-failure
after_script:
- echo $PWD
- coveralls --exclude third_party --gcov /usr/bin/gcov-5 --gcov-options '\-lp'
``` |
6865254b-450c-466c-b387-5cd45367758d | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
before_install:
- sudo apt-get install libnetcdf-dev libhdf5-dev
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib
- travis_retry pip install astropy
- travis_retry pip install netCDF4
- python setup.py install
# command to run tests, e.g. python setup.py test
script:
- python tests/utests.py```
Add HDF5 to requirements for Travis | ```yaml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
before_install:
- sudo apt-get install libnetcdf-dev libhdf5-serial-dev
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib
- travis_retry pip install astropy
- travis_retry pip install netCDF4
- python setup.py install
# command to run tests, e.g. python setup.py test
script:
- python tests/utests.py``` |
36221555-06c0-4275-a11c-c0162d3a4929 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "5.5.0"
addons:
code_climate:
repo_token: e738d6a0d77f8e8d47da02e058b8e47ec8719288247d6d117ecbe6692a6aa84b
after_script:
- codeclimate-test-reporter < lcov.info```
Install codeclimate-test-reporter before run script on TravisCI | ```yaml
language: node_js
node_js:
- "5.5.0"
addons:
code_climate:
repo_token: e738d6a0d77f8e8d47da02e058b8e47ec8719288247d6d117ecbe6692a6aa84b
before_script:
- npm install -g codeclimate-test-reporter
after_script:
- codeclimate-test-reporter < lcov.info``` |
e7482de0-9360-48a7-91da-6e703a90a2ea | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.6
- 7.0
install: composer install```
Add php 7.1 to Travis. | ```yaml
language: php
php:
- 5.6
- 7.0
- 7.1
install: composer install``` |
5c2e95d9-4c8d-4637-bde6-58a8b8d22699 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 8.0
install: composer install
script: ./vendor/bin/phpunit
after_success:
- travis_retry php ./vendor/bin/php-coveralls -v
```
Enable code coverage for xDebug | ```yaml
language: php
php:
- 8.0
install: composer install
script: XDEBUG_MODE=coverage ./vendor/bin/phpunit
after_success:
- travis_retry php ./vendor/bin/php-coveralls -v
``` |
4a32819c-3ef9-4149-bf55-97f2615df1a3 | {
"language": "YAML"
} | ```yaml
language: lisp
env:
matrix:
- LISP=abcl
- LISP=allegro
- LISP=sbcl
- LISP=sbcl32
- LISP=ccl
- LISP=ccl32
- LISP=clisp
- LISP=clisp32
- LISP=cmucl
- LISP=ecl
- LISP=ecl
matrix:
allow_failures:
- env: LISP=cmucl
install:
- curl -L https://github.com/luismbo/cl-travis/raw/master/install.sh | sh
script:
- cl -e '(ql:quickload :trivial-features-tests)
(unless (trivial-features-tests:run)
(uiop:quit 1))'
```
Work around Quicklisp bug re :DEFSYSTEM-DEPENDS-ON | ```yaml
language: lisp
env:
matrix:
- LISP=abcl
- LISP=allegro
- LISP=sbcl
- LISP=sbcl32
- LISP=ccl
- LISP=ccl32
- LISP=clisp
- LISP=clisp32
- LISP=cmucl
- LISP=ecl
- LISP=ecl
matrix:
allow_failures:
- env: LISP=cmucl
install:
- curl -L https://github.com/luismbo/cl-travis/raw/master/install.sh | sh
script:
- cl -e '(ql:quickload :cffi-grovel)
(ql:quickload :trivial-features-tests)
(unless (trivial-features-tests:run)
(uiop:quit 1))'
``` |
120cdc18-0860-46eb-8b12-56ecb80d7732 | {
"language": "YAML"
} | ```yaml
dist: xenial
language: clojure
sudo: required
lein: lein
jdk:
- openjdk8
services:
- docker
branches:
only:
- master
- wip
- develop
install:
- ./manage.sh help
- nvm install $NODE_VERSION
- node --version
before_script:
- env | sort
script:
- ./manage.sh $COMMAND
after_script:
- docker images
- docker ps
notifications:
email: false
env:
- NODE_VERSION=7.7.1 COMMAND=build
- NODE_VERSION=7.7.1 COMMAND=test
- NODE_VERSION=7.7.1 COMMAND=release-local
- NODE_VERSION=7.7.1 COMMAND=release-docker
- NODE_VERSION=7.7.1 COMMAND=run-release
- NODE_VERSION=8.15.0 COMMAND=build
- NODE_VERSION=8.15.0 COMMAND=test
- NODE_VERSION=8.15.0 COMMAND=release-local
- NODE_VERSION=8.15.0 COMMAND=release-docker
- NODE_VERSION=8.15.0 COMMAND=run-release
```
Update CI node and tasks | ```yaml
dist: xenial
language: clojure
sudo: required
lein: lein
jdk:
- openjdk8
services:
- docker
branches:
only:
- master
- wip
- develop
- build-refactor
install:
- ./manage.sh help
- nvm install $NODE_VERSION
- node --version
before_script:
- env | sort
script:
- ./manage.sh $COMMAND
after_script:
- docker images
- docker ps
notifications:
email: false
env:
- NODE_VERSION=10.16.0 COMMAND=clean
- NODE_VERSION=10.16.0 COMMAND=build-devenv
#- NODE_VERSION=10.16.0 COMMAND=run-devenv
#- NODE_VERSION=10.16.0 COMMAND=test
- NODE_VERSION=10.16.0 COMMAND=build-release
#- NODE_VERSION=10.16.0 COMMAND=run-release
``` |
33ae2fb5-c23e-4d7e-8479-920fb698dd1c | {
"language": "YAML"
} | ```yaml
sudo: false
addons:
apt:
sources:
- sourceline: 'ppa:git-core/ppa'
packages:
- git
language: go
go:
- 1.8.x
- master
branches:
only:
- master
matrix:
allow_failures:
- go: master
```
Add Go 1.9 to Travis | ```yaml
sudo: false
addons:
apt:
sources:
- sourceline: 'ppa:git-core/ppa'
packages:
- git
language: go
go:
- 1.8.x
- 1.9.x
- master
branches:
only:
- master
matrix:
allow_failures:
- go: master
``` |
da166a45-7f1f-4a02-95bb-59acd370e86a | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '6'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
```
Build with Node.js 7 on Travis CI. | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '6'
- '7'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
``` |
48ce9820-364b-435f-acdc-5fd36f34bfcd | {
"language": "YAML"
} | ```yaml
language: php
php: [5.3, 5.4, 5.5]
before_script:
- curl -s https://getcomposer.org/installer | php
- php composer.phar install
script: phpunit -v
```
Use composer installation from Travis box | ```yaml
language: php
php: [5.3, 5.4, 5.5]
before_script:
- composer install
script: phpunit -v
``` |
5fe8a4c4-6c63-4590-8cef-576c7b69918a | {
"language": "YAML"
} | ```yaml
dist: bionic
language: ruby
gemfile:
- Gemfile
services:
- postgresql
- redis-server
addons:
postgresql: 10
script: bundle exec rake test
before_install:
- createdb searchkick_test || true
- ./test/ci/install_elasticsearch.sh
cache:
directories:
- $HOME/elasticsearch
env:
- ELASTICSEARCH_VERSION=7.9.2
jdk: openjdk11
jobs:
include:
- rvm: 2.7
gemfile: Gemfile
- rvm: 2.6
gemfile: test/gemfiles/activerecord52.gemfile
env: ELASTICSEARCH_VERSION=7.0.0
- rvm: 2.5
gemfile: test/gemfiles/activerecord51.gemfile
env: ELASTICSEARCH_VERSION=6.8.12
- rvm: 2.4
gemfile: test/gemfiles/activerecord50.gemfile
env: ELASTICSEARCH_VERSION=6.0.0
- rvm: 2.7
gemfile: test/gemfiles/mongoid7.gemfile
services:
- mongodb
- redis-server
- rvm: 2.6
gemfile: test/gemfiles/mongoid6.gemfile
services:
- mongodb
- redis-server
notifications:
email:
on_success: never
on_failure: change
```
Test against Elasticsearch 7.9.3 and 6.8.13 on Travis | ```yaml
dist: bionic
language: ruby
gemfile:
- Gemfile
services:
- postgresql
- redis-server
addons:
postgresql: 10
script: bundle exec rake test
before_install:
- createdb searchkick_test || true
- ./test/ci/install_elasticsearch.sh
cache:
directories:
- $HOME/elasticsearch
env:
- ELASTICSEARCH_VERSION=7.9.3
jdk: openjdk11
jobs:
include:
- rvm: 2.7
gemfile: Gemfile
- rvm: 2.6
gemfile: test/gemfiles/activerecord52.gemfile
env: ELASTICSEARCH_VERSION=7.0.0
- rvm: 2.5
gemfile: test/gemfiles/activerecord51.gemfile
env: ELASTICSEARCH_VERSION=6.8.13
- rvm: 2.4
gemfile: test/gemfiles/activerecord50.gemfile
env: ELASTICSEARCH_VERSION=6.0.0
- rvm: 2.7
gemfile: test/gemfiles/mongoid7.gemfile
services:
- mongodb
- redis-server
- rvm: 2.6
gemfile: test/gemfiles/mongoid6.gemfile
services:
- mongodb
- redis-server
notifications:
email:
on_success: never
on_failure: change
``` |
8b4fd6c4-01fd-47b3-9555-d96b73016d50 | {
"language": "YAML"
} | ```yaml
language: php
sudo: true
php:
- 5.6
services:
- mysql
before_install:
- composer self-update
install:
- composer install
before_script:
- cp app/config/parameters.yml.dist app/config/parameters_test.yml
- cp behat.yml.dist behat.yml
- php bin/console server:start
- php bin/console doctrine:database:create --env=test
- php bin/console doctrine:schema:create --env=test
- php bin/console doctrine:fixtures:load -n --env=test
- vendor/bin/phpcs --config-set installed_paths vendor/escapestudios/symfony2-coding-standard
script:
- vendor/bin/behat features/browser.feature
- vendor/bin/phpcs --standard=Symfony2 -n src
- vendor/bin/phpunit tests/ClientBundle --coverage-clover=coverage.xml
after_script:
- php bin/console server:stop
after_success:
- bash <(curl -s https://codecov.io/bash)
```
Edit delete dotrine:fixtures:load row and replace script rows | ```yaml
language: php
sudo: true
php:
- 5.6
services:
- mysql
before_install:
- composer self-update
install:
- composer install
before_script:
- cp app/config/parameters.yml.dist app/config/parameters_test.yml
- cp behat.yml.dist behat.yml
- php bin/console server:start
- php bin/console doctrine:database:create --env=test
- php bin/console doctrine:schema:create --env=test
- vendor/bin/phpcs --config-set installed_paths vendor/escapestudios/symfony2-coding-standard
script:
- vendor/bin/phpcs --standard=Symfony2 -n src
- vendor/bin/phpunit tests/ClientBundle --coverage-clover=coverage.xml
- vendor/bin/behat features/browser.feature
after_script:
- php bin/console server:stop
after_success:
- bash <(curl -s https://codecov.io/bash)
``` |
e6658349-8c6d-4626-846a-27cf1bf9cdae | {
"language": "YAML"
} | ```yaml
language: scala
scala:
- 2.11.6
jdk:
- oraclejdk8
before_install:
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
- "sudo apt-get update"
- "sudo apt-get install mongodb-org-server"
```
Configure Travis to send notifications to gitter.im | ```yaml
language: scala
scala:
- 2.11.6
jdk:
- oraclejdk8
before_install:
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
- "sudo apt-get update"
- "sudo apt-get install mongodb-org-server"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/2d84278b921c52e848d4
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
``` |
71f5d503-f414-4f11-81f6-d1a338faf234 | {
"language": "YAML"
} | ```yaml
sudo: false
language: ruby
rvm:
- 2.6.2
env:
matrix:
- SOLIDUS_BRANCH=v2.5 DB=postgres
- SOLIDUS_BRANCH=v2.6 DB=postgres
- SOLIDUS_BRANCH=v2.7 DB=postgres
- SOLIDUS_BRANCH=v2.8 DB=postgres
- SOLIDUS_BRANCH=master DB=postgres
- SOLIDUS_BRANCH=v2.5 DB=mysql
- SOLIDUS_BRANCH=v2.6 DB=mysql
- SOLIDUS_BRANCH=v2.7 DB=mysql
- SOLIDUS_BRANCH=v2.8 DB=mysql
- SOLIDUS_BRANCH=master DB=mysql
```
Fix PostgreSQLs and MySQL not being available in Travis | ```yaml
sudo: false
language: ruby
rvm:
- 2.6.2
services:
- postgresql
- mysql
env:
matrix:
- SOLIDUS_BRANCH=v2.5 DB=postgres
- SOLIDUS_BRANCH=v2.6 DB=postgres
- SOLIDUS_BRANCH=v2.7 DB=postgres
- SOLIDUS_BRANCH=v2.8 DB=postgres
- SOLIDUS_BRANCH=master DB=postgres
- SOLIDUS_BRANCH=v2.5 DB=mysql
- SOLIDUS_BRANCH=v2.6 DB=mysql
- SOLIDUS_BRANCH=v2.7 DB=mysql
- SOLIDUS_BRANCH=v2.8 DB=mysql
- SOLIDUS_BRANCH=master DB=mysql
``` |
a6e063d6-f482-4c5f-aa04-e609a7a6f3b7 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
env:
- DATABASE_ENGINE=sqlite
- DATABASE_ENGINE=postgres
- DATABASE_ENGINE=mysql
matrix:
exclude:
- python: 3.2
env: DATABASE_ENGINE=mysql
- python: 3.3
env: DATABASE_ENGINE=mysql
fast_finish: true
install:
- pip install -U setuptools
- python bootstrap.py
- ./bin/buildout -c travis.cfg testenv:DJANGO_SETTINGS_MODULE=zinnia.tests.implementations.$DATABASE_ENGINE
- sh -c "if [ '$DATABASE_ENGINE' = 'postgres' ];
then
pip install psycopg2;
fi"
- sh -c "if [ '$DATABASE_ENGINE' = 'mysql' ];
then
pip install mysql-python;
fi"
before_script:
- ./bin/flake8 --exclude=migrations zinnia
- sh -c "if [ '$DATABASE_ENGINE' = 'postgres' ];
then
psql -c 'create database zinnia;' -U postgres;
fi"
- sh -c "if [ '$DATABASE_ENGINE' = 'mysql' ];
then
mysql -e 'create database zinnia CHARACTER SET utf8 COLLATE utf8_general_ci;';
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql;
fi"
script:
- ./bin/test
after_success:
- ./bin/coveralls
notifications:
irc:
- "irc.freenode.org#django-blog-zinnia"
```
Simplify the config but remove optimizations | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
env:
- DATABASE_ENGINE=sqlite
- DATABASE_ENGINE=postgres
- DATABASE_ENGINE=mysql
matrix:
exclude:
- python: 3.2
env: DATABASE_ENGINE=mysql
- python: 3.3
env: DATABASE_ENGINE=mysql
fast_finish: true
install:
- pip install -U setuptools psycopg2 mysql-python
- python bootstrap.py
- ./bin/buildout -c travis.cfg testenv:DJANGO_SETTINGS_MODULE=zinnia.tests.implementations.$DATABASE_ENGINE
- psql -c 'create database zinnia;' -U postgres;
- mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql;
- mysql -e 'create database zinnia CHARACTER SET utf8 COLLATE utf8_general_ci;';
before_script:
- ./bin/flake8 --exclude=migrations zinnia
script:
- ./bin/test
after_success:
- ./bin/coveralls
notifications:
irc:
- "irc.freenode.org#django-blog-zinnia"
``` |
60f3e9df-18b7-4bd7-9e2b-b4735f1c404a | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.1
- 1.2
- 1.3
- 1.4
- release
- tip
install:
- go get github.com/go-sql-driver/mysql
- go get github.com/cenkalti/backoff
- go get github.com/joho/godotenv
- go get github.com/codegangsta/cli
env:
- ENV=test
script:
- go test -v ./...
```
Update Go versions in Travis | ```yaml
language: go
go:
- 1.4
- release
- tip
install:
- go get github.com/go-sql-driver/mysql
- go get github.com/cenkalti/backoff
- go get github.com/joho/godotenv
- go get github.com/codegangsta/cli
env:
- ENV=test
script:
- go test -v ./...
``` |
f9642dfc-1591-4016-9234-bd31e270a6c4 | {
"language": "YAML"
} | ```yaml
language: python
cache: pip
sudo: false
python:
- "3.6"
- "3.5"
- "2.7"
addons:
postgresql: "9.4"
env:
- REQ="Django>=1.11,<2.0"
- REQ="Django>=2.0,<2.1"
- REQ="Django>=2.1,<2.2
- REQ="https://github.com/django/django/archive/master.zip#egg=Django"
matrix:
allow_failures:
- env: REQ="https://github.com/django/django/archive/master.zip#egg=Django"
exclude:
- python: "2.7"
env: REQ="Django>=2.0,<2.1"
- python: "2.7"
env: REQ="Django>=2.1,<2.2"
- python: "2.7"
env: REQ="https://github.com/django/django/archive/master.zip#egg=Django"
install:
- pip install -U pip setuptools wheel
- pip install $REQ
- pip install django-ckeditor django-content-editor django-imagefield
- pip install django-tree-queries html-sanitizer psycopg2-binary requests
- python setup.py install
script: cd tests && ./manage.py test -v 2 testapp && cd ..
jobs:
include:
- stage: style
env: REQ=none
install: skip
script:
- pip install black flake8
- flake8 .
- black --check feincms3 tests
```
Fix a typo in the Django 2.1 line | ```yaml
language: python
cache: pip
sudo: false
python:
- "3.6"
- "3.5"
- "2.7"
addons:
postgresql: "9.4"
env:
- REQ="Django>=1.11,<2.0"
- REQ="Django>=2.0,<2.1"
- REQ="Django>=2.1,<2.2"
- REQ="https://github.com/django/django/archive/master.zip#egg=Django"
matrix:
allow_failures:
- env: REQ="https://github.com/django/django/archive/master.zip#egg=Django"
exclude:
- python: "2.7"
env: REQ="Django>=2.0,<2.1"
- python: "2.7"
env: REQ="Django>=2.1,<2.2"
- python: "2.7"
env: REQ="https://github.com/django/django/archive/master.zip#egg=Django"
install:
- pip install -U pip setuptools wheel
- pip install $REQ
- pip install django-ckeditor django-content-editor django-imagefield
- pip install django-tree-queries html-sanitizer psycopg2-binary requests
- python setup.py install
script: cd tests && ./manage.py test -v 2 testapp && cd ..
jobs:
include:
- stage: style
env: REQ=none
install: skip
script:
- pip install black flake8
- flake8 .
- black --check feincms3 tests
``` |
3473ab72-d1bf-4abc-85ee-b4c4d3d9362c | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.2.3
before_install: gem install bundler -v 1.10.6
```
Update tested ruby to 2.2.4 | ```yaml
language: ruby
rvm:
- 2.2.4
before_install: gem install bundler -v 1.10.6
``` |
5bd89b69-ba34-4dc0-955e-1778e5a9f063 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
```
Build with latest Node.js 4 on Travis CI. | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
``` |
d35d00c2-77f0-47ec-8c1a-6ca24df6c95a | {
"language": "YAML"
} | ```yaml
dist: xenial
language: ruby
rvm:
- 2.7.6
env: SECRET_KEY_BASE=859384 RUN_SLOW_TESTS=true
before_install:
- gem install bundler:2.0.2
before_script:
- cp config/database.travis.yml config/database.yml
- RAILS_ENV=test bundle exec rake db:setup
- docker pull openaustralia/buildstep
after_success:
- bundle exec codeclimate-test-reporter
services:
- docker
- redis
- mysql
```
Revert "Try explicitly setting the test environment" | ```yaml
dist: xenial
language: ruby
rvm:
- 2.7.6
env: SECRET_KEY_BASE=859384 RUN_SLOW_TESTS=true
before_install:
- gem install bundler:2.0.2
before_script:
- cp config/database.travis.yml config/database.yml
- bundle exec rake db:setup
- docker pull openaustralia/buildstep
after_success:
- bundle exec codeclimate-test-reporter
services:
- docker
- redis
- mysql
``` |
57793e1c-2756-498c-997b-419ef166b565 | {
"language": "YAML"
} | ```yaml
# Note: all environments run nodejs, so set language to PHP so we can lint all of the PHP functions
language: php
php:
- "5.3"
before_script:
- npm install
- make
script:
- make check_changes
- make test
branches:
only:
- master
```
Use newer PHP version in Travis config, add Nix to build matrix | ```yaml
# Note: all environments run nodejs, so set language to PHP so we can lint all of the PHP functions
language: php
php:
- 7.2
before_script:
- npm install
- make
script:
- make check_changes
- make test
branches:
only:
- master
- travis
env:
global:
- secure: "ZjGYCdnJbnuXx+CTiIIr50cZxEaGXF8JIY3QMgfOJ2ll4X6wVZ5FsYaOyuaaDI86lb767/fKPZ4hgFqMVAYS50XHjjr23Smavd9HHsVRPQmOifrYIYVFSDkEiKVo6JIiJPBI0NM+5vrowuORMm3YFGZMv6RGOEAa5cvjSte1wVSwvgeIK6QKlXL65L/29/p7ynT6PPhZ3kuc+lY3v2N4WGxMj7eynjGajsymAEKCqKDjRu7RRGbhcw7KdPbeMo2l+qkQBS/aEikiUgTW2CBb7cirXHODnEru15OQOTWw29ntrI7uteA6vK5w9ygTtguTEVhVDDAySGU6VYK/5VO2nnye0VLkTRKPpzeEuQNjbw85MveFoxXDPgfpUUe0tiG1ho37p73aFbZM6im1M5oQCL8gcqi+rUCshRn5MpjscZ8vMN7GFF1Sva1RQ9f/ho93gmIP0+5TStVTYgd3QTri3F14lT79P0Ujbxk4ltWX15Zj52Kcan0ipWmcz9ENGH3kqMOH9q2KvWI+vPL3laL9sBQ5L5VUWeF8XrmrSYX9MOILaJWaCPQT31oBbGUlgJZGslGqpctLBHsF5K7t7LObADU5XheMWvC0iDO/0WqVDyG37D4UTfXoaFrXIlhNSX6ouZjq+WwJaOyxLm/498N0Wk/XUpMSJ4XFKiw/mSe/6XA="
matrix:
include:
- language: nix
before_script:
script: nix-build --argstr handlebarsSpecVersion $TRAVIS_BRANCH | tee result.txt
after_success: cat result.txt | cachix push jbboehr-ci
``` |
9bd6f525-3def-48ef-8a45-59c3994c9c08 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- 3.7
install:
- python setup.py develop
- pip install -r requirements-dev.txt
script:
- mamba
```
Use python 3.7 from Xenial distribution | ```yaml
language: python
matrix:
include:
-python: 3.7
dist: xenial
sudo: true
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
install:
- python setup.py develop
- pip install -r requirements-dev.txt
script:
- mamba
``` |
78712865-5d53-4d80-a2ca-fe36fbf8e00c | {
"language": "YAML"
} | ```yaml
bundler_args: --without development
language: ruby
sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.2
script: bundle exec rspec spec
```
Drop ruby versions < 2 | ```yaml
bundler_args: --without development
language: ruby
sudo: false
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
script: bundle exec rspec spec
``` |
c979f45f-9f4c-4009-95e2-9a6ddae74dcc | {
"language": "YAML"
} | ```yaml
language: csharp
mono: none
dotnet: 2.1.401
sudo: required
dist: trusty
script: "./build.sh"
before_install:
- sudo service postgresql stop
- while sudo lsof -Pi :5432 -sTCP:LISTEN -t; do sleep 1; done
env:
global:
secure: e2TyjuwV8DgvfkM/NsZw7Q2Trt7IDO6roqQJHa/xbQh4ZInp2JPLgg/f6YVF51dpBxfxsmYSLBbsnj8SLoTuSa904lyoI7p/xY1CDvvQUPiBQD2ORkSkne7RWepZXg5uwm9DQTJJXohR/aPnpNnFGr8RWMhCfIOPgc6wEX7EVCA=
```
Use minimal as the 'language' | ```yaml
language: minimal
sudo: required
dist: trusty
script: "./build.sh"
env:
global:
secure: e2TyjuwV8DgvfkM/NsZw7Q2Trt7IDO6roqQJHa/xbQh4ZInp2JPLgg/f6YVF51dpBxfxsmYSLBbsnj8SLoTuSa904lyoI7p/xY1CDvvQUPiBQD2ORkSkne7RWepZXg5uwm9DQTJJXohR/aPnpNnFGr8RWMhCfIOPgc6wEX7EVCA=
``` |
02be2a38-2741-4b8e-a3e5-3aca60e40444 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
```
Test on Node.js 6 and newer only | ```yaml
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
``` |
6c523aed-31f5-4ab1-a695-f0198477a069 | {
"language": "YAML"
} | ```yaml
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libsdl2-dev libsdl2-image-dev
language: cpp
compiler:
- clang
- gcc
script: cmake
```
Fix before_install step in Travis CI configuration | ```yaml
before_install:
- wget http://www.libsdl.org/release/SDL2-2.0.4.tar.gz -O - | tar xz
- (cd SDL2-2.0.4 && ./configure && make && sudo make install)
- wget http://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz -O - | tar xz
- (cd SDL2_image-2.0.1 && ./configure && make && sudo make install)
language: cpp
compiler:
- clang
- gcc
script: cmake
``` |
de139677-10b9-4e8d-b7c4-539aef9fe779 | {
"language": "YAML"
} | ```yaml
sudo: false
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
include:
- php: 5.5
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: 5.6
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: 7.0
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: hhvm
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
fast_finish: true
before_script:
- composer self-update
- composer update $COMPOSER_FLAGS --prefer-source
script: ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
after_script: php vendor/bin/coveralls
```
Add linting and code-sniffing to the Travis CI build | ```yaml
sudo: false
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
include:
- php: 5.5
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: 5.6
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: 7.0
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: hhvm
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
fast_finish: true
before_script:
- composer self-update
- composer update $COMPOSER_FLAGS --prefer-source
script:
- ./vendor/bin/parallel-lint src tests
- ./vendor/bin/phpunit --verbose
- ./vendor/bin/phpcs src --standard=psr2 -sp
after_script: php vendor/bin/coveralls
``` |
327df158-380a-4866-9591-12c99626396e | {
"language": "YAML"
} | ```yaml
sudo: false
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
```
Add node 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
``` |
88f5b032-19fe-44c9-8a31-3a9c5f8174d5 | {
"language": "YAML"
} | ```yaml
# "It took the night to believe"
language: c
before_script:
- cmake --help
- cmake $CMAKE_GENERATOR .
sudo: required
env:
- CTEST_OUTPUT_ON_FAILURE=1
addons:
apt:
packages:
- cmake
- libpopt-dev
- doxygen
- ninja-build
script:
- make
- make test
- make doc
matrix:
include:
- compiler: clang
os: osx
before_install:
- brew update
- brew install popt
- dist: precise
sudo: false
- compiler: clang
dist: trusty
- compiler: clang
env: CMAKE_GENERATOR="-G Ninja"
dist: trusty
# TODO: Build Ninja
```
Use new 'make check', and only build docs selectively | ```yaml
# "It took the night to believe"
language: c
before_script:
- cmake --help
- cmake $CMAKE_GENERATOR .
sudo: required
env:
- CTEST_OUTPUT_ON_FAILURE=1
addons:
apt:
packages:
- cmake
- libpopt-dev
- doxygen
- ninja-build
script:
- make check
matrix:
include:
- compiler: clang
os: osx
before_install:
- brew update
- brew install popt
script:
- make check doc
- dist: precise
sudo: false
- compiler: clang
dist: trusty
- compiler: clang
env: CMAKE_GENERATOR="-G Ninja"
dist: trusty
script:
- ninja check doc
# Docs are tested on Trusty with Ninja, and on OSX (which might have a more
# recent Doxygen.)
# vim: shiftwidth=2 expandtab
``` |
d184129c-a5fd-4894-835d-d84a1e81248c | {
"language": "YAML"
} | ```yaml
language: android
android:
components:
- tools
- platform-tools
- tools
# Build tools version.
- build-tools-26.0.1
# Android complile sdk version.
- android-26
# Additional components.
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-19
# System image for emulator.
- sys-img-armeabi-v7a-addon-google_apis-google-26
licenses:
- 'android-sdk-license-.+'
# Emulator Management: Create, Start and Wait
before_script:
- echo no | android create avd --force -n test -t "android-26" --abi google_apis/armeabi-v7a -- tag google_apis
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- android list target
- ./gradlew connectedAndroidTest
```
Fix syntax issue in CI script | ```yaml
language: android
android:
components:
- tools
- platform-tools
- tools
# Build tools version.
- build-tools-26.0.1
# Android compile sdk version.
- android-26
# Additional components.
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-19
# System image for emulator.
- sys-img-armeabi-v7a-addon-google_apis-google-26
licenses:
- 'android-sdk-license-.+'
# Emulator Management: Create, Start and Wait
before_script:
- echo no | android create avd --force -n test -t "android-26" --abi google_apis/armeabi-v7a --tag google_apis
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- android list target
- ./gradlew connectedAndroidTest
``` |
c7bcddf0-1b0e-40aa-a04a-c305280b900c | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.2.2
- 1.3
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
- export GOBIN=~/bin
- export PATH=$GOBIN:$PATH
- go install github.com/rjeczalik/which/cmd/gowhich
script:
- go tool vet -all .
- go build ./...
- go test -race -v ./...
- [ "$(gowhich gowhich)" == "github.com/rjeczalik/which/cmd/gowhich" ]
```
Update Travis CI configuration file | ```yaml
language: go
go:
- 1.3
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
- go install -a -race std
script:
- go tool vet -all .
- go build ./...
- go test -race -v ./...
``` |
516ddfb1-844b-46ff-b380-da2776d3b8cc | {
"language": "YAML"
} | ```yaml
language: rust
rust: nightly
os:
- linux
- osx
sudo: false
install:
- .travis/docs/install
script:
- cargo rustc --verbose -- -C llvm-args=-verify-machineinstrs
- cargo test --verbose
- cargo bench --verbose
- cargo doc
after_success:
- .travis/docs/after_success
notifications:
irc: "irc.mozilla.org#libfringe"
```
Set skip_join for Travis CI notifications | ```yaml
language: rust
rust: nightly
os:
- linux
- osx
sudo: false
install:
- .travis/docs/install
script:
- cargo rustc --verbose -- -C llvm-args=-verify-machineinstrs
- cargo test --verbose
- cargo bench --verbose
- cargo doc
after_success:
- .travis/docs/after_success
notifications:
irc:
channels:
- "irc.mozilla.org#libfringe"
skip_join: true
``` |
e58239c1-6c27-495d-9378-4ffd16b63709 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- 'stable'
- '0.12'
- '0.10'
before_script:
- npm install -g gulp
- gulp lint
after_success: npm run coveralls
# whitelist
branches:
only:
- master
notifications:
email:
- kempdogg@gmail.com
```
Update node versions for Travis CI. | ```yaml
sudo: false
language: node_js
node_js:
- '8'
- '6'
- '4'
before_script:
- npm install -g gulp
- gulp lint
after_success: npm run coveralls
# whitelist
branches:
only:
- master
notifications:
email:
- kempdogg@gmail.com
``` |
03824975-9bcb-4449-98b7-d249503bf7d3 | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.4
- 1.5
- tip
before_script:
- go vet ./...
```
Enable building against go 1.6 | ```yaml
language: go
go:
- 1.4
- 1.5
- 1.6
- tip
before_script:
- go vet ./...
``` |
1731fc84-c043-4780-9c5c-3ed64f0ebbb7 | {
"language": "YAML"
} | ```yaml
language: java
sudo: false # faster builds
# first try
before_install:
- pip install --user codecov
after_success:
- codecov
jdk:
- oraclejdk7
- openjdk7
os:
- linux
- osx
```
Revert "Add Mac OSX builds to Travis CI" | ```yaml
language: java
sudo: false # faster builds
# first try
before_install:
- pip install --user codecov
after_success:
- codecov
jdk:
- oraclejdk7
- openjdk7``` |
465b794c-315f-458b-a445-8e716a33674e | {
"language": "YAML"
} | ```yaml
# http://docs.travis-ci.com
language: php
php:
- "5.5"
before_install:
- composer --version
- git --version
- node --version
- npm --version
before_script:
- composer install
- npm install
script:
- ./vendor/bin/phpcs --standard=PSR1,PSR2 src
- grunt build --verbose
- grunt setup --verbose
```
Update PHP version in Travis | ```yaml
# http://docs.travis-ci.com
language: php
php:
- "5.6"
before_install:
- composer --version
- git --version
- node --version
- npm --version
before_script:
- composer install
- npm install
script:
- ./vendor/bin/phpcs --standard=PSR1,PSR2 src
- grunt build --verbose
- grunt setup --verbose
``` |
55369d2b-abef-4cc3-b80e-1a56eec2e3e3 | {
"language": "YAML"
} | ```yaml
dist: xenial
language: cpp
script:
- mkdir build && cd build
- cmake ..
- cmake --build .
- ./mc_01
```
Return ubuntu version to trusty | ```yaml
dist: trusty
language: cpp
script:
- mkdir build && cd build
- cmake ..
- cmake --build .
- ./mc_01
``` |
c6f43615-03d7-407a-bb4d-a6f8f3b871d4 | {
"language": "YAML"
} | ```yaml
apiVersion: kritis.grafeas.io/v1beta1
kind: VulnzSigningPolicy
metadata:
name: my-vsp
spec:
imageVulnerabilityRequirements:
maximumFixableSeverity: MEDIUM
maximumUnfixableSeverity: MEDIUM
allowlistCVEs:
- projects/goog-vulnz/notes/CVE-2020-10543
- projects/goog-vulnz/notes/CVE-2020-10878
- projects/goog-vulnz/notes/CVE-2020-14155
```
Update policy template in signer test. | ```yaml
apiVersion: kritis.grafeas.io/v1beta1
kind: VulnzSigningPolicy
metadata:
name: my-vsp
spec:
imageVulnerabilityRequirements:
maximumFixableSeverity: MEDIUM
maximumUnfixableSeverity: MEDIUM
allowlistCVEs:
- projects/goog-vulnz/notes/CVE-2020-10543
- projects/goog-vulnz/notes/CVE-2020-10878
- projects/goog-vulnz/notes/CVE-2020-14155
- projects/goog-vulnz/notes/CVE-2019-25013
``` |
d07fae2f-03af-4cdb-9326-fd5c6b31a9a1 | {
"language": "YAML"
} | ```yaml
sudo: false
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
matrix:
include:
- rvm: 1.9.3
env: BUNTO_VERSION=1.0
env:
matrix:
- BUNTO_VERSION=1.0
- BUNTO_VERSION=2.0
branches:
only:
- master
install:
- travis_retry script/bootstrap
script: script/cibuild
notifications:
irc:
on_success: change
on_failure: change
channels:
- irc.freenode.org#bunto
template:
- '%{repository}#%{build_number} %{message} %{build_url}'
email:
on_success: never
on_failure: change
```
Add before_script to repair Travis CI "Permission denied" error | ```yaml
sudo: false
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
matrix:
include:
- rvm: 1.9.3
env: BUNTO_VERSION=1.0
env:
matrix:
- BUNTO_VERSION=1.0
- BUNTO_VERSION=2.0
branches:
only:
- master
before_script:
- chmod +x script/bootstrap
- chmod +x script/cibuild
- chmod +x script/rebund
- chmod +x script/release
install:
- travis_retry script/bootstrap
script: script/cibuild
notifications:
irc:
on_success: change
on_failure: change
channels:
- irc.freenode.org#bunto
template:
- '%{repository}#%{build_number} %{message} %{build_url}'
email:
on_success: never
on_failure: change
``` |
f2b33b69-6b25-44a4-91d8-004d38a4b9db | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- "0.11"
- "0.12"
- "4.0"
- "4.1"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
```
Update Travis config to latest. Upgrade gcc to 4.8, stop force upgrade to latest npm, debug canihaz installation. | ```yaml
sudo: false
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4.0"
- "4.1"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
``` |
7dd8102f-f2f5-4b98-96ed-e1fe4733e29e | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.1.3
script: 'bundle exec rake'
```
Remove ruby versions for Travis | ```yaml
language: ruby
rvm:
- 2.1.2
- 2.1.3
script: 'bundle exec rake'
``` |
a9f6c17b-ebc1-40ca-b8f1-783144cd6ea7 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
- "0.12"
```
Update Node versions at Travis | ```yaml
language: node_js
node_js:
- "0.12"
- "4.0"
- "4.1"
``` |
c8b1f7d6-03cc-4aaa-a338-e91e77a50aaf | {
"language": "YAML"
} | ```yaml
language: python
matrix:
fast_finish: true
include:
- sudo: false
script:
- ./mach test-tidy --no-progress --all
- ./mach test-tidy --no-progress --self-test
cache: false
- sudo: 9000
dist: trusty
script:
- ./mach build -d --verbose
- ./mach test-compiletest
- ./mach test-unit
- ./mach build-geckolib
# disabled due to #14723
#- ./mach test-stylo
- bash etc/ci/check_no_panic.sh
- bash etc/ci/lockfile_changed.sh
- bash etc/ci/manifest_changed.sh
cache:
directories:
- .cargo
- .servo
- $HOME/.ccache
env: CCACHE=/usr/bin/ccache
addons:
apt:
packages:
- cmake
- freeglut3-dev
- gperf
- libosmesa6-dev
- libgles2-mesa-dev
- python-virtualenv
- xorg-dev
- ccache
- libdbus-glib-1-dev
- libavformat-dev
- libavcodec-dev
- libavutil-dev
- libedit-dev
branches:
only:
- master
notifications:
webhooks:
- https://buildtimetrend.herokuapp.com/travis
```
Disable geckolib build as well. | ```yaml
language: python
matrix:
fast_finish: true
include:
- sudo: false
script:
- ./mach test-tidy --no-progress --all
- ./mach test-tidy --no-progress --self-test
cache: false
- sudo: 9000
dist: trusty
script:
- ./mach build -d --verbose
- ./mach test-compiletest
- ./mach test-unit
# disabled due to #14723
#- ./mach build-geckolib
#- ./mach test-stylo
- bash etc/ci/check_no_panic.sh
- bash etc/ci/lockfile_changed.sh
- bash etc/ci/manifest_changed.sh
cache:
directories:
- .cargo
- .servo
- $HOME/.ccache
env: CCACHE=/usr/bin/ccache
addons:
apt:
packages:
- cmake
- freeglut3-dev
- gperf
- libosmesa6-dev
- libgles2-mesa-dev
- python-virtualenv
- xorg-dev
- ccache
- libdbus-glib-1-dev
- libavformat-dev
- libavcodec-dev
- libavutil-dev
- libedit-dev
branches:
only:
- master
notifications:
webhooks:
- https://buildtimetrend.herokuapp.com/travis
``` |
b7986a70-f26d-4a47-bc93-f3ebb341bc0d | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.8"
- "0.10"
git:
depth: 10
branches:
only:
- master
before_install:
- npm install -g npm
- npm --version```
Test Node.js 4 and 5 on Travis | ```yaml
language: node_js
node_js:
- "4"
- "5"
git:
depth: 10
branches:
only:
- master
before_install:
- npm install -g npm
- npm --version
``` |
44358028-1c04-4b46-8081-8daaf63b3b97 | {
"language": "YAML"
} | ```yaml
# Passes arguments to bundle install (http://gembundler.com/man/bundle-install.1.html)
# bundler_args:
# Specify which ruby versions you wish to run your tests on, each version will be used
rvm:
- 1.8.7
- ree
- 1.9.3
- jruby
# - ruby-head # RedCloth does not compile on head
# - 1.8.6 # Does not work on travis-ci
# - 1.9.1 # Does not work on travis-ci
# - 1.9.2 # Does not work on travis-ci ..really?
# Define how to run your tests (defaults to `bundle exec rake` or `rake` depending on whether you have a `Gemfile`)
script: "bundle exec rake travis_ci"
# Define tasks to be completed before and after tests run . Will allow folding of content on frontend
#before_script:
# - command_1
# - command_2
#
#after_script:
# - command_1
# - command_2
# Specify an ENV variable to run before: 'bundle install' and 'rake' (or your defined 'script')
env: "CI=1 SUITE=1 "
# Specify the recipients for email notification
#notifications:
# recipients:
# - email-address-1
# - email-address-2
# Disable email notifications
#notifications:
# disabled: true
```
Disable JRuby testing due to bugs in JRuby | ```yaml
# Passes arguments to bundle install (http://gembundler.com/man/bundle-install.1.html)
# bundler_args:
# Specify which ruby versions you wish to run your tests on, each version will be used
rvm:
- 1.8.7
- ree
- 1.9.3
# - jruby # see http://jira.codehaus.org/browse/JRUBY-7007
# - ruby-head # RedCloth does not compile on head
# - 1.8.6 # Does not work on travis-ci
# - 1.9.1 # Does not work on travis-ci
# - 1.9.2 # Does not work on travis-ci ..really?
# Define how to run your tests (defaults to `bundle exec rake` or `rake` depending on whether you have a `Gemfile`)
script: "bundle exec rake travis_ci"
# Define tasks to be completed before and after tests run . Will allow folding of content on frontend
#before_script:
# - command_1
# - command_2
#
#after_script:
# - command_1
# - command_2
# Specify an ENV variable to run before: 'bundle install' and 'rake' (or your defined 'script')
env: "CI=1 SUITE=1 "
# Specify the recipients for email notification
#notifications:
# recipients:
# - email-address-1
# - email-address-2
# Disable email notifications
#notifications:
# disabled: true
``` |
a5906800-ff78-4993-b676-7872a5c03ac1 | {
"language": "YAML"
} | ```yaml
language: python
python:
- '2.7'
script: python tests/test_simplenote.py
deploy:
provider: pypi
user: mrtazz
password:
secure: pprhp5pZhC6e1drECVnDYnnsHOzCB2otsgKR9s+87TdLum6jiAzSu0Ai9lv3Z77s3Vb3VvjUkENUNC+LA82gvCkUSTBQD7BNLGEAnbT9SqDa+d1BdK5njWiumR92t6q5UyjbO0H6qO7JDEUGakz44aUs1gGBmi/9AS93VL2qwd0=
on:
tags: true
repo: mrtazz/simplenote.py
```
Add Python 3.4 to Travis testing | ```yaml
language: python
python:
- '2.7'
- '3.4'
script: python tests/test_simplenote.py
deploy:
provider: pypi
user: mrtazz
password:
secure: pprhp5pZhC6e1drECVnDYnnsHOzCB2otsgKR9s+87TdLum6jiAzSu0Ai9lv3Z77s3Vb3VvjUkENUNC+LA82gvCkUSTBQD7BNLGEAnbT9SqDa+d1BdK5njWiumR92t6q5UyjbO0H6qO7JDEUGakz44aUs1gGBmi/9AS93VL2qwd0=
on:
tags: true
repo: mrtazz/simplenote.py
``` |
c62c741d-e1bf-461d-b1a7-6d34a03a70ee | {
"language": "YAML"
} | ```yaml
language: scala
jdk:
- oraclejdk8
- openjdk7
- openjdk6
```
Add support for Scala 2.10 | ```yaml
language: scala
scala:
- 2.10.5
- 2.11.7
jdk:
- oraclejdk8
- openjdk7
- openjdk6
``` |
099d97f2-a74f-43e4-9240-3b3a730e1877 | {
"language": "YAML"
} | ```yaml
sudo: false
language: java
jdk: oraclejdk7
notifications:
irc: "chat.freenode.net#seedstack-dev"
after_success:
- echo "<settings><servers><server><id>sonatype-nexus-snapshots</id><username>\${env.SONATYPE_USER}</username><password>\${env.SONATYPE_PASS}</password></server></servers></settings>" > ~/settings.xml
- "[[ $TRAVIS_PULL_REQUEST == \"false\" && $TRAVIS_BRANCH == \"master\" ]] && mvn deploy --settings ~/settings.xml -DskipTests=true -Dmaven.javadoc.skip=true"
```
Build with jdk8 and multithreaded | ```yaml
sudo: false
language: java
jdk: oraclejdk8
notifications:
irc: "chat.freenode.net#seedstack-dev"
cache:
directories:
- "$HOME/.m2/repository"
install: /bin/true
script:
- mvn -B -U -T 4 -Pjavadoc install
after_success:
- echo "<settings><servers><server><id>sonatype-nexus-snapshots</id><username>\${env.SONATYPE_USER}</username><password>\${env.SONATYPE_PASS}</password></server></servers></settings>" > ~/settings.xml
- "[[ $TRAVIS_PULL_REQUEST == \"false\" && $TRAVIS_BRANCH == \"master\" ]] && mvn deploy --settings ~/settings.xml -DskipTests=true -Dmaven.javadoc.skip=true"
``` |
5c922d03-ef64-4eac-a84b-a55109613388 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "7"
cache:
yarn: true
directories:
- node_modules # NPM packages
- elm-stuff # Elm packages
- tests/elm-stuff # Elm testing packages
install:
- npm install -g elm
- npm install -y
- elm-package install -y
script: ./run-tests.sh
after_success:
- npm run-script build
- surge --project ./dist --domain the-deploy-button-acceptance.surge.sh
```
Upgrade Java and cache Gradle cache on TravisCI. | ```yaml
language: node_js
node_js:
- "7"
addons:
apt:
packages:
- oracle-java8-installer
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
yarn: true
directories:
- node_modules # NPM packages
- elm-stuff # Elm packages
- tests/elm-stuff # Elm testing packages
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
install:
- npm install -g elm
- npm install -y
- elm-package install -y
script: ./run-tests.sh
after_success:
- npm run-script build
- surge --project ./dist --domain the-deploy-button-acceptance.surge.sh
``` |
8cf1ca80-5929-46e1-a872-814c381ab7a1 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
sudo: required
services:
- docker
before_install:
- docker pull bit3/jsass-test-centos5
- docker pull bit3/jsass-test-centos6
- docker pull bit3/jsass-test-centos7
- docker pull bit3/jsass-test-ubuntu12.04
- docker pull bit3/jsass-test-ubuntu14.04
- mkdir -p $HOME/.gradle
- openssl aes-256-cbc -K $encrypted_7aff20607abf_key -iv $encrypted_7aff20607abf_iv -in gradle-travis.properties.enc -out $HOME/.gradle/gradle.properties -d
install: true
script:
- ./gradlew check runDockerTests
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == bit3/jsass ]] && [[ $TRAVIS_BRANCH == develop ]] && ./gradlew sonarqube -x test"
```
Move sonarqube scan into after_script section. | ```yaml
language: java
jdk:
- oraclejdk8
sudo: required
services:
- docker
before_install:
- docker pull bit3/jsass-test-centos5
- docker pull bit3/jsass-test-centos6
- docker pull bit3/jsass-test-centos7
- docker pull bit3/jsass-test-ubuntu12.04
- docker pull bit3/jsass-test-ubuntu14.04
- mkdir -p $HOME/.gradle
- openssl aes-256-cbc -K $encrypted_7aff20607abf_key -iv $encrypted_7aff20607abf_iv -in gradle-travis.properties.enc -out $HOME/.gradle/gradle.properties -d
install: true
script:
- ./gradlew check runDockerTests
after_script:
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == bit3/jsass ]] && [[ $TRAVIS_BRANCH == develop ]] && ./gradlew sonarqube -x test"
``` |
e69ab035-df76-4854-b678-5a06015d9e81 | {
"language": "YAML"
} | ```yaml
language: python
dist: trusty
sudo: required
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
cache:
directories:
- $HOME/.cache/pip
before_install:
- sudo apt-get update
- pip install --disable-pip-version-check --upgrade pip
install:
- sudo apt-get install devscripts python-setuptools debhelper
- pip install pre-commit
script:
- pre-commit run --all-files
- pip install -e .
after_success:
- debuild -us -uc
- mkdir deploy
- mv ../*.deb deploy/yubikey-manager-$TRAVIS_BRANCH-HEAD.deb
deploy:
provider: s3
access_key_id: "$AWS_KEY_ID"
secret_access_key: "$AWS_SECRET_KEY"
bucket: "$AWS_BUCKET"
skip_cleanup: true
acl: public-read
region: eu-west-1
local-dir: "deploy/"
on:
all_branches: true
```
Add upload dir to s3 deploy | ```yaml
language: python
dist: trusty
sudo: required
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
cache:
directories:
- $HOME/.cache/pip
before_install:
- sudo apt-get update
- pip install --disable-pip-version-check --upgrade pip
install:
- sudo apt-get install devscripts python-setuptools debhelper
- pip install pre-commit
script:
- pre-commit run --all-files
- pip install -e .
after_success:
- debuild -us -uc
- mkdir deploy
- mv ../*.deb deploy/yubikey-manager-$TRAVIS_BRANCH-HEAD.deb
deploy:
provider: s3
access_key_id: "$AWS_KEY_ID"
secret_access_key: "$AWS_SECRET_KEY"
bucket: "$AWS_BUCKET"
skip_cleanup: true
acl: public-read
region: eu-west-1
local-dir: "deploy/"
upload-dir: "yubikey-manager"
on:
all_branches: true
``` |
41f8b2b9-ceb1-4965-bd8f-4b7d8cc3d33d | {
"language": "YAML"
} | ```yaml
language: python
dist: xenial
python:
- "3.6"
matrix:
fast_finish: true
include:
- env: TOXENV=django11-oscar16
- env: TOXENV=django20-oscar16
- env: TOXENV=django21-oscar16
before_install:
- export DJANGO_SETTINGS_MODULE=test.settings
install:
- pip install -e .[test]
- pip install tox
script:
- tox
```
Fix typo in environment matrix list. | ```yaml
language: python
dist: xenial
python:
- "3.6"
matrix:
fast_finish: true
include:
- env: TOXENV=django111-oscar16
- env: TOXENV=django20-oscar16
- env: TOXENV=django21-oscar16
before_install:
- export DJANGO_SETTINGS_MODULE=test.settings
install:
- pip install -e .[test]
- pip install tox
script:
- tox
``` |
4642e327-7720-4d72-a9c7-3f2212dfb19c | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1.3
- 2.2.0-preview1
env:
- TARGET=redmine REDMINE_VERSION=2.5.3
- TARGET=plugin REDMINE_VERSION=2.5.3
- TARGET=redmine REDMINE_VERSION=2.6.2
- TARGET=plugin REDMINE_VERSION=2.6.2
before_install: sh travis/before_install.sh
script: sh travis/exec_test.sh
matrix:
allow_failures:
- rvm: 2.2.0-preview1
```
Update test env for redmine4 | ```yaml
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
env:
- TARGET=redmine REDMINE_VERSION=4.0.3
- TARGET=plugin REDMINE_VERSION=4.0.3
before_install: sh travis/before_install.sh
script: sh travis/exec_test.sh
``` |
87ed7d06-788c-426d-a28e-77bef0e1f484 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.0.0
- 2.2.0
- 2.2.1
- 2.2.2
- 2.3.0
- 2.3.1
notifications:
irc: "irc.freenode.org#juwelier"
```
Add Ruby 2.4.0 to Travis | ```yaml
language: ruby
rvm:
- 2.0.0
- 2.2.0
- 2.2.1
- 2.2.2
- 2.3.0
- 2.3.1
- 2.4.0
notifications:
irc: "irc.freenode.org#juwelier"
``` |
c9b5216e-cce5-470e-81ad-ae2bf1b55f60 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.9.2
- 1.8.7
- ree
install:
- wget https://www.tracelytics.com/install_tracelytics.sh
- sudo sh ./install_tracelytics.sh f51e2a43-0ee5-4851-8a54-825773b3218e
services:
- mongodb
- memcached
- cassandra
```
Build the c extension before running tests | ```yaml
language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.9.2
- 1.8.7
- ree
install:
- wget https://www.tracelytics.com/install_tracelytics.sh
- sudo sh ./install_tracelytics.sh f51e2a43-0ee5-4851-8a54-825773b3218e
before_script:
- bundle exec rake compile
services:
- mongodb
- memcached
- cassandra
``` |
90ddc2b4-ceac-4c85-b8c5-ef516aaf0dbd | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
sudo: false
install:
- COMPOSER_ROOT_VERSION=`git describe --abbrev=0` composer install --no-interaction
script:
- ./vendor/bin/phpunit --coverage-text
```
Fix HHVM build for now again and ignore future HHVM build errors | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
# also test against HHVM, but require "trusty" and ignore errors
matrix:
include:
- php: hhvm
dist: trusty
allow_failures:
- php: hhvm
sudo: false
install:
- COMPOSER_ROOT_VERSION=`git describe --abbrev=0` composer install --no-interaction
script:
- ./vendor/bin/phpunit --coverage-text
``` |
0b9c5e24-8c23-4cbc-8dbd-d59b9de1683e | {
"language": "YAML"
} | ```yaml
language: java
os: linux
dist: xenial
install: true
services:
- xvfb
addons:
chrome: stable
firefox: latest
sonarcloud:
organization: $SONARCLOUD_ORGANIZATION
token: $SONAR_TOKEN
before_script:
- export DISPLAY=:99.0
script:
- mvn test
- bash <(curl -s https://codecov.io/bash)
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then mvn sonar:sonar; fi
```
Disable git fetch depth limit in Travis | ```yaml
language: java
os: linux
dist: xenial
install: true
services:
- xvfb
git:
depth: false
addons:
chrome: stable
firefox: latest
sonarcloud:
organization: $SONARCLOUD_ORGANIZATION
token: $SONAR_TOKEN
before_script:
- export DISPLAY=:99.0
script:
- mvn test
- bash <(curl -s https://codecov.io/bash)
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then mvn sonar:sonar; fi
``` |
ea721f18-9c38-4c92-ad32-b265deabd613 | {
"language": "YAML"
} | ```yaml
sudo: false
dist: xenial
language: python
cache: pip
python:
- "2.7"
- "3.5"
- "3.5"
- "3.6"
- "3.7"
- "nightly"
install:
- pip install -r dev-requirements.txt
- pip install -e .
- pip freeze
script:
- coverage erase
- coverage run --source pykwalify -p -m py.test -v
- py.test
- python setup.py sdist bdist
after_success:
- coverage combine
- coveralls
- "if [[ $TEST_PYCODESTYLE == '1' ]]; then pycodestyle --repeat --show-source --exclude=.venv,.tox,dist,docs,build,*.egg,pykwalify_install .; fi"
matrix:
allow_failures:
- python: "nightly"
```
Add envrionment variables for testing pycodestyle | ```yaml
sudo: false
dist: xenial
language: python
cache: pip
python:
- "2.7"
- "3.5"
- "3.5"
- "3.6"
- "3.7"
- "nightly"
install:
- pip install -r dev-requirements.txt
- pip install -e .
- pip freeze
script:
- coverage erase
- coverage run --source pykwalify -p -m py.test -v
- py.test
- python setup.py sdist bdist
after_success:
- coverage combine
- coveralls
- "if [[ $TEST_PYCODESTYLE == '1' ]]; then pycodestyle --repeat --show-source --exclude=.venv,.tox,dist,docs,build,*.egg,pykwalify_install .; fi"
matrix:
allow_failures:
- python: "nightly"
- python: 2.7
env: TEST_PYCODESTYLE=1
- python: 3.6
env: TEST_PYCODESTYLE=1
``` |
956323c0-9563-405f-b74b-c2cf9441fb33 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "8"
install:
- yarn global add lerna
- yarn bootstrap
script:
- yarn run check
after_script:
- codeclimate-test-reporter < coverage/lcov.info
addons:
code_climate:
repo_token: 18e1eef105275451c25392c4f6b07ae0cc4ca3f6c280f9ccfcad7a16c9068d47
notifications:
email: false
```
Add NodeJS 10, 12 and latest (13) to CI matrix | ```yaml
language: node_js
node_js:
- "8"
- "10"
- "12"
- "node"
install:
- yarn global add lerna
- yarn bootstrap
script:
- yarn run check
after_script:
- codeclimate-test-reporter < coverage/lcov.info
addons:
code_climate:
repo_token: 18e1eef105275451c25392c4f6b07ae0cc4ca3f6c280f9ccfcad7a16c9068d47
notifications:
email: false
``` |
bee50210-074e-4504-be6a-b619dd3750c8 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
# TODO: make this work with the regular rake command
script: "bundle exec rake spec"
gemfile:
- Gemfile
before_script:
- mysql -e 'create database database_cleaner_test;'
- psql -c 'create database database_cleaner_test;' -U postgres
- cp db/sample.config.yml db/config.yml
services:
- mongodb
```
Add Ruby2.0.0 build in Travis-ci, and allowed to fail | ```yaml
language: ruby
rvm:
- 1.9.3
- 2.0.0
# TODO: make this work with the regular rake command
script: "bundle exec rake spec"
gemfile:
- Gemfile
before_script:
- mysql -e 'create database database_cleaner_test;'
- psql -c 'create database database_cleaner_test;' -U postgres
- cp db/sample.config.yml db/config.yml
services:
- mongodb
matrix:
allow_failures:
- rvm: 2.0.0
``` |
352b5563-6cb6-428f-8184-8896c8de2213 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "3.7-dev"
- "3.6"
- "3.5"
- "3.4"
- "3.3"
- "2.7"
- "pypy"
install:
- "pip install wheel"
- "pip install -r requirements-dev.txt"
script:
- "pytest"
- "python setup.py bdist_wheel -d dist"
after_success:
- codecov
- "pip install dist/*.whl"
- "python -c 'import statsdmetrics'"
- "python -c 'from statsdmetrics.client import Client'"
- "python -c 'from statsdmetrics.client.tcp import TCPClient'"
notifications:
email: false
```
Remove Python 3.3 from Travis config file | ```yaml
language: python
python:
- "3.7-dev"
- "3.6"
- "3.5"
- "3.4"
- "2.7"
- "pypy"
install:
- "pip install wheel"
- "pip install -r requirements-dev.txt"
script:
- "pytest"
- "python setup.py bdist_wheel -d dist"
after_success:
- codecov
- "pip install dist/*.whl"
- "python -c 'import statsdmetrics'"
- "python -c 'from statsdmetrics.client import Client'"
- "python -c 'from statsdmetrics.client.tcp import TCPClient'"
notifications:
email: false
``` |
9cb21a07-739b-4564-be07-87a03e494b44 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "iojs"
before_install:
- npm install -g npm
before_script:
- npm install -g grunt-cli
matrix:
fast_finish: true
```
Test specific 4.x LTS NodeJS branches and latest 5.x.x branch | ```yaml
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4.0"
- "4.1"
- "4.2"
- "5"
- "iojs"
before_install:
- npm install -g npm
before_script:
- npm install -g grunt-cli
matrix:
fast_finish: true
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.