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:
# Test for Apache 2.2.x
- env:
- APACHE_VERSION="2.2.x"
node_js: "0.10"
script:
- sudo service apache2 restart
- npm test
# Test for Apache 2.4.x
- env:
- APACHE_VERSION="2.4.x"
node_js: "0.10"
script:
- sudo /usr/local/apache2/bin/apachectl start
- npm test
| # 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:
include:
# Test for Apache 2.2.x
- env:
- APACHE_VERSION="2.2.x"
node_js: "0.10"
script:
- sudo service apache2 restart
- npm test
# Test for Apache 2.4.x
- env:
- APACHE_VERSION="2.4.x"
node_js: "0.10"
script:
- sudo /usr/local/apache2/bin/apachectl start
- npm test
|
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-dev
- wget https://s3.amazonaws.com/mapbox/rasterio/rasterio-0.25.0-$TRAVIS_PYTHON_VERSION-linux-x86_64.tar.gz
- tar xzf rasterio-0.25.0-$TRAVIS_PYTHON_VERSION-linux-x86_64.tar.gz
- ./.travis-install-platter.sh
install:
- pip install coveralls --cache-dir $HOME/.pip-cache
- pip install -e .[test] --cache-dir $HOME/.pip-cache
script:
- py.test --cov mbtiles --cov-report term-missing
after_success:
- coveralls
| 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_PYTHON_VERSION-linux-x86_64.tar.gz
- tar xzf rasterio-0.25.0-$TRAVIS_PYTHON_VERSION-linux-x86_64.tar.gz
- ./.travis-install-platter.sh /home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION
install:
- pip install -e .[test] --cache-dir $HOME/.pip-cache
script:
- py.test --cov mbtiles --cov-report term-missing
after_success:
- coveralls
|
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/build-package.sh
- chmod u+x build-package.sh
- ./build-package.sh
- './node_modules/.bin/flow'
# Needed to disable the auto-install step running `npm install`
install: true
notifications:
email: false
# branches:
# only:
# - master
git:
depth: 10
sudo: false
addons:
apt:
packages:
- build-essential
- git
- libgnome-keyring-dev
- fakeroot
code_climate:
repo_token: 87dc83c7f5b2b14f1d4ab2a155bcd69d2c097c4828e811027327705a6b1cd1a6
| ### 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
- osx
### 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
- './node_modules/.bin/flow'
# Needed to disable the auto-install step running `npm install`
install: true
notifications:
email: false
# branches:
# only:
# - master
git:
depth: 10
sudo: false
addons:
apt:
packages:
- build-essential
- git
- libgnome-keyring-dev
- fakeroot
code_climate:
repo_token: 87dc83c7f5b2b14f1d4ab2a155bcd69d2c097c4828e811027327705a6b1cd1a6
|
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 install
- npm install istanbul coveralls
| 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:
- npm install
- npm install istanbul coveralls
|
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: jruby-head
- rvm: jruby-9000
fast_finish: true
branches:
only: master
notifications:
email: false
| ---
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-head
- rvm: jruby-9000
fast_finish: true
branches:
only: master
notifications:
email: false
|
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_SYS_EXECUTABLE -c "import sysconfig; print(sysconfig.get_config_var(''LIBDIR''))"):$LD_LIBRARY_PATH"'
script:
- cargo build --verbose --no-default-features --features $CARGO_FEATURES
- cargo test --verbose --no-default-features --features $CARGO_FEATURES
| 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_FEATURES=python3-sys PYENV_VERSION=3.4.6
- CARGO_FEATURES=python3-sys PYENV_VERSION=3.5.3
- CARGO_FEATURES=python3-sys PYENV_VERSION=3.6.1
- CARGO_FEATURES=python3-sys PYENV_VERSION=3.7-dev
before_script:
- export PYENV_ROOT=$HOME/.pyenv-latest
- export PATH=$PYENV_ROOT/bin:$PATH
- git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT
- 'eval "$(pyenv init -)"'
- pyenv install $PYENV_VERSION
- 'export LD_LIBRARY_PATH="$(python -c "import sysconfig; print(sysconfig.get_config_var(''LIBDIR''))"):$LD_LIBRARY_PATH"'
script:
- cargo build --verbose --no-default-features --features $CARGO_FEATURES
- cargo test --verbose --no-default-features --features $CARGO_FEATURES
|
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
user: nicoddemus
password:
secure: bB4adUZVIkt31cmNklskyIDNehujKToGnStnlunp7P8CBF6CGeNqkYU17emAPvfZbTb/ClUpiO9r6AD1ej32Uyr+I8qUyhuYtHG3JGp+WRR/tw+ytAZIJ9i+PMjBv1RAdyLENJ/Tx0LKHKsABr8dQIieLFqKZJuT77f/5ZkvI/U=
on:
tags: true
distributions: sdist bdist_wheel
repo: pytest-dev/pytest-mock
|
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:
urls:
- http://publify_hook.ookook.fr/travisci
on_success: always
on_failure: never
on_start: never
| 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
on_failure: never
on_start: never
|
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 simplejson; fi"
script:
- pep8 *.py --ignore E501
- coverage run --omit *test.py msparser_test.py --verbose
- coverage report -m
notifications:
email:
- turcotte.mat@gmail.com
| 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 install simplejson; fi"
script:
- pep8 *.py --ignore E501
- coverage run --omit *test.py msparser_test.py --verbose
- coverage report -m
notifications:
email:
- turcotte.mat@gmail.com
|
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 $HOME/.sbt/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
- rm -rf $HOME/.ivy2/local
| 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/install.sh | bash -s -- --version 0.24.6
- export PATH=$HOME/.yarn/bin:$PATH
before_cache:
- du -h -d 1 $HOME/.ivy2/cache
- du -h -d 2 $HOME/.sbt/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
- rm -rf $HOME/.ivy2/local
|
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 fusepp
- [ ! -f /usr/local/bin/fusepp.py ]
notifications:
email:
- matyas.vegh@gmail.com
on_success: change
on_failure: always
| 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 fusepp
- [ '! -f /usr/local/bin/fusepp.py' ]
notifications:
email:
- matyas.vegh@gmail.com
on_success: change
on_failure: always
|
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% coverage (not including test files) to pass Travis CI test
# To skip pypy: - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then DOSTUFF ; fi
script:
- coverage run --source=toolz $(which nosetests) --with-doctest
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then coverage report --show-missing --fail-under=100 ; fi
- pep8 --ignore=$PEP8_IGNORE --show-source .
# load coverage status to https://coveralls.io
after_success:
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then coveralls ; fi
notifications:
email: false
| 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% coverage (not including test files) to pass Travis CI test
# To skip pypy: - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then DOSTUFF ; fi
script:
- coverage run --source=toolz $(which nosetests) --with-doctest
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then coverage report --show-missing --fail-under=100 ; fi
- pep8 --ignore=$PEP8_IGNORE --exclude=conf.py --show-source .
# load coverage status to https://coveralls.io
after_success:
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then coveralls ; fi
notifications:
email: false
|
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/Gemfile.rails-3.1.rb
- gemfiles/Gemfile.rails-3.2.rb
| 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/Gemfile.rails-3.1.rb
- gemfiles/Gemfile.rails-3.2.rb
|
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-alias
- git branch -D master || true
- git checkout -b master
- composer self-update
- composer update --prefer-dist $DEPENDENCIES
script:
- ./vendor/bin/psalm
# TODO see https://github.com/vimeo/psalm/issues/1881 https://github.com/Ocramius/PackageVersions/issues/90 :
# - ! ./vendor/bin/psalm test/static-analysis/unhappy-path/unexpected-package-name.php
- ./vendor/bin/phpunit --disallow-test-output --coverage-clover ./clover.xml
- if [[ $TRAVIS_PHP_VERSION = '7.3' && $DEPENDENCIES = '' ]]; then ./vendor/bin/phpcs; fi
- if [[ $TRAVIS_PHP_VERSION = '7.3' && $DEPENDENCIES = '' ]]; then ./vendor/bin/infection; fi
after_script:
- sh .travis.coverage.sh
| 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 the current branch-alias
- git branch -D master || true
- git checkout -b master
- composer self-update
- if [[ $LOCKED_DEPENDENCIES = '1' ]]; then composer install; fi
- if [[ $LOCKED_DEPENDENCIES = '' ]]; then composer update $DEPENDENCIES; fi
script:
- ./vendor/bin/psalm
# TODO see https://github.com/vimeo/psalm/issues/1881 https://github.com/Ocramius/PackageVersions/issues/90 :
# - ! ./vendor/bin/psalm test/static-analysis/unhappy-path/unexpected-package-name.php
- ./vendor/bin/phpunit --disallow-test-output --coverage-clover=clover.xml
- if [[ $LOCKED_DEPENDENCIES = '1' ]]; then ./vendor/bin/phpcs; fi
- if [[ $LOCKED_DEPENDENCIES = '1' ]]; then ./vendor/bin/infection --min-msi=100 --min-covered-msi=100; fi
after_script:
- sh .travis.coverage.sh
|
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_CONFIG" == "RELEASE" ]]; then xcodebuild test -scheme Persistent-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p' ; fi
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then xcodebuild build -scheme Persistent-watchOS -destination 'platform=watchOS Simulator,name=Apple Watch - 42mm' ; fi
- if [[ "$TEST_CONFIG" == "CARTHAGE" ]]; then carthage build --no-skip-current; fi
- if [[ "$TEST_CONFIG" == "PODS" ]]; then pod lib lint; fi
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/1d781e1bcbabade5de35
on_success: always
on_failure: always
on_start: always
| 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_CONFIG" == "RELEASE" ]]; then xcodebuild test -scheme Persistent-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p' ; fi
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then xcodebuild build -scheme Persistent-watchOS -destination 'platform=watchOS Simulator,name=Apple Watch - 42mm' ; fi
- if [[ "$TEST_CONFIG" == "CARTHAGE" ]]; then carthage build --no-skip-current; fi
- if [[ "$TEST_CONFIG" == "PODS" ]]; then pod lib lint; fi
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/1d781e1bcbabade5de35
on_success: always
on_failure: always
on_start: always
|
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 Github project in a file
# named .travis.yml
# Use new container infrastructure to enable caching
sudo: false
# Do not choose a language; we provide our own build tools.
language: generic
# Caching so the next build will be fast too.
cache:
directories:
- $HOME/.stack
# Ensure necessary system libraries are present
addons:
apt:
packages:
- libgmp-dev
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
# Build dependencies
- stack --no-terminal --install-ghc test --only-dependencies
script:
# Build the package, its tests, and its docs and run the tests
- stack --no-terminal test --haddock --no-haddock-deps
| # 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 Github project in a file
# named .travis.yml
# Use new container infrastructure to enable caching
sudo: false
# Do not choose a language; we provide our own build tools.
language: generic
# Caching so the next build will be fast too.
cache:
directories:
- $HOME/.stack
# Ensure necessary system libraries are present
addons:
apt:
packages:
- libgmp-dev
- libxrandr-dev
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
# Build dependencies
- stack --no-terminal --install-ghc test --only-dependencies
script:
# Build the package, its tests, and its docs and run the tests
- stack --no-terminal test --haddock --no-haddock-deps
|
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
matrix:
fast_finish: true
| 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 test
matrix:
fast_finish: true
|
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
- flake8
script:
- python setup.py test
- coverage run setup.py test
after_success:
- coverage report
- coverage xml
- coveralls
- mv coverage.xml shippable/codecoverage/
- mv unittests.xml shippable/testresults/
notifications:
slack:
rooms:
- organice:uPGToVwXE2IYAwn4hFFudPJ5#notifications
| # 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
- flake8
script:
- coverage run setup.py test
after_success:
- coverage report
- coverage xml
- coveralls
- mv coverage.xml shippable/codecoverage/
- mv unittests.xml shippable/testresults/
notifications:
slack:
rooms:
- organice:uPGToVwXE2IYAwn4hFFudPJ5#notifications
|
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
after_success:
- mvn -Pcoverage clean cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report
| # 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: linux
dist: precise
jdk: openjdk6
- os: linux
dist: precise
jdk: oraclejdk7
- os: linux
dist: trusty
jdk: openjdk7
- os: linux
dist: trusty
jdk: oraclejdk8
- os: linux
dist: trusty
jdk: oraclejdk9
- os: linux
dist: bionic
jdk: openjdk10
- os: linux
dist: bionic
jdk: openjdk11
install: mvn install -DskipTests=true -Dgpg.skip=true
script:
- mvn clean verify -Dgpg.skip=true
after_success:
- mvn -Pcoverage clean cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report
|
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 uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true"
- "[[ $BUNDLE_GEMFILE =~ rails_4\\.2 ]] && gem install bundler -v '< 2' || true"
before_script:
- RAILS_ENV=test bundle exec rake db:setup
matrix:
fast_finish: false
exclude:
- rvm: 2.4.9
gemfile: gemfiles/6.0.gemfile
| 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 ]] && gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true"
- "[[ $BUNDLE_GEMFILE =~ rails_4\\.2 ]] && gem install bundler -v '< 2' || true"
before_script:
- RAILS_ENV=test bundle exec rake db:setup
matrix:
fast_finish: false
exclude:
- rvm: 2.4.10
gemfile: gemfiles/6.0.gemfile
|
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:
- env: REQFILE=requirements.txt
| 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: REQFILE=requirements.txt
|
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 --coverage-text
| 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:
- vendor/bin/phpunit --coverage-text
|
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"
issue-close-message: ":wave: Hi @${issue.user.login},\n\nThis issue is being automatically closed because it does not follow the issue template."
pr-pattern: "\\[x\\] Bug|\\[x\\] New feat|\\[x\\] Break|\\[x\\] Doc|@dependabot"
pr-close-message: ":wave: Hi @${pull_request.user.login},\n\nThis PR is being automatically closed because it does not follow the PR template."
| 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 }}
issue-pattern: "(\\[x\\]|\\[X\\]) I have read"
issue-close-message: ":wave: Hi @${issue.user.login},\n\nThis issue is being automatically closed because it does not follow the issue template."
pr-pattern: "(\\[x\\]|\\[X\\]) (Bug fix|New feature|Breaking change|Documentation update)|@dependabot"
pr-close-message: ":wave: Hi @${pull_request.user.login},\n\nThis PR is being automatically closed because it does not follow the PR template."
|
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
working-directory: ./examples/s2
run: cargo build --all --verbose
- name: Build steam example
working-directory: ./examples/steam-mini
run: cargo build --all --verbose
- name: Build subclass example
working-directory: ./examples/subclass
run: cargo build --all --verbose
| 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
working-directory: ./examples/s2
run: cargo build --all --verbose
- name: Build steam example
working-directory: ./examples/steam-mini
run: cargo build --all --verbose
- name: Build subclass example
working-directory: ./examples/subclass
run: cargo build --all --verbose
- name: Build pod example
working-directory: ./examples/pod
run: cargo build --all --verbose
|
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
- cython
- msinttypes [win]
run:
- python
- numpy
- cython
test:
imports:
- pystan
about:
home: http://mc-stan.org/pystan.html
license: GPLv3
| 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
- cython
- msinttypes [win]
run:
- python
- numpy
- cython
test:
imports:
- pystan
about:
home: http://mc-stan.org/pystan.html
license: GPLv3
|
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","Gruntfile.js","package.json","README.md","LICENSE","css/bootstrap.css","css/clean-blog.css","js/bootstrap.js","js/clean-blog.js","js/jquery.js"]
| # 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
- Gruntfile.js
- package.json
- README.md
- LICENSE
- css/bootstrap.css
- css/clean-blog.css
- js/bootstrap.js
- js/clean-blog.js
- js/jquery.js
|
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: http://nipy.github.io
# Jekyll configuration
sass:
sass_dir: _sass
style: compressed
permalink: /:categories/:title/
kramdown:
toc_levels: 1..2
highlighter: pygments
gems:
- jekyll-sitemap
# Site owner
owner:
name: The NIPY Community
email: nipy-devel@neuroimaging.scipy.org
twitter:
google:
ad-client:
ad-slot:
bio:
avatar: bio-photo.jpg # 160x160 px image for author byline
disqus-shortname: nipy
exclude: ["lib", "config.rb", ".sass-cache", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "*.sublime-project", "*.sublime-workspace", "Gemfile", "Gemfile.lock", "README.md", "LICENSE", "node_modules", "Gruntfile.js", "package.json"]
| # 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: http://nipy.github.io
# Jekyll configuration
sass:
sass_dir: _sass
style: compressed
permalink: /:categories/:title/
kramdown:
toc_levels: 1..2
highlighter: pygments
gems:
- jekyll-sitemap
# Site owner
owner:
name: The NIPY Community
email: nipy-devel@neuroimaging.scipy.org
twitter: nipydev
google:
ad-client:
ad-slot:
bio:
avatar: bio-photo.jpg # 160x160 px image for author byline
disqus-shortname: nipy
exclude: ["lib", "config.rb", ".sass-cache", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "*.sublime-project", "*.sublime-workspace", "Gemfile", "Gemfile.lock", "README.md", "LICENSE", "node_modules", "Gruntfile.js", "package.json"]
|
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: 'Yet another dev blog'
url: http://javierholguera.github.io
baseurl: /
author:
name: 'Javier Holguera'
url: https://twitter.com/javierholguera
paginate: 5
# Custom vars
version: 2.1.0
github:
repo: https://github.com/poole/hyde
gems:
- jekyll-paginate
- jekyll-gist
| # 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 another dev blog'
url: http://javierholguera.github.io
baseurl: /
author:
name: 'Javier Holguera'
url: https://twitter.com/javierholguera
paginate: 5
# Custom vars
version: 2.1.0
github:
repo: https://github.com/poole/hyde
gems:
- jekyll-paginate
- jekyll-gist
|
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 }}/{{ item }}" dest="{{ romana_dir }}/bin/{{ item }}" mode=get
with_items:
- ipam
- root
- tenant
- topology
# Make the files executable
- file: path="{{ romana_dir }}/bin/{{ item }}" mode=0750
with_items:
- ipam
- root
- tenant
- topology
- name: Install config file
template: src="romana.conf.yml" dest="{{ romana_dir }}/etc/romana.conf.yml" mode=0644
- file: path="/home/ubuntu/bin/" mode=0775 state=directory
- name: Install romana tool
copy: src="../cmd/romana" dest="/home/ubuntu/bin/romana" mode=0775
| ---
- 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 }}/{{ item }}" dest="{{ romana_dir }}/bin/{{ item }}" mode=get
with_items:
- ipam
- root
- tenant
- topology
# Make the files executable
- file: path="{{ romana_dir }}/bin/{{ item }}" mode=0750
with_items:
- ipam
- root
- tenant
- topology
- name: Install config file
template: src="romana.conf.yml" dest="{{ romana_dir }}/etc/romana.conf.yml" mode=0644
# Make sure the bin directory exists
- file: path="/home/ubuntu/bin/" mode=0775 state=directory
# Ensure the jq tool is installed
- apt: pkg="{{ item }}"
with_items:
- jq
become: true
become_user: root
- name: Install romana tool
copy: src="../cmd/romana" dest="/home/ubuntu/bin/romana" mode=0775
|
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: Run tests
uses: eskatos/gradle-command-action@v1
with:
arguments: build
| 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: Install jblas dependency
run: sudo apt-get install -q libgfortran3
- name: Run tests
uses: eskatos/gradle-command-action@v1
with:
arguments: build
|
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/checkout@master
- name: create checksum file
run: find defaults handlers tasks templates -type f -exec sha256sum {} \; > ${{ env.REPOSITORY_NAME }}.sha256
- name: upload artifact
uses: actions/upload-artifact@v2
with:
path: ${{ env.REPOSITORY_NAME }}.sha256
generate-provenance:
needs: build
name: generate build provenance
runs-on: ubuntu-latest
steps:
- name: download build artifact
uses: actions/download-artifact@v2
- name: generate provenance
uses: slsa-framework/github-actions-demo@v0.1
with:
artifact_path: artifact/
- name: upload provenance
uses: actions/upload-artifact@v2
with:
path: build.provenance
| ---
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/checkout@master
- name: create checksum file
run: find defaults handlers tasks templates -type f -exec sha256sum {} \; > ${{ env.REPOSITORY_NAME }}.sha256
- name: upload artifact
uses: actions/upload-artifact@v2
with:
path: ${{ env.REPOSITORY_NAME }}.sha256
generate-provenance:
needs: build
name: generate build provenance
runs-on: ubuntu-latest
steps:
- name: download build artifact
uses: actions/download-artifact@v3
- name: generate provenance
uses: slsa-framework/github-actions-demo@v0.1
with:
artifact_path: artifact/
- name: upload provenance
uses: actions/upload-artifact@v2
with:
path: build.provenance
|
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:
- ubuntu-latest
- macos-latest
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Run tests
run: bundle exec rake
test-windows:
name: Ruby ${{ matrix.ruby }} (windows-latest)
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
ruby:
- 3.0
- 2.7
- 2.6
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Run tests
run: bundle exec rake
| 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:
- ubuntu-latest
- macos-latest
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Run tests
run: bundle exec rake
test-windows:
name: Ruby ${{ matrix.ruby }} (windows-latest)
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
ruby:
- 3.0
- 2.7
- 2.6
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Run tests
run: bundle exec rake
|
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
- nodejs
- openresolv
- openvpn-systemd-resolved
- pdf-presenter-console
- python-pygments
- snapd
- texlive-full
- tk-dev
- tmux
- tree
- xclip
- xsel
- zathura
- zlib1g-dev
- zsh
programs_snap:
- slack
- inkscape
| 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
- libncurses5
- libncurses5-dev
- libncursesw5
- libreadline-dev
- libsqlite3-dev
- llvm-6.0
- llvm-6.0-dev
- manpages-dev
- manpages-posix-dev
- nodejs
- openresolv
- openvpn-systemd-resolved
- pdf-presenter-console
- python-dev
- python-pip
- python-pygments
- python3-dev
- python3-pip
- python3-virtualenv
- shellcheck
- snapd
- stow
- texlive-full
- tk-dev
- tmux
- tree
- xclip
- xsel
- zathura
- zlib1g-dev
- zsh
programs_snap:
- slack
- inkscape
|
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 ServiceNetMapDefaults.
type: json
DefaultPasswords:
default: {}
type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
EnableInternalTLS:
type: boolean
default: false
outputs:
role_data:
description: Role for setting mysql client parameters
value:
service_name: mysql_client
config_settings:
tripleo::profile::base:database::mysql::client_bind_address: {get_param: [ServiceNetMap, MysqlNetwork]}
tripleo::profile::base::database::mysql::client::enable_ssl: {get_param: EnableInternalTLS}
step_config: |
include ::tripleo::profile::base::database::mysql::client
| 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 ServiceNetMapDefaults.
type: json
DefaultPasswords:
default: {}
type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
EnableInternalTLS:
type: boolean
default: false
outputs:
role_data:
description: Role for setting mysql client parameters
value:
service_name: mysql_client
config_settings:
tripleo::profile::base::database::mysql::client::mysql_client_bind_address: {get_param: [ServiceNetMap, MysqlNetwork]}
tripleo::profile::base::database::mysql::client::enable_ssl: {get_param: EnableInternalTLS}
step_config: |
include ::tripleo::profile::base::database::mysql::client
|
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'
format: 'clover'
| # .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'
format: 'clover'
|
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
host: localhost
dbname: db_test
user: db_user
password: db_pwd
charset: UTF8
memory: true
|
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.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- ruby-head
- ree
- jruby-18mode
- jruby
- jruby-head
- rbx
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
- rvm: rbx
fast_finish: true
| 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.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- 2.1.2
- ruby-head
- ree
- jruby-18mode
- jruby
- jruby-head
- rbx
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
- rvm: rbx
fast_finish: true
|
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.0.1
#Coverage requirements
- coverage=3.7.1
- requests=2.9.1
- docopt=0.6.2
- pytest-cov=2.2.1
- pip:
- nbsphinx
- sphinx_bootstrap_theme
- sphinxcontrib-bibtex
- sphinxcontrib-tikz
- coveralls
- pytest-html==1.10.0
- pyyaml==3.12
| 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
- nbformat=4.0.1
#Coverage requirements
- coverage=3.7.1
- requests=2.9.1
- docopt=0.6.2
- pytest-cov=2.2.1
- pip:
- nbsphinx
- sphinx_bootstrap_theme
- sphinxcontrib-bibtex
- sphinxcontrib-tikz
- coveralls
- pytest-html==1.10.0
|
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: ['%kernel.cache_dir%/qpush', qpush.php]
public: false
### QPush Event Listeners
uecode_qpush.request_listener:
class: Uecode\Bundle\QPushBundle\EventListener\RequestListener
arguments:
- '@event_dispatcher'
tags:
- { name: kernel.event_listener, event: kernel.request, priority: '%uecode_qpush.request_listener.priority%' }
### QPush Commands
uecode_qpush.build_command:
class: Uecode\Bundle\QPushBundle\Command\QueueBuildCommand
tags:
- { name: console.command }
uecode_qpush.destroy_command:
class: Uecode\Bundle\QPushBundle\Command\QueueDestroyCommand
tags:
- { name: console.command }
uecode_qpush.publish_command:
class: Uecode\Bundle\QPushBundle\Command\QueuePublishCommand
tags:
- { name: console.command }
uecode_qpush.receive_command:
class: Uecode\Bundle\QPushBundle\Command\QueueReceiveCommand
tags:
- { name: console.command }
| 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
arguments: ['%kernel.cache_dir%/qpush', qpush.php]
public: false
### QPush Event Listeners
uecode_qpush.request_listener:
class: Uecode\Bundle\QPushBundle\EventListener\RequestListener
arguments:
- '@event_dispatcher'
tags:
- { name: kernel.event_listener, event: kernel.request, priority: '%uecode_qpush.request_listener.priority%' }
### QPush Commands
uecode_qpush.build_command:
class: Uecode\Bundle\QPushBundle\Command\QueueBuildCommand
tags:
- { name: console.command }
uecode_qpush.destroy_command:
class: Uecode\Bundle\QPushBundle\Command\QueueDestroyCommand
tags:
- { name: console.command }
uecode_qpush.publish_command:
class: Uecode\Bundle\QPushBundle\Command\QueuePublishCommand
tags:
- { name: console.command }
uecode_qpush.receive_command:
class: Uecode\Bundle\QPushBundle\Command\QueueReceiveCommand
tags:
- { name: console.command }
|
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="gcc-4.8"; export CXX="g++-4.8"; fi
- mkdir deps
- git clone https://github.com/openvenues/libpostal
- cd libpostal
- ./bootstrap.sh
- ./configure --datadir=$(pwd)/data --prefix=$(realpath $(pwd)/..) --bindir=$(realpath $(pwd))
- make install
- cd ..
- export CXXFLAGS=-I$LDFLAGS:$(pwd)/deps/lib
- export LDFLAGS=-L$(pwd)/deps/lib
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/deps/lib
- npm install
script:
- npm test | 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++-4.8"
- mkdir deps
- git clone https://github.com/openvenues/libpostal
- cd libpostal
- ./bootstrap.sh
- ./configure --datadir=$(pwd)/data --prefix=$(realpath $(pwd)/..) --bindir=$(realpath $(pwd))
- make install
- cd ..
- export CXXFLAGS=-I$LDFLAGS:$(pwd)/deps/lib
- export LDFLAGS=-L$(pwd)/deps/lib
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/deps/lib
- npm install
script:
- npm test |
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+DtwhswzCvnCSFAHaLGILQ3MPXIly29zNCuWlTSGIj56jhLDGmJkp2L59RvU2bXSOswzYqOtAouuXdOZawPdzDZe6+MoVZVrNk2021rVhn64MMlEioaY1H17ugLT1IO71vG6V/eaGV8LlJr0AMFOr2zQvSkqmjD1c6Y=
on:
tags: true
repo: thibaudcolas/jsonresume-theme-eloquent
| 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+DtwhswzCvnCSFAHaLGILQ3MPXIly29zNCuWlTSGIj56jhLDGmJkp2L59RvU2bXSOswzYqOtAouuXdOZawPdzDZe6+MoVZVrNk2021rVhn64MMlEioaY1H17ugLT1IO71vG6V/eaGV8LlJr0AMFOr2zQvSkqmjD1c6Y=
on:
tags: true
repo: thibaudcolas/jsonresume-theme-eloquent
|
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/2lMFQsOhuA0mMoJ3tK3vhve10s3Mt8JvWqnEI3OmnDF/Yx7FN0sGiTskLYvi7jCzLY1QNqdg52VTsNI=
| 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/2lMFQsOhuA0mMoJ3tK3vhve10s3Mt8JvWqnEI3OmnDF/Yx7FN0sGiTskLYvi7jCzLY1QNqdg52VTsNI=
|
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/chefdk/bin/chef shell-init bash)"
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/cookstyle --version
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/bin/chef exec rake style
- /opt/chefdk/bin/chef exec rake spec
|
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 setup.py test
- flake8 registration
- coverage report -m
| 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 setup.py test
- flake8 registration
- coverage report -m
|
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_script:
- mysql -e 'create database yii2_common_test;'
- cd tests
- php ./codeception/bin/yii migrate/up --interactive=0
- ../vendor/bin/codecept build
script: ../vendor/bin/codecept run unit --debug
| 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_test;'
- cd tests
- php ./codeception/bin/yii migrate/up --interactive=0
- ../vendor/bin/codecept build
script: ../vendor/bin/codecept run unit --debug
|
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_7ef9aab2215d_key -iv $encrypted_7ef9aab2215d_iv
-in service-account.json.enc -out service-account.json -d
- polymer build
- LAST_TAG=`git describe --abbrev=0` || LAST_TAG="develop"; echo $LAST_TAG
- DEPLOY_VERSION=${LAST_TAG//.}
deploy:
- provider: gae
skip_cleanup: true
project: gdg-es
config: build/bundled/app.yaml
version: develop
no_promote: true
on:
branch: develop
- provider: gae
skip_cleanup: true
project: gdg-es
config: build/bundled/app.yaml
version: $DEPLOY_VERSION
on:
branch: master
| 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 aes-256-cbc -K $encrypted_7ef9aab2215d_key -iv $encrypted_7ef9aab2215d_iv
-in service-account.json.enc -out service-account.json -d
- polymer build
- LAST_TAG=`git describe --abbrev=0` || LAST_TAG="develop"; echo $LAST_TAG
- DEPLOY_VERSION=${LAST_TAG//.}
deploy:
- provider: gae
skip_cleanup: true
project: gdg-es
config: build/bundled/app.yaml
version: develop
no_promote: true
on:
branch: develop
- provider: gae
skip_cleanup: true
project: gdg-es
config: build/bundled/app.yaml
version: $DEPLOY_VERSION
on:
branch: master
|
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.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
- yarn install
- yarn encore production
after_failure:
- cat /home/travis/build/SURFnet/sp-dashboard/var/logs/test.log
script:
- ant
branches:
only:
- develop
- master
- /^feature\/(.*)$/
- /^bugfix\/(.*)$/
- /^release\/(.*)$/ | 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
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
- yarn install
- yarn encore production
after_failure:
- cat /home/travis/build/SURFnet/sp-dashboard/var/logs/test.log
script:
- ant
branches:
only:
- develop
- master
- /^feature\/(.*)$/
- /^bugfix\/(.*)$/
- /^release\/(.*)$/ |
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/qtz09beGRvWcywz/WcPnWCCxBhkWojfNhN7hrQ="
install:
- "pip install -e .[tests,release]"
script:
- "pylama"
- "pytest --cov-report="
after_success:
- "coveralls"
- "python setup.py publish"
| 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/qtz09beGRvWcywz/WcPnWCCxBhkWojfNhN7hrQ="
install:
- "pip install -e .[tests,release]"
script:
- "pylama"
- "pytest --cov-report="
after_success:
- "coveralls"
- "python setup.py publish"
|
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
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9"; fi
before_script:
- mkdir build
- cd build
- cmake ..
script: make && make test-out
| 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
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
before_script:
- mkdir build
- cd build
- cmake ..
script: make && make test-out
|
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 build
# matrix, which allows us to clearly distinguish which component under
# test has failed
env:
global:
- GOPATH=/tmp/go
- PATH=$GOPATH/bin:$PATH
matrix:
- TOXENV=py27 BOULDER_INTEGRATION=1
- TOXENV=py33
- TOXENV=py34
- TOXENV=lint
- TOXENV=cover
# make sure simplehttp simple verification works (custom /etc/hosts)
addons:
hosts:
- le.wtf
install: "travis_retry pip install tox coveralls"
before_script: '[ "xxx$BOULDER_INTEGRATION" = "xxx" ] || ./tests/boulder-start.sh'
script: 'travis_retry tox && ([ "xxx$BOULDER_INTEGRATION" = "xxx" ] || (source .tox/$TOXENV/bin/activate && ./tests/boulder-integration.sh))'
after_success: '[ "$TOXENV" == "cover" ] && coveralls'
notifications:
email: false
irc:
channels:
- "chat.freenode.net#letsencrypt"
on_success: never
on_failure: always
use_notice: true
skip_join: true
| 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 build
# matrix, which allows us to clearly distinguish which component under
# test has failed
env:
global:
- GOPATH=/tmp/go
- PATH=$GOPATH/bin:$PATH
matrix:
- TOXENV=py27 BOULDER_INTEGRATION=1
- TOXENV=lint
- TOXENV=cover
# make sure simplehttp simple verification works (custom /etc/hosts)
addons:
hosts:
- le.wtf
install: "travis_retry pip install tox coveralls"
before_script: '[ "xxx$BOULDER_INTEGRATION" = "xxx" ] || ./tests/boulder-start.sh'
script: 'travis_retry tox && ([ "xxx$BOULDER_INTEGRATION" = "xxx" ] || (source .tox/$TOXENV/bin/activate && ./tests/boulder-integration.sh))'
after_success: '[ "$TOXENV" == "cover" ] && coveralls'
notifications:
email: false
irc:
channels:
- "chat.freenode.net#letsencrypt"
on_success: never
on_failure: always
use_notice: true
skip_join: true
|
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/2cIGz0xr9hIaw=
on:
tags: true
repo: astorije/chai-immutable
| 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/2cIGz0xr9hIaw=
on:
tags: true
repo: astorije/chai-immutable
|
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
- rvm: 2.0.0
env: ACTIVERECORD=3.1.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
env: ACTIVERECORD=3.0.0
- rvm: 2.0.0
env: ACTIVERECORD=3.1.0
- rvm: 2.1
env: ACTIVERECORD=2.3.8
- rvm: 2.1
env: ACTIVERECORD=3.0.0
- rvm: 2.1
env: ACTIVERECORD=3.1.0
- rvm: 2.1
env: ACTIVERECORD=3.2.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:
repo_token: 177e04fc590139a13502e44a2628979c4e8b94acdb10c78af7c6f913ef7950bd
| 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:
repo_token: b84a33c35c698270ad54261655bc25161a0853386825a2d54fb1c7a11c2b2785
|
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 test
|
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: [ master ]
jobs:
run-tests:
name: pygtc CI python ${{ matrix.python-version }} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
os: [windows-latest]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pygtc-test
environment-file: test-environment.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- shell: bash -l {0}
run: |
pytest --mpl | # 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: [ master ]
jobs:
run-tests:
name: pygtc CI python ${{ matrix.python-version }} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
os: [windows-latest]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pygtc-test
environment-file: test-environment.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- shell: bash -l {0}
run: |
pytest --mpl |
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 [ "$CC" = "gcc" ]; then make clean && unset KVZ_DISABLE_AVX2 && export CC=gcc-4.8 && make && make tests; fi
| 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
- wget http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-32bit-static.tar.xz
- 7z x ffmpeg-release-32bit-static.tar.xz
- 7z x ffmpeg-release-32bit-static.tar
- chmod +x ./ffmpeg-2.6.2-32bit-static/ffmpeg
script:
- cd src
- export KVZ_DISABLE_AVX2=1
- make && make debug && make tests
- ../ffmpeg-2.6.2-32bit-static/ffmpeg -f lavfi -i mandelbrot=s=320x240 -vframes 25 -r 5 -pix_fmt yuv420p test.yuv
- if [ "$CC" = "gcc" ]; then valgrind --leak-check=full --error-exitcode=1 ./kvazaar_debug -i test.yuv --input-res=320x240 -n 16 -o test1.bin; fi
- if [ "$CC" = "gcc" ]; then valgrind --leak-check=full --error-exitcode=1 ./kvazaar_debug -i test.yuv --input-res=320x240 -n 16 -o test2.bin --threads 4 --wpp --owf 3 --cpuid=0; fi
- if [ "$CC" = "gcc" ]; then valgrind --leak-check=full --error-exitcode=1 ./kvazaar_debug -i test.yuv --input-res=320x240 -n 16 -o test3.bin --threads 4 --wpp --owf 3; fi
- if [ "$CC" = "gcc" ]; then make clean && unset KVZ_DISABLE_AVX2 && export CC=gcc-4.8 && make && make debug && make tests; fi
|
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
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/test-reporter
| 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-source --no-interaction --dev
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/test-reporter
|
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.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --access-token="80b65a15a783f3ca91af2635f701052e94179ebf84aad0a031dcc90dddd30394" --format=php-clover coverage.clover
matrix:
allow_failures:
- env: SYMFONY_VERSION="2.7.*@dev"
fast_finish: true
notifications:
email:
- dev@dankempster.co.uk
branches:
only:
- develop
- master
| 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/framework-bundle:${SYMFONY_VERSION} --prefer-dist
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
script:
# - phpunit -c phpunit.dist.xml
- php ./vendor/phpunit/phpunit/phpunit --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --access-token="80b65a15a783f3ca91af2635f701052e94179ebf84aad0a031dcc90dddd30394" --format=php-clover coverage.clover
matrix:
# Build with PHP 5.5 and Symfony LTS
include:
- php: 5.5
env: SYMFONY_VERSION="2.3.*"
- php: 5.6
env: SYMFONY_VERSION="2.7.*@dev"
# Test the latest PHP and Symfony Next
allow_failures:
- env: SYMFONY_VERSION="2.7.*@dev"
fast_finish: true
notifications:
email:
- dev@dankempster.co.uk
branches:
only:
- develop
- master
|
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 -u travis createuser -s -p 5432 postgres
- psql -U postgres -c 'create database test;'
script:
# run unit tests
- swift build --configuration release
- swift package generate-xcodeproj
- xcodebuild -scheme PostgreSQL -enableCodeCoverage YES test # instead of swift test
after_success:
- bash <(curl -s https://codecov.io/bash)
| 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 && sleep 3 || true
- sudo -u travis createuser -s -p 5432 postgres
- psql -U postgres -c 'create database test;'
script:
# run unit tests
- swift build --configuration release
- swift package generate-xcodeproj
- xcodebuild -scheme PostgreSQL -enableCodeCoverage YES test | xcpretty # instead of swift test
after_success:
- bash <(curl -s https://codecov.io/bash)
|
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
- cd empty
- "echo -e \"import sympy\\nif not sympy.test(): raise Exception('Tests failed')\" | python"
- "echo -e \"import sympy\\nif not sympy.doctest(): raise Exception('Doctests failed')\" | python"
notifications:
email: false
| 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 the source directory.
- mkdir empty
- cd empty
- "echo -e \"import sympy\\nif not sympy.test(): raise Exception('Tests failed')\" | python"
- "echo -e \"import sympy\\nif not sympy.doctest(): raise Exception('Doctests failed')\" | python"
notifications:
email: false
|
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 available in TravisCI.
# Installing from source works but is slow and a waste of time. As long
# as we're using the same version of Python as the system, use a trick
# from @peterlandry https://github.com/travis-ci/travis-cookbooks/issues/48
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then sudo apt-get install python-numpy 2>&1 | tail -n 2; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then ln -s /usr/lib/python2.7/dist-packages/numpy ~/virtualenv/python2.7/lib/python2.7/site-packages/; fi"
install:
#Nothing needed under Python 2
script:
- "python graphs.py"
| 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 available in TravisCI.
# Installing from source works but is slow and a waste of time. As long
# as we're using the same version of Python as the system, use a trick
# from @peterlandry https://github.com/travis-ci/travis-cookbooks/issues/48
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then sudo apt-get install python-numpy 2>&1 | tail -n 2; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then ln -s /usr/lib/python2.7/dist-packages/numpy ~/virtualenv/python2.7/lib/python2.7/site-packages/; fi"
script:
- "python graphs.py"
|
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 --branch v2.6.1 --depth 1 https://github.com/google/protobuf.git
- |
echo '
PROTOBUF_VERSION=2.6.1
PROTOBUF_DIR=protobuf
ifeq ($(OS), Windows_NT)
BAT=.bat
EXE=.exe
PATH_SEPARATOR=;
else
PATH_SEPARATOR=:
endif
COMPC=$HOME/flex_sdk/bin/compc$(BAT)
MXMLC=$HOME/flex_sdk/bin/mxmlc$(BAT)
ASDOC=$HOME/flex_sdk/bin/asdoc$(BAT)
FDB=$HOME/flex_sdk/bin/fdb$(BAT)
MVN=mvn
JAVAC=javac
JAR=jar
HAXE=haxe
' > config.mk
- make protobuf/src/protoc
script:
- make
| 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 --branch v2.6.1 --depth 1 https://github.com/google/protobuf.git
- |
echo '
PROTOBUF_VERSION=2.6.1
PROTOBUF_DIR=protobuf
PROTOC=protoc
ifeq ($(OS), Windows_NT)
BAT=.bat
EXE=.exe
PATH_SEPARATOR=;
else
PATH_SEPARATOR=:
endif
COMPC=$HOME/flex_sdk/bin/compc$(BAT)
MXMLC=$HOME/flex_sdk/bin/mxmlc$(BAT)
ASDOC=$HOME/flex_sdk/bin/asdoc$(BAT)
FDB=$HOME/flex_sdk/bin/fdb$(BAT)
MVN=mvn
JAVAC=javac
JAR=jar
HAXE=haxe
' > config.mk
- make protobuf/src/protoc
script:
- make
|
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
install: pip install -r requirements/local.txt
# command to setup database
before_script:
- mysql -u root -e "CREATE DATABASE chris_dev CHARACTER SET utf8;"
- mysql -u root -e "GRANT ALL ON chris_dev.* TO 'chris'@'localhost' IDENTIFIED BY 'Chris1234';"
- mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'chris'@'localhost';"
- cd chris_backend
- python manage.py migrate
# command to run tests
script:
- python manage.py test
- pman --raw 1 --http --port 5010 --listeners 12 --ip 127.0.0.1 &
- sleep 5
- python manage.py test
notifications:
slack: fnndsc:gGPIVAOtMikWomA1EKrVYIjO
| 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
install: pip install -r requirements/local.txt
# command to setup database
before_script:
- mysql -u root -e "CREATE DATABASE chris_dev CHARACTER SET utf8;"
- mysql -u root -e "GRANT ALL ON chris_dev.* TO 'chris'@'localhost' IDENTIFIED BY 'Chris1234';"
- mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'chris'@'localhost';"
- cd chris_backend
- python manage.py migrate
- pman --raw 1 --http --port 5010 --listeners 12 --ip 127.0.0.1 &
- sleep 5
# command to run tests
script:
- python manage.py test
notifications:
slack: fnndsc:gGPIVAOtMikWomA1EKrVYIjO
|
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.freenode.org#nodejitsu"
| 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:
- travis@nodejitsu.com
irc: "irc.freenode.org#nodejitsu"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.