Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Test on CentOS 6.9 in TK | driver:
name: vagrant
provisioner:
name: chef_zero
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: centos-6.8
- name: centos-7.3
- name: debian-7.11
- name: debian-8.7
- name: fedora-25
- name: opensuse-leap-42.2
- name: ubuntu-14.04
- name: ubuntu-16.04
suites:
- name: install
run_list: test::install
- name: package
run_list: test::package
- name: service
run_list: test::service
# these platforms don't have systemd as the default init system
excludes:
- centos-6.8
- debian-7.11
- ubuntu-14.04
- name: sup
run_list: test::sup
# these platforms don't have systemd as the default init system
excludes:
- centos-6.8
- debian-7.11
- ubuntu-14.04
| driver:
name: vagrant
provisioner:
name: chef_zero
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: centos-6.9
- name: centos-7.3
- name: debian-7.11
- name: debian-8.7
- name: fedora-25
- name: opensuse-leap-42.2
- name: ubuntu-14.04
- name: ubuntu-16.04
suites:
- name: install
run_list: test::install
- name: package
run_list: test::package
- name: service
run_list: test::service
# these platforms don't have systemd as the default init system
excludes:
- centos-6.9
- debian-7.11
- ubuntu-14.04
- name: sup
run_list: test::sup
# these platforms don't have systemd as the default init system
excludes:
- centos-6.9
- debian-7.11
- ubuntu-14.04
|
Switch Travis builds to container-based infrastructure | language: java
deploy:
provider: releases
api_key:
secure: "TNJvlQATVHiGIDYGuMpWJLl0/CSskfWJQGWp8YNlC1bAiUfalAU2a/d+85uRVaa09qSPeXBQkyxC6e/pzvPOMCgA9Uv+c9f4JyajHCq6qppuYaET4N6+1W0d/1EHJFPq3g1ElGkIZYqN8sPjm4JU+FK/48yI8KAev/r2wsVmo0A="
file-glob: true
file: "build/libs/dynmap-structures-*-all.jar"
skip_cleanup: true
on:
tags: true
all_branches: true
| language: java
deploy:
provider: releases
api_key:
secure: "TNJvlQATVHiGIDYGuMpWJLl0/CSskfWJQGWp8YNlC1bAiUfalAU2a/d+85uRVaa09qSPeXBQkyxC6e/pzvPOMCgA9Uv+c9f4JyajHCq6qppuYaET4N6+1W0d/1EHJFPq3g1ElGkIZYqN8sPjm4JU+FK/48yI8KAev/r2wsVmo0A="
file-glob: true
file: "build/libs/dynmap-structures-*-all.jar"
skip_cleanup: true
on:
tags: true
all_branches: true
sudo: false
|
Set DATABASE_URL on Travis CI | language: ruby
rvm:
- 1.9.2
- 1.9.3
| language: ruby
env: DATABASE_URL="sqlite::memory:"
rvm:
- 1.9.2
- 1.9.3
|
Upgrade package php version in tests | language: php
php:
- 7.2
- 7.3
- 7.4
before_install:
- composer self-update
install:
- composer install --no-interaction
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash) -f coverage.xml
| language: php
php:
- 7.2
- 7.3
- 7.4
- 8.0
before_install:
- composer self-update
install:
- composer install --no-interaction
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash) -f coverage.xml
|
Revert "Remove some shell piping to try to un-hang the pip install" | language: python
python:
- "2.6"
env:
- CFLAGS=-O0
branches:
only:
- master
install:
- "uname -a"
- "lsb_release -a"
- "sudo apt-get install moreutils"
- "bash -ex .travis/upgrade-couchdb.sh | ts"
- "git clone https://github.com/dimagi/commcarehq-venv.git"
- "time (bash -e .travis/quietly-run-install.sh | ts)"
- "commcarehq-venv/hq_env/bin/pip install -r requirements/requirements.txt -r requirements/dev-requirements.txt --use-mirrors"
- "time (bash -e .travis/misc-setup.sh | ts)"
- "cp .travis/localsettings.py localsettings.py"
- "commcarehq-venv/hq_env/bin/pip install coveralls coverage unittest2 mock"
script: "cat .travis/apps_under_test | grep -v '^#' | xargs commcarehq-venv/hq_env/bin/coverage run manage.py test --noinput --failfast | ts"
after_success:
- coveralls
services:
- postgresql
- couchdb
- rabbitmq
- elasticsearch
- memcache
| language: python
python:
- "2.6"
env:
- CFLAGS=-O0
branches:
only:
- master
install:
- "uname -a"
- "lsb_release -a"
- "sudo apt-get install moreutils"
- "bash -ex .travis/upgrade-couchdb.sh | ts"
- "git clone https://github.com/dimagi/commcarehq-venv.git"
- "time (bash -e .travis/quietly-run-install.sh | ts)"
- "time (commcarehq-venv/hq_env/bin/pip install -r requirements/requirements.txt -r requirements/dev-requirements.txt --use-mirrors | ts)"
- "time (bash -e .travis/misc-setup.sh | ts)"
- "cp .travis/localsettings.py localsettings.py"
- "commcarehq-venv/hq_env/bin/pip install coveralls coverage unittest2 mock"
script: "cat .travis/apps_under_test | grep -v '^#' | xargs commcarehq-venv/hq_env/bin/coverage run manage.py test --noinput --failfast | ts"
after_success:
- coveralls
services:
- postgresql
- couchdb
- rabbitmq
- elasticsearch
- memcache
|
Use official nightly in line with rustlibdir | # Use the language closest to rust, as rust itself is not supported
language: c
notifications:
email:
on_success: never
on_failure: always
before_install:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
install:
- sudo apt-get install rust-nightly nasm
- ./downloadrustlibdir.sh
script:
- make
| # Use the language closest to rust, as rust itself is not supported
language: c
notifications:
email:
on_success: never
on_failure: always
before_install:
- curl http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz | tar -xz
install:
- sudo apt-get install rust-nightly nasm
- sudo rust-nightly-x86_64-unknown-linux-gnu/install.sh
- ./downloadrustlibdir.sh
script:
- make
|
Install test bower components in Travis CI | language: node_js
node_js:
- 'stable'
os:
- linux
- osx
before_install:
- npm install -g gulp bower
install:
- npm install
- bower install
- gulp build
| language: node_js
node_js:
- 'stable'
os:
- linux
- osx
before_install:
- npm install -g gulp bower
install:
- npm install
- bower install
- cd test && bower install && cd ../
- gulp build
|
Add cocoapods and bundler options to cache | sudo: false
osx_image: xcode7
language: objective-c
cache:
edge: true
directories:
- .nvm
- node_modules
- vendor/bundle
before_install:
- brew reinstall nvm
- mkdir -p .nvm
- export NVM_DIR="$PWD/.nvm"
- source $(brew --prefix nvm)/nvm.sh
install:
- nvm install 5
- npm install -g react-native-cli
- npm install
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
- bundle install --path=vendor/bundle
before_script:
- npm prune
script:
- npm test
after_success:
- "[ -f coverage/lcov.info ] && npm run codecov || echo 'coverage file not found'"
| sudo: false
osx_image: xcode7
language: objective-c
cache:
edge: true
bundler: true
cocoapods: true
directories:
- .nvm
- node_modules
- vendor/bundle
before_install:
- brew reinstall nvm
- mkdir -p .nvm
- export NVM_DIR="$PWD/.nvm"
- source $(brew --prefix nvm)/nvm.sh
install:
- nvm install 5
- npm install -g react-native-cli
- npm install
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
- bundle install --path=vendor/bundle
before_script:
- npm prune
script:
- npm test
after_success:
- "[ -f coverage/lcov.info ] && npm run codecov || echo 'coverage file not found'"
|
Add temporary test fix to correct some problems with jruby builds | language: ruby
before_install: gem install bundler
bundler_args: --without yard guard benchmarks
script: "bundle exec rake ci:metrics"
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- ruby-head
- rbx-2
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.0" # for simplecov
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.0" # for simplecov
allow_failures:
- rvm: ruby-head
fast_finish: true
notifications:
irc:
channels:
- irc.freenode.org#rom-rb
on_success: never
on_failure: change
| language: ruby
before_install: "rvm repair all && gem install bundler"
bundler_args: --without yard guard benchmarks
script: "bundle exec rake ci:metrics"
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- ruby-head
- rbx-2
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.0" # for simplecov
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.0" # for simplecov
allow_failures:
- rvm: ruby-head
fast_finish: true
notifications:
irc:
channels:
- irc.freenode.org#rom-rb
on_success: never
on_failure: change
|
Update Travis to use 1.5 instead of 1.5rc1 | language: go
env:
- GO15VENDOREXPERIMENT=1
go:
- 1.5rc1
- tip
before_install:
- go get -u github.com/axw/gocov/gocov
- go get -u github.com/mattn/goveralls
- go get -u golang.org/x/tools/cmd/cover
- go get -u github.com/golang/lint/golint
- go get -u golang.org/x/tools/cmd/goimports
script:
- ./gosweep.sh && $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci | language: go
env:
- GO15VENDOREXPERIMENT=1
go:
- 1.5
- tip
before_install:
- go get -u github.com/axw/gocov/gocov
- go get -u github.com/mattn/goveralls
- go get -u golang.org/x/tools/cmd/cover
- go get -u github.com/golang/lint/golint
- go get -u golang.org/x/tools/cmd/goimports
script:
- ./gosweep.sh && $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
|
Revert "Skip Travis CI installation step" | language: csharp
solution: code/GmailNotifier.sln
install: true
script:
- msbuild /p:Configuration=Debug code/GmailNotifier.sln | language: csharp
solution: code/GmailNotifier.sln
script:
- msbuild /p:Configuration=Debug code/GmailNotifier.sln |
Improve test coveralls clean up | language: cpp
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
#- gcc-4.8
#- g++-4.8
- libboost1.55-all-dev
- cmake
- lcov
install:
#- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8 -std=c++11 -DENABLE_REINFORCEMENT_LEARNING" CC="gcc-4.8"; fi
#- wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz
#- tar xf lcov_1.11.orig.tar.gz
#- sudo make -C lcov-1.11/ install
# install lcov to coveralls conversion + upload tool
- gem install coveralls-lcov
before_script:
- mkdir build
- cd build
- cmake ..
- lcov --directory . --zerocounters
script:
- make
- ctest
after_success:
#run initial
- lcov --capture --initial --directory . --output-file cover
#run tests
- make test
#run final
- lcov --no-checksum --directory . --capture --output-file cover.info
#remove external dependencies
- lcov --remove cover.info 'usr/*' --output-file cover.info
#remove test dependencies
- lcov --remove cover.info '*test*' --output-file cover.info
#- lcov --directory . --capture --output-file coverage.info # capture coverage info
#- lcov --remove coverage.info 'tests/*' '/usr/*' --output-file coverage.info # filter out system and test code
- lcov --list cover.info # debug before upload
- coveralls-lcov --repo-token NU821XtKROnjjye6GKj7BWc8aiHMJEOO2 cover.info # uploads to coveralls
| language: cpp
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- libboost1.55-all-dev
- cmake
- lcov
install:
# install lcov to coveralls conversion + upload tool
- gem install coveralls-lcov
before_script:
- mkdir build
- cd build
- cmake ..
- lcov --directory . --zerocounters
script:
- make
- ctest
after_success:
#run initial
- lcov --capture --initial --directory . --output-file cover
#run tests
- make test
#run final
- lcov --no-checksum --directory . --capture --output-file cover.info
#remove external dependencies
- lcov --remove cover.info 'usr/*' --output-file cover.info
#remove test dependencies
- lcov --remove cover.info '*test*' --output-file cover.info
- lcov --list cover.info # debug before upload
- coveralls-lcov --repo-token NU821XtKROnjjye6GKj7BWc8aiHMJEOO2 cover.info # uploads to coveralls
|
Fix wrong directory to chmod... | language: java
sudo: true
jdk: oraclejdk8
before_install:
- chmod +x -R scripts/
install: "./travis/travis-install.sh"
script: "./travis/travis-run.sh"
cache:
directories:
- $HOME/.m2 | language: java
sudo: true
jdk: oraclejdk8
before_install:
- chmod +x -R travis/
install: "./travis/travis-install.sh"
script: "./travis/travis-run.sh"
cache:
directories:
- $HOME/.m2 |
Whitelist master and test branches for Travis CI | language: cpp
os:
- linux
- osx
sudo: required
dist: trusty
osx_image: xcode8
cache:
directories:
- $HOME/.dotnet
- $HOME/.nuget
addons:
artifacts:
s3_region: "us-west-2"
paths: $(ls powershell*{deb,pkg} | tr "\n" ":")
git:
submodules: false
install:
- git config --global url.git@github.com:.insteadOf https://github.com/
- git submodule update --init
- (cd tools && ./download.sh)
script: ./tools/travis.sh
| language: cpp
branches:
only:
- master
- /^test.*$/
os:
- linux
- osx
sudo: required
dist: trusty
osx_image: xcode8
cache:
directories:
- $HOME/.dotnet
- $HOME/.nuget
addons:
artifacts:
s3_region: "us-west-2"
paths: $(ls powershell*{deb,pkg} | tr "\n" ":")
git:
submodules: false
install:
- git config --global url.git@github.com:.insteadOf https://github.com/
- git submodule update --init
- (cd tools && ./download.sh)
script: ./tools/travis.sh
|
Order is important in pip | ---
language: python
python: '2.7'
sudo: false
branches:
only:
- master
- stable
addons:
apt:
sources:
- python-apt
- python-pycurl
matrix:
allow_failures:
- env: PIP_ANSIBLE_VERSION='>=2.0'
fast_finish: true
env:
global:
- TEST_ANSIBLE_HOSTNAME: localhost
TEST_ANSIBLE_CONNECTION: local
matrix:
- PIP_ANSIBLE_VERSION: "'>=1.9,<2.0'"
- PIP_ANSIBLE_VERSION: "'>=2.0'"
install:
- pip install --upgrade pip
- pip install -r requirements.txt
- pip install "ansible --pre $PIP_ANSIBLE_VERSION"
script:
- ansible-playbook --version
- export TEST_TEMP_FILE=`mktemp /tmp/config.XXXXXXXXXX`
- ansible-playbook --syntax-check -i test/inventory test/playbook.yml
- ansible-playbook -i test/inventory -l travis test/playbook.yml --connection=local -vvvv
...
| ---
language: python
python: '2.7'
sudo: false
branches:
only:
- master
- stable
addons:
apt:
sources:
- python-apt
- python-pycurl
matrix:
allow_failures:
- env: PIP_ANSIBLE_VERSION='>=2.0'
fast_finish: true
env:
global:
- TEST_ANSIBLE_HOSTNAME: localhost
TEST_ANSIBLE_CONNECTION: local
matrix:
- PIP_ANSIBLE_VERSION: "'>=1.9,<2.0'"
- PIP_ANSIBLE_VERSION: "'>=2.0'"
install:
- pip install --upgrade pip
- pip install -r requirements.txt
- pip install --pre "ansible $PIP_ANSIBLE_VERSION"
script:
- ansible-playbook --version
- export TEST_TEMP_FILE=`mktemp /tmp/config.XXXXXXXXXX`
- ansible-playbook --syntax-check -i test/inventory test/playbook.yml
- ansible-playbook -i test/inventory -l travis test/playbook.yml --connection=local -vvvv
...
|
Test with Python 3.8 on Travis | sudo: false
language: python
python:
# - 2.6
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
install:
- pip install -r requirements/test.txt
script:
- pyver=$(python --version 2>&1 | awk '{print substr($2, 0, 3)}');
case $pyver in
2.7) tox -e "py${pyver//\.}-{std,coverage}";;
*) tox -e "py${pyver//\.}-std";;
esac
after_success:
- coveralls
| sudo: false
language: python
python:
# - 2.6
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
install:
- pip install -r requirements/test.txt
script:
- pyver=$(python --version 2>&1 | awk '{print substr($2, 0, 3)}');
case $pyver in
2.7) tox -e "py${pyver//\.}-{std,coverage}";;
*) tox -e "py${pyver//\.}-std";;
esac
after_success:
- coveralls
|
Update node and install latest chrome | machine:
node:
version: v5.7.1
test:
override:
- $(npm bin)/eslint --debug . --format tap | $(npm bin)/tap-xunit > ${CIRCLE_TEST_REPORTS}/lint.xml && test ${PIPESTATUS[0]} -eq 0
- $(npm bin)/babel-node test | $(npm bin)/tap-xunit > ${CIRCLE_TEST_REPORTS}/test.xml && test ${PIPESTATUS[0]} -eq 0
- $(npm bin)/babel-node $(npm bin)/isparta cover --report text --report lcov --verbose --dir ${CIRCLE_ARTIFACTS}/coverage --include '**/!(*-test).js' test/index.js
- REPORT_DIR=${CIRCLE_TEST_REPORTS} LOG_DIR=${CIRCLE_ARTIFACTS} npm run test:e2e -s
post:
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/codecov
| machine:
node:
version: v7.4.0
dependencies:
pre:
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get --only-upgrade install google-chrome-stable
test:
override:
- $(npm bin)/eslint --debug . --format tap | $(npm bin)/tap-xunit > ${CIRCLE_TEST_REPORTS}/lint.xml && test ${PIPESTATUS[0]} -eq 0
- $(npm bin)/babel-node test | $(npm bin)/tap-xunit > ${CIRCLE_TEST_REPORTS}/test.xml && test ${PIPESTATUS[0]} -eq 0
- $(npm bin)/babel-node $(npm bin)/isparta cover --report text --report lcov --verbose --dir ${CIRCLE_ARTIFACTS}/coverage --include '**/!(*-test).js' test/index.js
- REPORT_DIR=${CIRCLE_TEST_REPORTS} LOG_DIR=${CIRCLE_ARTIFACTS} npm run test:e2e -s
post:
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/codecov
|
Update from Forestry.io - Updated Forestry configuration | ---
label: Journal
hide_body: false
is_partial: false
fields:
- type: text
name: title
label: Title
config:
required: true
- type: textarea
name: excerpt
label: Excerpt
description: Short snippet that will show outside of the actual post
config:
required: true
- type: datetime
name: date
label: Date
config:
required: true
- type: select
name: author
config:
source:
type: documents
section: authors
file: data/authors.json
required: true
options: []
label: Author
| ---
label: Journal
hide_body: false
is_partial: false
fields:
- type: text
name: title
label: Title
config:
required: true
- type: textarea
name: excerpt
label: Excerpt
description: Short snippet that will show outside of the actual post
config:
required: true
- type: datetime
name: date
label: Date
config:
required: true
- type: select
name: author
config:
source:
type: documents
section: authors
file: data/authors.json
required: true
label: Author
|
Enable google analytics to all page. | name: Nad Flores - Blogging on Programming and stuffs.
description: Try. Fail. Learn. Repeat.
meta_description: "Nad Flores - Blogging on Programming and stuffs."
aboutPage: true
markdown: redcarpet
highlighter: pygments
paginate: 20
baseurl: /
domain_name: 'http://nadflores.github.io'
google_analytics: 'UA-XXXXXXXX-X'
disqus_shortname: 'nadflores'
# Details for the RSS feed generator
url: 'http://your-blog-url.example.com'
author: 'Nad Flores'
authorTwitter: 'YourTwitterUsername'
permalink: /:year/:title/
defaults:
-
scope:
path: "" # empty string for all files
type: pages
values:
layout: default
-
scope:
path: "" # empty string for all files
type: posts
values:
layout: post
| name: Nad Flores - Blogging on Programming and stuffs.
description: Try. Fail. Learn. Repeat.
meta_description: "Nad Flores - Blogging on Programming and stuffs."
aboutPage: true
markdown: redcarpet
highlighter: pygments
paginate: 20
baseurl: /
domain_name: 'http://nadflores.github.io'
google_analytics: 'UA-65171017-1'
disqus_shortname: 'nadflores'
# Details for the RSS feed generator
url: 'http://your-blog-url.example.com'
author: 'Nad Flores'
authorTwitter: 'YourTwitterUsername'
permalink: /:year/:title/
defaults:
-
scope:
path: "" # empty string for all files
type: pages
values:
layout: default
-
scope:
path: "" # empty string for all files
type: posts
values:
layout: post
|
Change the hightlighter to rouge | # visit https://github.com/mojombo/jekyll/wiki/Configuration for more settings
paginate: 10 # pagination based on number of posts
paginate_path: "page:num"
exclude: ["README.md"] # files to exclude
highlighter: rogue
markdown: kramdown
disqus: hanyuliu-me
title: Hanyu Liu
defaults:
-
scope:
path: "" # empty string for all files
values:
title: Flying with Bugs
description: Flying with Bugs
author:
name: Hanyu Liu
email: mr.hanyuliu@outlook.com
github: hanyuliu
linkedin: hanyu-liu-a180663a
email_md5: a93261b77756979cc604ce0c3a512aaf
bio: Android developer at LinkedIn
rss_path: feed.xml
categories_path: categories.html
tags_path: tags.html
# set it as url of an image
# sidebar_background_image: https://www.dropbox.com/s/g9h23zrycedxtk5/sky.png?raw=1
BASE_PATH:
gems:
- jekyll-paginate | # visit https://github.com/mojombo/jekyll/wiki/Configuration for more settings
paginate: 10 # pagination based on number of posts
paginate_path: "page:num"
exclude: ["README.md"] # files to exclude
highlighter: rouge
markdown: kramdown
disqus: hanyuliu-me
title: Hanyu Liu
defaults:
-
scope:
path: "" # empty string for all files
values:
title: Flying with Bugs
description: Flying with Bugs
author:
name: Hanyu Liu
email: mr.hanyuliu@outlook.com
github: hanyuliu
linkedin: hanyu-liu-a180663a
email_md5: a93261b77756979cc604ce0c3a512aaf
bio: Android developer at LinkedIn
rss_path: feed.xml
categories_path: categories.html
tags_path: tags.html
# set it as url of an image
# sidebar_background_image: https://www.dropbox.com/s/g9h23zrycedxtk5/sky.png?raw=1
BASE_PATH:
gems:
- jekyll-paginate |
Use the new Jekyll config syntax for highlighter | name: "Gereksiz"
markdown: redcarpet
pygments: true
permalink: :title
exclude: [README.md, LICENSE, Makefile]
# Information for the Atom feed
gereksiz:
author: "John Doe"
email: "john.doe@mail.sexy"
| name: "Gereksiz"
markdown: redcarpet
highlighter: pygments
permalink: :title
exclude: [README.md, LICENSE, Makefile]
# Information for the Atom feed
gereksiz:
author: "John Doe"
email: "john.doe@mail.sexy"
|
Add skip symbols as it's not working anyway | version: '{build}'
# Build worker image (VM template)
image: Visual Studio 2019
environment:
HUBSPOT_API_KEY:
secure: nEkpqjqVe4G73k8gkmpYndR8GGQdK58k98IxzWwoZS4Rvq+bTOR9Yok2ISgjjNWr
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\Build.ps1
test: off
artifacts:
- path: '**\*.nupkg'
name: NuGet
deploy:
- provider: NuGet
name: production
api_key:
secure: 1e1pWUo3c882w+CBl/jNKZnaxgQ+RslW6SVsWIsTZ69EeugcL432TuHRqtA/ljsm
on:
appveyor_repo_tag: true | version: '{build}'
# Build worker image (VM template)
image: Visual Studio 2019
environment:
HUBSPOT_API_KEY:
secure: nEkpqjqVe4G73k8gkmpYndR8GGQdK58k98IxzWwoZS4Rvq+bTOR9Yok2ISgjjNWr
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\Build.ps1
test: off
artifacts:
- path: '**\*.nupkg'
name: NuGet
deploy:
- provider: NuGet
name: production
api_key:
secure: 1e1pWUo3c882w+CBl/jNKZnaxgQ+RslW6SVsWIsTZ69EeugcL432TuHRqtA/ljsm
skip_symbols: true
on:
appveyor_repo_tag: true |
Add production cid key for smart survey | # Default values for cla-public in a production environment.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
pullPolicy: IfNotPresent
environment: production
backend_base_uri: https://fox.civillegaladvice.service.gov.uk
laalaa_api_host: https://laa-legal-adviser-api-production.cloud-platform.service.justice.gov.uk
google_maps_api_key: AIzaSyB_75-8mb5ZGgBh95USV07dupsoB8dxcDY
replicaCount: 2
ingress:
enabled: true
secretName: tls-certificate
# Lists don't deep merge, so this list of envVars overrides anything defined in an earlier values file
envVars:
- name: DEBUG
value: "False"
- name: GDS_GA_ID
value: UA-145652997-1
- name: MOJ_GTM_ID
value: GTM-MWL77F6
- name: MOJ_GTM_AUTH
value: "pXnyHhiNQwB3LpZ4-zTZYg"
- name: MOJ_GTM_PREVIEW
value: "env-1"
- name: SMART_SURVEY_CID
value: ""
| # Default values for cla-public in a production environment.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
pullPolicy: IfNotPresent
environment: production
backend_base_uri: https://fox.civillegaladvice.service.gov.uk
laalaa_api_host: https://laa-legal-adviser-api-production.cloud-platform.service.justice.gov.uk
google_maps_api_key: AIzaSyB_75-8mb5ZGgBh95USV07dupsoB8dxcDY
replicaCount: 2
ingress:
enabled: true
secretName: tls-certificate
# Lists don't deep merge, so this list of envVars overrides anything defined in an earlier values file
envVars:
- name: DEBUG
value: "False"
- name: GDS_GA_ID
value: UA-145652997-1
- name: MOJ_GTM_ID
value: GTM-MWL77F6
- name: MOJ_GTM_AUTH
value: "pXnyHhiNQwB3LpZ4-zTZYg"
- name: MOJ_GTM_PREVIEW
value: "env-1"
- name: SMART_SURVEY_CID
value: "1150763"
|
Add missing file check again | {{- $config_path := printf "%s%s.json" $.Values.lg_config_path "lg_px_communities_v2" -}}
---
kind: ConfigMap
apiVersion: v1
metadata:
name: cfg-{{ $.Values.region }}-pxrs-lg-communities
data:
"lg_px_communities_v2.json": |
#{{- if not ($.Files.Glob $config_path) -}}
#{{- fail (printf "communities config file %s does not exist." $config_path ) -}}
#{{- end }}
{{ $.Files.Get $config_path | indent 8}} | {{- $config_path := printf "%s%s.json" $.Values.lg_config_path "lg_px_communities_v2" -}}
---
kind: ConfigMap
apiVersion: v1
metadata:
name: cfg-{{ $.Values.region }}-pxrs-lg-communities
data:
"lg_px_communities_v2.json": |
{{- if not ($.Files.Glob $config_path) -}}
{{- fail (printf "communities config file %s does not exist." $config_path ) -}}
{{- end }}
{{ $.Files.Get $config_path | indent 8}} |
Add docker upgrade check for migrate | version: 2
updates:
- package-ecosystem: "nuget"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "docker"
directory: "/src/JoinRpg.Portal" # Location of package manifests
schedule:
interval: "daily"
| version: 2
updates:
- package-ecosystem: "nuget"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "docker"
directory: "/src/JoinRpg.Portal"
schedule:
interval: "daily"
- package-ecosystem: "docker"
directory: "/src/Joinrpg.Dal.Migrate"
schedule:
interval: "daily"
|
Use extended version of hugo | # This action tests and builds the mimic iii website
name: build-mimiciii-website
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
- name: Build
run: hugo
| # This action tests and builds the mimic iii website
name: build-mimiciii-website
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Build
run: hugo
|
Allow to overwrite shasum for unknown maven version | ---
# This file is included, when no vars/versions/{{ version }}.yml
# exists for the configured version.
# default SHA256 sum for the redistributable package
maven_redis_sha256sum: MUST_BE_DEFINED_IN_INVENTORY
| ---
# This file is included, when no vars/versions/{{ version }}.yml
# exists for the configured version.
|
Revert "Revert "Add configure-unbound to base job"" | - hosts: localhost
roles:
- role: emit-job-header
zuul_log_url: "http://logs.openstack.org"
- hosts: all
roles:
- add-build-sshkey
- start-zuul-console
- validate-host
- use-cached-repos
- mirror-workspace-git-repos
- mirror-info
- configure-mirrors
- role: fetch-zuul-cloner
destination: "/usr/zuul-env/bin/zuul-cloner"
repo_src_dir: "/home/zuul/src/git.openstack.org"
| - hosts: localhost
roles:
- role: emit-job-header
zuul_log_url: "http://logs.openstack.org"
- hosts: all
roles:
- add-build-sshkey
- start-zuul-console
- configure-unbound
- validate-host
- use-cached-repos
- mirror-workspace-git-repos
- mirror-info
- configure-mirrors
- role: fetch-zuul-cloner
destination: "/usr/zuul-env/bin/zuul-cloner"
repo_src_dir: "/home/zuul/src/git.openstack.org"
|
Revert "ubuntu-minimal : only install 16.04 HWE kernel on xenial" | linux-image-generic:
not-arch: arm64
when: DIB_UBUNTU_KERNEL = linux-image-generic
# On ARM64/Xenial install the HWE kernel as generic because the base
# kernel is very old and causes problems.
linux-generic-hwe-16.04:
arch: arm64
when:
- DIB_RELEASE = xenial
- DIB_UBUNTU_KERNEL = linux-image-generic
linux-image-generic:
arch: arm64
when:
- DIB_RELEASE != xenial
- DIB_UBUNTU_KERNEL = linux-image-generic
# NOTE: there isn't actually an arm64 linux-image-kvm, but we don't
# have a way to error out here.
linux-image-kvm:
not-arch: arm64
when: DIB_UBUNTU_KERNEL = linux-image-kvm
linux-image-virtual:
when: DIB_UBUNTU_KERNEL = linux-image-virtual
linux-generic-hwe-18.04:
when:
- DIB_UBUNTU_KERNEL = linux-image-hwe
- DIB_RELEASE = bionic
linux-generic-hwe-20.04:
when:
- DIB_UBUNTU_KERNEL = linux-image-hwe
- DIB_RELEASE = focal
initramfs-tools:
| linux-image-generic:
not-arch: arm64
when: DIB_UBUNTU_KERNEL = linux-image-generic
linux-image-kvm:
not-arch: arm64
when: DIB_UBUNTU_KERNEL = linux-image-kvm
linux-image-virtual:
not-arch: arm64
when: DIB_UBUNTU_KERNEL = linux-image-virtual
linux-generic-hwe-18.04:
not-arch: arm64
when:
- DIB_UBUNTU_KERNEL = linux-image-hwe
- DIB_RELEASE = bionic
linux-generic-hwe-20.04:
not-arch: arm64
when:
- DIB_UBUNTU_KERNEL = linux-image-hwe
- DIB_RELEASE = focal
# TODO(ianw): this is Xenial specific, for now. This kernel works
# much better, however, including better support for cdrom's for
# config-drive. We'll need to filter this further for future
# releases; maybe add a $DIB_RELEASE filter too?
linux-generic-hwe-16.04:
arch: arm64
initramfs-tools:
|
Fix copy and paste failure | language: php
php:
- 5.6
- 7.0
- hhvm
before_script:
- composer install --dev
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover --colors
after_script:
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi
matrix:
allow_failures:
- php: hhvm
| language: php
php:
- 5.6
- 7.0
- hhvm
before_script:
- composer install --dev
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml --colors
after_script:
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi
matrix:
allow_failures:
- php: hhvm
|
Allow AGP to install its deps. | language: android
jdk:
- oraclejdk8
android:
components:
- tools
- tools
- platform-tools
- build-tools-25.0.2
- android-25
- sys-img-armeabi-v7a-android-19
before_script:
- echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell settings put global window_animation_scale 0 &
- adb shell settings put global transition_animation_scale 0 &
- adb shell settings put global animator_duration_scale 0 &
- adb shell input keyevent 82 &
env:
global:
- ADB_INSTALL_TIMEOUT=8
notifications:
email: false
sudo: false
| language: android
jdk:
- oraclejdk8
android:
components:
# Update tools and then platform-tools explicitly so lint gets an updated database. Can be removed once 3.0 is out.
# TODO verify this is no longer needed for lint to run.
- tools
- platform-tools
- sys-img-armeabi-v7a-android-19
before_script:
# Install SDK license so Android Gradle plugin can install deps.
- mkdir "$ANDROID_HOME/licenses" || true
- echo "8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
# Create and start emulator for tests.
- echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell settings put global window_animation_scale 0 &
- adb shell settings put global transition_animation_scale 0 &
- adb shell settings put global animator_duration_scale 0 &
- adb shell input keyevent 82 &
env:
global:
- ADB_INSTALL_TIMEOUT=8
notifications:
email: false
sudo: false
|
Revert "Set RACK_ENV to test during build" | language: ruby
cache: bundler
env:
- RACK_ENV=test
rvm:
- 2.1.1
before_script:
- bundle exec rake db:create db:migrate DATABASE_URL=postgres://localhost/transitmix_test
deploy:
provider: heroku
api_key:
secure: GQNUD1hf8VKHeFx1OW+mdxTXeUDU3li6XwfW4jKapbCVMAN/3WrgUnAZnp2hA5tvLI93xVM84Ez48L42B5Cl5pkld0DTR0/Fv7fJ7znYEpsxkDi8eW8QSJnU37W3HIq8Ngx3kPhJC1QQ600nsWF76+oizAlLsLjCv4XRuyIIfJk=
app: transitmix-staging
run:
- "rake db:migrate"
- restart
| language: ruby
cache: bundler
rvm:
- 2.1.1
before_script:
- bundle exec rake db:create db:migrate DATABASE_URL=postgres://localhost/transitmix_test
deploy:
provider: heroku
api_key:
secure: GQNUD1hf8VKHeFx1OW+mdxTXeUDU3li6XwfW4jKapbCVMAN/3WrgUnAZnp2hA5tvLI93xVM84Ez48L42B5Cl5pkld0DTR0/Fv7fJ7znYEpsxkDi8eW8QSJnU37W3HIq8Ngx3kPhJC1QQ600nsWF76+oizAlLsLjCv4XRuyIIfJk=
app: transitmix-staging
run:
- "rake db:migrate"
- restart
|
Test on OS X and use "rbx" instead of "rbx-2" | ---
language: ruby
script: bundle exec rake
sudo: false
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- rbx-2
- jruby-1
- jruby-9
notifications:
email:
recipients:
- yorickpeterse@gmail.com
on_success: change
on_failure: change
cache: bundler
branches:
only:
- master
| ---
language: ruby
script: bundle exec rake
sudo: false
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- rbx
- jruby-9
matrix:
exclude:
- rvm: 2.2
os: osx
- rvm: jruby-9
os: osx
notifications:
email:
recipients:
- yorickpeterse@gmail.com
on_success: change
on_failure: change
cache: bundler
branches:
only:
- master
os:
- linux
- osx
|
Update Travis to use Lerna so it can resolve cross-dependencies to run tests | language: node_js
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: true
on:
branch: gh-pages
local-dir: packages/simplebar/demo | language: node_js
before_install:
- npm i -g lerna
install:
- lerna bootstrap
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: true
on:
branch: gh-pages
local-dir: packages/simplebar/demo |
Revert "change pg port to 5432" | # SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: postgresql
pool: 5
timeout: 5432
development:
<<: *default
database: geekpark_dev
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *default
database: geekpark_test
production:
<<: *default
| # SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: postgresql
pool: 5
timeout: 5000
development:
<<: *default
database: geekpark_dev
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *default
database: geekpark_test
production:
<<: *default
|
Set Ruby version `2.4.3` for Travis CI instead of `2.4` | language: ruby
rvm:
- 2.3
- 2.4
- 2.5
before_install:
- gem update --system
cache: bundler
notifications:
email:
on_success: change
| language: ruby
rvm:
- 2.3
## https://travis-ci.org/AlexWayfer/flame/jobs/349907949
## https://bugs.ruby-lang.org/issues/13539
- 2.4.3
- 2.5
before_install:
- gem update --system
cache: bundler
notifications:
email:
on_success: change
|
Use correct encoding prior to install also | language: objective-c
before_install:
- rake install
- cd Example && pod install && cd $TRAVIS_BUILD_DIR
before_script:
- export LANG=en_US.UTF-8
script:
- rake test
notifications:
email:
recipients:
- nick.donaldson@raizlabs.com
on_success: change
on_failure: always
| language: objective-c
before_install:
- export LANG=en_US.UTF-8
- rake install
- cd Example && pod install && cd $TRAVIS_BUILD_DIR
before_script:
- export LANG=en_US.UTF-8
script:
- rake test
notifications:
email:
recipients:
- nick.donaldson@raizlabs.com
on_success: change
on_failure: always
|
Expand the ruby versions we test on | language: ruby
cache: bundler
sudo: false
rvm:
- 2.2.5
- 2.3.1
branches:
only:
- master
script: bundle exec rake
| language: ruby
cache: bundler
dist: trusty
sudo: false
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
branches:
only:
- master
script: bundle exec rake
|
Add wallet dir to coverage | sudo: required
dist: trusty
language: python
before_install:
- sudo add-apt-repository -y ppa:giskou/librocksdb
- sudo apt-get -qq update
- sudo apt-get install -yq libleveldb-dev librocksdb libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev
python:
- "3.5"
- "3.6-dev"
- "nightly"
# command to install dependencies
install:
- pip install aiohttp
- pip install ecdsa
- pip install plyvel
- pip install pyrocksdb
- pip install pytest-cov
- pip install python-coveralls
# command to run tests
script: pytest --cov=server --cov=lib
after_success: coveralls
| sudo: required
dist: trusty
language: python
before_install:
- sudo add-apt-repository -y ppa:giskou/librocksdb
- sudo apt-get -qq update
- sudo apt-get install -yq libleveldb-dev librocksdb libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev
python:
- "3.5"
- "3.6-dev"
- "nightly"
# command to install dependencies
install:
- pip install aiohttp
- pip install ecdsa
- pip install plyvel
- pip install pyrocksdb
- pip install pytest-cov
- pip install python-coveralls
# command to run tests
script: pytest --cov=server --cov=lib --cov=wallet
after_success: coveralls
|
Remove Python 3 compatibility, as it fails. | language: python
python:
- 2.6
- 2.7
- 3.2
script: python goatfish/tests.py
| language: python
python:
- 2.5
- 2.6
- 2.7
install: # No dependencies.
script: python goatfish/tests.py
|
Use Travis' new container-based infrastructure. | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer install --dev --prefer-source --no-interaction
script: vendor/bin/phpspec run
| language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer install --dev --prefer-source --no-interaction
script: vendor/bin/phpspec run
# Use Travis' new container-based infrastructure.
# See http://docs.travis-ci.com/user/migrating-from-legacy/#How-can-I-use-container-based-infrastructure%3F
sudo: false
|
Disable hhvm testing as the testing image fails to build | 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
- 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
#Disable nightly-build test until I fix deps
matrix:
allow_failures:
- php: nightly
branches:
only:
- gh-pages
- /.*/
| 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
- 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
#Disable nightly-build test until I fix deps
matrix:
allow_failures:
- php: nightly
- php: hhvm
branches:
only:
- gh-pages
- /.*/
|
Fix incorrect command in Travis pre-install routine. | language: haskell
ghc: "7.10"
before_install:
- travis_retry sudo apt-get add-apt-repository -y ppa:hvr/ghc
- travis_retry sudo apt-get update -qq
- travis_retry sudo apt-get install -y libblas-dev liblapack-dev cabal-install-1.22 ghc-7.10.2
| language: haskell
ghc: "7.10"
before_install:
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
- travis_retry sudo apt-get update -qq
- travis_retry sudo apt-get install -y libblas-dev liblapack-dev cabal-install-1.22 ghc-7.10.2
|
Add big-endian platform to TravisCI | language: rust
rust:
- stable
- nightly
sudo: false
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
notifications:
email:
on_success: never
on_failure: always
script:
- cargo build
- cargo test
- '[ "$TRAVIS_RUST_VERSION" != "nightly" ] || cargo bench'
- cargo doc --no-deps
- rustdoc --test README.md -L target/debug
after_success:
- curl https://mvdnes.github.io/rust-docs/travis-doc-upload.sh | bash
| language: rust
arch:
- amd64
- s390x
os: linux
rust:
- stable
- nightly
sudo: false
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
notifications:
email:
on_success: never
on_failure: always
script:
- cargo build
- cargo test
- '[ "$TRAVIS_RUST_VERSION" != "nightly" ] || cargo bench'
- cargo doc --no-deps
- rustdoc --test README.md -L target/debug
after_success:
- curl https://mvdnes.github.io/rust-docs/travis-doc-upload.sh | bash
|
Add tests for PHP 7.1 and 7.2 on Travis | language: php
php:
- 5.6
- 7.0
- 7.1
before_script:
- composer install --no-progress --prefer-source
script:
- vendor/bin/phpunit
| language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
before_script:
- composer install --no-progress --prefer-source
script:
- vendor/bin/phpunit
|
Add testing in node 5.x | language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
| language: node_js
node_js:
- "5"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
|
Stop installing npm --dev deps in Travis | language: php
php:
- 5.6
- 5.5
- 5.4
- hhvm
install:
- npm install --dev
- composer install --dev
before_script:
- gulp deploy
- cp .env.example .env
script:
- ./bin/robo test
| language: php
php:
- 5.6
- 5.5
- 5.4
- hhvm
install:
- npm install
- composer install --dev
before_script:
- gulp deploy
- cp .env.example .env
script:
- ./bin/robo test
|
Update apt before installing cmake and gcc. | sudo: required
language: cpp
os: linux
compiler:
- clang
- gcc
install:
- sudo add-apt-repository --yes ppa:smspillaz/cmake-master;
sudo apt-get install cmake;
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test;
sudo pat-get install gcc;
sudo apt-get install libboost-dev libboost-test-dev;
sudo apt-get install doxygen graphviz;
script:
- mkdir build
- cd build
- cmake ..
- make
- make test
| sudo: required
language: cpp
os: linux
compiler:
- clang
- gcc
install:
- sudo add-apt-repository --yes ppa:smspillaz/cmake-master;
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test;
sudo apt-get update -qq;
sudo apt-get install cmake;
sudo apt-get install gcc;
sudo apt-get install libboost-dev libboost-test-dev;
sudo apt-get install doxygen graphviz;
script:
- mkdir build
- cd build
- cmake ..
- make
- make test
|
Update code coverage after test | language: node_js
node_js:
- "stable"
script:
- npm run lint
- npm run test
- npm run system-test
after_success:
- bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION | language: node_js
node_js:
- "stable"
script:
- npm run lint
- npm run test
- bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION
- npm run system-test
|
Use Xenial for TravisCI builds | language: java
script:
- cd scripts
- ./build-linux32.sh
- ./build-linux64.sh
- ./build-macosx.sh
- cd ..
before_deploy:
- cd bin
- tar czf linux32.tar.gz linux-i586/
- tar czf linux64.tar.gz linux-amd64/
- tar czf macosx.tar.gz macosx/
deploy:
provider: releases
api_key:
secure: Q9VNV+QOi336zVEVNFnwGs7F2BoKJQaZb14JX0VV9V1/UPbQD/ZXMGBNf3RIpmJeiVD9gQ4Ej71qy05T5MgXoqpe3eL5aD4ywZmsInhEDrR6LW/YOvR5nddfb3C9N3YMU7qnGZ3FKlRd9P+RqmtsS8e+D7HmGq18F/nnmYvbsuM=
file:
- linux32.tar.gz
- linux64.tar.gz
- macosx.tar.gz
skip_cleanup: true
on:
tags: true | language: java
dist: xenial
script:
- cd scripts
- ./build-linux32.sh
- ./build-linux64.sh
- ./build-macosx.sh
- cd ..
before_deploy:
- cd bin
- tar czf linux32.tar.gz linux-i586/
- tar czf linux64.tar.gz linux-amd64/
- tar czf macosx.tar.gz macosx/
deploy:
provider: releases
api_key:
secure: Q9VNV+QOi336zVEVNFnwGs7F2BoKJQaZb14JX0VV9V1/UPbQD/ZXMGBNf3RIpmJeiVD9gQ4Ej71qy05T5MgXoqpe3eL5aD4ywZmsInhEDrR6LW/YOvR5nddfb3C9N3YMU7qnGZ3FKlRd9P+RqmtsS8e+D7HmGq18F/nnmYvbsuM=
file:
- linux32.tar.gz
- linux64.tar.gz
- macosx.tar.gz
skip_cleanup: true
on:
tags: true
|
Use bundler 1.17.3 to stay compatible with Ruby < 2.3 | language: ruby
sudo: false
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3.3
before_install:
- gem install bundler
- bundle --version
- cd example/rails_app && ./script/setup.sh && cd ../..
after_success:
- bundle exec codeclimate-test-reporter
addons:
code_climate:
repo_token: 05e3e31164d59aa626b730b92eb9b7418326dbf23420a4b87eab2555840b39ef
| language: ruby
sudo: false
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3.3
before_install:
- gem install bundler -v 1.17.3
- bundle --version
- cd example/rails_app && ./script/setup.sh && cd ../..
after_success:
- bundle exec codeclimate-test-reporter
addons:
code_climate:
repo_token: 05e3e31164d59aa626b730b92eb9b7418326dbf23420a4b87eab2555840b39ef
|
Add tests against Go 1.7, 1.8, 1.9 | sudo: false
language: go
go:
- 1.4
- 1.5
- 1.6
- tip
script:
- go test -v
| sudo: false
language: go
go:
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- tip
script:
- go test -v
|
Add script to generate docs from Travis builds | language: rust
rust:
- stable
- beta
- nightly
matrix:
# We depend on phf's compiler plugin & plugins are not yet stable
allow_failures:
- rust: stable
- rust: beta
| language: rust
rust:
- stable
- beta
- nightly
matrix:
# We depend on phf's compiler plugin & plugins are not yet stable
allow_failures:
- rust: stable
- rust: beta
# from http://hoverbear.org/2015/03/07/rust-travis-github-pages/
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
Move services back to same spot as master | rvm: 2.2.3
sudo: false
cache:
- bundler
- apt
before_script:
- cp test/dummy/.env.example test/dummy/.env
- bundle exec rake app:db:setup
- bundle exec rake app:index:reset
services:
- elasticsearch
addons:
apt:
sources:
- elasticsearch-2.1
packages:
- elasticsearch
| rvm: 2.2.3
sudo: false
cache:
- bundler
- apt
services:
- elasticsearch
before_script:
- cp test/dummy/.env.example test/dummy/.env
- bundle exec rake app:db:setup
- bundle exec rake app:index:reset
addons:
apt:
sources:
- elasticsearch-2.1
packages:
- elasticsearch
|
Update Travis CI file to upgrade npm, and use environment that can build native addons | language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
branches:
only:
- master
notifications:
email:
on_success: never
on_failure: change | language: node_js
dist: trusty
node_js:
- "4"
- "5"
- "6"
- "7"
env:
- CXX=g++-4.8
branches:
only:
- master
notifications:
email:
on_success: never
on_failure: change
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
|
Add PHP 7.2 to the Travis build matrix | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
sudo: false
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist
before_script:
- mkdir -p build/logs
script:
- ./vendor/bin/parallel-lint src tests
- ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs src tests --standard=psr2 -sp
after_success:
- travis_retry php vendor/bin/coveralls
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
sudo: false
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist
before_script:
- mkdir -p build/logs
script:
- ./vendor/bin/parallel-lint src tests
- ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs src tests --standard=psr2 -sp
after_success:
- travis_retry php vendor/bin/coveralls
|
Add jruby-head (1.9 mode as well) | # https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options
bundler_args: --without development
script: "bundle exec rspec spec"
before_script: ./bin/ci/before_build.sh
rvm:
- jruby-19mode
- 1.8.7
- rbx-19mode
- 1.9.2
- 1.9.3
gemfile:
- Gemfile
- gemfiles/eventmachine-pre
notifications:
recipients:
- michaelklishin@me.com
branches:
only:
- master
- 0.9.x-stable
- 0.8.x-stable | # https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options
bundler_args: --without development
script: "bundle exec rspec spec"
before_script: ./bin/ci/before_build.sh
rvm:
- jruby-19mode
- jruby-head
- 1.8.7
- rbx-19mode
- 1.9.2
- 1.9.3
gemfile:
- Gemfile
- gemfiles/eventmachine-pre
notifications:
recipients:
- michaelklishin@me.com
branches:
only:
- master
- 0.9.x-stable
- 0.8.x-stable |
Build on linux only with GCC-6 | addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- libclang-3.4-dev
- libnuma-dev
os:
- linux
- osx
language: cpp
cache: ccache
script:
- ./ci/travis/build.sh
| language: cpp
cache: ccache
script:
- ./ci/travis/build.sh
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- cmake
- libclang-3.4-dev
- libnuma-dev
before_install:
- export CC=gcc-6 CXX=g++-6
|
Test against latest node.js versions | language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
| language: node_js
node_js:
- "4.0"
- "4.1"
|
Remove hhvm from test matrix | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
matrix:
include:
- php: 5.3
env: dependencies=lowest
- php: 7.2
env: dependencies=highest
fast_finish: true
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- if [ -z "$dependencies" ]; then travis_retry composer install --no-interaction; fi;
- if [ "$dependencies" = "lowest" ]; then travis_retry composer update --prefer-lowest --no-interaction; fi;
- if [ "$dependencies" = "highest" ]; then travis_retry composer update --no-interaction; fi;
- composer show
script:
- phpunit -v --coverage-text --coverage-clover=./build/logs/clover.xml
after_success:
- if [ -f ./build/logs/clover.xml ]; then travis_retry composer require satooshi/php-coveralls --no-interaction --update-with-dependencies; fi
- if [ -f ./build/logs/clover.xml ]; then php vendor/bin/coveralls -v; fi
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
include:
- php: 5.3
env: dependencies=lowest
- php: 7.2
env: dependencies=highest
fast_finish: true
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- if [ -z "$dependencies" ]; then travis_retry composer install --no-interaction; fi;
- if [ "$dependencies" = "lowest" ]; then travis_retry composer update --prefer-lowest --no-interaction; fi;
- if [ "$dependencies" = "highest" ]; then travis_retry composer update --no-interaction; fi;
- composer show
script:
- phpunit -v --coverage-text --coverage-clover=./build/logs/clover.xml
after_success:
- if [ -f ./build/logs/clover.xml ]; then travis_retry composer require satooshi/php-coveralls --no-interaction --update-with-dependencies; fi
- if [ -f ./build/logs/clover.xml ]; then php vendor/bin/coveralls -v; fi
|
Support latest versions of Ruby and all branches | before_script:
- "ruby --version"
- "bundle exec rake test_app"
script: "bundle exec rake"
notifications:
irc:
channels:
- "irc.freenode.org#spree"
use_notice: true
skip_join: true
branches:
only:
- master
- namespace
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ree
| before_script:
- "ruby --version"
- "bundle exec rake test_app"
script: "bundle exec rake"
notifications:
irc:
channels:
- "irc.freenode.org#spree"
use_notice: true
skip_join: true
rvm:
- 1.9.3
- 2.0.0
|
Remove Node 4 from Travis | language: node_js
sudo: false
node_js:
- "stable"
- "4"
install:
- YARN_IGNORE_ENGINES=true yarn
| language: node_js
sudo: false
node_js:
- "stable"
- "6"
install:
- YARN_IGNORE_ENGINES=true yarn
|
Add ruby 2.6 in CI | sudo: false
language: ruby
rvm:
- 2.4
- 2.5
script: "bundle exec rake"
install: bundle install --retry=3 --jobs=3
#https://docs.travis-ci.com/user/languages/ruby/
before_install:
- gem install bundler -v '< 2'
gemfile:
- gemfiles/rails_4.gemfile
- gemfiles/rails_5.gemfile
| sudo: false
language: ruby
rvm:
- 2.4
- 2.5
- 2.6
script: "bundle exec rake"
install: bundle install --retry=3 --jobs=3
#https://docs.travis-ci.com/user/languages/ruby/
before_install:
- gem install bundler -v '< 2'
gemfile:
- gemfiles/rails_4.gemfile
- gemfiles/rails_5.gemfile
|
Test on the latest stable Node instead of io.js | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- iojs
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- stable
|
Add flake8 statistics to Travis CI build | language: python
python:
- "3.4"
install:
- python setup.py
- pip install flake8
before_script:
- "flake8 --show-source --builtins=_ common engine feed plugins"
script:
- python common/shapp.py
- python common/sheventhandler.py
- python common/shutil.py
- python common/shregistry.py
- python engine/restinterface.py
- python engine/memorymanager.py
- python feed/feed.home.tracer.py --help
- python feed/feed.home.apcups.py --help
- python feed/feed.home.autelis.py --help
- python feed/feed.home.eagle.py --help
- python feed/feed.home.finance.py --help
- python feed/feed.home.isy.py --help
- python feed/feed.home.loadtest.py --help
- python feed/feed.home.nest.py --help
- python feed/feed.home.netatmo.py --help
- python feed/feed.home.sma.webbox.py --help
- python feed/feed.home.ubnt.mfi.py --help
- python feed/feed.home.usgs.earthquake.py --help
- python feed/feed.home.zillow.py --help
| language: python
python:
- "3.4"
install:
- python setup.py
- pip install flake8
before_script:
- "flake8 --show-source --statistics --builtins=_ common engine feed plugins"
script:
- python common/shapp.py
- python common/sheventhandler.py
- python common/shutil.py
- python common/shregistry.py
- python engine/restinterface.py
- python engine/memorymanager.py
- python feed/feed.home.tracer.py --help
- python feed/feed.home.apcups.py --help
- python feed/feed.home.autelis.py --help
- python feed/feed.home.eagle.py --help
- python feed/feed.home.finance.py --help
- python feed/feed.home.isy.py --help
- python feed/feed.home.loadtest.py --help
- python feed/feed.home.nest.py --help
- python feed/feed.home.netatmo.py --help
- python feed/feed.home.sma.webbox.py --help
- python feed/feed.home.ubnt.mfi.py --help
- python feed/feed.home.usgs.earthquake.py --help
- python feed/feed.home.zillow.py --help
|
Move Ruby 2.4.0 towards the top of Travis' build matrix | sudo: false
cache: bundler
language: ruby
matrix:
include:
- rvm: jruby-9.0.1.0
env: JRUBY_OPTS='--debug' # get more accurate coverage data
- rvm: 2.0.0
- rvm: 2.1.10
- rvm: 2.2.6
- rvm: 2.3.3
- rvm: 2.4.0
- rvm: ruby-head
- rvm: rbx-3
allow_failures:
- rvm: ruby-head
- rvm: rbx-3
fast_finish: true
before_install: gem update --remote bundler
install:
- bundle install --retry=3
script:
- bundle exec rake
- bundle exec codeclimate-test-reporter
# Running YARD under jruby crashes so skip checking manual under jruby
- ruby -e "exit 1 unless RUBY_PLATFORM == 'java'" || bundle exec rake generate_cops_documentation
addons:
code_climate:
repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f
| sudo: false
cache: bundler
language: ruby
matrix:
include:
- rvm: jruby-9.0.1.0
env: JRUBY_OPTS='--debug' # get more accurate coverage data
- rvm: 2.4.0 # Ruby 2.4.0 runs very slow, so let it start earlier
- rvm: 2.0.0
- rvm: 2.1.10
- rvm: 2.2.6
- rvm: 2.3.3
- rvm: ruby-head
- rvm: rbx-3
allow_failures:
- rvm: ruby-head
- rvm: rbx-3
fast_finish: true
before_install: gem update --remote bundler
install:
- bundle install --retry=3
script:
- bundle exec rake
- bundle exec codeclimate-test-reporter
# Running YARD under jruby crashes so skip checking manual under jruby
- ruby -e "exit 1 unless RUBY_PLATFORM == 'java'" || bundle exec rake generate_cops_documentation
addons:
code_climate:
repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f
|
Make Travis CI run the PHPUnit tests | language: php
php:
- 5.4
- 5.5
before_script:
# Runkit
- git clone https://github.com/zenovich/runkit.git
- sh -c "cd runkit && phpize && ./configure && make && sudo make install"
- echo "extension=runkit.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
# Composer
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev
script: php vendor/bin/phpspec.php test/
| language: php
php:
- 5.4
- 5.5
before_script:
# Runkit
- git clone https://github.com/zenovich/runkit.git
- sh -c "cd runkit && phpize && ./configure && make && sudo make install"
- echo "extension=runkit.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
# Composer
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev
script: vendor/bin/phpunit test/
|
Fix CI build for recent Pythons | sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
matrix:
include:
- {python: "3.6", env: TOXENV=packaging}
install:
- pip install tox tox-travis tox-venv
- pip install coveralls
script: tox
after_success:
- coveralls
| sudo: false
dist: xenial
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
matrix:
include:
- {python: "3.6", env: TOXENV=packaging}
install:
- pip install tox tox-travis tox-venv
- pip install coveralls
script: tox
after_success:
- coveralls
|
Use Ubuntu 14 for build (has new g++) | language: cpp
before_install:
- sudo apt-get install unixodbc unixodbc-dev
script:
- mkdir build && cd build && cmake .. && make -j4 | language: cpp
dist: trusty
sudo: required
before_install:
- sudo apt-get install unixodbc unixodbc-dev
script:
- mkdir build && cd build && cmake .. && make -j4 |
Use --location to support redirect | language: c
compiler:
- gcc
- clang
notifications:
recipients:
- kenhys@gmail.com
branches:
only:
- master
- develop
before_script:
- curl https://raw.github.com/kenhys/sylpheed-plugin-factory/master/misc/setup-travis.sh | sh
- git submodule update --init --recursive
- ./autogen.sh
script:
- ./configure --with-sylpheed-build-dir=`pwd`/sylpheed
- make V=1
| language: c
compiler:
- gcc
- clang
notifications:
recipients:
- kenhys@gmail.com
branches:
only:
- master
- develop
before_script:
- curl --location https://raw.github.com/kenhys/sylpheed-plugin-factory/master/misc/setup-travis.sh | sh
- git submodule update --init --recursive
- ./autogen.sh
script:
- ./configure --with-sylpheed-build-dir=`pwd`/sylpheed
- make V=1
|
Test on PHP 7.4 stable | language: php
php:
- 7.2
- 7.3
- 7.4snapshot
- nightly
matrix:
allow_failures:
- php: nightly
fast_finish: true
env:
matrix:
- DEPENDENCIES="high"
- DEPENDENCIES="low"
global:
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest"
before_install:
- ./tools/composer clear-cache
install:
- if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry ./tools/composer update $DEFAULT_COMPOSER_FLAGS; fi
- if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry ./tools/composer update $DEFAULT_COMPOSER_FLAGS --prefer-lowest; fi
before_script:
- echo 'zend.assertions=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- echo 'assert.exception=On' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
script:
- ./phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email: false
| language: php
dist: bionic
php:
- 7.2
- 7.3
- 7.4
- nightly
matrix:
allow_failures:
- php: nightly
fast_finish: true
env:
matrix:
- DEPENDENCIES="high"
- DEPENDENCIES="low"
global:
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest"
before_install:
- ./tools/composer clear-cache
install:
- if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry ./tools/composer update $DEFAULT_COMPOSER_FLAGS; fi
- if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry ./tools/composer update $DEFAULT_COMPOSER_FLAGS --prefer-lowest; fi
before_script:
- echo 'zend.assertions=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- echo 'assert.exception=On' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
script:
- ./phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email: false
|
Test on modern ruby versions | sudo: false
language: ruby
cache: bundler
matrix:
include:
- rvm: 2.3.7
- rvm: 2.4.4
- rvm: 2.5.1
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
branches:
only:
- master
bundler_args: --jobs 7 --without docs debug
script:
- bundle exec chefstyle
- bundle exec rake
| sudo: false
language: ruby
cache: bundler
matrix:
include:
- rvm: 2.3.8
- rvm: 2.4.5
- rvm: 2.5.3
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
branches:
only:
- master
bundler_args: --jobs 7 --without docs debug
script:
- bundle exec chefstyle
- bundle exec rake
|
Add PHP 8 to the test suite | language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
sudo: false
env:
- PREFER_LOWEST=""
- PREFER_LOWEST="--prefer-lowest"
before_script:
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer update --prefer-dist --no-interaction $PREFER_LOWEST
script: composer testci
| language: php
php:
- 7.1
- 7.2
- 7.3
- 8.0
sudo: false
env:
- PREFER_LOWEST=""
- PREFER_LOWEST="--prefer-lowest"
before_script:
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer update --prefer-dist --no-interaction $PREFER_LOWEST
script: composer testci
|
Use --no-scripts to install on Travis | language: php
dist: trusty
php: nightly
env: TEST_SCRIPT=scripts/test/unit.sh
matrix:
include:
- php: 5.6
env: TEST_SCRIPT=scripts/test/security.sh
- php: 7.3
env: TEST_SCRIPT=scripts/test/security.sh
- php: 5.6
env: TEST_SCRIPT=scripts/test/installer.sh
- php: 5.6
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.0
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.1
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.2
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.3
env: TEST_SCRIPT=scripts/test/unit.sh
- php: nightly
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.3
env: TEST_SCRIPT=scripts/test/slow.sh
allow_failures:
- php: nightly
fast_finish: true
cache:
directories:
- $HOME/.composer/cache
- $HOME/.drush/cache
install:
- composer install --no-interaction
script: "$TEST_SCRIPT"
| language: php
dist: trusty
php: nightly
env: TEST_SCRIPT=scripts/test/unit.sh
matrix:
include:
- php: 5.6
env: TEST_SCRIPT=scripts/test/security.sh
- php: 7.3
env: TEST_SCRIPT=scripts/test/security.sh
- php: 5.6
env: TEST_SCRIPT=scripts/test/installer.sh
- php: 5.6
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.0
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.1
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.2
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.3
env: TEST_SCRIPT=scripts/test/unit.sh
- php: nightly
env: TEST_SCRIPT=scripts/test/unit.sh
- php: 7.3
env: TEST_SCRIPT=scripts/test/slow.sh
allow_failures:
- php: nightly
fast_finish: true
cache:
directories:
- $HOME/.composer/cache
- $HOME/.drush/cache
install:
# No scripts on Travis, because Box isn't needed, and anyway it can't be
# installed under PHP <7.1.
- composer install --no-interaction --no-scripts
script: "$TEST_SCRIPT"
|
Fix bucket name for uploads | language: node_js
node_js:
- "0.10"
before_install:
- "npm install -g grunt-cli"
before_script:
- "gem install travis-artifacts"
after_success:
- "travis-artifacts upload --path build/melonJS-1.1.0.js"
env:
global:
- "ARTIFACTS_S3_BUCKET=melonJS-builds"
- "ARTIFACTS_AWS_REGION=us-east-1"
- secure: eIJEcZUfQet6hdDVoYQnoqMMKt9B7EaJtcnVp6GCsvQbDTlLPc1JCSa+iDcicp0podlayEb5Ovd7kcq+LJ7fvQx23UG2XFuVa9KpnYk4tLQ6wev/nYR7738KvECqDBTwyalF9E8uSS8WsGSG+PN2cb2s4IWWe2IQYEfPPjcniUI=
- secure: grcjulMlTuO7l0HLme6IazVRfq4pzZhjdsfu/5ZoUyTsZZQIUcbxN4uW3PIRwZFU85BC0blJi+un5sT8SyWIzCJNVZeyJp5NyzuH2PlWupiNH4d7Pxs44EjvivXNKfHbFJDogGg9gRM1TgnGDEUGo/HD8ZGDRJc1DAqpcWfBQU0=
| language: node_js
node_js:
- "0.10"
before_install:
- "npm install -g grunt-cli"
before_script:
- "gem install travis-artifacts"
after_success:
- "travis-artifacts upload --path build/melonJS-1.1.0.js"
env:
global:
- "ARTIFACTS_S3_BUCKET=melonjs-builds"
- "ARTIFACTS_AWS_REGION=us-east-1"
- secure: eIJEcZUfQet6hdDVoYQnoqMMKt9B7EaJtcnVp6GCsvQbDTlLPc1JCSa+iDcicp0podlayEb5Ovd7kcq+LJ7fvQx23UG2XFuVa9KpnYk4tLQ6wev/nYR7738KvECqDBTwyalF9E8uSS8WsGSG+PN2cb2s4IWWe2IQYEfPPjcniUI=
- secure: grcjulMlTuO7l0HLme6IazVRfq4pzZhjdsfu/5ZoUyTsZZQIUcbxN4uW3PIRwZFU85BC0blJi+un5sT8SyWIzCJNVZeyJp5NyzuH2PlWupiNH4d7Pxs44EjvivXNKfHbFJDogGg9gRM1TgnGDEUGo/HD8ZGDRJc1DAqpcWfBQU0=
|
Update from Forestry.io - Updated Forestry configuration | ---
label: colinha
hide_body: false
display_field: title
fields:
- name: layout
label: Layout
type: text
hidden: true
default: post
- name: title
label: título
type: text
hidden: false
default: ''
config:
required: true
- type: text
name: description
label: subtítulo
description: max 70 char
config:
required: true
- name: date
label: data da publicação
type: datetime
hidden: false
default: now
config:
required: true
- name: img
label: capa do artigo
type: file
hidden: false
default: "/colinha.png"
- name: tags
type: list
config:
use_select: false
min:
max:
label: Tags
- name: comments
label: comentários
type: boolean
hidden: false
default: true
pages:
- _posts/2019-03-16-brincando-com-a-listagem-de-containers-docker.md
- _posts/2017-12-29-pyenv-inicio.md
- _posts/2017-12-30-venv-inicio.md
- _posts/2019-04-03-copiando-arquivos-para-dentro-do-container.md
- _posts/como-dar-nome-a-pontos-nos-gráficos-do-matplotlib.md
| ---
label: colinha
hide_body: false
display_field: title
fields:
- name: layout
label: Layout
type: text
hidden: true
default: post
- name: title
label: título
type: text
hidden: false
default: ''
config:
required: true
- type: text
name: description
label: subtítulo
description: max 70 char
config:
required: true
- name: date
label: data da publicação
type: datetime
hidden: false
default: now
config:
required: true
- name: image
label: capa do artigo
type: file
hidden: false
default: "/colinha.png"
- name: tags
type: list
config:
use_select: false
min:
max:
label: Tags
- name: comments
label: comentários
type: boolean
hidden: false
default: true
pages:
- _posts/2019-03-16-brincando-com-a-listagem-de-containers-docker.md
- _posts/2017-12-29-pyenv-inicio.md
- _posts/2017-12-30-venv-inicio.md
- _posts/2019-04-03-copiando-arquivos-para-dentro-do-container.md
- _posts/como-dar-nome-a-pontos-nos-gráficos-do-matplotlib.md
|
Remove redis from config, it's not used yet | language: node_js
node_js:
- "8"
services:
- redis
before_script: redis-cli --version
after_success: npm run report-coveralls
sudo: false
dist: trusty
| language: node_js
node_js:
- "8"
after_success: npm run report-coveralls
sudo: false
dist: trusty
|
Use latest Hazelcast-Kubernetes for the example | apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hazelcast
labels:
name: hazelcast
spec:
template:
metadata:
labels:
name: hazelcast
spec:
containers:
- name: hazelcast
image: quay.io/pires/hazelcast-kubernetes:3.10
imagePullPolicy: Always
env:
- name: "DNS_DOMAIN"
value: "cluster.local"
ports:
- name: hazelcast
containerPort: 5701
| apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hazelcast
labels:
name: hazelcast
spec:
template:
metadata:
labels:
name: hazelcast
spec:
containers:
- name: hazelcast
image: quay.io/pires/hazelcast-kubernetes:3.10.1
imagePullPolicy: Always
env:
- name: "DNS_DOMAIN"
value: "cluster.local"
ports:
- name: hazelcast
containerPort: 5701
|
Fix the name of an action | name: Update Transitive Dependencies
on:
schedule:
- cron: '15 11 * * 0' # weekly, on Sunday morning (UTC)
workflow_dispatch:
jobs:
update:
name: Tests
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: remove and re-create lock file
run: |
rm package-lock.json
npm install
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.ZORGBORT_TOKEN }}
commit-message: Update Transitive Dependencies
title: Update Transitive Dependencies
body: |
- Dependency updates
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: auto-update-dependencies
labels: dependencies
- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v1
with:
token: ${{ secrets.ZORGBORT_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: merge
| name: Update Transitive Dependencies
on:
schedule:
- cron: '15 11 * * 0' # weekly, on Sunday morning (UTC)
workflow_dispatch:
jobs:
update:
name: Run Update
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: remove and re-create lock file
run: |
rm package-lock.json
npm install
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.ZORGBORT_TOKEN }}
commit-message: Update Transitive Dependencies
title: Update Transitive Dependencies
body: |
- Dependency updates
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: auto-update-dependencies
labels: dependencies
- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v1
with:
token: ${{ secrets.ZORGBORT_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: merge
|
Update UUID 0xFD6F Scanner to 0.9.1.10 (9110) | Categories:
- Connectivity
License: GPL-3.0-or-later
AuthorName: marq24
SourceCode: https://github.com/marq24/UUID0xFD6FTracer
IssueTracker: https://github.com/marq24/UUID0xFD6FTracer/issues
AutoName: UUID 0xFD6F Scanner
RepoType: git
Repo: https://github.com/marq24/UUID0xFD6FTracer.git
Builds:
- versionName: 0.9.1.6
versionCode: 916
commit: 0.9.1.6
subdir: app
gradle:
- yes
- versionName: 0.9.1.7
versionCode: 917
commit: 0.9.1.7
subdir: app
gradle:
- yes
- versionName: 0.9.1.8
versionCode: 918
commit: 0.9.1.8
subdir: app
gradle:
- yes
- versionName: 0.9.1.9
versionCode: 919
commit: 0.9.1.9
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 0.9.1.9
CurrentVersionCode: 919
| Categories:
- Connectivity
License: GPL-3.0-or-later
AuthorName: marq24
SourceCode: https://github.com/marq24/UUID0xFD6FTracer
IssueTracker: https://github.com/marq24/UUID0xFD6FTracer/issues
AutoName: UUID 0xFD6F Scanner
RepoType: git
Repo: https://github.com/marq24/UUID0xFD6FTracer.git
Builds:
- versionName: 0.9.1.6
versionCode: 916
commit: 0.9.1.6
subdir: app
gradle:
- yes
- versionName: 0.9.1.7
versionCode: 917
commit: 0.9.1.7
subdir: app
gradle:
- yes
- versionName: 0.9.1.8
versionCode: 918
commit: 0.9.1.8
subdir: app
gradle:
- yes
- versionName: 0.9.1.9
versionCode: 919
commit: 0.9.1.9
subdir: app
gradle:
- yes
- versionName: 0.9.1.10
versionCode: 9110
commit: 0.9.1.10
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 0.9.1.10
CurrentVersionCode: 9110
|
Fix issue with JUnit-test-results on AppVeyor | environment:
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
cache:
- C:\Users\appveyor\.gradle
build_script:
- gradlew.bat assemble
test_script:
- gradlew.bat check
after_test:
- ps: |
$url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
(New-Object 'System.Net.WebClient').UploadFile($url, (Resolve-Path '.\build\test-results\TEST-de.chkpnt.gradle.plugin.truststorebuilder.ImportCertTaskTest.xml'))
(New-Object 'System.Net.WebClient').UploadFile($url, (Resolve-Path '.\build\test-results\TEST-de.chkpnt.gradle.plugin.truststorebuilder.TrustStoreBuilderConfigurationTest.xml'))
(New-Object 'System.Net.WebClient').UploadFile($url, (Resolve-Path '.\build\test-results\TEST-de.chkpnt.gradle.plugin.truststorebuilder.TrustStoreBuilderPluginTest.xml'))
| environment:
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
cache:
- C:\Users\appveyor\.gradle
build_script:
- gradlew.bat assemble
test_script:
- gradlew.bat check
after_test:
- ps: |
$url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
ForEach ($file in Get-ChildItem '.\build\test-results\*.xml') {
(New-Object 'System.Net.WebClient').UploadFile($url, $file)
}
|
Use asgard-1.4.1 that supports updating and using ELBs in default VPC of recent AWS account-regions | ---
ami_build: ami is defined and ami
not_ami_build: ami is not defined or not ami
latest_successful_build_url: https://github.com/Netflix/asgard/releases/download/asgard-1.4/asgard.war | ---
ami_build: ami is defined and ami
not_ami_build: ami is not defined or not ami
latest_successful_build_url: https://github.com/Netflix/asgard/releases/download/asgard-1.4.1/asgard.war |
Add Slack integration for Travis | language: python
python:
- "2.7"
- "3.3"
- "3.4"
install:
- "pip install -U setuptools"
- "python setup.py install"
- "pip install -U pytest pytest-pep8 coverage python-coveralls"
script: "coverage run --source busbus -m pytest --pep8"
after_script:
- "coverage report -m"
- "coveralls"
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
install:
- "pip install -U setuptools"
- "python setup.py install"
- "pip install -U pytest pytest-pep8 coverage python-coveralls"
script: "coverage run --source busbus -m pytest --pep8"
after_script:
- "coverage report -m"
- "coveralls"
notifications:
slack:
secure: CWJNMK/DvPKB31iDKXAPxaBQz6V2qZftFgTEqVaKbedF34rRGQK4R/OOobQ/PLbJ053tmgERWQl3L67ZeX06qS4PMy86LXv1Tvw5bcIiL7WebxtpCuZzWktVhCz14wtq+5kZXTyB/yT4C0IOoWXDHG0Fc6E9CseTMNT1V8MWNRM=
|
Move DEPLOY_ROOT to the same line as LAPIS_DEPLOY | language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
notifications:
email: false
env:
global:
- LAPIS_DEPLOY=https://github.com/LapisBlue/Deploy.git
- DEPLOY_ROOT=/tmp/lapis/deploy
- secure: WtEeGDHXX9F8ozizapxpSq7lZgNFjeSkq7DqlI8t0k9AiEejAjeXe0b7nqFpo0y2rCjs+rjpmEM3g9+J1RljuYujBSiUqtsIPcuY2OfeO5ESITlBuPhZpC5sqfDe+JkbxozIhURV63628eAeYoQZnKxO1Jq5R9Tk/05khpvB1U0=
after_success:
- git clone $LAPIS_DEPLOY $DEPLOY_ROOT &&
$DEPLOY_ROOT/javadocs.sh commons "./gradlew javadoc -x :SpongeAPI:javadoc" build/docs/javadoc
| language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
notifications:
email: false
env:
global:
- LAPIS_DEPLOY=https://github.com/LapisBlue/Deploy.git DEPLOY_ROOT=/tmp/lapis/deploy
- secure: WtEeGDHXX9F8ozizapxpSq7lZgNFjeSkq7DqlI8t0k9AiEejAjeXe0b7nqFpo0y2rCjs+rjpmEM3g9+J1RljuYujBSiUqtsIPcuY2OfeO5ESITlBuPhZpC5sqfDe+JkbxozIhURV63628eAeYoQZnKxO1Jq5R9Tk/05khpvB1U0=
after_success:
- git clone $LAPIS_DEPLOY $DEPLOY_ROOT &&
$DEPLOY_ROOT/javadocs.sh commons "./gradlew javadoc -x :SpongeAPI:javadoc" build/docs/javadoc
|
Move dependency install to before_install | language: python
python:
- "2.7"
before_install:
- chmod +x run_py_tests.sh
install:
- pip install numpy
- sudo apt-get install python-smbus -y
script:
- ./run_py_tests.sh | language: python
python:
- "2.7"
before_install:
- chmod +x run_py_tests.sh
- sudo apt-get install python-smbus -y
install:
- pip install numpy
script:
- ./run_py_tests.sh |
Test on version `4`, `6` and `7` | sudo: false
language: node_js
node_js:
- 'stable'
- '0.12'
- '0.10'
| sudo: false
language: node_js
node_js:
- '7'
- '6'
- '4'
|
Set Travis CI osx_image to xcode8.3 | language: objective-c
osx_image: xcode8
before_install:
- rvm get stable
install:
- ./scripts/install_swiftlint.sh
script:
- swiftlint
- ./scripts/build.sh
| language: objective-c
osx_image: xcode8.3
before_install:
- rvm get stable
install:
- ./scripts/install_swiftlint.sh
script:
- swiftlint
- ./scripts/build.sh
|
Test with Django master (but allow failures) | language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
- "nightly"
env:
matrix:
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.9,<1.10"
- DJANGO="Django>=1.10,<1.11"
install:
- pip install $DJANGO
- pip install .
- pip install coverage
branches:
only:
- master
- develop
- /^feature\/.+/
- /^release\/.+/
- /^hotfix\/.+/
- /^v[\d\.]+/
script: coverage run --source=environ setup.py test
matrix:
include:
- python: "3.3"
env: DJANGO="Django>=1.8,<1.9"
after_success:
- coverage report
- pip install --quiet python-coveralls
- coveralls
| language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
- "nightly"
env:
matrix:
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.9,<1.10"
- DJANGO="Django>=1.10,<1.11"
- DJANGO="https://github.com/django/django/archive/master.tar.gz"
install:
- pip install $DJANGO
- pip install .
- pip install coverage
branches:
only:
- master
- develop
- /^feature\/.+/
- /^release\/.+/
- /^hotfix\/.+/
- /^v[\d\.]+/
script: coverage run --source=environ setup.py test
matrix:
fast_finish: true
include:
- python: "3.3"
env: DJANGO="Django>=1.8,<1.9"
allow_failures:
- env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
after_success:
- coverage report
- pip install --quiet python-coveralls
- coveralls
|
Use latest DITA-OT version (3.4.1) for CI builds | sudo: false
language: java
jdk:
- openjdk8
env:
global:
- DITA_OT_VERSION=3.4
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh"
| sudo: false
language: java
jdk:
- openjdk8
env:
global:
- DITA_OT_VERSION=3.4.1
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh"
|
Enable detailed summary on Travis | language: python
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py31
- TOXENV=py32
before_install:
- sudo apt-get install libudev-dev gccxml
install:
- pip install --use-mirrors tox
script: tox -- --junitxml=tests.xml --enable-privileged
| language: python
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py31
- TOXENV=py32
before_install:
- sudo apt-get install libudev-dev gccxml
install:
- pip install --use-mirrors tox
script: tox -- --junitxml=tests.xml --enable-privileged -rfEsxX
|
Add tests for ss 3.2 and PHP 5.6 | # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
language: php
php:
- 5.3
sudo: false
env:
- DB=MYSQL CORE_RELEASE=3.1
- DB=PGSQL CORE_RELEASE=3.1
before_script:
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require "silverstripe/subsites"
- cd ~/builds/ss
script:
- vendor/bin/phpunit securityreport/tests/
| # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
language: php
php:
- 5.3
sudo: false
env:
- DB=MYSQL CORE_RELEASE=3.1
matrix:
include:
- php: 5.4
env: DB=PGSQL CORE_RELEASE=3.2
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.2
before_script:
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require "silverstripe/subsites"
- cd ~/builds/ss
script:
- vendor/bin/phpunit securityreport/tests/
|
Test in Node 4 and 5, too. | language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
| language: node_js
node_js:
- "5.0"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
|
Add on Travis: echo $TRAVIS_BRANCH | git:
depth: 10
os:
- osx
osx_image: xcode7.3
language: objective-c
compiler: clang
sudo: false
env:
global:
- SIGN_DARWIN_KEYCHAIN_NAME=travis.keychain
- SIGN_DARWIN_KEYCHAIN_PASSWORD=travis
install:
- ./scripts/install_nvm.sh
- npm install -g gulp
- npm install --only=dev
- if [[ $TRAVIS_BRANCH == 'staging' || $TRAVIS_BRANCH == 'deploy' ]]; then npm install; fi
- if [[ $TRAVIS_BRANCH == 'staging' || $TRAVIS_BRANCH == 'deploy' ]]; then ./scripts/darwin/install_aws.sh; fi
- if [[ $TRAVIS_BRANCH == 'staging' || $TRAVIS_BRANCH == 'deploy' ]]; then ./scripts/darwin/rebuild_src.sh; fi
before_script:
- npm test
script:
- npm test
- if [[ $TRAVIS_BRANCH == 'staging' ]]; then ./scripts/darwin/build_staging.sh; fi
- if [[ $TRAVIS_BRANCH == 'deploy' ]]; then ./scripts/darwin/build_deploy.sh; fi
cache:
directories:
- node_modules
- src/node_modules
- cache
notifications:
email: false
webhooks:
- https://webhooks.gitter.im/e/2c65a3d61901add4556f
| git:
depth: 10
os:
- osx
osx_image: xcode7.3
language: objective-c
compiler: clang
sudo: false
env:
global:
- SIGN_DARWIN_KEYCHAIN_NAME=travis.keychain
- SIGN_DARWIN_KEYCHAIN_PASSWORD=travis
install:
- echo $TRAVIS_BRANCH
- ./scripts/install_nvm.sh
- npm install -g gulp
- npm install --only=dev
- if [[ $TRAVIS_BRANCH == 'staging' || $TRAVIS_BRANCH == 'deploy' ]]; then npm install; fi
- if [[ $TRAVIS_BRANCH == 'staging' || $TRAVIS_BRANCH == 'deploy' ]]; then ./scripts/darwin/install_aws.sh; fi
- if [[ $TRAVIS_BRANCH == 'staging' || $TRAVIS_BRANCH == 'deploy' ]]; then ./scripts/darwin/rebuild_src.sh; fi
before_script:
- npm test
script:
- npm test
- if [[ $TRAVIS_BRANCH == 'staging' ]]; then ./scripts/darwin/build_staging.sh; fi
- if [[ $TRAVIS_BRANCH == 'deploy' ]]; then ./scripts/darwin/build_deploy.sh; fi
cache:
directories:
- node_modules
- src/node_modules
- cache
notifications:
email: false
webhooks:
- https://webhooks.gitter.im/e/2c65a3d61901add4556f
|
Update Travis CI configuration file | language: go
go:
- 1.2.2
- 1.3
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
- go install -a -race std
script:
- go tool vet -all .
- go build ./...
- go test -race -v ./...
| language: go
go:
- 1.3.1
- tip
matrix:
fast_finish: true
env:
global:
- PATH=$HOME/gopath/bin:$PATH
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get -t -v ./...
- go install -a -race std
script:
- go tool vet -all .
- go build ./...
- go test -race -v ./...
|
Add TF 1.12 to tests | sudo: required
language: python
git:
depth: 10
quiet: true
notifications:
email:
- tensorflow-datasets+travis@google.com
python:
- "2.7"
- "3.6"
env:
matrix:
- TF_VERSION="tf-nightly"
- TF_VERSION="1.13.0rc0"
- TF_VERSION="tf2"
install:
- ./oss_scripts/oss_pip_install.sh
script:
- ./oss_scripts/oss_tests.sh
| sudo: required
language: python
git:
depth: 10
quiet: true
notifications:
email:
- tensorflow-datasets+travis@google.com
python:
- "2.7"
- "3.6"
env:
matrix:
- TF_VERSION="tf-nightly"
- TF_VERSION="1.12.0"
- TF_VERSION="1.13.0rc0"
- TF_VERSION="tf2"
install:
- ./oss_scripts/oss_pip_install.sh
script:
- ./oss_scripts/oss_tests.sh
|
Update Codacy coverage reporter for v4 release | language: java
jdk:
- oraclejdk8
before_install:
- sudo apt-get install jq
- wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url)
- "export DISPLAY=:99.0"
- "export TERM=dumb"
- "sh -e /etc/init.d/xvfb start"
install: mvn install -DskipTests -Dgpg.skip
script: mvn -B verify
after_success: java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter --language Java --coverageReport aggregate/target/site/jacoco-aggregate/jacoco.xml
| language: java
jdk:
- oraclejdk8
before_install:
- sudo apt-get install jq
- wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url)
- "export DISPLAY=:99.0"
- "export TERM=dumb"
- "sh -e /etc/init.d/xvfb start"
install: mvn install -DskipTests -Dgpg.skip
script: mvn -B verify
after_success: java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter report --language Java --coverage-report aggregate/target/site/jacoco-aggregate/jacoco.xml
|
Enable caching for node_modules and bower_modules in Travis CI | sudo: false
language: node_js
node_js: stable
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
before_install:
- export CC=/usr/bin/gcc-4.9
- export CXX=/usr/bin/g++-4.9
install:
- npm install
- ./node_modules/.bin/typings install
- ./node_modules/.bin/bower install
before_script:
- git config --global user.name "Lorem Ipsum"
- git config --global user.email lorem-ipsum@example.com
- npm run build
script:
- npm test
| sudo: false
language: node_js
node_js: stable
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
cache:
directories:
- node_modules
- bower_modules
before_install:
- export CC=/usr/bin/gcc-4.9
- export CXX=/usr/bin/g++-4.9
install:
- npm install
- ./node_modules/.bin/typings install
- ./node_modules/.bin/bower install
before_script:
- git config --global user.name "Lorem Ipsum"
- git config --global user.email lorem-ipsum@example.com
- npm run build
script:
- npm test
|
Build with latest Node.js 6 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
- '6'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
|
Switch to alpine version of Postgres 10 docker image | version: '2'
services:
db:
image: postgres:10
ports:
- "5432:5432"
environment:
- POSTGRES_USER=coffeetable
- POSTGRES_PASSWORD=coffeetable
| version: '2'
services:
db:
image: postgres:10-alpine
ports:
- "5432:5432"
environment:
- POSTGRES_USER=coffeetable
- POSTGRES_PASSWORD=coffeetable
|
Remove python 2.5 testing because coveralls doesn't support it | language: python
python:
- "3.3"
- "3.2"
- "2.7"
- "2.6"
- "2.5"
install:
- pip install -e . -r requirements-testing.txt $DJANGO_VERSION
script:
- django-admin.py test --settings=dumper.test.settings dumper
after_success:
- coveralls
env:
matrix:
- DJANGO_VERSION="https://www.djangoproject.com/download/1.6a1/tarball/"
- DJANGO_VERSION="django>=1.5,<1.6"
- DJANGO_VERSION="django>=1.4,<1.5"
- DJANGO_VERSION="django>=1.3,<1.4"
matrix:
allow_failures:
- env: DJANGO_VERSION="https://www.djangoproject.com/download/1.6a1/tarball/"
exclude:
- python: "3.2"
env: DJANGO_VERSION="django>=1.3,<1.4"
- python: "3.3"
env: DJANGO_VERSION="django>=1.3,<1.4"
- python: "3.2"
env: DJANGO_VERSION="django>=1.4,<1.5"
- python: "3.3"
env: DJANGO_VERSION="django>=1.4,<1.5"
- python: "2.5"
env: DJANGO_VERSION="https://www.djangoproject.com/download/1.6a1/tarball/"
- python: "2.5"
env: DJANGO_VERSION="django>=1.5,<1.6"
| language: python
python:
- "3.3"
- "3.2"
- "2.7"
- "2.6"
install:
- pip install -e . -r requirements-testing.txt $DJANGO_VERSION
script:
- django-admin.py test --settings=dumper.test.settings dumper
after_success:
- coveralls
env:
matrix:
- DJANGO_VERSION="https://www.djangoproject.com/download/1.6a1/tarball/"
- DJANGO_VERSION="django>=1.5,<1.6"
- DJANGO_VERSION="django>=1.4,<1.5"
- DJANGO_VERSION="django>=1.3,<1.4"
matrix:
allow_failures:
- env: DJANGO_VERSION="https://www.djangoproject.com/download/1.6a1/tarball/"
exclude:
- python: "3.2"
env: DJANGO_VERSION="django>=1.3,<1.4"
- python: "3.3"
env: DJANGO_VERSION="django>=1.3,<1.4"
- python: "3.2"
env: DJANGO_VERSION="django>=1.4,<1.5"
- python: "3.3"
env: DJANGO_VERSION="django>=1.4,<1.5"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.