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... | 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... |
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:
... | 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/... |
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:
direct... | 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:
... |
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
- dock... | 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
- dock... |
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_k... | 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_c94ec13a7... |
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
sc... | 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
- expo... |
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
art... | 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
art... |
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:
- pa... | 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_... |
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 'maste... | ---
# 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 'maste... |
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:
nam... | 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:
ex... |
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 upda... | 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 upda... |
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
#... | 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
#... |
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 }... | 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 Ru... |
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_ser... | ---
# 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/g... |
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... | 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... |
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: fals... | 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: fals... |
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.... | 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-la... |
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-f... | 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: http... |
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 /hom... | 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 --setting... |
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.'
... |
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
n... | {% 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
n... |
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... | 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 -... |
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... | 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... |
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-re... | 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-re... |
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-covera... | 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 --forma... |
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 goog... | 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 --al... |
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... | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefd... |
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 ... | 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 ... |
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/N1ThWyWo5MDchM78winTUYFBUrvjd1XhBx5JBJCLyQowl... | 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/N1ThWyWo5MDchM78winTUYFBUrvjd1XhBx5JBJCLyQowl... |
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;... | 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... |
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 post... | 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_r... |
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-travi... | 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-travi... |
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:
... |
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-$... | 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... |
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/cover... | 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 bu... |
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/relea... | 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/relea... |
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... | # 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 C... |
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++" ]... | 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++" ]... |
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/... |
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.... | 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.... |
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 ... | 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-istan... |
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 "[... | # 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... |
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... | 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.... |
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`
- ... | 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
s... |
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
&& br... | 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
&& br... |
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 ap... | ---
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 ... |
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 DISPLA... | 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=... |
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-.*$/
nod... | 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... |
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.f... | 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:
... |
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"
- D... | 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="... |
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... | 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
- ... | 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
- ... |
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 Pan... | 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... |
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.... | 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.... |
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 ... | # 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 te... |
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+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdieaLiHulbvbp9... | 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
- docke... | 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
- docke... |
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.i... | 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/b... |
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/is... | 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/is... |
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 ... | # 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 ... |
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: jEMZHOSfLoplIRsNV5b1G3a83I1lLaRxqrgxKExULAFFYglZRZjNV5EoJWllsao... | 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... |
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 libcou... | 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 cl... |
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/c... | 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/gola... |
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_cl... | 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_cl... |
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_S... | 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_SUI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.