Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Install the freetds library for Travis build | language: java
jdk:
- openjdk7
- oraclejdk7
install:
- gem install bundler
- bundle install
- npm install coffee-script
- export PATH=$PATH:./node_modules/.bin
script: buildr clean package
| language: java
jdk:
- openjdk7
- oraclejdk7
install:
- apt-get install freetds-dev
- gem install bundler
- bundle install
- npm install coffee-script
- export PATH=$PATH:./node_modules/.bin
script: buildr clean package
|
Remove PHP 7 nightly because Carbon is incompatible | language: php
php:
- 5.5.9
- 5.5
- 5.6
- hhvm
- nightly
sudo: false
install: travis_retry composer install --no-interaction --ignore-platform-reqs --no-scripts --prefer-source
script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi;'
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi;'
after_script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'
| language: php
php:
- 5.5.9
- 5.5
- 5.6
- hhvm
sudo: false
install: travis_retry composer install --no-interaction --ignore-platform-reqs --no-scripts --prefer-source
script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi;'
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi;'
after_script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'
|
Remove Python 2.6 from Travis CI | ---
language: python
python:
- 2.6
- 2.7
env:
- secure: |-
WF3zgCer3gTFPEeJFICLJ0akll9waz4NTP1sJGlkkgwkLc/4vexe+YULBTz+
DyQX37yKqjC95Ym9YM8cmEV4axjGTxGMvp5/B9OZGO4Mc/MwbJuZ5XBdFNgC
KritpYvK2kQEVAAqWqvskgidQpxEU+WjzQ5Gtflmb6nklpemEQ4=
matrix:
allow_failures:
- python: 2.6
script:
- ./run_tests.sh
branches:
except:
- release
notifications:
email: false
| ---
language: python
python:
- 2.7
env:
- secure: |-
WF3zgCer3gTFPEeJFICLJ0akll9waz4NTP1sJGlkkgwkLc/4vexe+YULBTz+
DyQX37yKqjC95Ym9YM8cmEV4axjGTxGMvp5/B9OZGO4Mc/MwbJuZ5XBdFNgC
KritpYvK2kQEVAAqWqvskgidQpxEU+WjzQ5Gtflmb6nklpemEQ4=
script:
- ./run_tests.sh
branches:
except:
- release
notifications:
email: false
|
Use the pre-release builds of chefdk | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec spec
| # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec spec
|
Fix problem with UCD_STREAM variable during build | sudo: required
language: ruby
services:
- docker
env:
- UCD_STREAM=latest
- UCD_VERSION=
before_install:
- curl -O "https://s3.amazonaws.com/artifacts.stackinabox.io/urbancode/ibm-ucd/$UCD_STREAM.txt"
- export UCD_VERSION=`cat latest.txt`
- curl -O "https://s3.amazonaws.com/artifacts.stackinabox.io/urbancode/ibm-ucd/$UCD_VERSION/ibm-ucd.zip"
- unzip -q ibm-ucd.zip -d artifacts/
- rm -f ibm-ucd.zip
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker build -t stackinabox/urbancode-deploy:$UCD_VERSION .
script:
- docker push stackinabox/urbancode-deploy:$UCD_VERSION
| sudo: required
language: ruby
services:
- docker
env:
- UCD_STREAM=
- UCD_VERSION=
before_install:
- curl -O "https://s3.amazonaws.com/artifacts.stackinabox.io/urbancode/ibm-ucd/$UCD_STREAM.txt"
- export UCD_VERSION=`cat $UCD_STREAM.txt`
- curl -O "https://s3.amazonaws.com/artifacts.stackinabox.io/urbancode/ibm-ucd/$UCD_VERSION/ibm-ucd.zip"
- unzip -q ibm-ucd.zip -d artifacts/
- rm -f ibm-ucd.zip
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker build -t stackinabox/urbancode-deploy:$UCD_VERSION .
script:
- docker push stackinabox/urbancode-deploy:$UCD_VERSION
|
Add --errors option to Travis CI execution | language: java
jdk:
- oraclejdk9
install: true
script:
- mvn clean verify
- bash <(curl -s https://codecov.io/bash) -f com.io7m.junreachable.core/target/site/jacoco/jacoco.xml
notifications:
irc: "chat.freenode.net#io7m"
| language: java
jdk:
- oraclejdk9
install: true
script:
- mvn --errors clean verify
- bash <(curl -s https://codecov.io/bash) -f com.io7m.junreachable.core/target/site/jacoco/jacoco.xml
notifications:
irc: "chat.freenode.net#io7m"
|
Move versions tested against and get deps if needed | language: go
go:
- 1.4
- 1.3
install:
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- go test -cover ./...
notifications:
email: false
| language: go
go:
- 1.8
- 1.7
install:
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- go get
- go test -cover ./...
notifications:
email: false
|
Add progress format to behat test-suite | language: php
php:
- 5.4
before_install:
# apt-get installs
- sudo apt-get update &> /dev/null
- sudo apt-get install -y apache2 &> /dev/null
# configure apache : tip from https://gist.github.com/3123962
- sudo a2enmod actions &> /dev/null
- sudo a2enmod rewrite &> /dev/null
- sudo a2enmod headers &> /dev/null
- echo "ServerName localhost" | sudo tee -a /etc/apache2/httpd.conf &> /dev/null
- echo "export PATH=/home/vagrant/.phpenv/bin:$PATH" | sudo tee -a /etc/apache2/envvars &> /dev/null
- cat .travis/phpconfig | sudo tee /etc/apache2/conf.d/phpconfig &> /dev/null
- cat .travis/virtualhost | sed -e "s~PATH~`pwd`~g" | sudo tee /etc/apache2/sites-available/default &> /dev/null
# restart apache
- sudo service apache2 restart &> /dev/null
before_script:
- cp .travis/phpunit.xml phpunit.xml
# composer
- curl -s https://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-source --optimize-autoloader --no-interaction
script:
- ./bin/behat
- phpunit --stop-on-failure
after_failure:
- sudo cat /var/log/apache2/error.log
| language: php
php:
- 5.4
before_install:
# apt-get installs
- sudo apt-get update &> /dev/null
- sudo apt-get install -y apache2 &> /dev/null
# configure apache : tip from https://gist.github.com/3123962
- sudo a2enmod actions &> /dev/null
- sudo a2enmod rewrite &> /dev/null
- sudo a2enmod headers &> /dev/null
- echo "ServerName localhost" | sudo tee -a /etc/apache2/httpd.conf &> /dev/null
- echo "export PATH=/home/vagrant/.phpenv/bin:$PATH" | sudo tee -a /etc/apache2/envvars &> /dev/null
- cat .travis/phpconfig | sudo tee /etc/apache2/conf.d/phpconfig &> /dev/null
- cat .travis/virtualhost | sed -e "s~PATH~`pwd`~g" | sudo tee /etc/apache2/sites-available/default &> /dev/null
# restart apache
- sudo service apache2 restart &> /dev/null
before_script:
- cp .travis/phpunit.xml phpunit.xml
# composer
- curl -s https://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-source --optimize-autoloader --no-interaction
script:
- ./bin/behat -f progress
- phpunit --stop-on-failure
after_failure:
- sudo cat /var/log/apache2/error.log
|
Add PHP 7.1 to Travis | language: php
php:
- 7.0
- nightly
install: composer install
addons:
code_climate:
repo_token: 1596e8512438166182bdbac274f3ff421abb1fcb25e0b6e104ec1014238a5516 | language: php
php:
- 7.0
- 7.1
- nightly
install: composer install
addons:
code_climate:
repo_token: 1596e8512438166182bdbac274f3ff421abb1fcb25e0b6e104ec1014238a5516 |
Enable Travis CI on Mac OS X | dist: trusty
sudo: required
language: perl6
perl6:
- 2015.12
- latest
install:
- sudo apt-get -qq update
- sudo apt-get install -y libmagickwand-dev
- rakudobrew build-panda
script: panda-build && prove -e perl6 t
| sudo: required
language: perl6
os:
- linux
- osx
perl6:
- 2015.12
- latest
install:
- sudo apt-get -qq update
- sudo apt-get install -y libmagickwand-dev
script: prove -v -e perl6 t/
|
Remove Node 5 from Travis CI setup | # Travis CI Configuration
language: node_js
node_js:
- "7"
- "6"
- "5"
before_script:
- ./node_modules/brunch/bin/brunch build
script:
- npm run lint
- npm test
| # Travis CI Configuration
language: node_js
node_js:
- "7"
- "6"
before_script:
- ./node_modules/brunch/bin/brunch build
script:
- npm run lint
- npm test
|
Make the tests fail if uploading coverage fails | language: php
sudo: false
matrix:
fast_finish: true
include:
- php: "5.4"
env: USE_PSALM=0
- php: "5.5"
env: USE_PSALM=0
- php: "5.6"
env: USE_PSALM=0
- php: "7.0"
env: USE_PSALM=1
- php: "7.1"
env: USE_PSALM=1
- php: "7.2"
env: USE_PSALM=1
- php: "nightly"
env: USE_PSALM=1
- php: "hhvm"
env: USE_PSALM=1
allow_failures:
- php: "nightly"
- php: "hhvm"
install:
- if [[ $USE_PSALM -eq 1 ]]; then composer require --dev "vimeo/psalm:dev-master"; fi
- composer install
- curl -LSs https://box-project.github.io/box2/installer.php | php
- mkdir ~/box
- mv box.phar ~/box/box
script:
- ./test.sh
- PATH=$PATH:~/box/ make -C dist/ build-phar
- ./test.sh dist/defuse-crypto.phar
- if [[ $USE_PSALM -eq 1 ]]; then vendor/bin/psalm; fi
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: php
sudo: false
matrix:
fast_finish: true
include:
- php: "5.4"
env: USE_PSALM=0
- php: "5.5"
env: USE_PSALM=0
- php: "5.6"
env: USE_PSALM=0
- php: "7.0"
env: USE_PSALM=1
- php: "7.1"
env: USE_PSALM=1
- php: "7.2"
env: USE_PSALM=1
- php: "nightly"
env: USE_PSALM=1
- php: "hhvm"
env: USE_PSALM=1
allow_failures:
- php: "nightly"
- php: "hhvm"
install:
- if [[ $USE_PSALM -eq 1 ]]; then composer require --dev "vimeo/psalm:dev-master"; fi
- composer install
- curl -LSs https://box-project.github.io/box2/installer.php | php
- mkdir ~/box
- mv box.phar ~/box/box
script:
- ./test.sh
- PATH=$PATH:~/box/ make -C dist/ build-phar
- ./test.sh dist/defuse-crypto.phar
- if [[ $USE_PSALM -eq 1 ]]; then vendor/bin/psalm; fi
after_success:
- bash <(curl -s https://codecov.io/bash) -Z
|
Move file into GPG directory | architect:
- ardesco
- afranken
- pmouawad
docker:
image: "yegor256/rultor-image"
decrypt:
settings.xml: "repo/settings.xml.asc"
pubring.gpg: "repo/pubring.gpg.asc"
secring.gpg: "repo/secring.gpg.asc"
env:
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
release:
pre: false
script: |-
mvn -Prelease versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
mvn clean deploy -Prelease --settings /home/r/settings.xml
commanders:
- ardesco
- pmouawad
| architect:
- ardesco
- afranken
- pmouawad
docker:
image: "yegor256/rultor-image"
decrypt:
settings.xml: "repo/settings.xml.asc"
pubring.gpg: "repo/pubring.gpg.asc"
secring.gpg: "repo/secring.gpg.asc"
env:
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
release:
pre: false
script: |-
cp -a ../.gnupg/pubring.kbx /home/r/gpg/pubring.kbx
mvn -Prelease versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
mvn clean deploy -Prelease --settings /home/r/settings.xml
commanders:
- ardesco
- pmouawad
|
Fix deploy failure due to missing node_modules | jobs:
include:
- stage: "Test"
name: "Lint"
language: node_js
node_js: 8
script:
- npm run jsonlint
- npm run svglint
- npm run wslint
- name: "Build website"
language: ruby
rvm: 2.4.1
install:
- gem install jekyll
script:
- jekyll build
- name: "Test package"
language: node_js
node_js: 8
script:
- npm run test
- stage: deploy
name: "NPM Package"
language: node_js
node_js: 8
if: branch = master
deploy:
provider: npm
email: "johanringmann@gmail.com"
api_key: "$NPM_KEY"
on:
branch: master
notifications:
email:
on_success: never
on_failure: change
| jobs:
include:
- stage: "Test"
name: "Lint"
language: node_js
node_js: 8
script:
- npm run jsonlint
- npm run svglint
- npm run wslint
- name: "Build website"
language: ruby
rvm: 2.4.1
install:
- gem install jekyll
script:
- jekyll build
- name: "Test package"
language: node_js
node_js: 8
script:
- npm run test
- stage: deploy
name: "NPM Package"
language: node_js
node_js: 8
if: branch = master
deploy:
provider: npm
skip_cleanup: true
email: "johanringmann@gmail.com"
api_key: "$NPM_KEY"
on:
branch: master
notifications:
email:
on_success: never
on_failure: change
|
Add jruby-head to the list of tested rubies | language: ruby
before_install: gem install bundler
bundler_args: --without guard metrics
script: "bundle exec rake spec:travis"
services: mongodb
rvm:
- 1.8.7
- ree
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- ruby-head
matrix:
allow_failures:
- rvm: rbx-18mode
before_script:
- psql -c 'create database "dm-mapper_test";' -U postgres
notifications:
email:
- piotr.solnica@gmail.com
| language: ruby
before_install: gem install bundler
bundler_args: --without guard metrics
script: "bundle exec rake spec:travis"
services: mongodb
rvm:
- 1.8.7
- ree
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-18mode
- jruby-19mode
- jruby-head
- rbx-18mode
- rbx-19mode
- ruby-head
matrix:
allow_failures:
- rvm: rbx-18mode
before_script:
- psql -c 'create database "dm-mapper_test";' -U postgres
notifications:
email:
- piotr.solnica@gmail.com
|
Fix phpunit tests on Travis-CI | sudo: true
language: php
php:
- 7.1
services:
- mysql
before_install:
- composer self-update
install: composer install --dev
before_script:
- bash .travis.install-mysql-5.7.sh
- mysql -e 'create database activecollab_database_structure_test'
script: phpunit
| sudo: true
language: php
php:
- 7.1
services:
- mysql
before_install:
- composer self-update
install: composer install --dev
before_script:
- bash .travis.install-mysql-5.7.sh
- mysql -e 'create database activecollab_database_structure_test'
script: vendor/bin/phpunit
|
Install the relevant postgres packages | language: ruby
rvm: 2.5.2
dist: xenial
group: edge
sudo: required
cache:
bundler: true
directories:
- ${HOME}/perl5
- ${HOME}/.cache
services:
- redis-server
addons:
postgresql: 10.5
env:
global:
- DATABASE_URL='postgres://localhost:5432/job_board_test'
- RUBYOPT=-W0
matrix:
- INTEGRATION_SPECS='1' COVERAGE='1'
- INTEGRATION_SPECS='0'
before_install:
- script/install-sqitch
- eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
before_script:
- createdb job_board_test
- sqitch deploy
- sqitch verify
| language: ruby
rvm: 2.5.2
dist: xenial
group: edge
sudo: required
cache:
bundler: true
directories:
- ${HOME}/perl5
- ${HOME}/.cache
services:
- redis-server
addons:
postgresql: 10.5
apt:
packages:
- postgresql-10
- postgresql-client-10
- postgresql-server-dev-10
env:
global:
- DATABASE_URL='postgres://localhost:5432/job_board_test'
- RUBYOPT=-W0
matrix:
- INTEGRATION_SPECS='1' COVERAGE='1'
- INTEGRATION_SPECS='0'
before_install:
- script/install-sqitch
- eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
before_script:
- createdb job_board_test
- sqitch deploy
- sqitch verify
|
Add Python 3.4 to Travis build matrix | language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
install:
# all installing is now handled by conda as it is faster and more robust
- sudo apt-get update
- pip install -U setuptools
- wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib networkx cython h5py PIL scikit-image scikit-learn setuptools pip
- source activate test-environment
# custom package not available from conda
- pip install viridis
# install testing and coverage packages
- pip install pytest pytest-cov
- pip install coveralls
# Install gala
- printenv PWD
# Build locally, pytest confuses local and global installs
- python setup.py develop
script:
# Run tests
- py.test
after_success:
- coveralls
| language: python
python:
- "2.7"
- "3.4"
virtualenv:
system_site_packages: true
install:
# all installing is now handled by conda as it is faster and more robust
- sudo apt-get update
- pip install -U setuptools
- wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib networkx cython h5py PIL scikit-image scikit-learn setuptools pip
- source activate test-environment
# custom package not available from conda
- pip install viridis
# install testing and coverage packages
- pip install pytest pytest-cov
- pip install coveralls
# Install gala
- printenv PWD
# Build locally, pytest confuses local and global installs
- python setup.py develop
script:
# Run tests
- py.test
after_success:
- coveralls
|
Switch scheme to framework itself rather than aggregate target | osx_image: xcode8.2
language: objective-c
xcode_project: HelloWorld.xcodeproj
xcode_scheme: Framework
| osx_image: xcode8.2
language: objective-c
xcode_project: HelloWorld.xcodeproj
xcode_scheme: HelloWorld
|
Include ruby 2.3.3 in tests | language: ruby
sudo: false
rvm:
- 2.2.4
- 2.3.1
script: bundle exec rspec
cache: bundler
gemfile:
- Gemfile
- gemfiles/rails42.gemfile
| language: ruby
sudo: false
rvm:
- 2.2.4
- 2.3.3
script: bundle exec rspec
cache: bundler
gemfile:
- Gemfile
- gemfiles/rails42.gemfile
|
Disable IRC announcement for now. | sudo: required
language:
- c
compiler:
- gcc
install:
- wget -q -O- https://raw.githubusercontent.com/mithro/travis-trusty/master/setup.sh | bash
- chmod a+rx $PWD/.travis/*.sh
- /trusty/run.py $PWD/.travis/setup.sh
script:
- /trusty/run.py $PWD/.travis/run.sh
notifications:
email:
- hdmi2usb-spam@googlegroups.com
irc:
channels:
- "chat.freenode.net#hdmi2usb"
- "chat.freenode.net#timvideos"
template:
- "[%{repository_slug}/%{branch}#%{build_number}] (%{commit}): %{message} (%{build_url})"
| sudo: required
language:
- c
compiler:
- gcc
install:
- wget -q -O- https://raw.githubusercontent.com/mithro/travis-trusty/master/setup.sh | bash
- chmod a+rx $PWD/.travis/*.sh
- /trusty/run.py $PWD/.travis/setup.sh
script:
- /trusty/run.py $PWD/.travis/run.sh
notifications:
email:
- hdmi2usb-spam@googlegroups.com
# irc:
# channels:
# - "chat.freenode.net#hdmi2usb"
# - "chat.freenode.net#timvideos"
# template:
# - "[%{repository_slug}/%{branch}#%{build_number}] (%{commit}): %{message} (%{build_url})"
|
Change to the build directory | language: node_js
node_js:
- '7'
env:
- TEST_DIR=modules/primer-css
- TEST_DIR=modules/primer-core
- TEST_DIR=modules/primer-product
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-alerts
- TEST_DIR=modules/primer-base
- TEST_DIR=modules/primer-blankslate
- TEST_DIR=modules/primer-box
- TEST_DIR=modules/primer-breadcrumb
- TEST_DIR=modules/primer-buttons
- TEST_DIR=modules/primer-cards
- TEST_DIR=modules/primer-forms
- TEST_DIR=modules/primer-labels
- TEST_DIR=modules/primer-layout
- TEST_DIR=modules/primer-markdown
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-marketing-type
- TEST_DIR=modules/primer-marketing-utilities
- TEST_DIR=modules/primer-navigation
- TEST_DIR=modules/primer-page-headers
- TEST_DIR=modules/primer-page-sections
- TEST_DIR=modules/primer-support
- TEST_DIR=modules/primer-table-object
- TEST_DIR=modules/primer-tables
- TEST_DIR=modules/primer-tooltips
- TEST_DIR=modules/primer-truncate
- TEST_DIR=modules/primer-utilities
script: cd $TEST_DIR && npm install && npm test
deploy:
provider: script
script: npm run devbuild
on:
all_branches: true
| language: node_js
node_js:
- '7'
env:
- TEST_DIR=modules/primer-css
- TEST_DIR=modules/primer-core
- TEST_DIR=modules/primer-product
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-alerts
- TEST_DIR=modules/primer-base
- TEST_DIR=modules/primer-blankslate
- TEST_DIR=modules/primer-box
- TEST_DIR=modules/primer-breadcrumb
- TEST_DIR=modules/primer-buttons
- TEST_DIR=modules/primer-cards
- TEST_DIR=modules/primer-forms
- TEST_DIR=modules/primer-labels
- TEST_DIR=modules/primer-layout
- TEST_DIR=modules/primer-markdown
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-marketing-type
- TEST_DIR=modules/primer-marketing-utilities
- TEST_DIR=modules/primer-navigation
- TEST_DIR=modules/primer-page-headers
- TEST_DIR=modules/primer-page-sections
- TEST_DIR=modules/primer-support
- TEST_DIR=modules/primer-table-object
- TEST_DIR=modules/primer-tables
- TEST_DIR=modules/primer-tooltips
- TEST_DIR=modules/primer-truncate
- TEST_DIR=modules/primer-utilities
script: cd $TEST_DIR && npm install && npm test
deploy:
provider: script
script: cd $TRAVIS_BUILD_DIR && npm run devbuild
on:
all_branches: true
|
Add code coverage using coverall | sudo: false
language: go
go:
- 1.6
script:
- go test -v ./...
- go vet
notifications:
email: false
| sudo: false
language: go
go:
- 1.6
script:
- go test -v ./...
- go vet
- go test -coverprofile=profile.out -covermode=count
- goveralls -service=travis-ci -coverprofile=profile.out -repotoken $COVERALLS
notifications:
email: false
|
Add PG 12 to Travis test matrix | language: go
go:
- 1.x
- tip
# Derived from https://github.com/lib/pq/blob/master/.travis.yml
before_install:
- ./travis/before_install.bash
env:
global:
- GO111MODULE=on
- PGX_TEST_DATABASE=postgres://pgx_md5:secret@127.0.0.1/pgx_test
matrix:
- CRATEVERSION=2.1 PGX_TEST_CRATEDB_CONN_STRING="host=127.0.0.1 port=6543 user=pgx database=pgx_test"
- PGVERSION=11
- PGVERSION=10
- PGVERSION=9.6
- PGVERSION=9.5
- PGVERSION=9.4
before_script:
- ./travis/before_script.bash
script:
- ./travis/script.bash
matrix:
allow_failures:
- go: tip
| language: go
go:
- 1.x
- tip
# Derived from https://github.com/lib/pq/blob/master/.travis.yml
before_install:
- ./travis/before_install.bash
env:
global:
- GO111MODULE=on
- PGX_TEST_DATABASE=postgres://pgx_md5:secret@127.0.0.1/pgx_test
matrix:
- CRATEVERSION=2.1 PGX_TEST_CRATEDB_CONN_STRING="host=127.0.0.1 port=6543 user=pgx database=pgx_test"
- PGVERSION=12
- PGVERSION=11
- PGVERSION=10
- PGVERSION=9.6
- PGVERSION=9.5
- PGVERSION=9.4
before_script:
- ./travis/before_script.bash
script:
- ./travis/script.bash
matrix:
allow_failures:
- go: tip
|
Build on Python 3.6, not 3.7 | language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
- nightly
addons:
apt:
packages:
- graphviz
install:
- pip install coverage coveralls flake8 -e .
before_script:
- make lint
script:
- coverage run --source=objgraph tests.py
after_success:
- coveralls
notifications:
email: false
| language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
addons:
apt:
packages:
- graphviz
install:
- pip install coverage coveralls flake8 -e .
before_script:
- make lint
script:
- coverage run --source=objgraph tests.py
after_success:
- coveralls
notifications:
email: false
|
Add cache: bundler to reduce time to run | language: ruby
before_install:
- 'test Node = "$PACPROXY_RUNTIME" && sudo apt-get update || true'
- 'test Node = "$PACPROXY_RUNTIME" && sudo apt-get install node || true'
- 'test Node = "$PACPROXY_RUNTIME" && (cd lib/pacproxy/runtimes/node ; npm install) || true'
rvm:
- 2.0.0
- 2.1.2
env:
- PACPROXY_RUNTIME=Node
- PACPROXY_RUNTIME=
| language: ruby
cache: bundler
before_install:
- 'test Node = "$PACPROXY_RUNTIME" && sudo apt-get update || true'
- 'test Node = "$PACPROXY_RUNTIME" && sudo apt-get install node || true'
- 'test Node = "$PACPROXY_RUNTIME" && (cd lib/pacproxy/runtimes/node ; npm install) || true'
rvm:
- 2.0.0
- 2.1.2
env:
- PACPROXY_RUNTIME=Node
- PACPROXY_RUNTIME=
|
Upgrade CI version of Node | language: c
sudo: required
services:
- docker
before_install:
- docker pull liuchong/rustup:musl
- docker pull node:7.2
- >
mkdir -p
$HOME/cache/rust/cargo/{git,registry}
$HOME/cache/rust/target
$HOME/cache/node/node_modules
$HOME/cache/node/yarn-cache
script:
- >
docker run -it --rm
-v $PWD/ui:/ui
-v $HOME/cache/rust/cargo/git:/root/.cargo/git
-v $HOME/cache/rust/cargo/registry:/root/.cargo/registry
-v $HOME/cache/rust/target:/ui/target
--workdir /ui
liuchong/rustup:musl
rustup run nightly cargo build --target=x86_64-unknown-linux-musl --release
- >
docker run -it --rm
-v $PWD/ui/frontend:/ui
-v $HOME/cache/node/node_modules:/ui/node_modules
-v $HOME/cache/node/yarn-cache:/root/.yarn-cache
--workdir /ui
node:7.2
bash -c 'npm install -g yarn && yarn && NODE_ENV=production yarn run build'
# Ignore the permissions set from running inside the container
- sudo chmod -R a+rw $HOME/cache
cache:
directories:
- $HOME/cache
| language: c
sudo: required
services:
- docker
before_install:
- docker pull liuchong/rustup:musl
- docker pull node:7.5
- >
mkdir -p
$HOME/cache/rust/cargo/{git,registry}
$HOME/cache/rust/target
$HOME/cache/node/node_modules
$HOME/cache/node/yarn-cache
script:
- >
docker run -it --rm
-v $PWD/ui:/ui
-v $HOME/cache/rust/cargo/git:/root/.cargo/git
-v $HOME/cache/rust/cargo/registry:/root/.cargo/registry
-v $HOME/cache/rust/target:/ui/target
--workdir /ui
liuchong/rustup:musl
rustup run nightly cargo build --target=x86_64-unknown-linux-musl --release
- >
docker run -it --rm
-v $PWD/ui/frontend:/ui
-v $HOME/cache/node/node_modules:/ui/node_modules
-v $HOME/cache/node/yarn-cache:/root/.yarn-cache
--workdir /ui
node:7.5
bash -c 'npm install -g yarn && \
yarn && \
NODE_ENV=production yarn run build'
# Ignore the permissions set from running inside the container
- sudo chmod -R a+rw $HOME/cache
cache:
directories:
- $HOME/cache
|
Update Travis with explicit emails | language: node_js
node_js:
- '0.10'
before_install:
- currentfolder=${PWD##*/}
- if [ "$currentfolder" != 'core' ]; then cd .. && eval "mv $currentfolder core" && cd core; fi
- npm install -g grunt-cli
| language: node_js
node_js:
- '0.10'
before_install:
- currentfolder=${PWD##*/}
- if [ "$currentfolder" != 'core' ]; then cd .. && eval "mv $currentfolder core" && cd core; fi
- npm install -g grunt-cli
notifications:
email:
- dave@famo.us
- fetterman@famo.us
- myles@famo.us
|
Revert "Add --verbose option to CI config" | language: objective-c
osx_image: xcode8.2
xcode_workspace: ESFramework.xcworkspace
xcode_scheme: Example
before_install:
- env
- cd Example
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- pod install --no-repo-update
script:
- pod lib lint ../ESFramework.podspec --verbose
| language: objective-c
osx_image: xcode8.2
xcode_workspace: ESFramework.xcworkspace
xcode_scheme: Example
before_install:
- env
- cd Example
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- pod install --no-repo-update
script:
- pod lib lint ../ESFramework.podspec
|
Update Travis as Rubinius now builds successfully. | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- ree
- jruby
- rbx
matrix:
allow_failures:
- rvm: rbx
notifications:
recipients:
- bryan@bryanrite.com
- ryan@railscasts.com
| rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- ree
- jruby
- rbx
notifications:
recipients:
- bryan@bryanrite.com
- ryan@railscasts.com
|
Update gem and bundler in Travis | language: ruby
sudo: false
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.0"
- "2.2.0"
| language: ruby
sudo: false
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.0"
- "2.2.0"
before_install:
- gem update --system
- gem update bundler
|
Update ruby versions. Add 2.6 | language: ruby
rvm:
- 2.3.7
- 2.4.4
- 2.5.1
script: bundle exec cucumber
deploy:
provider: rubygems
api_key:
secure: QZG6pQmgoKlE4TI7SkCp87HdUL1s+47YpQiCldkG23Xef4jVkEk1GzsFLJnaBhOoExPDhRhog/rEN+pzcSNmx+3W0AZwy/Z5YQ2VNn9ojd8hhCTx4uXO1iagMXfavZvF+olzHJ6PRD9MzqHIm+MU1xFI8x5QqDrGY4XVSK/DyQw=
on:
tags: true
| language: ruby
rvm:
- 2.3.7
- 2.4.5
- 2.5.3
- 2.6.1
script: bundle exec cucumber
deploy:
provider: rubygems
api_key:
secure: QZG6pQmgoKlE4TI7SkCp87HdUL1s+47YpQiCldkG23Xef4jVkEk1GzsFLJnaBhOoExPDhRhog/rEN+pzcSNmx+3W0AZwy/Z5YQ2VNn9ojd8hhCTx4uXO1iagMXfavZvF+olzHJ6PRD9MzqHIm+MU1xFI8x5QqDrGY4XVSK/DyQw=
on:
tags: true
|
Use codecov.io instead of coverals | language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
env:
matrix:
- DJANGO=Django==1.7.8
- DJANGO=Django==1.8.4
install:
- pip install $DJANGO django-oscar==1.1.1
- pip install -r requirements.testing.txt
- pip install .
script:
- coverage run ./runtests.py
after_success:
- coveralls
| language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
env:
matrix:
- DJANGO=Django==1.7.8
- DJANGO=Django==1.8.4
before_install:
- pip install codecov
install:
- pip install $DJANGO django-oscar==1.1.1
- pip install -r requirements.testing.txt
- pip install .
script:
- coverage run ./runtests.py
after_success:
- codecov
|
Install Py3 in Travis OSX env | language: python
sudo: false
matrix:
include:
- os: linux
python: 3.5.1
- os: osx
python: 3.5.1
install:
- pip install tox
script:
- tox
| language: python
sudo: false
matrix:
include:
- os: linux
python: 3.5.1
- os: osx
osx_image: xcode7.3
python: 3.5.1
before_install:
- brew update
- brew outdated python3 || brew upgrade python3
install:
- pip install tox
script:
- tox
|
ADD Travis : Support PHP 7.1 | language: php
sudo: false
php:
- 7.1
matrix:
fast_finish: true
include:
- php: 7.1
before_install:
- composer self-update
script:
- vendor/bin/phpunit | language: php
sudo: false
php:
- 7.1
matrix:
fast_finish: true
include:
- php: 7.1
before_install:
- composer self-update
script:
- ./vendor/bin/phpunit |
Stop building for Node v5 and earlier | language: node_js
node_js:
- "12"
- "11"
- "10"
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
- "3" # io.js
- "2" # io.js
- "1" # io.js
- "0.12"
- "0.10"
| language: node_js
node_js:
- "12"
- "11"
- "10"
- "9"
- "8"
- "7"
- "6"
|
Update PHP version for Travis. | language: php
php:
- 5.3
env:
- EIX_ENV=TEST
before_install:
- composer update
| sudo: false
language: php
php:
- 7
env:
- EIX_ENV=TEST
before_install:
- composer update
|
Allow test failures on unsupported Python versions | language: python
dist: xenial
python:
- "3.6"
- "3.7"
- "3.6-dev"
- "3.7-dev"
- "nightly"
- "pypy3.5"
matrix:
allow_failures:
- python: 'pypy3.5'
services:
- redis-server
- postgresql
addons:
postgresql: "10"
install:
- pip install -r requirements.txt -r requirements-test.txt
- pip install coveralls
before_script:
- psql -c "ALTER USER travis WITH PASSWORD 'travis';"
- psql -c 'create database mygpo_test;' -U postgres
script:
- make check-code-format
- pytest --cov=mygpo/ --cov-branch
after_script:
- coveralls
env:
- DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"
| language: python
dist: xenial
python:
- "3.6"
- "3.7"
- "3.6-dev"
- "3.7-dev"
- "3.8-dev"
- "nightly"
- "pypy3.5"
matrix:
allow_failures:
- python:
'pypy3.5'
'3.8-dev'
'nightly'
services:
- redis-server
- postgresql
addons:
postgresql: "10"
install:
- pip install -r requirements.txt -r requirements-test.txt
- pip install coveralls
before_script:
- psql -c "ALTER USER travis WITH PASSWORD 'travis';"
- psql -c 'create database mygpo_test;' -U postgres
script:
- make check-code-format
- pytest --cov=mygpo/ --cov-branch
after_script:
- coveralls
env:
- DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"
|
Fix beaker tests with centos7 | ---
sudo: false
language: ruby
dist: trusty
cache: bundler
before_install:
- bundle -v
- rm Gemfile.lock || true
- gem update --system
- gem update bundler
- gem --version
- bundle -v
script:
- bundle exec rake release_checks
- bundle exec rake $CHECK
- bundle exec rake syntax
- bundle exec rake metadata_lint
- bundle exec rake spec
matrix:
fast_finish: true
include:
- rvm: 2.3.1
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7
script: bundle exec rake beaker
services: docker
sudo: required
- rvm: 2.4.0
bundler_args: --without system_tests
env: PUPPET_GEM_VERSION="~> 5.0"
- rvm: 2.4.1
bundler_args: --without system_tests
env: PUPPET_GEM_VERSION="~> 5.1.0"
- rvm: 2.1.9
bundler_args: --without system_tests
env: PUPPET_GEM_VERSION="~> 4.0"
branches:
only:
- master
- /^v\d/
notifications:
email: othersskins@gmail.com | ---
sudo: false
language: ruby
dist: trusty
cache: bundler
before_install:
- bundle -v
- rm Gemfile.lock || true
- gem update --system
- gem update bundler
- gem --version
- bundle -v
script:
- bundle exec rake release_checks
- bundle exec rake $CHECK
- bundle exec rake metadata_lint
- bundle exec rake spec
matrix:
fast_finish: true
include:
- rvm: 2.3.1
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7
script: bundle exec rake beaker
services: docker
sudo: required
- rvm: 2.4.0
bundler_args: --without system_tests
env: PUPPET_GEM_VERSION="~> 5.0"
- rvm: 2.4.1
bundler_args: --without system_tests
env: PUPPET_GEM_VERSION="~> 5.1.0"
- rvm: 2.1.9
bundler_args: --without system_tests
env: PUPPET_GEM_VERSION="~> 4.0"
branches:
only:
- master
- /^v\d/
notifications:
email: othersskins@gmail.com |
Remove Python 2.6 from CI | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
before_script:
- chmod +x run_tests
script:
- ./run_tests
| language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
before_script:
- chmod +x run_tests
script:
- ./run_tests
|
Remove unneeded `mix local.rebar --force` | sudo: false
language: elixir
otp_release:
- 18.1
elixir:
- 1.2.6
- 1.3.0
before_install: "mix local.rebar --force"
script: "script/ci_build"
| sudo: false
language: elixir
otp_release:
- 18.1
elixir:
- 1.2.6
- 1.3.2
script: "script/ci_build"
|
Add Oracle JDK 9 to Travis | language: java
jdk:
- openjdk7
- oraclejdk8
notifications:
email: false
| language: java
jdk:
- openjdk7
- oraclejdk8
- oraclejdk9
notifications:
email: false
|
Use a current version of bower again | dist: trusty
group: beta
language: node_js
node_js:
- node
addons:
firefox: latest-esr
cache:
directories:
- node_modules
- "$HOME/.cache/bower"
before_install:
- "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi"
before_script:
- npm install web-component-tester bower@1.7.9 polylint
- $(npm bin)/bower install
- $(npm bin)/polylint --no-recursion
script:
- xvfb-run $(npm bin)/wct
| dist: trusty
group: beta
language: node_js
node_js:
- node
addons:
firefox: latest-esr
cache:
directories:
- node_modules
- "$HOME/.cache/bower"
before_install:
- "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi"
before_script:
- npm install web-component-tester bower polylint
- $(npm bin)/bower install
- $(npm bin)/polylint --no-recursion
script:
- xvfb-run $(npm bin)/wct
|
Fix CI build for Unit Tests | language: csharp
solution: School/School.sln
install:
- nuget School/School.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release School/School.sln
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./School/School.Data.Tests/bin/Release/School.Data.Tests.dll
| language: csharp
solution: School/School.sln
install:
- nuget restore School/School.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release School/School.sln
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./School/School.Data.Tests/bin/Release/School.Data.Tests.dll
|
Test ruby 2.3.1 instead of 2.3.0 | language: ruby
rvm:
- 2.1
- 2.2
- 2.3.0
- ruby-head
before_install:
- gem update bundler
matrix:
allow_failures:
- rvm: ruby-head
| language: ruby
rvm:
- 2.1
- 2.2
- 2.3.1
- ruby-head
before_install:
- gem update bundler
matrix:
allow_failures:
- rvm: ruby-head
|
Add default cem run to tests. | language: c
os:
- linux
- osx
env:
global:
- CONDA_PREFIX=$HOME/miniconda
- MINICONDA_URL_BASE="http://repo.continuum.io/miniconda/Miniconda-latest"
sudo: false
before_install:
- |
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
brew remove --force $(brew list)
brew cleanup -s
rm -rf $(brew --cache)
fi
install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
OS="MacOSX-x86_64"
else
OS="Linux-x86_64"
fi
- curl $MINICONDA_URL_BASE-$OS.sh > $HOME/minconda.sh
- bash $HOME/minconda.sh -b -p $CONDA_PREFIX
- export PATH="$CONDA_PREFIX/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda install pkg-config cmake glib -c conda-forge
- mkdir _build && cd _build
- cmake .. -DCMAKE_INSTALL_PREFIX=$HOME -DCMAKE_BUILD_TYPE=Release
- make all
- make install
script:
- gtester --keep-going --verbose $TRAVIS_BUILD_DIR/_build/testing/test-*
- which cem
- cem --help
- cem --version
# - cem
| language: c
os:
- linux
- osx
env:
global:
- CONDA_PREFIX=$HOME/miniconda
- MINICONDA_URL_BASE="http://repo.continuum.io/miniconda/Miniconda-latest"
sudo: false
before_install:
- |
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
brew remove --force $(brew list)
brew cleanup -s
rm -rf $(brew --cache)
fi
install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
OS="MacOSX-x86_64"
else
OS="Linux-x86_64"
fi
- curl $MINICONDA_URL_BASE-$OS.sh > $HOME/minconda.sh
- bash $HOME/minconda.sh -b -p $CONDA_PREFIX
- export PATH="$CONDA_PREFIX/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda install pkg-config cmake glib -c conda-forge
- mkdir _build && cd _build
- cmake .. -DCMAKE_INSTALL_PREFIX=$HOME -DCMAKE_BUILD_TYPE=Release
- make all
- make install
script:
- gtester --keep-going --verbose $TRAVIS_BUILD_DIR/_build/testing/test-*
- which cem
- cem --help
- cem --version
- cem
|
Add .NET SDK version to Travis CI configuration | language: csharp
mono: none
solution: HtmlBuilders.sln
script:
- dotnet restore "HtmlBuilder.sln"
- dotnet build "HtmlBuilders/HtmlBuilders.csproj" -c Release
- dotnet test "HtmlBuilders.Tests/HtmlBuilders.Tests.csproj" -c Release
| language: csharp
mono: none
dotnet: 2.1.4
solution: HtmlBuilders.sln
script:
- dotnet restore "HtmlBuilder.sln"
- dotnet build "HtmlBuilders/HtmlBuilders.csproj" -c Release
- dotnet test "HtmlBuilders.Tests/HtmlBuilders.Tests.csproj" -c Release
|
Remove hhvm add multiple php versions | language: php
php:
- '5.6'
- '7.0'
- '7.1'
- hhvm
- nightly
install: composer install
script: phpunit tests/SlugifyTest.php
| language: php
php:
- '5.4'
- '5.6'
- '7.0'
- '7.0.26'
- '7.0.27'
- '7.0.28'
- '7.0.29'
- '7.0.30'
- '7.1.12'
- '7.1.13'
- '7.1.14'
- '7.1.15'
- '7.1.16'
- '7.1.17'
- '7.1.18'
- '7.1.9'
- '7.2.0'
- '7.2.1'
- '7.2.2'
- '7.2.3'
- '7.2.4'
- '7.2.5'
- '7.2.6'
- '7.2.7'
- nightly
install: composer install
script: phpunit tests/SlugifyTest.php
|
Allow JRuby HEAD to fail | language: ruby
sudo: false
rvm:
- ruby-head
- 2.3.0
- 2.2
- 2.1
- 2.0
- 1.9.3
- rbx-2
- jruby-head
- jruby-9.0.5.0
matrix:
allow_failures:
- rvm: 1.9.3
- rvm: 2.0
| language: ruby
sudo: false
rvm:
- ruby-head
- 2.3.0
- 2.2
- 2.1
- 2.0
- 1.9.3
- rbx-2
- jruby-head
- jruby-9.0.5.0
matrix:
allow_failures:
- rvm: jruby-head
- rvm: 1.9.3
- rvm: 2.0
|
Add 5.22 to build targets and use Travis containers | language: perl
perl:
#- dev
- "blead"
#- stable
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
env:
global:
- RELEASE_TESTING=1
- AUTHOR_TESTING=1
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR
install:
- cpan-install ExtUtils::MakeMaker~6.68 --deps
script:
- perl Makefile.PL
- make
- prove -br -j$(test-jobs) $(test-files)
| ---
sudo: false
language: perl
perl:
- blead
- 5.22
- 5.20
- 5.18
- 5.16
- 5.14
- 5.12
- 5.10
env:
global:
- RELEASE_TESTING=1
- AUTHOR_TESTING=1
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR
install:
- cpan-install ExtUtils::MakeMaker~6.68 --deps
script:
- perl Makefile.PL
- make
- prove -br -j$(test-jobs) $(test-files)
|
Install grunt prior to other actions | language: node_js
node_js:
- "0.8"
- "0.10"
before_script:
- npm install -g grunt-cli
script:
- grunt --stack build metrics publish:latest
email:
on_failure: change
on_success: never
env:
global:
- S3_BUCKET_NAME=builds.handlebarsjs.com
- secure: ! 'PJaukuvkBBsSDOqbIcNSSMgb96VVEaIt/eq9GPjXPeFbSd3hXgwhwVE62Lrq
tJO8BaUfX+PzpiQjEl4D5/KBmvlFZ057Hqmy0zmPOT5mDZfJe8Ja5zyvTMb+
KkCWN/tjAp8kawHojE04pn6jIpPdwXFnAYwPhaHbATFrmdt9fdg='
- secure: ! 'mBcGL2tnmiRujJdV/4fxrVd8E8wn6AW9IQKVcMv8tvOc7i5dOzZ39rpBKLuT
MRXDtMV1LyLiuKYb1pHj1IyeadEahcLYFfGygF4LG7Yzp4NWHtRzQ7Q8LXaJ
V7dXDboYCFkn2a8/Rtx1YSVh/sCONf5UoRC+MUIqrj4UiHN9r3s='
| language: node_js
node_js:
- "0.8"
- "0.10"
before_install:
- npm install -g grunt-cli
script:
- grunt --stack build metrics publish:latest
email:
on_failure: change
on_success: never
env:
global:
- S3_BUCKET_NAME=builds.handlebarsjs.com
- secure: ! 'PJaukuvkBBsSDOqbIcNSSMgb96VVEaIt/eq9GPjXPeFbSd3hXgwhwVE62Lrq
tJO8BaUfX+PzpiQjEl4D5/KBmvlFZ057Hqmy0zmPOT5mDZfJe8Ja5zyvTMb+
KkCWN/tjAp8kawHojE04pn6jIpPdwXFnAYwPhaHbATFrmdt9fdg='
- secure: ! 'mBcGL2tnmiRujJdV/4fxrVd8E8wn6AW9IQKVcMv8tvOc7i5dOzZ39rpBKLuT
MRXDtMV1LyLiuKYb1pHj1IyeadEahcLYFfGygF4LG7Yzp4NWHtRzQ7Q8LXaJ
V7dXDboYCFkn2a8/Rtx1YSVh/sCONf5UoRC+MUIqrj4UiHN9r3s='
|
Remove Docker image build/push from Travis CI at present. | sudo: required
language: python
cache: pip
dist: trusty
python:
- 3.6
services:
- postgresql
- docker
addons:
postgresql: 9.6
apt:
packages:
- postgresql-9.6-postgis-2.3
branches:
only:
- master
env:
global:
- SECRET_KEY=SecretKeyForTravis
- DATABASE_URL="postgis://postgres@localhost:5432/travis_ci_test"
install:
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install -r requirements.txt
before_script:
- psql -U postgres -c "create database travis_ci_test;"
- psql -U postgres -d travis_ci_test -c "create extension postgis;"
- python manage.py migrate --noinput
script:
- python manage.py test -k -v 0
before_deploy:
- wget https://github.com/openshift/source-to-image/releases/download/v1.1.9a/source-to-image-v1.1.9a-40ad911d-linux-amd64.tar.gz
- tar xvf source-to-image-v1.1.9a-40ad911d-linux-amd64.tar.gz
- ./s2i build -e SECRET_KEY=${SECRET_KEY} . dbcawa/s2i-django dbcawa/ibms:${TRAVIS_BRANCH}
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
deploy:
provider: script
script: docker push dbcawa/ibms
on:
all_branches: true
| sudo: false
language: python
cache: pip
dist: trusty
python:
- 3.6
services:
- postgresql
addons:
postgresql: 9.6
apt:
packages:
- postgresql-9.6-postgis-2.3
branches:
only:
- master
env:
global:
- SECRET_KEY=SecretKeyForTravis
- DATABASE_URL="postgis://postgres@localhost:5432/travis_ci_test"
install:
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install -r requirements.txt
before_script:
- psql -U postgres -c "create database travis_ci_test;"
- psql -U postgres -d travis_ci_test -c "create extension postgis;"
- python manage.py migrate --noinput
script:
- python manage.py test
|
Fix pod lib lint execute timing | language: objective-c
osx_image: xcode8
before_install:
- gem update cocoapods --pre # Install 1.1.0.rc.2
- pod setup --silent > /dev/null
- pod repo update --silent
script:
- set -o pipefail
- pushd Example
- pod install
- pod lib lint --allow-warnings
- xcodebuild test -workspace Puree.xcworkspace -scheme PureeTests -destination 'platform=iOS Simulator,name=iPhone 6' | xcpretty -c
| language: objective-c
osx_image: xcode8
before_install:
- gem update cocoapods --pre # Install 1.1.0.rc.2
- pod setup --silent > /dev/null
- pod repo update --silent
script:
- set -o pipefail
- pod lib lint --allow-warnings
- pushd Example
- pod install
- xcodebuild test -workspace Puree.xcworkspace -scheme PureeTests -destination 'platform=iOS Simulator,name=iPhone 6' | xcpretty -c
|
Set osx image to have xcode 7.3 for Travis CI | # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/WistiaKit.xcworkspace -scheme WistiaKit-Example -sdk iphonesimulator -destination 'name=iPhone 6' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
| # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode7.3
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/WistiaKit.xcworkspace -scheme WistiaKit-Example -sdk iphonesimulator -destination 'name=iPhone 6' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
|
Enable Go modules for build | language: go
go:
- 1.13.3
- tip
install:
- go get github.com/stretchr/testify
| language: go
go:
- 1.13.3
- tip
env:
- GO111MODULE=on
install:
- go get github.com/stretchr/testify
|
Remove python 3.5 from tests, python3.5 is EOL. | language: python
dist: bionic
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "nightly"
- "pypy3"
script:
- make test
deploy:
provider: pypi
user: "MolopsDeploy"
password:
secure: "tX5VvpXIj7Afm9slPgCeSwelTxRnWPGfQcglTw92PoHlYeVbgiesEaH2uxIVS3cDeHWTHY4JsT/P2Juu6kZzga+Cb8thUND4JRYeUd1vizJblbeb5hgBRlQ8W/7x6k3j+Eh0I62HW7VDIiyM4uEBhigai4eJyuCK73pFmRmNfxw="
on:
tags: true
python: "3.8"
| language: python
dist: bionic
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "nightly"
- "pypy3"
script:
- make test
deploy:
provider: pypi
user: "MolopsDeploy"
password:
secure: "tX5VvpXIj7Afm9slPgCeSwelTxRnWPGfQcglTw92PoHlYeVbgiesEaH2uxIVS3cDeHWTHY4JsT/P2Juu6kZzga+Cb8thUND4JRYeUd1vizJblbeb5hgBRlQ8W/7x6k3j+Eh0I62HW7VDIiyM4uEBhigai4eJyuCK73pFmRmNfxw="
on:
tags: true
python: "3.8"
|
Remove PHP syntax check from Travis CI | language: php
sudo: false
php:
- 7.2
- 7.0
before_install:
- export PATH="$PATH:$(composer global config bin-dir --absolute)"
- composer global require "squizlabs/php_codesniffer=3.*"
- phpenv rehash
script:
- find . -type f -name '*.php' -not -path './wcfsetup/install/files/lib/system/api/composer/autoload_static.php' -print0 |xargs -0 -I file -P 4 php -l file > /dev/null
- phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .
| language: php
sudo: false
php:
- 7.2
- 7.0
before_install:
- export PATH="$PATH:$(composer global config bin-dir --absolute)"
- composer global require "squizlabs/php_codesniffer=3.*"
- phpenv rehash
script:
- phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .
|
Rewrite will attempt to avoid requiring these, so our builds are faster and cleaner (no extra dependancies outside NodeJS hopefully) | language: node_js
node_js:
- "stable"
- "8"
- "6"
before_install:
# - npm -g install npm@'>=3'
# this is from the below libxmljs test, just to confirm it's installed correctly
- $CXX --version
# cached node_modules seem to be breaking node 8 tests
#cache:
# directories:
# - node_modules
# ensure libxmljs can get compiled
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
sudo: false
| language: node_js
node_js:
- "stable"
- "8"
- "6"
sudo: false
|
Remove rubinius, not dealing with rubysl issues | language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- "2.1.0"
- jruby-19mode # JRuby in 1.9 mode
- rbx-2.1.1
- rbx-2.2.2
| language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- "2.1.0"
- jruby-19mode # JRuby in 1.9 mode
|
Use pip to install dependencies so you'd be able to retry failed installations. | language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "pypy"
env:
- INSTALL_PYMONGO=true INSTALL_PYEXECJS=true
- INSTALL_PYMONGO=false INSTALL_PYEXECJS=false
services:
- mongodb
# command to install dependencies, e.g. pip install -r requirements.txt
install:
- python setup.py develop
- travis_retry pip install nose
# command to run tests, e.g. python setup.py test
script: nosetests -w tests
| language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "pypy"
env:
- INSTALL_PYMONGO=true INSTALL_PYEXECJS=true
- INSTALL_PYMONGO=false INSTALL_PYEXECJS=false
services:
- mongodb
# command to install dependencies, e.g. pip install -r requirements.txt
install:
- travis_retry pip install -e .
- travis_retry pip install nose
# command to run tests, e.g. python setup.py test
script: nosetests -w tests
|
Add --prefer-source to bypass github limit rate | language: php
php:
- 5.3
- 5.4
before_script:
- wget -nc http://getcomposer.org/composer.phar && php composer.phar install
- mysql -e 'create database myapp_test;'
- echo "yes" | pecl install memcache
- echo "extension=memcache.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
script: phpunit --bootstrap ./tests/bootstrap.php --coverage-text tests
| language: php
php:
- 5.3
- 5.4
before_script:
- wget -nc http://getcomposer.org/composer.phar && php composer.phar install --prefer-source
- mysql -e 'create database myapp_test;'
- echo "yes" | pecl install memcache
- echo "extension=memcache.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
script: phpunit --bootstrap ./tests/bootstrap.php --coverage-text tests
|
Add source clear and attempt to only test package | language: go
go:
- 1.7
before_install:
- go get github.com/axw/gocov/gocov
- 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:
- $HOME/gopath/bin/goveralls -service=travis-ci
| language: go
go:
- 1.7
before_install:
- go get github.com/axw/gocov/gocov
- 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 .
- $HOME/gopath/bin/goveralls -service=travis-ci
addons:
srcclr: true
|
Drop the bundler cache, see if that helps matters. | language: ruby
cache: bundler
rvm:
# - 2.2
- 2.3
# - 2.4
# - rbx-2
# - rbx
# - jruby-1.7
# - jruby
gemfile:
- spec/gemfiles/Gemfile.edge
- spec/gemfiles/Gemfile.rails-4.2.x
# - spec/gemfiles/Gemfile.rails-4.1.x
# - spec/gemfiles/Gemfile.rails-4.0.x
# - spec/gemfiles/Gemfile.sequel-3.x
env:
- PG_VERSION=9.3
- PG_VERSION=9.4
- PG_VERSION=9.5
# - PG_VERSION=9.6
before_install:
- sudo /etc/init.d/postgresql stop
- sudo apt-get install postgresql-$PG_VERSION
- sudo sed -i "s/port = ..../port = 5432/g" /etc/postgresql/$PG_VERSION/main/postgresql.conf
- sudo /etc/init.d/postgresql stop
- sudo /etc/init.d/postgresql start $PG_VERSION
before_script:
- psql -c 'create database "que-test"' -U postgres
- bundle exec ruby -r sequel -r ./lib/que -e 'Que.connection=Sequel.connect("postgres://localhost/que-test"); Que.migrate!'
script: "bundle exec rake"
notifications:
email: false
| language: ruby
# cache: bundler
rvm:
# - 2.2
- 2.3
# - 2.4
# - rbx-2
# - rbx
# - jruby-1.7
# - jruby
gemfile:
- spec/gemfiles/Gemfile.edge
- spec/gemfiles/Gemfile.rails-4.2.x
# - spec/gemfiles/Gemfile.rails-4.1.x
# - spec/gemfiles/Gemfile.rails-4.0.x
# - spec/gemfiles/Gemfile.sequel-3.x
env:
- PG_VERSION=9.3
- PG_VERSION=9.4
- PG_VERSION=9.5
# - PG_VERSION=9.6
before_install:
- sudo /etc/init.d/postgresql stop
- sudo apt-get install postgresql-$PG_VERSION
- sudo sed -i "s/port = ..../port = 5432/g" /etc/postgresql/$PG_VERSION/main/postgresql.conf
- sudo /etc/init.d/postgresql stop
- sudo /etc/init.d/postgresql start $PG_VERSION
before_script:
- psql -c 'create database "que-test"' -U postgres
- bundle exec ruby -r sequel -r ./lib/que -e 'Que.connection=Sequel.connect("postgres://localhost/que-test"); Que.migrate!'
script: "bundle exec rake"
notifications:
email: false
|
Use new infrastructure of Travis | language: python
python:
- "2.7"
- "3.4"
- "3.5"
install:
- python setup.py install
- pip install nose flake8 hacking
script:
- nosetests -a '!gpu' tests/chainer_tests
- flake8 chainer cupy tests examples --exclude=libcudnn.py,caffe_pb2.py
| language: python
python:
- "2.7"
- "3.4"
- "3.5"
install:
- python setup.py install
- pip install nose flake8 hacking
script:
- nosetests -a '!gpu' tests/chainer_tests
- flake8 chainer cupy tests examples --exclude=libcudnn.py,caffe_pb2.py
sudo: false
|
Revert "Deploy for pages branch" | sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: node_js
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- npm install -g @angular/cli
- npm install
jobs:
include:
- script: ng test -sr
node_js: "6"
node_js: "node"
- stage: integration
script: ng e2e
node_js: "6"
node_js: "node"
- stage: deploy
node_js: "node"
script:
- npm install enhanced-resolve@3.3.0 # Workaround from https://github.com/angular/angular-cli/issues/4551#issuecomment-317459157
- ng build --prod --base-href /diablo3cube/ --deploy-url https://seeker.github.io/diablo3cube/
deploy:
provider: pages
skip_cleanup: true
local_dir: dist
github_token: $GITHUB_OAUTH_TOKEN
on:
branch: master
branch: pages
| sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: node_js
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- npm install -g @angular/cli
- npm install
jobs:
include:
- script: ng test -sr
node_js: "6"
node_js: "node"
- stage: integration
script: ng e2e
node_js: "6"
node_js: "node"
- stage: deploy
node_js: "node"
script:
- npm install enhanced-resolve@3.3.0 # Workaround from https://github.com/angular/angular-cli/issues/4551#issuecomment-317459157
- ng build --prod --base-href /diablo3cube/ --deploy-url https://seeker.github.io/diablo3cube/
deploy:
provider: pages
skip_cleanup: true
local_dir: dist
github_token: $GITHUB_OAUTH_TOKEN
on:
branch: master
|
Remove Symfony3 from Travis allowed failure | language: php
sudo: required
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
matrix:
fast_finish: true
include:
- php: 5.6
env: SYMFONY_VERSION=2.3.*
- php: 5.6
env: SYMFONY_VERSION=2.4.*
- php: 5.6
env: SYMFONY_VERSION=2.5.*
- php: 5.6
env: SYMFONY_VERSION=2.6.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
allow_failures:
- php: 7.0
- env: SYMFONY_VERSION=3.0.*
before_script:
- pecl -q install xhprof-beta && echo "extension=xhprof.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer selfupdate
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- composer update --prefer-source --no-interaction $COMPOSER_FLAGS
script: ./vendor/bin/phpunit
| language: php
sudo: required
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
matrix:
fast_finish: true
include:
- php: 5.6
env: SYMFONY_VERSION=2.3.*
- php: 5.6
env: SYMFONY_VERSION=2.4.*
- php: 5.6
env: SYMFONY_VERSION=2.5.*
- php: 5.6
env: SYMFONY_VERSION=2.6.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.*
allow_failures:
- php: 7.0
before_script:
- pecl -q install xhprof-beta && echo "extension=xhprof.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer selfupdate
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- composer update --prefer-source --no-interaction $COMPOSER_FLAGS
script: ./vendor/bin/phpunit
|
Add google test dir to cmake prefix path | language: cpp
compiler: clang
branches:
only:
- master
before_script:
- export INITIAL_DIR=$PWD
- wget --no-check-certificate https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz -O /tmp/cmake.tar.gz
- tar -xvf /tmp/cmake.tar.gz
- export PATH=$PWD/cmake-3.6.2-Linux-x86_64/bin/:$PATH
- git clone https://github.com/google/googletest
- cd googletest
- mkdir myBuild
- cd myBuild
- cmake -DCMAKE_INSTALL_PREFIX=$PWD/myInstall ..
- export PATH=$PWD/myInstall:$PATH
- make
- make install
- cd $INITIAL_DIR
- mkdir build
- cd build
- cmake ..
script: make
| language: cpp
compiler: clang
branches:
only:
- master
before_script:
- export INITIAL_DIR=$PWD
- wget --no-check-certificate https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz -O /tmp/cmake.tar.gz
- tar -xvf /tmp/cmake.tar.gz
- export PATH=$PWD/cmake-3.6.2-Linux-x86_64/bin/:$PATH
- git clone https://github.com/google/googletest
- cd googletest
- mkdir myBuild
- cd myBuild
- cmake -DCMAKE_INSTALL_PREFIX=$PWD/myInstall ..
- export PATH=$PWD/myInstall:$PATH
- export CMAKE_PREFIX_PATH=$PWD/myInstall:$CMAKE_PREFIX_PATH
- make
- make install
- cd $INITIAL_DIR
- mkdir build
- cd build
- cmake ..
script: make
|
Upgrade versions and add Rails 5.2 | language: ruby
rvm:
- 2.3.1
- 2.4.4
- 2.5.1
sudo: false
script: bundle exec rake db:reset test:all
env:
- "RAILS_VERSION=4.2.0"
- "RAILS_VERSION=5.0.6"
- "RAILS_VERSION=5.1.5"
- "RAILS_VERSION=4.2.0 TEST_RAILS_API=true"
- "RAILS_VERSION=5.0.6 TEST_RAILS_API=true"
- "RAILS_VERSION=5.1.5 TEST_RAILS_API=true"
| language: ruby
rvm:
- 2.3.1
- 2.4.4
- 2.5.1
sudo: false
script: bundle exec rake db:reset test:all
env:
- "RAILS_VERSION=4.2.0"
- "RAILS_VERSION=5.0.7"
- "RAILS_VERSION=5.1.6"
- "RAILS_VERSION=5.2.2"
- "RAILS_VERSION=4.2.0 TEST_RAILS_API=true"
- "RAILS_VERSION=5.0.7 TEST_RAILS_API=true"
- "RAILS_VERSION=5.1.6 TEST_RAILS_API=true"
- "RAILS_VERSION=5.2.2 TEST_RAILS_API=true
|
Correct Travis CI environment variables. | language: python
python:
- "2.6"
- "2.7"
env:
- BEFORE_DJANGO_VERSION=1.5
- BEFORE_DJANGO_VERSION=1.6
- TASTYPIE_VERSION="==0.9.12"
- TASTYPIE_VERSION=">=0.9.12"
- MONGOENGINE_VERSION="==0.6.11"
- MONGOENGINE_VERSION=">=0.6.11,<0.8.2"
services: mongodb
install:
- pip install "Django<$BEFORE_DJANGO_VERSION"
- pip install "django-tastypie$TASTYPIE_VERSION"
- pip install "mongoengine$MONGOENGINE_VERSION"
- python setup.py install
script: "python setup.py test"
| language: python
python:
- "2.6"
- "2.7"
env:
- BEFORE_DJANGO_VERSION=1.5 TASTYPIE_VERSION="==0.9.12" MONGOENGINE_VERSION="==0.6.11"
- BEFORE_DJANGO_VERSION=1.5 TASTYPIE_VERSION="==0.9.12" MONGOENGINE_VERSION=">=0.6.11,<0.8.2"
- BEFORE_DJANGO_VERSION=1.5 TASTYPIE_VERSION=">=0.9.12" MONGOENGINE_VERSION="==0.6.11"
- BEFORE_DJANGO_VERSION=1.5 TASTYPIE_VERSION=">=0.9.12" MONGOENGINE_VERSION=">=0.6.11,<0.8.2"
- BEFORE_DJANGO_VERSION=1.6 TASTYPIE_VERSION="==0.9.12" MONGOENGINE_VERSION="==0.6.11"
- BEFORE_DJANGO_VERSION=1.6 TASTYPIE_VERSION="==0.9.12" MONGOENGINE_VERSION=">=0.6.11,<0.8.2"
- BEFORE_DJANGO_VERSION=1.6 TASTYPIE_VERSION=">=0.9.12" MONGOENGINE_VERSION="==0.6.11"
- BEFORE_DJANGO_VERSION=1.6 TASTYPIE_VERSION=">=0.9.12" MONGOENGINE_VERSION=">=0.6.11,<0.8.2"
services: mongodb
install:
- pip install "Django<$BEFORE_DJANGO_VERSION"
- pip install "django-tastypie$TASTYPIE_VERSION"
- pip install "mongoengine$MONGOENGINE_VERSION"
- python setup.py install
script: "python setup.py test"
|
Make playground in Travis build | language: objective-c
install:
- npm install -g swift-playground-builder
script:
# Generate README.playground from README.md
- make
- pushd IDZSwiftCommonCrypto
- rm -rf CommonCrypto
- ./GenerateCommonCryptoModule iphonesimulator8.0 .
- cat CommonCrypto/module.map
- pwd
- xcodebuild build -scheme IDZSwiftCommonCrypto -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.0'
# Remove testing pending solution to https://github.com/travis-ci/travis-ci/issues/2829
#- xcodebuild test -scheme IDZSwiftCommonCrypto -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.0'
- popd
| language: objective-c
install:
- npm install -g swift-playground-builder
script:
# Generate README.playground from README.md
- make
- git add .
- git commit -m"Playground update from Travis [ci skip]"
- git push
- pushd IDZSwiftCommonCrypto
- rm -rf CommonCrypto
- ./GenerateCommonCryptoModule iphonesimulator8.0 .
- cat CommonCrypto/module.map
- pwd
- xcodebuild build -scheme IDZSwiftCommonCrypto -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.0'
# Remove testing pending solution to https://github.com/travis-ci/travis-ci/issues/2829
#- xcodebuild test -scheme IDZSwiftCommonCrypto -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.0'
- popd
|
Adjust TravisCI tests for supported PHP versions | language: php
cache:
directories:
- $HOME/.chapi/cache
dist: trusty
sudo: false
php:
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
fast_finish: true
before_script:
- git config --global user.name travis-ci
- git config --global user.email travis@example.com
- composer self-update
- composer install --prefer-source
script: ./bin/phpunit --coverage-clover=coverage.clover -c test/phpunit.xml test/
after_script:
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
| language: php
cache:
directories:
- $HOME/.chapi/cache
dist: trusty
sudo: false
php:
- 7.2
- 7.3
- 7.4
matrix:
fast_finish: true
before_script:
- git config --global user.name travis-ci
- git config --global user.email travis@example.com
- composer self-update
- composer install --prefer-source
script: ./bin/phpunit --coverage-clover=coverage.clover -c test/phpunit.xml test/
after_script:
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
|
Remove conditions never evaluating to true | sudo: false
language: php
matrix:
fast_finish: true
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7
- php: hhvm
allow_failures:
- php: 7
before_install:
- composer selfupdate
install:
- travis_retry composer install --no-interaction --prefer-source
- if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi
script:
- vendor/bin/phpunit --coverage-text
- if [[ "$CHECK_LINKS" == "true" ]]; then cd docs && make linkcheck && cd ..; fi
- if [[ "$BUILD_DOCS" == "true" ]]; then vendor/bin/phpdoc -d src -t docs-api; fi
| sudo: false
language: php
matrix:
fast_finish: true
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7
- php: hhvm
allow_failures:
- php: 7
before_install:
- composer selfupdate
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- vendor/bin/phpunit --coverage-text
|
Use fixed SDK version, rather than latest | language: android
android:
components:
# use the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-23.0.2
# The SDK version used to compile your project
- android-23
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
jdk:
- oraclejdk8
| language: android
android:
components:
# The BuildTools version used by your project
- build-tools-23.0.2
# The SDK version used to compile your project
- android-23
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
jdk:
- oraclejdk8
|
Use NPM3 regardless of version | sudo: required
language: node_js
node_js:
- 4
- 5
- 6
script:
- npm test
- npm run lint
| sudo: required
language: node_js
node_js:
- 4
- 5
- 6
before_install:
- npm install npm@3 -g
script:
- npm test
- npm run lint
|
Use check instead of test. | language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
before_install:
- chmod +x gradlew
script:
- TERM=dumb ./gradlew test | language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
before_install:
- chmod +x gradlew
script:
- TERM=dumb ./gradlew check --info |
Update from Hackage at 2022-03-19T03:31:14Z | homepage: ''
changelog-type: markdown
hash: 4bd35a9b65ad4ec3e39db0c1f749a5a923bcc18ab69db10bcfb9a1090e26e3aa
test-bench-deps: {}
maintainer: fumiexcel@gmail.com
synopsis: Compatibility shim for the Int/Word internal change in GHC 9.2
changelog: |
# Revision history for word-compat
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
base: '>=4.10 && <5'
ghc-prim: -any
all-versions:
- 0.0.1
author: Fumiaki Kinoshita
latest: 0.0.1
description-type: haddock
description: This package offers a workaround for the breaking change in Word/Int.
Import GHC.Word.Compat in place of GHC.Word to take effect.
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: c881977321de67d6f1d0cafe805e66d771a6e0614cafaa2104391f44cf4afd21
test-bench-deps: {}
maintainer: fumiexcel@gmail.com
synopsis: Compatibility shim for the Int/Word internal change in GHC 9.2
changelog: |
# Revision history for word-compat
## 0.0.2
* Fixed a bug where bitReverse* were incorrectly exported on base >= 4.12
* On GHCs older than 9.2, it now reexports data constructors instead of pattern synonyms
## 0.0.1
* First version. Released on an unsuspecting world.
basic-deps:
base: '>=4.9 && <5'
ghc-prim: -any
all-versions:
- 0.0.1
- 0.0.2
author: Fumiaki Kinoshita
latest: 0.0.2
description-type: haddock
description: This package offers a workaround for the breaking change in Word/Int.
Import GHC.Word.Compat in place of GHC.Word to take effect.
license-name: BSD-3-Clause
|
Test on Travis with Node 8 | language: node_js
node_js:
- '6.0'
addons:
firefox: 'latest'
env:
- BROWSER=PhantomJS
- BROWSER=ChromeTravisCI
- BROWSER=Firefox
before_script:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g npm@latest
- npm install -g bower karma-cli grunt-cli
- bower install --force-latest
- npm install
script:
- cp config.sample.js config.js
- grunt
- npm test -- --browsers $BROWSER
after_success:
- grunt coveralls
| language: node_js
node_js:
- '8.0'
addons:
firefox: 'latest'
env:
- BROWSER=PhantomJS
- BROWSER=ChromeTravisCI
- BROWSER=Firefox
before_script:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g npm@latest
- npm install -g bower karma-cli grunt-cli
- bower install --force-latest
- npm install
script:
- cp config.sample.js config.js
- grunt
- npm test -- --browsers $BROWSER
after_success:
- grunt coveralls
|
Remove test npm taks. Travis runs it by default for us | sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run check-vulnerable-dependencies
- npm run dependency-check
- npm run lint
- npm test
- npm run coverage
- npm run check-coverage
- npm run report-coverage
- npm run build
- npm run umd
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
| sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run check-vulnerable-dependencies
- npm run dependency-check
- npm run lint
- npm run coverage
- npm run check-coverage
- npm run report-coverage
- npm run build
- npm run umd
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
|
Remove Mavericks from build matrix | language: generic
os: osx
osx_image: beta-xcode6.2 # Mavericks
matrix:
include:
- osx_image: xcode7.3 # El Capitan
- osx_image: xcode7.1 # Yosemite
before_install:
- brew update
- sed -e 's/- brewcask/# - brewcask/' -e 's/- font/# - font/' localhost.yml > ci.yml
install:
- brew install ansible
script:
- travis_wait 60 ansible-playbook ci.yml -vv -i hosts
| language: generic
os: osx
osx_image: xcode7.3 # El Capitan
matrix:
include:
- osx_image: xcode7.1 # Yosemite
# - osx_image: beta-xcode6.2 # Mavericks
before_install:
- brew update
- sed -e 's/- brewcask/# - brewcask/' -e 's/- font/# - font/' localhost.yml > ci.yml
install:
- brew install ansible
script:
- travis_wait 60 ansible-playbook ci.yml -vv -i hosts
|
Allow failures on PHP 7.2 | sudo: false
language: php
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.0
env: COMPOSER_ARGUMENTS="--prefer-lowest --prefer-stable"
- php: 7.0
- php: 7.1
- php: 7.2
- php: nightly
allow_failures:
- php: nightly
fast_finish: true
before_script:
- composer update --prefer-dist ${COMPOSER_ARGUMENTS}
script:
- vendor/bin/phpunit --configuration phpunit.xml.dist --colors --coverage-clover=coverage.clover
- |
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
vendor/bin/docheader check library tests
fi
after_script:
- |
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
| sudo: false
language: php
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.0
env: COMPOSER_ARGUMENTS="--prefer-lowest --prefer-stable"
- php: 7.0
- php: 7.1
- php: 7.2
- php: nightly
allow_failures:
- php: nightly
- php: 7.2
fast_finish: true
before_script:
- composer update --prefer-dist ${COMPOSER_ARGUMENTS}
script:
- vendor/bin/phpunit --configuration phpunit.xml.dist --colors --coverage-clover=coverage.clover
- |
if [[ "${TRAVIS_PHP_VERSION}" == "7.1" ]]; then
vendor/bin/docheader check library tests
fi
after_script:
- |
if [[ "${TRAVIS_PHP_VERSION}" == "7.1" ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
|
Add PHP 7.1 to automated testing matrix | sudo: false
language: php
php:
- 5.6
- 7.0
- nightly
addons:
apt:
packages: [expect]
cache:
directories:
- ~/.composer/cache/files/
before_install:
- phpenv config-add .travis.php.ini
install:
- composer install --prefer-dist
before_script:
# Ancient make binary at TravisCI doesn't support indentation with spaces
- unexpand -t 4 Makefile > Makefile.tmp && mv Makefile.tmp Makefile
- make generate-insecure-signing-key
script:
- make test
branches:
only: [master, develop]
| sudo: false
language: php
php:
- 5.6
- 7.0
- 7.1
- nightly
addons:
apt:
packages: [expect]
cache:
directories:
- ~/.composer/cache/files/
before_install:
- phpenv config-add .travis.php.ini
install:
- composer install --prefer-dist
before_script:
# Ancient make binary at TravisCI doesn't support indentation with spaces
- unexpand -t 4 Makefile > Makefile.tmp && mv Makefile.tmp Makefile
- make generate-insecure-signing-key
script:
- make test
branches:
only: [master, develop]
|
Make sure building dists works. | dist: xenial
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "2.7"
env:
- DJANGO_VERSION=2.1
- DJANGO_VERSION=2.2
- DJANGO_VERSION=1.11
services:
- memcached
- redis
- mysql
- postgresql
matrix:
exclude:
- python: "2.7"
env: DJANGO_VERSION=2.1
- python: "2.7"
env: DJANGO_VERSION=2.2
- python: "3.8"
env: DJANGO_VERSION=1.11
- python: "3.7"
env: DJANGO_VERSION=1.11
- python: "3.6"
env: DJANGO_VERSION=1.11
install:
- pip install -r requirements.txt
- pip install -q Django==$DJANGO_VERSION
- mysql -e 'create database django_prometheus_1;'
script:
- if [[ $TRAVIS_PYTHON_VERSION == "3.7" ]]; then black --check django_prometheus/; fi
- python setup.py test
- cd django_prometheus/tests/end2end && PYTHONPATH=../../.. python manage.py test
| dist: xenial
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "2.7"
env:
- DJANGO_VERSION=2.1
- DJANGO_VERSION=2.2
- DJANGO_VERSION=1.11
services:
- memcached
- redis
- mysql
- postgresql
matrix:
exclude:
- python: "2.7"
env: DJANGO_VERSION=2.1
- python: "2.7"
env: DJANGO_VERSION=2.2
- python: "3.8"
env: DJANGO_VERSION=1.11
- python: "3.7"
env: DJANGO_VERSION=1.11
- python: "3.6"
env: DJANGO_VERSION=1.11
install:
- pip install -r requirements.txt
- pip install -q Django==$DJANGO_VERSION
- pip install --upgrade setuptools wheel
- mysql -e 'create database django_prometheus_1;'
script:
- if [[ $TRAVIS_PYTHON_VERSION == "3.7" ]]; then black --check django_prometheus/; fi
- python setup.py test
- python setup.py sdist bdist_wheel
- cd django_prometheus/tests/end2end && PYTHONPATH=../../.. python manage.py test
|
Remove PHP 5.5 & 5.6 build support | sudo: false
language: php
cache:
directories:
- "$HOME/.composer/cache"
- vendor
matrix:
fast_finish: true
include:
- php: 5.5
- php: 5.6
env:
- EXECUTE_DEPLOYMENT=true
- php: 7.0
- php: hhvm
allow_failures:
- php: hhvm
before_install:
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini ; fi
- travis_retry composer self-update
install:
- travis_retry composer install --prefer-source --no-interaction
- composer info -i
script:
- vendor/bin/phpunit
after_success:
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_PULL_REQUEST == 'false' ]]; then composer install --no-dev --prefer-dist --no-interaction ; fi
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./bin/deploy.sh ; fi | sudo: false
language: php
cache:
directories:
- "$HOME/.composer/cache"
- vendor
matrix:
fast_finish: true
include:
- php: 7.0
- EXECUTE_DEPLOYMENT=true
- php: 7.1
before_install:
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini ; fi
- travis_retry composer self-update
install:
- travis_retry composer install --prefer-source --no-interaction
- composer info -i
script:
- vendor/bin/phpunit
after_success:
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_PULL_REQUEST == 'false' ]]; then composer install --no-dev --prefer-dist --no-interaction ; fi
- if [[ $EXECUTE_DEPLOYMENT == 'true' && $TRAVIS_PULL_REQUEST == 'false' ]]; then ./bin/deploy.sh ; fi
|
Remove node 9, add 10 and latest | language: node_js
node_js:
- "6"
- "8"
- "9"
script: "npm run-script travis"
| language: node_js
node_js:
- "6"
- "8"
- "10"
- "node"
script: "npm run-script travis"
|
Remove defunct Code Climate Travis variables | language: ruby
os:
- linux
rvm:
- 2.1.8
- 2.2.4
- 2.3.0
install:
- bundle install
- bundle exec rake db:migrate
script:
# Run Cucumber Tests
- bundle exec cucumber
matrix:
# Return results after first failure for required versions, or after all that
# is left to build allows failures.
fast_finish: true
# Not yet supported versions should be allowed to fail without effecting the
# build's cumulative status
allow_failures:
- rvm: 1.8.7
- rvm: 1.9.2
- rvm: 1.9.3
# "Travis CI clones repositories to a depth of 50 commits, which is only really
# useful if you are performing git operations."
git:
depth: 3
addons:
code_climate:
repo_token: 5acf4ceee0826ad589992619d7853700dc0ad494dd5fd104c99378af22f819e8
| language: ruby
os:
- linux
rvm:
- 2.1.8
- 2.2.4
- 2.3.0
install:
- bundle install
- bundle exec rake db:migrate
script:
# Run Cucumber Tests
- bundle exec cucumber
matrix:
# Return results after first failure for required versions, or after all that
# is left to build allows failures.
fast_finish: true
# Not yet supported versions should be allowed to fail without effecting the
# build's cumulative status
allow_failures:
- rvm: 1.8.7
- rvm: 1.9.2
- rvm: 1.9.3
# "Travis CI clones repositories to a depth of 50 commits, which is only really
# useful if you are performing git operations."
git:
depth: 3
|
Configure Travis to test different versions of SF and PHPUnit | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
before_script: composer install --dev
notifications:
email: matthiasnoback@gmail.com
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
env:
- SYMFONY_VERSION=2.5.* PHPUNIT_VERSION=~3.7
- SYMFONY_VERSION=2.0.* PHPUNIT_VERSION=~4.0
- SYMFONY_VERSION=2.1.* PHPUNIT_VERSION=~4.0
- SYMFONY_VERSION=2.2.* PHPUNIT_VERSION=~4.0
- SYMFONY_VERSION=2.3.* PHPUNIT_VERSION=~4.0
- SYMFONY_VERSION=2.4.* PHPUNIT_VERSION=~4.0
- SYMFONY_VERSION=2.5.* PHPUNIT_VERSION=~4.0
before_script:
- composer require --no-update "symfony/config:${SYMFONY_VERSION}"
- composer require --no-update "phpunit/phpunit:${PHPUNIT_VERSION}"
- composer update
notifications:
email: matthiasnoback@gmail.com
|
Add rails 4.2 to Travis config | language: ruby
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- ruby-head
- jruby-19mode
- rbx
gemfile:
- gemfiles/rails_3_0.gemfile
- gemfiles/rails_3_1.gemfile
- gemfiles/rails_3_2.gemfile
- gemfiles/rails_4_0.gemfile
- gemfiles/rails_4_1.gemfile
matrix:
allow_failures:
- rvm: 2.2
- rvm: jruby-19mode
- rvm: rbx
- rvm: ruby-head
fast_finish: true
notifications:
email: false
| language: ruby
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- ruby-head
- jruby-19mode
- rbx
gemfile:
- gemfiles/rails_3_0.gemfile
- gemfiles/rails_3_1.gemfile
- gemfiles/rails_3_2.gemfile
- gemfiles/rails_4_0.gemfile
- gemfiles/rails_4_1.gemfile
- gemfiles/rails_4_2.gemfile
matrix:
allow_failures:
- rvm: 2.2
- rvm: jruby-19mode
- rvm: rbx
- rvm: ruby-head
fast_finish: true
notifications:
email: false
|
Fix path to NVM on Travis | language: php
php: [5.4, 5.5, 5.6, hhvm, hhvm-nightly]
before_script:
- ~/.nvm/nvm.sh install v0.10.32
- ~/.nvm.nvm.sh run v0.10.32
- make
script:
- make test
matrix:
allow_failures:
- php: hhvm-nightly
fast_finish: true
notifications:
email: false
| language: php
php: [5.4, 5.5, 5.6, hhvm, hhvm-nightly]
before_script:
- ~/.nvm/nvm.sh install v0.10.32
- ~/.nvm/nvm.sh run v0.10.32
- make
script:
- make test
matrix:
allow_failures:
- php: hhvm-nightly
fast_finish: true
notifications:
email: false
|
Add a missing exclude for django 1.9 and python 3.3 | language: python
sudo: false
python:
- "3.5"
- "3.4"
- "3.3"
- "2.7"
env:
- DJANGO="django==1.8.6"
- DJANGO="https://www.djangoproject.com/download/1.9b1/tarball/"
install:
- pip install $DJANGO
- pip install jinja2 django-pipeline
- pip install pytz
script:
- cd testing && python runtests.py
notifications:
email:
recipients:
- niwi@niwi.nz
on_success: change
on_failure: change
| language: python
sudo: false
python:
- "3.5"
- "3.4"
- "3.3"
- "2.7"
env:
- DJANGO="django==1.8.6"
- DJANGO="https://www.djangoproject.com/download/1.9b1/tarball/"
install:
- pip install $DJANGO
- pip install jinja2 django-pipeline
- pip install pytz
matrix:
exclude:
- python: "3.3"
env: DJANGO="https://www.djangoproject.com/download/1.9b1/tarball/"
script:
- cd testing && python runtests.py
notifications:
email:
recipients:
- niwi@niwi.nz
on_success: change
on_failure: change
|
Drop node.js 8 support, add 14, lint with 14 (semver-major) | language: node_js
node_js:
- 8
- 10
- 12
- node
matrix:
include:
- name: Lint
node_js: 12
script: npm run lint
script: npm run test:ci
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
| language: node_js
node_js:
- 10
- 12
- 14
- node
matrix:
include:
- name: Lint
node_js: 14
script: npm run lint
script: npm run test:ci
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
|
Set Xcode 7 as an OSX build requirement | language: cpp
script:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
- sudo apt-get install libstdc++-4.8-dev
- cmake --version
- ./build.sh
matrix:
include:
# Linux Clang
- os: linux
compiler: clang
env: BUILD_TYPE='Release'
- os: linux
compiler: clang
env: BUILD_TYPE='Debug'
# Linux GCC
- os: linux
compiler: gcc
addons: &gcc48
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.8']
env: BUILD_TYPE='Release'
- os: linux
compiler: gcc
addons: &gcc48
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.8']
env: BUILD_TYPE='Debug'
# OS X
- os: osx
compiler: clang
env: BUILD_TYPE='Debug'
- os: osx
compiler: clang
env: BUILD_TYPE='Release'
| language: cpp
script:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
- sudo apt-get install libstdc++-4.8-dev
- cmake --version
- ./build.sh
matrix:
include:
# Linux Clang
- os: linux
compiler: clang
env: BUILD_TYPE='Release'
- os: linux
compiler: clang
env: BUILD_TYPE='Debug'
# Linux GCC
- os: linux
compiler: gcc
addons: &gcc48
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.8']
env: BUILD_TYPE='Release'
- os: linux
compiler: gcc
addons: &gcc48
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.8']
env: BUILD_TYPE='Debug'
# OS X
- os: osx
osx_image: xcode7
compiler: clang
env: BUILD_TYPE='Debug'
- os: osx
osx_image: xcode7
compiler: clang
env: BUILD_TYPE='Release'
|
Test in all php versions | language: php
php: 5.3.8
install: composer install
| language: php
php:
- 5.3 # >= 5.3.8
- 5.4
- 5.5
- 5.6
install: composer install
|
Remove '--all' from 'yum repolist' | ---
- name: Register the host to Red Hat account
include_tasks: register_cdn.yml
# no need to register if machine already subscribed
when: "cdn_args_file != ''"
# unregister repos and register back if no activation-key is used.
# if activation-key is used, the env will be automatically attached
# and subscribed to the repos assigned to the activation-key
- block:
- name: unregister from all repos
command: subscription-manager repos --disable=*
failed_when: (unregister_repos.rc != 0 and "'*' does not match a valid repository ID." not in unregister_repos.stdout)
register: unregister_repos
become: true
- name: register to openstack repos
vars:
repo_list: "{{ (subscriptions.common_8 if (install_version|openstack_release) >= 15 else subscriptions.common_7) + (subscriptions[install_version|openstack_release] if not cdn_skip_openstack_repos | default(false) else []) }}"
modified_list: "{{ repo_list | map('regex_replace', '^(.*)$', '--enable=\\1') | join(' ') }}"
command: "subscription-manager repos {{ modified_list }}"
become: true
# running also if subscriptions are defined to avoid job breakages.
when: (cdn_args_file != '' and cdn_creds.activationkey is undefined) or (subscriptions is defined and subscriptions|length > 0 )
- name: refresh yum cache
package:
name: kernel
state: present
update_cache: yes
become: true
- name: repolist
command: "yum -v repolist --all"
become: true
| ---
- name: Register the host to Red Hat account
include_tasks: register_cdn.yml
# no need to register if machine already subscribed
when: "cdn_args_file != ''"
# unregister repos and register back if no activation-key is used.
# if activation-key is used, the env will be automatically attached
# and subscribed to the repos assigned to the activation-key
- block:
- name: unregister from all repos
command: subscription-manager repos --disable=*
failed_when: (unregister_repos.rc != 0 and "'*' does not match a valid repository ID." not in unregister_repos.stdout)
register: unregister_repos
become: true
- name: register to openstack repos
vars:
repo_list: "{{ (subscriptions.common_8 if (install_version|openstack_release) >= 15 else subscriptions.common_7) + (subscriptions[install_version|openstack_release] if not cdn_skip_openstack_repos | default(false) else []) }}"
modified_list: "{{ repo_list | map('regex_replace', '^(.*)$', '--enable=\\1') | join(' ') }}"
command: "subscription-manager repos {{ modified_list }}"
become: true
# running also if subscriptions are defined to avoid job breakages.
when: (cdn_args_file != '' and cdn_creds.activationkey is undefined) or (subscriptions is defined and subscriptions|length > 0 )
- name: refresh yum cache
package:
name: kernel
state: present
update_cache: yes
become: true
- name: repolist
command: "yum -v repolist"
become: true
|
Remove 'make fetch' step, as dependencies are already in the 'vendor/' directory | dependencies:
override:
- make fetch
- rm -rf ~/.go_workspace/src/github.com/jeffpierce/cassabon
- ln -sf ~/cassabon ~/.go_workspace/src/github.com/jeffpierce/cassabon
- make clean build
test:
override:
- make test
| dependencies:
override:
- rm -rf ~/.go_workspace/src/github.com/jeffpierce/cassabon
- ln -sf ~/cassabon ~/.go_workspace/src/github.com/jeffpierce/cassabon
- make clean build
test:
override:
- make test
|
Use Node.js 6 in CI | machine:
node:
version: 4.3.1
dependencies:
pre:
- npm install -g npm@3.x.x
| machine:
node:
version: 6.1.0
|
Update wrong syntax yam file | general:
artifacts:
- "java/desktop/ja-JP/sahagin-report"
test:
override:
- mvn -f java/desktop/ja-JP/pom.xml clean test
post:
# show Junit test report on circleCI
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/desktop/ja-JP/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
- curl -X POST --data-urlencode 'payload={"channel": "#build", "username": "circleci", "text": "Sahagin report:\nhttps://circle-artifacts.com/gh/SahaginOrg/sample-code/7/artifacts/0/home/ubuntu/sample-code/java/desktop/ja-JP/sahagin-report/index.html"}' https://qwintet.slack.com/services/hooks/incoming-webhook?token=https://hooks.slack.com/services/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 | general:
artifacts:
- "java/desktop/ja-JP/sahagin-report"
test:
override:
- mvn -f java/desktop/ja-JP/pom.xml clean test
post:
# show Junit test report on circleCI
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/desktop/ja-JP/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
# notify to slack with custom message
- curl -X POST --data-urlencode 'payload={"channel": "#build", "username": "circleci", "text": "Sahagin report:\nhttps://circle-artifacts.com/gh/SahaginOrg/sample-code/7/artifacts/0/home/ubuntu/sample-code/java/desktop/ja-JP/sahagin-report/index.html"}' https://qwintet.slack.com/services/hooks/incoming-webhook?token=https://hooks.slack.com/services/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 |
Add app settings for heroku deployment | machine:
python:
version: 3.5.2
environment:
FLASK_CONFIG: 'testing'
dependencies:
pre:
- pip install -r requirements.txt
test:
override:
- python manage.py tests
deployment:
staging:
branch: develop
heroku:
appname: xanadu-bucketlist
commands:
- git fetch origin
- git push git@heroku.com:xanadu-bucketlist.git $CIRCLE_SHA1:refs/heads/master
- heroku run python manage.py db migrate
- heroku run python manage.py db upgrade
- heroku ps:scale web=1
| machine:
python:
version: 3.5.2
environment:
FLASK_CONFIG: 'testing'
dependencies:
pre:
- pip install -r requirements.txt
test:
override:
- python manage.py tests
deployment:
staging:
branch: develop
commands:
- git fetch origin
- git push git@heroku.com:xanadu-bucketlist.git $CIRCLE_SHA1:refs/heads/master
- heroku run python manage.py db migrate --app xanadu-bucketlist
- heroku run python manage.py db upgrade --app xanadu-bucketlist
- heroku ps:scale web=1 --app xanadu-bucketlist
|
Exclude more files from build. | name: Sustain
description: a one day conversation for open source software sustainers
markdown: kramdown
plugins:
- jekyll-sitemap
# permalinks
permalink: pretty
sass:
style: compressed
# server
port: 8000
url: https://sustainoss.org
encoding: UTF-8
exclude:
- Gemfile
- Gemfile.lock
- README.md
| name: Sustain
description: a one day conversation for open source software sustainers
markdown: kramdown
plugins:
- jekyll-sitemap
# permalinks
permalink: pretty
sass:
style: compressed
# server
port: 8000
url: https://sustainoss.org
encoding: UTF-8
exclude:
- Gemfile
- Gemfile.lock
- LICENSE
- README.md
- archives/
- assets/ai/
- "*.ai"
- "*.eps"
- "*.ai"
|
Integrate Coverity Scan to the Travis build | language: java
jdk:
# - oraclejdk8
- oraclejdk7
# - openjdk6
after_success:
- mvn cobertura:cobertura coveralls:report
| language: java
jdk:
# - oraclejdk8
- oraclejdk7
# - openjdk6
after_success:
- mvn cobertura:cobertura coveralls:report
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "ifRt6xnHiBcwCBe7sJX+kUep8Vk4NAVlBcuCCPmFafZ8iHNKSvwqr8ajIIRuMEVHp1CyLUv5paPuGMAE+ivVEPLyHvhwbFQd5e89up7iXtaCgiXKfluNeTqiGIpqEsJ6vwvUaaKLFk4mZyvSo8MfOGmKq8wadOOjFFFE7L44Ibs="
addons:
coverity_scan:
project:
name: "cyChop/property-mapper"
description: "Build submitted via Travis CI"
notification_email: cyrille.chopelet@mines-nancy.org
build_command_prepend: "mvn clean"
build_command: "mvn -DskipTests=true compile"
branch_pattern: coverity_scan
|
Remove oraclejdk10 because it is deprecated | language: java
jdk:
- oraclejdk8
- oraclejdk9
- oraclejdk10
matrix:
include:
- jdk: openjdk10
before_install:
- rm "${JAVA_HOME}/lib/security/cacerts"
- ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
notifications:
email: false
after_success:
- mvn clean test jacoco:report coveralls:report
| language: java
jdk:
- oraclejdk8
- oraclejdk9
matrix:
include:
- jdk: openjdk10
before_install:
- rm "${JAVA_HOME}/lib/security/cacerts"
- ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
notifications:
email: false
after_success:
- mvn clean test jacoco:report coveralls:report
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.