Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Configure Travis to use Go1.7. | language: go
go:
- 1.5
- 1.6
install:
- go get -t -v ./...
script:
- go test -v ./...
| language: go
go:
- 1.6
- 1.7
install:
- go get -t -v ./...
script:
- go test -v ./...
|
Add verbosity to code sniffer output | # Basic conif
language: php
php:
- '7.0'
# Composer, dependencies and autoloading
install:
- composer install
# Execute unit tests
script:
- phpunit --configuration phpunit.xml
- ./vendor/bin/humbug
- ./vendor/bin/phpcs --standard=PSR2 -n --colors src/php/ | # Basic conif
language: php
php:
- '7.0'
# Composer, dependencies and autoloading
install:
- composer install
# Execute unit tests
script:
- phpunit --configuration phpunit.xml
- ./vendor/bin/humbug
- ./vendor/bin/phpcs --standard=PSR2 --colors -v src/php/
|
Update to only test develop branch | language: php
php:
- 5.3
- 5.4
- 5.5
before_script:
- cp app/config/parameters.T.yml app/config/parameters.yml
- composer install --dev
script: phpunit --configuration app/phpunit.xml.dist | branches:
only:
- develop
language: php
php:
- 5.3
- 5.4
- 5.5
before_script:
- cp app/config/parameters.T.yml app/config/parameters.yml
- composer install --dev
script: phpunit --configuration app/phpunit.xml.dist |
Disable line length check for json_test.py | language: python
python:
- "2.7"
install:
- pip install pep8 flake8
script:
# we want pyflakes to check all files for unused imports only
# we use flake8 because it allows us to ignore other warnings
# exclude the thrift directories - they contain auto-generated code
- flake8 --ignore=E501,F811,F812,F821,F8... | language: python
python:
- "2.7"
install:
- pip install pep8 flake8
script:
# we want pyflakes to check all files for unused imports only
# we use flake8 because it allows us to ignore other warnings
# exclude the thrift directories - they contain auto-generated code
- flake8 --ignore=E501,F811,F812,F821,F8... |
Test on current PHP with sqlite | language: php
php:
- 7.1
- 7.0
- 5.6
# - hhvm
- nightly
os:
- linux
# osx/php testing not supported by travis
before_script:
- mysql -e 'create database travis_app_test DEFAULT CHARACTER SET utf8mb4 collate utf8mb4_unicode_ci;'
install:
- cp app/config/parameters-docker.yml app/config/parameters.yml
- co... | language: php
php:
- 7.1
- 7.2
- 7.3
os:
- linux
install:
- cp app/config/parameters-docker.yml app/config/parameters.yml
- composer install
- npm install
#JS tools installed by npm required for validation only, not for app execution or development
script: vendor/bin/phing -f phing.xml test-all
branches:
... |
Update Travis CI testing php/symfony versions and environments | language: php
php:
- 5.3
- 5.4
before_script:
- composer install
script: phpunit
notifications:
email:
- vincent.composieux@gmail.com
| language: php
php:
- 5.3
- 5.4
- 5.5
- hhvm
env:
- SYMFONY_VERSION=2.2.*
- SYMFONY_VERSION=2.3.*
- SYMFONY_VERSION=2.4.*
- SYMFONY_VERSION=dev-master
before_script:
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-source
- composer install --dev --prefer-source
script: phpunit
not... |
Build against MRI 1.9.3, and MRI 2.0.0 | language: ruby
rvm:
- 2.0.0
- 1.9.3
- jruby-19mode
- rbx-19mode
| language: ruby
rvm:
- 2.0.0
- 1.9.3
|
Test on Node 6 and 8 | language: node_js
node_js:
- "4"
- "6"
- "7"
dist: trusty
sudo: required
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
script: xvfb-run npm test
| language: node_js
node_js:
- "6"
- "8"
dist: trusty
sudo: false
addons:
firefox: latest
chrome: stable
script: xvfb-run npm test
|
Remove tip test. It fails on a "go get", which appears unrelated. | language: go
sudo: false
os:
- linux
- osx
go:
- 1.4
- 1.5
- tip
install:
- go get ./...
- go get -u github.com/golang/lint/golint
- go get -u golang.org/x/tools/cmd/goimports
script:
- go vet ./...
- diff <(goimports -d .) <(printf "")
- diff <(golint ./...) <(printf "")
- go test -v -cpu=2 ./...... | language: go
sudo: false
os:
- linux
- osx
go:
- 1.4
- 1.5
install:
- go get ./...
- go get -u github.com/golang/lint/golint
- go get -u golang.org/x/tools/cmd/goimports
script:
- go vet ./...
- diff <(goimports -d .) <(printf "")
- diff <(golint ./...) <(printf "")
- go test -v -cpu=2 ./...
- go t... |
Remove Puppet 3.7 from test matrix | ---
sudo: false
language: ruby
gemfile: .gemfile
matrix:
fast_finish: true
include:
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.7.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.8.0"
- rvm: 2.1.5
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.1.5
env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
... | ---
sudo: false
language: ruby
gemfile: .gemfile
matrix:
fast_finish: true
include:
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.8.0"
- rvm: 2.1.5
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.1.5
env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
- rvm: 2.1.6
env: PUPPET_GEM_VERSION="~> 4.0" ST... |
Remove node.js 0.10 from CI | sudo: false
language: node_js
node_js:
- iojs
- "0.12"
- "0.10"
| sudo: false
language: node_js
node_js:
- iojs
- "0.12"
|
Add Node.js 13 back for testing | language: node_js
node_js:
- '12'
- '10'
after_success:
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
| language: node_js
node_js:
- '13'
- '12'
- '10'
after_success:
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
|
Test on Ruby 2 patched versions | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.5
- ruby-head
- jruby-19mode
notifications:
recipients:
- weppos@weppos.net
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-19mode
include:
- rvm: 1.9.2
gemfile: Gemfile.ruby-1.9.2
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
- jruby-19mode
notifications:
recipients:
- weppos@weppos.net
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-19mode
include:
- rvm: 1.9.2
gemfile: Gemfile.ruby-1.9.2
|
Revert "Attempt to fix CI error." | # This is the simple Travis configuration, which is intended for use
# on applications which do not require cross-platform and
# multiple-GHC-version support. For more information and other
# options, see:
#
# https://docs.haskellstack.org/en/stable/travis_ci/
#
# Copy these contents into the root directory of your Git... | # This is the simple Travis configuration, which is intended for use
# on applications which do not require cross-platform and
# multiple-GHC-version support. For more information and other
# options, see:
#
# https://docs.haskellstack.org/en/stable/travis_ci/
#
# Copy these contents into the root directory of your Git... |
Update required ruby version >= 2.0. | language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.0
- 2.1
- 2.2.4
- jruby-9.0.4.0
- rbx-2
cache: bundler
sudo: false
| language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.0
- 2.1
- 2.2.4
- jruby-9.0.4.0
- rbx-2
cache: bundler
sudo: false
matrix:
allow_failures:
- rvm: rbx-2
|
Remove the statement to install the latest stable version of CMake | language: c
os: linux
dist: trusty
compiler:
- gcc
- clang
before_script:
- eval "$(curl -sL https://github.com/odaceo/script-ubuntu-cmake/raw/master/install.sh)"
- mkdir build
- cd build
- cmake ..
script:
- make
- ./hello Odaceo
deploy:
provider: bintray
file: bintray.jso... | language: c
os: linux
dist: trusty
compiler:
- gcc
- clang
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make
- ./hello Odaceo
deploy:
provider: bintray
file: bintray.json
user: ${BINTRAY_USER}
key: ${BINTRAY_PASS}
|
Test on PHP 7.4 + polish test calls | language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
git:
depth: 1
php:
- "7.2"
- "7.3"
before_install:
- composer self-update --stable
- composer require php-coveralls/php-coveralls
- composer global require ergebnis/composer-normalize bamarni/composer-bin... | language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
git:
depth: 1
php:
- "7.2"
- "7.4"
before_install:
- composer self-update --stable
- composer require php-coveralls/php-coveralls --no-suggest
- composer global require ergebnis/composer-normalize bamarni... |
Test on CPython 3.6 too | language: python
sudo: false
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
- SPHINX=1.3.6
- SPHINX=1.4.9
- SPHINX=1.5.3
notifications:
email: false
irc: "irc.iiens.net#Clicky"
branches:
only:
- master
install:
- "pip install sphinx-testing" # required for tests
- "pip install Sphinx... | language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
env:
- SPHINX=1.3.6
- SPHINX=1.4.9
- SPHINX=1.5.3
notifications:
email: false
irc: "irc.iiens.net#Clicky"
branches:
only:
- master
install:
- "pip install sphinx-testing" # required for tests
- "pip install Sphinx... |
Remove opendk as it's not present | language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
- openjdk8
install: make travis-install
script: make test
| language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
install: make travis-install
script: make test
|
Test with latest Ruby versions | language: ruby
sudo: false
cache: bundler
rvm:
- 2.4.1
- 2.3.4
- 2.2.7
- jruby-1.7.20
- jruby-9.1.7.0
env:
global:
- JRUBY_OPTS="--debug"
after_success:
- bundle exec codeclimate-test-reporter
| dist: trusty
language: ruby
sudo: false
cache: bundler
rvm:
- 2.4.2
- 2.3.5
- 2.2.8
- jruby-1.7.26
- jruby-9.1.14.0
env:
global:
- JRUBY_OPTS="--debug"
after_success:
- bundle exec codeclimate-test-reporter
|
Build documentation and push to rust-ci.org. | language: rust
script:
- cargo build --verbose
- cargo test --verbose
git:
submodules: false
| language: rust
env:
global:
- secure: UrfyF0tL8x+8LqF/ordeqsqnNid34gm1dxb3aheszpdJaExKtelO7VNjTC/pvXgasEfOfSKcqBC9Xrgl5dEkjIRq0nrDio7Mb4Ev1MeXwZZeEso/Nn2Hx8U5xvvYtTkWNy4TxRoew82KeTm6cbVNokf/kLMeRvT1QTeuiacZffk=
script:
- cargo build --verbose
- cargo test --verbose
- cargo doc --verbose
git:
submodules: f... |
Fix script according to UnitTesting example | os:
- linux
- osx
sudo: required
env:
global:
- PACKAGE="MarkdownTOC"
matrix:
- SUBLIME_TEXT_VERSION="3"
before_install:
- curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh
- sudo pip install codecov coverage
install:
- sh travis.sh boot... | os:
- linux
- osx
sudo: required
env:
global:
- PACKAGE="MarkdownTOC"
matrix:
- SUBLIME_TEXT_VERSION="3"
before_install:
- curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh
- sudo pip install codecov coverage
install:
- sh travis.sh boot... |
Use scm version of lua-ev | language: c
env:
- LUA="Lua 5.1"
- LUA="Lua 5.2"
- LUA="LuaJIT 2.0"
before_install:
- bash .travis_setup.sh
install:
- sudo luarocks make
- sudo apt-get update -qq
- sudo apt-get install -qq libev-dev
- sudo luarocks install lua-ev
- sudo luarocks install copas
- sudo luarocks install moonscript
... | language: c
env:
- LUA="Lua 5.1"
- LUA="Lua 5.2"
- LUA="LuaJIT 2.0"
before_install:
- bash .travis_setup.sh
install:
- sudo luarocks make
- sudo apt-get update -qq
- sudo apt-get install -qq libev-dev
- sudo luarocks install lua-ev scm --server=http://luarocks.org/repositories/rocks-scm/
- sudo lua... |
Add node 14 / 15 | language: node_js
node_js:
- "13"
- "12"
- "10"
| language: node_js
node_js:
- "15"
- "14"
- "13"
- "12"
- "10"
|
Add dev build of Flask to matrix | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
matrix:
allow_failures:
- python: 'nightly'
- env: DEP="Flask==0.10"
- env: DEP="Flask==1.0.3"
- env: DEP="Flask==1.1"
env:
- DEP="Flask==0.10"
- DEP="Flask==0.11"
- DEP="Flask==0.12"
- DEP="Flask==1.0"
... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
matrix:
allow_failures:
- python: 'nightly'
- env: DEP="Flask==0.10"
- env: DEP="Flask==1.0.3"
- env: DEP="Flask==1.1"
- env: DEP="Flask==dev"
env:
- DEP="Flask==0.10"
- DEP="Flask==0.11"
- DEP="Flask==... |
Switch back to version 27.0.3 of build tools | language: android
env:
global:
- ADB_INSTALL_TIMEOUT=8 # 8 minutes (2 minutes by default)
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-27
- android-22
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
... | language: android
env:
global:
- ADB_INSTALL_TIMEOUT=8 # 8 minutes (2 minutes by default)
android:
components:
- tools
- platform-tools
- build-tools-27.0.3
- android-27
- android-22
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
... |
Tweak south requirement becuase of south 1.0 and python 3 issues | language: python
python:
- "2.7"
- "2.6"
- "3.3"
- "3.4"
env:
- DJANGO_VERSION=1.6
- DJANGO_VERSION=1.7
# Django 1.7 doesn't support python 2.6, so explicitly exclude that
matrix:
exclude:
- python: "2.6"
env: DJANGO_VERSION=1.7
# command to install dependencies,
install:
# Install... | language: python
python:
- "2.7"
- "2.6"
- "3.3"
- "3.4"
env:
- DJANGO_VERSION=1.6
- DJANGO_VERSION=1.7
# Django 1.7 doesn't support python 2.6, so explicitly exclude that
matrix:
exclude:
- python: "2.6"
env: DJANGO_VERSION=1.7
# command to install dependencies,
install:
# Install... |
Consolidate pylint calls to where there are differences | # Enables support for a docker container-based build
# which should provide faster startup times and beefier
# "machines". This is also required in order to use the
# cache configured below.
sudo: false
language: python
cache: pip
python:
- "3.4"
before_install:
- pip install --upgrade pip pylint
- pip instal... | # Enables support for a docker container-based build
# which should provide faster startup times and beefier
# "machines". This is also required in order to use the
# cache configured below.
sudo: false
language: python
cache: pip
python:
- "3.4"
before_install:
- pip install --upgrade pip pylint
- pip instal... |
Stop testing on MRI and JRuby HEAD | sudo: required
services:
- docker
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- jruby-9.2.9.0
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
# Doesn't currently work with MRI 2.5.1: https://github.com/travis-ci/travis-ci/issues/8978
# cache: bu... | sudo: required
services:
- docker
language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- jruby-9.2.9.0
# Doesn't currently work with MRI 2.5.1: https://github.com/travis-ci/travis-ci/issues/8978
# cache: bundler
script: bundle exec rake test
|
Use the same PostgreSQL on Travis than on OpenShift | language: node_js
node_js:
- "5.4"
env:
- "PGHOST=localhost PGPORT=5432 PGUSER=postgres"
before_script:
- "createdb mayhemTest"
notifications:
email: false
| language: "node_js"
node_js:
- "5.4"
addons:
postgresql: "9.2"
services:
- "postgresql"
env:
- "PGHOST=localhost PGPORT=5432 PGUSER=postgres"
before_script:
- "createdb mayhemTest"
notifications:
email: false
|
Update the matrix of kitchen runs | 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-centos-71
# Don't `bundle install`
install: echo "skip bundle ... | 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=connectors-centos-71
- INSTANCE=mysql56-centos-71
- INSTANCE=mysql5... |
Change default branch to source in order to properly build | language: ruby
rvm:
- 2.3.1
install:
- bundle install
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: _site
on:
branch: master
| language: ruby
rvm:
- 2.3.1
install:
- bundle install
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: _site
target_branch: master
on:
branch: source
|
Add tests with Java 9 and Leiningen 2.8.0. | language: clojure
lein: lein
cache:
directories:
- $HOME/.m2
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
env:
matrix:
- VERSION='1.7'
- VERSION='1.8'
- VERSION='1.9'
script: lein with-profile dev,$VERSION test
after_success:
- CLOVERAGE_VERSION=1.0.9 lein cloverage -e '^cljam.main' --codecov
... | language: clojure
lein: 2.8.0
cache:
directories:
- $HOME/.m2
jdk:
- oraclejdk9
- oraclejdk8
- openjdk7
env:
matrix:
- VERSION='1.7'
- VERSION='1.8'
- VERSION='1.9'
script: lein with-profile dev,$VERSION test
after_success:
- CLOVERAGE_VERSION=1.0.9 lein cloverage -e '^cljam.main' --codecov
... |
Install dev dependencies for Travis CI | language: php
php:
- 5.3
- 5.4
env:
- MONGO_VERSION=1.2.12
before_script:
- wget http://pecl.php.net/get/mongo-${MONGO_VERSION}.tgz
- tar -xzf mongo-${MONGO_VERSION}.tgz
- sh -c "cd mongo-${MONGO_VERSION} && phpize && ./configure && make && sudo make install"
- echo "extension=mongo.so" >> `php --ini |... | language: php
php:
- 5.3
- 5.4
env:
- MONGO_VERSION=1.2.12
before_script:
- wget http://pecl.php.net/get/mongo-${MONGO_VERSION}.tgz
- tar -xzf mongo-${MONGO_VERSION}.tgz
- sh -c "cd mongo-${MONGO_VERSION} && phpize && ./configure && make && sudo make install"
- echo "extension=mongo.so" >> `php --ini |... |
Test with latest Ruby versions | language: ruby
cache: bundler
sudo: false
rvm:
- 2.6.1
- 2.5.3
- 2.4.5
- ruby-head
- jruby-9.2.5.0
before_install:
- gem update --system
- gem install bundler --no-document
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- ... | language: ruby
cache: bundler
sudo: false
rvm:
- 2.6.2
- 2.5.5
- 2.4.5
- ruby-head
- jruby-9.2.5.0
before_install:
- gem update --system
- gem install bundler --no-document
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- ... |
Revert "Updated Travis config with JDK 10 builds" until test failures can be resolved | language: java
jdk:
- openjdk7
- oraclejdk8
- openjdk8
- oraclejdk10
- openjdk10
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 6.3.0
- JAVA_HOME=$(jdk_switcher home... | language: java
jdk:
- oraclejdk8
- openjdk7
- openjdk8
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 6.3.0
- JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes t... |
Test against node_js 4.2 (LTS) | language: node_js
node_js:
- "0.12"
env:
global:
- SAUCE_USERNAME=aidaskk
- SAUCE_ACCESS_KEY=6e96b47e-6665-4f69-beaa-085e5d5b6b9b
addons:
sauce_connect: true
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install --quiet -g grunt-cli karma
- npm install
script:
- grunt ka... | language: node_js
node_js:
- "4.2"
env:
global:
- SAUCE_USERNAME=aidaskk
- SAUCE_ACCESS_KEY=6e96b47e-6665-4f69-beaa-085e5d5b6b9b
addons:
sauce_connect: true
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install --quiet -g grunt-cli karma
- npm install
script:
- grunt kar... |
Fix syntax for Ruby 2.0 version for Travis. | language: ruby
os:
- linux
- osx
rvm:
- 2.0.0p598
- 2.1.5
- 2.2.2
- ruby-head
script:
- bundle exec mspec -fd -t ruby
matrix:
allow_failures:
- os: osx
rvm: ruby-head
| language: ruby
os:
- linux
- osx
rvm:
- 2.0.0-p598
- 2.1.5
- 2.2.2
- ruby-head
script:
- bundle exec mspec -fd -t ruby
matrix:
allow_failures:
- os: osx
rvm: ruby-head
|
Test on proper Rubies in CI | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx-19mode
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
before_install:
- sudo apt-get install libpcre3 libpcre3-dev
notifications:
irc: "irc.freenode.org#adhearsion"
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby
- rbx
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
before_install:
- sudo apt-get install libpcre3 libpcre3-dev
notifications:
irc: "irc.freenode.org#adhearsion"
|
Test Django 1.5 and 1.6. | # Tell Travis you want a Python environment to test in
language: python
# List the versions of Python you'd like to test against
python:
- "2.6"
- "2.7"
# List the versions of Django you'd like to test against
env:
- DJANGO_VERSION=1.3.1
- DJANGO_VERSION=1.4
install:
# Travis is currently working... | # Tell Travis you want a Python environment to test in
language: python
# List the versions of Python you'd like to test against
python:
- "2.6"
- "2.7"
# List the versions of Django you'd like to test against
env:
- DJANGO_VERSION=1.3.1
- DJANGO_VERSION=1.4
- DJANGO_VERSION=1.5
- DJANGO_VERSION=... |
Add code climate secure token | language: ruby
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
| language: ruby
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
addons:
code_climate:
repo_token:
secure: "T/ed9UsO4PC2xSkcUeGouNbXgudO3ZsWRut3kL0Pcwci9S8yP8RxVD4I70xBeQhxM1jp4YF+1Mmyp49qM+0RClp1Zt5Q7JvYErhaCZQ69lpB4+EWkrGMbzPCK38hAlCdD8EZu5kbIKyXcvvpsVx8R8jMk/AhoJh9eLaOBdd/Wd8="
|
Move codecov script to after script instead of after success | language: objective-c
osx_image: beta-xcode6.3
script:
- xctool test -project SmartDeviceLink-iOS/SmartDeviceLink-iOS.xcodeproj -scheme SmartDeviceLink -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
notifications:
emai... | language: objective-c
osx_image: beta-xcode6.3
notifications:
email: false
before_script:
- brew update
- brew outdated xctool || brew upgrade xctool
script:
- xctool test -project SmartDeviceLink-iOS/SmartDeviceLink-iOS.xcodeproj -scheme SmartDeviceLink -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO RUN_CLANG_STA... |
Update the macOS image used | ### Project specific config ###
language: objective-c
env:
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
install:
- brew update
- brew outdated swiftlint || brew upgrade swiftlint
### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
... | ### Project specific config ###
language: objective-c
osx_image: xcode8.2
env:
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
install:
- brew update
- brew outdated swiftlint || brew upgrade swiftlint
### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/mast... |
Simplify tests by using 'make all' | script: cd src && make
language: c
compiler:
- clang
- gcc
os:
- linux
- os
addons:
apt:
packages:
- graphviz
script:
- cd src
- make
- make test
- make jpg
| script: cd src && make
language: c
compiler:
- clang
- gcc
os:
- linux
- os
addons:
apt:
packages:
- graphviz
script:
- cd src
- make all
|
Switch to Travis's container infra. | language: python
env:
- RASTERIO_VERSION=0.26.0
python:
- "2.7"
- "3.4"
cache:
directories:
- $HOME/.pip-cache/
- $HOME/wheelhouse
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update -qq
- sudo apt-get install -y libgdal1h gdal-bin
- curl -L https://github.com/ma... | sudo: false
language: python
env:
- RASTERIO_VERSION=0.26.0
addons:
apt:
packages:
- libgdal1h
- gdal-bin
python:
- "2.7"
- "3.4"
cache:
directories:
- $HOME/.pip-cache/
- $HOME/wheelhouse
before_install:
- curl -L https://github.com/mapbox/rasterio/releases/download/$RASTERIO_VERSIO... |
Remove the create db from scrapi for now | language: python
sudo: false
python:
- "2.7"
- "3.4"
services:
- cassandra
- elasticsearch
- postgres
addons:
postgresql: "9.4"
install:
- pip install -r dev-requirements.txt
- pip install coveralls
- cp scrapi/settings/travis-dist.py scrapi/settings/local.py
before_script:
- flake8 .
- p... | language: python
sudo: false
python:
- "2.7"
- "3.4"
services:
- cassandra
- elasticsearch
- postgres
addons:
postgresql: "9.4"
install:
- pip install -r dev-requirements.txt
- pip install coveralls
- cp scrapi/settings/travis-dist.py scrapi/settings/local.py
before_script:
- flake8 .
# - ... |
Revert "Use 'make' instead of direct call to test binaries" | language: cpp
compiler:
- clang
- gcc
env:
matrix:
- CC=clang
- CC=gcc
notifications:
irc:
channels:
- "irc.freenode.net#nupic-hackers"
webhooks: http://issues.numenta.org:8081/travis
before_install:
- if [ "$CC" = "gcc" ]; then export CXX=g++; fi
- if [ "$CC" = "clang" ]; then expor... | language: cpp
compiler:
- clang
- gcc
env:
matrix:
- CC=clang
- CC=gcc
notifications:
irc:
channels:
- "irc.freenode.net#nupic-hackers"
webhooks: http://issues.numenta.org:8081/travis
before_install:
- if [ "$CC" = "gcc" ]; then export CXX=g++; fi
- if [ "$CC" = "clang" ]; then expor... |
Add Ruby 2.2.0 to CI build matrix | rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- 2.1.5
- ruby-head
- jruby-19mode # JRuby in 1.9 mode
- rbx
| rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.0
- ruby-head
- jruby-19mode # JRuby in 1.9 mode
- rbx
|
Switch to the docker-based infrastructure on Travis | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
# run build against php 7.0 but allow them to fail
# http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail
matrix:
fast_finish: true
allow_failures:
- php: 7.0
before_script:
- composer update
script: phpunit
| language: php
sudo: false
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
# run build against php 7.0 but allow them to fail
# http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail
matrix:
fast_finish: true
allow_failures:
- php: 7.0
before_script:
- composer update
scri... |
Enable Python 3.5 on Travis. | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- pypy
sudo: false
install:
- "pip install ."
- "pip install -r test_requirements.txt"
- "pip install flake8"
before_script: "flake8 --max-complexity 10 h2 test"
script:
- >
if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then
py.test test/
... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- pypy
sudo: false
install:
- "pip install ."
- "pip install -r test_requirements.txt"
- "pip install flake8"
before_script: "flake8 --max-complexity 10 h2 test"
script:
- >
if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then
py.test t... |
Add PHP versions to Travis build | language: php
php:
- 5.5
before_script:
- composer selfupdate
- composer install --prefer-dist -o
| language: php
php:
- 5.5
- 5.6
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: hhvm
- php: hhvm-nightly
before_script:
- composer selfupdate
- composer install --prefer-dist -o
|
Update build env from OS X 10.11 to 10.12 | os: osx
osx_image: xcode8
env:
- COLUMNS=240
install:
- brew update
- brew install advancecomp
- brew install gdk-pixbuf --without-modules --with-included-loaders="png,jpeg"
- brew install harfbuzz --without-graphite2
- brew install vips --with-webp --with-jpeg-turbo --without-fftw --without-poppler
- bre... | os: osx
osx_image: xcode8.3
env:
- COLUMNS=240
install:
- brew update
- brew install advancecomp
- brew install gdk-pixbuf --without-modules --with-included-loaders="png,jpeg"
- brew install harfbuzz --without-graphite2
- brew install vips --with-webp --with-jpeg-turbo --without-fftw --without-poppler
- b... |
Build against Java 1.6 in Travis | language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
script:
- gradle clean test jar
| language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
script:
- gradle clean test jar
|
Switch to xenial as being a more modern platform. | # force run: 1
language: c
compiler:
- clang
- gcc
python:
- "2.7"
sudo: required
before_install:
# - sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
- sudo -H PATH="${PATH}:/usr/local/clang-3.4/bin" pip install -r requirements.txt
- sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
# - su... | # force run: 1
dist: xenial
language: c
compiler:
- clang
- gcc
python:
- "2.7"
sudo: required
before_install:
# - sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
- sudo -H PATH="${PATH}:/usr/local/clang-3.4/bin" pip install -r requirements.txt
- sudo -H DEBIAN_FRONTEND=noninteractive apt-get upd... |
Correct typo in Travis CI before script | language: ruby
cache: bundler
before_script:
- - psql -c 'create database speakerlin_test;' -U postgres
| language: ruby
cache: bundler
before_script:
- psql -c 'create database speakerline_test;' -U postgres
|
Revert "Install latest Firefox version via addon" | language: node_js
node_js:
- stable
sudo: false
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --browsers=Firefox
- codeclimate-test-reporter < coverage/*/... | language: node_js
node_js:
- stable
sudo: false
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --browsers=Firefox
- codeclimate-test-reporter < coverage/*/... |
Fix regexp to match branch | language: bash
before_deploy:
- docker pull ajnasz/hook-deploy
deploy:
- provider: script
script: docker run --rm -v /etc/ssl/certs:/etc/ssl/certs:ro -e SERVER_URL="https://scm.koszti.hu" -e HOOK_JOB="scrum-poker" -e HOOK_TOKEN="$HOOK_TOKEN" -e CI_COMMIT_SHA="$TRAVIS_COMMIT" ajnasz/hook-deploy
branches:
... | language: bash
before_deploy:
- docker pull ajnasz/hook-deploy
deploy:
- provider: script
script: docker run --rm -v /etc/ssl/certs:/etc/ssl/certs:ro -e SERVER_URL="https://scm.koszti.hu" -e HOOK_JOB="scrum-poker" -e HOOK_TOKEN="$HOOK_TOKEN" -e CI_COMMIT_SHA="$TRAVIS_COMMIT" ajnasz/hook-deploy
branches:
... |
Add ruby 2.3 to the test matrix | sudo: false
cache: bundler
language: ruby
rvm:
- 2.1
- 2.2
script:
- RAILS_ENV=test bundle exec rake --trace db:create db:migrate
- bundle exec rspec
- bundle exec rubocop
| sudo: false
cache: bundler
language: ruby
rvm:
- 2.1
- 2.2
- 2.3
script:
- RAILS_ENV=test bundle exec rake --trace db:create db:migrate
- bundle exec rspec
- bundle exec rubocop
|
Use Node 4.1 on Travis | ---
language: node_js
node_js:
- 0.12
| ---
language: node_js
node_js:
- 4.1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- export CXX='g++-4.8'
- npm install -g npm
|
Use the pip install method on Travis CI, too. | dist: xenial
language: python
branches:
except:
- gh-pages
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
- python setup.py install
- pip install pytest pytest-cov pytest-pycodestyle
script:
- py.test -vvv --pycodestyle --cov=pcapng --cov-report=term-missing tests
| dist: xenial
language: python
branches:
except:
- gh-pages
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
- pip install .[dev]
script:
- py.test -vvv --pycodestyle --cov=pcapng --cov-report=term-missing tests
|
Verify successful compilation of examples with Travis CI | sudo: false
language: d
os:
- linux
d:
- dmd-2.068.0
addons:
apt:
packages:
- gcc-multilib
notifications:
email: false
env:
global:
secure: Hi3gL0DN+PHupzzb+fA7r7uklB/Gc7qFYVlvmEGvIKf8q4uMq/lpA3RK7WziYQij8m6WhpLNy3CzKC/ydI6yu17DBi07MKCZ4kJ7yINFxyL03qtxYA1vsFgLsaaOvzvOEs1KHiVNLAI7h0KQPPA5YS+cMx... | sudo: false
language: d
os:
- linux
d:
- dmd-2.068.0
addons:
apt:
packages:
- gcc-multilib
notifications:
email: false
env:
global:
secure: Hi3gL0DN+PHupzzb+fA7r7uklB/Gc7qFYVlvmEGvIKf8q4uMq/lpA3RK7WziYQij8m6WhpLNy3CzKC/ydI6yu17DBi07MKCZ4kJ7yINFxyL03qtxYA1vsFgLsaaOvzvOEs1KHiVNLAI7h0KQPPA5YS+cMx... |
Stop using Travis trusty and downgrade to pg 9.4 | language: java
jdk:
- oraclejdk8
sudo: false
dist: trusty
services:
- postgresql
addons:
postgresql: "9.6"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/... | language: java
jdk:
- oraclejdk8
# dist: trusty
# sudo: required
services:
- postgresql
addons:
postgresql: "9.4"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/w... |
Change node_js version to 5.10.1 | sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
script:
- npm test
after_success:
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
| sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '5.10.1'
before_install:
- npm i -g npm
before_script:
- npm prune
script:
- npm test
after_success:
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
Remove hhvm-nightly from Travis CI | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
before_script:
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/coveralls -v
matrix:
allow_failures:
- php: hhvm-nightly
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/coveralls -v
matrix:
allow_failures:
- php: hhvm-nightly
|
Add the on tag command. | language: objective-c
osx_image: xcode7.3
before_install:
- gem install xcpretty -N --no-ri --no-rdoc
script:
- set -o pipefail
- xcodebuild clean test -workspace Example/AirRivet.xcworkspace -scheme AirRivet-Example -destination "platform=iOS Simulator,name=iPhone 6 Plus" -enableCodeCoverage YES | xcpret... | language: objective-c
osx_image: xcode7.3
before_install:
- gem install xcpretty -N --no-ri --no-rdoc
script:
- set -o pipefail
- xcodebuild clean test -workspace Example/AirRivet.xcworkspace -scheme AirRivet-Example -destination "platform=iOS Simulator,name=iPhone 6 Plus" -enableCodeCoverage YES | xcpret... |
Add requirements to the test runner. | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
# command to run tests, e.g. python setup.py test
script:
- pip install flake8
- python setup.py test
- flake8 .
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install: "pip install -r requirements_dev.txt"
# command to run tests, e.g. python setup.py test
script:
- python setup.py test
- flake8 .
|
Use whatever npm version is bundled with node by default | sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
- '5'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run coveralls
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
| sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
- '5'
before_script:
- npm prune
after_success:
- npm run coveralls
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
Remove docutils 0.11 from tests | language: python
sudo: false
cache:
directories:
- $HOME/.cache/pip
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
- "pypy"
env:
global:
- TEST=-v
matrix:
- DOCUTILS=0.11
- DOCUTILS=0.12
- DOCUTILS=0.13.1
- DOCUTILS=0.14
matrix:
exclude:
- python: "3.4"
env: ... | language: python
sudo: false
cache:
directories:
- $HOME/.cache/pip
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
- "pypy"
env:
global:
- TEST=-v
matrix:
- DOCUTILS=0.12
- DOCUTILS=0.13.1
- DOCUTILS=0.14
matrix:
exclude:
- python: "3.4"
env: DOCUTILS=0.12
- ... |
Drop extension creation from tests since a migration should do it now | language: python
cache:
- pip
python:
- "2.7"
- "3.5"
- "3.6"
addons:
postgresql: "9.6"
env:
- DJANGO_VERSION=1.10.*
- DJANGO_VERSION=1.11.*
install:
- pip install -r requirements.txt --no-binary opencivicdata
- pip uninstall -y Django
- pip install -q Django==$DJANGO_VERSION
before_script:
- cp examp... | language: python
cache:
- pip
python:
- "2.7"
- "3.5"
- "3.6"
addons:
postgresql: "9.6"
env:
- DJANGO_VERSION=1.10.*
- DJANGO_VERSION=1.11.*
install:
- pip install -r requirements.txt --no-binary opencivicdata
- pip uninstall -y Django
- pip install -q Django==$DJANGO_VERSION
before_script:
- cp examp... |
Add Python 3.7 to Travis' build matrix. | language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libmagic-dev
install:
- python setup.py build --enable-magic --enable-dotnet
- python setup.py install
script:
- python tests.py
| language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "pypy"
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libmagic-dev
install:
- python setup.py build --enable-magic --enable-dotnet
- python setup.py install
script:
- python tests.py
|
Remove env variables from Travis config | language: node_js
node_js:
- '0.10'
env:
matrix:
- USE_CLOUD=1
global:
- secure: qdlJz51Hmrg8NIvPmkFI1EwX2qPUKC4Qpw9CupsDUmZLoAxMyMbhtkqXREU94KE8lvqAaQaCajaOmKiA8CKOOy3jX7jc+JOnuYdFpRYEwQs5uuMhFM1dAUbqVlUhpNV/Q6Vizcbr2GequBFssJSfwMGt66cWA/pgcnj9AfPNLXU=
- secure: gf/gbbVhJKfD3wSsK2PYEcHz0CfLtIYcVXUT/WJVMf7utB... | language: node_js
node_js:
- '0.10'
sudo: false
before_script:
- wget http://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip
- unzip BrowserStackLocal-linux-x64.zip
- ./BrowserStackLocal $BROWSER_STACK_ACCESS_KEY localhost,8001,0 > /dev/null &
- sleep 10
branches:
except:
- latest
- /^... |
Allow failures in coverage report | language: node_js
script: npm run coverage && cat ./coverage/lcov.info | coveralls
node_js:
- "0.10"
- "0.12"
matrix:
fast_finish: true
| language: node_js
after_success: npm run coverage && cat ./coverage/lcov.info | coveralls
node_js:
- "0.10"
- "0.12"
matrix:
fast_finish: true
|
Stop building against Ruby 2 | branches: master
gemfile:
- gemfiles/rails30.gemfile
- gemfiles/rails31.gemfile
- gemfiles/rails32.gemfile
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-head
before_script:
- unset RAILS_ENV
- unset RACK_ENV
| branches: master
gemfile:
- gemfiles/rails30.gemfile
- gemfiles/rails31.gemfile
- gemfiles/rails32.gemfile
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
before_script:
- unset RAILS_ENV
- unset RACK_ENV
|
Fix CI module caching for npm versions older than 2.6.1 | sudo: false
language: node_js
node_js:
- 7
- 6
- 5
- 4
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
install:
- npm update
- npm run postinstall
- npm prune
cache:
directories:
- node_modules
after_success:
- npm run ci
| sudo: false
language: node_js
node_js:
- 7
- 6
- 5
- 4
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
install:
- npm install
- npm prune
cache:
directories:
- node_modules
after_success:
- npm run ci
|
Update Travis config with newer node version | language: node_js
node_js:
- "8"
script:
- npm run test
- npm run lint
| language: node_js
node_js:
- "10"
script:
- npm run test
- npm run lint
|
Create a new iOS simulator device before running the Travis tests | language: objective-c
matrix:
include:
- osx_image: xcode8.1
- osx_image: xcode8.2
script:
- "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-iOS -sdk iphonesimulator -destination \"platform=iOS Simulator,name=iPhone 6\" test"
- "xcodebuild -workspace Guanaco.xcworkspace -scheme Guanaco-OSX te... | language: objective-c
matrix:
include:
- osx_image: xcode8.1
- osx_image: xcode8.2
# Create a new simulator device and reference it by id to avoid the following errors:
# "The requested device could not be found because no available devices matched the request."
# "The requested device could not be found b... |
Remove golang 1.7 from CI test matrix | sudo: false
language: go
go:
- 1.7.x
- tip
script:
- make
| sudo: false
language: go
go:
- 1.8
- tip
script:
- make
|
Deploy only on PHP 5.6. | language: php
# PHP versions
php:
- 5.6
- 7.0
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $COMPOSER_CACHE_DIR
# update composer it-self
install:
- composer self-update
# install package
before_script:
- phpenv config-rm xdebug.ini
... | language: php
# PHP versions
php:
- 5.6
- 7.0
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $COMPOSER_CACHE_DIR
# update composer it-self
install:
- composer self-update
# install package
before_script:
- phpenv config-rm xdebug.ini
... |
Use quicker install phase for Travis CI | env:
_JAVA_OPTIONS="-Xms1G -Xmx4G"
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
script:
- mvn clean verify
notifications:
irc: "chat.freenode.net#io7m"
| env:
_JAVA_OPTIONS="-Xms1G -Xmx4G"
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
install: true
script:
- mvn clean verify
notifications:
irc: "chat.freenode.net#io7m"
|
Allow Rubinius failures, at least for 1.99. | language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.0
- 2.1
- 2.2.4
- jruby-9.0.4.0
- rbx-2
cache: bundler
sudo: false
| language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.0
- 2.1
- 2.2.4
- jruby-9.0.4.0
- rbx-2
cache: bundler
sudo: false
matrix:
allow_failures:
- rvm: rbx-2
|
Test against jruby 2.0 mode | language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-19mode
- rbx-19mode
gemfile:
- gemfiles/activesupport3.gemfile
- gemfiles/activesupport4.gemfile
| language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-19mode
- jruby-20mode
- rbx-19mode
gemfile:
- gemfiles/activesupport3.gemfile
- gemfiles/activesupport4.gemfile
|
Add IRC notifications from Travis | rvm:
- 1.9.3 | rvm:
- 1.9.3
notifications:
recipients:
- jari.bakken@gmail.com
irc: "irc.freenode.net#holderdeord" |
Add allowed to fail tests for officially unsupported python versions | language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
cache: pip
notifications:
email:
- thierryschellenbach@gmail.com
- tbarbugli@gmail.com
install:
- pip install -r dev_requirements.txt
script:
- py.test stream/tests.py -lv --cov stream --cov-report term-missing
after_script:
# ensure ... | language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
# These are allowed to fail
- '3.5-dev' # 3.5 development branch
- '3.6-dev' # 3.6 development branch
- 'nightly' # currently points to 3.7-dev
- 'pypy'
- 'pypy3'
matrix:
allow_failures:
- python: '3.5-dev' # 3.5 development branch
... |
Test with Ruby 2.4.0 on Travis CI | language: ruby
sudo: false
before_install:
- gem update bundler
cache: bundler
rvm:
- 2.1
- 2.2
- 2.3.0
- jruby-9.0.0.0
notifications:
email: false
hipchat:
on_success: never
on_failure: change
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a h... | language: ruby
sudo: false
before_install:
- gem update bundler
cache: bundler
rvm:
- 2.1
- 2.2
- 2.3.0
- 2.4.0
- jruby-9.0.0.0
notifications:
email: false
hipchat:
on_success: never
on_failure: change
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{mess... |
Add support for latest python | language: python
python:
- "2.7"
- "3.3"
env:
- DJANGO=django==1.4.9
- DJANGO=https://github.com/django/django/archive/stable/1.6.x.zip
install:
- psql -c 'CREATE DATABASE orderable' -U postgres;
- pip install $DJANGO --use-mirrors
- pip install -r requirements.txt
- pip install -e .
script: "python ord... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
env:
- DJANGO=django==1.4.9
- DJANGO=https://github.com/django/django/archive/stable/1.6.x.zip
install:
- psql -c 'CREATE DATABASE orderable' -U postgres;
- pip install $DJANGO --use-mirrors
- pip install -r requirements.txt
- pip install -e .
script: "... |
Allow failures on JRuby builds | language: ruby
rvm:
- 1.9.3
- jruby-19mode
jdk:
- openjdk7
- oraclejdk7
matrix:
exclude:
- rvm: 1.9.3
jdk: openjdk7
script: ./run-integration-tests
before_install: sudo apt-get install librrd-dev
| language: ruby
rvm:
- 1.9.3
- jruby-19mode
jdk:
- openjdk7
- oraclejdk7
matrix:
exclude:
- rvm: 1.9.3
jdk: openjdk7
allow_failures:
- rvm: jruby-19mode
script: ./run-integration-tests
before_install: sudo apt-get install librrd-dev
|
Fix Travis CI config file. | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
| language: ruby
script: bundle exec rake
services: mongodb
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- ree
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head |
Split into various scripts to get the build going. | language: node_js
node_js:
- 0.8
before_script: "jam install && grunt copy-deps"
test: "grunt jasmine"
after_script: "jam compile assets/require.js" | language: node_js
node_js:
- 0.8
install:
- "npm install -g jamjs grunt"
- "jam install"
before_script: "grunt copy-deps"
test: "grunt jasmine"
after_script:
- "grunt clean-deps"
- "jam compile assets/require.js" |
Add PHP 7, HHVM; enable Travis fast finish | language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
os:
- linux
before_script:
- git clone git://github.com/jedisct1/libsodium.git
- cd libsodium
- ./autogen.sh
- ./configure --disable-dependency-tracking --enable-minimal
- make
- sudo make install
- sudo /sbin/ldconfig
- cd ..
- rm -fr libsodium
script:
- ph... | language: php
php:
- "7.0"
- "5.6"
- "5.5"
- "5.4"
- "5.3"
- "hhvm"
sudo: false
matrix:
fast_finish: true
allow_failures:
- php: "7.0"
- php: "hhvm"
os:
- linux
before_script:
- git clone git://github.com/jedisct1/libsodium.git
- cd libsodium
- ./autogen.sh
- ./configure --disable-dependency-tracki... |
Remove `brew carthage install` step from Travis | language: generic
os: osx
osx_image: xcode8.1
branches:
only:
- master
before_install:
- export XCODEBUILD_PATH=$(which xcodebuild)
- export PATH=$PATH:$XCODEBUILD_PATH
- export PATH=$PATH:~/bin
- mkdir ~/go
- export GOPATH=~/go
- brew update
- brew install carthage
- gem install xcpretty --user-install -n~/bin
ins... | language: generic
os: osx
osx_image: xcode8.1
branches:
only:
- master
before_install:
- export XCODEBUILD_PATH=$(which xcodebuild)
- export PATH=$PATH:$XCODEBUILD_PATH
- export PATH=$PATH:~/bin
- mkdir ~/go
- export GOPATH=~/go
- brew update
- gem install xcpretty --user-install -n~/bin
install:
- xcrun simctl lis... |
Refactor scripts for collecting of a coverage | language: node_js
node_js:
- "0.10"
env:
global:
- GH_REF: github.com/eGavr/toc-md.git
- ISTANBUL_COVERAGE: true
after_success:
- npm i coveralls
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && echo "Coverage data was sent to coveralls!"
| language: node_js
node_js:
- "0.10"
script:
- npm test --coverage
after_success: cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls
|
Make pep8 ignore E501 (line too long) | language: python
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get -q -y install pep8 pylint
script:
- pep8 --show-source --show-pep8 run.py
- pylint run.py
| language: python
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get -q -y install pep8 pylint
script:
- pep8 --ignore=E501 --show-source --show-pep8 run.py
- pylint run.py
|
Revert "Replace outdated npm script vscode:prepublish" | language: node_js
sudo: false
node_js:
- "node"
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- npm install
- npm run compile
script:
- npm test --silent
after_success:
- bas... | language: node_js
sudo: false
node_js:
- "node"
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- npm install
- npm run vscode:prepublish
script:
- npm test --silent
after_succes... |
Update to Ruby 2.3.3 and add Ruby 2.4.0. | language: ruby
sudo: false
before_script:
- bundle update
cache: bundler
rvm:
- 1.9.3-p551
- 2.0.0-p648
- 2.1.10
- 2.2.6
- 2.3.2
- ruby-head
- jruby-1.7.26
- jruby-9.1.6.0
- jruby-head
- rbx-2.71828182
- rbx-3.29
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx... | language: ruby
sudo: false
before_script:
- bundle update
cache: bundler
rvm:
- 1.9.3-p551
- 2.0.0-p648
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
- ruby-head
- jruby-1.7.26
- jruby-9.1.6.0
- jruby-head
- rbx-2.71828182
- rbx-3.29
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
... |
Fix ruby version error on Travis | language: ruby
rvm:
- 2.1
- jruby
- rbx-2
before_install:
- rvm install ruby -v 2.2.0p0
#- rvm install binary
# uncomment and edit the following line if your project needs to run something other than `rake`:
# script: bundle exec rspec spec
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle ... | language: ruby
rvm:
- 2.1
- jruby
- rbx-2
before_install:
- rvm install ruby -v 2.3.0p0
#- rvm install binary
# uncomment and edit the following line if your project needs to run something other than `rake`:
# script: bundle exec rspec spec
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle ... |
Fix Travis build by re-adding the second cabal invocation | language: haskell
install:
- cabal install gtk2hs-buildtools
- cabal install --enable-tests --reinstall --force-reinstalls --solver=modular --constraint="mtl>=2.1.2" --constraint="containers>=0.5.2.1" --constraint="template-haskell>=2.7.0.0" --constraint="text>=0.11.2.3" --constraint="regex-posix>=0.95.2"
| language: haskell
install:
- cabal install gtk2hs-buildtools
- cabal install ConfigFile regex-posix regex-compat gtk --enable-tests --reinstall --force-reinstalls --constraint="mtl>=2.1.2" --constraint="containers>=0.5.2.1" --constraint="template-haskell>=2.7.0.0" --constraint="text>=0.11.2.3"
- cabal install --... |
Add PHP 7 to versions to test in Travis | language: php
env:
- SILEX_VERSION="~2.0"
before_script:
- travis_retry composer require silex/silex:${SILEX_VERSION}
- travis_retry composer install --dev --prefer-source
script: vendor/bin/phpunit
php:
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
| language: php
env:
- SILEX_VERSION="~2.0"
before_script:
- travis_retry composer require silex/silex:${SILEX_VERSION}
- travis_retry composer install --dev --prefer-source
script: vendor/bin/phpunit
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
matrix:
allow_failures:
- php: hhvm
|
Update Travis allowed failures for new matrix | language: python
install:
- pip install tox
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=cov
- TOX_ENV=flake8
script:
- tox -e $TOX_ENV
matrix:
fast_finish: true
allowed_failures:
- python: 3.3
- python: 3.4
| language: python
install:
- pip install tox
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=cov
- TOX_ENV=flake8
script:
- tox -e $TOX_ENV
matrix:
fast_finish: true
allowed_failures:
- env: TOX_ENV=py33
- env: TOX_ENV=py34
|
Remove lint check because test task does depend on it | language: android
dist: trusty
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - tools
# - platform-tools
# The BuildTools version used by your project
- build-tools-28.0.3
# The SDK version used to compile your project
... | language: android
dist: trusty
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - tools
# - platform-tools
# The BuildTools version used by your project
- build-tools-28.0.3
# The SDK version used to compile your project
... |
Add OS X support to Travis CI | language: cpp
sudo: required
compiler:
- gcc
before_install:
- lsb_release -a
- sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-add-repository -y ppa:beineri/opt-qt562
- sudo apt-get -qq update
- sudo apt-get -qq install g++-5 libc6-i386 qt56tools qt56base
- export CXX="g++-5"
- export... | language: cpp
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt562'
packages:
- g++-5
- libc6-i386
- qt56tools
- qt56base
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.