Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Test on PHP 7.4 as well | language: php
php:
- 7.1
- 7.2
- 7.3
# - 7.4 (7.4.0-dev not available yet)
# - nightly (8.0.0-dev does not work yet)
sudo: required
dist: trusty
group: edge
env:
- NODE_VERSION=10.x
cache:
yarn: true
directories:
- node_modules
- $HOME/.composer/cache/files
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0
- export PATH="$HOME/.yarn/bin:$PATH"
- composer self-update
- npm install grunt-cli yarn -g
install:
- travis_retry composer install --no-interaction --prefer-source
- yarn install
- grunt build
script: ./vendor/bin/phpunit --configuration phpunit.xml
| language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
# - nightly (8.0.0-dev does not work yet)
sudo: required
dist: trusty
group: edge
env:
- NODE_VERSION=10.x
cache:
yarn: true
directories:
- node_modules
- $HOME/.composer/cache/files
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0
- export PATH="$HOME/.yarn/bin:$PATH"
- composer self-update
- npm install grunt-cli yarn -g
install:
- travis_retry composer install --no-interaction --prefer-source
- yarn install
- grunt build
script: ./vendor/bin/phpunit --configuration phpunit.xml
|
Remove PhantomJS from TravisCI config | language: node_js
node_js:
- "8"
- "9"
- "10"
before_install: npm install -g phantomjs
script: npm run lint && npm test
| language: node_js
node_js:
- "8"
- "9"
- "10"
script: npm run lint && npm test
|
Upgrade of xctool failing is not an error. | language: objective-c
xcode_workspace: Project/CocoaOnePExample.xcworkspace
xcode_scheme: CocoaOnePExample
before_install:
- brew update
- brew upgrade xctool
- export LANG=en_US.UTF-8
- sudo gem install --no-document cocoapods
install:
- xctool --version
- cd Project
- pod install
script: xctool -workspace CocoaOnePExample.xcworkspace -scheme CocoaOnePExample -sdk iphonesimulator8.0 test
notifications:
email:
- miketilstra@exosite.com
| language: objective-c
xcode_workspace: Project/CocoaOnePExample.xcworkspace
xcode_scheme: CocoaOnePExample
before_install:
- brew update
- brew upgrade xctool || true
- export LANG=en_US.UTF-8
- sudo gem install --no-document cocoapods
install:
- xctool --version
- cd Project
- pod install
script: xctool -workspace CocoaOnePExample.xcworkspace -scheme CocoaOnePExample -sdk iphonesimulator8.0 test
notifications:
email:
- miketilstra@exosite.com
|
Use docker in Travis CI | language: java
jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
- openjdk12
#before_script:
# - pip install --user codecov
#after_success:
# - codecov
#addons:
# srcclr: true
| language: minimal
services:
- docker
jobs:
include:
- env: DOCKER_IMAGE=maven:3.6.2-jdk-8
- env: DOCKER_IMAGE=maven:3.5.4-jdk-9 # There are no newer images with Maven for this JDK
- env: DOCKER_IMAGE=maven:3.6.0-jdk-10 # There are no newer images with Maven for this JDK
- env: DOCKER_IMAGE=maven:3.6.2-jdk-11
- env: DOCKER_IMAGE=maven:3.6.2-jdk-12
- env: DOCKER_IMAGE=maven:3.6.2-jdk-13
- env: DOCKER_IMAGE=maven:3.6.2-jdk-14
install:
- docker pull "${DOCKER_IMAGE}"
script:
- docker run
--env "_JAVA_OPTIONS=-Djdk.net.URLClassPath.disableClassPathURLCheck=true"
--volume "$PWD":/usr/src/
--workdir /usr/src/
--rm
"${DOCKER_IMAGE}" mvn clean test -B
|
Make sure to run migrations as well. | language: python
python:
- "2.7"
install:
- (cd vendor && git submodule update --init --recursive)
- pip install -r requirements/compiled.txt
- cp webpagemaker/settings/local.py-dist webpagemaker/settings/local.py
- mysql -e 'create database playdoh_app;'
- python manage.py syncdb --noinput
script: make test
| language: python
python:
- "2.7"
install:
- (cd vendor && git submodule update --init --recursive)
- pip install -r requirements/compiled.txt
- cp webpagemaker/settings/local.py-dist webpagemaker/settings/local.py
- mysql -e 'create database playdoh_app;'
- python manage.py syncdb --noinput
- python manage.py migrate --noinput
script: make test
|
Use compose update to allow different package versions per PHP version | language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
before_script: composer install
script: phpunit
| language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
before_script: composer update
script: phpunit
|
Add Faraaz's email to Travis CI recipients | language: ruby
script: "rake spec:all"
rvm: jruby
notifications:
irc: "irc.freenode.org#shoes"
email:
recipients:
- steve@steveklabnik.com
- davor@davor.se
- wasnotrice@gmail.com
- tobias.pfeiffer@student.hpi.uni-potsdam.de
- ashbbb@gmail.com
- james@jamesrgifford.com
- peter.fitzgibbons@gmail.com
on_success: change # [always|never|change] # default: change
on_failure: change # [always|never|change] # default: always
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sleep 3"
| language: ruby
script: "rake spec:all"
rvm: jruby
notifications:
irc: "irc.freenode.org#shoes"
email:
recipients:
- steve@steveklabnik.com
- davor@davor.se
- wasnotrice@gmail.com
- tobias.pfeiffer@student.hpi.uni-potsdam.de
- ashbbb@gmail.com
- james@jamesrgifford.com
- peter.fitzgibbons@gmail.com
- fism88@gmail.com
on_success: change # [always|never|change] # default: change
on_failure: change # [always|never|change] # default: always
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sleep 3"
|
Add Slack notifications to Travis. | language: python
python:
- "2.7"
install:
# install conda
- sudo pip install conda
- sudo conda init
# install dependencies
- >
conda create -p $HOME/py --yes pip jinja2 numpy pandas patsy scipy
statsmodels pytables pytest pyyaml
"python=$TRAVIS_PYTHON_VERSION"
- export PATH=$HOME/py/bin:$PATH
- pip install Django shapely simplejson
# install test depencies
- pip install pytest-cov coveralls pep8
# install urbansim
- pip install .
script:
- pep8 urbansim scripts
- py.test --cov urbansim --cov-report term-missing
after_success:
- coveralls
| language: python
python:
- '2.7'
install:
- sudo pip install conda
- sudo conda init
- |
conda create -p $HOME/py --yes pip jinja2 numpy pandas patsy scipy statsmodels pytables pytest pyyaml "python=$TRAVIS_PYTHON_VERSION"
- export PATH=$HOME/py/bin:$PATH
- pip install Django shapely simplejson
- pip install pytest-cov coveralls pep8
- pip install .
script:
- pep8 urbansim scripts
- py.test --cov urbansim --cov-report term-missing
after_success:
- coveralls
notifications:
slack:
secure: XTKQdhpJNhVCaT7X+VHD+vST0W+pwIjp3hDe/E1eVCqvp7iE2sBCtlnxVioMjo8z3EPtQMHZcNlpm6LOoVQlHT7idg40CDJMpTMrQGLqpDRo1ixUygK1Qfs1ZHrzg2CL3IgUtQwEDK3jVGAe2qmn/3RS1sKiYPMRACkkNtWQfMk=
|
Use dynamic node versions on Travis CI | sudo: false
language: node_js
node_js:
- '6'
- '5'
- '4'
| sudo: false
language: node_js
node_js:
- 'node'
- '--lts'
|
Update CI config to run migration for sqlite | language: ruby
script: "bundle exec rspec"
before_install:
- gem install bundler -v '>= 1.3'
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.2
gemfile:
- Gemfile
notifications:
email: false
| ---
language: ruby
env:
- DB=sqlite
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rspec
before_install:
- gem install bundler -v '>= 1.3'
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.2
gemfile:
- Gemfile
notifications:
email: false
|
Update Travis targets. Grunt was not installing for Node 0.8. | language: node_js
node_js:
- "0.11"
- "0.10"
- "0.8"
before_script:
- npm install -g grunt-cli
| language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs"
before_script:
- npm install -g grunt-cli
|
Test on all the latest Ruby releases | sudo: false
rvm:
- 2.2.8
- 2.3.5
- 2.4.2
branches:
only:
- master
cache: bundler
bundler_args: --jobs 7
script: bundle exec rake
| sudo: false
rvm:
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
branches:
only:
- master
cache: bundler
bundler_args: --jobs 7
script: bundle exec rake
|
Make a test for coverage tests | language: python
sudo: true
python:
- "2.7"
# - "3.4"
# command to install dependencies
# some are only used for travis/coveralls so we are installing them here only
install:
- ./test/setup_test.sh
# command to run tests
script:
# so to help eventual debug: knowing what exact versions are in use can be rather useful.
- pip freeze
# Code static analysis
- pep8 --max-line-length=100 --exclude='*.pyc, *.cfg, *.log' --ignore='E402' alignak_module_ws/*
- pylint --rcfile=.pylintrc alignak_module_ws/
# Code dynamic analysis
- cd test
# notice: the nose-cov is used because it is compatible with --processes, but produce a .coverage by process
# so we must combine them in the end
- coverage erase
- coverage run --source=alignak_module_ws -m nose -c .noserc
# - nosetests -xv --process-restartworker --processes=1 --process-timeout=300 --with-coverage --cover-package=alignak_module_ws
# - coverage combine
- cd ..
# specific call to launch coverage data into coveralls.io
after_success:
# to get coverage data with relative paths and not absolute we have to
# execute coveralls from the base directory of the project,
# so we need to move the .coverage file here :
# mv test/.coverage . && coveralls --rcfile=test/.coveragerc -v
mv test/.coverage . && coveralls -v
| language: python
sudo: true
python:
- "2.7"
# - "3.4"
# command to install dependencies
# some are only used for travis/coveralls so we are installing them here only
install:
- ./test/setup_test.sh
# command to run tests
script:
# so to help eventual debug: knowing what exact versions are in use can be rather useful.
- pip freeze
# Code static analysis
- pep8 --max-line-length=100 --exclude='*.pyc, *.cfg, *.log' --ignore='E402' alignak_module_ws/*
- pylint --rcfile=.pylintrc alignak_module_ws/
# Code dynamic analysis
- cd test
# notice: the nose-cov is used because it is compatible with --processes, but produce a .coverage by process
# so we must combine them in the end
- coverage erase
- coverage run --source=alignak_module_ws -m nose -c .noserc
# - nosetests -xv --process-restartworker --processes=1 --process-timeout=300 --with-coverage --cover-package=alignak_module_ws
# - coverage combine
- cd ..
# specific call to launch coverage data into coveralls.io
after_success:
# to get coverage data with relative paths and not absolute we have to
# execute coveralls from the base directory of the project,
# so we need to move the .coverage file here :
mv test/.coverage . && coveralls --rcfile=test/.coveragerc -v
# mv test/.coverage . && coveralls -v
|
Remove sudo from Travis CI config | language: python
python:
- "2.7"
- "3.4"
install:
# code below is taken from http://conda.pydata.org/docs/travis.html
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pandas pytest h5py
- source activate test-environment
- pip install pytest-cov python-coveralls
- pip install git+git://github.com/Theano/Theano.git
- python setup.py install
# command to run tests
script:
- PYTHONPATH=$PWD:$PYTHONPATH py.test -v --cov-report term-missing --cov keras tests/
after_success:
- coveralls | sudo: false
language: python
python:
- "2.7"
- "3.4"
install:
# code below is taken from http://conda.pydata.org/docs/travis.html
# We do this conditionally because it saves us some downloading if the
# version is the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pandas pytest h5py
- source activate test-environment
- pip install pytest-cov python-coveralls
- pip install git+git://github.com/Theano/Theano.git
- python setup.py install
# command to run tests
script:
- PYTHONPATH=$PWD:$PYTHONPATH py.test -v --cov-report term-missing --cov keras tests/
after_success:
- coveralls |
Add texlive-xetex as a dependency | # 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:
- aspell-en
- 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
- stack exec bin/deploy.sh
| # 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:
- aspell-en
- libgmp-dev
- texlive-xetex
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
- stack exec bin/deploy.sh
|
Add Homebrew's sbin /usr/local/sbin to PATH | ---
zsh_rc_dir: ~/.zshrc.d
zsh_rc_files:
- git.zsh
- git_completion.zsh
- git-prompt.sh
- prompt.zsh
zsh_rc_templates:
- history.zsh
zsh_path_directories:
- "$HOME/bin"
- "$HOME/go/bin"
- /usr/local/ruby/bin
- /usr/local/node/bin
- /usr/local/bin
zsh_envs:
- name: GOPATH
value: "{{ go_gopath }}"
zsh_my_bin_files:
- modipath
zsh_additional_config_files:
- aliases.zsh
zsh_login_shell: /bin/zsh
zsh_enable_history_sharing: False
zsh_history_file: ~/.zsh_history
zsh_history_memory_size: 1000000
zsh_history_disk_size: 1000000
zsh_bindkey_type: emacs
| ---
zsh_rc_dir: ~/.zshrc.d
zsh_rc_files:
- git.zsh
- git_completion.zsh
- git-prompt.sh
- prompt.zsh
zsh_rc_templates:
- history.zsh
zsh_path_directories:
- "$HOME/bin"
- "$HOME/go/bin"
- /usr/local/ruby/bin
- /usr/local/node/bin
- /usr/local/sbin
- /usr/local/bin
zsh_envs:
- name: GOPATH
value: "{{ go_gopath }}"
zsh_my_bin_files:
- modipath
zsh_additional_config_files:
- aliases.zsh
zsh_login_shell: /bin/zsh
zsh_enable_history_sharing: False
zsh_history_file: ~/.zsh_history
zsh_history_memory_size: 1000000
zsh_history_disk_size: 1000000
zsh_bindkey_type: emacs
|
Use MongoDB 4 in Lando dev env | name: doctrine-extensions
recipe: lemp
config:
php: 7.1
webroot: .
services:
appserver:
run_as_root:
- pecl install mongodb
- docker-php-ext-enable mongodb
overrides:
services:
# Environment variables for the PHP app server
environment:
# Use the PHP 7 Composer file for all Composer commands
COMPOSER: composer7.json
mongodb:
type: mongo:3.4
tooling:
mongo:
service: mongodb
| name: doctrine-extensions
recipe: lemp
config:
php: 7.1
webroot: .
services:
appserver:
run_as_root:
- pecl install mongodb
- docker-php-ext-enable mongodb
mongodb:
type: mongo
tooling:
mongo:
service: mongodb
|
Install Ruby 1.9.3-p545 under certain circumstances | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- jruby
- ruby-head
os:
- linux
- osx
matrix:
exclude:
- rvm: 1.8.7
os: osx
- rvm: 1.9.2
os: osx
- rvm: 2.1.0
os: osx
- rvm: jruby
os: osx
deploy:
provider: rubygems
api_key:
secure: KcBpkFaes74KGMm8X/rRA8e13+t3PmkefsAvOAR+iF4g1GyuLSPkP92Fb9vFfsXBph+qmFh5rNa2lIRf/3RXW6COxY7CMMaARxUfJOKE0rmIwF0qfKI+RZDh6abg92iYngunMZVN8WVft6Lv9ZTOYCWxr1Zs1Ll/Rl4PfvHNd1g=
gem: travis
on:
repo: travis-ci/travis.rb
ruby: 2.0.0
condition: "$(uname) = Darwin"
| language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- jruby
- ruby-head
os:
- linux
- osx
before_script:
- if [[ $TRAVIS_RUBY_VERSION = '2.0.0' && $(uname) = 'Darwin' ]]; then rvm install ruby-1.9.3-p545 && rvm use $TRAVIS_RUBY_VERSION --fuzzy; fi
matrix:
exclude:
- rvm: 1.8.7
os: osx
- rvm: 1.9.2
os: osx
- rvm: 2.1.0
os: osx
- rvm: jruby
os: osx
deploy:
provider: rubygems
api_key:
secure: KcBpkFaes74KGMm8X/rRA8e13+t3PmkefsAvOAR+iF4g1GyuLSPkP92Fb9vFfsXBph+qmFh5rNa2lIRf/3RXW6COxY7CMMaARxUfJOKE0rmIwF0qfKI+RZDh6abg92iYngunMZVN8WVft6Lv9ZTOYCWxr1Zs1Ll/Rl4PfvHNd1g=
gem: travis
on:
repo: travis-ci/travis.rb
ruby: 2.0.0
condition: "$(uname) = Darwin"
|
Use actual Ruby versions for Travis CI | language: ruby
before_install:
- sudo apt-get install wget
- wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.36.tar.gz
- tar -xzf Image-ExifTool-10.36.tar.gz
- cd Image-ExifTool-10.36
- perl Makefile.PL
- make
- sudo make install
- cd ..
- exiftool -ver
- gem install contest regtest rim test-unit
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-19mode
| language: ruby
before_install:
- sudo apt-get install wget
- wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.36.tar.gz
- tar -xzf Image-ExifTool-10.36.tar.gz
- cd Image-ExifTool-10.36
- perl Makefile.PL
- make
- sudo make install
- cd ..
- exiftool -ver
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- ruby-head
- jruby-19mode
- jruby-head
|
Switch to caching pip binaries | language: python
cache: pip
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install: "pip install -r requirements-dev.txt"
script:
- make test
- make lint
- make docs
| language: python
cache:
pip
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install -U pip wheel
- pip install -r requirements-dev.txt
script:
- make test
- make lint
- make docs
|
Add Python 3.4 to Travis configuration | language: python
python:
- 2.6
- 2.7
- 3.3
- pypy
install:
- pip install -e ".[test]"
script:
- py.test
| language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- pypy
install:
- pip install -e ".[test]"
script:
- py.test
|
Install requests only for user | language: go
go:
- 1.7
- tip
addons:
postgresql: "9.4"
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- gem install package_cloud
- pip install requests
before_script:
- psql -c 'create database henhouse_test;' -U postgres
script:
- go list ./... | while read pkg; do go test -v -covermode=count -coverprofile=$(basename ${pkg}).cover ${pkg} || return 1; done
- ls | grep cover$ | xargs cat | sort -r | uniq >> coverage.out
- goveralls -coverprofile=coverage.out -service travis-ci
- git clone https://github.com/jollheef/henhouse
- git checkout ${TRAVIS_COMMIT}
- cd henhouse
- ./package.sh
| language: go
go:
- 1.7
- tip
addons:
postgresql: "9.4"
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- gem install package_cloud
- pip install --user requests
before_script:
- psql -c 'create database henhouse_test;' -U postgres
script:
- go list ./... | while read pkg; do go test -v -covermode=count -coverprofile=$(basename ${pkg}).cover ${pkg} || return 1; done
- ls | grep cover$ | xargs cat | sort -r | uniq >> coverage.out
- goveralls -coverprofile=coverage.out -service travis-ci
- git clone https://github.com/jollheef/henhouse
- git checkout ${TRAVIS_COMMIT}
- cd henhouse
- PATH=$HOME/.local/bin:$PATH ./package.sh
|
Use container-based builds on Travis. | language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
script:
- make pep8
- make test
- make coverage
- make doc
notifications:
hipchat: 67a245a9dd1bee819c8c7270fd7d40@travis
| sudo: false
language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
script:
- make pep8
- make test
- make coverage
- make doc
notifications:
hipchat: 67a245a9dd1bee819c8c7270fd7d40@travis
|
Install bower globally on Travis | language: ruby
sudo: false
cache: bundler
rvm:
- 2.2.5
notifications:
email: false
install:
- bundle install
- npm install bower
- npm install
- bundle exec bower update
| language: ruby
sudo: false
cache: bundler
rvm:
- 2.2.5
notifications:
email: false
install:
- bundle install
- npm install -g bower
- npm install
- bower update
|
Deploy to the right app. | language: php
php:
- 5.5
install:
- composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phing
deploy:
provider: heroku
api_key:
secure: VccBuoFubIXT3Q/KKCuzfgw6ntT2NLcUkPv3UzOSqhKVqfivPO2s+22yOWcysUfYSaYcYpemKZ+XtsnAn7jpqKc70Wok7uQs6FsKD1XjonUqxM2QrploqdS4H9zcFpF50b462HfV6SdCvoDutTpUBtPiZ63rQtVRfRfyChO+fVs=
app: hrphp-widgets-api
on:
repo: hrphp/widgets-api
all_branches: true
| language: php
php:
- 5.5
install:
- composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phing
deploy:
provider: heroku
api_key:
secure: VccBuoFubIXT3Q/KKCuzfgw6ntT2NLcUkPv3UzOSqhKVqfivPO2s+22yOWcysUfYSaYcYpemKZ+XtsnAn7jpqKc70Wok7uQs6FsKD1XjonUqxM2QrploqdS4H9zcFpF50b462HfV6SdCvoDutTpUBtPiZ63rQtVRfRfyChO+fVs=
app: hrphp-widgets-api-2
on:
repo: hrphp/widgets-api
all_branches: 2.x.x
|
Remove old composer install method | language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
- 7.0
env:
- TRAVIS=true
before_install:
- curl -s https://getcomposer.org/installer | php
- php composer.phar install --prefer-source --no-interaction
before_script:
- phpenv config-rm xdebug.ini
script:
- phpunit --bootstrap tests/bootstrap.php --configuration tests/phpunit.xml
- php vendor/bin/phpcpd --exclude tests --exclude vendor .
- php vendor/bin/phploc . --exclude vendor
- php vendor/bin/phploc lib/.
- mkdir -p tests/build/dependences
- php vendor/bin/pdepend --summary-xml=tests/build/logs/dependence-summary.xml --jdepend-chart=tests/build/dependences/jdepend.svg --overview-pyramid=tests/build/dependences/pyramid.svg lib/.
- php vendor/bin/phpcs --standard=tests/ZendModStandard lib/Saml2 demo1 demo2 demo-old endpoints tests/src
after_script:
- export TRAVIS=https://travis-ci.org/onelogin/php-saml
- echo $TRAVIS
- echo $TRAVIS_JOB_ID
- php vendor/bin/coveralls --config .coveralls.yml -v
| language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
- 7.0
env:
- TRAVIS=true
before_install:
- composer self-update || true
- composer install --prefer-source --no-interaction
before_script:
- phpenv config-rm xdebug.ini
script:
- phpunit --bootstrap tests/bootstrap.php --configuration tests/phpunit.xml
- php vendor/bin/phpcpd --exclude tests --exclude vendor .
- php vendor/bin/phploc . --exclude vendor
- php vendor/bin/phploc lib/.
- mkdir -p tests/build/dependences
- php vendor/bin/pdepend --summary-xml=tests/build/logs/dependence-summary.xml --jdepend-chart=tests/build/dependences/jdepend.svg --overview-pyramid=tests/build/dependences/pyramid.svg lib/.
- php vendor/bin/phpcs --standard=tests/ZendModStandard lib/Saml2 demo1 demo2 demo-old endpoints tests/src
after_script:
- export TRAVIS=https://travis-ci.org/onelogin/php-saml
- echo $TRAVIS
- echo $TRAVIS_JOB_ID
- php vendor/bin/coveralls --config .coveralls.yml -v
|
Update Home Assistant to 0.53.1 for config checks in Travis CI | language: python
python:
- '3.4'
- '3.5'
- '3.6'
env:
- HASS=0.53.0
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install homeassistant==$HASS
script:
- hass -c . --script check_config
| language: python
python:
- '3.4'
- '3.5'
- '3.6'
env:
- HASS=0.53.1
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install homeassistant==$HASS
script:
- hass -c . --script check_config
|
Add nodejs 4.1 and remove iojs | language: node_js
node_js:
- "0.12"
- "0.10"
- "iojs"
before_script:
- mkdir -p gnatsd
- wget https://github.com/nats-io/gnatsd/releases/download/v0.6.0/gnatsd-v0.6.0-linux-amd64.tar.gz -qO - | tar -zxvC gnatsd/
- ./gnatsd/gnatsd & | language: node_js
node_js:
- "0.10"
- "0.12"
- "4.1"
before_script:
- mkdir -p gnatsd
- wget https://github.com/nats-io/gnatsd/releases/download/v0.6.0/gnatsd-v0.6.0-linux-amd64.tar.gz -qO - | tar -zxvC gnatsd/
- ./gnatsd/gnatsd & |
Remove obsolete uninstallation of logrotate for Postgres. | ---
- name: Add the PostgreSQL APT key
apt_key: url=https://www.postgresql.org/media/keys/ACCC4CF8.asc state=present
- name: Add the PostgreSQL APT repository
apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main' state=present
- name: Install the PostgreSQL packages
apt: pkg={{ item }} state=present
with_items:
- postgresql-9.3
- libpq-dev
- python-psycopg2
- name: Ensure logrotate is uninstalled
apt: pkg=logrotate state=absent
when: ansible_distribution_release != "precise" and ansible_distribution_release != "trusty"
| ---
- name: Add the PostgreSQL APT key
apt_key: url=https://www.postgresql.org/media/keys/ACCC4CF8.asc state=present
- name: Add the PostgreSQL APT repository
apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main' state=present
- name: Install the PostgreSQL packages
apt: pkg={{ item }} state=present
with_items:
- postgresql-9.3
- libpq-dev
- python-psycopg2
|
Add excerpt for nav for Updates | # Site navigation links
- title: Updates
url: /updates/
excerpt: ""
image: 400x250.gif
- title: Projects
url: /projects/
excerpt: "Hedonism Lab's current explorations"
image: 400x250.gif
- title: About
url: /about/
image: 400x250.gif
| # Site navigation links
- title: Updates
url: /updates/
excerpt: "What we've been up to"
image: 400x250.gif
- title: Projects
url: /projects/
excerpt: "Hedonism Lab's current explorations"
image: 400x250.gif
- title: About
url: /about/
image: 400x250.gif
|
Use the tar-ball instead of git. | {% set version = "v0.6.2" %}
package:
name: dcmstack
version: {{ version }}
source:
git_url: https://github.com/moloney/dcmstack.git
git_tag: {{ version }}
build:
number: 0
script: python setup.py install
requirements:
build:
- python
run:
- python
test:
imports:
- dcmstack
commands:
- python -c "import example;"
about:
home: http://dcmstack.readthedocs.io/
license: MIT
summary: This package provides DICOM to Nifti conversion with the added ability to extract and summarize meta data from the source DICOMs.
extra:
recipe-maintainers:
- arokem
| {% set version = "0.6.2" %}
package:
name: dcmstack
version: {{ version }}
source:
fn: dcmstack-{{ version }}.tar.gz
url: https://github.com/moloney/dcmstack/archive/v{{ version }}.tar.gz
build:
number: 0
script: python setup.py install
requirements:
build:
- python
run:
- python
test:
imports:
- dcmstack
commands:
- python -c "import dcmstack;"
about:
home: http://dcmstack.readthedocs.io/
license: MIT
summary: This package provides DICOM to Nifti conversion with the added ability to extract and summarize meta data from the source DICOMs.
extra:
recipe-maintainers:
- arokem
|
Change highlighter to rouge, markdown to kramdown | title: Scribble
description: A jekyll theme. Because I scribble.
url: # Site url, without a slash at the end.
signoff: # Your name.
disqus_shortname: # disqus comment thread for post header options. ( leave blank if unwanted. )
facebook_appid: # appid for like button, remove from /_includes/share.html if unwanted.
google_analytics: # set tracking, remove from /javascripts/basic.js if unwanted.
links:
- name: About
url: /about
- name: Blog
url: http://muan.co
external: true
- name: GitHub
url: http://github.com/muan
external: true
highlighter: pygments
permalink: pretty
markdown: redcarpet
redcarpet:
extensions:
- smart
| title: Scribble
description: A jekyll theme. Because I scribble.
url: # Site url, without a slash at the end.
signoff: # Your name.
disqus_shortname: # disqus comment thread for post header options. ( leave blank if unwanted. )
facebook_appid: # appid for like button, remove from /_includes/share.html if unwanted.
google_analytics: # set tracking, remove from /javascripts/basic.js if unwanted.
links:
- name: About
url: /about
- name: Blog
url: http://muan.co
external: true
- name: GitHub
url: http://github.com/muan
external: true
permalink: pretty
highlighter: rouge
markdown: kramdown
kramdown:
input: GFM
hard_wrap: false |
Remove 'start-local-server' from Jekyll 'exclude' option. | safe: true
exclude: [ "Gemfile", "*.coffee", "LICENCE", "*.json", "*.md", "start-local-server", "node_modules" ]
| safe: true
exclude: [ "Gemfile", "*.coffee", "LICENCE", "*.json", "*.md", "node_modules" ]
|
Set safe to false and debug to true | markdown: rdiscount
rdiscount:
extensions:
- autolink # greedily urlify links
- footnotes # footnotes
- smart # typographic substitutions with SmartyPants
sources:
- _assets/javascripts
- _assets/stylesheets
- _assets/images
assets:
js_compressor: uglifier
css_compressor: sass
gems:
- bootstrap-sass
- rdiscount
- jekyll
- jekyll-assets
- bootstrap-sass
- compass-rails
cachebust: hard
cache: false
gzip: [ text/css, application/javascript ]
debug: false
timezone: Europe/Berlin
future: true
exclude:
- CNAME
- LICENSE
- README.md
| debug: true
safe: false
markdown: rdiscount
rdiscount:
extensions:
- autolink # greedily urlify links
- footnotes # footnotes
- smart # typographic substitutions with SmartyPants
sources:
- _assets/javascripts
- _assets/stylesheets
- _assets/images
assets:
js_compressor: uglifier
css_compressor: sass
gems:
- bootstrap-sass
- rdiscount
- jekyll
- jekyll-assets
- bootstrap-sass
- compass-rails
cachebust: hard
cache: false
gzip: [ text/css, application/javascript ]
timezone: Europe/Berlin
future: true
exclude:
- CNAME
- LICENSE
- README.md
|
Change http to hosted dependency. | name: async_await
description: Compile-time support for "async/await" syntax in Dart.
dependencies:
analyzer: '>=0.22.4 <0.23.0'
barback: '>=0.15.0 <0.16.0'
dev_dependencies:
expect:
path: ../../dart-git/dart/pkg/expect
http:
path: ../../dart-git/dart/pkg/http
pretty: '>=0.0.9 <0.1.0'
| name: async_await
description: Compile-time support for "async/await" syntax in Dart.
dependencies:
analyzer: '>=0.22.4 <0.23.0'
barback: '>=0.15.0 <0.16.0'
dev_dependencies:
expect:
path: ../../dart-git/dart/pkg/expect
http: any
pretty: '>=0.0.9 <0.1.0'
|
Set a maximum of 1 instance. | runtime: python37
handlers:
- url: /static
static_dir: static
secure: always
- url: /call
script: auto
secure: always
- url: /.*
static_files: static/main.html
upload: static/main.html
secure: always
| runtime: python37
automatic_scaling:
max_instances: 1
handlers:
- url: /static
static_dir: static
secure: always
- url: /call
script: auto
secure: always
- url: /.*
static_files: static/main.html
upload: static/main.html
secure: always
|
Create junit subdir under test reports before moving junit results file | machine:
python:
version: 2.7.12
environment:
APEXTESTSDB_BASE_URL: 'https://apextestsdb.herokuapp.com'
APEXTESTSDB_USER_ID: 1
CUMULUSCI_PATH: ../CumulusCI
GITHUB_USERNAME: mrbelvedere
GITHUB_ORG_NAME: SalesforceFoundation
GITHUB_REPO_NAME: 'CumulusCI-Test'
PREFIX_RELEASE: rel/
SF_USERNAME_FEATURE: 'mrbelvedere@cumulusci-test.feature'
INSTANCE_URL: 'https://na17.salesforce.com'
MRBELVEDERE_BASE_URL: 'https://mrbelvedere.salesforcefoundation.org/mpinstaller'
SF_USERNAME_BETA: 'mrbelvedere@cumulusci-test.beta'
SF_USERNAME_BETA_BROWSERTEST: 'mrbelvedere@cumulusci-test.beta.browsertest'
SF_USERNAME_PACKAGING: 'mrbelvedere@cumulusci-test.packaging'
dependencies:
override:
- 'git clone https://github.com/SalesforceFoundation/CumulusCI $CUMULUSCI_PATH'
- 'cd $CUMULUSCI_PATH; pip install --upgrade -r requirements.txt'
test:
override:
- 'cumulusci ci deploy --debug-logdir apex_tests_db'
- 'mv test_results_junit.xml $CIRCLE_TEST_REPORTS/junit/'
| machine:
python:
version: 2.7.12
environment:
APEXTESTSDB_BASE_URL: 'https://apextestsdb.herokuapp.com'
APEXTESTSDB_USER_ID: 1
CUMULUSCI_PATH: ../CumulusCI
GITHUB_USERNAME: mrbelvedere
GITHUB_ORG_NAME: SalesforceFoundation
GITHUB_REPO_NAME: 'CumulusCI-Test'
PREFIX_RELEASE: rel/
SF_USERNAME_FEATURE: 'mrbelvedere@cumulusci-test.feature'
INSTANCE_URL: 'https://na17.salesforce.com'
MRBELVEDERE_BASE_URL: 'https://mrbelvedere.salesforcefoundation.org/mpinstaller'
SF_USERNAME_BETA: 'mrbelvedere@cumulusci-test.beta'
SF_USERNAME_BETA_BROWSERTEST: 'mrbelvedere@cumulusci-test.beta.browsertest'
SF_USERNAME_PACKAGING: 'mrbelvedere@cumulusci-test.packaging'
dependencies:
override:
- 'git clone https://github.com/SalesforceFoundation/CumulusCI $CUMULUSCI_PATH'
- 'cd $CUMULUSCI_PATH; pip install --upgrade -r requirements.txt'
test:
override:
- 'cumulusci ci deploy --debug-logdir apex_tests_db'
post:
- 'mkdir -p $CIRCLE_TEST_REPORTS/junit/'
- 'mv test_results_junit.xml $CIRCLE_TEST_REPORTS/junit/'
|
Purge ufw if installed on Debian/Ubuntu | ---
- name: Include OS-specific variables.
include_vars: "{{ ansible_os_family }}.yml"
- name: Ensure iptables is installed (debian)
apt: name=iptables
when: ansible_os_family == 'Debian'
- name: Ensure iptables is installed (redhat)
yum: name=iptables
when: ansible_os_family == 'RedHat'
- name: Ensure that config directory is exists
file: state=directory path="{{ iptables_confdir }}"
- name: Prepare iptables rules
template: dest={{iptables_rules_path}} src=etc/iptables.rules.j2 owner=root group=root mode=0744
notify: iptables load
- name: Autoload the rules
template: src=etc/network/if-up.d/iptables_load.j2 dest={{iptables_load_path}} owner=root group=root mode=751
when: iptables_load_path
| ---
- name: Include OS-specific variables.
include_vars: "{{ ansible_os_family }}.yml"
- name: Ensure iptables is installed (debian)
apt: name=iptables
when: ansible_os_family == 'Debian'
- name: Ensure iptables is installed (redhat)
yum: name=iptables
when: ansible_os_family == 'RedHat'
- name: Ensure ufw is not installed (debian)
apt: name=ufw state=absent purge=yes
when: ansible_os_family == 'Debian'
- name: Ensure that config directory is exists
file: state=directory path="{{ iptables_confdir }}"
- name: Prepare iptables rules
template: dest={{iptables_rules_path}} src=etc/iptables.rules.j2 owner=root group=root mode=0744
notify: iptables load
- name: Autoload the rules
template: src=etc/network/if-up.d/iptables_load.j2 dest={{iptables_load_path}} owner=root group=root mode=751
when: iptables_load_path
|
Add windowsfeature and windows_eventlog modules | ---
- puppet-alternatives
- puppet-archive
- puppet-collectd
- puppet-confluence
- puppet-corosync
- puppet-dotnet
- puppet-extlib
- puppet-ghost
- puppet-gluster
- puppet-iis
- puppet-jira
- puppet-kafka
- puppet-mcollective
- puppet-module-amanda
- puppet-module-puppetboard
- puppet-mysql_java_connector
- puppet-nodejs
- puppet-rundeck
- puppet-sslcert
- puppet-staging
- puppet-stash
- puppet-unattended_upgrades
- puppet-windows_autoupdate
- puppet-windows_firewall
| ---
- puppet-alternatives
- puppet-archive
- puppet-collectd
- puppet-confluence
- puppet-corosync
- puppet-dotnet
- puppet-extlib
- puppet-ghost
- puppet-gluster
- puppet-iis
- puppet-jira
- puppet-kafka
- puppet-mcollective
- puppet-module-amanda
- puppet-module-puppetboard
- puppet-mysql_java_connector
- puppet-nodejs
- puppet-rundeck
- puppet-sslcert
- puppet-staging
- puppet-stash
- puppet-unattended_upgrades
- puppet-windows_autoupdate
- puppet-windows_eventlog
- puppet-windows_firewall
- puppet-windowsfeature
|
Update from Hackage at 2020-08-06T22:36:54Z | homepage: https://github.com/HeinrichApfelmus/hyper-haskell
changelog-type: ''
hash: e0f74b8a19957001202a25c2849c8e8cf7038029e38a952e7f4fd276378f8a76
test-bench-deps: {}
maintainer: Heinrich Apfelmus <apfelmus quantentunnel de>
synopsis: Display class for the HyperHaskell graphical Haskell interpreter
changelog: ''
basic-deps:
base: ! '>=4.6 && <4.13'
text: ! '>=0.11 && <1.3'
blaze-html: ! '>=0.7 && <0.10'
deepseq: ! '>=1.2 && <1.5'
all-versions:
- 0.1.0.0
- 0.1.0.1
- 0.1.0.2
- 0.1.0.3
author: Heinrich Apfelmus
latest: 0.1.0.3
description-type: haddock
description: ! 'This package is part of the /HyperHaskell/ project and provides
the @Display@ class for visualizing and pretty printing Haskell values.
'
license-name: BSD-3-Clause
| homepage: https://github.com/HeinrichApfelmus/hyper-haskell
changelog-type: ''
hash: 8c096e8d4c2b54b5c74fbb824a70ee5620c85505bac3fc4eb95157daf6dbcae1
test-bench-deps: {}
maintainer: Heinrich Apfelmus <apfelmus quantentunnel de>
synopsis: Display class for the HyperHaskell graphical Haskell interpreter
changelog: ''
basic-deps:
base: '>=4.6 && <4.15'
text: '>=0.11 && <1.3'
blaze-html: '>=0.7 && <0.10'
deepseq: '>=1.2 && <1.5'
all-versions:
- 0.1.0.0
- 0.1.0.1
- 0.1.0.2
- 0.1.0.3
author: Heinrich Apfelmus
latest: 0.1.0.3
description-type: haddock
description: |
This package is part of the /HyperHaskell/ project and provides
the @Display@ class for visualizing and pretty printing Haskell values.
license-name: BSD-3-Clause
|
Update Travis config to match supported versions | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=master"
matrix:
allow_failures:
- env: "RAILS_VERSION=master"
exclude:
- rvm: 1.9.2
env: "RAILS_VERSION=4.0"
- rvm: 1.9.2
env: "RAILS_VERSION=master"
| language: ruby
rvm:
- 2.0
- 2.1
env:
- "RAILS_VERSION=4-0-stable"
- "RAILS_VERSION=4-1-stable"
- "RAILS_VERSION=master"
matrix:
allow_failures:
- env: "RAILS_VERSION=master"
|
Drop Ruby 1.8.7 and 1.9.2 support | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
script: "bundle exec rake coverage"
notifications:
email:
- support@travellink.com.au
flowdock: e69dcafad1fea15c6b8c76e9ced965af
| language: ruby
rvm:
- 1.9.3
- 2.0.0
script: "bundle exec rake coverage"
notifications:
email:
- support@travellink.com.au
flowdock: e69dcafad1fea15c6b8c76e9ced965af
|
Set up Travis CI builds | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
script: mvn verify
language: java
jdk:
- oraclejdk7
notifications:
email:
- oak-dev@jackrabbit.apache.org
| # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
script: mvn verify
language: java
jdk:
- openjdk6
notifications:
email:
- oak-dev@jackrabbit.apache.org
|
Drop EOL Node.js and add 18 | name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 13.x, 14.x, 15.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: yarn install --frozen-lockfile
- name: Test
run: yarn test
| name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: yarn install --frozen-lockfile
- name: Test
run: yarn test
|
Fix my fix to the gh-pages build step | name: cucumber-eclipse plugin (latest)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: code
- name: Checkout pages
uses: actions/checkout@v3
with:
path: gh-pages
ref: gh-pages
if: github.event_name != 'pull_request'
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
architecture: 'x64'
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
working-directory: code
run: mvn -B package --file pom.xml
- name: deploy
working-directory: gh-pages
run: |
mkdir -p update-site/${GITHUB_REF##*/}/
cp -R ../code/io.cucumber.eclipse.updatesite/target/repository/* update-site/${GITHUB_REF##*/}/
git add .
git config user.name github-actions
git config user.email github-actions@github.com
git commit -m "Add latest update-site for version ${GITHUB_REF##*/}"
git push gh-pages --force
if: github.event_name != 'pull_request'
| name: cucumber-eclipse plugin (latest)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: code
- name: Checkout pages
uses: actions/checkout@v3
with:
path: gh-pages
ref: gh-pages
if: github.event_name != 'pull_request'
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
architecture: 'x64'
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
working-directory: code
run: mvn -B package --file pom.xml
- name: deploy
working-directory: gh-pages
run: |
mkdir -p update-site/${GITHUB_REF##*/}/
cp -R ../code/io.cucumber.eclipse.updatesite/target/repository/* update-site/${GITHUB_REF##*/}/
git add .
git config user.name github-actions
git config user.email github-actions@github.com
git commit -m "Add latest update-site for version ${GITHUB_REF##*/}"
git push origin gh-pages --force
if: github.event_name != 'pull_request'
|
Improve play name so it's more clear what it's doing | ---
- name: Create Training Infrastructure
hosts: localhost
gather_facts: no
roles:
- role: training_infra
provision: yes
- name: Bootstrap Training Nodes
hosts: managed_hosts
gather_facts: yes
become: yes
roles:
- role: training_infra
bootstrap: yes
- name: Bootstrap Training Nodes
hosts: managed_hosts
gather_facts: yes
become: yes
roles:
- role: training_infra
user_setup: yes
- role: training_infra
bootstrap_controller: yes
- role: vim-ansible-syntax
when: "'control' in inventory_hostname"
- name: Email Inventory Files to Students
hosts: localhost
connection: local
roles:
- role: training_infra
email: yes
instructor_email: jdavila@redhat.com
| ---
- name: Create Training Infrastructure
hosts: localhost
gather_facts: no
roles:
- role: training_infra
provision: yes
- name: Bootstrap Training Nodes
hosts: managed_hosts
gather_facts: yes
become: yes
roles:
- role: training_infra
bootstrap: yes
- name: Create user accounts and configure contol node
hosts: managed_hosts
gather_facts: yes
become: yes
roles:
- role: training_infra
user_setup: yes
- role: training_infra
bootstrap_controller: yes
- role: vim-ansible-syntax
when: "'control' in inventory_hostname"
- name: Email Inventory Files to Students
hosts: localhost
connection: local
roles:
- role: training_infra
email: yes
instructor_email: jdavila@redhat.com
|
Make sure mongodb is restarted before shell commands are executed | ---
- name: Configure mongodb
template: src=mongod.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0644
notify: mongodb restart
- name: Configure log rotation
template: src=logrotate.conf.j2 dest=/etc/logrotate.d/mongodb.conf
when: mongodb_logrotate
- name: Create mongodb user
user: name={{mongodb_user}} group={{mongodb_user}}
- name: Configure database directory
file: state=directory path={{ mongodb_conf_dbpath }} owner={{mongodb_user}} group={{mongodb_user}} mode=0755
- name: Configure log directory
file: state=directory path={{ mongodb_conf_logpath | dirname }} owner={{mongodb_user}} group={{mongodb_user}} mode=0755
- name: Run mongoshell commands
command: mongo {{ item.key }} --eval "{{ item.value|join('\n') }}"
with_dict: mongodb_shell
- name: Ensure mongodb is started
service: name={{ mongodb_daemon_name }} state=started enabled=yes
changed_when: False
| ---
- name: Configure mongodb
template: src=mongod.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0644
notify: mongodb restart
- name: Configure log rotation
template: src=logrotate.conf.j2 dest=/etc/logrotate.d/mongodb.conf
when: mongodb_logrotate
- name: Create mongodb user
user: name={{mongodb_user}} group={{mongodb_user}}
- name: Configure database directory
file: state=directory path={{ mongodb_conf_dbpath }} owner={{mongodb_user}} group={{mongodb_user}} mode=0755
- name: Configure log directory
file: state=directory path={{ mongodb_conf_logpath | dirname }} owner={{mongodb_user}} group={{mongodb_user}} mode=0755
- name: Ensure mongodb is started
service: name={{ mongodb_daemon_name }} state=started enabled=yes
changed_when: False
- name: Flush handlers to restart mongodb if necessary
meta: flush_handlers
- name: Run mongoshell commands
command: mongo {{ item.key }} --eval "{{ item.value|join('\n') }}"
with_dict: mongodb_shell
|
Change label on node 'master' | jenkins:
systemMessage: "Jenkins configured automatically by Jenkins Configuration as Code Plugin\n\n"
numExecutors: 3
scmCheckoutRetryCount: 2
mode: NORMAL
# EOF
| jenkins:
systemMessage: "Jenkins configured automatically by Jenkins Configuration as Code Plugin\n\n"
numExecutors: 3
labelString: "docker linux"
scmCheckoutRetryCount: 2
mode: NORMAL
# EOF
|
Use pinned version of mysql image for tests | ---
image_resource:
type: docker-image
source: { repository: c2cnetworking/dev-mysql }
platform: linux
inputs:
- name: cf-networking-release
run:
path: cf-networking-release/scripts/unit-and-integration-tests
params:
GINKGO_EXTRA_FLAGS: "-race"
DB: mysql
| ---
image_resource:
type: docker-image
source:
repository: c2cnetworking/dev-mysql
tag: 0.18.0
platform: linux
inputs:
- name: cf-networking-release
run:
path: cf-networking-release/scripts/unit-and-integration-tests
params:
GINKGO_EXTRA_FLAGS: "-race"
DB: mysql
|
Use newer images on azure pipelines | ---
trigger: none
jobs:
- job: LinuxJDK11
pool:
vmImage: 'Ubuntu 16.04'
steps:
- task: Gradle@2
env:
CRATE_TESTS_SQL_REQUEST_TIMEOUT: 20
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx2048m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: ':sql:test'
- job: Windows
pool:
vmImage: 'VS2017-Win2016'
steps:
- task: Gradle@2
env:
CRATE_TESTS_SQL_REQUEST_TIMEOUT: 20
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx2048m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: ':sql:test'
| ---
trigger: none
jobs:
- job: LinuxJDK11
pool:
vmImage: 'ubuntu-18.04'
steps:
- task: Gradle@2
env:
CRATE_TESTS_SQL_REQUEST_TIMEOUT: 20
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx2048m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: ':sql:test'
- job: Windows
pool:
vmImage: 'windows-2019'
steps:
- task: Gradle@2
env:
CRATE_TESTS_SQL_REQUEST_TIMEOUT: 20
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx2048m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: ':sql:test'
|
Update ci image to node 10 | # Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:boron@sha256:52506adf0ce82ccdf8b652e07741c6796bf6730e305c0b6fb6068044dfb47035
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/react-static-google-map
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: yarn install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
- run: yarn test
| # Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:10.16
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/react-static-google-map
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: yarn install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
- run: yarn test
|
Add tests running the compiler | {% set name = "ccache-toolchain" %}
{% set version = "1.0.0" %}
package:
name: {{ name }}
version: {{ version }}
build:
number: 0
requirements:
build:
- ccache # [unix]
run:
- ccache # [unix]
- toolchain 2.*
test:
commands:
# Verify the scripts are in-place.
{% for state in ["activate", "deactivate"] %}
- test -f "${PREFIX}/etc/conda/{{ state }}.d/ccache_toolchain_{{ state }}.sh" # [unix]
{% endfor %}
{% for cc in ["gcc", "g++", "clang", "clang++", "gfortran"] %}
# Verify that cc is in the path
- test `which {{ cc }}` == "${PREFIX}/bin/conda_forge_ccache/{{ cc }}" # [unix]
# Verify that cc points to ccache
- test `readlink -f \`which {{ cc }}\`` == "${PREFIX}/bin/ccache" # [linux]
{% endfor %}
about:
home: https://github.com/conda-forge/ccache-toolchain-feedstock
license: BSD 3-Clause
summary: A meta-package to enable caching in CI using ccache.
extra:
recipe-maintainers:
- gqmelo
- isuruf
| {% set name = "ccache-toolchain" %}
{% set version = "1.0.0" %}
package:
name: {{ name }}
version: {{ version }}
build:
number: 0
requirements:
build:
- ccache # [unix]
run:
- ccache # [unix]
- toolchain 2.*
test:
requires:
- gcc # [unix]
commands:
# Verify the scripts are in-place.
{% for state in ["activate", "deactivate"] %}
- test -f "${PREFIX}/etc/conda/{{ state }}.d/ccache_toolchain_{{ state }}.sh" # [unix]
{% endfor %}
{% for cc in ["gcc", "g++", "clang", "clang++", "gfortran"] %}
# Verify that cc is in the path
- test `which {{ cc }}` == "${PREFIX}/bin/conda_forge_ccache/{{ cc }}" # [unix]
# Verify that cc points to ccache
- test `readlink -f \`which {{ cc }}\`` == "${PREFIX}/bin/ccache" # [linux]
{% endfor %}
- gcc --version # [unix]
- g++ --version # [unix]
- gfortran --version # [unix]
- clang --version # [osx]
- clang++ --version # [osx]
about:
home: https://github.com/conda-forge/ccache-toolchain-feedstock
license: BSD 3-Clause
summary: A meta-package to enable caching in CI using ccache.
extra:
recipe-maintainers:
- gqmelo
- isuruf
|
Update from Hackage at 2015-08-21T17:18:27+0000 | homepage: https://github.com/mokus0/avr-shake
changelog-type: ''
hash: 00b499b08ee15cbbd1f9b2b6ec495a21b7f3beedb3f1d56cf50f18d1ee99f994
test-bench-deps: {}
maintainer: James Cook <mokus@deepbondi.net>
synopsis: AVR Crosspack actions for shake build systems.
changelog: ''
basic-deps:
shake: ! '>=0.10'
dependent-sum: -any
base: ! '>=3 && <5'
process: -any
mtl: -any
all-versions:
- '0.0.0.1'
- '0.0.0.2'
- '0.0.0.3'
- '0.0.1.0'
- '0.0.1.1'
author: James Cook <mokus@deepbondi.net>
latest: '0.0.1.1'
description-type: haddock
description: AVR Crosspack actions for shake build systems.
license-name: PublicDomain
| homepage: https://github.com/mokus0/avr-shake
changelog-type: ''
hash: 75409923dfd175d9fe812360fb18086d07117947e4dfc6b9242c42bbec0aeebf
test-bench-deps: {}
maintainer: James Cook <mokus@deepbondi.net>
synopsis: AVR Crosspack actions for shake build systems.
changelog: ''
basic-deps:
shake: ! '>=0.10'
dependent-sum: ==0.2.*
base: ! '>=3 && <5'
process: -any
mtl: -any
all-versions:
- '0.0.0.1'
- '0.0.0.2'
- '0.0.0.3'
- '0.0.1.0'
- '0.0.1.1'
- '0.0.1.2'
author: James Cook <mokus@deepbondi.net>
latest: '0.0.1.2'
description-type: haddock
description: AVR Crosspack actions for shake build systems.
license-name: PublicDomain
|
Use the env variable for the version | language: python
python:
- "2.7"
env:
- VERSION="8.0" ODOO_REPO="odoo/odoo"
- VERSION="8.0" ODOO_REPO="OCA/OCB"
- VERSION="8.0" UNIT_TEST="1"
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update
- sudo apt-get install libcups2-dev cups
install:
- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
- travis_install_nightly
- pip install coveralls flake8
- pip install pycups==1.9.66
- pip install PyPDF2==1.18
- pip install requests
- git clone https://github.com/OCA/reporting-engine -b 8.0 $HOME/reporting-engine
script:
- travis_run_tests
after_success:
coveralls
| language: python
python:
- "2.7"
env:
- VERSION="8.0" ODOO_REPO="odoo/odoo"
- VERSION="8.0" ODOO_REPO="OCA/OCB"
- VERSION="8.0" UNIT_TEST="1"
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update
- sudo apt-get install libcups2-dev cups
install:
- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
- travis_install_nightly
- pip install coveralls flake8
- pip install pycups==1.9.66
- pip install PyPDF2==1.18
- pip install requests
- git clone https://github.com/OCA/reporting-engine -b ${VERSION} $HOME/reporting-engine
script:
- travis_run_tests
after_success:
coveralls
|
Configure Rubocop to ignore database schema | AllCops:
RunRailsCops: true
Exclude:
- 'bin/*'
- 'vendor/**/*'
Documentation:
Enabled: false
Lint/HandleExceptions:
Exclude:
- Rakefile
Metrics/LineLength:
Max: 120
Style/RescueModifier:
Enabled: false
| AllCops:
RunRailsCops: true
Exclude:
- 'bin/*'
- 'db/*'
- 'vendor/**/*'
Documentation:
Enabled: false
Lint/HandleExceptions:
Exclude:
- Rakefile
Metrics/LineLength:
Max: 120
Style/RescueModifier:
Enabled: false
|
Add 1.34.0 to CI for TryFrom | language: rust
sudo: false
rust:
- 1.31.0 # 2018!
- 1.32.0 # rand
- 1.34.0 # quickcheck
- 1.36.0 # alloc
- stable
- beta
- nightly
script:
- cargo build --verbose
- ./ci/test_full.sh
matrix:
include:
- name: "Rust: stable-i686"
rust: stable-i686-unknown-linux-gnu
addons:
apt:
packages:
- gcc-multilib
# try a target that doesn't have std at all, but does have alloc
- name: "no_std"
rust: stable
env: TARGET=thumbv6m-none-eabi
before_script:
- rustup target add $TARGET
script:
- cargo build --verbose --target $TARGET --no-default-features --features "serde rand"
- name: "rustfmt"
rust: 1.31.0
before_script:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
notifications:
email:
on_success: never
branches:
only:
- master
- next
- staging
- trying
| language: rust
sudo: false
rust:
- 1.31.0 # 2018!
- 1.32.0 # rand
- 1.34.0 # quickcheck, has_try_from
- 1.36.0 # alloc
- stable
- beta
- nightly
script:
- cargo build --verbose
- ./ci/test_full.sh
matrix:
include:
- name: "Rust: stable-i686"
rust: stable-i686-unknown-linux-gnu
addons:
apt:
packages:
- gcc-multilib
# try a target that doesn't have std at all, but does have alloc
- name: "no_std"
rust: stable
env: TARGET=thumbv6m-none-eabi
before_script:
- rustup target add $TARGET
script:
- cargo build --verbose --target $TARGET --no-default-features --features "serde rand"
- name: "rustfmt"
rust: 1.31.0
before_script:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
notifications:
email:
on_success: never
branches:
only:
- master
- next
- staging
- trying
|
Add node 8, 9 to CI test environments | sudo: false
language: node_js
node_js:
- 7
- 6
cache:
directories:
- node_modules
install:
- npm i -g npm@latest
- npm install
| sudo: false
language: node_js
node_js:
- 9
- 8
- 7
- 6
cache:
directories:
- node_modules
install:
- npm i -g npm@latest
- npm install
|
Send coverage info to CodeClimate | language: node_js
node_js:
- '0.11'
- '0.10'
before_script:
- export PATH="$PATH:$(npm bin)"
script:
- gulp lint
- npm test
deploy:
provider: npm
email: bvdrucker@gmail.com
api_key:
secure: GQqARs7Cus12AWQ29b/5uKfFD1+DPFF67kzCEuNhgmax7ITzE0O4FuucaO8JqB7JReoozvbN21QmC0M4zouB/+rcMd3H9h2aAUYMflT1Hr2wgGGJoB1sshTwZ8AQ25s76neOjhGwV8g+5asXS0AOhXPosXOVE6+KdvuXXbMc7xQ=
on:
tags: true
all_branches: true
repo: bendrucker/clearbit-node
| language: node_js
node_js:
- '0.11'
- '0.10'
before_script:
- export PATH="$PATH:$(npm bin)"
script:
- gulp lint
- npm test
after_script:
- npm install -g codeclimate-test-reporter
- codeclimate < ./coverage/lcov.info
deploy:
provider: npm
email: bvdrucker@gmail.com
api_key:
secure: GQqARs7Cus12AWQ29b/5uKfFD1+DPFF67kzCEuNhgmax7ITzE0O4FuucaO8JqB7JReoozvbN21QmC0M4zouB/+rcMd3H9h2aAUYMflT1Hr2wgGGJoB1sshTwZ8AQ25s76neOjhGwV8g+5asXS0AOhXPosXOVE6+KdvuXXbMc7xQ=
on:
tags: true
all_branches: true
repo: bendrucker/clearbit-node
env:
global:
secure: CHoeYn6R9p4vQ96KkysrCSIiN7J0EU1x1jNuevgYVgVol+b5ukvDVUBTaSEzeSznuCotrZdhPp6/CQNELMDJowTXUgbwdp7FUPss5Bp5WjMJHt+YIUw3vjaeucPawX2uzVyNjFY2pCG2IDl13LAvDEWuqMvB6NboX9uBFpW8ah0=
|
Use the latest git version. | language: python
python:
- "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
pip install nikola
# command to run tests, e.g. python setup.py test
script:
nikola build
| language: python
python:
- "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
pip install -e git+https://github.com/getnikola/nikola.git#egg=nikola
# command to run tests, e.g. python setup.py test
script:
nikola build
|
Include hotfix branches when deploying to npm | language: node_js
node_js: 6
branches:
except:
- /^\d+\.\d+\.\d+/
script:
- npm test
- npm run coverage
- npm run codecov
deploy:
- provider: script
skip_cleanup: true
script: /bin/sh scripts/version.sh minor
on:
branch: master
- provider: script
skip_cleanup: true
script: /bin/sh scripts/version.sh patch
on:
branch: /$hotfix/
- provider: pages
skip_cleanup: true
github_token: $GITHUB_API_KEY
on:
branch: release
- provider: npm
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_API_KEY
on:
branch: release | language: node_js
node_js: 6
branches:
except:
- /^\d+\.\d+\.\d+/
script:
- npm test
- npm run coverage
- npm run codecov
deploy:
- provider: script
skip_cleanup: true
script: /bin/sh scripts/version.sh minor
on:
branch: master
- provider: script
skip_cleanup: true
script: /bin/sh scripts/version.sh patch
on:
branch: /$hotfix/
- provider: pages
skip_cleanup: true
github_token: $GITHUB_API_KEY
on:
branch: release
- provider: npm
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_API_KEY
on:
branch:
- release
- /$hotfix/ |
Test against different versions of PHP and Symfony | language: php
sudo: false
matrix:
include:
- php: 7.1
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- composer self-update
install:
- composer install
script:
- vendor/bin/phpunit
| language: php
sudo: false
env:
- COMPOSER_OPTIONS="
matrix:
include:
- php: 7.1
env:
- COMPOSER_OPTIONS="--prefer-lowest"
- php: 7.1
env:
- COMPOSER_OPTIONS="--prefer-stable"
- php: nightly
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- composer self-update
install:
- composer update -n "$COMPOSER_OPTIONS"
script:
- vendor/bin/phpunit
|
Make JRuby an allowed failure | language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
deploy:
provider: rubygems
api_key:
secure: ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME=
gem: dpl
on:
repo: travis-ci/dpl
ruby: 2.0.0
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
matrix:
allow_failures:
- rvm: jruby-19mode
deploy:
provider: rubygems
api_key:
secure: ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME=
gem: dpl
on:
repo: travis-ci/dpl
ruby: 2.0.0
|
Drop Ruby 1.9, Add Ruby 2.6 | sudo: false
language: ruby
rvm:
- 1.9
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
| sudo: false
language: ruby
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
|
Fix windows vm image name | jobs:
# Mac and Linux could potentially use the same template
# except it isn't clear how to use a different build matrix
# for each, so for now they are separate
- template: buildscripts/azure/azure-macos.yml
parameters:
name: macOS
vmImage: xcode9-macos10.13
- template: buildscripts/azure/azure-linux.yml
parameters:
name: Linux
vmImage: ubuntu-16.04
# Windows Python 2.7 needs VC 9.0 installed, and not sure
# how to make that a conditional task, so for now these are
# separate templates as well
- template: buildscripts/azure/azure-windows.yml
parameters:
name: Windows
vmImage: vs2017-win2017
- template: buildscripts/azure/azure-windows-py27.yml
parameters:
name: WindowsPy27
vmImage: vs2017-win2017
| jobs:
# Mac and Linux could potentially use the same template
# except it isn't clear how to use a different build matrix
# for each, so for now they are separate
- template: buildscripts/azure/azure-macos.yml
parameters:
name: macOS
vmImage: xcode9-macos10.13
- template: buildscripts/azure/azure-linux.yml
parameters:
name: Linux
vmImage: ubuntu-16.04
# Windows Python 2.7 needs VC 9.0 installed, and not sure
# how to make that a conditional task, so for now these are
# separate templates as well
- template: buildscripts/azure/azure-windows.yml
parameters:
name: Windows
vmImage: vs2017-win2016
- template: buildscripts/azure/azure-windows-py27.yml
parameters:
name: WindowsPy27
vmImage: vs2017-win2016
|
Use psd-bot user for releases | language: ruby
dist: xenial
services: mysql
bundler_args: "--without deployment"
cache:
bundler: true
before_script:
- bundle exec rake db:setup
script:
- bundle exec rubocop
- bundle exec rspec
before_deploy: "./compile-build"
deploy:
file: release.tar.gz
file_glob: true
skip_cleanup: true
on:
repo: sanger/unified_warehouse
tags: true
provider: releases
api_key:
secure: ZliaLdfkU3OUFeMU3B3DlcIb7lLPSIYBjOHNbDmGE5NVxyof66H24mRq1aRqhH9OrVs1AY16nQ4E4ri9FT6JQPf0GzggNQ7b543YKMp7R8Omg7vZRiCxb1YG58EFRMf9vbATBNkvEHB+r2HhvV3F/rEpr4iuzvg9U+5it6gHp+Q=
notifications:
slack:
secure: WOTWRYxxesHC3dBKSOmN6PO4hXrspjUA6Pnd/Z1H0AKUZO+pWPZExt3crnD1SdEq1FbNF7TYevJaXRURb9flG3cirvpm/uM4pRB3nMgWSjA3SQrl9JJeVGybAPuUNrrNc4LqyvFz6g3m96OzaQAE9hkkUclsVud6aYQ00jArBEw=
| language: ruby
dist: xenial
services: mysql
bundler_args: "--without deployment"
cache:
bundler: true
before_script:
- bundle exec rake db:setup
script:
- bundle exec rubocop
- bundle exec rspec
before_deploy: "./compile-build"
deploy:
provider: releases
api_key:
secure: a8c2BCVF8JT328qV9rJAD2ytPmffeO+zOoCvsY2XFSg51eTMCi/mITFwGT/6Le+tNYxPJfwyYgktUZ0VGCjDaJ2D3YDG+VVShQqHxkzjN3dFLBp4KkgkH9QC/HqnudefnMugm/uGh8i9uuzBT33fvuOqVB9OyEkFBvdoYeqBi3s=
file: release.tar.gz
on:
repo: sanger/unified_warehouse
tags: true
file_glob: true
skip_cleanup: true
notifications:
slack:
secure: WOTWRYxxesHC3dBKSOmN6PO4hXrspjUA6Pnd/Z1H0AKUZO+pWPZExt3crnD1SdEq1FbNF7TYevJaXRURb9flG3cirvpm/uM4pRB3nMgWSjA3SQrl9JJeVGybAPuUNrrNc4LqyvFz6g3m96OzaQAE9hkkUclsVud6aYQ00jArBEw=
|
Install RVM in the phase it would normally be installed in, and cache the install on Travis | language: node_js
node_js:
- 8.9.4
cache:
bundler: true
yarn: true
before_script:
- sudo apt-get install curl -y
- mv node_modules/.bin/which node_modules/.bin/which.backup
- rvm install 2.5.1 && rvm use 2.5.1
- cp config/database.travis.yml config/database.yml
- bundle install --jobs=3 --retry=3
- bundle exec rake db:create db:migrate
- yarn install
script:
- export SECRET_TOKEN=e815982094c62436066bafc9151f2d33c4a351a776654cb7487476de260a4592
- export MQTT_HOST=example.com
- export OS_UPDATE_SERVER=http://example.com
- export FW_UPDATE_SERVER=http://example.com
- export DB=postgresql
- export COVERALLS_REPO_TOKEN=lEX6nkql7y2YFCcIXVq5ORvdvMtYzfZdG
- bundle exec rspec --fail-fast=3
- npm run typecheck
- npm run test-slow
- npm run coverage
| language: node_js
node_js:
- 8.9.4
cache:
bundler: true
yarn: true
directories:
- /home/travis/.rvm/
before_install:
- rvm install 2.5.1
- rvm use 2.5.1
before_script:
- sudo apt-get install curl -y
- mv node_modules/.bin/which node_modules/.bin/which.backup
- cp config/database.travis.yml config/database.yml
- bundle install --jobs=3 --retry=3
- bundle exec rake db:create db:migrate
- yarn install
script:
- export SECRET_TOKEN=e815982094c62436066bafc9151f2d33c4a351a776654cb7487476de260a4592
- export MQTT_HOST=example.com
- export OS_UPDATE_SERVER=http://example.com
- export FW_UPDATE_SERVER=http://example.com
- export DB=postgresql
- export COVERALLS_REPO_TOKEN=lEX6nkql7y2YFCcIXVq5ORvdvMtYzfZdG
- bundle exec rspec --fail-fast=3
- npm run typecheck
- npm run test-slow
- npm run coverage
|
Allow test failure for Python nightly & dev builds | # Travis CI configuration for remote testing.
# See:
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/languages/python
language: python
python:
- "pypy"
- "pypy3"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "nightly"
sudo: false
install:
- pip install 'pbr>=1.9' 'setuptools>=17.1' 'mock>=2.0'
- pip install coverage
- if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then pip install unittest2; fi
# Coverage 4.0 doesn't support Python 3.2
- if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then travis_retry pip install coverage==3.7.1; fi
- if [ "$TRAVIS_PYTHON_VERSION" != "3.2" ]; then travis_retry pip install coverage; fi
script:
- coverage run --source=see.py setup.py test
after_success:
- pip install coveralls
- coveralls
after_script:
- coverage report
- pip install pep8 pyflakes
- pyflakes *.py | tee >(wc -l)
- pep8 --statistics --count *.py
matrix:
fast_finish: true
| # Travis CI configuration for remote testing.
# See:
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/languages/python
language: python
python:
- "pypy"
- "pypy3"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "nightly"
matrix:
fast_finish: true
allow_failures:
- python: "3.5-dev"
- python: "nightly"
sudo: false
install:
- pip install 'pbr>=1.9' 'setuptools>=17.1' 'mock>=2.0'
- pip install coverage
- if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then pip install unittest2; fi
# Coverage 4.0 doesn't support Python 3.2
- if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then travis_retry pip install coverage==3.7.1; fi
- if [ "$TRAVIS_PYTHON_VERSION" != "3.2" ]; then travis_retry pip install coverage; fi
script:
- coverage run --source=see.py setup.py test
after_success:
- pip install coveralls
- coveralls
after_script:
- coverage report
- pip install pep8 pyflakes
- pyflakes *.py | tee >(wc -l)
- pep8 --statistics --count *.py
|
Move Travis builds to container based | #
# This file has been generated by the Ibuildings QA-Tools
#
# Any custom Travis-ci configuration be added here
# This file should be added to your project repository
#
language: php
php:
- 5.6
- 5.5
- 5.4
- hhvm
- 7.0
cache:
directories:
- ~/.composer
before_script:
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then phpenv config-add .travis.php.ini; fi"
- composer self-update
- composer install --prefer-dist
script:
- ant
branches:
only:
- master
matrix:
allow_failures:
- php: hhvm
- php: 7.0
| #
# This file has been generated by the Ibuildings QA-Tools
#
# Any custom Travis-ci configuration be added here
# This file should be added to your project repository
#
sudo: false
language: php
php:
- 5.6
- 5.5
- 5.4
- hhvm
- 7.0
cache:
directories:
- ~/.composer
before_script:
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then phpenv config-add .travis.php.ini; fi"
- composer self-update
- composer install --prefer-dist
script:
- ant
branches:
only:
- master
matrix:
allow_failures:
- php: hhvm
- php: 7.0
|
Exclude 1.9.3/2.6.14 from build matrix | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
before_script:
- 'git clone git://github.com/puppetlabs/puppetlabs-stdlib.git spec/fixtures/modules/stdlib'
env:
- PUPPET_VERSION=2.6.14
- PUPPET_VERSION=2.7.17
- PUPPET_VERSION=2.7.18
- PUPPET_VERSION=3.0.0
matrix:
exclude:
- rvm: 1.9.2
env: PUPPET_VERSION=2.6.14
| language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
before_script:
- 'git clone git://github.com/puppetlabs/puppetlabs-stdlib.git spec/fixtures/modules/stdlib'
env:
- PUPPET_VERSION=2.6.14
- PUPPET_VERSION=2.7.17
- PUPPET_VERSION=2.7.18
- PUPPET_VERSION=3.0.0
matrix:
exclude:
- rvm: 1.9.2
env: PUPPET_VERSION=2.6.14
- rvm: 1.9.3
env: PUPPET_VERSION=2.6.14
|
Fix deployment script in the Travis config | sudo: false
dist: trusty
language: node_js
node_js:
- 6
env:
- TEST_SUITE=main
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
branches:
only:
- master
- v2
- "/v\\d+\\.\\d+\\.\\d+(-\\w+)?/"
script:
- ./scripts/test/travis.sh
deploy:
provider: script
script: ./scripts/release.sh
on:
tags: true
cache: yarn
addons:
sauce_connect: true
| sudo: false
dist: trusty
language: node_js
node_js:
- 6
env:
- TEST_SUITE=main
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
branches:
only:
- master
- v2
- "/v\\d+\\.\\d+\\.\\d+(-\\w+)?/"
script:
- ./scripts/test/travis.sh
deploy:
provider: script
script: ./scripts/release/release.sh
on:
tags: true
cache: yarn
addons:
sauce_connect: true
|
Increase Travis git clone depth | notifications:
email: false
matrix:
include:
- sudo: required
services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
- sudo: required
services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
PRE_CMD=linux32
install:
- docker pull $DOCKER_IMAGE
script:
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/travis/build_wheels.sh
- ls wheelhouse/ | git:
depth: 500
notifications:
email: false
matrix:
include:
- sudo: required
services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
- sudo: required
services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
PRE_CMD=linux32
install:
- docker pull $DOCKER_IMAGE
script:
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/travis/build_wheels.sh
- ls wheelhouse/ |
Add test on JDK7 and JDK8 | language: java
## Run Integration tests
script: "mvn verify" | language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
## Run Integration tests
script: "mvn verify" |
ALlow failures from jruby 1.9 | language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
script: bundle exec rake spec
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
matrix:
allow_failures:
- rvm: jruby-19mode
script: bundle exec rake spec
|
Add OCaml 4.08 and 4.09 in Travis CI | language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-docker.sh
script: bash -ex .travis-docker.sh
services:
- docker
env:
global:
- PINS="qcheck:. qcheck-core:. qcheck-ounit:. qcheck-alcotest:."
- DISTRO="ubuntu-16.04"
matrix:
- PACKAGE="qcheck" OCAML_VERSION="4.03.0" DEPOPTS="ounit alcotest"
- PACKAGE="qcheck" OCAML_VERSION="4.04.2" DEPOPTS="ounit alcotest"
- PACKAGE="qcheck" OCAML_VERSION="4.05.0" DEPOPTS="ounit alcotest"
- PACKAGE="qcheck" OCAML_VERSION="4.06.0" DEPOPTS="ounit alcotest"
- PACKAGE="qcheck" OCAML_VERSION="4.07.0" DEPOPTS="ounit alcotest"
| language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-docker.sh
script: bash -ex .travis-docker.sh
services:
- docker
env:
global:
- PINS="qcheck:. qcheck-core:. qcheck-ounit:. qcheck-alcotest:."
- DISTRO="ubuntu-16.04"
- PACKAGE="qcheck"
- DEPOPTS="ounit alcotest"
matrix:
- OCAML_VERSION="4.03.0"
- OCAML_VERSION="4.04.2"
- OCAML_VERSION="4.05.0"
- OCAML_VERSION="4.06.0"
- OCAML_VERSION="4.07.0"
- OCAML_VERSION="4.08.1"
- OCAML_VERSION="4.09.0"
|
Test primarily on postgres 9.6 | sudo: required
language: go
services:
- docker
addons:
postgresql: "9.5"
go:
- 1.5.4
- 1.6.4
- 1.7.6
- 1.8.3
env:
- GO15VENDOREXPERIMENT=1
install:
- make setup
script:
- make build
- make test
- make test-all
- make docker-release | sudo: required
language: go
services:
- docker
addons:
postgresql: "9.6"
go:
- 1.5.4
- 1.6.4
- 1.7.6
- 1.8.3
env:
- GO15VENDOREXPERIMENT=1
install:
- make setup
script:
- make build
- make test
- make test-all
- make docker-release |
Update Travis build to OpenJDK 11 | language: java
jdk:
- oraclejdk8
- oraclejdk9
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
| language: java
jdk:
- openjdk11
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
|
Test also with java 14 and upgrade ubuntu version | os: linux
dist: trusty
language: java
install: true
jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
- openjdk12
- openjdk13
cache:
directories:
- $HOME/.m2
script: ./mvnw clean verify -U
| os: linux
dist: bionic
language: java
install: true
jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
- openjdk12
- openjdk13
- openjdk14
cache:
directories:
- $HOME/.m2
script: ./mvnw clean verify -U
|
Test against all Symfony 2.x versions/ | language: php
php:
- 5.4
env:
- SYMFONY_VERSION="2.3.*"
- SYMFONY_VERSION="2.4.*"
- SYMFONY_VERSION="2.5.*"
- SYMFONY_VERSION="2.6.*"
cache:
directories:
- $HOME/.composer/cache
# Set up the project for testing
install:
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
# Run Tests
script:
- php ./vendor/bin/phpunit --coverage-clover=build/logs/clover.xml
# Process results
after_script:
# Send code coverage to scrutinizer-ci.com & coveralls.io
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar
- travis_retry php coveralls.phar
# Build Matrix
matrix:
include:
- php: 5.6
env: SYMFONY_VERSION="2.7.*"
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.4.*"
- SYMFONY_VERSION="2.5.*"
- SYMFONY_VERSION="2.6.*"
- SYMFONY_VERSION="2.7.*"
- SYMFONY_VERSION="2.8.*"
cache:
directories:
- $HOME/.composer/cache
# Set up the project for testing
install:
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-dist
# Run Tests
script:
- php ./vendor/bin/phpunit --coverage-clover=build/logs/clover.xml
# Process results
after_script:
# Send code coverage to scrutinizer-ci.com & coveralls.io
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar
- travis_retry php coveralls.phar
# Build Matrix
matrix:
include:
- php: 5.6
env: SYMFONY_VERSION="2.7.*"
fast_finish: true
notifications:
email:
- dev@dankempster.co.uk
branches:
only:
- develop
- master
|
Build HTML docs and deploy to GitHub Pages | arch:
- amd64
language: python
dist: xenial
python:
- 3.5
- 3.6
- 3.7
- 3.8-dev
jobs:
include:
- python: 3.7
arch: arm64
addons:
apt_packages:
- libbz2-dev
- libhdf5-serial-dev
- liblzo2-dev
before_install:
- pip install cython
- python setup.py sdist
install:
- pip install dist/*.tar.gz
script:
- cd .. && python -m tables.tests.test_all
- pt2to3 -h
- ptrepack -h
- ptdump -h
- pttree -h
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/58f8a9014ef02f6217ec
on_success: change
| arch:
- amd64
language: python
dist: xenial
python:
- 3.5
- 3.6
- 3.7
- 3.8-dev
jobs:
include:
- python: 3.7
arch: arm64
addons:
apt_packages:
- libbz2-dev
- libhdf5-serial-dev
- liblzo2-dev
before_install:
- pip install cython
- python setup.py sdist
install:
- pip install dist/*.tar.gz
script:
- cd .. && python -m tables.tests.test_all
- pt2to3 -h
- ptrepack -h
- ptdump -h
- pttree -h
before_deploy:
- pip install sphinx sphinx_rtd_theme ipython
- cd $TRAVIS_BUILD_DIR
- echo "3.6.1" > VERSION # WIP remove me
- cd doc
- make html
- touch build/html/.nojekyll
- echo "www.pytables.org" > build/html/CNAME
- mkdir build/html/docs # keep folders in history
- mkdir build/html/irc # keep folders in history
- mkdir build/html/irc/2011 # keep folders in history
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: doc/build/html
repo: PyTables/pytables.github.com
target_branch: master
keep_history: true # important! keep docs/pdfs that are not part of this repo
verbose: true
on:
branch: master
python: 3.7
#tags: true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/58f8a9014ef02f6217ec
on_success: change
|
Test on Node 4, 6, 8 and latest | language: node_js
node_js:
- "0.12"
- "node"
| language: node_js
node_js:
- "0.12"
- "4"
- "6"
- "8"
- "node"
|
Update circleci/node:8 Docker digest to 933834 | # Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/node:8@sha256:54dc3c1f2ce5f3a0edb21eb4d9dcb57f2c3dccd3e3fb8235b8fe7a8171d7e8b4
working_directory: ~/nteract
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- ~/.npm
- ./node_modules
- ~/.jestcache
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
- run: npm run test:lint
- run: npm run test -- --cacheDirectory=~/.jestcache
- run: npm run test:flow
- run: npm run test:conformance
- run:
name: Build Apps
command: npm run build:apps
no_output_timeout: 60m
| # Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/node:8@sha256:9338349847d15234034a0db79c2db604c403e4e41f7b762e7d7a48162a20f91e
working_directory: ~/nteract
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- ~/.npm
- ./node_modules
- ~/.jestcache
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
- run: npm run test:lint
- run: npm run test -- --cacheDirectory=~/.jestcache
- run: npm run test:flow
- run: npm run test:conformance
- run:
name: Build Apps
command: npm run build:apps
no_output_timeout: 60m
|
Test aganist last of 2.2.x | sudo: false
cache: bundler
language: ruby
rvm:
- 2.2.3
- 2.3.3
- 2.4.0
- ruby-head
before_install:
- gem update --system
- gem install bundler
matrix:
allow_failures:
- rvm: ruby-head
| sudo: false
cache: bundler
language: ruby
rvm:
- 2.2.6
- 2.3.3
- 2.4.0
- ruby-head
before_install:
- gem update --system
- gem install bundler
matrix:
allow_failures:
- rvm: ruby-head
|
Remove deprecated Node versions from Travis CI | language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
| language: node_js
node_js:
- "4"
- "6"
- "7"
|
Set to use dummy versions of phone serives in development mode. | # Default settings notification delivery services. You can override
# connection settings for one or more environments by creating a
# config/priv/delivery.yml file following the same format as this file.
development:
delivery_providers:
sms: nexmo
ivr: intellivr
nexmo:
#class: Delivery::Provider::Nexmo
json_endpoint: http://rest.nexmo.com/sms/json
api_key: ~
api_secret: ~
intellivr:
api_key: ~ # secret API key from INTELLIVR admin interface
base_url: ~ # URL to INTELLIVR API (i.e. http://HOSTNAME/intellivr/api/api.php)
callback_url: ~ # URL to have INTELLIVR contact for delivery confirmations
test:
delivery_providers:
sms: dummy
ivr: dummy
production:
delivery_providers:
sms: nexmo
ivr: intellivr
nexmo:
json_endpoint: http://rest.nexmo.com/sms/json
api_key: ~
api_secret: ~
intellivr:
api_key: ~
base_url: ~
callback_url: ~
<% file = Rails.root.join('config', 'priv', 'delivery.yml') %>
<%= file.read if file.exist? %>
| # Default settings notification delivery services. You can override
# connection settings for one or more environments by creating a
# config/priv/delivery.yml file following the same format as this file.
development:
delivery_providers:
sms: dummy
ivr: dummy
nexmo:
#class: Delivery::Provider::Nexmo
json_endpoint: http://rest.nexmo.com/sms/json
api_key: ~
api_secret: ~
intellivr:
api_key: ~ # secret API key from INTELLIVR admin interface
base_url: ~ # URL to INTELLIVR API (i.e. http://HOSTNAME/intellivr/api/api.php)
callback_url: ~ # URL to have INTELLIVR contact for delivery confirmations
test:
delivery_providers:
sms: dummy
ivr: dummy
production:
delivery_providers:
sms: nexmo
ivr: intellivr
nexmo:
json_endpoint: http://rest.nexmo.com/sms/json
api_key: ~
api_secret: ~
intellivr:
api_key: ~
base_url: ~
callback_url: ~
<% file = Rails.root.join('config', 'priv', 'delivery.yml') %>
<%= file.read if file.exist? %>
|
Add version number to fix tests | app:
port: 3000
session:
host: "localhost"
port: 6379
cleanup_time: 7200000
cleanup_interval: 3600000
global_request_timeout: 5000
log:
customlevels:
ERROR: 1
INFO: 1
LOG: 1
WARN: 1
apis:
base: "/apis"
health: "/service/healthcheck"
| app:
port: 3000
session:
host: "localhost"
port: 6379
cleanup_time: 7200000
cleanup_interval: 3600000
global_request_timeout: 5000
log:
customlevels:
ERROR: 1
INFO: 1
LOG: 1
WARN: 1
apis:
base: "/apis"
health: "/service/healthcheck"
releases:
stable: "0.0.0"
beta: "0.0.0"
alpha: "0.0.0"
|
Migrate tagging to publishing api. | apps_with_migrated_tagging:
- businesssupportfinder
- calculators
- calendars
- licencefinder
- smartanswers
- policy-publisher
- hmrc-manuals-api
- travel-advice-publisher
apps_without_tagging:
- finder-api
- frontend
- planner
| apps_with_migrated_tagging:
- businesssupportfinder
- calculators
- calendars
- licencefinder
- smartanswers
- policy-publisher
- hmrc-manuals-api
- travel-advice-publisher
- tariff
apps_without_tagging:
- finder-api
- frontend
- planner
|
Update from Hackage at 2016-12-12T16:32:15Z | homepage: https://github.com/anton-k/csound-catalog
changelog-type: ''
hash: eed80a502e227456cf9865be53bb448616b442b989f661ea271223150badeeda
test-bench-deps: {}
maintainer: <anton.kholomiov@gmail.com>
synopsis: a gallery of Csound instruments.
changelog: ''
basic-deps:
base: ==4.*
csound-sampler: ! '>=0.0.7.0'
csound-expression: ! '>=5.1.0'
transformers: ! '>=0.3'
sharc-timbre: -any
all-versions:
- '0.1'
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.2.0'
- '0.2.1'
- '0.2.2'
- '0.3.0'
- '0.4.0'
- '0.5.0'
- '0.6.0'
author: Anton Kholomiov
latest: '0.6.0'
description-type: haddock
description: A gallery of Csound instruments.
license-name: BSD3
| homepage: https://github.com/anton-k/csound-catalog
changelog-type: ''
hash: c18a65aeba0458ef69fe4970156d262677c007ae8c525fc3f28a75ee5f5ab914
test-bench-deps: {}
maintainer: <anton.kholomiov@gmail.com>
synopsis: a gallery of Csound instruments.
changelog: ''
basic-deps:
base: ==4.*
csound-sampler: ! '>=0.0.7.0'
csound-expression: ! '>=5.1.0'
transformers: ! '>=0.3'
sharc-timbre: -any
all-versions:
- '0.1'
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.2.0'
- '0.2.1'
- '0.2.2'
- '0.3.0'
- '0.4.0'
- '0.5.0'
- '0.6.0'
- '0.6.1'
author: Anton Kholomiov
latest: '0.6.1'
description-type: haddock
description: A gallery of Csound instruments.
license-name: BSD3
|
Fix zuul publish docker image job | ---
- hosts: all
tasks:
- name: Login to Dockerhub
command: "docker login -u {{ doker_hub_login_api.user }} -p {{ doker_hub_login_api.password }}"
no_log: true
- name: List images
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
- name: Push to Docker Hub all tags
shell: "docker push monasca/api:{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch }}"
| ---
- hosts: all
tasks:
- name: Login to Dockerhub
command: "docker login -u {{ doker_hub_login_api.user }} -p {{ doker_hub_login_api.password }}"
no_log: true
- name: List images
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
- name: Push to Docker Hub all tags
shell: "docker push monasca/api:{{ zuul.tag if zuul.pipeline == 'release' else 'master'}}"
|
Make sure actions runs on PRs | name: CI
on: [push]
jobs:
test:
strategy:
matrix:
ruby_version: [2.6.x, 2.7.x, 3.0.x]
fail-fast: false
runs-on: ubuntu-latest
name: Test on Ruby ${{ matrix.ruby_version }}
steps:
- uses: actions/checkout@v2
- name: Setup Ruby ${{ matrix.ruby_version }}
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Install dependencies
run: bundle install
- name: Build gem
run: gem build yajl-ruby.gemspec
- name: Install gem
run: gem install yajl-ruby
- name: Run tests
run: bundle exec rake spec
| name: CI
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
ruby_version: [2.6.x, 2.7.x, 3.0.x]
fail-fast: false
runs-on: ubuntu-latest
name: Test on Ruby ${{ matrix.ruby_version }}
steps:
- uses: actions/checkout@v2
- name: Setup Ruby ${{ matrix.ruby_version }}
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Install dependencies
run: bundle install
- name: Build gem
run: gem build yajl-ruby.gemspec
- name: Install gem
run: gem install yajl-ruby
- name: Run tests
run: bundle exec rake spec
|
Fix breaking CentOS 7 test. | ---
- hosts: all
become: yes
tasks:
- name: Update apt cache.
apt: update_cache=yes
when: ansible_os_family == 'Debian'
- name: Install test dependencies (RedHat).
package: name=logrotate state=present
when: ansible_os_family == 'RedHat'
- name: Copy initctl_faker into place for Ubuntu 14.04.
copy:
src: initctl_faker
dest: /sbin/initctl
mode: 0755
force: yes
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '14.04'
changed_when: false
| ---
- hosts: all
become: yes
tasks:
- name: Update apt cache.
apt: update_cache=yes
when: ansible_os_family == 'Debian'
- name: Install test dependencies (RedHat).
package: name=logrotate state=present
when: ansible_os_family == 'RedHat'
- name: Override postfix_inet_protocols (RHEL).
set_fact:
postfix_inet_protocols: ipv4
when: ansible_os_family == 'RedHat'
- name: Copy initctl_faker into place for Ubuntu 14.04.
copy:
src: initctl_faker
dest: /sbin/initctl
mode: 0755
force: yes
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '14.04'
changed_when: false
|
Update for rename of Qb.gitignore => QB.gitignore | ---
# meta file for qb.git_repo
dependencies:
- role: qb.gitignore
gitignore_name: Global/OSX
gitignore_dest: "{{ git_repo_dest }}"
when: ansible_distribution == "MacOSX"
- role: qb.gitignore
gitignore_name: Qb
gitignore_dest: "{{ git_repo_dest }}"
| ---
# meta file for qb.git_repo
dependencies:
- role: qb.gitignore
gitignore_name: Global/OSX
gitignore_dest: "{{ git_repo_dest }}"
when: ansible_distribution == "MacOSX"
- role: qb.gitignore
gitignore_name: QB
gitignore_dest: "{{ git_repo_dest }}"
|
Add 'monit' tag to monit tasks | ---
- name: Install monit
apt:
name: monit=1:5.16-2
state: present
force: true
become: true
- name: Copy sudoers file so that deploy can use monit without entering password.
copy:
src: sudoers-monit
dest: /etc/sudoers.d/monit
become: true
- name: Copy monit config to enable http from localhost
copy:
src: monit-http.conf
dest: /etc/monit/conf.d/monit-http.conf
become: true
notify:
- restart_monit
| ---
- name: Install monit
apt:
name: monit=1:5.16-2
state: present
force: true
become: true
tags:
- monit
- name: Copy sudoers file so that deploy can use monit without entering password.
copy:
src: sudoers-monit
dest: /etc/sudoers.d/monit
become: true
tags:
- monit
- name: Copy monit config to enable http from localhost
copy:
src: monit-http.conf
dest: /etc/monit/conf.d/monit-http.conf
become: true
notify:
- restart_monit
tags:
- monit
|
Include codecov setup in workflow | name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Start Xvfb
run: Xvfb :99 &
- name: Run tests
run: mvn -B test
env:
DISPLAY: :99
WDM_GITHUBTOKENNAME: ${{ secrets.WDM_GITHUBTOKENNAME }}
WDM_GITHUBTOKENSECRET: ${{ secrets.WDM_GITHUBTOKENSECRET }}
- name: Analyze code
if: success() && matrix.os == 'ubuntu-latest'
run: >
mvn -B sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=bonigarcia-github
-Dsonar.projectKey=io.github.bonigarcia:webdrivermanager
env:
GITHUB_TOKEN: ${{ secrets.WDM_GITHUBTOKENSECRET }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
| name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Start Xvfb
run: Xvfb :99 &
- name: Run tests
run: mvn -B test
env:
DISPLAY: :99
WDM_GITHUBTOKENNAME: ${{ secrets.WDM_GITHUBTOKENNAME }}
WDM_GITHUBTOKENSECRET: ${{ secrets.WDM_GITHUBTOKENSECRET }}
- name: Analyze code
if: success() && matrix.os == 'ubuntu-latest'
run: >
mvn -B sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=bonigarcia-github
-Dsonar.projectKey=io.github.bonigarcia:webdrivermanager
uses: codecov/codecov-action@v1
env:
GITHUB_TOKEN: ${{ secrets.WDM_GITHUBTOKENSECRET }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
Remove Windows platform from CI due to missing embedded Redis. | name: Maven
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Setup Maven caching
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: ./mvnw -V -B -e "-DtrimStackTrace=false" "-Dmaven.test.failure.ignore=true" verify
- name: Publish Test Results
uses: scacap/action-surefire-report@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
check_name: Test Report (${{ matrix.os }})
report_paths: '**/*-reports/TEST-*.xml'
- name: Upload Test Reports
uses: actions/upload-artifact@v2
with:
name: test-reports-${{ matrix.os }}
path: '**/*-reports'
| name: Maven
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Setup Maven caching
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: ./mvnw -V -B -e "-DtrimStackTrace=false" "-Dmaven.test.failure.ignore=true" verify
- name: Publish Test Results
uses: scacap/action-surefire-report@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
check_name: Test Report (${{ matrix.os }})
report_paths: '**/*-reports/TEST-*.xml'
- name: Upload Test Reports
uses: actions/upload-artifact@v2
with:
name: test-reports-${{ matrix.os }}
path: '**/*-reports'
|
Remove Ubuntu 16.04 since it's EOL | name: tests
on: [push]
jobs:
test:
name: ${{ matrix.os }} + py${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-18.04, ubuntu-16.04]
python: [3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Fetch python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get update
sudo apt-get install -y libpq-dev
pip install -r requirements.txt
- name: Run tests
run: |
scripts/cibuild
| name: tests
on: [push]
jobs:
test:
name: ${{ matrix.os }} + py${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-18.04]
python: [3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Fetch python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get update
sudo apt-get install -y libpq-dev
pip install -r requirements.txt
- name: Run tests
run: |
scripts/cibuild
|
Add f0rmiga as adminstrator to minibroker repo | teams:
service-catalog-admins:
description: Admin access to the service-catalog repo
members:
- jberkhahn
- mszostok
privacy: closed
service-catalog-maintainers:
description: Write access to the service-catalog repo
members:
- carolynvs
- jberkhahn
- mhbauer
- mszostok
- piotrmiskiewicz
privacy: closed
minibroker-admins:
description: Admin access to the minibroker repo
members:
- carolynvs
privacy: closed
| teams:
service-catalog-admins:
description: Admin access to the service-catalog repo
members:
- jberkhahn
- mszostok
privacy: closed
service-catalog-maintainers:
description: Write access to the service-catalog repo
members:
- carolynvs
- jberkhahn
- mhbauer
- mszostok
- piotrmiskiewicz
privacy: closed
minibroker-admins:
description: Admin access to the minibroker repo
members:
- carolynvs
- f0rmiga
privacy: closed
|
Add query strings for decc-offshoresea | ---
site: decc_offshoresea
host: www.offshore-sea.org.uk
redirection_date: 16th May 2013
tna_timestamp: 20130103064208
title: Department of Energy and Climate Change
furl: www.gov.uk/decc
homepage: https://www.gov.uk/government/organisations/department-of-energy-climate-change
css: department-of-energy-climate-change
---
| ---
site: decc_offshoresea
host: www.offshore-sea.org.uk
redirection_date: 16th May 2013
tna_timestamp: 20130103064208
title: Department of Energy and Climate Change
furl: www.gov.uk/decc
homepage: https://www.gov.uk/government/organisations/department-of-energy-climate-change
options: --query-string categoryID:documentID:fileID:faqID:meetingID:consultationID:productID:bookID:downloadID:newsID
css: department-of-energy-climate-change
---
|
Add the ability to trigger the integrated build | - hosts: all
tasks:
- name: Run gate-check-commit.sh script
become: yes
become_user: root
command: "scripts/gate-check-commit.sh {{ scenario }} {{ action }}"
args:
chdir: "src/{{ zuul.project.canonical_name }}"
environment:
# ZUUL_PROJECT is used by tests/get-ansible-role-requirements to
# determine when CI provided repos should be used.
ZUUL_PROJECT: "{{ zuul.project.short_name }}"
| - hosts: all
tasks:
- name: Set current test repo (cross-repo)
set_fact:
current_test_repo: "git.openstack.org/{{ osa_test_repo }}"
when:
- osa_test_repo is defined
- name: Set current test repo (non-cross-repo)
set_fact:
current_test_repo: "{{ zuul.project.canonical_name }}"
when:
- osa_test_repo is not defined
- name: Run gate-check-commit.sh script
become: yes
become_user: root
command: "scripts/gate-check-commit.sh {{ scenario }} {{ action }}"
args:
chdir: "src/{{ current_test_repo }}"
environment:
# ZUUL_PROJECT is used by tests/get-ansible-role-requirements to
# determine when CI provided repos should be used.
ZUUL_PROJECT: "{{ zuul.project.short_name }}"
|
Make new object Twig extension private. | parameters:
darvin_utils.new_object.counter.entity.class: Darvin\Utils\NewObject\NewEntityCounter
darvin_utils.new_object.twig_extension.class: Darvin\Utils\Twig\Extension\NewObjectExtension
services:
darvin_utils.new_object.counter.entity:
class: %darvin_utils.new_object.counter.entity.class%
arguments:
- "@doctrine.orm.entity_manager"
- "@darvin_utils.mapping.metadata_factory"
darvin_utils.new_object.twig_extension:
class: %darvin_utils.new_object.twig_extension.class%
arguments:
- "@darvin_utils.new_object.counter.entity"
tags:
- { name: twig.extension }
| parameters:
darvin_utils.new_object.counter.entity.class: Darvin\Utils\NewObject\NewEntityCounter
darvin_utils.new_object.twig_extension.class: Darvin\Utils\Twig\Extension\NewObjectExtension
services:
darvin_utils.new_object.counter.entity:
class: %darvin_utils.new_object.counter.entity.class%
arguments:
- "@doctrine.orm.entity_manager"
- "@darvin_utils.mapping.metadata_factory"
darvin_utils.new_object.twig_extension:
class: %darvin_utils.new_object.twig_extension.class%
public: false
arguments:
- "@darvin_utils.new_object.counter.entity"
tags:
- { name: twig.extension }
|
Update Aegis to 0.3.2 (8) | Categories:
- Security
License: GPL-3.0-only
SourceCode: https://github.com/beemdevelopment/Aegis
IssueTracker: https://github.com/beemdevelopment/Aegis/issues
AutoName: Aegis
RepoType: git
Repo: https://github.com/beemdevelopment/Aegis
Builds:
- versionName: '0.2'
versionCode: 3
commit: v0.2
subdir: app
gradle:
- yes
- versionName: 0.2.2
versionCode: 5
commit: v0.2.2
subdir: app
gradle:
- yes
- versionName: '0.3'
versionCode: 6
commit: v0.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '0.3'
CurrentVersionCode: 6
| Categories:
- Security
License: GPL-3.0-only
SourceCode: https://github.com/beemdevelopment/Aegis
IssueTracker: https://github.com/beemdevelopment/Aegis/issues
AutoName: Aegis
RepoType: git
Repo: https://github.com/beemdevelopment/Aegis
Builds:
- versionName: '0.2'
versionCode: 3
commit: v0.2
subdir: app
gradle:
- yes
- versionName: 0.2.2
versionCode: 5
commit: v0.2.2
subdir: app
gradle:
- yes
- versionName: '0.3'
versionCode: 6
commit: v0.3
subdir: app
gradle:
- yes
- versionName: 0.3.2
versionCode: 8
commit: v0.3.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.3.2
CurrentVersionCode: 8
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.