Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Revert "switch to docker-py as docker-compose no longer working" | ---
- name: CentOS
include: centos.yml
when: 'ansible_distribution == "CentOS"'
- name: Debian
include: debian.yml
when: 'ansible_distribution == "Debian"'
- name: create /etc/docker directory
file:
path: /etc/docker
state: directory
mode: 0644
- name: copy logging driver configuration
copy:
src: files/daemon.json
dest: /etc/docker/daemon.json
mode: 0644
notify: "restart Docker"
- name: enable docker service
service:
name: docker
enabled: yes
state: started
# Install docker-compose which also installs the docker python library required by some ansible docker modules
- name: install docker-compose
pip:
name: "docker-py"
state: present
- name: check ssl_match_hostname
stat:
path: /usr/lib/python2.7/dist-packages/backports/ssl_match_hostname
register: ssl_match_hostname_exists
when: ansible_distribution == 'Debian'
- name: copy ssl_match_hostname
copy:
remote_src: yes
src: /usr/local/lib/python2.7/dist-packages/backports/ssl_match_hostname
dest: /usr/lib/python2.7/dist-packages/backports
when: ansible_distribution == 'Debian' and not ssl_match_hostname_exists.stat.exists
| ---
- name: CentOS
include: centos.yml
when: 'ansible_distribution == "CentOS"'
- name: Debian
include: debian.yml
when: 'ansible_distribution == "Debian"'
- name: create /etc/docker directory
file:
path: /etc/docker
state: directory
mode: 0644
- name: copy logging driver configuration
copy:
src: files/daemon.json
dest: /etc/docker/daemon.json
mode: 0644
notify: "restart Docker"
- name: enable docker service
service:
name: docker
enabled: yes
state: started
# Install docker-compose which also installs the docker python library required by some ansible docker modules
- name: install docker-compose
pip:
name: "docker-compose"
state: present
|
Update Travis config to latest. Update Travis config to use latest v4 and latest v6 . | sudo: false
language: node_js
node_js:
- "4.4"
- "6.3"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
after_success:
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: false
language: node_js
node_js:
- "4"
- "6"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
after_success:
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Add --stacktrace option to Travis CI run | ---
language: java
sudo: false
os:
- linux
branches:
only:
- master
notifications:
email: false
slack: line-armeria:vLZppggTRH02hwY2eOACIzCG
cache:
directories:
- $HOME/.gradle
- $HOME/.jdk
env:
global:
- JAVA_HOME=$HOME/.jdk/default
- PATH=$JAVA_HOME/bin:$PATH
- GRADLE_OPTS=-Xmx256m
before_install:
- .travis/install-jdk.sh
- .travis/clean-m2-repo.sh
- ./gradlew --version
install:
- true
script:
- ./gradlew --no-daemon -Pcoverage build
after_success:
- bash <(curl -s https://codecov.io/bash)
| ---
language: java
sudo: false
os:
- linux
branches:
only:
- master
notifications:
email: false
slack: line-armeria:vLZppggTRH02hwY2eOACIzCG
cache:
directories:
- $HOME/.gradle
- $HOME/.jdk
env:
global:
- JAVA_HOME=$HOME/.jdk/default
- PATH=$JAVA_HOME/bin:$PATH
- GRADLE_OPTS=-Xmx256m
before_install:
- .travis/install-jdk.sh
- .travis/clean-m2-repo.sh
- ./gradlew --version
install:
- true
script:
- ./gradlew --no-daemon --stacktrace -Pcoverage build
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Rename Ubuntu Package for Pandas to python-pandas. | language: python
python: "2.7"
virtualenv:
system_site_packages: true
before_install:
- sudo add-apt-repository ppa:pythonxy/pythonxy-devel -y # For Pandas
- sudo add-apt-repository ppa:pylab/stable -y # For SciPY
- sudo apt-get update -qq
- sudo apt-get install -qq pandas
- sudo apt-get install -qq python-scipy
- sudo apt-get install -qq xlrd # For IPP tests
install:
- pip install isodate # For Biryani1 datetimeconv
- pip install -e git+https://github.com/etalab/biryani.git@biryani1#egg=Biryani1 # For OpenFisca-Core
- pip install -e git+https://github.com/openfisca/openfisca-core.git#egg=OpenFisca-Core
- pip install -r requirements.txt
script: nosetests openfisca_france/tests
| language: python
python: "2.7"
virtualenv:
system_site_packages: true
before_install:
- sudo add-apt-repository ppa:pythonxy/pythonxy-devel -y # For Pandas
- sudo add-apt-repository ppa:pylab/stable -y # For SciPY
- sudo apt-get update -qq
- sudo apt-get install -qq python-pandas
- sudo apt-get install -qq python-scipy
- sudo apt-get install -qq xlrd # For IPP tests
install:
- pip install isodate # For Biryani1 datetimeconv
- pip install -e git+https://github.com/etalab/biryani.git@biryani1#egg=Biryani1 # For OpenFisca-Core
- pip install -e git+https://github.com/openfisca/openfisca-core.git#egg=OpenFisca-Core
- pip install -r requirements.txt
script: nosetests openfisca_france/tests
|
Include PHP_CodeSniffer as part of the CI process | language: php
php:
- 5.6
- 7.0
- 7.1
env:
global:
- WP_VERSION=trunk
- WP_VERSION=4.7
before_script:
- composer install --prefer-source
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- if [ $CODECLIMATE_REPO_TOKEN ]; then ./vendor/bin/test-reporter; fi;
cache:
directories:
- includes/lib/
- vendor/
notifications:
email: false
| sudo: false
language: php
notifications:
email: false
cache:
directories:
- $HOME/.composer/cache
- includes/lib/
- vendor/
matrix:
fast_finish: true
include:
- php: 7.2
env: WP_VERSION=latest
- php: 7.1
env: WP_VERSION=latest
- php: 7.0
env: WP_VERSION=latest
- php: 7.2
env: WP_VERSION=trunk RUN_PHPCS=1
install:
- composer install --prefer-dist --no-suggest
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- |
if [[ ${RUN_PHPCS} == 1 ]]; then
./vendor/bin/phpcs
fi
after_script:
- if [ $CODECLIMATE_REPO_TOKEN ]; then ./vendor/bin/test-reporter; fi;
|
Set language to nodejs explicitly | node_js:
- "0.12"
- "4"
- "5"
- "6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- build-essential
- g++-4.8
env:
- CXX=g++-4.8
before_install:
- npm install -g npm
before_script:
- npm install -g grunt-cli
sudo: false
| language : node_js
node_js:
- "0.12"
- "4"
- "5"
- "6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- build-essential
- g++-4.8
env:
- CXX=g++-4.8
before_install:
- npm install -g npm
before_script:
- npm install -g grunt-cli
sudo: false
|
Remove Python 2.6 from CI build. | language: python
python:
- "2.6"
- "2.7"
install: "pip install -r requirements.txt --use-mirrors"
script: nosetests
notifications:
email:
- lars@yencken.org
| language: python
python:
- "2.7"
install: "pip install -r requirements.txt --use-mirrors"
script: nosetests
notifications:
email:
- lars@yencken.org
|
Remove parameters dist and sudo | dist: trusty
sudo: false
language: ruby
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- jruby-9.2
matrix:
allow_failures:
- rvm: jruby-9.2
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
addons:
code_climate:
repo_token:
secure: Y6i7YGM0oHdDYtKkABGWIxdQL943brOJaFcU2iWSp7oMczQ/Ss4udpm9o11O2zo4WqrHu6E3GrAT1us+FZLWB71hC6PeClluh3ndhD131AnS3yRFhRPMlDYxdSEOfMZhQwdY8E1EUdj3Dpk0UF7Bwxnw/PqAt5AHZ3EC5e4DJJ0=
deploy:
provider: rubygems
api_key:
secure: "NM3wz/isaEbJeepeTY/GIj7Vo+EkKeKljXY7M97ekXw0T+S/E5AjVwJSPHU+NFCdu5jnTibtIhXda8TTOyHaPwo45E18wCFVvGc2q9skAo6UBYdtM5TfKNiyDFVIIyGiItM1rUVxKY4neBew3Ys3RQFUrIAeuv6dDWfZ9YDiDlo="
on:
rvm: 2.5
tags: true
| language: ruby
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- jruby-9.2
matrix:
allow_failures:
- rvm: jruby-9.2
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
addons:
code_climate:
repo_token:
secure: Y6i7YGM0oHdDYtKkABGWIxdQL943brOJaFcU2iWSp7oMczQ/Ss4udpm9o11O2zo4WqrHu6E3GrAT1us+FZLWB71hC6PeClluh3ndhD131AnS3yRFhRPMlDYxdSEOfMZhQwdY8E1EUdj3Dpk0UF7Bwxnw/PqAt5AHZ3EC5e4DJJ0=
deploy:
provider: rubygems
api_key:
secure: "NM3wz/isaEbJeepeTY/GIj7Vo+EkKeKljXY7M97ekXw0T+S/E5AjVwJSPHU+NFCdu5jnTibtIhXda8TTOyHaPwo45E18wCFVvGc2q9skAo6UBYdtM5TfKNiyDFVIIyGiItM1rUVxKY4neBew3Ys3RQFUrIAeuv6dDWfZ9YDiDlo="
on:
rvm: 2.5
tags: true
|
Expand tests to Python 3.6 and nightly (3.7-dev). | # Language setup
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
# Install pyinfra + test deps
install: 'pip install -e .[test]'
# Run the tests
script: nosetests
| # Language setup
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
- 'nightly'
# Install pyinfra + test deps
install: 'pip install -e .[test]'
# Run the tests
script: nosetests
|
Use mysql 5.6 in build | sudo: required
group: dev
language: python
python:
- "2.7"
env:
- SQLALCHEMY_DATABASE_URI=mysql://travis:@127.0.0.1/mma_test
install:
- "pip install -r requirements.txt"
before_script:
- mysql -h 127.0.0.1 -uroot -e 'create database mma_test;'
- mysql -h 127.0.0.1 -uroot -e 'select @@version;'
script:
- nosetests
| dist: trusty
sudo: required
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
group: dev
language: python
python:
- "2.7"
env:
- SQLALCHEMY_DATABASE_URI=mysql://root:@127.0.0.1/mma_test
install:
- "pip install -r requirements.txt"
before_script:
- mysql -h 127.0.0.1 -uroot -e 'create database mma_test;'
- mysql -h 127.0.0.1 -uroot -e 'select @@version;'
script:
- nosetests
|
Allow goveralls to handle test coverage | language: go
sudo: false
go:
- 1.7.x
- 1.8.x
before_install:
- go get github.com/mattn/goveralls
install:
- # Skip
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- go tool vet .
- go vet $(go list ./... | grep -v "vendor")
- go test -v -race $(go list ./... | grep -v "vendor")
- go test -v -covermode=count -coverprofile=coverage.out ./...
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
| language: go
sudo: false
go:
- 1.7.x
- 1.8.x
before_install:
- go get github.com/mattn/goveralls
install:
- # Skip
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- go tool vet .
- go vet $(go list ./... | grep -v "vendor")
- go test -v -race $(go list ./... | grep -v "vendor")
- goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN
|
Simplify Travis config and fix ChefDK 2.0 failures | # Use Travis's cointainer based infrastructure
sudo: false
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
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 delivery local all
| # Use Travis's cointainer based infrastructure
sudo: false
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
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 "$(chef shell-init bash)"
script:
- chef --version
- cookstyle --version
- foodcritic --version
- chef exec delivery local all
|
Update JRuby version in Travis CI config to latest for Travis CI | language: ruby
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- jruby-9.1.8.0
matrix:
allow_failures:
- rvm:
- ruby-head
- rbx-2
| language: ruby
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- jruby-9.1.9.0
matrix:
allow_failures:
- rvm:
- ruby-head
- rbx-2
|
Fix failrues caused by bundler | language: ruby
script: bundle exec rake
cache: bundler
sudo: false
before_install: gem install bundler
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.5
- 2.6.3
- ruby-head
- jruby-9.2.7.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-9.2.7.0
- rvm: jruby-head
fast_finish: true
| language: ruby
script: bundle exec rake
cache: bundler
sudo: false
before_install: gem install bundler -v 1.17.3
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.5
- 2.6.3
- ruby-head
- jruby-9.2.7.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-9.2.7.0
- rvm: jruby-head
fast_finish: true
|
Make sure Travis builds command | sudo: false
language: go
go:
- "1.10"
script:
- make test-unit
| sudo: false
language: go
go:
- "1.10"
script:
- make
- make test-unit
|
Switch to container-based Travis CI infrastructure | ---
language: bash
script:
- bin/fetch-configlet
- bin/configlet .
| ---
language: bash
script:
- bin/fetch-configlet
- bin/configlet .
sudo: false
|
Verify if gh is running after running tests on the Travis CI. | language: node_js
node_js:
- "0.12"
- iojs
before_install:
- sh ci.sh
script:
- npm run-script ci
after_success:
- sh ci-reports.sh
| language: node_js
node_js:
- "0.12"
- iojs
before_install:
- sh ci.sh
script:
- npm run-script ci
- gh
after_success:
- sh ci-reports.sh
|
Fix for coverage data collection | language: python
python:
- "2.7"
- "3.5"
- "3.6"
before_install:
- pip install pytest pytest-cov
- pip install coveralls
install:
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- python setup.py install
script:
- py.test --cov=bayesloop
after_success:
- coveralls
| language: python
python:
- "2.7"
- "3.5"
- "3.6"
before_install:
- pip install pytest pytest-cov
- pip install coveralls
install:
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- python setup.py develop
script:
- py.test --cov=bayesloop
after_success:
- coveralls
|
Move the open-ssl command back to before_install | sudo: false
language: node_js
node_js:
- "6.9.5"
before_install:
# Node project, so Ruby dependencies must be installed manually (see `govuk-lint`)
- bundle install
script:
- npm test
before_deploy:
# Encrypted SSH config used to `push.sh` to Github (See `.travis/README.md`)
- openssl aes-256-cbc -K $encrypted_909ac1036a94_key -iv $encrypted_909ac1036a94_iv -in .travis/govuk_frontend_toolkit_push.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa
- git config --global user.name "Travis CI"
- git config --global user.email "travis@travis-ci.org"
- git remote add origin_ssh git@github.com:alphagov/govuk_frontend_toolkit.git
deploy:
- provider: script
script: './push.sh'
on:
branch: master
- provider: script
script: './trigger.sh'
on:
branch: master
| sudo: false
language: node_js
node_js:
- "6.9.5"
before_install:
# Node project, so Ruby dependencies must be installed manually (see `govuk-lint`)
- bundle install
- git config --global user.name "Travis CI"
- git config --global user.email "travis@travis-ci.org"
- git remote add origin_ssh git@github.com:alphagov/govuk_frontend_toolkit.git
# Encrypted SSH config used to `push.sh` to Github (See `.travis/README.md`)
- 'if [ "$TRAVIS_PULL_REQUEST_BRANCH" = "master" ]; then openssl aes-256-cbc -K $encrypted_909ac1036a94_key -iv $encrypted_909ac1036a94_iv -in .travis/govuk_frontend_toolkit_push.enc -out ~/.ssh/id_rsa -d && chmod 600 ~/.ssh/id_rsa; fi'
script:
- npm test
before_deploy:
- test $TRAVIS_TEST_RESULT = 0
deploy:
- provider: script
script: './push.sh'
on:
branch: master
- provider: script
script: './trigger.sh'
on:
branch: master
|
Use PPA to get latest CMake. | ---
- include: ppa.yml tags=ppa,packages
- name: Update system package cache.
apt: >
update_cache=yes
cache_valid_time=14400
- name: Install base tooling and Git.
apt: >
state=present
name={{ item }}
with_items:
- libtool
- automake
- autoconf
- bison
- pkg-config
- git
- python-pip
- binutils
- libboost-program-options-dev
- include: compilers.yml tags=packages,compilers,gcc,clang
- name: Install 'coveralls' client package.
pip: >
name={{ item }}
state=present
with_items:
- coveralls
- name: Install dependencies for Wintermute.
apt: >
state=present
name={{ item }}
with_items:
- libjsoncpp-dev
- liblog4cxx10-dev
- cmake
- name: Install test and documenation dependencies for Wintermute
sudo: True
apt: >
state=latest
name={{ item }}
with_items:
- doxygen
- cxxtest
- valgrind
- lcov
- include: uv.yml tags=packages,uv
- include: libconfig.yml tags=packages,libconfig
- include: libzmq.yml tags=packages,zmq
| ---
- include: ppa.yml tags=ppa,packages
- name: Update system package cache.
apt: >
update_cache=yes
cache_valid_time=14400
- name: Install base tooling and Git.
apt: >
state=present
name={{ item }}
with_items:
- libtool
- automake
- autoconf
- bison
- pkg-config
- git
- python-pip
- binutils
- libboost-program-options-dev
- include: compilers.yml tags=packages,compilers,gcc,clang
- name: Install 'coveralls' client package.
pip: >
name={{ item }}
state=present
with_items:
- coveralls
- name: Install dependencies for Wintermute.
apt: >
state=present
name={{ item }}
with_items:
- libjsoncpp-dev
- liblog4cxx10-dev
- name: Install test and documenation dependencies for Wintermute
sudo: True
apt: >
state=present
name={{ item }}
with_items:
- doxygen
- cxxtest
- valgrind
- lcov
- cmake=2.8.12.2-0ubuntu1~ubuntu12.04.1~ppa2
- include: uv.yml tags=packages,uv
- include: libconfig.yml tags=packages,libconfig
- include: libzmq.yml tags=packages,zmq
|
Use $GH_TOKEN to fix authentication errors | language: php
dist: trusty
jobs:
include:
- php: 5.4
env:
- LEGACY=true
- COMPOSER_FLAGS="--prefer-lowest"
- php: 5.5
env: LEGACY=true
- php: 5.6
env: LEGACY=true
- php: 7.0
env: LEGACY=true
- php: 7.1
env: LEGACY=true
- php: 7.2
env: LEGACY=false
- php: 7.3
env: LEGACY=false
- php: 7.4
env: LEGACY=false
before_script:
- if [[ $LEGACY == 'true' ]]; then
travis_retry composer remove phpunit/phpunit --dev;
travis_retry composer require phpunit/phpunit:^4.8.36 --dev;
./legacy.sh;
fi
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
script:
- if [[ $LEGACY == 'true' ]]; then
vendor/bin/phpunit --configuration phpunit.legacy.xml --coverage-text --coverage-clover=coverage.clover;
else
vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover;
fi
after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
| language: php
dist: trusty
jobs:
include:
- php: 5.4
env:
- LEGACY=true
- COMPOSER_FLAGS="--prefer-lowest"
- php: 5.5
env: LEGACY=true
- php: 5.6
env: LEGACY=true
- php: 7.0
env: LEGACY=true
- php: 7.1
env: LEGACY=true
- php: 7.2
env: LEGACY=false
- php: 7.3
env: LEGACY=false
- php: 7.4
env: LEGACY=false
before_script:
- travis_retry composer self-update -q
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- if [ "$LEGACY" -eq "true" ]; then
travis_retry composer remove phpunit/phpunit --dev;
travis_retry composer require phpunit/phpunit:^4.8.36 --dev;
./legacy.sh;
fi
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
script:
- if [ "$LEGACY" -eq "true" ]; then
vendor/bin/phpunit --configuration phpunit.legacy.xml --coverage-text --coverage-clover=coverage.clover;
else
vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover;
fi
after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
|
Add Slack notifications to Travis |
# Language/versions
language: node_js
node_js:
- "0.12"
- "0.10"
# Build script
script: make ci
# Notifications
notifications:
email:
- j.robinson@nature.com
- rowan.manning@nature.com
|
# Language/versions
language: node_js
node_js:
- "0.12"
- "0.10"
# Build script
script: make ci
# Notifications
notifications:
email:
- j.robinson@nature.com
- rowan.manning@nature.com
slack: thefeds:vG3hLYB07EwTYpQFp3TNUx82
|
Remove the "try" npm script | language: node_js
sudo: required
dist: trusty
node_js: stable
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- xvfb
cache:
directories:
- node_modules
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- "npm run try"
- sleep 3 # give server some time to start
script:
- "npm run tests"
#- xvfb-run wct
#- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s default; fi
after_script:
| language: node_js
sudo: required
dist: trusty
node_js: stable
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- xvfb
cache:
directories:
- node_modules
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# - sleep 3 # give xvfb some time to start
# - "npm run try"
# - sleep 3 # give server some time to start
script:
- "npm run test"
#- xvfb-run wct
#- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s default; fi
after_script:
|
Add node 8 test environment | language: node_js
node_js:
- "4"
- "6"
- "7"
notifications:
email: false
after_success:
- npm run coveralls
| language: node_js
node_js:
- "4"
- "6"
- "7"
- "8"
notifications:
email: false
after_success:
- npm run coveralls
|
Add redis to required services for Travis. | language: ruby
rvm:
- 1.9.3
before_install:
- gem update --system
- gem install bundler --no-ri --no-rdoc
- bundle install
before_script:
- "mysql -e 'create database thinking_sphinx;' > /dev/null"
- "psql -c 'create database thinking_sphinx;' -U postgres > /dev/null"
env:
- SPHINX_BIN=/usr/local/sphinx-2.0.9/bin/ SPHINX_VERSION=2.0.9 DATABASE=mysql2
- SPHINX_BIN=/usr/local/sphinx-2.0.9/bin/ SPHINX_VERSION=2.0.9 DATABASE=postgresql
gemfile:
- gemfiles/binary.gemfile
- gemfiles/sphinxql.gemfile
| language: ruby
rvm:
- 1.9.3
before_install:
- gem update --system
- gem install bundler --no-ri --no-rdoc
- bundle install
before_script:
- "mysql -e 'create database thinking_sphinx;' > /dev/null"
- "psql -c 'create database thinking_sphinx;' -U postgres > /dev/null"
services:
- redis-server
env:
- SPHINX_BIN=/usr/local/sphinx-2.0.9/bin/ SPHINX_VERSION=2.0.9 DATABASE=mysql2
- SPHINX_BIN=/usr/local/sphinx-2.0.9/bin/ SPHINX_VERSION=2.0.9 DATABASE=postgresql
gemfile:
- gemfiles/binary.gemfile
- gemfiles/sphinxql.gemfile
|
Test if we can call visual studio compiler from bash... | image: Windows Server 2012 R2
#install:
# - mingw-get install gcc
build_script:
- bash -c "uname -a"
- bash -c "cygcheck -s -v"
- bash -c "mingw-get install gcc"
- bash -c "gcc -version"
- mvn clean install --batch-mode
| image: Windows Server 2012 R2
#install:
# - mingw-get install gcc
build_script:
- bash -c "cl"
- mvn clean install --batch-mode
|
Update from Hackage at 2016-06-18T03:42:59+0000 | homepage: http://code.mathr.co.uk/gearbox
changelog-type: ''
hash: fba3908fc58fb78549a5654f0204836714aaa2832a93e1737aa51ba49a9f61aa
test-bench-deps: {}
maintainer: claude@mathr.co.uk
synopsis: zooming rotating fractal gears graphics demo
changelog: ''
basic-deps:
GLUT: ==2.7.*
base: <5
Vec: ==1.0.*
OpenGLRaw: ==2.3.*
all-versions:
- '1'
- '1.0.0.1'
- '1.0.0.2'
- '1.0.0.3'
- '1.0.0.4'
author: Claude Heiland-Allen
latest: '1.0.0.4'
description-type: haddock
description: ! 'OpenGL gearbox iterated function system. Usage:
@gearbox quality@ where quality is an integer between
6 and 14 (default 9). @f@ toggles full screen, any
other key to quit. Shaders generate a gear shape
and hue rotate succesive copies via texture feedback.
Blog post:
* <http://mathr.co.uk/blog/2012-01-12_gearbox.html>'
license-name: GPL-3
| homepage: https://code.mathr.co.uk/gearbox
changelog-type: ''
hash: 4f801cf674af44ea03d15748ef1110afb837e401019ecf208b37cf1490dee8cf
test-bench-deps: {}
maintainer: claude@mathr.co.uk
synopsis: zooming rotating fractal gears graphics demo
changelog: ''
basic-deps:
GLUT: ==2.7.*
base: <5
Vec: ==1.0.*
OpenGLRaw: ==3.2.*
all-versions:
- '1'
- '1.0.0.1'
- '1.0.0.2'
- '1.0.0.3'
- '1.0.0.4'
- '1.0.0.5'
author: Claude Heiland-Allen
latest: '1.0.0.5'
description-type: haddock
description: ! 'OpenGL gearbox iterated function system. Usage:
@gearbox quality@ where quality is an integer between
6 and 14 (default 9). @f@ toggles full screen, any
other key to quit. Shaders generate a gear shape
and hue rotate succesive copies via texture feedback.
Blog post:
* <https://mathr.co.uk/blog/2012-01-12_gearbox.html>'
license-name: GPL-3
|
Add upload directory to RNA-seq configuration file. | # Template for human RNA-seq using Illumina prepared samples
---
details:
- analysis: RNA-seq
genome_build: GRCh37
algorithm:
aligner: star
quality_format: Standard
trim_reads: read_through
adapters: [truseq, polya]
strandedness: unstranded
| # Template for human RNA-seq using Illumina prepared samples
---
details:
- analysis: RNA-seq
genome_build: GRCh37
algorithm:
aligner: star
quality_format: Standard
trim_reads: read_through
adapters: [truseq, polya]
strandedness: unstranded
upload:
dir: ../final |
Switch back the docs version | name: rubocop
title: RuboCop
# We always provide version without patch here (e.g. 1.1),
# as patch versions should not appear in the docs.
version: '1.28'
nav:
- modules/ROOT/nav.adoc
| name: rubocop
title: RuboCop
# We always provide version without patch here (e.g. 1.1),
# as patch versions should not appear in the docs.
version: ~
nav:
- modules/ROOT/nav.adoc
|
Set baseurl to fix redirect bug | # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: jekyllDecent
subtitle: Example Blog
description: This is the jekyllTheme example blog. It only exists to demonstrate how the theme looks and feels.
keywords: demo theme example github jekyll features
language: "en" # default language of the blog. Language codes: http://www.w3schools.com/tags/ref_language_codes.asp
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site. Have a look at robots.txt as well!
permalink: /blog/:categories/:title
cover: /assets/mountain-cover.jpg
disqus_shortname: "jekylldecent"
# Build settings
markdown: kramdown
kramdown:
syntax_highlighter_opts:
disable: true
include: ['_pages']
exclude: [vendor]
gems:
- jekyll-mentions
- jekyll-feed
- jekyll-sitemap
- jekyll-redirect-from
| # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: jekyllDecent
subtitle: Example Blog
description: This is the jekyllTheme example blog. It only exists to demonstrate how the theme looks and feels.
keywords: demo theme example github jekyll features
language: "en" # default language of the blog. Language codes: http://www.w3schools.com/tags/ref_language_codes.asp
baseurl: "jekyllDecent" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site. Have a look at robots.txt as well!
permalink: /blog/:categories/:title
cover: /assets/mountain-cover.jpg
disqus_shortname: "jekylldecent"
# Build settings
markdown: kramdown
kramdown:
syntax_highlighter_opts:
disable: true
include: ['_pages']
exclude: [vendor]
gems:
- jekyll-mentions
- jekyll-feed
- jekyll-sitemap
- jekyll-redirect-from
|
Disable status setting for Codecov | coverage:
# Remember to change values in build.gradle.kts too
ignore:
- **/*Event.kt
- **/*State.kt
- **/*Configuration.kt
- **/*Runner.kt | coverage:
# Remember to change values in build.gradle.kts too
ignore:
- **/*Event.kt
- **/*State.kt
- **/*Configuration.kt
- **/*Runner.kt
status:
project: off
patch: off |
Remove build and binaryTarball since they're included in installerScript | name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-18.04, macos]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v8
- run: nix-build release.nix --arg nix '{ outPath = ./.; revCount = 123; shortRev = "abcdefgh"; }' --arg systems '[ builtins.currentSystem ]' -A build -A binaryTarball -A perlBindings -A installerScript
| name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-18.04, macos]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v8
- run: nix-build release.nix --arg nix '{ outPath = ./.; revCount = 123; shortRev = "abcdefgh"; }' --arg systems '[ builtins.currentSystem ]' -A installerScript -A perlBindings
|
Fix Ruby version for macOS tests | language: python
sudo: false
git:
submodules: false
matrix:
include:
- os: linux
python: 2.7
- os: linux
python: 3.5
- os: linux
python: 3.6
- dist: xenial
python: 3.7
- os: osx
language: generic
env:
- PYTHON_VERSION=3
- HOMEBREW_NO_AUTO_UPDATE=1
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew pin numpy gdal postgis; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi
install:
- pip$PYTHON_VERSION install --upgrade -e.[test]
script:
- python$PYTHON_VERSION setup.py test
| language: python
sudo: false
git:
submodules: false
matrix:
include:
- os: linux
python: 2.7
- os: linux
python: 3.5
- os: linux
python: 3.6
- dist: xenial
python: 3.7
- os: osx
language: generic
rvm: 2.4.3
env: PYTHON_VERSION=3
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew pin numpy gdal postgis; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi
install:
- pip$PYTHON_VERSION install --upgrade -e.[test]
script:
- python$PYTHON_VERSION setup.py test
|
Remove node 0.4 from Travis CI. | language: "node_js"
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
- "3" # io.js
- "2" # io.js
- "1" # io.js
- "0.12"
- "0.10"
- "0.8"
- "0.4"
before_install:
- "npm install make-node@0.3.x -g"
- "preinstall-compat"
script:
- "make test-cov"
after_success:
- "make report-cov"
sudo: false
| language: "node_js"
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
- "3" # io.js
- "2" # io.js
- "1" # io.js
- "0.12"
- "0.10"
- "0.8"
before_install:
- "npm install make-node@0.3.x -g"
- "preinstall-compat"
script:
- "make test-cov"
after_success:
- "make report-cov"
sudo: false
|
Update Travis config to latest. Upgrade gcc to 4.8, stop force upgrade to latest npm, debug canihaz installation. | sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.12"
- "4.0"
- "4.1"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: false
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4.0"
- "4.1"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Change from example to python for gdb | language: python
dist: xenial
sudo: true
matrix:
include:
- python: 2.7
- python: 3.5
env: PYTHONFAULTHANDLER=1
- python: 3.6
env: PYTHONFAULTHANDLER=1
- python: 3.7
env: PYTHONFAULTHANDLER=1
before_install:
- sudo apt-get update
- sudo apt-get install -y python3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev libcairo2-dev
- sudo apt-get install -y gdb # Install gdb for reading core dumps
install:
- pip install -r requirements.txt
- pip install -r requirements2.txt
before_script:
- ulimit -c unlimited -S # Enable core dumps
script:
- pytest
after_success:
- coveralls
after_failure:
- COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1) # Find core dump file
- if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" example -ex "thread apply all bt" -ex "set pagination 0" -batch; fi | language: python
dist: xenial
sudo: true
matrix:
include:
- python: 2.7
- python: 3.5
env: PYTHONFAULTHANDLER=1
- python: 3.6
env: PYTHONFAULTHANDLER=1
- python: 3.7
env: PYTHONFAULTHANDLER=1
before_install:
- sudo apt-get update
- sudo apt-get install -y python3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev libcairo2-dev
- sudo apt-get install -y gdb # Install gdb for reading core dumps
install:
- pip install -r requirements.txt
- pip install -r requirements2.txt
before_script:
- ulimit -c unlimited -S # Enable core dumps
script:
- pytest
after_success:
- coveralls
after_failure:
- COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1) # Find core dump file
- if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" python -ex "thread apply all bt" -ex "set pagination 0" -batch; fi |
Use Ruby 2.4.1 for Travis CI | language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
- ruby-head
- jruby-9.1.6.0
- jruby-head
before_install:
- gem install bundler --no-document -v '~> 1.13.3'
before_script:
- unset JRUBY_OPTS
script: ruby -Ilib exe/rake
notifications:
email:
- hsbt@ruby-lang.org
- drbrain@segment7.net
| language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.1
- ruby-head
- jruby-9.1.6.0
- jruby-head
before_install:
- gem install bundler --no-document -v '~> 1.13.3'
before_script:
- unset JRUBY_OPTS
script: ruby -Ilib exe/rake
notifications:
email:
- hsbt@ruby-lang.org
- drbrain@segment7.net
|
Remove Travis fix. It should be fixed already. | language: scala
scala:
- 2.11.6
jdk:
- oraclejdk8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/07b062b5d97c72b6b383
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # default: never
sudo: false
before_script:
- mkdir -p $HOME/.sbt/launchers/0.13.8/
- curl -L -o $HOME/.sbt/launchers/0.13.8/sbt-launch.jar http://dl.bintray.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.8/sbt-launch.jar | language: scala
scala:
- 2.11.6
jdk:
- oraclejdk8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/07b062b5d97c72b6b383
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # default: never
sudo: false
|
Update Rakudo versions to test against | language: perl6
os:
- linux
- osx
perl6:
- '2017.09'
- '2017.10'
- latest
install:
- rakudobrew build-zef
# Explicitly install HEAD of Cro::Core, Cro::TLS, Cro::HTTP, and Cro::WebSocket
- zef install https://github.com/croservices/cro-core/archive/master.zip
- zef install https://github.com/croservices/cro-tls/archive/master.zip
- zef install https://github.com/croservices/cro-http/archive/master.zip
- zef install https://github.com/croservices/cro-websocket/archive/master.zip
- zef --debug --deps-only install .
| language: perl6
os:
- linux
- osx
perl6:
- '2017.10'
- '2018.01'
- latest
install:
- rakudobrew build-zef
# Explicitly install HEAD of Cro::Core, Cro::TLS, Cro::HTTP, and Cro::WebSocket
- zef install https://github.com/croservices/cro-core/archive/master.zip
- zef install https://github.com/croservices/cro-tls/archive/master.zip
- zef install https://github.com/croservices/cro-http/archive/master.zip
- zef install https://github.com/croservices/cro-websocket/archive/master.zip
- zef --debug --deps-only install .
|
Fix it so elasticsearch will be started. | language: ruby
rvm:
- 2.1
branches:
except:
- ontohub.org
- staging.ontohub.org
- develop.ontohub.org
services:
- redis-server
notifications:
email: false
before_install:
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
- 'gem install bundler'
script:
- bundle exec rake
before_script:
- psql -c 'create database ontohub_test;' -U postgres
- sudo apt-add-repository -y ppa:hets/hets
- sudo apt-add-repository -y 'deb http://archive.canonical.com/ubuntu precise partner'
- sudo apt-add-repository -y 'deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse'
- sudo apt-get update
- sudo apt-get install libsane libgphoto2-2 hets-core subversion udrawgraph git-svn
- sudo hets -update
- RAILS_ENV=test bundle exec rake db:migrate || true
- RAILS_ENV=test bundle exec rake sunspot:solr:start
| language: ruby
rvm:
- 2.1
branches:
except:
- ontohub.org
- staging.ontohub.org
- develop.ontohub.org
services:
- redis-server
notifications:
email: false
before_install:
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
- 'gem install bundler'
script:
- bundle exec rake
before_script:
- psql -c 'create database ontohub_test;' -U postgres
- sudo apt-add-repository -y ppa:hets/hets
- sudo apt-add-repository -y 'deb http://archive.canonical.com/ubuntu precise partner'
- sudo apt-add-repository -y 'deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse'
- sudo apt-get update
- sudo apt-get install libsane libgphoto2-2 hets-core subversion udrawgraph git-svn
- sudo hets -update
- RAILS_ENV=test bundle exec rake db:migrate || true
- TEST_CLUSTER_NODES=1 bundle exec rake elasticsearch:start
|
Stop using tip on Travis CI to avoid an error | language: go
sudo: false
go:
- 1.5
- 1.6
- 1.7
- tip
env:
global:
- GO15VENDOREXPERIMENT=1
- TEST_TIMEOUT_SCALE=10
cache:
directories:
- vendor
install:
- make dependencies
script:
- make lint
- make test
after_success:
- make coveralls
| language: go
sudo: false
go:
- 1.5
- 1.6
- 1.7
# NOTE: Stop using tip to avoid the following error on Travis CI:
# I don't have any idea what to do with 'tip'.
# - tip
env:
global:
- GO15VENDOREXPERIMENT=1
- TEST_TIMEOUT_SCALE=10
cache:
directories:
- vendor
install:
- make dependencies
script:
- make lint
- make test
after_success:
- make coveralls
|
Downgrade node version to 9 | language: node_js
node_js:
- "stable"
after_success: 'npm run coveralls'
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
tags: true | language: node_js
node_js:
- "stable"
- "9"
after_success: 'npm run coveralls'
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
tags: true |
Test recent Node releases as well | language: node_js
node_js:
- "6"
- "6.0"
before_script:
- npm install -g gulp
script:
- gulp xpi crx
| language: node_js
node_js:
- "6"
- "6.0"
- "6.1"
- "6.2"
before_script:
- npm install -g gulp
script:
- gulp xpi crx
|
Add docs check to Travis | language: c
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y python-sphinx
script:
- autoreconf -fi
- ./configure
- make distcheck
| language: c
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y python-sphinx
script:
- autoreconf -fi
- ./configure
- make distcheck
- make html
|
Test build with legacy MPICH1 | # http://travis-ci.org/mpi4py/mpi4py
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
# - pypy
env:
- MPI=mpich2
- MPI=openmpi
branches:
only:
- master
before_install:
- test $MPI == mpich2 && PACKAGES='mpich2 libmpich2-3 libmpich2-dev' || true
- test $MPI == openmpi && PACKAGES='openmpi-bin openmpi-dev' || true
- sudo apt-get update -qq && sudo apt-get install -qq $PACKAGES
- pip install -qq --use-mirrors Cython
install:
- pip install .
before_script:
- MPIEXEC='mpiexec'
- test $MPI == mpich2 && sudo hostname localhost || true
- test $MPI == mpich2 && MPIEXEC='mpiexec -launcher fork' || true
script:
- $MPIEXEC -n 1 python $PWD/test/runtests.py -v --no-builddir --exclude=spawn
- $MPIEXEC -n 5 python $PWD/test/runtests.py -v --no-builddir --exclude=spawn
#notifications:
# email: false
| # http://travis-ci.org/mpi4py/mpi4py
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
# - pypy
env:
- MPI=mpich1
- MPI=mpich2
- MPI=openmpi
matrix:
allow_failures:
- env: MPI=mpich1
branches:
only:
- master
before_install:
- test $MPI == mpich1 && PACKAGES='mpich-shmem-bin libmpich-shmem1.0-dev' || true
- test $MPI == mpich2 && PACKAGES='mpich2 libmpich2-3 libmpich2-dev' || true
- test $MPI == openmpi && PACKAGES='openmpi-bin openmpi-dev' || true
- sudo apt-get update -qq && sudo apt-get install -qq $PACKAGES
- pip install -qq --use-mirrors Cython
install:
- pip install .
before_script:
- MPIEXEC='mpiexec'
- test $MPI == mpich1 && MPIEXEC='/bin/echo' || true
- test $MPI == mpich2 && sudo hostname localhost || true
- test $MPI == mpich2 && MPIEXEC='mpiexec -launcher fork' || true
script:
- $MPIEXEC -n 1 python $PWD/test/runtests.py -v --no-builddir --exclude=spawn
- $MPIEXEC -n 5 python $PWD/test/runtests.py -v --no-builddir --exclude=spawn
#notifications:
# email: false
|
Remove explicit TERM=dumb for Travis | sudo: false
dist: trusty
language: java
jdk: openjdk8
env:
global:
- TERM=dumb
install: true
script: ./gradlew build
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/{file-changes,fileHashes,plugin-resolution,scripts,scripts-remapped,gradle-script-kotlin}/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
notifications:
email: false
| sudo: false
dist: trusty
language: java
jdk: openjdk8
install: true
script: ./gradlew build
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/{file-changes,fileHashes,plugin-resolution,scripts,scripts-remapped,gradle-script-kotlin}/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
notifications:
email: false
|
Use latest Docker and login the Docker Hub in Travis build. | # Travis build ...
sudo: required
services:
- docker
script:
- ./build.sh
| env:
global:
- DOCKER_VERSION=1.10.1-0~trusty
sudo: required
services:
- docker
before_install:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
script:
- ./build.sh
|
Add Ruby 2.4 to builds and upgrade from 2.3.0 to 2.3.3 | language: ruby
script: bundle exec rspec
rvm:
- 2.0.0
- 2.1.8
- 2.2.0
- 2.3.0
branches:
only:
- master
| language: ruby
script: bundle exec rspec
rvm:
- 2.0.0
- 2.1.8
- 2.2.0
- 2.3.3
- 2.4.0
branches:
only:
- master
|
Drop support for Python 2.5 because of simplejson dependency. | language: python
python:
- "2.5"
- "2.6"
- "2.7"
install:
- pip install -r requirements.txt --use-mirrors
script: nosetests
| language: python
python:
- "2.6"
- "2.7"
install:
- pip install -r requirements.txt --use-mirrors
script: nosetests
|
Remove lib folder from perl tests | language: perl
perl:
- "5.10"
- "5.20"
sudo: require
env:
- PERL5LIB=/usr/share/perl5/ PATH=$PATH:$PWD/Gblocks_0.91b:$PWD/standard-RAxML
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libbio-perl-perl
- sudo apt-get install -y hmmer
- sudo apt-get install -y muscle
- curl http://molevol.cmima.csic.es/castresana/Gblocks/Gblocks_Linux64_0.91b.tar.Z | tar xz
- git clone https://github.com/stamatak/standard-RAxML.git; cd standard-RAxML; make -f Makefile.gcc; cd -
- cd SeqFilter; make; cd -;
install:
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=c HARNESS_TIMER=1
- cpanm --notest Devel::Cover::Report::Coveralls
- cpanm --installdeps .
script:
- perl Makefile.PL
- make
- PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrv
- cover
#after_success:
# - cover -report coveralls
| language: perl
perl:
- "5.10"
- "5.20"
sudo: require
env:
- PERL5LIB=/usr/share/perl5/ PATH=$PATH:$PWD/Gblocks_0.91b:$PWD/standard-RAxML
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libbio-perl-perl
- sudo apt-get install -y hmmer
- sudo apt-get install -y muscle
- curl http://molevol.cmima.csic.es/castresana/Gblocks/Gblocks_Linux64_0.91b.tar.Z | tar xz
- git clone https://github.com/stamatak/standard-RAxML.git; cd standard-RAxML; make -f Makefile.gcc; cd -
- cd SeqFilter; make; cd -;
install:
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=c HARNESS_TIMER=1
- cpanm --notest Devel::Cover::Report::Coveralls
- cpanm --installdeps .
script:
- perl Makefile.PL
- make
- PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -v
- cover
#after_success:
# - cover -report coveralls
|
Upgrade Travis CI docker-engine so that newer version of docker client in docker-compose container are compatible | language: java
jdk:
- oraclejdk8
sudo: required
services:
- docker
before_install:
- env
# Pre-fetch docker images - seems to need to be done before docker env vars are set
- docker pull redis:3.0.2
- docker pull rabbitmq:3.5.3
- docker pull mongo:3.1.5
- docker pull alpine:3.2
- docker pull mysql:latest
- docker pull mysql:5.5.43
- docker pull mysql:5.6
- docker pull mysql:5.5
- docker pull postgres:latest
- docker pull selenium/standalone-chrome-debug:2.45.0
- docker pull selenium/standalone-firefox-debug:2.45.0
- docker pull richnorth/vnc-recorder:latest
- docker pull nginx:1.9.4
- docker pull dduportal/docker-compose:1.3.1
- docker pull richnorth/ambassador:latest
# Update env vars required by testcontainers
- export DOCKER_HOST=tcp://127.0.0.1:2375
- export DOCKER_TLS_VERIFY=0
- env
script:
- mvn test
- mvn test -f shade-test/pom.xml
cache:
directories:
- '$HOME/.m2/repository' | language: java
jdk:
- oraclejdk8
sudo: required
services:
- docker
before_install:
- sudo apt-get update -qq
- sudo apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install docker-engine
- env
# Pre-fetch docker images - seems to need to be done before docker env vars are set
- docker pull redis:3.0.2
- docker pull rabbitmq:3.5.3
- docker pull mongo:3.1.5
- docker pull alpine:3.2
- docker pull mysql:latest
- docker pull mysql:5.5.43
- docker pull mysql:5.6
- docker pull mysql:5.5
- docker pull postgres:latest
- docker pull selenium/standalone-chrome-debug:2.45.0
- docker pull selenium/standalone-firefox-debug:2.45.0
- docker pull richnorth/vnc-recorder:latest
- docker pull nginx:1.9.4
- docker pull dduportal/docker-compose:1.6.0
- docker pull richnorth/ambassador:latest
# Update env vars required by testcontainers
- export DOCKER_HOST=tcp://127.0.0.1:2375
- export DOCKER_TLS_VERIFY=0
- env
script:
- mvn test
- mvn test -f shade-test/pom.xml
cache:
directories:
- '$HOME/.m2/repository' |
Address FCREPO-1659 -- Migration to TravisCI container-based infrastructure. | language: java
jdk:
- oraclejdk8
before_install:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx512m"
script:
- mvn install -B -V
- mvn javadoc:jar
- mvn javadoc:test-aggregate
notifications:
irc: "irc.freenode.org#fcrepo"
email:
- fedora-tech@googlegroups.com
| language: java
sudo: false
jdk:
- oraclejdk8
before_install:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx512m"
script:
- mvn install -B -V
- mvn javadoc:jar
- mvn javadoc:test-aggregate
notifications:
irc: "irc.freenode.org#fcrepo"
email:
- fedora-tech@googlegroups.com
|
Add python 3.6 to tests | language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
script: make test
install:
- pip install .
- pip install -r requirements.txt
| language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
script: make test
install:
- pip install .
- pip install -r requirements.txt
|
Test against modern ruby 2.x | language: ruby
sudo: false
before_install:
- npm install jasmine-node
rvm:
- 1.9.3
- 2.0.0
- 2.2.0
script: 'bundle exec rake spec:js:full'
| language: ruby
sudo: false
before_install:
- npm install jasmine-node
rvm:
- 2.5
- 2.6
- 2.7
script: 'bundle exec rake spec:js:full'
|
Remove deprecated explicit pip download cache | language: python
python:
- "2.7"
env:
global:
- PIP_DOWNLOAD_CACHE=$HOME/.pip_cache
matrix:
- TOX_ENV=py34-django17
- TOX_ENV=py33-django17
- TOX_ENV=py27-django17
- TOX_ENV=py33-django16
- TOX_ENV=py27-django16
- TOX_ENV=py26-django16
- TOX_ENV=py27-django14
- TOX_ENV=py26-django14
- TOX_ENV=flake8
- TOX_ENV=docs
cache:
directories:
- $HOME/.pip-cache/
install:
- "travis_retry pip install setuptools --upgrade"
- "pip install tox"
script:
- tox -e $TOX_ENV
after_script:
- cat .tox/$TOX_ENV/log/*.log
| language: python
python:
- "2.7"
env:
matrix:
- TOX_ENV=py34-django17
- TOX_ENV=py33-django17
- TOX_ENV=py27-django17
- TOX_ENV=py33-django16
- TOX_ENV=py27-django16
- TOX_ENV=py26-django16
- TOX_ENV=py27-django14
- TOX_ENV=py26-django14
- TOX_ENV=flake8
- TOX_ENV=docs
install:
- "travis_retry pip install setuptools --upgrade"
- "pip install tox"
script:
- tox -e $TOX_ENV
after_script:
- cat .tox/$TOX_ENV/log/*.log
|
Make sure Slather is installed on Travis before posting to Coverall | # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode7.2
xcode_scheme: RouterKit
before_install: true
script:
- set -o pipefail
- xctool -scheme 'RouterKit' -sdk iphonesimulator CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO test -parallelize
after_success:
- pod lib lint --quick # ensure podspec is still valid
- slather
| # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode7.2
xcode_scheme: RouterKit
before_install: true
install:
- bundle exec gem install slather
script:
- set -o pipefail
- xctool -scheme 'RouterKit' -sdk iphonesimulator CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO test -parallelize
after_success:
- pod lib lint --quick # ensure podspec is still valid
- slather
|
Add and update Rubies as necessary. | language: ruby
before_install: gem install bundler
rvm:
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-1.7.3
| language: ruby
before_install: gem install bundler
rvm:
- 2.2.0
- 2.1.5
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-1.7.19
|
Update dart:collection to version 1.0.0 | name: yaml
version: 2.0.2-dev
author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: A parser for YAML.
dependencies:
collection: ">=0.9.2 <0.10.0"
path: ">=1.2.0 <2.0.0"
string_scanner: ">=0.1.0 <0.2.0"
source_span: ">=1.0.0 <2.0.0"
dev_dependencies:
unittest: ">=0.9.0 <0.12.0"
environment:
sdk: ">=1.5.0-dev.0.0 <2.0.0"
| name: yaml
version: 2.0.2-dev
author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: A parser for YAML.
dependencies:
collection: ">=0.9.2 <2.0.0"
path: ">=1.2.0 <2.0.0"
string_scanner: ">=0.1.0 <0.2.0"
source_span: ">=1.0.0 <2.0.0"
dev_dependencies:
unittest: ">=0.9.0 <0.12.0"
environment:
sdk: ">=1.5.0-dev.0.0 <2.0.0"
|
Correct final build step command | version: 0.2
phases:
install:
commands:
- echo Nothing to do in the install phase...
- SRC_HOME=$PWD
pre_build:
commands:
- cd $SRC_HOME
- cd functions
- lein test
build:
commands:
- cd $SRC_HOME
- echo Build started on `date`
- cd functions
- lein uberjar
post_build:
commands:
cd $SRC_HOME
- cp functions/target/uberjar/wort-0.1.0-SNAPSHOT-standalone.jar lambda.jar
- echo Build completed on `date`
artifacts:
files:
- lambda.jar
discard-paths: yes
| version: 0.2
phases:
install:
commands:
- echo Nothing to do in the install phase...
- SRC_HOME=$PWD
pre_build:
commands:
- cd $SRC_HOME
- cd functions
- lein test
build:
commands:
- cd $SRC_HOME
- echo Build started on `date`
- cd functions
- lein uberjar
post_build:
commands:
- cd $SRC_HOME
- cp functions/target/uberjar/wort-0.1.0-SNAPSHOT-standalone.jar lambda.jar
- echo Build completed on `date`
artifacts:
files:
- lambda.jar
discard-paths: yes
|
Use any 8.6 version of GHC | name: Deploy to GitHub Pages
on:
push:
branches:
- dev
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: haskell/actions/setup@v1
with:
ghc-version: '8.6.5'
cabal-version: '3.0'
- name: Install dependencies
run: cabal update
- name: Generate site
run: cabal run
- name: Deploy site
uses: s0/git-publish-subdir-action@v2.5.1
env:
REPO: self
BRANCH: gh-pages
FOLDER: _site
SSH_PRIVATE_KEY: ${{ secrets.GITHUB_TOKEN }}
| name: Deploy to GitHub Pages
on:
push:
branches:
- dev
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: haskell/actions/setup@v1
with:
ghc-version: '8.6'
cabal-version: '3.0'
- name: Install dependencies
run: cabal update
- name: Generate site
run: cabal run
- name: Deploy site
uses: s0/git-publish-subdir-action@v2.5.1
env:
REPO: self
BRANCH: gh-pages
FOLDER: _site
SSH_PRIVATE_KEY: ${{ secrets.GITHUB_TOKEN }}
|
Update from Hackage at 2020-12-07T08:57:35Z | homepage: ''
changelog-type: ''
hash: 6f52cf1a19ed300d4150693397e2d82d3c12e514901aff98e6064ae05d148511
test-bench-deps: {}
maintainer: nvd1234@gmail.com
synopsis: Groups
changelog: ''
basic-deps:
base: '>=4.6 && <5'
all-versions:
- '0.1'
- 0.1.0.1
- 0.2.0.0
- 0.2.0.1
- 0.3.0.0
- 0.4.0.0
- 0.4.1.0
- '0.5'
- 0.5.1
author: Nathan "Taneb" van Doorn
latest: 0.5.1
description-type: haddock
description: A group is a monoid with invertibility.
license-name: BSD-3-Clause
| homepage: ''
changelog-type: ''
hash: c7bcad157b4e3699e3c181d14f8cc6d1737b4f313f5e310f40c21290951b9a3d
test-bench-deps: {}
maintainer: nvd1234@gmail.com
synopsis: Groups
changelog: ''
basic-deps:
base: '>=4.6 && <5'
all-versions:
- '0.1'
- 0.1.0.1
- 0.2.0.0
- 0.2.0.1
- 0.3.0.0
- 0.4.0.0
- 0.4.1.0
- '0.5'
- 0.5.1
- 0.5.2
author: Nathan "Taneb" van Doorn
latest: 0.5.2
description-type: haddock
description: A group is a monoid with invertibility.
license-name: BSD-3-Clause
|
Add new line at end of file | semi: false
singleQuote: true
bracketSpacing: false
trailingComma: "none"
arrowParens: "avoid" | semi: false
singleQuote: true
bracketSpacing: false
trailingComma: "none"
arrowParens: "avoid"
|
Exclude vendor files from check | filter:
excluded_paths:
- '3rdparty/*'
imports:
- javascript
- php
checks:
php:
code_rating: true
duplication: true
| filter:
excluded_paths:
- '3rdparty/*'
- 'js/vendor/*'
imports:
- javascript
- php
checks:
php:
code_rating: true
duplication: true
|
Switch from markru to kramdown | safe: false
auto: false
server: false
server_port: 4000
source: .
destination: ./_site
plugins: ./_plugins
future: true
lsi: false
pygments: false
markdown: maruku
permalink: none
maruku:
use_tex: false
use_divs: false
png_engine: blahtex
png_dir: images/latex
png_url: /images/latex
rdiscount:
extensions: []
kramdown:
auto_ids: true,
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
use_coderay: false
coderay:
coderay_wrap: div
coderay_line_numbers: inline
coderay_line_numbers_start: 1
coderay_tab_width: 4
coderay_bold_every: 10
coderay_css: style
| safe: false
auto: false
server: false
server_port: 4000
source: .
destination: ./_site
plugins: ./_plugins
future: true
lsi: false
pygments: false
markdown: kramdown
permalink: none
rdiscount:
extensions: []
kramdown:
auto_ids: true,
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
use_coderay: false
coderay:
coderay_wrap: div
coderay_line_numbers: inline
coderay_line_numbers_start: 1
coderay_tab_width: 4
coderay_bold_every: 10
coderay_css: style
|
Add Support For Google Adsense Page-level ads | # Header
menu:
## If your site is put in a subdirectory, set Home as '/child/'
Home: /
Archives: archives
social:
email:
twitter:
weibo:
github:
googleplus:
rss: /atom.xml
# Content
fancybox: true # set to true if you want to use it
duoshuo: #duoshuo_shortname
disqus: #disqus _shortname
| # Header
menu:
## If your site is put in a subdirectory, set Home as '/child/'
Home: /
Archives: archives
social:
email:
twitter:
weibo:
github:
googleplus:
rss: /atom.xml
# Content
fancybox: true # set to true if you want to use it
duoshuo: #duoshuo_shortname
disqus: #disqus _shortname
google_analytics: #Google Analytics Tracking Code
google_adsense_page_level_ads: #Google Adsense Page Level Ads Code
|
Exclude yarn.lock from the jekyll build | # Site settings
title: thirty-four
email: blog@posnick.org
description: "thirty-four is crafted with love in Brooklyn, by Jeff Posnick."
baseurl: ""
url: "https://jeffy.info"
github:
username: jeffposnick
twitter:
username: jeffposnick
logo: /assets/images/34.png
# Build settings
markdown: kramdown
kramdown:
auto_ids: true
exclude: ["node_modules", "Gemfile", "Gemfile.lock", "LICENSE", "package.json", "README.md", "src", "gulpfile.js"]
| # Site settings
title: thirty-four
email: blog@posnick.org
description: "thirty-four is crafted with love in Brooklyn, by Jeff Posnick."
baseurl: ""
url: "https://jeffy.info"
github:
username: jeffposnick
twitter:
username: jeffposnick
logo: /assets/images/34.png
# Build settings
markdown: kramdown
kramdown:
auto_ids: true
exclude: ["yarn.lock", "node_modules", "Gemfile", "Gemfile.lock", "LICENSE", "package.json", "README.md", "src", "gulpfile.js"]
|
Remove hardcoded username and password for dev and test Most default environments authenticate postgres as the operating system user so don't require username and password being set | default: &default
adapter: postgresql
encoding: unicode
pool: 5
development:
<<: *default
host: localhost
database: energy_sparks_development
username: postgres
password: pgdev
test: &test
<<: *default
host: localhost
database: energy_sparks_test
username: postgres
password: pgdev
staging:
<<: *default
database: <%= ENV['STAGING_DB_NAME'] %>
host: <%= ENV['STAGING_DB_HOST'] %>
username: <%= ENV['STAGING_DB_USER'] %>
password: <%= ENV['STAGING_DB_PASSWORD'] %>
production:
<<: *default
database: <%= ENV['PRODUCTION_DB_NAME'] %>
host: <%= ENV['PRODUCTION_DB_HOST'] %>
username: <%= ENV['PRODUCTION_DB_USER'] %>
password: <%= ENV['PRODUCTION_DB_PASSWORD'] %>
cucumber:
<<: *test
| default: &default
adapter: postgresql
encoding: unicode
pool: 5
development:
<<: *default
host: localhost
database: energy_sparks_development
test: &test
<<: *default
host: localhost
database: energy_sparks_test
staging:
<<: *default
database: <%= ENV['STAGING_DB_NAME'] %>
host: <%= ENV['STAGING_DB_HOST'] %>
username: <%= ENV['STAGING_DB_USER'] %>
password: <%= ENV['STAGING_DB_PASSWORD'] %>
production:
<<: *default
database: <%= ENV['PRODUCTION_DB_NAME'] %>
host: <%= ENV['PRODUCTION_DB_HOST'] %>
username: <%= ENV['PRODUCTION_DB_USER'] %>
password: <%= ENV['PRODUCTION_DB_PASSWORD'] %>
cucumber:
<<: *test
|
Test with jax <= 0.3.14 for network compatibility | name: Tests
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.8', '3.10']
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Setup ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
id: setup-ffmpeg
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --quiet tensorflow tensorflow-probability torch jax jaxlib plotly nbformat ipython pylint coverage pytest
pip install .
- name: Test with pytest
run: |
coverage run -m pytest tests/commit
- name: Upload coverage
run:
bash <(curl -s https://codecov.io/bash)
- name: pylint
continue-on-error: true
run: |
pylint --rcfile=./demos/.pylintrc demos
pylint --rcfile=./tests/.pylintrc tests
pylint --rcfile=./phi/.pylintrc phi
| name: Tests
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.8', '3.10']
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Setup ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
id: setup-ffmpeg
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --quiet tensorflow tensorflow-probability torch "jax<=0.3.14" "jaxlib<=0.3.14" plotly nbformat ipython pylint coverage pytest
pip install .
- name: Test with pytest
run: |
coverage run -m pytest tests/commit
- name: Upload coverage
run:
bash <(curl -s https://codecov.io/bash)
- name: pylint
continue-on-error: true
run: |
pylint --rcfile=./demos/.pylintrc demos
pylint --rcfile=./tests/.pylintrc tests
pylint --rcfile=./phi/.pylintrc phi
|
Remove free strategy as some tasks were not being run | - hosts:
- ansible-test
- localhost
- travis-ci
remote_user: ansible
become: true
become_user: root
become_method: sudo
strategy: free
gather_facts: true
roles:
- core_pkg
- core_pip
- cron
- docker
- dotfiles
- entropy
- firewall
- gitsemver
- gpg
- mounts
- ntp
- ssh
- sshkeys
- timezone
- users
- vagrant
- vim
| - hosts:
- ansible-test
- localhost
- travis-ci
remote_user: ansible
become: true
become_user: root
become_method: sudo
gather_facts: true
roles:
- core_pkg
- core_pip
- cron
- docker
- dotfiles
- entropy
- firewall
- gitsemver
- gpg
- mounts
- ntp
- ssh
- sshkeys
- timezone
- users
- vagrant
- vim
|
Use Chromium instead of Chrome in attempt to troubleshoot startup | version: 0.1
phases:
install:
commands:
- wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
- "echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' >> \
/etc/apt/sources.list.d/google.list"
- apt-get update
- apt-get install -y --no-install-recommends google-chrome-stable xvfb
- npm install
pre_build:
commands:
- npm run headless test:once e2e lint
build:
commands:
- npm run build:prod
post_build:
commands:
- aws s3 sync dist/ s3://${WEB_BUCKET}/app/ --exclude index.html
- aws s3 cp dist/index.html s3://${WEB_BUCKET}/app/
| version: 0.1
phases:
install:
commands:
- apt-get update
- apt-get install -y --no-install-recommends chromium-browser xvfb
- npm install
pre_build:
commands:
- npm run headless test:once e2e lint
build:
commands:
- npm run build:prod
post_build:
commands:
- aws s3 sync dist/ s3://${WEB_BUCKET}/app/ --exclude index.html
- aws s3 cp dist/index.html s3://${WEB_BUCKET}/app/
|
Add augeas_core back as a fixture | fixtures:
symlinks:
zfs: "#{source_dir}"
forge_modules:
stdlib:
repo: "puppetlabs/stdlib"
ref: "4.13.0"
apt:
repo: "puppetlabs/apt"
ref: "2.2.0"
kmod:
repo: "camptocamp/kmod"
ref: "2.0.0"
yumrepo_core:
repo: "puppetlabs/yumrepo_core"
ref: "1.0.2"
cron_core:
repo: "puppetlabs/cron_core"
ref: "1.0.0"
| fixtures:
symlinks:
zfs: "#{source_dir}"
forge_modules:
stdlib:
repo: "puppetlabs/stdlib"
ref: "4.13.0"
apt:
repo: "puppetlabs/apt"
ref: "2.2.0"
kmod:
repo: "camptocamp/kmod"
ref: "2.0.0"
augeas_core:
repo: "puppetlabs/augeas_core"
ref: "1.0.1"
yumrepo_core:
repo: "puppetlabs/yumrepo_core"
ref: "1.0.2"
cron_core:
repo: "puppetlabs/cron_core"
ref: "1.0.0"
|
Remove yet another broken link in Docs | navigation:
- text: Install
dropdown:
- text: Platforms
url: /platforms.html
- divider
- text: Install Cucumber-JVM
url: /install-cucumber-jvm.html
- text: Install Cucumber-Ruby
url: /install-cucumber-ruby.html
- text: Install Cucumber-Rails
url: /install-cucumber-rails.html
- text: Install Cucumber-JavaScript
url: /install-cucumber-js.html
- text: Running
url: /running.html
- text: Gherkin
url: /gherkin.html
- text: API
dropdown:
- text: API Overview
url: /api-overview.html
- text: Glue Code
url: /glue-code.html
- text: Step Definitions
url: /step-definitions.html
- text: Hooks
url: /hooks.html
- text: Reports
url: /reports.html
- divider: Cucumber-JVM
- text: Dependency Injection
url: /dependency-injection.html
- text: Learn more
dropdown:
- text: Browser Automation
url: /browser-automation.html
- text: Reports
url: /reports.html
- text: Databases
url: /databases.html
- text: Ecosystem
dropdown:
- text: Community Help
url: /community-help.html
pygments: true
| navigation:
- text: Install
dropdown:
- text: Platforms
url: /platforms.html
- divider
- text: Install Cucumber-JVM
url: /install-cucumber-jvm.html
- text: Install Cucumber-Ruby
url: /install-cucumber-ruby.html
- text: Install Cucumber-Rails
url: /install-cucumber-rails.html
- text: Install Cucumber-JavaScript
url: /install-cucumber-js.html
- text: Running
url: /running.html
- text: Gherkin
url: /gherkin.html
- text: API
dropdown:
- text: API Overview
url: /api-overview.html
- text: Glue Code
url: /glue-code.html
- text: Step Definitions
url: /step-definitions.html
- text: Hooks
url: /hooks.html
- text: Reports
url: /reports.html
- divider: Cucumber-JVM
- text: Dependency Injection
url: /dependency-injection.html
- text: Learn more
dropdown:
- text: Browser Automation
url: /browser-automation.html
- text: Reports
url: /reports.html
- text: Databases
url: /databases.html
pygments: true
|
Use `wp core download` in Travis tests too. | language: php
php:
- 5.3
- 5.4
env:
- WP_VERSION=latest
- WP_VERSION=3.4.2
matrix:
exclude:
- php: 5.4
env: WP_VERSION=3.4.2
before_script:
# install dependencies
- composer install --dev --no-interaction --prefer-source
# set up WP install
- WP_CORE_DIR=/tmp/wp-cli-test-core-download-cache/
- mkdir -p $WP_CORE_DIR
- wget -nv -O /tmp/wordpress.tar.gz http://wordpress.org/wordpress-$WP_VERSION.tar.gz
- tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C $WP_CORE_DIR
# set up database
- mysql -e 'CREATE DATABASE wp_cli_test;' -uroot
- mysql -e 'GRANT ALL PRIVILEGES ON wp_cli_test.* TO "wp_cli_test"@"localhost" IDENTIFIED BY "password1"' -uroot
script: vendor/bin/phpunit && vendor/bin/behat
| language: php
php:
- 5.3
- 5.4
env:
- WP_VERSION=latest
- WP_VERSION=3.4.2
matrix:
exclude:
- php: 5.4
env: WP_VERSION=3.4.2
before_script:
# install dependencies
- composer install --dev --no-interaction --prefer-source
# set up WP install
- bin/wp core download --version=$WP_VERSION --path=/tmp/wp-cli-test-core-download-cache/
# set up database
- mysql -e 'CREATE DATABASE wp_cli_test;' -uroot
- mysql -e 'GRANT ALL PRIVILEGES ON wp_cli_test.* TO "wp_cli_test"@"localhost" IDENTIFIED BY "password1"' -uroot
script: vendor/bin/phpunit && vendor/bin/behat
|
Drop support for node 0.12 | language: node_js
node_js:
- "stable"
- "4"
- "0.12"
jobs:
include:
# With Node.js 5, we need a version of npm higher than the default from NVM
# Otherwise we hit https://github.com/npm/cli/issues/681
- name: "Node.js 5"
node_js: "5"
before_install:
- npm i -g npm@4.6.1
- name: "Check codestyle"
script: npm run check-codestyle
| language: node_js
node_js:
- "stable"
- "4"
jobs:
include:
# With Node.js 5, we need a version of npm higher than the default from NVM
# Otherwise we hit https://github.com/npm/cli/issues/681
- name: "Node.js 5"
node_js: "5"
before_install:
- npm i -g npm@4.6.1
- name: "Check codestyle"
script: npm run check-codestyle
|
Make Travis CI report its build status to Slack | sudo: required
services:
- docker
notifications:
email: false
before_install:
- docker pull dalg24/dtk-stack
- docker run
--detach --tty
--name=test-machine
--volume ${TRAVIS_BUILD_DIR}:/scratch/source/dtk
--env TRAVIS_PULL_REQUEST=${TRAVIS_PULL_REQUEST}
--env CTEST_BUILD_NAME="$(curl -s https://raw.githubusercontent.com/ORNL-CEES/Cap/master/docker/get_build_info.sh | bash)"
dalg24/dtk-stack
- docker ps -a
- env
- docker exec test-machine
/scratch/source/dtk/docker/build_dtk_and_run_unit_tests.sh
script:
- echo "Hello World"
| sudo: required
services:
- docker
notifications:
email: false
slack: ornl-cees:0uSbIVFX7WZKEF1OYb0ULMXa
before_install:
- docker pull dalg24/dtk-stack
- docker run
--detach --tty
--name=test-machine
--volume ${TRAVIS_BUILD_DIR}:/scratch/source/dtk
--env TRAVIS_PULL_REQUEST=${TRAVIS_PULL_REQUEST}
--env CTEST_BUILD_NAME="$(curl -s https://raw.githubusercontent.com/ORNL-CEES/Cap/master/docker/get_build_info.sh | bash)"
dalg24/dtk-stack
- docker ps -a
- env
- docker exec test-machine
/scratch/source/dtk/docker/build_dtk_and_run_unit_tests.sh
script:
- echo "Hello World"
|
Install gcc 4.8 on Travis CI | language: haskell
install:
# - cabal install hsc2hs cabal-dev
# - cd engine && cabal install --only-dependencies --enable-tests
- cabal install split
script:
# - cabal configure && cabal build && ./dist/build/shakefile/shakefile test
- cd engine && ./stir update --force-reinstalls && ./stir test
env: CC=clang TOOLCHAIN_VARIANT=clang
| language: haskell
before_install:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update -qq
sudo apt-get install -qq g++-4.8
install:
# - cabal install hsc2hs cabal-dev
# - cd engine && cabal install --only-dependencies --enable-tests
- cabal install split
script:
# - cabal configure && cabal build && ./dist/build/shakefile/shakefile test
- cd engine && ./stir update --force-reinstalls && ./stir test
env: CC=clang TOOLCHAIN_VARIANT=clang
|
Build with Node.js 14 at Travis CI. | sudo: false
language: node_js
node_js:
- '12'
branches:
only:
- master
- travis-ci
install:
- npm install -g npm
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls
| sudo: false
language: node_js
node_js:
- '12'
- '14'
branches:
only:
- master
- travis-ci
install:
- npm install -g npm
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls
|
Test on python 3 and allow that to fail | language: python
python:
- "2.6"
- "2.7"
install: >
if test -e requirements-dev-$TRAVIS_PYTHON_VERSION.txt; then
pip install -r requirements-dev-$TRAVIS_PYTHON_VERSION.txt --use-mirrors
else
pip install -r requirements-dev.txt --use-mirrors
fi &&
sudo apt-get install vsftpd
script: >
export PYCURL_VSFTPD_PATH=/usr/sbin/vsftpd &&
make test
| language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
matrix:
allow_failures:
- python:
- "3.2"
- "3.3"
install: >
if test -e requirements-dev-$TRAVIS_PYTHON_VERSION.txt; then
pip install -r requirements-dev-$TRAVIS_PYTHON_VERSION.txt --use-mirrors
else
pip install -r requirements-dev.txt --use-mirrors
fi &&
sudo apt-get install vsftpd
script: >
export PYCURL_VSFTPD_PATH=/usr/sbin/vsftpd &&
make test
|
Enable containerized builds on Travis CI | # Validate this file using http://lint.travis-ci.org/
language: python
python:
- "2.7"
install:
- pip install -r tests/requirements.txt
- pip install -r $VIRTUAL_ENV/src/varda/requirements.txt
- python setup.py install
script: py.test
| # Validate this file using http://lint.travis-ci.org/
language: python
sudo: false
python:
- "2.7"
install:
- pip install -r tests/requirements.txt
- pip install -r $VIRTUAL_ENV/src/varda/requirements.txt
- python setup.py install
script: py.test
|
Update for Chef 15 license agreement and Chef Workstation | sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
env: UNIT_AND_LINT=1
| addons:
apt:
sources:
- chef-current-xenial
packages:
- chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
env:
- CHEF_LICENSE=accept
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
env:
- UNIT_AND_LINT=1
- CHEF_LICENSE=accept
|
Use JDK 8 to recognize javadoc lint parameter | language: java
notifications:
email: false
hipchat:
rooms:
secure: CO1rkQMD/T5fpAozqneRg6SqVIMrgi659A5hGUA9pdwFXDv9y4MZTjTE9cws30po1v74k9EtrNSGwAMnZoKao6lorQBL2d1S+HQKkFQIrwNJ1wLrgFz8KBDziv35Bt3+8yYHxPGtu0iLgK+xHvSx2WWs+MtoH9Xdj37QfJi56+o=
branches:
except:
- gh-pages
before_install:
- export TERM=dumb
- sudo apt-get update
- sudo apt-get install -qq libstdc++6:i386 lib32z1
| language: java
jdk:
- oraclejdk8
notifications:
email: false
hipchat:
rooms:
secure: CO1rkQMD/T5fpAozqneRg6SqVIMrgi659A5hGUA9pdwFXDv9y4MZTjTE9cws30po1v74k9EtrNSGwAMnZoKao6lorQBL2d1S+HQKkFQIrwNJ1wLrgFz8KBDziv35Bt3+8yYHxPGtu0iLgK+xHvSx2WWs+MtoH9Xdj37QfJi56+o=
branches:
except:
- gh-pages
before_install:
- export TERM=dumb
- sudo apt-get update
- sudo apt-get install -qq libstdc++6:i386 lib32z1
|
Switch back to stable ChefDK builds for testing | # 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)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
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
| # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-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)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
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
|
Add 0.12 and iojs to CI run. | sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.12"
- iojs
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Enable virtual x frame buffer | language: python
python:
- "3.4"
addons:
postgresql: "9.3"
git:
submodules: false # Handle git submodules yourself
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules # Use sed to replace the ssh url with public https url
notifications:
email: false
install:
- sudo apt-get -y update
- sudo apt-get -y install libxml2 libxslt1.1 libzip2 python-virtualenv pyflakes sqlite build-essential zlibc curl file git ruby nodejs npm phantomjs leiningen maven tomcat7 openjdk-7-jdk supervisor nginx
- make POSTGRES_DEDICATED=false
script:
- bin/python tests-mock-services/example-service.py &
- bin/py.test tests-acceptance-frontend
- bin/py.test tests-api-services
| language: python
python:
- "3.4"
addons:
postgresql: "9.3"
git:
submodules: false # Handle git submodules yourself
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules # Use sed to replace the ssh url with public https url
- export DISPLAY=:10
- sudo Xvfb ${DISPLAY} -ac &
notifications:
email: false
install:
- sudo apt-get -y update
- sudo apt-get -y install libxml2 libxslt1.1 libzip2 python-virtualenv pyflakes sqlite build-essential zlibc curl file git ruby nodejs npm phantomjs leiningen maven tomcat7 openjdk-7-jdk supervisor nginx
- make POSTGRES_DEDICATED=false
script:
- bin/python tests-mock-services/example-service.py &
- bin/py.test tests-acceptance-frontend
- bin/py.test tests-api-services
|
Use true instead of yes. | branches:
except:
- appveyor
- circleci
language: cpp
os:
- linux
- osx
compiler:
- clang
env:
- CMAKE_FLAGS="" DEPLOY_DOCS="yes"
osx_image: xcode9.2
dist: xenial
sudo: true
install:
- pushd ci
- ./install_deps.sh
- popd
before_script:
- export BUILD_DIR="build"
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CMAKE_FLAGS="$CMAKE_FLAGS -DTINYSPLINE_WITH_PHP=FALSE -DTINYSPLINE_WITH_RUBY=FALSE"; fi;
script:
- pushd ci
- ./compile.sh
- ./deploy_docs.sh
- popd
| branches:
except:
- appveyor
- circleci
language: cpp
os:
- linux
- osx
compiler:
- clang
osx_image: xcode9.2
dist: xenial
sudo: true
install:
- pushd ci
- ./install_deps.sh
- popd
before_script:
- export BUILD_DIR="build"
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export DEPLOY_DOCS="true"; fi;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export CMAKE_FLAGS="$CMAKE_FLAGS -DTINYSPLINE_WITH_PHP=FALSE -DTINYSPLINE_WITH_RUBY=FALSE"; fi;
script:
- pushd ci
- ./compile.sh
- ./deploy_docs.sh
- popd
|
Remove redundant assemble target from the Travis script section - as Travis performs the same step by itself anyway. | language: java
before_install:
- chmod +x gradlew
- pip install --user codecov
after_success:
- codecov
script:
- ./gradlew assemble
- ./gradlew check --info | language: java
before_install:
- chmod +x gradlew
- pip install --user codecov
after_success:
- codecov
script: ./gradlew check --info |
Change python support in build | language: python
python:
- "2.7"
- "3.5"
sudo:
- "required"
before_install:
- "sudo apt-get update"
- "sudo apt-get install postfix"
- "sudo service postfix start"
install:
- "pip install -r requirements.txt"
- "npm install"
- "grunt"
script:
- "python svenv/manage.py test svenv"
- "grunt jasmine"
| language: python
python:
- "2.7"
- "3.5.0b3"
sudo:
- "required"
before_install:
- "sudo apt-get update"
- "sudo apt-get install postfix"
- "sudo service postfix start"
install:
- "pip install -r requirements.txt"
- "npm install"
- "grunt"
script:
- "python svenv/manage.py test svenv"
- "grunt jasmine"
|
Upgrade Django 1.9a1 -> 1.9.2. | language: python
python:
- 2.7
- 3.3
sudo: false
env:
- DJANGO_VERSION=1.4.22
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.6.11
- DJANGO_VERSION=1.7.10
- DJANGO_VERSION=1.8.4
- DJANGO_VERSION=1.9a1
matrix:
allow_failures:
- python: 3.3
# env: DJANGO_VERSION=1.9a1
before_install:
- if [ $TRAVIS_PYTHON_VERSION == 3.3 ]; then sed -ie "s/^robotframework$/robotframework-python3/g" requirements.txt; fi
install:
- cat requirements.txt
- pip install -r requirements.txt
- pip install -q flake8
- pip install -q --pre Django==$DJANGO_VERSION
- python setup.py install
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- pybot DjangoLibrary/tests/
- flake8 .
after_script:
- firefox --version
| language: python
python:
- 2.7
- 3.3
sudo: false
env:
- DJANGO_VERSION=1.4.22
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.6.11
- DJANGO_VERSION=1.7.10
- DJANGO_VERSION=1.8.4
- DJANGO_VERSION=1.9.2
matrix:
allow_failures:
- python: 3.3
# env: DJANGO_VERSION=1.9a1
before_install:
- if [ $TRAVIS_PYTHON_VERSION == 3.3 ]; then sed -ie "s/^robotframework$/robotframework-python3/g" requirements.txt; fi
install:
- cat requirements.txt
- pip install -r requirements.txt
- pip install -q flake8
- pip install -q --pre Django==$DJANGO_VERSION
- python setup.py install
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- pybot DjangoLibrary/tests/
- flake8 .
after_script:
- firefox --version
|
Debug push to docker cloud | sudo: required
language: ruby
services:
- docker
install:
- docker build -t johntfoster/tadiga:test .
script:
- docker run johntfoster/tadiga:test /bin/sh -c "cd /tadiga/build; make test"
after_success:
- docker run johntfoster/tadiga:test /bin/bash -c "rm -rf /tadiga"
- CONTAINER_ID=`docker ps -a -n 1 | awk '/tadiga/{print $1}'`
- docker commit $CONTAINER_ID johntfoster/tadiga:latest
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
docker push johntfoster/tadiga:latest;
fi
| sudo: required
language: ruby
services:
- docker
install:
- docker build -t johntfoster/tadiga:test .
script:
- docker run johntfoster/tadiga:test /bin/sh -c "cd /tadiga/build; make test"
after_success:
- docker run johntfoster/tadiga:test /bin/bash -c "rm -rf /tadiga"
- CONTAINER_ID=`docker ps -a -n 1 | awk '/tadiga/{print $1}'`
- docker commit $CONTAINER_ID johntfoster/tadiga:latest
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
docker push johntfoster/tadiga:latest;
fi
|
Remove RVM from Travis since we use Ruby in ChefDK | rvm: 2.2
sudo: required
# install the pre-release chef-dk. Use chef-stable-precise to install the stable release
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-centos-7
# Don't `bundle install`
install: echo "skip bundle install"
# Ensure we make ChefDK's Ruby the default
before_script:
# https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- /opt/chefdk/embedded/bin/chef gem install kitchen-docker
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec
- KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
| sudo: required
# install the pre-release chef-dk. Use chef-stable-precise to install the stable release
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-centos-7
# Don't `bundle install`
install: echo "skip bundle install"
# Ensure we make ChefDK's Ruby the default
before_script:
# https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- /opt/chefdk/embedded/bin/chef gem install kitchen-docker
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec
- KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
|
Add job for default profil deployment | language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
jobs:
include:
- stage: build-with-tests
install:
mvn --settings .maven.xml install -B
- stage: build-profil-MinimizedDependencies
install:
mvn clean install --settings .maven.xml -B -PMinimizedDependencies
- stage: deploy-develop-branch
install:
mvn clean deploy --settings .maven.xml -B -PMinimizedDependencies
stages:
- build-with-tests
- build-profil-MinimizedDependencies
- name: deploy-develop-branch
if: branch = develop
| language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
jobs:
include:
- stage: build-with-tests
install:
mvn --settings .maven.xml install -B
- stage: build-profil-MinimizedDependencies
install:
mvn clean install --settings .maven.xml -B -PMinimizedDependencies
- stage: deploy-develop-with-profil-MinimizedDependencies
install:
mvn clean deploy --settings .maven.xml -B -PMinimizedDependencies
- stage: deploy-develop
install:
mvn clean deploy --settings .maven.xml -B
stages:
- build-with-tests
- build-profil-MinimizedDependencies
- name: deploy-develop-with-profil-MinimizedDependencies
if: branch = develop
- name: deploy-develop
if: branch = develop
|
FIX - Remove php 5.6 & hhmv | language: php
php:
- 5.6
- 7.0
- hhvm
before_script:
- composer self-update
- composer install
- cp phpcs.ruleset.xml.dist phpcs.ruleset.xml
script:
- php vendor/bin/phpcs --standard=phpcs.ruleset.xml src/
- php vendor/bin/phpunit
| language: php
php:
- 7.0
before_script:
- composer self-update
- composer install
- cp phpcs.ruleset.xml.dist phpcs.ruleset.xml
script:
- php vendor/bin/phpcs --standard=phpcs.ruleset.xml src/
- php vendor/bin/phpunit
|
Remove Mono debug logging now that dllimport problem fixed | language: csharp
solution: Agiil.sln
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get -y install libstdc++6-4.7-dev
install:
- mkdir -p ~/.mono
- cp Tools/mono.config ~/.mono/config
- nuget restore Agiil.sln
- nuget install NUnit.ConsoleRunner -Version 3.6.1 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Debug Agiil.sln
- MONO_LOG_LEVEL=debug mono "./testrunner/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe" $(find ./Tests/ -type f -path "*/bin/Debug/*" -name "Agiil.Tests*.dll" \! -name "Agiil.Tests.Common.dll") | language: csharp
solution: Agiil.sln
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get -y install libstdc++6-4.7-dev
install:
- mkdir -p ~/.mono
- cp Tools/mono.config ~/.mono/config
- nuget restore Agiil.sln
- nuget install NUnit.ConsoleRunner -Version 3.6.1 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Debug Agiil.sln
- mono "./testrunner/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe" $(find ./Tests/ -type f -path "*/bin/Debug/*" -name "Agiil.Tests*.dll" \! -name "Agiil.Tests.Common.dll") |
Add sudo required in the hope that the container is recreated on Travis | sudo: false
language: python
env:
- TOXENV=django16
install:
- pip install tox
before_script:
- psql -U postgres -c "create database jmbo encoding 'UTF8'"
script: tox
| sudo: required
language: python
env:
- TOXENV=django16
install:
- pip install tox
before_script:
- psql -U postgres -c "create database jmbo encoding 'UTF8'"
script: tox
|
Make codecov take full coverage file | language: go
go:
- 1.5
sudo: false
addons:
apt:
packages:
- libpcap-dev
- python-virtualenv
- geoip-database
before_install:
# Redo the travis setup but with the elastic/packetbeat path. This is needed so the package path is correct
- mkdir -p $HOME/gopath/src/github.com/elastic/packetbeat
- rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/elastic/packetbeat/
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/elastic/packetbeat
- cd $HOME/gopath/src/github.com/elastic/packetbeat
install:
- make
script:
- make full-coverage
notifications:
email:
- tudor@elastic.co
- monica@elastic.co
after_success:
# Copy profile.cov to coverage.txt because codecov.io requires this file
- cp coverage/full.cov coverage.txt
- bash <(curl -s https://codecov.io/bash) | language: go
go:
- 1.5
sudo: false
addons:
apt:
packages:
- libpcap-dev
- python-virtualenv
- geoip-database
before_install:
# Redo the travis setup but with the elastic/packetbeat path. This is needed so the package path is correct
- mkdir -p $HOME/gopath/src/github.com/elastic/packetbeat
- rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/elastic/packetbeat/
- export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/elastic/packetbeat
- cd $HOME/gopath/src/github.com/elastic/packetbeat
install:
- make
script:
- make full-coverage
notifications:
email:
- tudor@elastic.co
- monica@elastic.co
after_success:
- bash <(curl -s https://codecov.io/bash) -f coverage/full.cov |
Add gulp test as package.json test script | language: node_js
node_js:
- "4.1"
- "4.0"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm install"
- "npm install -g typescript"
- "npm install -g tsd"
- "npm install -g gulp"
- "tsd install"
- "gulp test"
| language: node_js
node_js:
- "4.1"
- "4.0"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm install -g typescript"
- "npm install -g tsd"
- "npm install -g gulp"
- "tsd install"
script: gulp test
|
Make jshint properly do something | language: node_js
node_js:
- "0.10"
before_script:
- "npm install -g jshint"
after_script:
- "jshint"
notifications:
email:
recipients:
- david@mojang.com
- amir@mojang.com
on_success: change
on_failure: always | language: node_js
node_js:
- "0.10"
before_script:
- "npm install -g jshint"
after_script:
- "jshint ."
notifications:
email:
recipients:
- david@mojang.com
- amir@mojang.com
on_success: change
on_failure: always |
Disable failing notebook check in Python 3.5 | sudo: required
dist: xenial
language: python
cache: pip
python:
- "3.5"
- "3.6"
- "3.7"
env:
matrix:
- TEST=unit
- TEST=issue
- TEST=console
- TEST=examples
- TEST=lint
install:
- pip install --upgrade pip six
- pip install -r requirements.txt
- pip install -r requirements-test.txt
- pip install -e .[notebook,app,html]
script:
- if [ $TEST == 'unit' ]; then pytest --cov=. tests/unit/; fi
- if [ $TEST == 'issue' ]; then pytest --cov=. tests/issues/; fi
- if [ $TEST == 'examples' ]; then pytest --nbval --cov=. --sanitize-with tests/sanitize-notebook.cfg examples/; fi
- if [ $TEST == 'console' ]; then pandas_profiling -h; fi
- if [ $TEST == 'lint' ]; then pytest --black -m black src/; fi
after_success:
- codecov -F $TEST
| sudo: required
dist: bionic
language: python
cache: pip
python:
- "3.5"
- "3.6"
- "3.7"
env:
- TEST=unit
- TEST=issue
- TEST=console
- TEST=examples
- TEST=lint
jobs:
exclude:
- python: "3.5"
env: TEST=example
install:
- pip install --upgrade pip six
- pip install -r requirements.txt
- pip install -r requirements-test.txt
- pip install -e .[notebook,app,html]
script:
- if [ $TEST == 'unit' ]; then pytest --cov=. tests/unit/; fi
- if [ $TEST == 'issue' ]; then pytest --cov=. tests/issues/; fi
- if [ $TEST == 'examples' ]; then pytest --cov=. --nbval --sanitize-with tests/sanitize-notebook.cfg examples/; fi
- if [ $TEST == 'console' ]; then pandas_profiling -h; fi
- if [ $TEST == 'lint' ]; then pytest --black -m black src/; fi
after_success:
- codecov -F $TEST
|
Add Ruby 2.3 in Travis CI | language: ruby
rvm:
# https://www.ruby-lang.org/en/downloads/branches/
- 2.6
- 2.5
- 2.4
env:
global:
- secure: n0mxwnyjuXI4mJO4mp++2TnsPJ+XgCF/J1U2L5piE5j3xMhSU+5V0JrA1uFlS0Pemb44M7BjgmF9S4G35BwyAQpctpCYhqy9tFa6+Y6nxEv5hCv2cZz7BSAZM6eb+zq20409hxTHRaQOr1DBeE4R5S2PrmOXRqvYfTRv3LNSLFk=
matrix:
- OJ=0
- OJ=1
branches:
only:
- master
before_script:
- if [[ $OJ -eq 1 ]]; then gem install oj; fi
notifications:
slack:
secure: iTI8zpxXQJqf5e9ix4buLRsGlf9lJRZqA9Fawdqm41msBrC0Zsp31XzBS7ZPiTcdHhImtOC4lccTCW2C8kR6waaG5VOF0U2BwyKaNFKsXMaVk6yrNhYkvJ9YVicuU9hL+JKLyBrSDYQ7+vXcHqaz4H4dYpPThrv6sfq4jBOp+eM=
| language: ruby
rvm:
# https://www.ruby-lang.org/en/downloads/branches/
- 2.6
- 2.5
- 2.4
# macOS system Ruby is Ruby 2.3
- 2.3
env:
global:
- secure: n0mxwnyjuXI4mJO4mp++2TnsPJ+XgCF/J1U2L5piE5j3xMhSU+5V0JrA1uFlS0Pemb44M7BjgmF9S4G35BwyAQpctpCYhqy9tFa6+Y6nxEv5hCv2cZz7BSAZM6eb+zq20409hxTHRaQOr1DBeE4R5S2PrmOXRqvYfTRv3LNSLFk=
matrix:
- OJ=0
- OJ=1
branches:
only:
- master
before_script:
- if [[ $OJ -eq 1 ]]; then gem install oj; fi
notifications:
slack:
secure: iTI8zpxXQJqf5e9ix4buLRsGlf9lJRZqA9Fawdqm41msBrC0Zsp31XzBS7ZPiTcdHhImtOC4lccTCW2C8kR6waaG5VOF0U2BwyKaNFKsXMaVk6yrNhYkvJ9YVicuU9hL+JKLyBrSDYQ7+vXcHqaz4H4dYpPThrv6sfq4jBOp+eM=
|
Fix HHVM build on Travis | sudo: false
language: php
php:
- "7.1"
- "7.0"
- "5.6"
- "5.5"
- "5.4"
- "hhvm"
install:
- composer install
script:
- composer test
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
| sudo: false
dist: trusty
language: php
php:
- "7.1"
- "7.0"
- "5.6"
- "5.5"
- "5.4"
- "hhvm"
install:
- composer install
script:
- composer test
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.