Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Make Travis CI limit the Git clone depth even more | # For more information about the configurations used
# in this file, please see the Travis CI documentation:
# http://docs.travis-ci.com
before_script:
- ./test/setup/setup.sh
env:
global:
- BUILD_DIR="$TRAVIS_BUILD_DIR"
- SERVER_SPECIFIC_TESTS="test/tests.js"
language: node_js
matrix:
include:
#... | # For more information about the configurations used
# in this file, please see the Travis CI documentation:
# http://docs.travis-ci.com
before_script:
- ./test/setup/setup.sh
env:
global:
- BUILD_DIR="$TRAVIS_BUILD_DIR"
- SERVER_SPECIFIC_TESTS="test/tests.js"
git:
depth: 10
language: node_js
matrix:... |
Build with Node.js 0.12 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '4'
- '5'
- '6'
branches:
only:
- master
- travis-ci
before_install:
- for dir in prolific*; do (cd $dir && npm install); done
- npm install
- npm install istanbul coveralls
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
- '6'
branches:
only:
- master
- travis-ci
before_install:
- for dir in prolific*; do (cd $dir && npm install); done
- npm install
- npm install istanbul coveralls
|
Update Scala versions used for CI | language: scala
scala:
- 2.10.4
- 2.11.4
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
- openjdk6
sudo: false
script: sbt ++$TRAVIS_SCALA_VERSION test doc
cache:
directories:
- $HOME/.ivy2
| language: scala
scala:
- 2.10.6
- 2.11.8
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
- openjdk6
sudo: false
script: sbt ++$TRAVIS_SCALA_VERSION test doc
cache:
directories:
- $HOME/.ivy2
|
Add debug-level logging to Travis build | language: java
jdk: oraclejdk8
env:
- TEST_SUITE=test
- TEST_SUITE=testDeterministic
script: "gradle --stacktrace $TEST_SUITE --info"
sudo: false
| language: java
jdk: oraclejdk8
env:
- TEST_SUITE=test
- TEST_SUITE=testDeterministic
script: "gradle --stacktrace $TEST_SUITE --debug"
sudo: false
|
Use the exisiting virtualenv for platter install | language: python
python:
- "2.7"
- "3.4"
cache:
directories:
- $HOME/.pip-cache/
- /home/travis/virtualenv/python2.7
- /home/travis/virtualenv/python3.4
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update -qq
- sudo apt-get install -y libgdal1h gdal-bin libgdal-d... | language: python
python:
- "2.7"
- "3.4"
cache:
directories:
- $HOME/.pip-cache/
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update -qq
- sudo apt-get install -y libgdal1h gdal-bin libgdal-dev
- wget https://s3.amazonaws.com/mapbox/rasterio/rasterio-0.25.0-$TRAVIS_PYT... |
Disable beta channel tests on Travis for now | ### Project specific config ###
language: generic
env:
global:
- APM_TEST_PACKAGES=""
- ATOM_LINT_WITH_BUNDLED_NODE="true"
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
os:
- linux
- osx
### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master... | ### Project specific config ###
language: generic
env:
global:
- APM_TEST_PACKAGES=""
- ATOM_LINT_WITH_BUNDLED_NODE="true"
matrix:
- ATOM_CHANNEL=stable
# Disable automatic beta channel tests until build is fixed: https://github.com/atom/atom/issues/14061
# - ATOM_CHANNEL=beta
os:
- linux
... |
Remove node 0.8 build due to issues with npm and caret versioning. | language: node_js
node_js:
- "0.10"
- "0.8"
before_script:
- npm install grunt-cli -g
| language: node_js
node_js:
- "0.10"
before_script:
- npm install grunt-cli -g
|
Remove atom-beta from test targets | notifications:
email:
on_success: never
on_failure: change
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
git:
depth: 10
sudo: false
os:
- linux
- osx
env:
global:
- APM_TEST_PACKAGES=""
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
| notifications:
email:
on_success: never
on_failure: change
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
git:
depth: 10
sudo: false
os:
- linux
- osx
env:
global:
- APM_TEST_PACKAGES=""
matrix:
- ATOM_CHANNEL=stable
|
Test with Node.js 4.2 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm instal... | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- ... |
Change to lock bundler version | ---
language: ruby
sudo: false
cache: bundler
bundler_args: --without yard guard benchmarks
before_install: "gem update bundler"
script: "bundle exec rake ci"
rvm:
- 2.0.0
- 2.1.10
- 2.2.8
- 2.3.6
- 2.4.2
- ruby-head
- jruby-9000
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jru... | ---
language: ruby
sudo: false
bundler_args: --without yard guard benchmarks
before_install: "gem install bundler -v 0.16.0"
script: "bundle exec rake ci"
rvm:
- 2.0.0
- 2.1.10
- 2.2.8
- 2.3.6
- 2.4.2
- ruby-head
- jruby-9000
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-h... |
Update Travis-CI to correct an error | language: java
jdk:
- oraclejdk8
branches:
only:
- master
- develop
install:./gradlew assemble -P -PsonatypeUsername=argius -PsonatypePassword=
script: ./gradlew test -P -PsonatypeUsername=argius -PsonatypePassword=
| language: java
jdk:
- oraclejdk8
branches:
only:
- master
- develop
install: ./gradlew assemble -P -PsonatypeUsername=argius -PsonatypePassword=
script: ./gradlew test -P -PsonatypeUsername=argius -PsonatypePassword=
|
Test against Ruby 2.4.0 on Travis CI | language: ruby
rvm:
- 2.2.6
- 2.3.3
script: bundle exec rake ci
sudo: false
cache: bundler
| language: ruby
rvm:
- 2.2.6
- 2.3.3
- 2.4.0
script: bundle exec rake ci
sudo: false
cache: bundler
|
Update Travis CI build notifications | language: java
notifications:
slack:
secure: RjfdNGBPKLrPRlFJGFe7aF0xs8RNkqYvXDy/zZ4WXXIAhQ0Wm8ekb3sVnT78KtaFduZBhiR/3/O7VNmhdU/72kfGRDYT9NT3WEABYqUNG2KTnSOhr5+lhY0T7Jnq/wJsbRnUQHdctYWs5TKeksK3R4Ra1/GiaGJ9h+h1EkbhPAA=
| language: java
notifications:
slack:
secure: KJ7CEjnt7eyoGgcFhlwZS5p+PQBoTdV9H9/Kii0JmG0L0SRgzOh0r41zdoU49TdPJD5Y0/z135TYBms+ce4Cd/yiVc3jVeGevziHDnlHT0JS0MBG7RR3yLbgHcVVdIGA5bAJcByGkHM8Mgi0jOIB9Wt/NwwqNmlIYASS6kvsqOo=
|
Use the built in composer | language: php
php:
- 5.4
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar update
- cd package/Aura.Framework/tests
script: phpunit
| language: php
php:
- 5.4
before_script:
- composer update
- cd package/Aura.Framework/tests
script: phpunit
|
Expand Python test matrix with pyenv | language: rust
dist: trusty
sudo: false
group: beta
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
env:
- CARGO_FEATURES=python27-sys PYTHON_SYS_EXECUTABLE=python2
- CARGO_FEATURES=python3-sys PYTHON_SYS_EXECUTABLE=python3
before_script:
- 'export LD_LIBRARY_PATH="$($PYTHON_S... | language: rust
dist: trusty
sudo: false
group: beta
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
- env: "CARGO_FEATURES=python3-sys PYENV_VERSION=3.7-dev"
env:
- CARGO_FEATURES=python27-sys PYENV_VERSION=2.7.13
- CARGO_FEATURES=python3-sys PYENV_VERSION=3.3.6
- CARGO_FE... |
Allow failure of ruby- and jruby-head | language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
- jruby-head
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
|
Remove testing against multiple jdks as it blows of matrix | language: ruby
before_install: gem install bundler
script: bundle exec rake spec
rvm:
- ree
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-head
- rbx-18mode
- rbx-19mode
- jruby-18mode
- jruby-19mode
- jruby-head
jdk:
- openjdk6
- openjdk7
- oraclejdk7
| language: ruby
before_install: gem install bundler
script: bundle exec rake spec
rvm:
- ree
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-head
- rbx-18mode
- rbx-19mode
- jruby-18mode
- jruby-19mode
- jruby-head
|
Remove java7 build constraints. Api Compiler is moving to java8 only for open source build. | sudo: false
language: java
jdk:
- oraclejdk8
- openjdk7
before_install:
- wget https://github.com/google/protobuf/releases/download/v3.0.0-beta-3/protoc-3.0.0-beta-3-linux-x86_64.zip
- unzip protoc-3.0.0-beta-3-linux-x86_64.zip
- export PROTOC_COMPILER="$(pwd)/protoc"
os:
- linux
| sudo: false
language: java
jdk:
- oraclejdk8
before_install:
- wget https://github.com/google/protobuf/releases/download/v3.0.0-beta-3/protoc-3.0.0-beta-3-linux-x86_64.zip
- unzip protoc-3.0.0-beta-3-linux-x86_64.zip
- export PROTOC_COMPILER="$(pwd)/protoc"
os:
- linux
|
Add deployment based on tags to Travis | language: python
python:
- "3.5"
- "nightly"
install:
- pip install tox coveralls
script:
- if [[ $TRAVIS_PYTHON_VERSION != nightly ]]; then tox; fi
- if [[ $TRAVIS_PYTHON_VERSION == nightly ]]; then tox -e py36-pytest28,py36-pytest29,py36-pytest30; fi
after_success:
- coveralls
| language: python
python:
- "3.5"
- "nightly"
install:
- pip install tox coveralls
script:
- if [[ $TRAVIS_PYTHON_VERSION != nightly ]]; then tox; fi
- if [[ $TRAVIS_PYTHON_VERSION == nightly ]]; then tox -e py36-pytest28,py36-pytest29,py36-pytest30; fi
after_success:
- coveralls
deploy:
provider: pypi... |
Print the changelog as part of the build process | language: python
python:
- "2.7"
install:
- sudo apt-get update
script:
- cp -a dot-gnupg ~/.gnupg
- chmod 0600 ~/.gnupg/*
- ./do.sh
- find alpine/debian
| language: python
python:
- "2.7"
install:
- sudo apt-get update
script:
- cp -a dot-gnupg ~/.gnupg
- chmod 0600 ~/.gnupg/*
- ./do.sh
- find alpine/debian
- cat alpine/debian/changelog
|
Test in OSX as well | language: bash
script:
- ./test/parameter-spec.sh
notifications:
email: false
os:
- linux
| language: bash
script:
- ./test/parameter-spec.sh
notifications:
email: false
os:
- linux
- osx
|
Use default install and script tasks for Travis CI | sudo: false
language: ruby
cache: bundler
rvm:
- 2.1
- 2.2
- 2.3.0
install:
- bundle install --without development
script: bundle exec rake
branches:
only:
- master
addons:
code_climate:
repo_token: 8850bccc6911d74965627b1fafe753beb368fab00d33de0c7576c6598fc1220e
notifications:
webhooks:
url... | sudo: false
language: ruby
cache: bundler
rvm:
- 2.1
- 2.2
- 2.3.0
branches:
only:
- master
addons:
code_climate:
repo_token: 8850bccc6911d74965627b1fafe753beb368fab00d33de0c7576c6598fc1220e
notifications:
webhooks:
urls:
- http://publify_hook.ookook.fr/travisci
on_success: always
... |
Set Travis to use Ruby 2.1 | language: ruby
sudo: false
cache: bundler
install:
- bundle install --retry=3
script:
- rake travis
| language: ruby
rvm:
- 2.1.5
sudo: false
cache: bundler
install:
- bundle install --retry=3
script:
- rake travis
|
Add Python 3.3 as a test target. | language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "pypy"
install:
- pip install pep8 --use-mirrors
- pip install coverage --use-mirrors
- "if [[ $TRAVIS_PYTHON_VERSION == *2.[56]* ]]; then pip install unittest2; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == *2.5* ]]; then pip install simple... | language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
install:
- pip install pep8 --use-mirrors
- pip install coverage --use-mirrors
- "if [[ $TRAVIS_PYTHON_VERSION == *2.[56]* ]]; then pip install unittest2; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == *2.5* ]]; then pip inst... |
Install yarn in Travis CI install step. | language: scala
script:
- ./bin/runci.sh $CI_TEST
jdk:
- oraclejdk8
env:
matrix:
- CI_TEST: test
cache:
directories:
- $HOME/.sbt/0.13/dependency
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache
- $HOME/.coursier
before_cache:
- du -h -d 1 $HOME/.ivy2/cache
- du -h -d 2 $H... | language: scala
script:
- ./bin/runci.sh $CI_TEST
jdk:
- oraclejdk8
env:
matrix:
- CI_TEST: test
cache:
yarn: true
directories:
- $HOME/.sbt/0.13/dependency
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache
- $HOME/.coursier
before_install:
- curl -o- -L https://yarnpkg.com... |
Fix quoting for removal test | language: python
python:
"2.7_with_system_site_packages"
install:
./makepackage.sh
script:
- sudo dpkg -i ./.build/fusepp_0.1-1.deb || true
- sudo apt-get -f install --yes
- sudo pip install psutil --upgrade
- sudo pip install fusepy
- /usr/local/bin/fusepp.py --test
- sudo dpkg -r fus... | language: python
python:
"2.7_with_system_site_packages"
install:
./makepackage.sh
script:
- sudo dpkg -i ./.build/fusepp_0.1-1.deb || true
- sudo apt-get -f install --yes
- sudo pip install psutil --upgrade
- sudo pip install fusepy
- /usr/local/bin/fusepp.py --test
- sudo dpkg -r fus... |
Add PEP-8 exception to ignore Sphynx's conf.py | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
env:
- PEP8_IGNORE=""
# command to install dependencies
install:
- pip install coverage --use-mirrors
- pip install coveralls --use-mirrors
- pip install pep8 --use-mirrors
# command to run tests
# require 100% cove... | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
env:
- PEP8_IGNORE=""
# command to install dependencies
install:
- pip install coverage --use-mirrors
- pip install coveralls --use-mirrors
- pip install pep8 --use-mirrors
# command to run tests
# require 100% cove... |
Test Ruby 2.0.0 not 2.0 as the alias updated. | language: ruby
notifications:
email:
- parndt@gmail.com
script: bundle exec rspec spec
env:
- DB=sqlite3
- DB=sqlite3mem
- DB=postgresql
- DB=mysql
rvm:
- 2.0
- 1.9.3
- 1.8.7
- rbx-19mode
- jruby-19mode
- rbx-18mode
- jruby-18mode
gemfile:
- gemfiles/Gemfile.rails-3.0.rb
- gemfiles/Gemfi... | language: ruby
notifications:
email:
- parndt@gmail.com
script: bundle exec rspec spec
env:
- DB=sqlite3
- DB=sqlite3mem
- DB=postgresql
- DB=mysql
rvm:
- 2.0.0
- 1.9.3
- 1.8.7
- rbx-19mode
- jruby-19mode
- rbx-18mode
- jruby-18mode
gemfile:
- gemfiles/Gemfile.rails-3.0.rb
- gemfiles/Gem... |
Add a CI run that verifies the package with locked dependencies | language: php
sudo: false
php:
- 7.3
- 7.4
env:
- DEPENDENCIES=""
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- DEPENDENCIES="--classmap-authoritative"
- DEPENDENCIES="--no-scripts"
before_script:
# aliasing current branch as `master`, since otherwise composer cannot determine the current branch-... | language: php
sudo: false
php:
- 7.4
env:
- LOCKED_DEPENDENCIES=1
- DEPENDENCIES=""
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- DEPENDENCIES="--classmap-authoritative"
- DEPENDENCIES="--no-scripts"
before_script:
# aliasing current branch as `master`, since otherwise composer cannot determine t... |
Remove ruby 2.3 from Travis CI due to EoL | language: ruby
rvm:
- 2.3.8
- 2.4.5
- 2.5.5
- 2.6.2
addons:
apt:
packages:
- libleveldb-dev | language: ruby
rvm:
- 2.4.5
- 2.5.5
- 2.6.2
addons:
apt:
packages:
- libleveldb-dev |
Disable carthage build for now | language: objective-c
osx_image: xcode7.2
env:
- TEST_CONFIG="RELEASE"
# - TEST_CONFIG="PODS"
- TEST_CONFIG="CARTHAGE"
before_install:
- brew update
- brew install carthage
install: true
script:
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then script/cibuild Persistent Persistent-iOS ; fi
- if [[ "$TEST... | language: objective-c
osx_image: xcode7.2
env:
- TEST_CONFIG="RELEASE"
# - TEST_CONFIG="PODS"
# - TEST_CONFIG="CARTHAGE"
before_install:
- brew update
- brew install carthage
install: true
script:
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then script/cibuild Persistent Persistent-iOS ; fi
- if [[ "$TEST... |
Add c package that needs installing | # This is the simple Travis configuration, which is intended for use
# on applications which do not require cross-platform and
# multiple-GHC-version support. For more information and other
# options, see:
#
# https://docs.haskellstack.org/en/stable/travis_ci/
#
# Copy these contents into the root directory of your Git... | # This is the simple Travis configuration, which is intended for use
# on applications which do not require cross-platform and
# multiple-GHC-version support. For more information and other
# options, see:
#
# https://docs.haskellstack.org/en/stable/travis_ci/
#
# Copy these contents into the root directory of your Git... |
Add Node 9 to Travis | dist: trusty
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
- "8"
git:
depth: 1
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
directories:
- $HOME/.npm
- node_modules
before_script:
- node --version
- npm --version
- npm install -g gulp
script:
- npm test
matri... | dist: trusty
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
git:
depth: 1
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
directories:
- $HOME/.npm
- node_modules
before_script:
- node --version
- npm --version
- npm install -g gulp
script:
- npm tes... |
Remove upfront execution of tests (run with coverage later) | # https://travis-ci.org/bittner/django-organice
language: python
python:
- "2.6"
- "2.7"
cache:
directories:
- $HOME/.pip-cache/
install:
- python setup.py install
- pip install flake8
- pip install coveralls
before_script:
- mkdir -p shippable/codecoverage
- mkdir -p shippable/testresults
- flake... | # https://travis-ci.org/bittner/django-organice
language: python
python:
- "2.6"
- "2.7"
cache:
directories:
- $HOME/.pip-cache/
install:
- python setup.py install
- pip install flake8
- pip install coveralls
before_script:
- mkdir -p shippable/codecoverage
- mkdir -p shippable/testresults
- flake... |
Extend build matrix with more JDK versions | language: java
# Seems Travis CI no longer supports openjdk6 or oraclejdk7
# https://github.com/travis-ci/travis-ci/issues/7884#issuecomment-308451879
dist: trusty
jdk:
- openjdk7
- oraclejdk8
# - oraclejdk9
install: mvn install -DskipTests=true -Dgpg.skip=true
script:
- mvn clean verify -Dgpg.skip=true
af... | # Documentation relevant to this build configuration file:
#
# https://docs.travis-ci.com/user/languages/java/
language: java
# Travis provides different sets of JDKs for different Ubuntu distributions:
#
# https://docs.travis-ci.com/user/languages/java/#testing-against-multiple-jdks
matrix:
include:
- os: lin... |
Change comparision commit to $TRAVIS_COMMIT | sudo: required
language: cpp
dist: precise
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
# - g++-4.9
- clang-format-3.8
script:
- cd $TRAVIS_BUILD_DIR
- git fetch origin master:master
- ./scripts/travis/run_clang_format_diff.sh master $TRAVIS_BRANCH
| sudo: required
language: cpp
dist: precise
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
# - g++-4.9
- clang-format-3.8
script:
- cd $TRAVIS_BUILD_DIR
- ./scripts/travis/run_clang_format_diff.sh master $TRAVIS_COMMIT
|
Test on the latest version of PHP | language: php
php:
- 5.6
- 7.0
- 7.1
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
install:
- composer self-update
- composer update $COMPOSER_OPTS
script:
- ./vendor/bin/phpunit
- ./tests/lint.sh
git:
depth: 1
| language: php
php:
- 5.6
- 7.0
- 7.1
- nightly
matrix:
allow_failures:
- php: nightly
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
install:
- composer self-update
- composer update $COMPOSER_OPTS
script:
- ./vendor/bin/phpunit
- ./tests/lint.sh
git:
depth: 1
|
Update Ruby versions for Travis CI | language: ruby
sudo: false
services:
- mysql
rvm:
- 2.4.9
- 2.5.7
- 2.6.5
- 2.7.0
gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_6.0.gemfile
before_install:
- "[[ $BUNDLE_GEMFILE =~ rails_4\\.2 ]] && gem... | language: ruby
sudo: false
services:
- mysql
rvm:
- 2.4.10
- 2.5.8
- 2.6.6
- 2.7.1
gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_6.0.gemfile
before_install:
- "[[ $BUNDLE_GEMFILE =~ rails_4\\.2 ]] && ge... |
Remove --use-mirrors from pip command | language: python
python:
- "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
env:
- REQFILE=requirements.txt
- REQFILE=hamcrest.txt
install: pip install -r $REQFILE --use-mirrors
# command to run tests, e.g. python setup.py test
script: nosetests
matrix:
allow_failures... | language: python
python:
- "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
env:
- REQFILE=requirements.txt
- REQFILE=hamcrest.txt
install: pip install -r $REQFILE
# command to run tests, e.g. python setup.py test
script: nosetests
matrix:
allow_failures:
- env: R... |
Test on maintained Node.js versions | language: node_js
os: osx
osx_image: xcode7.3
node_js:
- "6"
- "5"
- "4"
- "0.12"
before_install:
- nvm use --delete-prefix $TRAVIS_NODE_VERSION
- uname -a
- sw_vers
- node --version
- npm --version
| language: node_js
os: osx
osx_image: xcode7.3
node_js:
- "7"
- "6"
- "4"
before_install:
- nvm use --delete-prefix $TRAVIS_NODE_VERSION
- uname -a
- sw_vers
- node --version
- npm --version
|
FIX chrome vesrion to stable | language: node_js
node_js:
- "7"
addons:
firefox: latest
chrome: "37.0.2062"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "export CHROME_BIN=google-chrome"
- sleep 3
| language: node_js
node_js:
- "7"
addons:
firefox: latest
chrome: stable
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "export CHROME_BIN=google-chrome"
- sleep 3
|
Test against PHP 7.4 and simplify test matrix | language: php
php:
# - 5.3 # requires old distro
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
# lock distro so new future defaults will not break the build
dist: trusty
matrix:
include:
- php: 5.3
dist: precise
install:
- composer install --no-interaction
script:
- vendor/bin/phpunit --c... | language: php
# lock distro so new future defaults will not break the build
dist: trusty
matrix:
include:
- php: 5.3
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
install:
- composer install --no-interaction
script... |
Improve the pattern of issue bot | name: "Intercept bad issue/PRs"
on: [issues, pull_request]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Auto close issues/pr that did not follow template
uses: roots/issue-closer@v1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-pattern: "\\[x\\] I have read"... | name: "Intercept bad issue/PRs"
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Auto close issues/pr that did not follow template
uses: roots/issue-closer@v1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
... |
Build POD example on CI. | name: Examples
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout with submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build s2 example
... | name: Examples
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout with submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build s2 example
... |
Update for new pystan version | package:
name: pystan
version: 2.4.0.3
source:
fn: pystan-2.4.0.3.tar.gz
url: https://pypi.python.org/packages/source/p/pystan/pystan-2.4.0.3.tar.gz
md5: 535a65e44b59430153134d1d802683e5
patches:
- windows_setup.patch [win]
requirements:
build:
- python
- setuptools
- numpy
- cyth... | package:
name: pystan
version: "2.5.0.1"
source:
fn: pystan-2.5.0.1.tar.gz
url: https://pypi.python.org/packages/source/p/pystan/pystan-2.5.0.1.tar.gz
md5: b53ba804147338288fce0f23da428871
patches:
- windows_setup.patch [win]
requirements:
build:
- python
- setuptools
- numpy
- cy... |
Clean up the exclude list so it's easier to read | # Site settings
title: the padded cell
email: ba@sanitarium.se
description: ""
baseurl: ""
url: "http://sanitarium.se"
twitter_username: gaqzi
github_username: gaqzi
facebook_username:
timezone: UTC
# Build settings
markdown: kramdown
highlighter: pygments
permalink: pretty
paginate: 5
exclude: ["less","node_modules"... | # Site settings
title: the padded cell
email: ba@sanitarium.se
description: ""
baseurl: ""
url: "http://sanitarium.se"
twitter_username: gaqzi
github_username: gaqzi
facebook_username:
timezone: UTC
# Build settings
markdown: kramdown
highlighter: pygments
permalink: pretty
paginate: 5
exclude:
- less
- node_modu... |
Add twitter account for twitter sharing. | # Site wide configuration
title: NIPY
description: A community portal for scientists, developers and hackers using Python to analyze neuorimaging data
logo: otsu.jpg # 120x120 px default image used for Twitter summary card
teaser: threeview.jpg # 400x250 px default teaser image used in image archive grid
locale:
url: ... | # Site wide configuration
title: NIPY
description: A community portal for scientists, developers and hackers using Python to analyze neuorimaging data
logo: otsu.jpg # 120x120 px default image used for Twitter summary card
teaser: threeview.jpg # 400x250 px default teaser image used in image archive grid
locale:
url: ... |
Change syntax highlighter to rouge | # Dependencies
markdown: redcarpet
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]
highlighter: pygments
# Permalinks
permalink: :year/:month/:day/:title
#relative_permalinks: true
# Setup
title: El Javi
tagline: 'Y... | # Dependencies
markdown: redcarpet
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]
highlighter: rouge
# Permalinks
permalink: :year/:month/:day/:title
#relative_permalinks: true
# Setup
title: El Javi
tagline: 'Yet ... |
Make sure the jq command is installed (needed by 'romana' script) | ---
- name: Install Romana binaries
# Workaround for S3 issue: Delete binaries first
file: path="{{ romana_dir }}/bin/{{ item }}" state=absent
with_items:
- ipam
- root
- tenant
- topology
- s3: region="{{ region }}" bucket="romana-binaries" object="core/latest/origin/{{ romana_core_branch }}/{{ ... | ---
- name: Install Romana binaries
# Workaround for S3 issue: Delete binaries first
file: path="{{ romana_dir }}/bin/{{ item }}" state=absent
with_items:
- ipam
- root
- tenant
- topology
- s3: region="{{ region }}" bucket="romana-binaries" object="core/latest/origin/{{ romana_core_branch }}/{{ ... |
Install jblas dependency on GitHub Actions | name: Tests
on: push
jobs:
gradle:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 13]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name:... | name: Tests
on: push
jobs:
gradle:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 13]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name:... |
Update actions/download-artifact action to v3 | ---
name: slsa
on:
push:
release:
types: [published, released]
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
shell: bash
- name: checkout repository
uses: actions/checkou... | ---
name: slsa
on:
push:
release:
types: [published, released]
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
shell: bash
- name: checkout repository
uses: actions/checkou... |
Update CI Rubies: JRuby / TruffleRuby | name: Test
on: [push, pull_request]
jobs:
test:
name: Ruby ${{ matrix.ruby }} (${{ matrix.os }})
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
ruby:
- 3.0
- 2.7
- 2.6
- jruby-9.2.19.0
- truffleruby-21.2.0
os... | name: Test
on: [push, pull_request]
jobs:
test:
name: Ruby ${{ matrix.ruby }} (${{ matrix.os }})
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
ruby:
- 3.0
- 2.7
- 2.6
- jruby-9.3.2
- truffleruby-21.3.0
os:
... |
Add more programs for installation | programs_apt:
- bsdgames
- bsdgames-nonfree
- cowsay
- exuberant-ctags
- fonts-hack-ttf
- fortune
- graphviz
- gthumb
- hovercraft
- htop
- jq
- libbz2-dev
- libncurses5
- libncurses5-dev
- libncursesw5
- libreadline-dev
- libsqlite3-dev
- manpages-dev
- manpages-posix-dev
- node... | programs_apt:
- bsdgames
- bsdgames-nonfree
- build-essential
- cmake
- cowsay
- curl
- dict
- dict-gcide
- dict-moby-thesaurus
- exuberant-ctags
- fonts-hack-ttf
- fortune
- git
- graphviz
- gthumb
- hovercraft
- htop
- jq
- keepass2
- libbz2-dev
- libclang-6.0-dev
- libncur... |
Use actual parameter in puppet to set bind-address | heat_template_version: ocata
description: >
Mysql client settings
parameters:
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefa... | heat_template_version: ocata
description: >
Mysql client settings
parameters:
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefa... |
Fix up Scrutinizer config format. | # .scrutinizer.yml
build:
environment:
php:
version: 7.1
tests:
override:
-
command: 'vendor/bin/phpunit --verbose --bootstrap test/bootstrap.php -c test/phpunit.xml.dist'
coverage:
file: 'tmp/coverage-clover.xml'
... | # .scrutinizer.yml
build:
environment:
php:
version: 7.1
tests:
override:
-
command: 'vendor/bin/phpunit --verbose --bootstrap test/bootstrap.php -c test/phpunit.xml.dist'
coverage:
file: 'tmp/coverage-clover.xml'
... |
Add sqlite config for database tests | imports:
- { resource: config_dev.yml }
framework:
test: ~
session:
storage_id: session.storage.mock_file
profiler:
collect: false
web_profiler:
toolbar: false
intercept_redirects: false
swiftmailer:
disable_delivery: true
| imports:
- { resource: config_dev.yml }
framework:
test: ~
session:
storage_id: session.storage.mock_file
profiler:
collect: false
web_profiler:
toolbar: false
intercept_redirects: false
swiftmailer:
disable_delivery: true
doctrine:
dbal:
driver: sqlite
... |
Add 2.1.2 to the build. | before_install:
- "script/clone_all_rspec_repos"
# Downgrade bundler to work around https://github.com/bundler/bundler/issues/3004
- gem install bundler -v=1.5.3
- alias bundle="bundle _1.5.3_"
bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
script: "script/run_build"
rvm:
- 1... | before_install:
- "script/clone_all_rspec_repos"
# Downgrade bundler to work around https://github.com/bundler/bundler/issues/3004
- gem install bundler -v=1.5.3
- alias bundle="bundle _1.5.3_"
bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
script: "script/run_build"
rvm:
- 1... |
Make pyyaml 3.12 a conda dependency instead of a pip one. | name: tardis
dependencies:
- python=2.7
- numpy=1.10
- scipy=0.17.0
- pandas=0.16.2
- pytables=3.2.2
- h5py=2.5
- matplotlib=1.4.3
- astropy=1.1.2
- numexpr=2.4.4
- Cython=0.21
- networkx=1.10
- pytest=2.9.1
- jsonschema=2.5.1
# RTD requirements
- sphinx=1.4.1
- nbconvert=4.2.0
- numpydoc=0.5
- docutils
- nbformat=4.... | name: tardis
dependencies:
- python=2.7
- numpy=1.10
- scipy=0.17.0
- pandas=0.16.2
- pytables=3.2.2
- h5py=2.5
- matplotlib=1.4.3
- astropy=1.1.2
- numexpr=2.4.4
- Cython=0.21
- networkx=1.10
- pytest=2.9.1
- pyyaml=3.12
- jsonschema=2.5.1
# RTD requirements
- sphinx=1.4.1
- nbconvert=4.2.0
- numpydoc=0.5
- docutils... |
Fix the service visibility for Symfony 4 | services:
### QPush Registry
uecode_qpush.registry:
class: Uecode\Bundle\QPushBundle\Provider\ProviderRegistry
uecode_qpush:
alias: uecode_qpush.registry
### QPush Default File Cache
uecode_qpush.file_cache:
class: Doctrine\Common\Cache\PhpFileCache
arguments: ['%ker... | services:
### QPush Registry
uecode_qpush.registry:
class: Uecode\Bundle\QPushBundle\Provider\ProviderRegistry
uecode_qpush:
alias: uecode_qpush.registry
public: true
### QPush Default File Cache
uecode_qpush.file_cache:
class: Doctrine\Common\Cache\PhpFileCache
... |
Use gcc-4.8 for libpostal C lib as well so compile doesn't take forever | language: node_js
node_js:
- "5"
- "4"
- "3"
- "2"
- "1.8"
- "1.0"
- "0.12"
- "0.10"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- libsnappy-dev
- realpath
install:
- if [ "$CC" = "gcc" ]; then export CC="g... | language: node_js
node_js:
- "5"
- "4"
- "3"
- "2"
- "1.8"
- "1.0"
- "0.12"
- "0.10"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- libsnappy-dev
- realpath
install:
- export CC="gcc-4.8"
- export CXX="g... |
Stop testing in Node 0.12 | sudo: false
language: node_js
node_js:
- 0.12
- 4
- node
install:
- npm install
script:
- npm run test
notifications:
email:
on_success: change
on_failure: always
deploy:
provider: npm
email: thibaudcolas@gmail.com
api_key:
secure: SeEYKGKe+DtwhswzCvnCSFAHaLGILQ3MPXIly29zNCuWlTSGIj56jhLDGmJkp2... | sudo: false
language: node_js
node_js:
- 4
- node
install:
- npm install
script:
- npm run test
notifications:
email:
on_success: change
on_failure: always
deploy:
provider: npm
email: thibaudcolas@gmail.com
api_key:
secure: SeEYKGKe+DtwhswzCvnCSFAHaLGILQ3MPXIly29zNCuWlTSGIj56jhLDGmJkp2L59RvU2bX... |
Remove support for older node versions | language: node_js
node_js:
- "0.11"
- "0.10"
- "0.8"
- "0.6" | language: node_js
node_js:
- "0.11"
- "0.10" |
Switch Travis CI to Xcode 8.3 | language: objective-c
osx_image: xcode8.2
env:
- LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
before_install: gem install xcpretty -N
script: "./Tests/travis.sh"
notifications:
slack:
secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe9NetzyNqWVN6URRFdcjvSnpah1kg2gGhIdkT5gvBT8HcP8OS6x/2lMFQsOhuA0mMoJ3tK3vhve10s3Mt8JvWqnEI... | language: objective-c
osx_image: xcode8.3
env:
- LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
before_install: gem install xcpretty -N
script: "./Tests/travis.sh"
notifications:
slack:
secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe9NetzyNqWVN6URRFdcjvSnpah1kg2gGhIdkT5gvBT8HcP8OS6x/2lMFQsOhuA0mMoJ3tK3vhve10s3Mt8JvWqnEI... |
Test in ChefDK to avoid gem install issues | language: ruby
bundler_args: --without kitchen_common kitchen_vagrant
cache: bundler
sudo: false
rvm:
- 2.1.9
script: bundle exec rake travis
| # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefd... |
Bump Django versions in Travis config. | language: python
sudo: false
python:
- "3.5"
- "3.4"
- "3.3"
- "2.7"
env:
- DJANGO_VERSION=1.8.8
- DJANGO_VERSION=1.9.1
install:
- pip install coverage>=4.0
- pip install flake8
- pip install -q Django==$DJANGO_VERSION
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.9.1
script:
- coverage run se... | language: python
sudo: false
python:
- "3.5"
- "3.4"
- "3.3"
- "2.7"
env:
- DJANGO_VERSION=1.8.9
- DJANGO_VERSION=1.9.2
install:
- pip install coverage>=4.0
- pip install flake8
- pip install -q Django==$DJANGO_VERSION
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.9.1
script:
- coverage run se... |
Test on all node versions | language: node_js
node_js:
- "0.10"
- "0.8" | language: node_js
node_js:
- "node"
- "6"
- "4"
- "0.12"
- "0.10"
- "0.8"
|
Reduce PHP support to 5.6, 7 and HHVM | language: php
php:
- 5.4
- 5.6
- 5.5
- 7
- hhvm
# run build against PHP 5.4 but allow them to fail
matrix:
fast_finish: true
allow_failures:
- php: 5.4
install:
- composer self-update
- composer global require "fxp/composer-asset-plugin:*"
- composer update
- composer info --installed
before_s... | language: php
php:
- 5.6
- 7
- hhvm
# run build against PHP 5.4 but allow them to fail
matrix:
fast_finish: true
install:
- composer self-update
- composer global require "fxp/composer-asset-plugin:*"
- composer update
- composer info --installed
before_script:
- mysql -e 'create database yii2_common_... |
Exclude version tags from Travis CI | language: node_js
sudo: required
dist: trusty
node_js:
- '6'
cache:
directories:
- node_modules
before_script:
- 'export DISPLAY=:99.0'
- sh -e /etc/init.d/xvfb start
- sleep 3
- npm install -g polymer-cli bower
- bower install
- gulp lint
before_deploy:
- openssl aes-256-cbc -K $encrypted_7ef9aab... | language: node_js
sudo: required
dist: trusty
node_js:
- '6'
cache:
directories:
- node_modules
branches:
except:
- /^v\d/
before_script:
- 'export DISPLAY=:99.0'
- sh -e /etc/init.d/xvfb start
- sleep 3
- npm install -g polymer-cli bower
- bower install
- gulp lint
before_deploy:
- openssl ... |
Make sure old and unstable nodes don't fail Travis | language: node_js
node_js:
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "0.4"
| language: node_js
node_js:
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
matrix:
fast_finish: true
allow_failures:
- node_js: "0.11"
- node_js: "0.9"
- node_js: "0.6"
- node_js: "0.4"
|
Enforce composer 1 during Travis builds | language: php
addons:
apt:
packages:
- ant
php:
- 7.2
- 7.3
- 7.4
matrix:
allow_failures:
- php: 7.3
- php: 7.4
cache:
directories:
- ~/.composer/cache/files
before_script:
- phpenv config-add travis.php.ini
- composer install --no-interaction
- curl -o- -L https://yarnpkg.co... | language: php
addons:
apt:
packages:
- ant
php:
- 7.2
- 7.3
- 7.4
matrix:
allow_failures:
- php: 7.3
- php: 7.4
cache:
directories:
- ~/.composer/cache/files
before_script:
- phpenv config-add travis.php.ini
- composer self-update --1
- composer install --no-interaction
- c... |
Test on the most recent ruby releases in Travis | sudo: false
dist: trusty
rvm:
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
# Don't install local development gems on Travis, use parallel gem downloads
bundler_args: --without development --jobs 7
# Only test master
branches:
only:
- master
script: bundle exec rake
| sudo: false
dist: trusty
rvm:
- 2.2.9
- 2.3.8
- 2.4.5
- 2.5.3
# Don't install local development gems on Travis, use parallel gem downloads
bundler_args: --without development --jobs 7
# Only test master
branches:
only:
- master
script: bundle exec rake
|
Fix Python versions in the Travis config | language: "python"
cache: "pip"
python:
- "3.5"
- "3.6"
- "3.7"
env:
global: # 'travis encrypt PYPI_PASSWORD=... GH_TOKEN=...'
- PYPI_USERNAME=honzajavorek
- secure: "fjvWMrCuRVznTg72qSofo6kDpVGnXKqOl/80Yt+J3gNUuMw1PnjE/PUkmVPjfYQWNEWaiu3pEb9DaqG4ZD3DQZZIb0GCF/geIKmZYaRE2sIaAMoSbwMjhxEabVHtWJoMfldN/qtz... | language: "python"
cache: "pip"
python:
- "3.5"
- "3.6"
env:
global: # 'travis encrypt PYPI_PASSWORD=... GH_TOKEN=...'
- PYPI_USERNAME=honzajavorek
- secure: "fjvWMrCuRVznTg72qSofo6kDpVGnXKqOl/80Yt+J3gNUuMw1PnjE/PUkmVPjfYQWNEWaiu3pEb9DaqG4ZD3DQZZIb0GCF/geIKmZYaRE2sIaAMoSbwMjhxEabVHtWJoMfldN/qtz09beGRvWcy... |
Update bundler before running Travis CI tests | language: ruby
rvm:
- 2.2.0
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rake db:test:prepare
- bundle exec rspec spec
before_script:
- gem update bundler
- cp config/database.travis.yml config/database.yml
- psql -c 'create database devcon_test' -U postgres
| language: ruby
rvm:
- 2.2.0
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rake db:test:prepare
- bundle exec rspec spec
before_script:
- cp config/database.travis.yml config/database.yml
- psql -c 'create database devcon_test' -U postgres
before_install:
- gem update bundler
|
Revert "Try changing to gcc 4.9 to see if we are hitting a compiler bug" | language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get -qq install g++-4.9
- sudo apt-get -qq install libprotobuf-dev
- sudo apt-get -qq install protobuf-compiler
- sudo apt-get -qq install libsnappy-dev
ins... | language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get -qq install g++-4.8
- sudo apt-get -qq install libprotobuf-dev
- sudo apt-get -qq install protobuf-compiler
- sudo apt-get -qq install libsnappy-dev
ins... |
Expand ci config to include explicit dependency cache and multiple node version support. | #
# TravisCI Configuration, https://docs.travis-ci.com/.
#
language: node_js
sudo: false
node_js:
- '6'
before_script:
- 'npm install'
script: 'npm run test'
| #
# TravisCI Configuration, https://docs.travis-ci.com/.
#
language: node_js
sudo: false
node_js:
- '6'
- '7'
- '8'
before_script:
- 'npm install'
script: 'npm run test'
cache:
directories:
- "node_modules"
|
Remove tests for Python 3+ also. | language: python
services:
- rabbitmq
# http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS
before_install:
- travis_retry sudo ./bootstrap/ubuntu.sh
- travis_retry sudo apt-get install --no-install-recommends nginx-light openssl
# using separate envs with different TOXENVs creates 4x1 Travis buil... | language: python
services:
- rabbitmq
# http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS
before_install:
- travis_retry sudo ./bootstrap/ubuntu.sh
- travis_retry sudo apt-get install --no-install-recommends nginx-light openssl
# using separate envs with different TOXENVs creates 4x1 Travis buil... |
Add homu webhook between Travis CI and our homu server | sudo: false
language: node_js
before_script:
- node_modules/.bin/gulp default
- ./index.js init
node_js:
- "iojs"
| sudo: false
language: node_js
before_script:
- node_modules/.bin/gulp default
- ./index.js init
node_js:
- "iojs"
notifications:
webhooks: http://utatane.softether.net:10800/travis
branches:
only:
- auto
|
Test node 4 and 6 on Travis | language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
sudo: false
before_script:
- npm run init
script:
- npm run testNode
| language: node_js
node_js:
- "4"
- "6"
sudo: false
before_script:
- npm run init
script:
- npm run testNode
|
Change Travis CI Node.js env to 6, 8, latest | language: node_js
node_js:
- 4
- 6
- node
cache: yarn
| language: node_js
node_js:
- 6
- 8
- node
|
Remove Node.js 0.11 unstable from the Travis CI builds | language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
after_script:
- npm run coveralls
deploy:
provider: npm
email: jeremie@astori.fr
api_key:
secure: HCyRwNsb61g+X4KsUrbePbOe51GReYkuzkRNokPZR8rtYH0UafmuvBXKxGgu6rPSomBNokCvVhziAwWfPog7behIAWzkhjQlbOgZKiKD1+aA5QL3y1Rel5Qi/PJ+/A45Wx2NIOnRVvSv9+NW3V5gW3/je4Fh3/... | language: node_js
node_js:
- '0.12'
- '0.10'
after_script:
- npm run coveralls
deploy:
provider: npm
email: jeremie@astori.fr
api_key:
secure: HCyRwNsb61g+X4KsUrbePbOe51GReYkuzkRNokPZR8rtYH0UafmuvBXKxGgu6rPSomBNokCvVhziAwWfPog7behIAWzkhjQlbOgZKiKD1+aA5QL3y1Rel5Qi/PJ+/A45Wx2NIOnRVvSv9+NW3V5gW3/je4Fh3/2cIGz0xr9... |
Fix build errors on Travis | before_install:
git config user.name "Travis CI"
language:
node_js
node_js:
- "0.12"
- "iojs"
after_script:
npm run coveralls
| branches: only:
- master
before_install:
git config user.name "Travis CI"
language:
node_js
node_js:
- "0.12"
- iojs
after_script:
npm run coveralls
|
Test against AR 4.1 and Ruby 2.1 | language: ruby
rvm:
- 1.9.3
- 2.0.0
env:
- ACTIVERECORD=2.3.8
- ACTIVERECORD=3.0.0
- ACTIVERECORD=3.1.0
- ACTIVERECORD=3.2.0
- ACTIVERECORD=4.0.0
matrix:
exclude:
- rvm: 1.9.3
env: ACTIVERECORD=2.3.8
- rvm: 2.0.0
env: ACTIVERECORD=2.3.8
- rvm: 2.0.0
env: ACTIVERECORD=3.0.0
... | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
env:
- ACTIVERECORD=2.3.8
- ACTIVERECORD=3.0.0
- ACTIVERECORD=3.1.0
- ACTIVERECORD=3.2.0
- ACTIVERECORD=4.0.0
- ACTIVERECORD=4.1.0
matrix:
exclude:
- rvm: 1.9.3
env: ACTIVERECORD=2.3.8
- rvm: 2.0.0
env: ACTIVERECORD=2.3.8
- rvm: 2.0.0... |
Switch due for zero for now | language: python
cache:
directories:
- "~/.platformio"
install:
- pip install -U platformio
env:
- BOARD=uno
- BOARD=mzeropro
- BOARD=due
script:
- set -eo pipefail;
for e in examples/*; do
platformio ci --board=$BOARD --lib=src $e/*;
done
| language: python
cache:
directories:
- "~/.platformio"
install:
- pip install -U platformio
env:
- BOARD=uno
- BOARD=mzeropro
- BOARD=zero
script:
- set -eo pipefail;
for e in examples/*; do
platformio ci --board=$BOARD --lib=src $e/*;
done
|
Drop back to simpler test script for Travis CI | # Config file for automatic testing at travis-ci.org
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
install:
- "pip install unittest2"
script:
- "unit2 discover logging_tree"
| # Config file for automatic testing at travis-ci.org
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
script:
- "python -m unittest logging_tree.tests.test_format logging_tree.tests.test_node"
|
Update the code climate API token | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
before_install:
- gem install bundler
gemfile:
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/mongoid_3.1.gemfile
- gemfiles/nobrainer.gemfile
addons:
code_climate:
... | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
before_install:
- gem install bundler
gemfile:
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/mongoid_3.1.gemfile
- gemfiles/nobrainer.gemfile
addons:
code_climate:
... |
Support recursive submodules in Travis | language: objective-c
xcode_workspace: onetimepassword.xcworkspace
xcode_scheme:
- OneTimePassword
- OneTimePasswordLegacy
xcode_sdk:
- iphonesimulator8.1
script: xcodebuild -workspace $TRAVIS_XCODE_WORKSPACE -scheme $TRAVIS_XCODE_SCHEME -sdk $TRAVIS_XCODE_SDK build test
| language: objective-c
xcode_workspace: onetimepassword.xcworkspace
xcode_scheme:
- OneTimePassword
- OneTimePasswordLegacy
xcode_sdk:
- iphonesimulator8.1
before_install: git submodule update --recursive
script: xcodebuild -workspace $TRAVIS_XCODE_WORKSPACE -scheme $TRAVIS_XCODE_SCHEME -sdk $TRAVIS_XCODE_SDK build te... |
Add py 3.9 and 3.10 to automatic tests | # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ master, dev ]
pull_request:
branches:... | # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ master, dev ]
pull_request:
branches:... |
Test for memory leaks with valgrind in Travis. | language: c
#os:
# - linux
# - osx
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -y yasm
- sudo apt-get install -qq gcc-4.8
script:
- cd src
- export KVZ_DISABLE_AVX2=1
- make && make tests
- if... | language: c
#os:
# - linux
# - osx
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -y yasm
- sudo apt-get install -qq gcc-4.8
- sudo apt-get install -qq valgrind
- sudo apt-get install -qq p7zip-full
-... |
Remove python 3.2 from test versions | language: python
python:
- "3.2"
- "3.3"
- "3.4"
- "3.5"
install: "pip install livestreamer"
script: python -m unittest discover
| language: python
python:
- "3.3"
- "3.4"
- "3.5"
install: "pip install livestreamer"
script: python -m unittest discover
|
Use node 4.4 and install global npm deps before install script | language: node_js
node_js:
- 5.4
before_install:
- npm install -g npm@2.7.5 grunt-cli
before_script:
- npm install -g codeclimate-test-reporter
after_script:
- codeclimate-test-reporter < test/coverage/**/lcov.info
| language: node_js
node_js:
- 4.4
before_install:
- npm install -g grunt-cli codeclimate-test-reporter
after_script:
- codeclimate-test-reporter < test/coverage/**/lcov.info
|
Add Laravel 5.4 to Travis | sudo: false
language: php
php:
- 5.6
- 7.0
- hhvm
env:
- LARAVEL_VERSION="5.1.*"
- LARAVEL_VERSION="5.2.*"
- LARAVEL_VERSION="^5.3"
before_script:
- composer self-update
- composer require laravel/framework:$LARAVEL_VERSION --no-update
- composer install --prefer-source --no-interaction --dev
scr... | sudo: false
language: php
php:
- 5.6
- 7.0
- hhvm
env:
- LARAVEL_VERSION="5.1.*"
- LARAVEL_VERSION="5.2.*"
- LARAVEL_VERSION="5.3.*"
- LARAVEL_VERSION="5.4.*"
before_script:
- composer self-update
- composer require laravel/framework:$LARAVEL_VERSION --no-update
- composer install --prefer-sourc... |
Support node 0.10 only - 0.8 always fails Travis builds | language: node_js
node_js:
- '0.10'
- '0.8'
before_script:
- npm install -g grunt-cli
| language: node_js
node_js:
- '0.10'
before_script:
- npm install -g grunt-cli
|
Reduce the number of builds performed by Travis CI to (I think) the essentials. | language: php
php:
- 5.4
env:
- SYMFONY_VERSION="2.3.*"
- SYMFONY_VERSION="2.6.*"
- SYMFONY_VERSION="2.7.*@dev"
# - SYMFONY_VERSION="3.0.*@dev"
before_script:
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
script:
- php ./vendor/phpunit/phpunit/phpunit --coverage-clover=coverage.clove... | language: php
php:
- 5.4
env:
- SYMFONY_VERSION="2.3.*"
- SYMFONY_VERSION="2.6.*"
# - SYMFONY_VERSION="3.0.*@dev"
before_script:
# - export COMPOSER_PATH=$(which composer)
# - echo ${COMPOSER_PATH}
# - php -d zend.gc_enabled=0 ${COMPOSER_PATH} -- require symfony/console:${SYMFONY_VERSION} symfony/framewor... |
Add xcpretty for usable test output | language: generic
matrix:
include:
- os: osx
osx_image: xcode8.3
before_install:
- brew tap vapor/tap;
- brew update;
- brew install vapor;
install:
- rm -rf /usr/local/var/postgres
- initdb /usr/local/var/postgres -E utf8
- pg_ctl -D /usr/local/var/postgres start && sleep 3 || true
- sudo -... | language: generic
matrix:
include:
- os: osx
osx_image: xcode8.3
before_install:
- gem install xcpretty
- brew tap vapor/tap
- brew update
- brew install vapor
install:
- rm -rf /usr/local/var/postgres
- initdb /usr/local/var/postgres -E utf8
- pg_ctl -D /usr/local/var/postgres start && slee... |
Add support for testing in Python 3.3 | language: python
python:
- 2.5
- 2.6
- 2.7
- 3.2
install:
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then python bin/use2to3; cd py3k-sympy; fi
- python setup.py install
script:
# We change directories to make sure that python won't find the copy
# of sympy in the source directory.
- mkdir empty
- ... | language: python
python:
- 2.5
- 2.6
- 2.7
- 3.2
- 3.3
install:
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' -o $TRAVIS_PYTHON_VERSION == '3.3' ]]; then python bin/use2to3; cd py3k-sympy; fi
- python setup.py install
script:
# We change directories to make sure that python won't find the copy
# of sympy in... |
Revert "Include empty install instructions to silence TravisCI warning" | language: python
python:
- "2.7"
before_install:
# We need GraphViz to draw figures of graphs and lattices:
- "sudo apt-get install graphviz 2>&1 | tail -n 2"
# We need these to call GraphViz from Python:
- "pip install pydot pyparsing --use-mirrors | tail -n 2"
# We need NumPy, which currently isn't directly avail... | language: python
python:
- "2.7"
before_install:
# We need GraphViz to draw figures of graphs and lattices:
- "sudo apt-get install graphviz 2>&1 | tail -n 2"
# We need these to call GraphViz from Python:
- "pip install pydot pyparsing --use-mirrors | tail -n 2"
# We need NumPy, which currently isn't directly avail... |
Improve Travis CI build Performance | language: java
jdk:
- openjdk8
- openjdk11
notifications:
email: false
after_success:
- mvn clean test jacoco:report coveralls:report
arch:
- amd64
- ppc64le
| language: java
jdk:
- openjdk8
- openjdk11
notifications:
email: false
after_success:
- mvn clean test jacoco:report coveralls:report
arch:
- amd64
- ppc64le
cache:
directories:
- $HOME/.m2
|
Use binary protoc instead of building from source | language: haxe
cache:
directories:
- $HOME/.m2
- $HOME/flex_sdk
addons:
apt:
packages:
- protobuf-compiler
before_install:
- wget http://download.macromedia.com/pub/flex/sdk/flex_sdk_3.6.zip
- unzip -d $HOME/flex_sdk flex_sdk_3.6.zip
install:
- haxelib install haxelib-run
- git clone --b... | language: haxe
cache:
directories:
- $HOME/.m2
- $HOME/flex_sdk
addons:
apt:
packages:
- protobuf-compiler
before_install:
- wget http://download.macromedia.com/pub/flex/sdk/flex_sdk_3.6.zip
- unzip -d $HOME/flex_sdk flex_sdk_3.6.zip
install:
- haxelib install haxelib-run
- git clone --b... |
Revert changes in Travis.yml script | language: python
dist: xenial
python:
- "3.5"
before_install:
- sudo apt-get update
- sudo apt-get install apache2 apache2-dev
- sudo apt-get install python3-dev
- sudo apt-get install libssl-dev libcurl4-openssl-dev
- sudo apt-get install mysql-server libmysqlclient-dev
# command to install dependencies
in... | language: python
dist: xenial
python:
- "3.5"
before_install:
- sudo apt-get update
- sudo apt-get install apache2 apache2-dev
- sudo apt-get install python3-dev
- sudo apt-get install libssl-dev libcurl4-openssl-dev
- sudo apt-get install mysql-server libmysqlclient-dev
# command to install dependencies
in... |
Use relative path to tsc in Travis config | sudo: false
language: node_js
node_js:
- "6"
- "8"
- "10"
before_install:
- travis_retry npm install
- travis_retry npm install typescript
script:
- npm test
- tsc --version ; tsc -p test
matrix:
allow_failures:
- node_js: "10"
notifications:
email:
- travis@nodejitsu.com
irc: "irc.freenod... | sudo: false
language: node_js
node_js:
- "6"
- "8"
- "10"
before_install:
- travis_retry npm install
- travis_retry npm install typescript
script:
- npm test
- ./node_modules/.bin/tsc --version ; ./node_modules/.bin/tsc -p test
matrix:
allow_failures:
- node_js: "10"
notifications:
email:
- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.