Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Revert "switch to docker-py as docker-compose no longer working" | ---
- name: CentOS
include: centos.yml
when: 'ansible_distribution == "CentOS"'
- name: Debian
include: debian.yml
when: 'ansible_distribution == "Debian"'
- name: create /etc/docker directory
file:
path: /etc/docker
state: directory
mode: 0644
- name: copy logging driver configuration
copy:... | ---
- name: CentOS
include: centos.yml
when: 'ansible_distribution == "CentOS"'
- name: Debian
include: debian.yml
when: 'ansible_distribution == "Debian"'
- name: create /etc/docker directory
file:
path: /etc/docker
state: directory
mode: 0644
- name: copy logging driver configuration
copy:... |
Update Travis config to latest. Update Travis config to use latest v4 and latest v6 . | sudo: false
language: node_js
node_js:
- "4.4"
- "6.3"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
after_success:
- cat .bob/coverage/buster-ista... | sudo: false
language: node_js
node_js:
- "4"
- "6"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
after_success:
- cat .bob/coverage/buster-istanbul... |
Add --stacktrace option to Travis CI run | ---
language: java
sudo: false
os:
- linux
branches:
only:
- master
notifications:
email: false
slack: line-armeria:vLZppggTRH02hwY2eOACIzCG
cache:
directories:
- $HOME/.gradle
- $HOME/.jdk
env:
global:
- JAVA_HOME=$HOME/.jdk/default
- PATH=$JAVA_HOME/bin:$PATH
- GRADLE_OPTS=-Xm... | ---
language: java
sudo: false
os:
- linux
branches:
only:
- master
notifications:
email: false
slack: line-armeria:vLZppggTRH02hwY2eOACIzCG
cache:
directories:
- $HOME/.gradle
- $HOME/.jdk
env:
global:
- JAVA_HOME=$HOME/.jdk/default
- PATH=$JAVA_HOME/bin:$PATH
- GRADLE_OPTS=-Xm... |
Rename Ubuntu Package for Pandas to python-pandas. | language: python
python: "2.7"
virtualenv:
system_site_packages: true
before_install:
- sudo add-apt-repository ppa:pythonxy/pythonxy-devel -y # For Pandas
- sudo add-apt-repository ppa:pylab/stable -y # For SciPY
- sudo apt-get update -qq
- sudo apt-get install -qq pandas
- sudo apt-get install -qq pytho... | language: python
python: "2.7"
virtualenv:
system_site_packages: true
before_install:
- sudo add-apt-repository ppa:pythonxy/pythonxy-devel -y # For Pandas
- sudo add-apt-repository ppa:pylab/stable -y # For SciPY
- sudo apt-get update -qq
- sudo apt-get install -qq python-pandas
- sudo apt-get install -q... |
Include PHP_CodeSniffer as part of the CI process | language: php
php:
- 5.6
- 7.0
- 7.1
env:
global:
- WP_VERSION=trunk
- WP_VERSION=4.7
before_script:
- composer install --prefer-source
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- if [ $CODECLIMATE_REPO_TOKEN ]; then ./vendor/... | sudo: false
language: php
notifications:
email: false
cache:
directories:
- $HOME/.composer/cache
- includes/lib/
- vendor/
matrix:
fast_finish: true
include:
- php: 7.2
env: WP_VERSION=latest
- php: 7.1
env: WP_VERSION=latest
- php: 7.0
env: WP_VERSION=latest
- ... |
Set language to nodejs explicitly | node_js:
- "0.12"
- "4"
- "5"
- "6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- build-essential
- g++-4.8
env:
- CXX=g++-4.8
before_install:
-... | language : node_js
node_js:
- "0.12"
- "4"
- "5"
- "6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- build-essential
- g++-4.8
env:
- CXX=g++-4.8
be... |
Remove Python 2.6 from CI build. | language: python
python:
- "2.6"
- "2.7"
install: "pip install -r requirements.txt --use-mirrors"
script: nosetests
notifications:
email:
- lars@yencken.org
| language: python
python:
- "2.7"
install: "pip install -r requirements.txt --use-mirrors"
script: nosetests
notifications:
email:
- lars@yencken.org
|
Remove parameters dist and sudo | dist: trusty
sudo: false
language: ruby
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- jruby-9.2
matrix:
allow_failures:
- rvm: jruby-9.2
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
addons:
code_climate:
repo_token:
secure: Y6i7YGM0oHdDYtKkABGWIxdQL943brOJaFcU2iWSp7oMczQ/Ss4udpm9o11O2zo4WqrHu6E3... | language: ruby
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- jruby-9.2
matrix:
allow_failures:
- rvm: jruby-9.2
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
addons:
code_climate:
repo_token:
secure: Y6i7YGM0oHdDYtKkABGWIxdQL943brOJaFcU2iWSp7oMczQ/Ss4udpm9o11O2zo4WqrHu6E3GrAT1us+FZLWB71hC6PeClluh... |
Expand tests to Python 3.6 and nightly (3.7-dev). | # Language setup
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
# Install pyinfra + test deps
install: 'pip install -e .[test]'
# Run the tests
script: nosetests
| # Language setup
language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
- 'nightly'
# Install pyinfra + test deps
install: 'pip install -e .[test]'
# Run the tests
script: nosetests
|
Use mysql 5.6 in build | sudo: required
group: dev
language: python
python:
- "2.7"
env:
- SQLALCHEMY_DATABASE_URI=mysql://travis:@127.0.0.1/mma_test
install:
- "pip install -r requirements.txt"
before_script:
- mysql -h 127.0.0.1 -uroot -e 'create database mma_test;'
- mysql -h 127.0.0.1 -uroot -e 'select @@version;'
script:
- no... | dist: trusty
sudo: required
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
group: dev
language: python
python:
- "2.7"
env:
- SQLALCHEMY_DATABASE_URI=mysql://root:@127.0.0.1/mma_test
install:
- "pip install -r requirements.txt"
before_script:
- mysql -h 1... |
Allow goveralls to handle test coverage | language: go
sudo: false
go:
- 1.7.x
- 1.8.x
before_install:
- go get github.com/mattn/goveralls
install:
- # Skip
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- go tool vet .
- go vet $(go list ./... | grep -v "vendor")
- go test -v -race $(go list ./... | grep -v "vendor")
-... | language: go
sudo: false
go:
- 1.7.x
- 1.8.x
before_install:
- go get github.com/mattn/goveralls
install:
- # Skip
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- go tool vet .
- go vet $(go list ./... | grep -v "vendor")
- go test -v -race $(go list ./... | grep -v "vendor")
-... |
Simplify Travis config and fix ChefDK 2.0 failures | # Use Travis's cointainer based infrastructure
sudo: false
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval ... | # Use Travis's cointainer based infrastructure
sudo: false
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval ... |
Update JRuby version in Travis CI config to latest for Travis CI | language: ruby
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- jruby-9.1.8.0
matrix:
allow_failures:
- rvm:
- ruby-head
- rbx-2
| language: ruby
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- jruby-9.1.9.0
matrix:
allow_failures:
- rvm:
- ruby-head
- rbx-2
|
Fix failrues caused by bundler | language: ruby
script: bundle exec rake
cache: bundler
sudo: false
before_install: gem install bundler
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.5
- 2.6.3
- ruby-head
- jruby-9.2.7.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-9.2.7.0
- rvm: jruby-head
fast_fi... | language: ruby
script: bundle exec rake
cache: bundler
sudo: false
before_install: gem install bundler -v 1.17.3
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.5
- 2.6.3
- ruby-head
- jruby-9.2.7.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-9.2.7.0
- rvm: jruby-head... |
Make sure Travis builds command | sudo: false
language: go
go:
- "1.10"
script:
- make test-unit
| sudo: false
language: go
go:
- "1.10"
script:
- make
- make test-unit
|
Switch to container-based Travis CI infrastructure | ---
language: bash
script:
- bin/fetch-configlet
- bin/configlet .
| ---
language: bash
script:
- bin/fetch-configlet
- bin/configlet .
sudo: false
|
Verify if gh is running after running tests on the Travis CI. | language: node_js
node_js:
- "0.12"
- iojs
before_install:
- sh ci.sh
script:
- npm run-script ci
after_success:
- sh ci-reports.sh
| language: node_js
node_js:
- "0.12"
- iojs
before_install:
- sh ci.sh
script:
- npm run-script ci
- gh
after_success:
- sh ci-reports.sh
|
Fix for coverage data collection | language: python
python:
- "2.7"
- "3.5"
- "3.6"
before_install:
- pip install pytest pytest-cov
- pip install coveralls
install:
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- python setup.py install
script:
- py.test --cov=bayesloop
after_success:
... | language: python
python:
- "2.7"
- "3.5"
- "3.6"
before_install:
- pip install pytest pytest-cov
- pip install coveralls
install:
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- python setup.py develop
script:
- py.test --cov=bayesloop
after_success:
... |
Move the open-ssl command back to before_install | sudo: false
language: node_js
node_js:
- "6.9.5"
before_install:
# Node project, so Ruby dependencies must be installed manually (see `govuk-lint`)
- bundle install
script:
- npm test
before_deploy:
# Encrypted SSH config used to `push.sh` to Github (See `.travis/README.md`)
- openssl aes-256-cbc -K $encryp... | sudo: false
language: node_js
node_js:
- "6.9.5"
before_install:
# Node project, so Ruby dependencies must be installed manually (see `govuk-lint`)
- bundle install
- git config --global user.name "Travis CI"
- git config --global user.email "travis@travis-ci.org"
- git remote add origin_ssh git@github.com:... |
Use PPA to get latest CMake. | ---
- include: ppa.yml tags=ppa,packages
- name: Update system package cache.
apt: >
update_cache=yes
cache_valid_time=14400
- name: Install base tooling and Git.
apt: >
state=present
name={{ item }}
with_items:
- libtool
- automake
- autoconf
- bison
- pkg-config
- git
... | ---
- include: ppa.yml tags=ppa,packages
- name: Update system package cache.
apt: >
update_cache=yes
cache_valid_time=14400
- name: Install base tooling and Git.
apt: >
state=present
name={{ item }}
with_items:
- libtool
- automake
- autoconf
- bison
- pkg-config
- git
... |
Use $GH_TOKEN to fix authentication errors | language: php
dist: trusty
jobs:
include:
- php: 5.4
env:
- LEGACY=true
- COMPOSER_FLAGS="--prefer-lowest"
- php: 5.5
env: LEGACY=true
- php: 5.6
env: LEGACY=true
- php: 7.0
env: LEGACY=true
- php: 7.1
env: LEGACY=true
- php: 7.2
env: LEGACY... | language: php
dist: trusty
jobs:
include:
- php: 5.4
env:
- LEGACY=true
- COMPOSER_FLAGS="--prefer-lowest"
- php: 5.5
env: LEGACY=true
- php: 5.6
env: LEGACY=true
- php: 7.0
env: LEGACY=true
- php: 7.1
env: LEGACY=true
- php: 7.2
env: LEGACY... |
Add Slack notifications to Travis |
# Language/versions
language: node_js
node_js:
- "0.12"
- "0.10"
# Build script
script: make ci
# Notifications
notifications:
email:
- j.robinson@nature.com
- rowan.manning@nature.com
|
# Language/versions
language: node_js
node_js:
- "0.12"
- "0.10"
# Build script
script: make ci
# Notifications
notifications:
email:
- j.robinson@nature.com
- rowan.manning@nature.com
slack: thefeds:vG3hLYB07EwTYpQFp3TNUx82
|
Remove the "try" npm script | language: node_js
sudo: required
dist: trusty
node_js: stable
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- xvfb
cache:
directories:
- node_modules
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb ... | language: node_js
sudo: required
dist: trusty
node_js: stable
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- xvfb
cache:
directories:
- node_modules
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# - sleep 3 # give xvfb... |
Add node 8 test environment | language: node_js
node_js:
- "4"
- "6"
- "7"
notifications:
email: false
after_success:
- npm run coveralls
| language: node_js
node_js:
- "4"
- "6"
- "7"
- "8"
notifications:
email: false
after_success:
- npm run coveralls
|
Add redis to required services for Travis. | language: ruby
rvm:
- 1.9.3
before_install:
- gem update --system
- gem install bundler --no-ri --no-rdoc
- bundle install
before_script:
- "mysql -e 'create database thinking_sphinx;' > /dev/null"
- "psql -c 'create database thinking_sphinx;' -U postgres > /dev/null"
env:
- SPHINX_BIN=/usr/local/sphinx-2... | language: ruby
rvm:
- 1.9.3
before_install:
- gem update --system
- gem install bundler --no-ri --no-rdoc
- bundle install
before_script:
- "mysql -e 'create database thinking_sphinx;' > /dev/null"
- "psql -c 'create database thinking_sphinx;' -U postgres > /dev/null"
services:
- redis-server
env:
- SPH... |
Test if we can call visual studio compiler from bash... | image: Windows Server 2012 R2
#install:
# - mingw-get install gcc
build_script:
- bash -c "uname -a"
- bash -c "cygcheck -s -v"
- bash -c "mingw-get install gcc"
- bash -c "gcc -version"
- mvn clean install --batch-mode
| image: Windows Server 2012 R2
#install:
# - mingw-get install gcc
build_script:
- bash -c "cl"
- mvn clean install --batch-mode
|
Update from Hackage at 2016-06-18T03:42:59+0000 | homepage: http://code.mathr.co.uk/gearbox
changelog-type: ''
hash: fba3908fc58fb78549a5654f0204836714aaa2832a93e1737aa51ba49a9f61aa
test-bench-deps: {}
maintainer: claude@mathr.co.uk
synopsis: zooming rotating fractal gears graphics demo
changelog: ''
basic-deps:
GLUT: ==2.7.*
base: <5
Vec: ==1.0.*
OpenGLRaw: =... | homepage: https://code.mathr.co.uk/gearbox
changelog-type: ''
hash: 4f801cf674af44ea03d15748ef1110afb837e401019ecf208b37cf1490dee8cf
test-bench-deps: {}
maintainer: claude@mathr.co.uk
synopsis: zooming rotating fractal gears graphics demo
changelog: ''
basic-deps:
GLUT: ==2.7.*
base: <5
Vec: ==1.0.*
OpenGLRaw: ... |
Add upload directory to RNA-seq configuration file. | # Template for human RNA-seq using Illumina prepared samples
---
details:
- analysis: RNA-seq
genome_build: GRCh37
algorithm:
aligner: star
quality_format: Standard
trim_reads: read_through
adapters: [truseq, polya]
strandedness: unstranded
| # Template for human RNA-seq using Illumina prepared samples
---
details:
- analysis: RNA-seq
genome_build: GRCh37
algorithm:
aligner: star
quality_format: Standard
trim_reads: read_through
adapters: [truseq, polya]
strandedness: unstranded
upload:
dir: ../final |
Switch back the docs version | name: rubocop
title: RuboCop
# We always provide version without patch here (e.g. 1.1),
# as patch versions should not appear in the docs.
version: '1.28'
nav:
- modules/ROOT/nav.adoc
| name: rubocop
title: RuboCop
# We always provide version without patch here (e.g. 1.1),
# as patch versions should not appear in the docs.
version: ~
nav:
- modules/ROOT/nav.adoc
|
Set baseurl to fix redirect bug | # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the se... | # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the se... |
Disable status setting for Codecov | coverage:
# Remember to change values in build.gradle.kts too
ignore:
- **/*Event.kt
- **/*State.kt
- **/*Configuration.kt
- **/*Runner.kt | coverage:
# Remember to change values in build.gradle.kts too
ignore:
- **/*Event.kt
- **/*State.kt
- **/*Configuration.kt
- **/*Runner.kt
status:
project: off
patch: off |
Remove build and binaryTarball since they're included in installerScript | name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-18.04, macos]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v8
- run: nix-build release.nix --arg nix '{ outPath = ./.; revCount = 123; shortRev = ... | name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-18.04, macos]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v8
- run: nix-build release.nix --arg nix '{ outPath = ./.; revCount = 123; shortRev = ... |
Fix Ruby version for macOS tests | language: python
sudo: false
git:
submodules: false
matrix:
include:
- os: linux
python: 2.7
- os: linux
python: 3.5
- os: linux
python: 3.6
- dist: xenial
python: 3.7
- os: osx
language: generic
env:
- PYTHON_VERSION=3
- HOMEBREW_NO_AUTO_UPD... | language: python
sudo: false
git:
submodules: false
matrix:
include:
- os: linux
python: 2.7
- os: linux
python: 3.5
- os: linux
python: 3.6
- dist: xenial
python: 3.7
- os: osx
language: generic
rvm: 2.4.3
env: PYTHON_VERSION=3
before_install:
- if... |
Remove node 0.4 from Travis CI. | language: "node_js"
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
- "3" # io.js
- "2" # io.js
- "1" # io.js
- "0.12"
- "0.10"
- "0.8"
- "0.4"
before_install:
- "npm install make-node@0.3.x -g"
- "preinstall-compat"
script:
- "make test-cov"
after_success:
- "make report-cov"
sudo: false
| language: "node_js"
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
- "3" # io.js
- "2" # io.js
- "1" # io.js
- "0.12"
- "0.10"
- "0.8"
before_install:
- "npm install make-node@0.3.x -g"
- "preinstall-compat"
script:
- "make test-cov"
after_success:
- "make report-cov"
sudo: false
|
Update Travis config to latest. Upgrade gcc to 4.8, stop force upgrade to latest npm, debug canihaz installation. | sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.12"
- "4.0"
- "4.1"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: false
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4.0"
- "4.1"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
- cat .bob/co... |
Change from example to python for gdb | language: python
dist: xenial
sudo: true
matrix:
include:
- python: 2.7
- python: 3.5
env: PYTHONFAULTHANDLER=1
- python: 3.6
env: PYTHONFAULTHANDLER=1
- python: 3.7
env: PYTHONFAULTHANDLER=1
before_install:
- sudo apt-get update
- sudo apt-get install -y python3-dev python3-gi p... | language: python
dist: xenial
sudo: true
matrix:
include:
- python: 2.7
- python: 3.5
env: PYTHONFAULTHANDLER=1
- python: 3.6
env: PYTHONFAULTHANDLER=1
- python: 3.7
env: PYTHONFAULTHANDLER=1
before_install:
- sudo apt-get update
- sudo apt-get install -y python3-dev python3-gi p... |
Use Ruby 2.4.1 for Travis CI | language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
- ruby-head
- jruby-9.1.6.0
- jruby-head
before_install:
- gem install bundler --no-document -v '~> 1.13.3'
before_script:
- unset JRUBY_OPTS
script: ruby -Ilib exe/rake
notifications:
email:
- hsbt@ruby-lang.org
- drbrai... | language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.1
- ruby-head
- jruby-9.1.6.0
- jruby-head
before_install:
- gem install bundler --no-document -v '~> 1.13.3'
before_script:
- unset JRUBY_OPTS
script: ruby -Ilib exe/rake
notifications:
email:
- hsbt@ruby-lang.org
- drbrai... |
Remove Travis fix. It should be fixed already. | language: scala
scala:
- 2.11.6
jdk:
- oraclejdk8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/07b062b5d97c72b6b383
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never ... | language: scala
scala:
- 2.11.6
jdk:
- oraclejdk8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/07b062b5d97c72b6b383
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never ... |
Update Rakudo versions to test against | language: perl6
os:
- linux
- osx
perl6:
- '2017.09'
- '2017.10'
- latest
install:
- rakudobrew build-zef
# Explicitly install HEAD of Cro::Core, Cro::TLS, Cro::HTTP, and Cro::WebSocket
- zef install https://github.com/croservices/cro-core/archive/master.zip
- zef install https:... | language: perl6
os:
- linux
- osx
perl6:
- '2017.10'
- '2018.01'
- latest
install:
- rakudobrew build-zef
# Explicitly install HEAD of Cro::Core, Cro::TLS, Cro::HTTP, and Cro::WebSocket
- zef install https://github.com/croservices/cro-core/archive/master.zip
- zef install https:... |
Fix it so elasticsearch will be started. | language: ruby
rvm:
- 2.1
branches:
except:
- ontohub.org
- staging.ontohub.org
- develop.ontohub.org
services:
- redis-server
notifications:
email: false
before_install:
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
- 'gem install bundler'
script:
- bundle exec rake
befor... | language: ruby
rvm:
- 2.1
branches:
except:
- ontohub.org
- staging.ontohub.org
- develop.ontohub.org
services:
- redis-server
notifications:
email: false
before_install:
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
- 'gem install bundler'
script:
- bundle exec rake
befor... |
Stop using tip on Travis CI to avoid an error | language: go
sudo: false
go:
- 1.5
- 1.6
- 1.7
- tip
env:
global:
- GO15VENDOREXPERIMENT=1
- TEST_TIMEOUT_SCALE=10
cache:
directories:
- vendor
install:
- make dependencies
script:
- make lint
- make test
after_success:
- make coveralls
| language: go
sudo: false
go:
- 1.5
- 1.6
- 1.7
# NOTE: Stop using tip to avoid the following error on Travis CI:
# I don't have any idea what to do with 'tip'.
# - tip
env:
global:
- GO15VENDOREXPERIMENT=1
- TEST_TIMEOUT_SCALE=10
cache:
directories:
- vendor
install:
- make dependencies
sc... |
Downgrade node version to 9 | language: node_js
node_js:
- "stable"
after_success: 'npm run coveralls'
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
tags: true | language: node_js
node_js:
- "stable"
- "9"
after_success: 'npm run coveralls'
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
tags: true |
Test recent Node releases as well | language: node_js
node_js:
- "6"
- "6.0"
before_script:
- npm install -g gulp
script:
- gulp xpi crx
| language: node_js
node_js:
- "6"
- "6.0"
- "6.1"
- "6.2"
before_script:
- npm install -g gulp
script:
- gulp xpi crx
|
Add docs check to Travis | language: c
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y python-sphinx
script:
- autoreconf -fi
- ./configure
- make distcheck
| language: c
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y python-sphinx
script:
- autoreconf -fi
- ./configure
- make distcheck
- make html
|
Test build with legacy MPICH1 | # http://travis-ci.org/mpi4py/mpi4py
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
# - pypy
env:
- MPI=mpich2
- MPI=openmpi
branches:
only:
- master
before_install:
- test $MPI == mpich2 && PACKAGES='mpich2 libmpich2-3 libmpich2-dev' || true
- test $MPI == openmpi && PACK... | # http://travis-ci.org/mpi4py/mpi4py
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
# - pypy
env:
- MPI=mpich1
- MPI=mpich2
- MPI=openmpi
matrix:
allow_failures:
- env: MPI=mpich1
branches:
only:
- master
before_install:
- test $MPI == mpich1 && PACKAGES='mpich-shme... |
Remove explicit TERM=dumb for Travis | sudo: false
dist: trusty
language: java
jdk: openjdk8
env:
global:
- TERM=dumb
install: true
script: ./gradlew build
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/{file-changes,fileHashes,plugin-resolution,scripts,scripts-remapped,gradle-script-kotlin}... | sudo: false
dist: trusty
language: java
jdk: openjdk8
install: true
script: ./gradlew build
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/{file-changes,fileHashes,plugin-resolution,scripts,scripts-remapped,gradle-script-kotlin}/
cache:
directories:
- $H... |
Use latest Docker and login the Docker Hub in Travis build. | # Travis build ...
sudo: required
services:
- docker
script:
- ./build.sh
| env:
global:
- DOCKER_VERSION=1.10.1-0~trusty
sudo: required
services:
- docker
before_install:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
script:
- ./build.sh
|
Add Ruby 2.4 to builds and upgrade from 2.3.0 to 2.3.3 | language: ruby
script: bundle exec rspec
rvm:
- 2.0.0
- 2.1.8
- 2.2.0
- 2.3.0
branches:
only:
- master
| language: ruby
script: bundle exec rspec
rvm:
- 2.0.0
- 2.1.8
- 2.2.0
- 2.3.3
- 2.4.0
branches:
only:
- master
|
Drop support for Python 2.5 because of simplejson dependency. | language: python
python:
- "2.5"
- "2.6"
- "2.7"
install:
- pip install -r requirements.txt --use-mirrors
script: nosetests
| language: python
python:
- "2.6"
- "2.7"
install:
- pip install -r requirements.txt --use-mirrors
script: nosetests
|
Remove lib folder from perl tests | language: perl
perl:
- "5.10"
- "5.20"
sudo: require
env:
- PERL5LIB=/usr/share/perl5/ PATH=$PATH:$PWD/Gblocks_0.91b:$PWD/standard-RAxML
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libbio-perl-perl
- sudo apt-get install -y hmmer
- sudo apt-get install -y muscle
- curl ... | language: perl
perl:
- "5.10"
- "5.20"
sudo: require
env:
- PERL5LIB=/usr/share/perl5/ PATH=$PATH:$PWD/Gblocks_0.91b:$PWD/standard-RAxML
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libbio-perl-perl
- sudo apt-get install -y hmmer
- sudo apt-get install -y muscle
- curl ... |
Upgrade Travis CI docker-engine so that newer version of docker client in docker-compose container are compatible | language: java
jdk:
- oraclejdk8
sudo: required
services:
- docker
before_install:
- env
# Pre-fetch docker images - seems to need to be done before docker env vars are set
- docker pull redis:3.0.2
- docker pull rabbitmq:3.5.3
- docker pull mongo:3.1.5
- docker pull alpine:3.2
- docker pull mysql:late... | language: java
jdk:
- oraclejdk8
sudo: required
services:
- docker
before_install:
- sudo apt-get update -qq
- sudo apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install docker-engine
- env
# Pre-fetch docker images - seems to need to be done before docker env vars are set
... |
Address FCREPO-1659 -- Migration to TravisCI container-based infrastructure. | language: java
jdk:
- oraclejdk8
before_install:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx512m"
script:
- mvn install -B -V
- mvn javadoc:jar
- mvn javadoc:test-aggregate
notifications:
irc: "irc.freenode.org#fcrepo"
email:
- fedora-tech@googlegroups.com
| language: java
sudo: false
jdk:
- oraclejdk8
before_install:
- "echo $JAVA_OPTS"
- "export JAVA_OPTS=-Xmx512m"
script:
- mvn install -B -V
- mvn javadoc:jar
- mvn javadoc:test-aggregate
notifications:
irc: "irc.freenode.org#fcrepo"
email:
- fedora-tech@googlegroups.com
|
Add python 3.6 to tests | language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
script: make test
install:
- pip install .
- pip install -r requirements.txt
| language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
script: make test
install:
- pip install .
- pip install -r requirements.txt
|
Test against modern ruby 2.x | language: ruby
sudo: false
before_install:
- npm install jasmine-node
rvm:
- 1.9.3
- 2.0.0
- 2.2.0
script: 'bundle exec rake spec:js:full'
| language: ruby
sudo: false
before_install:
- npm install jasmine-node
rvm:
- 2.5
- 2.6
- 2.7
script: 'bundle exec rake spec:js:full'
|
Remove deprecated explicit pip download cache | language: python
python:
- "2.7"
env:
global:
- PIP_DOWNLOAD_CACHE=$HOME/.pip_cache
matrix:
- TOX_ENV=py34-django17
- TOX_ENV=py33-django17
- TOX_ENV=py27-django17
- TOX_ENV=py33-django16
- TOX_ENV=py27-django16
- TOX_ENV=py26-django16
- TOX_ENV=py27-django14
- TOX_ENV=py26-dja... | language: python
python:
- "2.7"
env:
matrix:
- TOX_ENV=py34-django17
- TOX_ENV=py33-django17
- TOX_ENV=py27-django17
- TOX_ENV=py33-django16
- TOX_ENV=py27-django16
- TOX_ENV=py26-django16
- TOX_ENV=py27-django14
- TOX_ENV=py26-django14
- TOX_ENV=flake8
- TOX_ENV=docs
instal... |
Make sure Slather is installed on Travis before posting to Coverall | # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode7.2
xcode_scheme: RouterKit
before_install: true
script:
- set -o pipefail
- xctool -scheme 'RouterKit' -sdk iphonesimulator CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ... | # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode7.2
xcode_scheme: RouterKit
before_install: true
install:
- bundle exec gem install slather
script:
- set -o pipefail
- xctool -scheme 'RouterKit' -sdk iphonesimulator CODE... |
Add and update Rubies as necessary. | language: ruby
before_install: gem install bundler
rvm:
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-1.7.3
| language: ruby
before_install: gem install bundler
rvm:
- 2.2.0
- 2.1.5
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-1.7.19
|
Update dart:collection to version 1.0.0 | name: yaml
version: 2.0.2-dev
author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: A parser for YAML.
dependencies:
collection: ">=0.9.2 <0.10.0"
path: ">=1.2.0 <2.0.0"
string_scanner: ">=0.1.0 <0.2.0"
source_span: ">=1.0.0 <2.0.0"
dev_dependencies:
unittest: ">=0.9.0 <0.12.0... | name: yaml
version: 2.0.2-dev
author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: A parser for YAML.
dependencies:
collection: ">=0.9.2 <2.0.0"
path: ">=1.2.0 <2.0.0"
string_scanner: ">=0.1.0 <0.2.0"
source_span: ">=1.0.0 <2.0.0"
dev_dependencies:
unittest: ">=0.9.0 <0.12.0"... |
Correct final build step command | version: 0.2
phases:
install:
commands:
- echo Nothing to do in the install phase...
- SRC_HOME=$PWD
pre_build:
commands:
- cd $SRC_HOME
- cd functions
- lein test
build:
commands:
- cd $SRC_HOME
- echo Build started on `date`
- cd functions
- lei... | version: 0.2
phases:
install:
commands:
- echo Nothing to do in the install phase...
- SRC_HOME=$PWD
pre_build:
commands:
- cd $SRC_HOME
- cd functions
- lein test
build:
commands:
- cd $SRC_HOME
- echo Build started on `date`
- cd functions
- lei... |
Use any 8.6 version of GHC | name: Deploy to GitHub Pages
on:
push:
branches:
- dev
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: haskell/actions/setup@v1
with:
ghc-version: '8.6.5'
cabal-version: '3.0'
- name: Install depen... | name: Deploy to GitHub Pages
on:
push:
branches:
- dev
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: haskell/actions/setup@v1
with:
ghc-version: '8.6'
cabal-version: '3.0'
- name: Install depende... |
Update from Hackage at 2020-12-07T08:57:35Z | homepage: ''
changelog-type: ''
hash: 6f52cf1a19ed300d4150693397e2d82d3c12e514901aff98e6064ae05d148511
test-bench-deps: {}
maintainer: nvd1234@gmail.com
synopsis: Groups
changelog: ''
basic-deps:
base: '>=4.6 && <5'
all-versions:
- '0.1'
- 0.1.0.1
- 0.2.0.0
- 0.2.0.1
- 0.3.0.0
- 0.4.0.0
- 0.4.1.0
- '0.5'
- 0.5.1
auth... | homepage: ''
changelog-type: ''
hash: c7bcad157b4e3699e3c181d14f8cc6d1737b4f313f5e310f40c21290951b9a3d
test-bench-deps: {}
maintainer: nvd1234@gmail.com
synopsis: Groups
changelog: ''
basic-deps:
base: '>=4.6 && <5'
all-versions:
- '0.1'
- 0.1.0.1
- 0.2.0.0
- 0.2.0.1
- 0.3.0.0
- 0.4.0.0
- 0.4.1.0
- '0.5'
- 0.5.1
- 0.... |
Add new line at end of file | semi: false
singleQuote: true
bracketSpacing: false
trailingComma: "none"
arrowParens: "avoid" | semi: false
singleQuote: true
bracketSpacing: false
trailingComma: "none"
arrowParens: "avoid"
|
Exclude vendor files from check | filter:
excluded_paths:
- '3rdparty/*'
imports:
- javascript
- php
checks:
php:
code_rating: true
duplication: true
| filter:
excluded_paths:
- '3rdparty/*'
- 'js/vendor/*'
imports:
- javascript
- php
checks:
php:
code_rating: true
duplication: true
|
Switch from markru to kramdown | safe: false
auto: false
server: false
server_port: 4000
source: .
destination: ./_site
plugins: ./_plugins
future: true
lsi: false
pygments: false
markdown: maruku
permalink: none
maruku:
use_tex: false
use_divs: false
png_engine: blahtex
png_dir: imag... | safe: false
auto: false
server: false
server_port: 4000
source: .
destination: ./_site
plugins: ./_plugins
future: true
lsi: false
pygments: false
markdown: kramdown
permalink: none
rdiscount:
extensions: []
kramdown:
auto_ids: true,
footnote_nr: 1
entity_out... |
Add Support For Google Adsense Page-level ads | # Header
menu:
## If your site is put in a subdirectory, set Home as '/child/'
Home: /
Archives: archives
social:
email:
twitter:
weibo:
github:
googleplus:
rss: /atom.xml
# Content
fancybox: true # set to true if you want to use it
duoshuo: #duoshuo_shortname
disqus: #disqus _shortname
| # Header
menu:
## If your site is put in a subdirectory, set Home as '/child/'
Home: /
Archives: archives
social:
email:
twitter:
weibo:
github:
googleplus:
rss: /atom.xml
# Content
fancybox: true # set to true if you want to use it
duoshuo: #duoshuo_shortname
disqus: #disqus _shortname
google_anal... |
Exclude yarn.lock from the jekyll build | # Site settings
title: thirty-four
email: blog@posnick.org
description: "thirty-four is crafted with love in Brooklyn, by Jeff Posnick."
baseurl: ""
url: "https://jeffy.info"
github:
username: jeffposnick
twitter:
username: jeffposnick
logo: /assets/images/34.png
# Build settings
markdown: kramdown
kramdown:
au... | # Site settings
title: thirty-four
email: blog@posnick.org
description: "thirty-four is crafted with love in Brooklyn, by Jeff Posnick."
baseurl: ""
url: "https://jeffy.info"
github:
username: jeffposnick
twitter:
username: jeffposnick
logo: /assets/images/34.png
# Build settings
markdown: kramdown
kramdown:
au... |
Remove hardcoded username and password for dev and test Most default environments authenticate postgres as the operating system user so don't require username and password being set | default: &default
adapter: postgresql
encoding: unicode
pool: 5
development:
<<: *default
host: localhost
database: energy_sparks_development
username: postgres
password: pgdev
test: &test
<<: *default
host: localhost
database: energy_sparks_test
username: postgres
password: pgdev
staging:
... | default: &default
adapter: postgresql
encoding: unicode
pool: 5
development:
<<: *default
host: localhost
database: energy_sparks_development
test: &test
<<: *default
host: localhost
database: energy_sparks_test
staging:
<<: *default
database: <%= ENV['STAGING_DB_NAME'] %>
host: <%= ENV['STAG... |
Test with jax <= 0.3.14 for network compatibility | name: Tests
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.8', '3.10']
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Setup ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
id:... | name: Tests
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.8', '3.10']
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Setup ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
id:... |
Remove free strategy as some tasks were not being run | - hosts:
- ansible-test
- localhost
- travis-ci
remote_user: ansible
become: true
become_user: root
become_method: sudo
strategy: free
gather_facts: true
roles:
- core_pkg
- core_pip
- cron
- docker
- dotfiles
- entropy
- firewall
- gitsemver
- gpg
- mo... | - hosts:
- ansible-test
- localhost
- travis-ci
remote_user: ansible
become: true
become_user: root
become_method: sudo
gather_facts: true
roles:
- core_pkg
- core_pip
- cron
- docker
- dotfiles
- entropy
- firewall
- gitsemver
- gpg
- mounts
- ntp
... |
Use Chromium instead of Chrome in attempt to troubleshoot startup | version: 0.1
phases:
install:
commands:
- wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
- "echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' >> \
/etc/apt/sources.list.d/google.list"
- apt-get update
- apt-get install -y ... | version: 0.1
phases:
install:
commands:
- apt-get update
- apt-get install -y --no-install-recommends chromium-browser xvfb
- npm install
pre_build:
commands:
- npm run headless test:once e2e lint
build:
commands:
- npm run build:prod
post_build:
commands:
- a... |
Add augeas_core back as a fixture | fixtures:
symlinks:
zfs: "#{source_dir}"
forge_modules:
stdlib:
repo: "puppetlabs/stdlib"
ref: "4.13.0"
apt:
repo: "puppetlabs/apt"
ref: "2.2.0"
kmod:
repo: "camptocamp/kmod"
ref: "2.0.0"
yumrepo_core:
repo: "puppetlabs/yumrepo_core"
ref: "1.0.2"
... | fixtures:
symlinks:
zfs: "#{source_dir}"
forge_modules:
stdlib:
repo: "puppetlabs/stdlib"
ref: "4.13.0"
apt:
repo: "puppetlabs/apt"
ref: "2.2.0"
kmod:
repo: "camptocamp/kmod"
ref: "2.0.0"
augeas_core:
repo: "puppetlabs/augeas_core"
ref: "1.0.1"
... |
Remove yet another broken link in Docs | navigation:
- text: Install
dropdown:
- text: Platforms
url: /platforms.html
- divider
- text: Install Cucumber-JVM
url: /install-cucumber-jvm.html
- text: Install Cucumber-Ruby
url: /install-cucumber-ruby.html
- text: Install Cucumber-Rails
url: /install-cucumber-rails.html
- text: Instal... | navigation:
- text: Install
dropdown:
- text: Platforms
url: /platforms.html
- divider
- text: Install Cucumber-JVM
url: /install-cucumber-jvm.html
- text: Install Cucumber-Ruby
url: /install-cucumber-ruby.html
- text: Install Cucumber-Rails
url: /install-cucumber-rails.html
- text: Instal... |
Use `wp core download` in Travis tests too. | language: php
php:
- 5.3
- 5.4
env:
- WP_VERSION=latest
- WP_VERSION=3.4.2
matrix:
exclude:
- php: 5.4
env: WP_VERSION=3.4.2
before_script:
# install dependencies
- composer install --dev --no-interaction --prefer-source
# set up WP install
- WP_CORE_DIR=/tmp/wp-cli-test-... | language: php
php:
- 5.3
- 5.4
env:
- WP_VERSION=latest
- WP_VERSION=3.4.2
matrix:
exclude:
- php: 5.4
env: WP_VERSION=3.4.2
before_script:
# install dependencies
- composer install --dev --no-interaction --prefer-source
# set up WP install
- bin/wp core download --versio... |
Drop support for node 0.12 | language: node_js
node_js:
- "stable"
- "4"
- "0.12"
jobs:
include:
# With Node.js 5, we need a version of npm higher than the default from NVM
# Otherwise we hit https://github.com/npm/cli/issues/681
- name: "Node.js 5"
node_js: "5"
before_install:
- npm i -g npm@4.6.1
... | language: node_js
node_js:
- "stable"
- "4"
jobs:
include:
# With Node.js 5, we need a version of npm higher than the default from NVM
# Otherwise we hit https://github.com/npm/cli/issues/681
- name: "Node.js 5"
node_js: "5"
before_install:
- npm i -g npm@4.6.1
- name: "Ch... |
Make Travis CI report its build status to Slack | sudo: required
services:
- docker
notifications:
email: false
before_install:
- docker pull dalg24/dtk-stack
- docker run
--detach --tty
--name=test-machine
--volume ${TRAVIS_BUILD_DIR}:/scratch/source/dtk
--env TRAVIS_PULL_REQUEST=${TRAVIS_PULL_REQUEST}
--env CTEST_BU... | sudo: required
services:
- docker
notifications:
email: false
slack: ornl-cees:0uSbIVFX7WZKEF1OYb0ULMXa
before_install:
- docker pull dalg24/dtk-stack
- docker run
--detach --tty
--name=test-machine
--volume ${TRAVIS_BUILD_DIR}:/scratch/source/dtk
--env TRAVIS_PULL_REQUEST=$... |
Install gcc 4.8 on Travis CI | language: haskell
install:
# - cabal install hsc2hs cabal-dev
# - cd engine && cabal install --only-dependencies --enable-tests
- cabal install split
script:
# - cabal configure && cabal build && ./dist/build/shakefile/shakefile test
- cd engine && ./stir update --force-reinstalls && ./stir test
env: CC=clang... | language: haskell
before_install:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update -qq
sudo apt-get install -qq g++-4.8
install:
# - cabal install hsc2hs cabal-dev
# - cd engine && cabal install --only-dependencies --enable-tests
- cabal install split
script:
# - cabal conf... |
Build with Node.js 14 at Travis CI. | sudo: false
language: node_js
node_js:
- '12'
branches:
only:
- master
- travis-ci
install:
- npm install -g npm
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls
| sudo: false
language: node_js
node_js:
- '12'
- '14'
branches:
only:
- master
- travis-ci
install:
- npm install -g npm
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls
|
Test on python 3 and allow that to fail | language: python
python:
- "2.6"
- "2.7"
install: >
if test -e requirements-dev-$TRAVIS_PYTHON_VERSION.txt; then
pip install -r requirements-dev-$TRAVIS_PYTHON_VERSION.txt --use-mirrors
else
pip install -r requirements-dev.txt --use-mirrors
fi &&
sudo apt-get install vsftpd
script: >
export PYCURL... | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
matrix:
allow_failures:
- python:
- "3.2"
- "3.3"
install: >
if test -e requirements-dev-$TRAVIS_PYTHON_VERSION.txt; then
pip install -r requirements-dev-$TRAVIS_PYTHON_VERSION.txt --use-mirrors
else
pip install -r requiremen... |
Enable containerized builds on Travis CI | # Validate this file using http://lint.travis-ci.org/
language: python
python:
- "2.7"
install:
- pip install -r tests/requirements.txt
- pip install -r $VIRTUAL_ENV/src/varda/requirements.txt
- python setup.py install
script: py.test
| # Validate this file using http://lint.travis-ci.org/
language: python
sudo: false
python:
- "2.7"
install:
- pip install -r tests/requirements.txt
- pip install -r $VIRTUAL_ENV/src/varda/requirements.txt
- python setup.py install
script: py.test
|
Update for Chef 15 license agreement and Chef Workstation | sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-... | addons:
apt:
sources:
- chef-current-xenial
packages:
- chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
env:
- CHEF_LICENSE=accept
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-centos-6
- INSTAN... |
Use JDK 8 to recognize javadoc lint parameter | language: java
notifications:
email: false
hipchat:
rooms:
secure: CO1rkQMD/T5fpAozqneRg6SqVIMrgi659A5hGUA9pdwFXDv9y4MZTjTE9cws30po1v74k9EtrNSGwAMnZoKao6lorQBL2d1S+HQKkFQIrwNJ1wLrgFz8KBDziv35Bt3+8yYHxPGtu0iLgK+xHvSx2WWs+MtoH9Xdj37QfJi56+o=
branches:
except:
- gh-pages
before_install:
- export T... | language: java
jdk:
- oraclejdk8
notifications:
email: false
hipchat:
rooms:
secure: CO1rkQMD/T5fpAozqneRg6SqVIMrgi659A5hGUA9pdwFXDv9y4MZTjTE9cws30po1v74k9EtrNSGwAMnZoKao6lorQBL2d1S+HQKkFQIrwNJ1wLrgFz8KBDziv35Bt3+8yYHxPGtu0iLgK+xHvSx2WWs+MtoH9Xdj37QfJi56+o=
branches:
except:
- gh-pages
before_... |
Switch back to stable ChefDK builds for testing | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefd... | # 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... |
Add 0.12 and iojs to CI run. | sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.12"
- iojs
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Enable virtual x frame buffer | language: python
python:
- "3.4"
addons:
postgresql: "9.3"
git:
submodules: false # Handle git submodules yourself
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules # Use sed to replace the ssh url with public https url
notifications:
email: false
install:
- sudo apt-get -... | language: python
python:
- "3.4"
addons:
postgresql: "9.3"
git:
submodules: false # Handle git submodules yourself
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules # Use sed to replace the ssh url with public https url
- export DISPLAY=:10
- sudo Xvfb ${DISPLAY} -ac &... |
Use true instead of yes. | branches:
except:
- appveyor
- circleci
language: cpp
os:
- linux
- osx
compiler:
- clang
env:
- CMAKE_FLAGS="" DEPLOY_DOCS="yes"
osx_image: xcode9.2
dist: xenial
sudo: true
install:
- pushd ci
- ./install_deps.sh
- popd
before_script:
- export BUILD_DIR="build"
- if [[ "$TRAVIS_OS_... | branches:
except:
- appveyor
- circleci
language: cpp
os:
- linux
- osx
compiler:
- clang
osx_image: xcode9.2
dist: xenial
sudo: true
install:
- pushd ci
- ./install_deps.sh
- popd
before_script:
- export BUILD_DIR="build"
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export DEPLOY_DOCS=... |
Remove redundant assemble target from the Travis script section - as Travis performs the same step by itself anyway. | language: java
before_install:
- chmod +x gradlew
- pip install --user codecov
after_success:
- codecov
script:
- ./gradlew assemble
- ./gradlew check --info | language: java
before_install:
- chmod +x gradlew
- pip install --user codecov
after_success:
- codecov
script: ./gradlew check --info |
Change python support in build | language: python
python:
- "2.7"
- "3.5"
sudo:
- "required"
before_install:
- "sudo apt-get update"
- "sudo apt-get install postfix"
- "sudo service postfix start"
install:
- "pip install -r requirements.txt"
- "npm install"
- "grunt"
script:
- "python svenv/manage.py test svenv"
- "grunt jasmine"... | language: python
python:
- "2.7"
- "3.5.0b3"
sudo:
- "required"
before_install:
- "sudo apt-get update"
- "sudo apt-get install postfix"
- "sudo service postfix start"
install:
- "pip install -r requirements.txt"
- "npm install"
- "grunt"
script:
- "python svenv/manage.py test svenv"
- "grunt jasm... |
Upgrade Django 1.9a1 -> 1.9.2. | language: python
python:
- 2.7
- 3.3
sudo: false
env:
- DJANGO_VERSION=1.4.22
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.6.11
- DJANGO_VERSION=1.7.10
- DJANGO_VERSION=1.8.4
- DJANGO_VERSION=1.9a1
matrix:
allow_failures:
- python: 3.3
# env: DJANGO_VERSION=1.9a1
before_install:
- if [ $TRAVI... | language: python
python:
- 2.7
- 3.3
sudo: false
env:
- DJANGO_VERSION=1.4.22
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.6.11
- DJANGO_VERSION=1.7.10
- DJANGO_VERSION=1.8.4
- DJANGO_VERSION=1.9.2
matrix:
allow_failures:
- python: 3.3
# env: DJANGO_VERSION=1.9a1
before_install:
- if [ $TRAVI... |
Debug push to docker cloud | sudo: required
language: ruby
services:
- docker
install:
- docker build -t johntfoster/tadiga:test .
script:
- docker run johntfoster/tadiga:test /bin/sh -c "cd /tadiga/build; make test"
after_success:
- docker run johntfoster/tadiga:test /bin/bash -c "rm -rf /tadiga"
- CONTAINER_ID=`docker ps -a ... | sudo: required
language: ruby
services:
- docker
install:
- docker build -t johntfoster/tadiga:test .
script:
- docker run johntfoster/tadiga:test /bin/sh -c "cd /tadiga/build; make test"
after_success:
- docker run johntfoster/tadiga:test /bin/bash -c "rm -rf /tadiga"
- CONTAINER_ID=`docker ps -a -n 1 |... |
Remove RVM from Travis since we use Ruby in ChefDK | rvm: 2.2
sudo: required
# install the pre-release chef-dk. Use chef-stable-precise to install the stable release
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
- INSTANCE=defau... | sudo: required
# install the pre-release chef-dk. Use chef-stable-precise to install the stable release
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-centos-... |
Add job for default profil deployment | language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
jobs:
include:
- stage: build-with-tests
install:
mvn --settings .maven.xml install -B
- stage: build-profil-MinimizedDependencies
install:... | language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
jobs:
include:
- stage: build-with-tests
install:
mvn --settings .maven.xml install -B
- stage: build-profil-MinimizedDependencies
install:... |
FIX - Remove php 5.6 & hhmv | language: php
php:
- 5.6
- 7.0
- hhvm
before_script:
- composer self-update
- composer install
- cp phpcs.ruleset.xml.dist phpcs.ruleset.xml
script:
- php vendor/bin/phpcs --standard=phpcs.ruleset.xml src/
- php vendor/bin/phpunit
| language: php
php:
- 7.0
before_script:
- composer self-update
- composer install
- cp phpcs.ruleset.xml.dist phpcs.ruleset.xml
script:
- php vendor/bin/phpcs --standard=phpcs.ruleset.xml src/
- php vendor/bin/phpunit
|
Remove Mono debug logging now that dllimport problem fixed | language: csharp
solution: Agiil.sln
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get -y install libstdc++6-4.7-dev
install:
- mkdir -p ~/.mono
- cp Tools/mono.config ~/.mono/config
- nuget restore Agiil.sln
- nuget install NUnit.ConsoleRunner... | language: csharp
solution: Agiil.sln
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get -y install libstdc++6-4.7-dev
install:
- mkdir -p ~/.mono
- cp Tools/mono.config ~/.mono/config
- nuget restore Agiil.sln
- nuget install NUnit.ConsoleRunner... |
Add sudo required in the hope that the container is recreated on Travis | sudo: false
language: python
env:
- TOXENV=django16
install:
- pip install tox
before_script:
- psql -U postgres -c "create database jmbo encoding 'UTF8'"
script: tox
| sudo: required
language: python
env:
- TOXENV=django16
install:
- pip install tox
before_script:
- psql -U postgres -c "create database jmbo encoding 'UTF8'"
script: tox
|
Make codecov take full coverage file | language: go
go:
- 1.5
sudo: false
addons:
apt:
packages:
- libpcap-dev
- python-virtualenv
- geoip-database
before_install:
# Redo the travis setup but with the elastic/packetbeat path. This is needed so the package path is correct
- mkdir -p $HOME/gopath/src/github.com/elastic/packet... | language: go
go:
- 1.5
sudo: false
addons:
apt:
packages:
- libpcap-dev
- python-virtualenv
- geoip-database
before_install:
# Redo the travis setup but with the elastic/packetbeat path. This is needed so the package path is correct
- mkdir -p $HOME/gopath/src/github.com/elastic/packet... |
Add gulp test as package.json test script | language: node_js
node_js:
- "4.1"
- "4.0"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm install"
- "npm install -g typescript"
- "npm install -g tsd"
- "npm install -g gulp"
- "tsd install"
- "gulp test"
| language: node_js
node_js:
- "4.1"
- "4.0"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm install -g typescript"
- "npm install -g tsd"
- "npm install -g gulp"
- "tsd install"
script: gulp test
|
Make jshint properly do something | language: node_js
node_js:
- "0.10"
before_script:
- "npm install -g jshint"
after_script:
- "jshint"
notifications:
email:
recipients:
- david@mojang.com
- amir@mojang.com
on_success: change
on_failure: always | language: node_js
node_js:
- "0.10"
before_script:
- "npm install -g jshint"
after_script:
- "jshint ."
notifications:
email:
recipients:
- david@mojang.com
- amir@mojang.com
on_success: change
on_failure: always |
Disable failing notebook check in Python 3.5 | sudo: required
dist: xenial
language: python
cache: pip
python:
- "3.5"
- "3.6"
- "3.7"
env:
matrix:
- TEST=unit
- TEST=issue
- TEST=console
- TEST=examples
- TEST=lint
install:
- pip install --upgrade pip six
- pip install -r requirements.txt
- pip install -r requirements-test.txt
... | sudo: required
dist: bionic
language: python
cache: pip
python:
- "3.5"
- "3.6"
- "3.7"
env:
- TEST=unit
- TEST=issue
- TEST=console
- TEST=examples
- TEST=lint
jobs:
exclude:
- python: "3.5"
env: TEST=example
install:
- pip install --upgrade pip six
- pip install -r requirements.txt... |
Add Ruby 2.3 in Travis CI | language: ruby
rvm:
# https://www.ruby-lang.org/en/downloads/branches/
- 2.6
- 2.5
- 2.4
env:
global:
- secure: n0mxwnyjuXI4mJO4mp++2TnsPJ+XgCF/J1U2L5piE5j3xMhSU+5V0JrA1uFlS0Pemb44M7BjgmF9S4G35BwyAQpctpCYhqy9tFa6+Y6nxEv5hCv2cZz7BSAZM6eb+zq20409hxTHRaQOr1DBeE4R5S2PrmOXRqvYfTRv3LNSLFk=
matrix:
- OJ=0
... | language: ruby
rvm:
# https://www.ruby-lang.org/en/downloads/branches/
- 2.6
- 2.5
- 2.4
# macOS system Ruby is Ruby 2.3
- 2.3
env:
global:
- secure: n0mxwnyjuXI4mJO4mp++2TnsPJ+XgCF/J1U2L5piE5j3xMhSU+5V0JrA1uFlS0Pemb44M7BjgmF9S4G35BwyAQpctpCYhqy9tFa6+Y6nxEv5hCv2cZz7BSAZM6eb+zq20409hxTHRaQOr1DBeE4R5S2P... |
Fix HHVM build on Travis | sudo: false
language: php
php:
- "7.1"
- "7.0"
- "5.6"
- "5.5"
- "5.4"
- "hhvm"
install:
- composer install
script:
- composer test
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{mess... | sudo: false
dist: trusty
language: php
php:
- "7.1"
- "7.0"
- "5.6"
- "5.5"
- "5.4"
- "hhvm"
install:
- composer install
script:
- composer test
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{aut... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.