Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add Composer autoloader to CakePHP app during Travis build | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
env:
global:
- PLUGIN_NAME=FakeSeeder
- REQUIRE=""
matrix:
- DB=mysql CAKE_VERSION=2.7
matrix:
fast_finish: true
allow_failures:
- php: 7.0
- php: hhvm
include:
- php: 5.4
env:
- COVERALLS=1
- php: 5.4
env:
- PHPCS=1
before_script:
- git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
- ../travis/before_script.sh
script:
- ../travis/script.sh
after_success:
- ../travis/after_success.sh
notifications:
email: false
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
env:
global:
- PLUGIN_NAME=FakeSeeder
- REQUIRE=""
matrix:
- DB=mysql CAKE_VERSION=2.7
matrix:
fast_finish: true
allow_failures:
- php: 7.0
- php: hhvm
include:
- php: 5.4
env:
- COVERALLS=1
- php: 5.4
env:
- PHPCS=1
before_script:
- git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
- ../travis/before_script.sh
- cd ../cakephp/app
- echo "require APP . '../vendor/autoload.php';spl_autoload_unregister(array('App', 'load'));spl_autoload_register(array('App', 'load'), true, true);';" >> Config/core.php
- cat Config/core.php
- cd ..
script:
- ../travis/script.sh
after_success:
- ../travis/after_success.sh
notifications:
email: false
|
Drop support for old rubies. | language: ruby
rvm:
- "1.8.7"
- "1.9.2"
- "1.9.3"
- jruby-18mode # JRuby in 1.8 mode
- jruby-19mode # JRuby in 1.9 mode
- rbx-18mode
- rbx-19mode
| language: ruby
rvm:
- "2.3.0"
|
Add PostgreSQL 9.4 to test matrix | language: c
cache: apt
env:
global:
- enable_coverage=yes
- PG_PRELOAD=cstore_fdw
matrix:
- PGVERSION=9.3
before_install:
- sudo apt-get update -qq
- sudo update-alternatives --remove-all postmaster.1.gz
- git clone --depth 1 https://gist.github.com/9963879.git tools
- tools/nuke_pg.sh
install:
- sudo apt-get install protobuf-c-compiler
- sudo apt-get install libprotobuf-c0-dev
- sudo locale-gen da_DK
- sudo locale-gen da_DK.utf8
- sudo pip install cpp-coveralls
- tools/install_pg.sh
before_script:
- chmod 777 .
- chmod 777 data
- chmod 666 data/*
- tools/config_and_start_cluster.sh
script: tools/pg_travis_test.sh
after_success:
- sudo chmod 666 *.gcda
- coveralls --exclude cstore.pb-c.c --exclude cstore.pb-c.h
| language: c
cache: apt
env:
global:
- enable_coverage=yes
- PG_PRELOAD=cstore_fdw
matrix:
- PGVERSION=9.3
- PGVERSION=9.4
before_install:
- sudo apt-get update -qq
- sudo update-alternatives --remove-all postmaster.1.gz
- git clone --depth 1 https://gist.github.com/9963879.git tools
- tools/nuke_pg.sh
install:
- sudo apt-get install protobuf-c-compiler
- sudo apt-get install libprotobuf-c0-dev
- sudo locale-gen da_DK
- sudo locale-gen da_DK.utf8
- sudo pip install cpp-coveralls
- tools/install_pg.sh
before_script:
- chmod 777 .
- chmod 777 data
- chmod 666 data/*
- tools/config_and_start_cluster.sh
script: tools/pg_travis_test.sh
after_success:
- sudo chmod 666 *.gcda
- coveralls --exclude cstore.pb-c.c --exclude cstore.pb-c.h
|
Revert "Test, Probably breaking stuff" | language: lisp
sudo: false
env:
global:
- PATH=~/.roswell/bin:$PATH
- ROSWELL_INSTALL_DIR=$HOME/.roswell
matrix:
- LISP=abcl-bin
- LISP=allegro
- LISP=sbcl
- LISP=cmu-bin
- LISP=ccl-bin
# Clisp turned off due to problems with UIOP.
#- LISP=clisp
- LISP=ecl
cache:
directories:
- $HOME/.roswell
- $HOME/.config/common-lisp
install:
- curl -L https://raw.githubusercontent.com/roswell/roswell/release/scripts/install-for-ci.sh | sh
- ros install fiveam
- ros install MatthewRock/cl-trie
script:
- ./roswell/cl-trie-test.ros
| language: lisp
sudo: false
env:
global:
- PATH=~/.roswell/bin:$PATH
- ROSWELL_INSTALL_DIR=$HOME/.roswell
matrix:
- LISP=abcl-bin
- LISP=allegro
- LISP=sbcl
- LISP=cmu-bin
- LISP=ccl-bin
# Clisp turned off due to problems with UIOP.
#- LISP=clisp
- LISP=ecl
addons:
apt:
packages:
- libc6-i386
- openjdk-7-jre
cache:
directories:
- $HOME/.roswell
- $HOME/.config/common-lisp
install:
- curl -L https://raw.githubusercontent.com/roswell/roswell/release/scripts/install-for-ci.sh | sh
- ros install fiveam
- ros install MatthewRock/cl-trie
script:
- ./roswell/cl-trie-test.ros
|
Move ssh command to 'script' | language: ruby
sudo: required
dist: trusty
env:
global:
- DEBIAN_FRONTEND=noninteractive
before_install:
- sudo apt-get update -y -qq
- sudo apt-get install -yqq lvm2 xfsprogs sshpass
- if ! command -v docker ; then curl -sSL https://get.docker.io | bash; fi
- sudo usermod -a -G docker travis
- docker pull quay.io/travisci/travis-ruby:latest
- jq --version || sudo curl -sSL -o /usr/local/bin/jq http://stedolan.github.io/jq/download/linux64/jq && sudo chmod 0755 /usr/local/bin/jq
- docker images | grep -q -E '^travis\\s+\\bruby\\b\\s+' || docker tag quay.io/travisci/travis-ruby:latest travis:ruby
- docker run -v /var/tmp:/var/tmp -v /home/travis/build:/home/travis/build -d travis:ruby | tee docker_id
- docker inspect $(< docker_id)
- docker inspect $(< docker_id) | awk -F '"' '/IPAddress/ {print $4}' | tee docker_ip_address
- echo "date\nexit\n" | sshpass -p travis ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no travis@$(< docker_ip_address)
install:
- true
script:
- true
notifications:
email: false
| language: ruby
sudo: required
dist: trusty
env:
global:
- DEBIAN_FRONTEND=noninteractive
before_install:
- sudo apt-get update -y -qq
- sudo apt-get install -yqq lvm2 xfsprogs sshpass
- if ! command -v docker ; then curl -sSL https://get.docker.io | bash; fi
- sudo usermod -a -G docker travis
- docker pull quay.io/travisci/travis-ruby:latest
- jq --version || sudo curl -sSL -o /usr/local/bin/jq http://stedolan.github.io/jq/download/linux64/jq && sudo chmod 0755 /usr/local/bin/jq
- docker images | grep -q -E '^travis\\s+\\bruby\\b\\s+' || docker tag quay.io/travisci/travis-ruby:latest travis:ruby
- docker run -v /var/tmp:/var/tmp -v /home/travis/build:/home/travis/build -d travis:ruby | tee docker_id
- docker inspect $(< docker_id)
- docker inspect $(< docker_id) | awk -F '"' '/IPAddress/ {print $4}' | tee docker_ip_address
install:
- true
script:
- echo "date\nexit\n" | sshpass -p travis ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no travis@$(< docker_ip_address)
notifications:
email: false
|
Add timeout for jasmine specs | language: ruby
rvm:
- "2.0.0"
# uncomment this line if your project needs to run something other than `rake`:
script: "bundle exec rspec spec && bundle exec guard-jasmine"
| language: ruby
rvm:
- "2.0.0"
# uncomment this line if your project needs to run something other than `rake`:
script: "bundle exec rspec spec && bundle exec guard-jasmine --server-timeout=60"
|
Build with latest Node.js 5 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
branches:
only:
- master
before_install:
- npm install
- npm install istanbul coveralls
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
branches:
only:
- master
before_install:
- npm install
- npm install istanbul coveralls
|
Disable F405 in flake for testing deployment | sudo: false
language: python
python:
- "3.4"
install:
- pyvenv .
- bin/pip install flake8
script:
- bin/flake8 apps policycompass_services --ignore E501,F403 --exclude migrations
after_success:
- "[[ $TRAVIS_BRANCH = master && $TRAVIS_PULL_REQUEST = false ]] && openssl aes-256-cbc -K $encrypted_c94ec13a7483_key -iv $encrypted_c94ec13a7483_iv -in travis_deploy_key.enc -out travis_deploy_key -d"
- "[[ $TRAVIS_BRANCH = master && $TRAVIS_PULL_REQUEST = false ]] && ssh -p 5555 -oStrictHostKeyChecking=no -i travis_deploy_key policycompass@stage.policycompass.eu"
| sudo: false
language: python
python:
- "3.4"
install:
- pyvenv .
- bin/pip install flake8
script:
- bin/flake8 apps policycompass_services --ignore E501,F403,F405 --exclude migrations
after_success:
- "[[ $TRAVIS_BRANCH = master && $TRAVIS_PULL_REQUEST = false ]] && openssl aes-256-cbc -K $encrypted_c94ec13a7483_key -iv $encrypted_c94ec13a7483_iv -in travis_deploy_key.enc -out travis_deploy_key -d"
- "[[ $TRAVIS_BRANCH = master && $TRAVIS_PULL_REQUEST = false ]] && ssh -p 5555 -oStrictHostKeyChecking=no -i travis_deploy_key policycompass@stage.policycompass.eu"
|
Correct the profile name in Travis configuration | language: java
services: mongodb
install: mvn install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true -P spring-snapshot
script: mvn install -q -nsu -Dmaven.test.redirectTestOutputToFile=true -P '!integration'
| language: java
services: mongodb
install: mvn install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true -P snapshot
script: mvn install -q -nsu -Dmaven.test.redirectTestOutputToFile=true -P '!integration'
|
Use Clang and GCC on Travis | env:
- AUTOTOOLS=yes
- AUTOTOOLS=no
before_install:
- git clone https://github.com/hcatlin/sass-spec.git
- git clone https://github.com/hcatlin/sassc.git
- export SASS_SPEC_PATH=$TRAVIS_BUILD_DIR/sass-spec
- export SASS_SASSC_PATH=$TRAVIS_BUILD_DIR/sassc
- export SASS_LIBSASS_PATH=$TRAVIS_BUILD_DIR
script: ./travis.sh
| language: cpp
compiler:
- gcc
- clang
env:
- AUTOTOOLS=yes
- AUTOTOOLS=no
before_install:
- git clone https://github.com/hcatlin/sass-spec.git
- git clone https://github.com/hcatlin/sassc.git
- export SASS_SPEC_PATH=$TRAVIS_BUILD_DIR/sass-spec
- export SASS_SASSC_PATH=$TRAVIS_BUILD_DIR/sassc
- export SASS_LIBSASS_PATH=$TRAVIS_BUILD_DIR
script: ./travis.sh
|
Install grunt-cli globally on Travis. | language: node_js
node_js:
- '0.10'
| language: node_js
node_js:
- '0.10'
before_script:
- npm install grunt-cli -g
|
Update NuGet.org key (Serilog Core publishing only) | version: '{build}'
skip_tags: true
image:
- Visual Studio 2019
- Ubuntu1804
configuration: Release
test: off
install:
- ps: ./Setup.ps1
build_script:
- ps: ./Build.ps1
- ps: ./BuildNativeUWP.ps1
for:
-
matrix:
only:
- image: Ubuntu1804
install:
- sh setup.sh
build_script:
- sh build.sh
artifacts:
- path: artifacts/Serilog.*.nupkg
- path: artifacts/Serilog.*.snupkg
deploy:
- provider: NuGet
api_key:
secure: N59tiJECUYpip6tEn0xvdmDAEiP9SIzyLEFLpwiigm/8WhJvBNs13QxzT1/3/JW/
on:
branch: /^(master|dev)$/
- provider: GitHub
auth_token:
secure: p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
artifacts:
/Serilog.*\.nupkg/
/Serilog.*\.snupkg/
tag: v$(appveyor_build_version)
on:
branch: master
| version: '{build}'
skip_tags: true
image:
- Visual Studio 2019
- Ubuntu1804
configuration: Release
test: off
install:
- ps: ./Setup.ps1
build_script:
- ps: ./Build.ps1
- ps: ./BuildNativeUWP.ps1
for:
-
matrix:
only:
- image: Ubuntu1804
install:
- sh setup.sh
build_script:
- sh build.sh
artifacts:
- path: artifacts/Serilog.*.nupkg
- path: artifacts/Serilog.*.snupkg
deploy:
- provider: NuGet
api_key:
secure: hHbvIML/EUrC0+eQvNS0oTd0++/EJHLGUrfvcvY1LBPY4FKRgAOkkq5sWygTNHY7
on:
branch: /^(master|dev)$/
- provider: GitHub
auth_token:
secure: p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
artifacts:
/Serilog.*\.nupkg/
/Serilog.*\.snupkg/
tag: v$(appveyor_build_version)
on:
branch: master
|
Use post-release versioning and fixed deploy condition | image: Visual Studio 2017
configuration: Release
version: '{build}'
dotnet_csproj:
patch: true
file: 'Medium\Medium.csproj'
version: $(appveyor_repo_tag_name)
before_build:
- cmd: dotnet restore
build:
project: MediumSdk.sln
test_script:
- cmd: dotnet test Medium.Tests/Medium.Tests.csproj
artifacts:
- path: '**/*.nupkg'
name: Nuget Packages
deploy:
- provider: NuGet
api_key:
secure: y7n963kT1eor3dpj742k0mwnMPXsWGnljEGlfUr2zaGgqtMOJ4OegiWmLctuGYlY
on:
appveyor_repo_tag: master
| image: Visual Studio 2017
configuration: Release
version: '{build}'
install:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "false")
{
$env:COMMIT_DESCRIPTION = git describe --tags
}
else
{
$env:COMMIT_DESCRIPTION = $env:APPVEYOR_REPO_TAG_NAME
}
Write-Host Build version is $env:COMMIT_DESCRIPTION
dotnet_csproj:
patch: true
file: 'Medium\Medium.csproj'
version: $(commit_description)
before_build:
- cmd: dotnet restore
build:
project: MediumSdk.sln
test_script:
- cmd: dotnet test Medium.Tests/Medium.Tests.csproj
artifacts:
- path: '**/*.nupkg'
name: Nuget Packages
deploy:
- provider: NuGet
api_key:
secure: y7n963kT1eor3dpj742k0mwnMPXsWGnljEGlfUr2zaGgqtMOJ4OegiWmLctuGYlY
on:
appveyor_repo_tag: true
|
Update names to match what will come from collectd | ---
# mesos cli configuration
# this encapsulates the configuration items that would be provided by collectd in the registered config function
#
# profile is not sent by collectd, it is a reflection of which configuration/module pair are used 'mesos-master' and 'mesos-slave'
# these modules have their respective 'master'/'slave' value hard coded.
profile: "master"
#
# same as block Host
#
host: "127.0.0.1"
#
# same as block Port
# mesos-master: 5050
# mesos-slave: 5051
#
port: 5050
#
# optional, separator to use for mesos metric names when using them as collectd type-instance names
#
metric_instance_separator: "."
#
# the mesos metrics configuration file (would normally be in /etc/collectd/mesos.yaml)
#
metric_config_file: "/home/vagrant/shared/src/tmp/mesos.yaml"
#
# same as block TrackingName
# - maintain metric continuity at the service level, regardless of the physical host is the active master currently.
# - send master metrics using common, virtual hostname/identifier.
#
trackingname: "mesos.master"
| ---
# mesos cli configuration
# this encapsulates the configuration items that would be provided by collectd in the registered config function
#
# profile is not sent by collectd, it is a reflection of which configuration/module pair are used 'mesos-master' and 'mesos-slave'
# these modules have their respective 'master'/'slave' value hard coded.
profile: "master"
#
# same as block Host
#
host: "127.0.0.1"
#
# same as block Port
# mesos-master: 5050
# mesos-slave: 5051
#
port: 5050
#
# same as block Separator
# optional, separator to use for mesos metric names when using them as collectd type-instance names
#
separator: "."
#
# same as block MetricConfigFile
# the mesos metrics configuration file (would normally be in /etc/collectd/mesos.yaml)
#
metricconfigfile: "/home/vagrant/shared/src/tmp/mesos.yaml"
#
# same as block TrackingName
# - maintain metric continuity at the service level, regardless of which physical host is running the active master currently.
# - send master metrics using common, virtual hostname/identifier.
#
trackingname: "mesos.master"
|
Change box to puppetlabs/centos-7.0-64-nocm. Works with Vagrant 1.7.2 and VirtualBox 4.3.26. Previos config used a box that would fail compiliation of guest additions and thus could not mount drive on guest OS. | HOSTS:
centos-7-x64:
roles:
- master
platform: el-7-x86_64
box: chef/centos-7.0
box_url: https://vagrantcloud.com/chef/boxes/centos-7.0
hypervisor: vagrant
CONFIG:
log_level: verbose
type: foss
| HOSTS:
centos-7-x64:
roles:
- master
platform: el-7-x86_64
box: puppetlabs/centos-7.0-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/boxes/centos-7.0-64-nocm
hypervisor: vagrant
CONFIG:
log_level: verbose
type: foss
|
Use separate workflows for build + deploy | version: 2.1
orbs:
node: circleci/node@1.1.6
jobs:
build:
executor:
name: node/default
steps:
- checkout
- node/with-cache:
steps:
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
- run: yarn size
- deploy:
name: Publish to NPM
command: |
if [[ "${CIRCLE_TAG}" =~ ^v ]]; then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > "$HOME/.npmrc"
yarn run publish
else
echo "Skipping publish step because there is no v* tag"
fi
| version: 2.1
orbs:
node: circleci/node@1.1.6
jobs:
build:
executor:
name: node/default
steps:
- checkout
- node/with-cache:
steps:
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
- run: yarn size
build-and-publish:
executor:
name: node/default
steps:
- checkout
- node/with-cache:
steps:
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
- run: yarn size
- run:
name: Setup NPM auth
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
name: Publish to NPM
command: yarn run publish
workflows:
version: 2
test:
jobs:
- build:
filters:
tags:
ignore: /^v.*/
test-and-deploy:
jobs:
- build-and-publish:
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
|
Drop down xcode version for CI since 9.2.0 is gone | version: 2
jobs:
build:
# Ensures ci import for displaying oscrypto backend works
working_directory: ~/oscrypto
macos:
# This is the last version using macOS 10.12, which has Python 2.6
xcode: 9.2.0
steps:
- restore_cache:
keys:
- homebrew
- run: brew update
- save_cache:
key: homebrew
paths:
- /usr/local/Homebrew
- run: brew upgrade python
- run: brew install pypy
- checkout
- run: /usr/bin/python2.6 run.py deps
- run: /usr/bin/python2.6 run.py ci
- run: /usr/bin/python2.7 run.py deps
- run: /usr/bin/python2.7 run.py ci
- run:
command: /usr/bin/python2.7 run.py ci
environment:
OSCRYPTO_USE_OPENSSL: /usr/lib/libcrypto.dylib,/usr/lib/libssl.dylib
- run: python3 run.py deps
- run: python3 run.py ci
- run:
command: python3 run.py ci
environment:
OSCRYPTO_USE_OPENSSL: /usr/lib/libcrypto.dylib,/usr/lib/libssl.dylib
- run: pypy run.py deps
- run: pypy run.py ci
| version: 2
jobs:
build:
# Ensures ci import for displaying oscrypto backend works
working_directory: ~/oscrypto
macos:
# This is the last version using macOS 10.12, which has Python 2.6
xcode: 9.0.1
steps:
- restore_cache:
keys:
- homebrew
- run: brew update
- save_cache:
key: homebrew
paths:
- /usr/local/Homebrew
- run: brew upgrade python
- run: brew install pypy
- checkout
- run: /usr/bin/python2.6 run.py deps
- run: /usr/bin/python2.6 run.py ci
- run: /usr/bin/python2.7 run.py deps
- run: /usr/bin/python2.7 run.py ci
- run:
command: /usr/bin/python2.7 run.py ci
environment:
OSCRYPTO_USE_OPENSSL: /usr/lib/libcrypto.dylib,/usr/lib/libssl.dylib
- run: python3 run.py deps
- run: python3 run.py ci
- run:
command: python3 run.py ci
environment:
OSCRYPTO_USE_OPENSSL: /usr/lib/libcrypto.dylib,/usr/lib/libssl.dylib
- run: pypy run.py deps
- run: pypy run.py ci
|
Update from Hackage at 2020-01-11T01:57:47Z | homepage: ''
changelog-type: markdown
hash: 9ce9d20c8b92f4bad9069218fe0599b3eb24b1fd1fe834af1018e4fdc88cba55
test-bench-deps: {}
maintainer: edmundnoble@gmail.com
synopsis: A library for writing predicates and transformations over predicates in
Haskell
changelog: |
# Revision history for predicate-transformers
## 0.1.0.0 -- 2019-10-05
* First version. Released on an unsuspecting world.
basic-deps:
base: ^>=4.11 || ^>=4.12 || ^>=4.13
adjunctions: ^>=4.2 || ^>=4.3 || ^>=4.4
lens: ^>=4.17 || ^>=4.18
mtl: ^>=2.2.2
all-versions:
- 0.1.0.0
- 0.2.0.0
- 0.3.0.0
- 0.4.0.0
- 0.5.0.0
- 0.6.0.0
author: Edmund Noble
latest: 0.6.0.0
description-type: haddock
description: This package provides ways to write predicates such that they compose
nicely and are easy to debug.
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: 6687c5d5ba704d27cd851361b0473486822ef21bb3a122fcfb6b7ac6a5ccd080
test-bench-deps: {}
maintainer: edmundnoble@gmail.com
synopsis: A library for writing predicates and transformations over predicates in
Haskell
changelog: |
# Revision history for predicate-transformers
## 0.1.0.0 -- 2019-10-05
* First version. Released on an unsuspecting world.
basic-deps:
base: ^>=4.11 || ^>=4.12 || ^>=4.13
adjunctions: ^>=4.2 || ^>=4.3 || ^>=4.4
lens: ^>=4.17 || ^>=4.18
mtl: ^>=2.2.2
deepseq: ^>=1.4.4.0
all-versions:
- 0.1.0.0
- 0.2.0.0
- 0.3.0.0
- 0.4.0.0
- 0.5.0.0
- 0.6.0.0
- 0.7.0.0
author: Edmund Noble
latest: 0.7.0.0
description-type: haddock
description: This package provides ways to write predicates such that they compose
nicely and are easy to debug.
license-name: BSD-3-Clause
|
Include OS name in job name | name: CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x' ]
name: Test with Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v1
- name: Set up Ruby ${{ matrix.ruby }}
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
| name: CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x' ]
name: Test with Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Set up Ruby ${{ matrix.ruby }}
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
|
Install collectl on Galaxy servers | ---
# node, npm for GIE proxy
group_packages:
- nodejs
- npm
- docker-engine
group_yum_repositories:
- name: docker
contents:
name: Docker
baseurl: https://yum.dockerproject.org/repo/main/centos/6
enabled: "1"
gpgcheck: "1"
gpgkey: https://yum.dockerproject.org/gpg
group_services:
- name: docker
state: stopped
enabled: "no"
cvmfs_server_urls:
- domain: galaxyproject.org
urls:
- "http://cvmfs1-tacc0.galaxyproject.org/cvmfs/@fqrn@"
- "http://cvmfs1-iu0.galaxyproject.org/cvmfs/@fqrn@"
cvmfs_http_proxies:
- "DIRECT"
jetstream_nfs_filesystems:
- device: "jetstream-iu0.galaxyproject.org:/scratch0"
mountpoint: "/jetstream/iu-scratch0"
- device: "jetstream-tacc0.galaxyproject.org:/scratch0"
mountpoint: "/jetstream/tacc-scratch0"
| ---
# node, npm for GIE proxy
group_packages:
- nodejs
- npm
- docker-engine
- collectl
group_yum_repositories:
- name: docker
contents:
name: Docker
baseurl: https://yum.dockerproject.org/repo/main/centos/6
enabled: "1"
gpgcheck: "1"
gpgkey: https://yum.dockerproject.org/gpg
group_services:
- name: docker
state: stopped
enabled: "no"
cvmfs_server_urls:
- domain: galaxyproject.org
urls:
- "http://cvmfs1-tacc0.galaxyproject.org/cvmfs/@fqrn@"
- "http://cvmfs1-iu0.galaxyproject.org/cvmfs/@fqrn@"
cvmfs_http_proxies:
- "DIRECT"
jetstream_nfs_filesystems:
- device: "jetstream-iu0.galaxyproject.org:/scratch0"
mountpoint: "/jetstream/iu-scratch0"
- device: "jetstream-tacc0.galaxyproject.org:/scratch0"
mountpoint: "/jetstream/tacc-scratch0"
|
Switch to browser friendly rsa version | name: duse
version: 0.0.1
description: A minimal command-line application.
author: Axel Christ <adracus@gmail.com>
#homepage: https://www.example.com
environment:
sdk: '>=1.0.0 <2.0.0'
dependencies:
restpoint:
git: git://github.com/Adracus/restpoint.git
secret_sharing:
git: git://github.com/duse-io/secret-sharing-dart.git
rsa: any
unscripted: ">=0.5.2+1 <0.6.0"
dev_dependencies:
unittest: any
mock: any
| name: duse
version: 0.0.1
description: A minimal command-line application.
author: Axel Christ <adracus@gmail.com>
#homepage: https://www.example.com
environment:
sdk: '>=1.0.0 <2.0.0'
dependencies:
restpoint:
git: git://github.com/Adracus/restpoint.git
secret_sharing:
git: git://github.com/duse-io/secret-sharing-dart.git
rsa:
git: git://github.com/Adracus/rsa.git
unscripted: ">=0.5.2+1 <0.6.0"
dev_dependencies:
unittest: any
mock: any
|
Deploy via Travis to Tondorf-Branch | language: ruby
rvm:
- 2.2.3
notifications:
slack: hacken-in:v0VPwCbdNxNY7oVfJGsFLAJS
bundler_args: --without development
before_script:
- psql -c 'create database hcking_test;' -U postgres
- "cp config/database.yml_travis config/database.yml"
script: "bundle exec rake db:drop db:create db:migrate ci"
sudo: false
cache: bundler
addons:
postgresql: "9.3"
code_climate:
repo_token: e9119a0532e351ecb5e7a0807c08b3dcd5771bc31f85b45f823f1dbcd22f78fb
after_success:
- "[[ $TRAVIS_BRANCH = 'master' ]] && bundle exec cap master deploy"
| language: ruby
rvm:
- 2.2.3
notifications:
slack: hacken-in:v0VPwCbdNxNY7oVfJGsFLAJS
bundler_args: --without development
before_script:
- psql -c 'create database hcking_test;' -U postgres
- "cp config/database.yml_travis config/database.yml"
script: "bundle exec rake db:drop db:create db:migrate ci"
sudo: false
cache: bundler
addons:
postgresql: "9.3"
code_climate:
repo_token: e9119a0532e351ecb5e7a0807c08b3dcd5771bc31f85b45f823f1dbcd22f78fb
after_success:
- "[[ $TRAVIS_BRANCH = 'back-to-tondorf' ]] && bundle exec cap master deploy"
|
Fix removal of jdk package. | ---
- name: Remove package 'java-1.7.0-openjdk'
yum: pkg=java-1.7.0-openjdk state=absent
when: not java_install|success
ignore_errors: yes
sudo: yes
| ---
- name: Remove package 'java-1.7.0-openjdk'
yum: pkg=java-1.7.0-openjdk state=absent
when: not java_install|skipped
ignore_errors: yes
sudo: yes
|
Fix a YAML problem with missing liquid-fixpoint | resolver: lts-13.10
packages:
- '.'
extra-deps:
- csv-table-0.1.0.1
- dotgen-0.4.2
- fgl-visualize-0.1.0.1
- intern-0.9.2
- located-base-0.1.1.1
- text-format-0.3.2
- tasty-rerun-1.1.14
flags:
liquidhaskell:
devel: true
extra-package-dbs: []
ghc-options:
hscolour: -w
| resolver: lts-13.10
packages:
- '.'
- 'liquid-fixpoint'
extra-deps:
- csv-table-0.1.0.1
- dotgen-0.4.2
- fgl-visualize-0.1.0.1
- intern-0.9.2
- located-base-0.1.1.1
- text-format-0.3.2
- tasty-rerun-1.1.14
flags:
liquidhaskell:
devel: true
extra-package-dbs: []
ghc-options:
hscolour: -w
|
Add Mac and Windows for testing. | name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# Run weekly (* is a special character in YAML, so quote the string)
- cron: '0 0 * * 0'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip install .
- name: Lint
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test
run: python -m unittest discover tests -v
| name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# Run weekly (* is a special character in YAML, so quote the string)
- cron: '0 0 * * 0'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip install .
- name: Lint
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test
run: python -m unittest discover tests -v
|
Update from Forestry.io - Updated Forestry configuration | ---
hide_body: false
is_partial: true
fields:
- type: text
hidden: true
label: block
name: block
default: onecolumn-1
- type: include
name: column
label: Column
template: text-column
| ---
hide_body: false
is_partial: true
fields:
- type: text
hidden: true
label: block
name: block
default: one-column-1
- type: include
name: column
label: Column
template: text-column
|
Migrate to official pycqa/flake8 hooks repo | repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: flake8
- id: double-quote-string-fixer
- id: requirements-txt-fixer
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.4
hooks:
- id: autopep8
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.3.0
hooks:
- id: reorder-python-imports
args: [--py3-plus]
- repo: https://github.com/asottile/pyupgrade
rev: v1.8.0
hooks:
- id: pyupgrade
args: [--py3-plus]
- repo: https://github.com/asottile/add-trailing-comma
rev: v0.7.1
hooks:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.630
hooks:
- id: mypy
# not an actual source module
exclude: ^pre_commit_mirror_maker/python/setup.py$
| repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: double-quote-string-fixer
- id: requirements-txt-fixer
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.4.3
hooks:
- id: autopep8
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.3.5
hooks:
- id: reorder-python-imports
args: [--py3-plus]
- repo: https://github.com/asottile/pyupgrade
rev: v1.11.1
hooks:
- id: pyupgrade
args: [--py3-plus]
- repo: https://github.com/asottile/add-trailing-comma
rev: v0.7.1
hooks:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.660
hooks:
- id: mypy
# not an actual source module
exclude: ^pre_commit_mirror_maker/python/setup.py$
|
Test multiple Node js LTS releases | language: node_js
node_js: 4
| language: node_js
node_js:
- 4
- 6
- 8
before_install:
- npm install -g npm@5
- npm install -g greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
|
Change build.sh Default to ./build.sh Default | language: csharp
sudo: false # use the new container-based Travis infrastructure
script:
- cd CSharp/
- build.sh Default
- cd ..
branches:
except:
- gh-pages
before_install:
- chmod +x build.sh
- chmod +x CSharp/build.sh | language: csharp
sudo: false # use the new container-based Travis infrastructure
script:
- cd CSharp/
- ./build.sh Default
- cd ..
branches:
except:
- gh-pages
before_install:
- chmod +x build.sh
- chmod +x CSharp/build.sh |
Use mvnw with Rultor to be consistent with Travis | docker:
image: yegor256/java8
decrypt:
settings.xml: "repo/settings.xml.asc"
pubring.gpg: "repo/pubring.gpg.asc"
secring.gpg: "repo/secring.gpg.asc"
release:
script: |
mvn versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
mvn clean deploy -Phibernate-springcache -Psonatype --settings /home/r/settings.xml
| docker:
image: yegor256/java8
decrypt:
settings.xml: "repo/settings.xml.asc"
pubring.gpg: "repo/pubring.gpg.asc"
secring.gpg: "repo/secring.gpg.asc"
release:
script: |
./mvnw versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
./mvnw clean deploy -Phibernate-springcache -Psonatype --settings /home/r/settings.xml
|
Modify option translations, add translation for error message. | description: 'Import configuration to current application.'
arguments:
file: 'Path to an archive file of configuration.'
remove-files: 'Remove files after synchronization.'
messages:
config_files_imported: 'List of config files.'
imported: 'Configuration imported successfully.'
| description: 'Import configuration to current application.'
arguments:
file: 'Path to an archive file of configuration to import.'
directory: 'Path to a directory of configuration to import.'
remove-files: 'Remove files after synchronization.'
messages:
config_files_imported: 'List of config files.'
imported: 'Configuration imported successfully.'
file_and_directory_error: 'Please use only one of either the file or directory options.'
|
Add node 0.8 to testing versions. | language: node_js
node_js:
- 0.4
- 0.6
- 0.7
| language: node_js
node_js:
- 0.4
- 0.6
- 0.7
- 0.8
|
Update dask recipe to version 0.15.1 | {% set version = "0.15.0" %}
{% set hash = "812bbf7f4420f02556f76b8c67f06354237ae1b22bd0b6af54b5ba91f9548a67" %}
package:
name: dask
version: "{{ version }}"
source:
fn: dask-{{ version }}.tar.gz
url: https://pypi.io/packages/source/d/dask/dask-{{ version }}.tar.gz
sha256: {{ hash }}
build:
number: 0
noarch: python
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
run:
- python
- bokeh
- cloudpickle >=0.2.1
- distributed >=1.16.0
- numpy
- pandas >=0.19.0
- partd >=0.3.7
- toolz >=0.7.2
test:
imports:
- dask
- dask.array
- dask.bag
- dask.bytes
- dask.dataframe
- dask.dataframe.tseries
- dask.delayed
- dask.diagnostics
- dask.store
about:
home: http://github.com/dask/dask/
license: BSD 3-Clause
summary: 'Minimal task scheduling abstraction'
| {% set version = "0.15.1" %}
{% set hash = "f62f19ab5958b13d0ee733db18218c28a9d452a3554446a3dfb5ac3d4a5f7e34" %}
package:
name: dask
version: "{{ version }}"
source:
fn: dask-{{ version }}.tar.gz
url: https://pypi.io/packages/source/d/dask/dask-{{ version }}.tar.gz
sha256: {{ hash }}
build:
number: 0
noarch: python
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
run:
- python
- bokeh
- cloudpickle >=0.2.1
- distributed >=1.16.0
- numpy
- pandas >=0.19.0
- partd >=0.3.7
- toolz >=0.7.2
test:
imports:
- dask
- dask.array
- dask.bag
- dask.bytes
- dask.dataframe
- dask.dataframe.tseries
- dask.delayed
- dask.diagnostics
- dask.store
about:
home: http://github.com/dask/dask/
license: BSD 3-Clause
summary: 'Minimal task scheduling abstraction'
|
Integrate coverall as build server test | language: java
jdk:
- oraclejdk8
after_success:
- coveralls
notifications:
email:
on_failure: change
| language: java
jdk:
- oraclejdk8
after_success:
- mvn clean test jacoco:report coveralls:report
notifications:
email:
on_failure: change
|
Replace alias matrix with jobs keyword | language: csharp
mono: none
dotnet: 3.1
matrix:
include:
- os: linux
dist: bionic
- os: osx
dotnet: 3.1.100
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
script:
- dotnet restore ./LiteDB/LiteDB.csproj
- dotnet build ./LiteDB/LiteDB.csproj -f netstandard2.0
- dotnet test ./LiteDB.Tests/LiteDB.Tests.csproj --logger:console --verbosity=minimal
notifications:
email: false
| language: csharp
mono: none
dotnet: 3.1
jobs:
include:
- os: linux
dist: bionic
- os: osx
dotnet: 3.1.100
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
script:
- dotnet restore ./LiteDB/LiteDB.csproj
- dotnet build ./LiteDB/LiteDB.csproj -f netstandard2.0
- dotnet test ./LiteDB.Tests/LiteDB.Tests.csproj --logger:console --verbosity=minimal
notifications:
email: false
|
Print git status before building | dist: trusty
language: node_js
node_js:
- "lts/*"
- "node"
cache:
yarn: true
directories:
- "node_modules"
- "$HOME/.sonar/cache"
addons:
sonarcloud:
organization: "paulsmirnov-github"
branches:
- dev
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.27.5
- export PATH="$HOME/.yarn/bin:$PATH"
- yarn global add greenkeeper-lockfile@1
before_script:
- greenkeeper-lockfile-update
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
after_script:
- greenkeeper-lockfile-upload
script:
- npm run ci
after_success:
- sonar-scanner
- npm run coveralls
- npm run codecov
- npm run codacy
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
deploy:
- provider: npm
skip_cleanup: true
email: "$NPM_EMAIL"
api_key: "$NPM_AUTH_TOKEN"
tag: latest
on:
tags: true
node: "node"
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$
| dist: trusty
language: node_js
node_js:
- "lts/*"
- "node"
cache:
yarn: true
directories:
- "node_modules"
- "$HOME/.sonar/cache"
addons:
sonarcloud:
organization: "paulsmirnov-github"
branches:
- dev
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.27.5
- export PATH="$HOME/.yarn/bin:$PATH"
- yarn global add greenkeeper-lockfile@1
before_script:
- greenkeeper-lockfile-update
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
after_script:
- greenkeeper-lockfile-upload
script:
- git status
- npm run ci
after_success:
- sonar-scanner
- npm run coveralls
- npm run codecov
- npm run codacy
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
deploy:
- provider: npm
skip_cleanup: true
email: "$NPM_EMAIL"
api_key: "$NPM_AUTH_TOKEN"
tag: latest
on:
tags: true
node: "node"
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$
|
Remove cached packages in Travis. | language: R
r:
- release
- devel
sudo: false
cache: packages
warnings_are_errors: false
r_packages:
- covr
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
after_success:
- Rscript -e 'library(covr); codecov()' | language: R
r:
- release
- devel
sudo: false
warnings_are_errors: false
r_packages:
- covr
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
after_success:
- Rscript -e 'library(covr); codecov()' |
Use up-to-date pip and setuptools | language: python
cache: pip
sudo: false
env:
global:
- PILLOW="Pillow"
matrix:
include:
- python: 2.7
- python: 3.4
env: PILLOW="Pillow==2.9.0"
- python: 3.5
env: PILLOW="Pillow==3.0.0"
- python: 3.6
addons:
apt:
sources:
- trusty-media
packages:
- ubuntu-restricted-extras
- ffmpeg
- language-pack-fr
- libavcodec-extra-54
# Dependencies to build PIL
- libfreetype6-dev
- libjpeg8-dev
- zlib1g-dev
install:
- pip install -q $PILLOW
- pip install pytest pytest-cov coveralls
- pip install .
before_script:
ffmpeg --help
script: py.test -sv --cov sigal --cov-report term-missing tests/
after_success:
coveralls
notifications:
irc: "chat.freenode.net#sigal"
| language: python
cache: pip
sudo: false
env:
global:
- PILLOW="Pillow"
matrix:
include:
- python: 2.7
- python: 3.4
env: PILLOW="Pillow==2.9.0"
- python: 3.5
env: PILLOW="Pillow==3.0.0"
- python: 3.6
addons:
apt:
sources:
- trusty-media
packages:
- ubuntu-restricted-extras
- ffmpeg
- language-pack-fr
- libavcodec-extra-54
# Dependencies to build PIL
- libfreetype6-dev
- libjpeg8-dev
- zlib1g-dev
install:
- pip install -U pip setuptools wheel
- pip install -q $PILLOW
- pip install pytest pytest-cov coveralls
- pip install .
before_script:
ffmpeg --help
script: py.test -sv --cov sigal --cov-report term-missing tests/
after_success:
coveralls
notifications:
irc: "chat.freenode.net#sigal"
|
Test with default Rake task | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
bundler_args: --without integration
before_script:
- bundle exec berks install
script:
- bundle exec rake ci
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
bundler_args: --without integration
before_script:
- bundle exec berks install
script:
- bundle exec rake
|
Drop support for PHP 5.4 and 5.5. Remove PHP 7.0 from allow_failures matrix. | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_script:
- composer self-update
- composer update
script:
- php vendor/bin/phpunit
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover log/coverage.xml
- wget https://tomzx.github.io/php-semver-checker-git/php-semver-checker-git.phar
- php php-semver-checker-git.phar suggest src src --allow-detached -vvv
| language: php
php:
- 5.6
- 7.0
- 7.1
- hhvm
sudo: false
install:
- composer self-update
- composer install --no-interaction --prefer-source
script:
- php vendor/bin/phpunit
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover log/coverage.xml
- wget http://psvcg.coreteks.org/php-semver-checker-git.phar
- php php-semver-checker-git.phar suggest -vvv
|
Add flag to google chrome installation | sudo: required
dist: trusty
before_install:
- "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -"
- "echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" | sudo tee -a /etc/apt/sources.list"
- "sudo apt-get update -qq"
- "sudo apt-get install -y google-chrome-stable"
- "df -h"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
language: java
jdk:
- oraclejdk8
script:
- gradle clean build -i
cache:
directories:
- $HOME/.m2
addons:
firefox: latest-nightly
| sudo: required
dist: trusty
before_install:
- "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -"
- "echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" | sudo tee -a /etc/apt/sources.list"
- "sudo apt-get update -qq"
- "sudo apt-get install -y --allow-unauthenticated google-chrome-stable"
- "df -h"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
language: java
jdk:
- oraclejdk8
script:
- gradle clean build -i
cache:
directories:
- $HOME/.m2
addons:
firefox: latest-nightly
|
Test with different HttpClient versions | language: java
script: mvn clean verify
jdk:
- openjdk6
notifications:
email:
- dsmiley@mitre.org
| language: java
script: mvn -Dhttpclient.version=HTTPCLIENT_VERSION clean verify
jdk:
- openjdk6
env:
- HTTPCLIENT_VERSION=4.1
- HTTPCLIENT_VERSION=4.2
- HTTPCLIENT_VERSION=4.3.4
notifications:
email:
- dsmiley@apache.org
|
Use the pre-release builds of chefdk | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec spec
| # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec spec
|
Make Functional Specs work on Travis with auth server and creds | language: objective-c
osx_image: xcode7.3
sudo: false
before_install:
- brew update
- brew outdated xctool || brew upgrade xctool
install:
- tail -n +4 Sample/Constants.h.example > Sample/Constants.h
- echo \#define PUSHER_APP_ID @\"$(env | grep PUSHER_APP_ID | cut -d "=" -f 2)\" >> Sample/Constants.h
- echo \#define PUSHER_APP_KEY @\"$(env | grep PUSHER_APP_KEY | cut -d "=" -f 2)\" >> Sample/Constants.h
- echo \#define PUSHER_APP_SECRET @\"$(env | grep PUSHER_APP_SECRET | cut -d "=" -f 2)\" >> Sample/Constants.h
env:
matrix:
- XCODE_SCHEME="libPusher" SDK="iphonesimulator"
- XCODE_SCHEME="libPusher-OSX" SDK="macosx"
- XCODE_SCHEME="Functional Specs" SDK="iphonesimulator"
script: xctool -workspace libPusher.xcworkspace -scheme "$XCODE_SCHEME" -sdk "$SDK" test
| language: objective-c
osx_image: xcode7.3
sudo: false
before_install:
- brew update
- brew outdated xctool || brew upgrade xctool
install:
- tail -n +4 Sample/Constants.h.example > Sample/Constants.h
- echo \#define PUSHER_APP_ID @\"$(env | grep PUSHER_APP_ID | cut -d "=" -f 2)\" >> Sample/Constants.h
- echo \#define PUSHER_APP_KEY @\"$(env | grep PUSHER_APP_KEY | cut -d "=" -f 2)\" >> Sample/Constants.h
- echo \#define PUSHER_APP_SECRET @\"$(env | grep PUSHER_APP_SECRET | cut -d "=" -f 2)\" >> Sample/Constants.h
- bundle install
env:
matrix:
- XCODE_SCHEME="libPusher" SDK="iphonesimulator"
- XCODE_SCHEME="libPusher-OSX" SDK="macosx"
- XCODE_SCHEME="Functional Specs" SDK="iphonesimulator"
script:
- rackup -p 9292 Scripts/auth_server.ru > logs.txt 2>&1 &
- xctool -workspace libPusher.xcworkspace -scheme "$XCODE_SCHEME" -sdk "$SDK" test
after_success:
- sleep 5 |
Build javadocs as well, buildwar target seems to expect it | dist: trusty
sudo: required
language: java
jdk:
- openjdk8
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y ant-optional
env:
global:
secure: "jhGBqc4vW+ALi5S2soFhBpfV11d6xXswwUA/s53WT2N4sNIA2vLOf55vI5cQcOnqOTe86PQpLXgbV5Eycp+cunaQJBTzEjAGJuHS/N1ThWyWo5MDchM78winTUYFBUrvjd1XhBx5JBJCLyQowl6yZa14LQ6uj4zbTcXK8VAin8w="
secure: "YZhh9Ry9SGHp9043WvZhJDGHH2V1V7H6DuPwrGuCouOIJesaqM+zAM28GnRSkSLk5yz9M9oty/3d+d20mpwojbJNddROAvCGz54jeaSMciWfrnQiMi2coU8Bgzch8reh5u1tSNpVqO73MRzX4O2dGKs5SiI/YIHl/URiWpe9GsE="
install:
- cd ..
- git clone https://github.com/kbase/jars
- cd -
script:
- ant compile
after_success:
- docker pull kbase/kb_jre
- ant docker_image
- IMAGE_NAME=kbase/kb_workspace ./push2dockerhub.sh
| dist: trusty
sudo: required
language: java
jdk:
- openjdk8
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y ant-optional
env:
global:
secure: "jhGBqc4vW+ALi5S2soFhBpfV11d6xXswwUA/s53WT2N4sNIA2vLOf55vI5cQcOnqOTe86PQpLXgbV5Eycp+cunaQJBTzEjAGJuHS/N1ThWyWo5MDchM78winTUYFBUrvjd1XhBx5JBJCLyQowl6yZa14LQ6uj4zbTcXK8VAin8w="
secure: "YZhh9Ry9SGHp9043WvZhJDGHH2V1V7H6DuPwrGuCouOIJesaqM+zAM28GnRSkSLk5yz9M9oty/3d+d20mpwojbJNddROAvCGz54jeaSMciWfrnQiMi2coU8Bgzch8reh5u1tSNpVqO73MRzX4O2dGKs5SiI/YIHl/URiWpe9GsE="
install:
- cd ..
- git clone https://github.com/kbase/jars
- cd -
script:
- ant javadoc
- ant compile
after_success:
- docker pull kbase/kb_jre
- ant docker_image
- IMAGE_NAME=kbase/kb_workspace ./push2dockerhub.sh
|
Update Travis CI configuration for Gradle | language: android
android:
components:
- platform-tools
- android-16
- build-tools-21.1
jdk: oraclejdk7
notifications:
email: false
before_install:
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
script:
- mvn clean install -DskipTests=true -B -V
- mvn test -B | language: android
android:
components:
- platform-tools
- android-16
- build-tools-21.1.2
- extra
jdk: oraclejdk7
notifications:
email: false
before_install:
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
script:
- ./gradlew clean build |
Add php5.6 as test environment. | language: php
php:
- '7.0'
- '7.1'
install: php composer.phar update
script: php tests/phpunit.phar --configuration tests/phpunit.xml | language: php
php:
- '5.6'
- '7.0'
- '7.1'
install: php composer.phar update
script: php tests/phpunit.phar --configuration tests/phpunit.xml |
Add missing MySQL/Rails 5.2 combo in CI matrix | sudo: false
language: ruby
rvm:
- 2.3.7
- 2.4.4
- 2.5.1
env:
- RAILS=5-2 DB=sqlite
- RAILS=5-2 DB=pg
- RAILS=5-1 DB=sqlite
- RAILS=5-1 DB=pg
- RAILS=5-1 DB=mysql
- RAILS=4-2 DB=sqlite
- RAILS=4-2 DB=pg
- RAILS=4-2 DB=mysql
before_script:
- psql -c 'create database active_reporting_test;' -U postgres
- mysql -e 'create database active_reporting_test collate utf8_general_ci;'
| sudo: false
language: ruby
rvm:
- 2.3.7
- 2.4.4
- 2.5.1
env:
- RAILS=5-2 DB=sqlite
- RAILS=5-2 DB=pg
- RAILS=5-2 DB=mysql
- RAILS=5-1 DB=sqlite
- RAILS=5-1 DB=pg
- RAILS=5-1 DB=mysql
- RAILS=4-2 DB=sqlite
- RAILS=4-2 DB=pg
- RAILS=4-2 DB=mysql
before_script:
- psql -c 'create database active_reporting_test;' -U postgres
- mysql -e 'create database active_reporting_test collate utf8_general_ci;'
|
Drop support for old Node versions | language: node_js
node_js:
- "7"
- "8"
- "9"
- "node"
script:
- npm run bootstrap
- npm run lint
- npm run build
- npm run test -- --maxWorkers=4
- npm run coveralls
| language: node_js
node_js:
- "9"
- "10"
- "node"
script:
- npm run bootstrap
- npm run lint
- npm run build
- npm run test -- --maxWorkers=4
- npm run coveralls
|
Use test matrix for python versions | language: python
sudo: false
cache: pip
python:
- '3.4'
- '3.5'
- '3.6'
before_install:
- openssl aes-256-cbc -K $encrypted_12e75a453f27_key -iv $encrypted_12e75a453f27_iv -in gcs-service-account.json.enc -out gcs-service-account.json -d
install:
- pip install --upgrade setuptools
- pip install tox-travis
script: tox
env:
- TOXENV=py34
- TOXENV=py35
- TOXENV=py36
- TOXENV=flake8
- TOXENV=docs
| language: python
sudo: false
cache: pip
python:
- '3.4'
- '3.5'
- '3.6'
before_install:
- openssl aes-256-cbc -K $encrypted_12e75a453f27_key -iv $encrypted_12e75a453f27_iv -in gcs-service-account.json.enc -out gcs-service-account.json -d
install:
- pip install --upgrade setuptools
- pip install tox-travis
matrix:
include:
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
script: tox |
Add Sauce token using env variables | #source: http://docs.travis-ci.com/user/languages/python/
language: python
python:
- "2.7"
addons:
sauce_connect: true
before_script:
- python RunFlask.py &
script: python test/travis-testcases.py
branches:
only:
- master
| #source: http://docs.travis-ci.com/user/languages/python/
language: python
python:
- "2.7"
env:
global:
- secure: <%= ENV['SauceLogin'] %>
- secure: <%= ENV['SauceAccessKey'] %>
addons:
sauce_connect: true
before_script:
- python RunFlask.py &
script: python test/travis-testcases.py
branches:
only:
- master
|
Add Tmux 2.0 to Travis-CI test environments | language: c
env:
- TMUX_VERSION="1.6"
- TMUX_VERSION="1.7"
- TMUX_VERSION="1.8"
- TMUX_VERSION="1.9a"
before_install:
- sudo apt-get update
- sudo apt-get install -y bc build-essential libevent-dev libncurses5-dev
- wget http://downloads.sourceforge.net/tmux/tmux-${TMUX_VERSION}.tar.gz
- tar -zxf tmux-${TMUX_VERSION}.tar.gz
- cd tmux-${TMUX_VERSION}
- ./configure && make && sudo make install
- cd ..
script: make test
| language: c
env:
- TMUX_VERSION="1.6"
- TMUX_VERSION="1.7"
- TMUX_VERSION="1.8"
- TMUX_VERSION="1.9a"
- TMUX_VERSION="2.0"
before_install:
- sudo apt-get update
- sudo apt-get install -y bc build-essential libevent-dev libncurses5-dev
- wget http://downloads.sourceforge.net/tmux/tmux-${TMUX_VERSION}.tar.gz
- tar -zxf tmux-${TMUX_VERSION}.tar.gz
- cd tmux-${TMUX_VERSION}
- ./configure && make && sudo make install
- cd ..
script: make test
|
Fix Travis, Xdebug old version coverage test. Coverage now only run on PHP >=7.3. | language: php
php:
- '7.1'
- '7.2'
- '7.3'
- '7.4snapshot'
- nightly
matrix:
allow_failures:
- php: nightly
- php: '7.4snapshot'
install:
- composer update
script:
- vendor/bin/phpunit --coverage-clover build/coverage/xml
after_script:
- php vendor/bin/codacycoverage clover build/coverage/xml | language: php
php:
- '7.1'
- '7.2'
- '7.3'
- '7.4snapshot'
- nightly
matrix:
allow_failures:
- php: nightly
- php: '7.4snapshot'
install:
- composer update
script:
- if [[ $(phpenv version-name) != '7.1' && $(phpenv version-name) != '7.2' ]] ; then vendor/bin/phpunit --coverage-clover build/coverage/xml ; fi
after_script:
- if [[ $(phpenv version-name) != '7.1' && $(phpenv version-name) != '7.2' ]] ; then vendor/bin/codacycoverage clover build/coverage/xml ; fi |
Put flag in the right place | sudo: false
language: c
addons:
apt:
packages:
- libgmp-dev
env:
global:
- ARGS="--resolver lts-3"
- GH_REF="github.com/codebje/hask-mrt.git"
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.4.0/stack-0.1.4.0-x86_64-linux.tar.gz | tar xz -C ~/.local/bin
- stack install pandoc
script:
- stack $ARGS --no-terminal --install-ghc --haddock test
- bash ./docs.sh
# Caching so the next build will be faster
cache:
directories:
- $HOME/.stack
| sudo: false
language: c
addons:
apt:
packages:
- libgmp-dev
env:
global:
- ARGS="--resolver lts-3"
- GH_REF="github.com/codebje/hask-mrt.git"
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.4.0/stack-0.1.4.0-x86_64-linux.tar.gz | tar xz -C ~/.local/bin
- stack install pandoc
script:
- stack $ARGS --no-terminal --install-ghc test --haddock
- bash ./docs.sh
# Caching so the next build will be faster
cache:
directories:
- $HOME/.stack
|
FIX Use precise distro for PHP 5.3 support | # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
sudo: false
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
env:
- DB=MYSQL CORE_RELEASE=3.2
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2
allow_failures:
- php: 7.0
before_script:
- composer self-update || true
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install
script:
- vendor/bin/phpunit fluent/tests
| # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
sudo: false
language: php
dist: precise
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
env:
- DB=MYSQL CORE_RELEASE=3.2
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2
allow_failures:
- php: 7.0
before_script:
- composer self-update || true
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install
script:
- vendor/bin/phpunit fluent/tests
|
Fix typo in Travis CI config | language: cpp
compiler:
- clang
- gcc
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-5-dev; fi
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-5; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
script: cd build && cmake/.. && make && make install
os:
- linux
- osx
| language: cpp
compiler:
- clang
- gcc
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-5-dev; fi
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-5; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
script: cd build && cmake .. && make && make install
os:
- linux
- osx
|
Fix bundler version for Travis CI | language: ruby
sudo: false
rvm:
- 2.2
before_install: gem install bundler -v 1.10.4
script: bundle exec rspec spec
| language: ruby
sudo: false
rvm:
- 2.2
before_install: gem install bundler -v 1.11
script: bundle exec rspec spec
|
Add testing for PHP 7.0 and HHVM | language: php
sudo: false
matrix:
include:
- php: 5.4
- php: 5.5
- php: 5.6
fast_finish: true
before_install:
- composer self-update
install:
- composer --prefer-source install
script:
- vendor/phpunit/phpunit/phpunit
| language: php
sudo: false
matrix:
include:
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- hhvm
fast_finish: true
matrix:
allow_failures:
- php: hhvm
before_install:
- composer self-update
install:
- composer --prefer-source install
script:
- vendor/phpunit/phpunit/phpunit
|
Drop unused sudo: false directive | ---
sudo: false
cache: bundler
language: ruby
rvm:
- 2.3.6
- 2.4.4
- 2.5.1
- 2.6.0
- jruby-9.2.5.0
| ---
cache: bundler
language: ruby
rvm:
- 2.3.6
- 2.4.4
- 2.5.1
- 2.6.0
- jruby-9.2.5.0
|
Make sure not to prompt for stable django uninstall | language: python
python:
- 2.6
- 2.7
install:
- pip install -r requirements
- pip install psycopg2==2.4.1
- python setup.py install
postgres:
adapter: postgresql
database: mutant
username: postgres
before_script:
- "psql -c 'create database mutant;' -U postgres"
script:
- cd tests
- python manage.py test mutant
- python manage.py test mutant --settings=travis_postgres_settings
- pip uninstall django && pip install -e git+https://github.com/django/django#egg=django
- python manage.py test mutant
- python manage.py test mutant --settings=travis_postgres_settings | language: python
python:
- 2.6
- 2.7
install:
- pip install -r requirements
- pip install psycopg2==2.4.1
- python setup.py install
postgres:
adapter: postgresql
database: mutant
username: postgres
before_script:
- "psql -c 'create database mutant;' -U postgres"
script:
- cd tests
- python manage.py test mutant
- python manage.py test mutant --settings=travis_postgres_settings
- pip uninstall django -y && pip install -e git+https://github.com/django/django#egg=django
- python manage.py test mutant
- python manage.py test mutant --settings=travis_postgres_settings |
Stop running test with 1.3 | language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
# - tip
sudo: false
| language: go
go:
# - 1.3
- 1.4
- 1.5
- 1.6
# - tip
sudo: false
|
Add Node 5.x to Travis config | language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs" | language: node_js
node_js:
- "5.5"
- "5.4"
- "5.3"
- "5.2"
- "5.1"
- "5.0"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs"
|
Update Travis config to latest. Move Coveralls submission to after_success . | sudo: false
language: node_js
node_js:
- "4.4"
- "6.3"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: false
language: node_js
node_js:
- "4.4"
- "6.3"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
after_success
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Use setup from github.com releases | # This provides an initial configuration to
# test xp-framework on http://travis-ci.org/
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- wget 'http://xp-framework.net/downloads/releases/bin/setup' -O - | php
- echo "use=." > xp.ini
- echo "[runtime]" >> xp.ini
- echo "date.timezone=Europe/Berlin" >> xp.ini
script:
- (EXCD=0; for i in src/test/config/unittest/*.ini; do echo "---> $i"; ./unittest $i; RES=$?; if [ $RES -ne 0 ]; then EXCD=$RES; fi; done; exit $EXCD;) | # This provides an initial configuration to
# test xp-framework on http://travis-ci.org/
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.0.0RC1/setup' -O - | php
- echo "use=." > xp.ini
- echo "[runtime]" >> xp.ini
- echo "date.timezone=Europe/Berlin" >> xp.ini
script:
- (EXCD=0; for i in src/test/config/unittest/*.ini; do echo "---> $i"; ./unittest $i; RES=$?; if [ $RES -ne 0 ]; then EXCD=$RES; fi; done; exit $EXCD;) |
Disable Rubinius temporarily on Travis due to an error | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx-2
script:
- bundle exec rspec
- bundle exec rubocop
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
script:
- bundle exec rspec
- bundle exec rubocop
|
Test against more versions of Ruby. | ---
script: "bundle exec qed"
rvm:
- 1.9.2
- 1.9.3
- rbx-19mode
- jruby-19mode
| ---
script: "bundle exec qed"
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- rbx
- jruby
- rbx-19mode
- jruby-19mode
|
Speed up builds by forcing Travis CI to use container infrastructure. | language: python
env:
- TOXENV=flake8
- TOXENV=py27-django18
- TOXENV=py33-django18
- TOXENV=py34-django18
install:
- pip install tox
script:
- tox -e $TOXENV
| language: python
env:
- TOXENV=flake8
- TOXENV=py27-django18
- TOXENV=py33-django18
- TOXENV=py34-django18
install:
- pip install tox
script:
- tox -e $TOXENV
sudo: false
|
Upgrade Travis CI Node.js version | language: node_js
node_js:
- 0.10
env:
- SLIMERJSLAUNCHER=$(which firefox) DISPLAY=:99.0 PATH=$TRAVIS_BUILD_DIR/slimerjs:$PATH
addons:
firefox: "28.0"
branches:
except:
- gh-pages
before_script:
- "sh -e /etc/init.d/xvfb start"
- "echo 'Installing SlimerJS'"
- "wget http://download.slimerjs.org/v0.9/0.9.1/slimerjs-0.9.1.zip"
- "unzip slimerjs-0.9.1.zip"
- "mv slimerjs-0.9.1 ./slimerjs"
| language: node_js
node_js:
- 6
env:
- SLIMERJSLAUNCHER=$(which firefox) DISPLAY=:99.0 PATH=$TRAVIS_BUILD_DIR/slimerjs:$PATH
addons:
firefox: "28.0"
branches:
except:
- gh-pages
before_script:
- "sh -e /etc/init.d/xvfb start"
- "echo 'Installing SlimerJS'"
- "wget http://download.slimerjs.org/v0.9/0.9.1/slimerjs-0.9.1.zip"
- "unzip slimerjs-0.9.1.zip"
- "mv slimerjs-0.9.1 ./slimerjs"
|
Fix database setup on Travis CI. | language: python
addons:
postgresql: "9.4"
install:
- pip install pip setuptools --upgrade
- pip install -r requirements.txt
before_script:
- psql -c 'create extension hstore;' -U postgres -d template1
- psql -c 'create database pgallery;' -U postgres
script:
- export PYTHONPATH=$PYTHONPATH:`pwd`
- make test
| language: python
addons:
postgresql: "9.4"
env:
- DATABASE_USER="postgres" DATABASE_PASSWORD=""
install:
- pip install pip setuptools --upgrade
- pip install -r requirements.txt
before_script:
- psql -c 'create extension hstore;' -U postgres -d template1
- psql -c 'create database pgallery;' -U postgres
script:
- export PYTHONPATH=$PYTHONPATH:`pwd`
- make test
|
Add go get all script step | language: go
install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go test -v -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
| language: go
install:
- go get ./...
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go test -v -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
|
Create build directory for Linux builds | sudo: required
services:
- docker
language: cpp
compiler: g++
install:
- if [ $TRAVIS_OS_NAME == osx ]; then
brew update
&& brew unlink openssl
&& brew install openssl
&& brew link --force openssl
&& brew unlink cmake
&& brew install cmake
&& brew link --force cmake;
fi
script:
- if [ $TRAVIS_OS_NAME == osx ]; then
mkdir build
&& cd build
&& cmake ..
&& make
&& make test;
fi
- if [ $TRAVIS_OS_NAME == linux ]; then
docker build -t jbrooker/cpp-multihash .
&& docker run -v $PWD:/work/source/ --privileged -it jbrooker/cpp-multihash;
fi
branches:
only:
- master
notification:
email: true
os:
- linux
- osx
| sudo: required
services:
- docker
language: cpp
compiler: g++
install:
- if [ $TRAVIS_OS_NAME == osx ]; then
brew update
&& brew unlink openssl
&& brew install openssl
&& brew link --force openssl
&& brew unlink cmake
&& brew install cmake
&& brew link --force cmake;
fi
script:
- if [ $TRAVIS_OS_NAME == osx ]; then
mkdir build
&& cd build
&& cmake ..
&& make
&& make test;
fi
- if [ $TRAVIS_OS_NAME == linux ]; then
mkdir build
&& docker build -t jbrooker/cpp-multihash .
&& docker run -v $PWD:/work/source/ -v $PWD/build:/work/build \
--privileged -it jbrooker/cpp-multihash;
fi
branches:
only:
- master
notification:
email: true
os:
- linux
- osx
|
Drop support for python 2.6 | language: python
python:
- "2.6"
- "2.7"
install:
- pip install -r requirements.txt --use-mirrors
- pip install python-coveralls coverage
script:
- coverage run --source mocurly setup.py test
after_success:
- coveralls
| language: python
python:
- "2.7"
install:
- pip install -r requirements.txt --use-mirrors
- pip install python-coveralls coverage
script:
- coverage run --source mocurly setup.py test
after_success:
- coveralls
|
Enable Travis testing under Node v0.11. | language: node_js
node_js:
- "0.10"
env:
- NACL_SRC=nacl.min.js
- NACL_SRC=nacl-fast.min.js
script: "npm run testall"
| language: node_js
node_js:
- "0.10"
- "0.11"
env:
- NACL_SRC=nacl.min.js
- NACL_SRC=nacl-fast.min.js
script: "npm run testall"
|
Test on Node.js v5 and v4 | sudo: false
language: node_js
node_js:
- 'iojs'
- '0.12'
- '0.10'
| sudo: false
language: node_js
node_js:
- '5'
- '4'
- '0.12'
|
Change to trusty beta image | ---
language: python
python: "2.7"
before_install:
# Make sure everything's up to date.
- sudo apt-get install -y python-software-properties
- sudo add-apt-repository -y cloud-archive:kilo
- sudo apt-get update -qq
install:
# Install Ansible.
- pip install ansible
# Install Keystone client
- sudo apt-get install -y python-keystoneclient
# Add ansible.cfg to pick up roles path.
- "{ echo '[defaults]'; echo 'roles_path = ../'; } >> ansible.cfg"
script:
# Check the role/playbook's syntax.
- ansible-playbook -i tests/inventory tests/test.yml --syntax-check
# Run the role/playbook with ansible-playbook.
- >
ansible-playbook -i tests/inventory tests/test.yml --connection=local
--sudo
# Test role idempotency
- >
ansible-playbook -i tests/inventory tests/test.yml --connection=local
--sudo | grep -q 'changed=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
# Test Keystone setup
- >
keystone --os-token 'os token' --os-endpoint http://localhost:35357/v2.0
service-list | grep keystone
- >
keystone --os-token 'os token' --os-endpoint http://localhost:35357/v2.0
endpoint-list
| ---
language: python
python: "2.7"
sudo: required
dist: trusty
before_install:
# Make sure everything's up to date.
- sudo apt-get install -y python-software-properties
- sudo add-apt-repository -y cloud-archive:kilo
- sudo apt-get update -qq
install:
# Install Ansible.
- pip install ansible
# Install Keystone client
- sudo apt-get install -y python-keystoneclient
# Add ansible.cfg to pick up roles path.
- "{ echo '[defaults]'; echo 'roles_path = ../'; } >> ansible.cfg"
script:
# Check the role/playbook's syntax.
- ansible-playbook -i tests/inventory tests/test.yml --syntax-check
# Run the role/playbook with ansible-playbook.
- >
ansible-playbook -i tests/inventory tests/test.yml --connection=local
--sudo
# Test role idempotency
- >
ansible-playbook -i tests/inventory tests/test.yml --connection=local
--sudo | grep -q 'changed=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
# Test Keystone setup
- >
keystone --os-token 'os token' --os-endpoint http://localhost:35357/v2.0
service-list | grep keystone
- >
keystone --os-token 'os token' --os-endpoint http://localhost:35357/v2.0
endpoint-list
|
Replace Oracle JDK with Open JDK to pass build | sudo: required
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: java
jdk:
- oraclejdk8
env:
- NODE_VERSION=8.12.0 DBUS_SESSION_BUS_ADDRESS=/dev/null
cache:
directories:
- node_modules
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- npm install -g npm@latest
- npm install
script:
- npm test
- cat test/unit/coverage/lcov.info | node_modules/.bin/coveralls
| sudo: required
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: java
jdk:
- openjdk8
env:
- NODE_VERSION=8.12.0 DBUS_SESSION_BUS_ADDRESS=/dev/null
cache:
directories:
- node_modules
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- npm install -g npm@latest
- npm install
script:
- npm test
- cat test/unit/coverage/lcov.info | node_modules/.bin/coveralls
|
Switch to testing on OpenJDK | language: scala
dist: trusty
sudo: false
scala:
- 2.11.11
- 2.12.7
cache:
directories:
- '$HOME/node_modules'
- $HOME/.ivy2
services:
- mongodb
jdk:
- oraclejdk8
matrix:
include:
- scala: 2.12.7
jdk: oraclejdk11
script: ./travis.sh
branches:
only:
- master
- /^release-branch-.*$/
node_js:
- "4.1"
before_script:
- "cd web/webkit"
- "npm install"
- "cd -"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/85e4d8ae84e569f9c501
on_success: always
on_failure: always
on_start: never
email:
recipients:
- lift-committers@googlegroups.com
on_success: change
on_failure: always
| language: scala
dist: trusty
sudo: false
scala:
- 2.11.11
- 2.12.7
cache:
directories:
- '$HOME/node_modules'
- $HOME/.ivy2
services:
- mongodb
jdk:
- openjdk8
matrix:
include:
- scala: 2.12.7
jdk: openjdk11
script: ./travis.sh
branches:
only:
- master
- /^release-branch-.*$/
node_js:
- "4.1"
before_script:
- "cd web/webkit"
- "npm install"
- "cd -"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/85e4d8ae84e569f9c501
on_success: always
on_failure: always
on_start: never
email:
recipients:
- lift-committers@googlegroups.com
on_success: change
on_failure: always
|
Add 2.3.1 & 2.1.9 to build matrix | sudo: false
cache: bundler
language: ruby
bundler_args: --without debugging
rvm:
- 2.3.0
- 2.2.4
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
fast_finish: true
| sudo: false
cache: bundler
language: ruby
bundler_args: --without debugging
rvm:
- 2.3.1
- 2.3.0
- 2.2.4
- 2.1.9
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
fast_finish: true
|
Upgrade Travis env to Ubuntu 18.04 | language: lisp
env:
matrix:
- LISP=abcl
- LISP=allegro
- LISP=ccl
- LISP=ccl32
- LISP=ecl
- LISP=sbcl
- LISP=sbcl32
- LISP=cmucl
matrix:
allow_failures:
- env: LISP=cmucl
notifications:
email:
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#iolib"
on_success: change
on_failure: always
use_notice: true
skip_join: true
install:
- curl -L https://raw.githubusercontent.com/sionescu/cl-travis/master/install.sh | sh
- cl -e "(cl:in-package :cl-user)
(dolist (p '(:trivial-features :fiveam))
(ql:quickload p :verbose t))"
script:
- cl -e "(cl:in-package :cl-user)
(print (lisp-implementation-version))(terpri)
(ql:quickload :swap-bytes/test :verbose t)
(uiop:quit (if (some (lambda (x) (typep x '5am::test-failure))
(5am:run :swap-bytes))
1 0))"
sudo: required
| dist: bionic
language: lisp
env:
matrix:
- LISP=abcl
- LISP=allegro
- LISP=ccl
- LISP=ccl32
- LISP=ecl
- LISP=sbcl
- LISP=sbcl32
- LISP=cmucl
matrix:
allow_failures:
- env: LISP=cmucl
notifications:
email:
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#iolib"
on_success: change
on_failure: always
use_notice: true
skip_join: true
install:
- curl -L https://raw.githubusercontent.com/sionescu/cl-travis/master/install.sh | sh
- cl -e "(cl:in-package :cl-user)
(dolist (p '(:trivial-features :fiveam))
(ql:quickload p :verbose t))"
script:
- cl -e "(cl:in-package :cl-user)
(print (lisp-implementation-version))(terpri)
(ql:quickload :swap-bytes/test :verbose t)
(uiop:quit (if (some (lambda (x) (typep x '5am::test-failure))
(5am:run :swap-bytes))
1 0))"
sudo: required
|
Add tests for Carthage building and CocoaPods linting. | language: objective-c
osx_image: xcode7.3
env:
global:
- PROJECT=LogKit.xcodeproj
- SCHEME_OSX="LogKit OSX"
- SCHEME_IOS="LogKit iOS"
- SCHEME_TVOS="LogKit tvOS"
- SCHEME_WATCHOS="LogKit watchOS"
matrix:
- DEST="arch=x86_64" SCHEME="$SCHEME_OSX" ACTION="test"
- DEST="OS=9.3,name=iPhone 6S" SCHEME="$SCHEME_IOS" ACTION="test"
- DEST="OS=9.2,name=Apple TV 1080p" SCHEME="$SCHEME_TVOS" ACTION="test"
- DEST="OS=2.2,name=Apple Watch - 42mm" SCHEME="$SCHEME_WATCHOS" ACTION="build"
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild -project "$PROJECT" -destination "$DEST" -scheme "$SCHEME" -configuration Debug ONLY_ACTIVE_ARCH=NO $ACTION | xcpretty
| language: objective-c
osx_image: xcode7.3
env:
global:
- PROJECT=LogKit.xcodeproj
- SCHEME_OSX="LogKit OSX"
- SCHEME_IOS="LogKit iOS"
- SCHEME_TVOS="LogKit tvOS"
- SCHEME_WATCHOS="LogKit watchOS"
matrix:
- DEST="arch=x86_64" SCHEME="$SCHEME_OSX" ACTION="test" TOOL="XCODE"
- DEST="OS=9.3,name=iPhone 6S" SCHEME="$SCHEME_IOS" ACTION="test" TOOL="XCODE"
- DEST="OS=9.2,name=Apple TV 1080p" SCHEME="$SCHEME_TVOS" ACTION="test" TOOL="XCODE"
- DEST="OS=2.2,name=Apple Watch - 42mm" SCHEME="$SCHEME_WATCHOS" ACTION="build" TOOL="XCODE"
- TOOL="CARTHAGE" DEST="" SCHEME="" ACTION=""
- TOOL="COCOAPODS" DEST="" SCHEME="" ACTION=""
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
# Build Framework in Debug config and run unit tests
- if [ $TOOL == "XCODE" ]; then
xcodebuild -project "$PROJECT" -destination "$DEST" -scheme "$SCHEME" -configuration Debug ONLY_ACTIVE_ARCH=NO $ACTION | xcpretty;
fi
# Fetch LogKit and build with Carthage
- if [ $TOOL == "CARTHAGE" ]; then echo 'github "logkit/logkit"' > Cartfile; carthage update logkit; fi
# Validate Podspec
- if [ $TOOL == "COCOAPODS" ]; then pod lib lint; fi
|
Remove before_install, does not work as expected | sudo: required
language: node_js
node_js:
- lts/*
- node
before_install:
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
script:
- yarn lint
- yarn test --code-coverage
- yarn build
after_script:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
| sudo: required
language: node_js
node_js:
- lts/*
- node
script:
- yarn lint
- yarn test --code-coverage
- yarn build
after_script:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
|
Stop unused services, and show resource usage when it fails in TravisCI | sudo: required
language: java
jdk:
- oraclejdk8
services:
- docker
cache:
directories:
- $HOME/.gradle
- $HOME/.m2
env:
global:
- TERM=dumb
- CI_NODE_TOTAL=8
- BUILD_IMAGE=digdag/digdag-build:20170228T062524-309738ae71c4642d72e2978568fea14a84d0f2a9
matrix:
- CI_NODE_INDEX=0
- CI_NODE_INDEX=1
- CI_NODE_INDEX=2
- CI_NODE_INDEX=3
- CI_NODE_INDEX=4
- CI_NODE_INDEX=5
- CI_NODE_INDEX=6
- CI_NODE_INDEX=7
before_install:
- |
docker run \
-w /digdag \
-v `pwd`/:/digdag \
-v $HOME/.gradle:/root/.gradle \
$BUILD_IMAGE \
./gradlew testClasses
- ci/validate.sh
install: true
before_cache:
- sudo chown `id -u`:`id -g` -R $HOME/.gradle $HOME/.m2 # make them cachable
script:
- travis_wait 40 ci/run_test.sh
after_success:
- ci/travis_report_coverage.sh
| sudo: required
language: java
jdk:
- oraclejdk8
services:
- docker
cache:
directories:
- $HOME/.gradle
- $HOME/.m2
env:
global:
- TERM=dumb
- CI_NODE_TOTAL=8
- BUILD_IMAGE=digdag/digdag-build:20170228T062524-309738ae71c4642d72e2978568fea14a84d0f2a9
matrix:
- CI_NODE_INDEX=0
- CI_NODE_INDEX=1
- CI_NODE_INDEX=2
- CI_NODE_INDEX=3
- CI_NODE_INDEX=4
- CI_NODE_INDEX=5
- CI_NODE_INDEX=6
- CI_NODE_INDEX=7
before_install:
- sudo service --status-all
- sudo /etc/init.d/mysql stop
- sudo /etc/init.d/couchdb stop
- sudo /etc/init.d/redis-server stop
- |
docker run \
-w /digdag \
-v `pwd`/:/digdag \
-v $HOME/.gradle:/root/.gradle \
$BUILD_IMAGE \
./gradlew testClasses
- ci/validate.sh
install: true
before_cache:
- sudo chown `id -u`:`id -g` -R $HOME/.gradle $HOME/.m2 # make them cachable
script:
- travis_wait 40 ci/run_test.sh
after_success:
- ci/travis_report_coverage.sh
after_failure:
- sudo free -m -t
- sudo dmesg
|
Add Node 7 to Travis CI build matrix | sudo: false
language: node_js
node_js:
- "0.12"
- "4"
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
| sudo: false
language: node_js
node_js:
- "0.12"
- "4"
- "7"
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
|
Add OS X to build matrix | language: c
compiler:
- clang
- gcc
script: make
| language: c
compiler:
- clang
- gcc
os:
- linux
- osx
script: make clean sample
|
Test on the current ruby releases | sudo: false
rvm:
- 2.5
- 2.4
bundler_args: "--jobs 7 --without docs local"
branches:
only:
- 2.0-stable
- 3.0-stable
- master
before_install:
- gem update --system
- gem install bundler
before_script:
- git config --global user.email "clouseau@chef.io"
- git config --global user.name "Pink Panther"
script: bundle exec rake travis:ci
notifications:
slack:
on_change: true
on_failure: true
on_success: false
on_pull_requests: false
rooms:
secure: udLCoBl71xJBsW3P+YqZbA5xfaB8l4IIF6SKEXpjIUYNYyP6m77uoY9PZ/M/5EN1ojPXDxsZ6SiPEJifVpkX5Hqd0eu1MwWyRXvOwiDf/nkg2Y3mqwUQRb3LDYWZxPn+xp5mHePe3mvTICR1zH49yx7fdZs8Qvzhh3Lno/w/qZ4=
| sudo: false
rvm:
- 2.5.1
- 2.4.4
bundler_args: "--jobs 7 --without docs local"
branches:
only:
- 2.0-stable
- 3.0-stable
- master
before_install:
- gem update --system
- gem install bundler
before_script:
- git config --global user.email "clouseau@chef.io"
- git config --global user.name "Pink Panther"
script: bundle exec rake travis:ci
notifications:
slack:
on_change: true
on_failure: true
on_success: false
on_pull_requests: false
rooms:
secure: udLCoBl71xJBsW3P+YqZbA5xfaB8l4IIF6SKEXpjIUYNYyP6m77uoY9PZ/M/5EN1ojPXDxsZ6SiPEJifVpkX5Hqd0eu1MwWyRXvOwiDf/nkg2Y3mqwUQRb3LDYWZxPn+xp5mHePe3mvTICR1zH49yx7fdZs8Qvzhh3Lno/w/qZ4=
|
Use vendor phpunit version instead | language: php
sudo: true
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 5.3
env: SYMFONY_VERSION=2.7.*
- php: 5.3
env: SYMFONY_VERSION=2.8.*
- php: 5.4
env: SYMFONY_VERSION=2.7.*
- php: 5.5
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
- php: 7.0
env: SYMFONY_VERSION=2.8.*
- php: 7.0
env: SYMFONY_VERSION=3.0.*
fast_finish: true
before_script:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- composer install
script:
- mkdir -p Tests/coverage
- phpunit
after_script:
- php vendor/bin/coveralls -v
before_install:
- echo "memory_limit=2048M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
| language: php
sudo: true
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 5.3
env: SYMFONY_VERSION=2.7.*
- php: 5.3
env: SYMFONY_VERSION=2.8.*
- php: 5.4
env: SYMFONY_VERSION=2.7.*
- php: 5.5
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
- php: 7.0
env: SYMFONY_VERSION=2.8.*
- php: 7.0
env: SYMFONY_VERSION=3.0.*
fast_finish: true
before_script:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- composer install
script:
- mkdir -p Tests/coverage
- vendor/bin/phpunit
after_script:
- php vendor/bin/coveralls -v
before_install:
- echo "memory_limit=2048M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
Test Python 2.7 on Travis | # Config file for automatic testing at travis-ci.org
# This file will be regenerated if you run travis_pypi_setup.py
language: python
python: "3.6"
env:
- TOXENV=py36
- TOXENV=py27
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -U tox
# command to run tests, e.g. python setup.py test
script: tox -e ${TOXENV}
| # Config file for automatic testing at travis-ci.org
# This file will be regenerated if you run travis_pypi_setup.py
language: python
python:
- "2.7"
- "3.6"
env:
- TOXENV=py36
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -U tox
# command to run tests, e.g. python setup.py test
script: tox -e ${TOXENV}
|
Remove hardcoded iojs versions from Travis-CI build matrix | language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
- 'iojs'
- 'iojs-v1.4.3'
- 'iojs-v1.3.0'
- 'iojs-v1.2.0'
- 'iojs-v1.1.0'
- 'iojs-v1.0.4'
notifications:
slack:
secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdieaLiHulbvbp93A6rSWyLCyjt9RvFit7JxWdcyqyDDk=
| language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
- 'iojs'
notifications:
slack:
secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdieaLiHulbvbp93A6rSWyLCyjt9RvFit7JxWdcyqyDDk=
|
Set composer in Travis install instruction | env:
DOCKER_COMPOSE_VERSION: 1.11.0
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose pull
- docker-compose start
language: php
php:
- 7.1
- 7.0
before_script:
- composer selfupdate
- composer update
script:
- vendor/bin/atoum
- vendor/bin/behat
| env:
DOCKER_COMPOSE_VERSION: 1.11.0
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose pull
- docker-compose start
language: php
php:
- 7.1
- 7.0
install:
- composer selfupdate
- composer update
script:
- vendor/bin/atoum
- vendor/bin/behat
|
Make unittest a dev dependency | name: postgresql
version: 0.2.0
author: Greg Lowe <greg@vis.net.nz>
description: Postgresql database driver.
homepage: https://github.com/xxgreg/postgresql
dependencies:
unittest: any
dev_dependencies:
yaml: any | name: postgresql
version: 0.2.0
author: Greg Lowe <greg@vis.net.nz>
description: Postgresql database driver.
homepage: https://github.com/xxgreg/postgresql
dev_dependencies:
yaml: any
unittest: any |
Swap oracle jdk with openjdk, update jdk 9 to 10 | language: java
sudo: false
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/
after_success:
- bash <(curl -s https://codecov.io/bash) | language: java
sudo: false
jdk:
- openjdk8
- openjdk10
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/
after_success:
- bash <(curl -s https://codecov.io/bash) |
Update Kalibro Processor version to v1.1.7 | language: ruby
rvm:
- 2.2.3
addons:
postgresql: "9.3"
before_script:
- git clone https://github.com/mezuro/kalibro_install.git -b v4.0 kalibro_install
- pushd kalibro_install
# Remove bugged libzmq3 package, see https://github.com/travis-ci/travis-ci/issues/982 and https://github.com/travis-ci/travis-ci/issues/1715 for details
- sudo apt-get remove libzmq3
- export KALIBRO_PROCESSOR_VERSION=v1.1.7.rc1
- export KALIBRO_CONFIGURATIONS_VERSION=v2.0.0
- bash install.sh
- popd
- cp config/database.yml.sample config/database.yml
- bundle exec rake db:setup
- cp features/support/kalibro_cucumber_helpers.yml.sample features/support/kalibro_cucumber_helpers.yml
- export BUNDLE_GEMFILE=$PWD/Gemfile
- export CODECLIMATE_REPO_TOKEN=045c2433d496f108c0c6afa5516a72ddbfb1868fb34bf7a9bd095b7a0ea34a79
script:
- bundle exec rake spec
- bundle exec rake konacha:run
- bundle exec rake cucumber
notifications:
email:
recipients:
- mezuro-core@lists.ime.usp.br
on_success: change
on_failure: always
| language: ruby
rvm:
- 2.2.3
addons:
postgresql: "9.3"
before_script:
- git clone https://github.com/mezuro/kalibro_install.git -b v4.0 kalibro_install
- pushd kalibro_install
# Remove bugged libzmq3 package, see https://github.com/travis-ci/travis-ci/issues/982 and https://github.com/travis-ci/travis-ci/issues/1715 for details
- sudo apt-get remove libzmq3
- export KALIBRO_PROCESSOR_VERSION=v1.1.7
- export KALIBRO_CONFIGURATIONS_VERSION=v2.0.0
- bash install.sh
- popd
- cp config/database.yml.sample config/database.yml
- bundle exec rake db:setup
- cp features/support/kalibro_cucumber_helpers.yml.sample features/support/kalibro_cucumber_helpers.yml
- export BUNDLE_GEMFILE=$PWD/Gemfile
- export CODECLIMATE_REPO_TOKEN=045c2433d496f108c0c6afa5516a72ddbfb1868fb34bf7a9bd095b7a0ea34a79
script:
- bundle exec rake spec
- bundle exec rake konacha:run
- bundle exec rake cucumber
notifications:
email:
recipients:
- mezuro-core@lists.ime.usp.br
on_success: change
on_failure: always
|
Add Java 11 to Travis 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.
language: java
sudo: false
jdk:
- oraclejdk8
- openjdk8
after_success:
- mvn -V -B -e clean cobertura:cobertura coveralls:report
| # 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.
language: java
sudo: false
jdk:
- oraclejdk8
- openjdk8
- oraclejdk11
- openjdk11
after_success:
- mvn -V -B -e clean cobertura:cobertura coveralls:report
|
Use faster Travis test infra | language: go
go:
- 1.5
- tip
install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go test -v -covermode=count -coverprofile=coverage.out $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN | sudo: false
language: go
go:
- 1.5
- tip
install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go test -v ./xmpp -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN |
Make the build also compile docs to catch doc errors | language: erlang
script: "make test"
notifications:
irc: "irc.freenode.org#elixir-lang"
recipients:
- jose.valim@plataformatec.com.br
otp_release:
- R15B
| language: erlang
script: "make compile docs test"
notifications:
irc: "irc.freenode.org#elixir-lang"
recipients:
- jose.valim@plataformatec.com.br
otp_release:
- R15B
|
Stop Travis dependency cache from being invalidated unnecessarily | language: scala
scala:
- 2.11.4
jdk:
- openjdk7
sudo: false
cache:
directories:
- $HOME/.sbt
- $HOME/.ivy2
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && sbt stage
deployHeroku
env:
global:
secure: jEMZHOSfLoplIRsNV5b1G3a83I1lLaRxqrgxKExULAFFYglZRZjNV5EoJWllsaot/LyQZSWhJ42KiUVi8NVEn3pcBPB+Gq/QCjWvZRdJVloQUfiypCEqRRu1P45TkpqY7/Jz1q6xhLOC7G7+Lkf06t+gvTccNHh3l9xiJnxVV/k=
| language: scala
scala:
- 2.11.4
jdk:
- openjdk7
sudo: false
cache:
directories:
- $HOME/.sbt
- $HOME/.ivy2
script: sbt ++$TRAVIS_SCALA_VERSION test && find $HOME/.sbt -name "*.lock" -type f -delete && find $HOME/.ivy2/cache -name "*[\[\]\(\)]*.properties" -type f -delete
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && sbt stage
deployHeroku
env:
global:
secure: jEMZHOSfLoplIRsNV5b1G3a83I1lLaRxqrgxKExULAFFYglZRZjNV5EoJWllsaot/LyQZSWhJ42KiUVi8NVEn3pcBPB+Gq/QCjWvZRdJVloQUfiypCEqRRu1P45TkpqY7/Jz1q6xhLOC7G7+Lkf06t+gvTccNHh3l9xiJnxVV/k=
|
Use Couchbase 3.0.1 for testing | before_install:
# LibCouchbase
- sudo wget -O/etc/apt/sources.list.d/couchbase.list http://packages.couchbase.com/ubuntu/couchbase-ubuntu1204.list
- "sudo wget http://packages.couchbase.com/ubuntu/couchbase.key && sudo cat couchbase.key | sudo apt-key add -"
- sudo apt-get update
- sudo apt-get install libcouchbase2 libcouchbase-dev
# Couchbase Server
- sudo wget http://packages.couchbase.com/releases/2.0.0/couchbase-server-enterprise_x86_64_2.0.0.deb
- sudo dpkg -i couchbase-server-enterprise_x86_64_2.0.0.deb
- sudo service couchbase-server start
# Setup Bucket for test
- /opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1:8091 --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-ramsize=256
- /opt/couchbase/bin/couchbase-cli bucket-create -c 127.0.0.1:8091 --bucket=akka --bucket-password= --bucket-type=couchbase --bucket-port=11211 --bucket-ramsize=100 --bucket-replica=0 -u Administrator -p password
notifications:
email:
- andre@product-foundry.com
language: scala
scala:
- 2.11.7
jdk:
- oraclejdk8 | before_install:
# Couchbase Server
- sudo wget http://packages.couchbase.com/releases/3.0.1/couchbase-server-community_3.0.1-debian7_amd64.deb
- sudo dpkg -i couchbase-server-community_3.0.1-debian7_amd64.deb
- sudo service couchbase-server start
# Setup Bucket for test
- /opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1:8091 --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-ramsize=256
- /opt/couchbase/bin/couchbase-cli bucket-create -c 127.0.0.1:8091 --bucket=akka --bucket-password= --bucket-type=couchbase --bucket-port=11211 --bucket-ramsize=100 --bucket-replica=0 -u Administrator -p password
notifications:
email:
- andre@product-foundry.com
language: scala
scala:
- 2.11.7
jdk:
- oraclejdk8 |
Add go 1.15 to Travis CI | os:
- linux
- osx
- windows
sudo: false
language: go
go_import_path: m4o.io/pbf
env:
global:
- GO111MODULE=on
go:
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
before_install:
- >
if [ $TRAVIS_GO_VERSION =~ ^1\.13 -a "$TRAVIS_OS_NAME" = 'linux' ]; then
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint@v1.24.0
fi
- go install github.com/mattn/goveralls
script:
- >
if [ $TRAVIS_GO_VERSION =~ ^1\.13 -a "$TRAVIS_OS_NAME" = 'linux' ]; then
$GOPATH/bin/golangci-lint run || true; # https://github.com/golangci/golangci-lint/issues/824
$GOPATH/bin/golangci-lint run ;
fi
- $GOPATH/bin/goveralls -service=travis-ci -race -v
- PBF_PROTO_BUFFER_SIZE=33554432 PBF_NCPU=4 go test -bench=. -benchtime=10s
after_success:
- bash <(curl -s https://codecov.io/bash)
| os:
- linux
- osx
- windows
sudo: false
language: go
go_import_path: m4o.io/pbf
env:
global:
- GO111MODULE=on
go:
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- 1.15.x
before_install:
- >
if [ $TRAVIS_GO_VERSION =~ ^1\.13 -a "$TRAVIS_OS_NAME" = 'linux' ]; then
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint@v1.24.0
fi
- go install github.com/mattn/goveralls
script:
- >
if [ $TRAVIS_GO_VERSION =~ ^1\.13 -a "$TRAVIS_OS_NAME" = 'linux' ]; then
$GOPATH/bin/golangci-lint run || true; # https://github.com/golangci/golangci-lint/issues/824
$GOPATH/bin/golangci-lint run ;
fi
- $GOPATH/bin/goveralls -service=travis-ci -race -v
- PBF_PROTO_BUFFER_SIZE=33554432 PBF_NCPU=4 go test -bench=. -benchtime=10s
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Update Go versions on Travis CI | language: go
sudo: false
notifications:
email: false
before_install:
- wget -O glide.tar.gz https://github.com/Masterminds/glide/releases/download/0.10.2/glide-0.10.2-linux-amd64.tar.gz
- tar -zxvf glide.tar.gz
- mv ./linux-amd64/glide .
- rm -Rvf linux-amd64
- ./glide install
- rm glide
addons:
code_climate:
repo_token: 74d6c110184c7bcd503dbca04e46bcd84e2d1d55bf813f6e78a693765d0e956d
go:
- 1.3
- 1.4
- 1.5
- 1.6
env:
- GO15VENDOREXPERIMENT=1
script: go test -v --race -coverprofile=gimple.coverprofile
after_script:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < gimple.coverprofile
| language: go
sudo: false
notifications:
email: false
before_install:
- wget -O glide.tar.gz https://github.com/Masterminds/glide/releases/download/0.10.2/glide-0.10.2-linux-amd64.tar.gz
- tar -zxvf glide.tar.gz
- mv ./linux-amd64/glide .
- rm -Rvf linux-amd64
- ./glide install
- rm glide
addons:
code_climate:
repo_token: 74d6c110184c7bcd503dbca04e46bcd84e2d1d55bf813f6e78a693765d0e956d
go:
- 1.5
- 1.6
- 1.7
- 1.8
env:
- GO15VENDOREXPERIMENT=1
script: go test -v --race -coverprofile=gimple.coverprofile
after_script:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < gimple.coverprofile
|
Add Travis compiler settings for Node 4+ module building | sudo: false
language: node_js
node_js:
- 0.12
- 0.10
- 4.0
- 4.1
- 4.2
- 4.3
- 5.6
matrix:
allow_failures:
- node_js: 4.0
- node_js: 4.1
- node_js: 4.2
- node_js: 4.3
- node_js: 5.6
env:
- TEST_SUITE=units
- TEST_SUITE=functional
script: "npm run $TEST_SUITE"
| sudo: false
language: node_js
node_js:
- 0.12
- 0.10
- 4.0
- 4.1
- 4.2
- 4.3
- 5.6
matrix:
allow_failures:
- node_js: 4.0
- node_js: 4.1
- node_js: 4.2
- node_js: 4.3
- node_js: 5.6
env:
global:
- CXX=g++-4.8
matrix:
- TEST_SUITE=units
- TEST_SUITE=functional
script: "npm run $TEST_SUITE"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.