Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Remove "write a program" from octal exercise | ---
blurb: "Write a program that will convert a octal number, represented as a string (e.g. '1735263'), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion)."
source: "All of Computer Science"
source_url: "http://www.wolframalpha.com/inp... | ---
blurb: "Convert a octal number, represented as a string (e.g. '1735263'), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion)."
source: "All of Computer Science"
source_url: "http://www.wolframalpha.com/input/?i=base+8"
|
Add a 2 second timeout to the other rabbit check | ---
- name: rabbit process check
sensu_process_check: service=rabbitmq
notify: restart sensu-client
- name: rabbit cluster check
sensu_check: name=rabbitmq-cluster plugin=check-rabbitmq-cluster.rb
args="--expected 2" use_sudo=true
notify: restart sensu-client
when: rabbitmq.cluster
- name: ra... | ---
- name: rabbit process check
sensu_process_check: service=rabbitmq
notify: restart sensu-client
- name: rabbit cluster check
sensu_check: name=rabbitmq-cluster plugin=check-rabbitmq-cluster.rb
args="--expected 2" use_sudo=true
notify: restart sensu-client
when: rabbitmq.cluster
- name: ra... |
Add default and test cmd | ################################################################################
# Defaults
#
# Best practice is to set defaults to production settings.
name: airstack/core
build:
dir: .airstack/build
cache: .airstack/cache
templates:
# Build template directory
dir: Dockerfiles
# Build templates, co... | ################################################################################
# Defaults
#
# Best practice is to set defaults to production settings.
name: airstack/core
build:
dir: .airstack/build
cache: .airstack/cache
templates:
# Build template directory
dir: Dockerfiles
# Build templates, co... |
Add sanity_check configuration for netusb | sample:
name: Echo Server
description: Test core network features using a client/server sample
common:
tags: net
build_only: true
tests:
- test:
platform_whitelist: qemu_x86 sam_e70_xplained frdm_k64f qemu_cortex_m3 arduino_101
- test_802154:
extra_args: CONF_FILE="prj_qemu_802154.conf"
pl... | sample:
name: Echo Server
description: Test core network features using a client/server sample
common:
tags: net
build_only: true
tests:
- test:
platform_whitelist: qemu_x86 sam_e70_xplained frdm_k64f qemu_cortex_m3 arduino_101
- test_802154:
extra_args: CONF_FILE="prj_qemu_802154.conf"
pl... |
Make the GorouterLatency* alerts less noisy. | # Source: firehose-exporter
---
- type: replace
path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/-
value:
name: GorouterLatency
rules:
- record: "cc:firehose_value_metric_gorouter_latency:avg10m"
expr: avg_over_time(firehose_value_metric_gorout... | # Source: firehose-exporter
---
- type: replace
path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/-
value:
name: GorouterLatency
rules:
- &alert
alert: GorouterLatency_Warning
expr: min(avg_over_time(firehose_value_metric_gorouter_latenc... |
Use openjdk8 for Travis CI | language: scala
scala:
- 2.12.11
jdk:
- oraclejdk8
| language: scala
scala:
- 2.12.11
jdk:
- openjdk8
|
Set JAVA_HOME to Java 8. | dist: precise
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- pkg-config
- libstdc++6
- oracle-java8-installer
before_install:
- wget https://github.com/bazelbuild/bazel/releases/download/0.5.2/bazel_0.5.2-linux-x86_64.deb
- sudo dpkg -i bazel_0.5.2-linux... | dist: precise
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- pkg-config
- libstdc++6
- oracle-java8-installer
before_install:
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle
- wget https://github.com/bazelbuild/bazel/releases/download/0.5.2/bazel_0.5.2-lin... |
Make Travis happy about stable Chrome source | language: node_js
sudo: required
dist: trusty
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
node_js: 8
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
script:
- x... | language: node_js
sudo: required
dist: xenial
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
node_js: 8
addons:
firefox: latest
chrome: stable
script:
- xvfb-run wct --skip-plugin sauce
- "if [ \"${TRAVIS_PULL_REQUEST}\"... |
Revert "Apparently the PECL Mongo driver comes pre-installed now?" | # we're exploiting the promise that there's "at least one version of Ruby available"...
language: php
php:
- 5.4
services: mongodb
before_script:
# - 'pecl -q install mongo'
- 'bundle install --without development'
# wheee!
script: rspec | # we're exploiting the promise that there's "at least one version of Ruby available"...
language: php
php:
- 5.4
services: mongodb
before_script:
- 'pecl -q install mongo'
- 'bundle install --without development'
# wheee!
script: rspec |
Remove support for ruby < 2.0.0 | language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3.0
- rbx-2
- jruby-9000
- ruby-head
- jruby-head
sudo: false
cache: bundler
install:
- bundle install --retry=2
script:
- bundle exec rspec
addons:
code_climate:
repo_token: 476435b952955883b3c784cbbe41aae8ba578784ed9ba24a56898882182c86f3 | language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- 2.3.0
- rbx-2
- jruby-9000
- ruby-head
- jruby-head
sudo: false
cache: bundler
install:
- bundle install --retry=2
script:
- bundle exec rspec
addons:
code_climate:
repo_token: 476435b952955883b3c784cbbe41aae8ba578784ed9ba24a56898882182c86f3 |
Remove 2.4 support for now. | before_install:
- gem install bundler
language: ruby
rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
- 2.4.0
# command to run tests
script: "bundle exec rake test"
| before_install:
- gem install bundler
language: ruby
rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
# command to run tests
script: "bundle exec rake test"
|
Enable CI tests in Rhino, RingoJS, and Narwhal | language: node_js
node_js:
- "0.10"
- "0.8"
env:
- TEST_COMMAND="grunt shell:test-node"
- TEST_COMMAND="grunt shell:test-phantomjs"
before_script:
- "npm install -g grunt-cli"
script:
$TEST_COMMAND
| language: node_js
node_js:
- "0.10"
- "0.8"
before_script:
- "npm install -g grunt-cli"
# Narwhal uses a hardcoded path to openjdk v6, so use that version
- "sudo apt-get update -qq"
- "sudo apt-get install -qq openjdk-6-jre"
- "PACKAGE=rhino1_7R4; wget https://github.com/downloads/mozilla/rhino/$PACKAGE.... |
Add Python3 environments to Travis | language: python
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=rhel6
install:
- pip install tox
script:
- tox
branches:
only:
- master
notifications:
email:
- taxii-commits-list@lists.mitre.org
| language: python
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=rhel6
install:
- pip install tox
script:
- tox
branches:
only:
- master
notifications:
email:
- taxii-commits-list@lists.mitre.org
|
Use the newer TravisCI container based builds | language: python
python:
- "2.7"
# Setup anaconda
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-2.0.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-2.0.0-Linux-x86_64.sh -O miniconda.sh; fi
- chmod +... | sudo: false
language: python
python:
- "2.7"
# Setup anaconda
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-2.0.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-2.0.0-Linux-x86_64.sh -O miniconda.sh; fi... |
Use trsty on oraclejdk9 as well | language: java
matrix:
include:
- jdk: oraclejdk8
dist: trusty
- jdk: oraclejdk9
- jdk: oraclejdk8
- jdk: oraclejdk9
- jdk: oraclejdk11
- jdk: openjdk8
- jdk: openjdk10
- jdk: openjdk11
- jdk: openjdk13
before_install:
- sed -i.bak -e 's|https://nexus.codehaus.org/snapsho... | language: java
matrix:
include:
- jdk: oraclejdk8
dist: trusty
- jdk: oraclejdk9
dist: trusty
- jdk: oraclejdk11
- jdk: openjdk8
- jdk: openjdk10
- jdk: openjdk11
- jdk: openjdk13
before_install:
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.... |
Make apt-get install field one line in Travis CI config. | branches:
only:
- master
- rust-0.8
- rust-0.9
before_install:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- yes | sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
- yes | sudo apt-add-repository 'deb http://repos.codelite.org/wx2.9/ubuntu/ precise universe'
- sudo apt-g... | branches:
only:
- master
- rust-0.8
- rust-0.9
before_install:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- yes | sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
- yes | sudo apt-add-repository 'deb http://repos.codelite.org/wx2.9/ubuntu/ precise universe'
- sudo apt-g... |
Use a matrix to prevent Python 3 and Django < 1.5 tests. | language: python
python:
- "2.6"
- "2.7"
- "3.3"
before_install:
- export PIP_USE_MIRRORS=true
- export PIP_INDEX_URL=https://simple.crate.io/
install:
- pip install -e .
- pip install -r requirements/tests.txt Django==$DJANGO
script:
- make test
env:
- DJANGO=1.3.7
- DJANGO=1.4.5
- DJANGO=1.5
| language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
before_install:
- export PIP_USE_MIRRORS=true
- export PIP_INDEX_URL=https://simple.crate.io/
install:
- pip install -e .
- pip install -r requirements/tests.txt Django==$DJANGO
script:
- make test
env:
- DJANGO=1.3.7
- DJANGO=1.4.5
- DJANGO=1.5
m... |
Fix Travis error: 'sys/cdefs.h' file not found | sudo: required
dist: trusty
language: cpp
compiler:
- clang
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libboost-all-dev
- wget http://releases.llvm.org/3.9.0/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
- tar -xvf clang+llvm-3.9.0-x86_64-linux-gnu-ubunt... | sudo: required
dist: trusty
language: cpp
compiler:
- clang
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libboost-all-dev g++-multilib
- wget http://releases.llvm.org/3.9.0/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
- tar -xvf clang+llvm-3.9.0-x86_64-li... |
Test with activesupport v4.0 and actionpack v4.0, and allow failure | language: ruby
rvm:
- 1.9.3
- 2.0.0
| language: ruby
rvm:
- 1.9.3
- 2.0.0
gemfile:
- gemfiles/rails3_2/Gemfile
- gemfiles/rails4_0/Gemfile
matrix:
allow_failures:
- rvm: 1.9.3
gemfile: gemfiles/rails4_0/Gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails4_0/Gemfile
|
Install newer version of Bundler for Travis | language: ruby
cache: bundler
script: bundle exec rspec
sudo: false
gemfile:
- gemfiles/rack_1.5.gemfile
- gemfiles/rack_1.6.gemfile
- gemfiles/rack_2.0.gemfile
- gemfiles/rack_2.1.gemfile
- gemfiles/rack_2.2.gemfile
rvm:
- 2.3.8
- 2.4.9
- 2.5.8
- 2.6.5
- 2.7.0
| language: ruby
cache: bundler
script: bundle exec rspec
sudo: false
gemfile:
- gemfiles/rack_1.5.gemfile
- gemfiles/rack_1.6.gemfile
- gemfiles/rack_2.0.gemfile
- gemfiles/rack_2.1.gemfile
- gemfiles/rack_2.2.gemfile
rvm:
- 2.3.8
- 2.4.9
- 2.5.8
- 2.6.5
- 2.7.0
before_install:
- gem install bun... |
Use Trusty image on Travis-CI | ### Project specific config ###
matrix:
include:
- os: linux
language: python
python: "2.7"
- os: linux
language: python
python: "3.6"
env: ATOM_CHANNEL=beta
install:
- pip install flake8
before_script:
- flake8 --version
### Generic setup follows ###
script:
- curl -s ... | ### Project specific config ###
matrix:
include:
- os: linux
language: python
python: "2.7"
- os: linux
language: python
python: "3.6"
env: ATOM_CHANNEL=beta
install:
- pip install flake8
before_script:
- flake8 --version
### Generic setup follows ###
script:
- curl -s ... |
Install all pip requirements as root? (Travis-CI) | language: python
python:
- "2.6"
- "2.7"
- "pypy"
env:
- DJANGO=1.2.7
- DJANGO=1.3.1
install:
- pip install Django==$DJANGO --use-mirrors
- pip install pep8 --use-mirrors
- pip install https://github.com/dcramer/pyflakes/tarball/master
- sudo apt-get install libevent-dev
- pip install -e . --use-mir... | language: python
python:
- "2.6"
- "2.7"
- "pypy"
env:
- DJANGO=1.2.7
- DJANGO=1.3.1
install:
- sudo apt-get install libevent-dev
- sudo pip install Django==$DJANGO --use-mirrors
- sudo pip install pep8 --use-mirrors
- sudo pip install https://github.com/dcramer/pyflakes/tarball/master
- sudo pip in... |
Add MongoDB as a service | rvm:
- 2.1.0
notifications:
irc:
channels:
- "irc.freenode.net#theodi"
template:
- "%{repository} %{branch} - %{message} %{build_url}"
on_success: change
on_failure: always | rvm:
- 2.1.0
services: mongodb
notifications:
irc:
channels:
- "irc.freenode.net#theodi"
template:
- "%{repository} %{branch} - %{message} %{build_url}"
on_success: change
on_failure: always |
Support for nightly was dropped | language: php
cache:
directories:
- $HOME/.composer/cache
git:
depth: 5
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- hhvm-nightly
matrix:
fast_finish: true
allow_failures:
- php: hhvm-nightly
before_script:
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug... | language: php
cache:
directories:
- $HOME/.composer/cache
git:
depth: 5
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
before_script:
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- composer install --no-interaction --no-progress --... |
Test to see python 3 compability | language: python
python:
- "2.6"
- "2.7"
# command to install redisco with dependencies
install:
- pip install . --use-mirrors
# command to run tests
script: nosetests --with-doctest
services:
- redis-server
| language: python
python:
- "2.6"
- "2.7"
- "3.1"
- "3.2"
- "3.3"
- "3.4"
# command to install redisco with dependencies
install:
- pip install . --use-mirrors
# command to run tests
script: nosetests --with-doctest
services:
- redis-server
|
Test with Elixir 1.2 and 1.3 | services:
- couchdb
language: elixir
elixir:
- 1.1.1
otp_release:
- 18.2
script:
- "MIX_ENV=test mix run priv/repo/seeds.exs"
- "MIX_ENV=test mix do deps.get, deps.compile, test --trace"
| services:
- couchdb
language: elixir
elixir:
- 1.2.6
- 1.3.2
otp_release:
- 18.2
script:
- "MIX_ENV=test mix run priv/repo/seeds.exs"
- "MIX_ENV=test mix do deps.get, deps.compile, test --trace"
|
ADD Travis : Support PHP 7.1 | language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 7.1
before_install:
- composer self-update | language: php
sudo: false
php:
- 7.1
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 7.1
before_install:
- composer self-update |
Update Travis CI node versions | sudo: false
language: node_js
node_js:
- '4'
- '6'
- '7'
| sudo: false
language: node_js
node_js:
- '9'
- '8'
- '6'
|
Install an IPython kernel before npm install | sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- uuid-dev
- libssl-dev
language: node_js
node_js:
- '5'
env:
global:
- ZMQ="3.2.5"
matrix:
- GROUP=unit
- GROUP=functional
cache:
apt: true
directories:
- node_modules
- zeromq... | sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- uuid-dev
- libssl-dev
language: node_js
node_js:
- '5'
env:
global:
- ZMQ="3.2.5"
matrix:
- GROUP=unit
- GROUP=functional
cache:
apt: true
directories:
- node_modules
- zeromq... |
Disable composer warning about xdebug: | language: php
sudo: false
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_install:
- composer self-update
- composer install
script: phpunit
| language: php
sudo: false
env:
- COMPOSER_DISABLE_XDEBUG_WARN=1
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_install:
- composer self-update
- composer install
script: phpunit
|
Update Travis to use Go 1.4. | language: go
go:
- 1.3
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
script:
- diff -u <(echo -n) <(gofmt -d ./)
- go tool vet ./
- go test -v -race ./...
| language: go
go:
- 1.4
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
script:
- diff -u <(echo -n) <(gofmt -d ./)
- go tool vet ./
- go test -v -race ./...
|
Fix package in py.test invocation | # Use container system
sudo: false
# Cache pip & libsodium
cache:
directories:
- $HOME/libsodium
- $HOME/.cache/pip
# Clean up pip log
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
# Build matrix
language: python
matrix:
include:
- python: "3.4"
env: EVENT_LOOP=asyncio
- python: "3.5"
en... | # Use container system
sudo: false
# Cache pip & libsodium
cache:
directories:
- $HOME/libsodium
- $HOME/.cache/pip
# Clean up pip log
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
# Build matrix
language: python
matrix:
include:
- python: "3.4"
env: EVENT_LOOP=asyncio
- python: "3.5"
en... |
Update Clang version 7 and GCC version 7 | sudo: required
language: cpp
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-7
- sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-7 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-7
- li... | sudo: required
language: cpp
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-7
- sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-7 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- gcc-7
- g++-... |
Use the new build env on Travis | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.2
cache: bundler
before_script:
- git config --global user.email "bot@heroku.com"
- git config --global user.name "Heroku Bot (Travis CI)"
script: bundle exec rspec spec --color --format documentation
deploy:
provider: rubygems
on:
tags:... | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.2
sudo: false
cache: bundler
before_script:
- git config --global user.email "bot@heroku.com"
- git config --global user.name "Heroku Bot (Travis CI)"
script: bundle exec rspec spec --color --format documentation
deploy:
provider: rubygems
... |
Add MRI 2.5 to Travis CI | language: ruby
sudo: false
rvm:
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-9.1.14.0
- jruby-head
before_install:
- gem install bundler
script:
- bundle exec rake test
- bundle exec cucumber
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
cache: bundler
services:
- mongodb
| language: ruby
sudo: false
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- ruby-head
- jruby-9.1.14.0
- jruby-head
before_install:
- gem install bundler
script:
- bundle exec rake test
- bundle exec cucumber
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
cache: bundler
services:
- mong... |
Update Travis CI with stable node and iojs. | language: node_js
node_js:
- "0.10"
notifications:
email: false
| language: node_js
node_js:
- node
- iojs
notifications:
email: false
|
Disable flake8 until we get it passing | language: python
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=cov
- TOX_ENV=flake8
script:
- tox -e $TOX_ENV
| language: python
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=cov
#- TOX_ENV=flake8
script:
- tox -e $TOX_ENV
|
Stop using pipenv run as we're already in a virtualenv in Travis | language: python
python:
- "2.7"
- "3.5"
- "3.6"
install:
- pip install pipenv
- pipenv install --dev
script: pipenv run nosetests --with-coverage --cover-package=pybib --cover-branches --rednose
| language: python
python:
- "2.7"
- "3.5"
- "3.6"
install:
- pip install pipenv
- pipenv install --dev
script: nosetests --with-coverage --cover-package=pybib --cover-branches --rednose
|
Test with 'bundle exec rake' | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- ree
- jruby
- jruby-18mode
- jruby-19mode
| language: ruby
script: bundle exec rake
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- ree
- jruby
- jruby-18mode
- jruby-19mode
|
Test with Ruby 2.7 on Travis | language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
before_install:
# This is a workaround for a bug in bundler that Travis' VM comes with by default
- gem update bundler
# uncomment this line if your project needs to run something other than `rake`:
# script: bundle exec rspec spec
| language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
before_install:
# This is a workaround for a bug in bundler that Travis' VM comes with by default
- gem update bundler
# uncomment this line if your project needs to run something other than `rake`:
# script: bundle exec rspec spe... |
Add missing Python 3 versions to CI build matrix | sudo: false
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"
- "pypy"
- "pypy3"
# bleeding edge versions
- "nightly"
install: true
matrix:
fast_finish: true
allow_failures:
- python: "nightly"
install:
- pip install .
script:
- pytest
| sudo: false
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "pypy"
- "pypy3"
# bleeding edge versions
- "nightly"
install: true
matrix:
fast_finish: true
allow_failures:
- python: "nightly"
install:
- pip install .
script:
- pytest
|
Add Ruby 2.1 and removed rbx. | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- ree
- rbx-18mode
- rbx-19mode
- rbx-20mode
notifications:
recipients:
email:
- cedric@howe.net
on_success: change
on_failure: always
| language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- ree
notifications:
recipients:
email:
- cedric@howe.net
on_success: change
on_failure: always
|
Update Homebrew, because it needs to. | language: c
compiler:
- clang
- gcc
os:
- linux
- osx
dist: xenial
addons:
apt:
packages: libutf8proc-dev
homebrew:
packages: utf8proc
script:
- make
- make test
| language: c
compiler:
- clang
- gcc
os:
- linux
- osx
dist: xenial
addons:
apt:
packages: libutf8proc-dev
homebrew:
packages: utf8proc
update: true
script:
- make
- make test
|
Use go tip for now | language: go
go:
- 1.2
- 1.3
- 1.4
env:
- KAFKA_INSTALL_ROOT=/home/travis/kafka KAFKA_HOSTNAME=localhost
before_install:
- export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}
- vagrant/install_cluster.sh
- vagrant/boot_cluster.sh
- vagrant/create_topics.sh
- go install -a -race regexp # Fix for go 1.2
- go get code.google.com... | language: go
go:
- 1.2
- 1.3
- tip
env:
- KAFKA_INSTALL_ROOT=/home/travis/kafka KAFKA_HOSTNAME=localhost
before_install:
- export REPOSITORY_ROOT=${TRAVIS_BUILD_DIR}
- vagrant/install_cluster.sh
- vagrant/boot_cluster.sh
- vagrant/create_topics.sh
- go install -a -race regexp # Fix for go 1.2
- go get code.google.com... |
Allow Rubinius to fail, for now. | sudo: false
language: ruby
rvm:
- 2.2.5
- rbx
- jruby-9.1.5.0
| sudo: false
language: ruby
rvm:
- 2.2.5
- 2.3
- rbx
- jruby-9.1.5.0
matrix:
allow_failures:
- rvm: rbx
|
Test with more recent versions of Go | language: go
go:
- 1.3
- 1.4
install:
- go get github.com/yuin/gopher-lua
script:
- go test -v
notifications:
email: false
| language: go
go:
- 1.4
- 1.5
- 1.6
install:
- go get github.com/yuin/gopher-lua
script:
- go test -v
notifications:
email: false
|
Update ruby versions for CI | language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.3
- 2.4.0
- jruby-9.1.7.0
- ruby-head
sudo: false
bundler_args: --without development --retry=3 --jobs=3
before_install:
- gem update --system
- gem update bundler
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
matrix:
allow_failures:
- ... | language: ruby
rvm:
- 2.6.0
- 2.7.0
- 3.0.0
- jruby-9.1.7.0
- ruby-head
sudo: false
bundler_args: --without development --retry=3 --jobs=3
before_install:
- gem update --system
- gem update bundler
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
matrix:
allow_failures:
- rvm: ruby-head
... |
Remove python3.3, waiting for 3.4 | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
install:
- "python setup.py install"
script: python test/__init__.py
| language: python
python:
- "2.6"
- "2.7"
- "3.2"
install:
- "python setup.py install"
script: python test/__init__.py
|
Remove old rubies and update the rest | dist: trusty
sudo: false
group: beta
language: ruby
before_install:
- gem install bundler
script:
- bundle exec rake compile || bundle exec rake compile
- bundle exec rake test
os:
- linux
- osx
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2.8
- 2.3.5
- 2.4.3
- 2.5.0
- ruby-head
- rbx
- system
env:
- ... | dist: trusty
sudo: false
group: beta
language: ruby
before_install:
- gem install bundler
script:
- bundle exec rake compile || bundle exec rake compile
- bundle exec rake test
os:
- linux
- osx
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
- rbx
- system
env:
- CC=gcc
- CC=clang
matrix:
... |
Switch to amcat.nl (instead of amcat.vu.nl) | language: python
python:
- "2.7"
services:
- postgresql
- memcached
- rabbitmq
virtualenv:
system_site_packages: true
before_install:
- psql -c 'create database amcat;' -U postgres
- export DJANGO_DB_USER=postgres
- export DJANGO_LOG_LEVEL=WARNING
- export DJANGO_SETTINGS_MODULE=settings
- export PYTHONP... | language: python
python:
- "2.7"
services:
- postgresql
- memcached
- rabbitmq
virtualenv:
system_site_packages: true
before_install:
- psql -c 'create database amcat;' -U postgres
- export DJANGO_DB_USER=postgres
- export DJANGO_LOG_LEVEL=WARNING
- export DJANGO_SETTINGS_MODULE=settings
- export PYTHONP... |
Support PHP 7.1 and remove support for 5.5 | language: php
dist: trusty
php:
- 5.5
- 5.6
- 7.0
- hhvm
before_install:
- composer selfupdate
- composer install
script:
- php vendor/bin/phpunit
after_script:
- php vendor/bin/coveralls
notifications:
slack:
secure: JePSotcs0psHN4Rl9HILCl298jZ0PS34BxEAu3YLWWfYo2hgFf8I3RuJfC8hlFvVq3DR4IFHn5oOZJX3... | language: php
dist: trusty
php:
- 5.6
- 7.0
- 7.1
- hhvm
before_install:
- composer selfupdate
- composer install
script:
- php vendor/bin/phpunit
after_script:
- php vendor/bin/coveralls
notifications:
slack:
secure: JePSotcs0psHN4Rl9HILCl298jZ0PS34BxEAu3YLWWfYo2hgFf8I3RuJfC8hlFvVq3DR4IFHn5oOZJX3... |
Remove testing from other ruby versions | before_install: gem update bundler
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- rbx-2
- ruby-head
language: ruby | before_install: gem update bundler
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
language: ruby |
Add more node.js versions to Travis CI | sudo: false
language: node_js
node_js:
- stable
- "0.12"
| sudo: false
language: node_js
node_js:
- "5"
- "4"
- "0.12"
|
Add code climate test coverage | language: ruby
| language: ruby
addons:
code_climate:
repo_token: 3fedf540189b9a4cab8cd906f464d2db431b8d76888d74828c80db4c14c2f065
|
Use the installed phpunit executable to run the tests | language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script:
- ./vendor/bin/phpcbf --standard=PSR2 -v src/
- phpunit --coverage-clover=coverage.clover
after_script:
- if [ "$TRAVIS_PHP_VERSI... | language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script:
- ./vendor/bin/phpcbf --standard=PSR2 -v src/
- ./vendor/bin/phpunit --coverage-clover=coverage.clover
after_script:
- if [ "$TRA... |
Fix issue with the build file | language: node_js
node_js:
- node
script: script/cibuild
deploy:
provider: pages
skip-cleanup: true
local_dir: build
target_branch: gh-pages
github_token: $GITHUB_TOKEN
on
branch: master
| language: node_js
node_js:
- node
script: script/cibuild
deploy:
provider: pages
skip-cleanup: true
local_dir: build
target_branch: gh-pages
github_token: $GITHUB_TOKEN
on:
branch: master
|
Use 'bundle exec' in Travis | language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.1"
- rbx-2
- jruby-19mode
script: "rake test functional_test DEBUG_LOGS=true"
sudo: false
cache: bundler
| language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.1"
- rbx-2
- jruby-19mode
script: "bundle exec rake test functional_test DEBUG_LOGS=true"
sudo: false
cache: bundler
|
Add Windows/OS X, cache npm, remove sudo false. | language: node_js
node_js:
- "6"
- "8"
- "10"
script: "npm run-script test-cover"
after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls"
sudo: false
| language: node_js
node_js:
- "6"
- "8"
- "10"
os:
- windows
- linux
- osx
cache: npm
script: "npm run-script test-cover"
after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls"
|
Add pyflakes to Travis tests | language: python
python:
- "3.4"
- "3.5.0b3"
- "3.5-dev"
- "nightly"
matrix:
allow_failures:
- python: "3.5-dev"
install:
- "python setup.py install"
script:
- py.test
- catimg --help
- catimg --update --verbose
- catimg > /dev/null
sudo: false
| language: python
python:
- "3.4"
- "3.5.0b3"
- "3.5-dev"
- "nightly"
matrix:
allow_failures:
- python: "3.5-dev"
install:
- "python setup.py install"
- "pip install pyflakes"
script:
- py.test
- catimg --help
- catimg --update --verbose
- catimg > /dev/null
- pyflakes catimg/**/!(__init__... |
Use preinstalled rubygems for now | language: ruby
before_install:
- gem update --system
- gem uni -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem i bundler -v '< 2'
rvm:
- 2.3.8
- 2.4.6
- 2.5.5
- 2.6.2
- ruby-head
gemfile:
- gemfiles/Gemfile-rails.4.2.x
- gemfiles/Gemfile-rails.5.0.x
- gemfiles/Gemfile-rails.5.1.x
- g... | language: ruby
before_install:
- gem uni -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem i bundler -v '< 2'
rvm:
- 2.3.8
- 2.4.6
- 2.5.5
- 2.6.2
- ruby-head
gemfile:
- gemfiles/Gemfile-rails.4.2.x
- gemfiles/Gemfile-rails.5.0.x
- gemfiles/Gemfile-rails.5.1.x
- gemfiles/Gemfile-rails.5.... |
Add Ruby 2.6 and 2.7 to test target | language: ruby
dist: trusty
script: bundle exec rake test
matrix:
include:
- os: linux
rvm: 2.4.4
- os: osx
rvm: 2.4.4
- os: linux
rvm: 2.5.1
- os: osx
rvm: 2.5.1
fast_finish: true
| language: ruby
dist: trusty
script: bundle exec rake test
matrix:
include:
- os: linux
rvm: 2.4.4
- os: osx
rvm: 2.4.4
- os: linux
rvm: 2.5.1
- os: osx
rvm: 2.5.1
- os: linux
rvm: 2.6.6
- os: osx
rvm: 2.6.6
- os: linux
rvm: 2.7.1
- os: osx
rvm: 2.7.1
fast_finish: tru... |
Remove January test suite from Travis CI | sudo: false # use containers
language: java
cache:
directories:
- $HOME/.m2 # Maven dependencies
# whitelist
branches:
only:
- master
jdk:
- oraclejdk8
# Run the commit message check and then check out some required dependencies.
# TODO Currently check in messages are not checked for dawnsci.
# - chmod ... | sudo: false # use containers
language: java
cache:
directories:
- $HOME/.m2 # Maven dependencies
# whitelist
branches:
only:
- master
jdk:
- oraclejdk8
# Run the commit message check and then check out some required dependencies.
# TODO Currently check in messages are not checked for dawnsci.
# - chmod ... |
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
|
Build with Node.js 12 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '6'
- '8'
- '10'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- make zic && make
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '6'
- '8'
- '10'
- '12'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- make zic && make
|
Make sure search index is rebuilt completely when deploying | language: python
python:
- 3.4
install:
- pip install -r requirements.txt
script:
- coverage run --source=sergey,proposal manage.py test
- python manage.py syncdb --noinput
- python manage.py migrate --noinput
- python manage.py review
after_success:
- coveralls
deploy:
provider: heroku
api_key:
s... | language: python
python:
- 3.4
install:
- pip install -r requirements.txt
script:
- coverage run --source=sergey,proposal manage.py test
- python manage.py syncdb --noinput
- python manage.py migrate --noinput
- python manage.py review
after_success:
- coveralls
deploy:
provider: heroku
api_key:
s... |
Add Custom Script to Travis | language: objective-c
osx_image: xcode8.2
xcode_project: tmdb.xcodeproj
xcode_scheme: tmdb
xcode_sdk: iphonesimulator8.3
| language: objective-c
osx_image: xcode8.2
xcode_project: tmdb.xcodeproj
xcode_scheme: tmdb
xcode_sdk: iphonesimulator8.3
script:
- xcodebuild build test -sdk iphonesimulator -project tmdb.xcodeproj -scheme tmdb -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.2' -enableCodeCoverage YES CODE_SIGNING_REQ... |
Update liberty version to 17.0.0_01 | sudo: false
language: java
matrix:
include:
- jdk: oraclejdk7
env: WLP_VERSION=8.5.5_09 WLP_LICENSE=L-MCAO-9SYMVC
- jdk: oraclejdk8
env: WLP_VERSION=16.0.0_03 WLP_LICENSE=L-SWIS-ABKSXS
script:
- travis_wait mvn verify -Ponline-its -Dinvoker.streamLogs=true -DwlpVersion=$WLP_VERSION -DwlpLicense=... | sudo: false
language: java
matrix:
include:
- jdk: oraclejdk7
env: WLP_VERSION=8.5.5_09 WLP_LICENSE=L-MCAO-9SYMVC
- jdk: oraclejdk8
env: WLP_VERSION=17.0.0_01 WLP_LICENSE=L-SWIS-AEPPZP
script:
- travis_wait mvn verify -Ponline-its -Dinvoker.streamLogs=true -DwlpVersion=$WLP_VERSION -DwlpLicense=... |
Install dependencies with pip3. Upload to codecov.io | # Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
- image: circleci/python:3.6.1
# Sp... | # Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
- image: circleci/python:3.6.1
# Sp... |
Add more ruby versions and platforms | rvm:
- 1.9.2
- jruby
- 1.9.3
- ruby-head
env: JRUBY_OPTS=--1.9
script: "bundle exec rspec spec"
| rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
- ruby-head
- rbx
- rbx-2.0
- jruby
env: JRUBY_OPTS=--1.9
script: "bundle exec rspec spec"
|
Use Maven Wrapper in Travis | ---
language: java
jdk:
- oraclejdk8
after_success:
- mvn -P coverage clean test jacoco:report coveralls:jacoco
| ---
language: java
jdk:
- oraclejdk8
after_success:
- ./mvnw -P coverage clean test jacoco:report coveralls:jacoco
|
Add 3.7 to build matrix, remove 3.4 | sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install: "pip install -e ."
script: nose2
| sudo: true
dist: xenial
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
install: "pip install -e ."
script: nose2
|
Support Go 1.9 and remove 1.7 | language: go
go:
- 1.7.x
- 1.8.x
sudo: false
install:
- make install-tools
- make install-dependencies
- make install
script:
- make lint
- make test-verbose-with-coverage
- gover
- if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then goveralls -coverprofile=gover.coverprofile -service=travis-ci -repot... | language: go
go:
- 1.8.x
- 1.9.x
sudo: false
install:
- make install-tools
- make install-dependencies
- make install
script:
- make lint
- make test-verbose-with-coverage
- gover
- if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then goveralls -coverprofile=gover.coverprofile -service=travis-ci -repot... |
Add Ruby 2.3 in the test matrix | bundler_args: --without development
language: ruby
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1
- 2.2.4
- jruby-18mode
- jruby-19mode
- jruby-head
- rbx-2
- ruby-head
matrix:
allow_failures:
- rvm: 1.9.2
- rvm: jruby-18mode
- rvm: j... | bundler_args: --without development
language: ruby
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.5
- 2.3.1
- jruby-18mode
- jruby-19mode
- jruby-head
- rbx-2
- ruby-head
matrix:
allow_failures:
- rvm: 1.9.2
- rvm: jruby-18mode... |
Fix hhvm build: hhvm is not supported on precise, but it is on trusty | language: php
dist: precise
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: 7.0
- php: 7.1
- php: hhvm
- php: hhvm-nightly
script: phpunit --verbose
| language: php
dist: precise
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
- hhvm-nightly
matrix:
include:
- php: hhvm
dist: trusty
- php: hhvm-nightly
dist: trusty
allow_failures:
- php: 7.0
- php: 7.1
script: phpunit --verb... |
Test on 2.1 also. Drop multiple JDK test. | language: ruby
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- jruby
jdk:
- oraclejdk7
- openjdk7
env: JRUBY_OPTS="--server -Xcompile.invokedynamic=false -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -J-Xms512m -J-Xmx1024m"
services:
- mongodb
matrix:
exclude:
- rvm: 1.9.3
... | language: ruby
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby
env: JRUBY_OPTS="--server -J-Xms512m -J-Xmx1024m"
services:
- mongodb
|
Test gem on recent ruby versions | language: ruby
rvm:
- 2.1
- ruby-head
- jruby-19mode
- rbx-2
- 2.2.3
- 2.3.1
matrix:
allow_failures:
- rvm: ruby-head
bundler_args: --without local_development
before_install: gem install bundler
| language: ruby
rvm:
- 2.1
- ruby-head
- jruby-19mode
- rbx-2
- 2.2.10
- 2.3.8
- 2.4.6
- 2.5.5
- 2.6.2
matrix:
allow_failures:
- rvm: ruby-head
bundler_args: --without local_development
before_install: gem install bundler -v 1.17.3
|
Install the verified fake package in Travis. | language: python
python:
- "2.6"
- "2.7"
services:
- riak
before_install:
# we need the protobuf-compiler so we can install Riak client libraries
- sudo apt-get install -qq protobuf-compiler
install:
- "pip install -r requirements.txt --use-wheel"
- "pip install coveralls --use-wheel"
- "python setup.py... | language: python
python:
- "2.6"
- "2.7"
services:
- riak
before_install:
# we need the protobuf-compiler so we can install Riak client libraries
- sudo apt-get install -qq protobuf-compiler
install:
- "pip install -r requirements.txt --use-wheel"
- "pip install coveralls --use-wheel"
- "pip install -e ... |
Add Ruby 2.5 to Travis CI | sudo: required
services:
- docker
language: ruby
rvm:
- "2.2.7"
- "2.3.4"
- "2.4.1"
- "jruby-9.1.15.0"
cache: bundler
script: rake test
| sudo: required
services:
- docker
language: ruby
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- jruby-9.1.15.0
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
cache: bundler
script: rake test
|
Remove composer cache directories Travis CI | language: php
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 5.5
- php: 5.6
- php: 7.0
allow_failures:
- php: 7.0
install:
- composer install
script:
- phpunit -c app
| language: php
matrix:
fast_finish: true
include:
- php: 5.5
- php: 5.6
- php: 7.0
allow_failures:
- php: 7.0
install:
- composer install
script:
- phpunit -c app
|
Duplicate packages for all versions | language: go
go:
- 1.1
- 1.2
- 1.3
- 1.4
- tip
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/golang/lint/golint
script:
- $HOME/gopath/bin/golint
- $HOME/gopath/bin/goveralls -repotoken $GOV... | language: go
go:
- 1.1
- 1.2
- 1.3
- 1.4
- tip
install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cmd/cover
- go get golang.org/x/tools/cmd/cover
- go get github.com/golang/lint/golint
script:
- $HOME/gopath/bin/golint
- $HOME/gop... |
Fix build error: Can't find bundler |
language: ruby
sudo: false
cache: bundler
after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- export REPO=gabriprat/hoshinplan
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- export COMMIT=$TRAVIS_COMMIT
- docker build -f Docker... |
language: ruby
sudo: false
cache: bundler
install:
- gem uninstall bundler
- gem install bundler --version '1.16.0'
after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- export REPO=gabriprat/hoshinplan
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $T... |
Use npm 1.4.6 when testing on Travis-CI | language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
- '0.8'
- 'iojs'
| language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
- '0.8'
- 'iojs'
before_install:
- npm install -g npm@~1.4.6
|
Allow failures for PHP 7 | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
install:
- composer self-update && composer --version
- composer install --prefer-dist --dev
- wget https://scrutinizer-ci.com/ocular.phar
script:
- vendor/bin/phpunit --verbose --coverage-clover=coverage.clover... | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
- 7.0
matrix:
allow_failures:
- php: hhvm
- php: 7.0
install:
- composer self-update && composer --version
- composer install --prefer-dist --dev
- wget https://scrutinizer-ci.com/ocular.phar
script:
- vendor/bin/phpunit --verbose --coverage... |
Drop Python 3.4 from the tests | language: python
sudo: false
env:
- RUNCOVERAGE=1 ROBOTPY_NO_DEPS=1
python:
- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
install:
- pip install -U pip
- pip install -r travis-requirements.txt
# command to run tests
script:
- tests/run_tests.sh
deploy:
- provider: pypi
user: $PYPI_USERNAME
... | language: python
sudo: false
env:
- RUNCOVERAGE=1 ROBOTPY_NO_DEPS=1
python:
- "3.5"
- "3.6"
# command to install dependencies
install:
- pip install -U pip
- pip install -r travis-requirements.txt
# command to run tests
script:
- tests/run_tests.sh
deploy:
- provider: pypi
user: $PYPI_USERNAME
password... |
Test with latest Ruby versions | ---
os: linux
dist: focal
language: ruby
cache: bundler
rvm:
- 2.7.2
- 2.6.6
- 2.5.8
- ruby-head
- jruby-9.2.13.0
| ---
os: linux
dist: focal
language: ruby
cache: bundler
rvm:
- 2.7.2
- 2.6.6
- 2.5.8
- ruby-head
- jruby-9.2.14.0
|
Include 3.2 and php 5.6 in tests | language: php
php:
- 5.3
- 5.4
sudo: false
env:
- DB=MYSQL CORE_RELEASE=3.0
- DB=MYSQL CORE_RELEASE=3
- DB=PGSQL CORE_RELEASE=3
- DB=SQLITE CORE_RELEASE=3
matrix:
exclude:
- php: 5.4
env: DB=PGSQL CORE_RELEASE=3
- php: 5.4
env: DB=SQLITE CORE_RELEASE=3
- php: 5.4
env: DB=MYSQL... | language: php
php:
- 5.3
sudo: false
env:
- DB=MYSQL CORE_RELEASE=3.1
matrix:
include:
- php: 5.4
env: DB=PGSQL CORE_RELEASE=3.2
- php: 5.4
env: DB=SQLITE CORE_RELEASE=3.2
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.2
before_script:
... |
Remove request package from CI. | language: go
go:
- tip
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- go test -coverprofile=monitor.coverprofile ./internal/... | language: go
go:
- tip
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- go test -coverprofile=monitor.coverprofile ./internal/... |
Fix double slash in RSS feed post URLs | name: dev etc
description: Where mistakes go to die.
url: http://devetc.org/
author: Jonathon Mah
markdown: kramdown
pygments: true
| name: dev etc
description: Where mistakes go to die.
url: http://devetc.org
author: Jonathon Mah
markdown: kramdown
pygments: true
|
Fix Travis CI configuration file | language: c++
compiler:
- gcc
script:
- mkdir build && cd build && cmake .. && make
| language: c++
sudo: required
compiler:
- gcc
before_install:
- sudo apt-get install boost-dev
script:
- mkdir build && cd build && cmake .. && make
|
Remove configuration for pip mirrors | language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- pypy
before_install:
- sudo apt-get install subversion bzr mercurial
- echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc
- git config --global user.email "python-virtualenv@googlegroups.com"
- git config --global user.na... | language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- pypy
before_install:
- sudo apt-get install subversion bzr mercurial
- echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc
- git config --global user.email "python-virtualenv@googlegroups.com"
- git config --global user.na... |
Use ruby 2.2.3 instead of 2.2.2 on Travis | ---
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.6
- 2.2.2
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
exclude:
- rvm: 1.9.3
env: DB=database.yml.postgresql
- rvm: 2.0.0
env: DB=database.yml.postgresql
- rvm: 2.1.6
env: DB=database.yml.postgresql
- rvm: rbx-2
env: DB=datab... | ---
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.6
- 2.2.3
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
exclude:
- rvm: 1.9.3
env: DB=database.yml.postgresql
- rvm: 2.0.0
env: DB=database.yml.postgresql
- rvm: 2.1.6
env: DB=database.yml.postgresql
- rvm: rbx-2
env: DB=datab... |
Switch to container based testing on Travis | language: node_js
node_js:
- 0.10
before_script:
- npm install -g grunt-cli
notifications:
email: false
irc: false
branches:
only:
- master
| sudo: false
language: node_js
node_js:
- 0.10
before_script:
- npm install -g grunt-cli
notifications:
email: false
irc: false
branches:
only:
- master
|
Update the version of ruby used to build project in TravisCI. | # Lock down dist to ensure that builds run on a distribution that supports oraclejdk8
dist: trusty
language: ruby
jdk:
- oraclejdk8
rvm:
- 2.6.6
install:
- gem install bundler
- bundle install
script: buildr package
git:
depth: false
| # Lock down dist to ensure that builds run on a distribution that supports oraclejdk8
dist: trusty
language: ruby
jdk:
- oraclejdk8
rvm:
- 2.7.2
install:
- gem install bundler
- bundle install
script: buildr package
git:
depth: false
|
Exclude early versions of MiniTest gem from CI for Ruby 1.9.3. | script: "rake test"
notifications:
recipients:
- james@floehopper.org
rvm:
- 1.8.7
- 1.9.3
gemfile:
- Gemfile
- gemfiles/Gemfile.test-unit.latest
- gemfiles/Gemfile.test-unit.2.0.3
- gemfiles/Gemfile.test-unit.2.0.1
- gemfiles/Gemfile.test-unit.2.0.0
- gemfiles/Gemfile.minitest.latest
- gemfiles... | script: "rake test"
notifications:
recipients:
- james@floehopper.org
rvm:
- 1.8.7
- 1.9.3
gemfile:
- Gemfile
- gemfiles/Gemfile.test-unit.latest
- gemfiles/Gemfile.test-unit.2.0.3
- gemfiles/Gemfile.test-unit.2.0.1
- gemfiles/Gemfile.test-unit.2.0.0
- gemfiles/Gemfile.minitest.latest
- gemfiles... |
Test through Python 3.9 in CI pipeline | # Travis CI Configuration
language: python
python:
- "3.5"
- "3.6"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run -m nose
- pycodestyle cachesimulator/*.py
after_success:
- coveralls
| # Travis CI Configuration
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run -m nose
- pycodestyle cachesimulator/*.py
after_success:
- coveralls
|
Test against future PHP versions | language: php
php:
- "5.3"
- "5.4"
- "5.5"
- "5.6"
- "7.0"
- "7.1"
- "hhvm"
matrix:
include:
- php: 5.3
dist: precise
sudo: false
install: travis_retry composer install --no-interaction --prefer-source
script:
- if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi
- if ... | language: php
php:
- "5.3"
- "5.4"
- "5.5"
- "5.6"
- "7.0"
- "7.1"
- "master"
- "hhvm"
matrix:
include:
- php: 5.3
dist: precise
allow_failures:
- php: master
sudo: false
install: travis_retry composer install --no-interaction --prefer-source
script:
- if [ "$TRAVIS_PHP_VERSION"... |
Test with Ruby 1.8.7 on Travis CI. | language: ruby
cache: bundler
rvm:
- 2.2.0
- 2.1.0
- 2.0.0
- 1.9.3
before_install:
- gem update bundler
| language: ruby
cache: bundler
rvm:
- 2.2.0
- 2.1.0
- 2.0.0
- 1.9.3
- 1.8.7
before_install:
- gem update bundler
|
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 Carthage prebuild frameworks support on TravisCI | language: objective-c
osx_image: xcode9
before_install:
- export LANG=en_US.UTF-8
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild -workspace Example/EAIntroView.xcworkspace -scheme EAIntroView-Example -sdk iphonesi... | language: objective-c
osx_image: xcode9
before_install:
- export LANG=en_US.UTF-8
- brew update
- brew outdated carthage || brew upgrade carthage
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild -workspace Examp... |
Enable Travis build for Ruby 1.8.7 | language: ruby
rvm:
- 1.9.2
- 1.9.3
#- jruby-19mode # JRuby in 1.9 mode
# - rbx-18mode
# - rbx-19mode # currently in active development, may or may not work for your project
# uncomment this line if your project needs to run something other than `rake`:
# script: bundle exec rspec spec
| language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
#- jruby-19mode # JRuby in 1.9 mode
# - rbx-18mode
# - rbx-19mode # currently in active development, may or may not work for your project
# uncomment this line if your project needs to run something other than `rake`:
# script: bundle exec rspec spec
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.