Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Install test dependencies before Travis build | language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
script:
- make test
after_success:
- coveralls
| language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install -r requirements_test.txt
script:
- make test
after_success:
- coveralls
|
Update Gradle and Java version. | sudo: false
language: java
jdk:
- oraclejdk8
script:
- travis_wait 20 ./gradlew check --info --stacktrace -PexcludeGroups=statistics
| sudo: false
language: java
jdk:
- oraclejdk10
script:
- travis_wait 20 ./gradlew check --info --stacktrace -PexcludeGroups=statistics
|
Add PHP 7.2 to Travis build matrix | language: php
env:
global:
- COMPOSER_ROOT_VERSION=2.0.x-dev
matrix:
include:
- php: 5.6
env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1
- php: 7.0
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.1
env: DB=PGSQL PHPUNIT_COVERAGE_TEST=1
before_script:
# Init PHP
- phpenv rehash
- phpenv config-rm xdebug.ini
# Install composer dependencies
- composer validate
- composer require --no-update silverstripe/installer 4.0.x-dev
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql 2.0.x-dev; fi
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
- if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs --standard=vendor/silverstripe/framework/phpcs.xml.dist src/ tests/; fi
after_success:
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
| language: php
env:
global:
- COMPOSER_ROOT_VERSION=2.0.x-dev
matrix:
include:
- php: 5.6
env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1
- php: 7.0
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.1
env: DB=PGSQL PHPUNIT_COVERAGE_TEST=1
- php: 7.2
env: DB=MYSQL PHPUNIT_TEST=1
before_script:
# Init PHP
- phpenv rehash
- phpenv config-rm xdebug.ini
# Install composer dependencies
- composer validate
- composer require --no-update silverstripe/installer 4.0.x-dev
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql 2.0.x-dev; fi
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
- if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs --standard=vendor/silverstripe/framework/phpcs.xml.dist src/ tests/; fi
after_success:
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
|
Use Rubinius 2.3 to fix CI errors w/rubysl-openssl | language: ruby
rvm:
- 2.1.4
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-19mode
- rbx
- rbx-2
- rbx-2.2
addons:
code_climate:
repo_token: d414084f17a07a6b2d7da72eaa35d92281554a4266ab8d6246fee1f6c0c161b6
| language: ruby
rvm:
- 2.1.4
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-19mode
- rbx
- rbx-2
- rbx-2.3
addons:
code_climate:
repo_token: d414084f17a07a6b2d7da72eaa35d92281554a4266ab8d6246fee1f6c0c161b6
|
Fix JDK7 error on Travis CI builds | language: groovy
sudo: false
dist: precise
jdk:
- openjdk7
- oraclejdk8
env:
global:
- JAVA_OPTS="-Dhttps.protocols=SSLv3,TLSv1,TLSv1.1,TLSv1.2"
- GRADLE_OPTS="-Xmx1024m"
script:
- ./gradlew check uploadArchives --full-stacktrace
- cd samples/example && ./gradlew clean webResourceCompile --full-stacktrace && cd ../../
after_success:
- ./gradlew coveralls --full-stacktrace
| language: groovy
sudo: false
dist: precise
jdk:
- openjdk7
- oraclejdk8
env:
global:
- JAVA_OPTS="-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
- GRADLE_OPTS="-Xmx1024m"
script:
- ./gradlew check uploadArchives --full-stacktrace
- cd samples/example && ./gradlew clean webResourceCompile --full-stacktrace && cd ../../
after_success:
- ./gradlew coveralls --full-stacktrace
|
Put chmod command in before_install section. | language: python
python:
- "2.7"
before_install:
- sudo apt-get install apache2 libapache2-mod-wsgi
install:
- pip install -r requirements.txt
before_script:
- mysql -e 'create database pkppln;'
- mysql -uroot pkppln < markstestdb.sql
- eval "echo \"`cat wsgi.conf`\"" > /tmp/wsgi.conf
- sudo cp /tmp/wsgi.conf /etc/apache2/conf.d/wsgi.conf
- sudo chmod o+x ${TRAVIS_BUILD_DIR}
- sudo service apache2 restart
script: "py.test tests.py"
after_failure:
- cat /etc/apache2/conf.d/wsgi.conf
| language: python
python:
- "2.7"
before_install:
- sudo apt-get install apache2 libapache2-mod-wsgi
- sudo chmod o+x $TRAVIS_BUILD_DIR
install:
- pip install -r requirements.txt
before_script:
- mysql -e 'create database pkppln;'
- mysql -uroot pkppln < markstestdb.sql
- eval "echo \"`cat wsgi.conf`\"" > /tmp/wsgi.conf
- sudo cp /tmp/wsgi.conf /etc/apache2/conf.d/wsgi.conf
- sudo service apache2 restart
script: "py.test tests.py"
after_failure:
- cat /etc/apache2/conf.d/wsgi.conf
|
Add Oracle Java 8 to Travis CI test matrix | language: java
install: mvn install -Dgpg.skip=true
jdk:
- openjdk7
- oraclejdk7
| language: java
install: mvn install site -Dgpg.skip=true
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
|
Use newest version of flake8 | # Config file for automatic testing at travis-ci.org
language: python
python:
- "3.5"
sudo: false
cache:
directories:
- node_modules
addons:
postgresql: "9.4"
install:
- travis_retry pip install --upgrade pip
- travis_retry pip install flake8==2.4.0 --force-reinstall --upgrade
- travis_retry pip install -r dev-requirements.txt
# Run Python tests and flake8
script:
- flake8 .
- py.test tests
| # Config file for automatic testing at travis-ci.org
language: python
python:
- "3.5"
sudo: false
cache:
directories:
- node_modules
addons:
postgresql: "9.4"
install:
- travis_retry pip install --upgrade pip
- travis_retry pip install flake8==3.0.4 --force-reinstall --upgrade
- travis_retry pip install -r dev-requirements.txt
# Run Python tests and flake8
script:
- flake8 .
- py.test tests
|
Add more node versions to check against |
language: node_js
os:
- linux
before_script: npm run lint
after_success: npm run coverage
node_js:
- "8"
- "node"
cache:
directories:
- "node_modules"
|
language: node_js
os:
- linux
before_script: npm run lint
after_success: npm run coverage
node_js:
- "8"
- "10"
- "12"
- "node"
cache:
directories:
- "node_modules"
|
Test also on Node.js v8.x | sudo: false
language: node_js
node_js:
- '6'
before_script:
- npm install --no-save react react-dom prop-types
notifications:
email: false
| sudo: false
language: node_js
node_js:
- '8'
- '6'
before_script:
- npm install --no-save react react-dom prop-types
notifications:
email: false
|
Change the Node versions we test against | language: node_js
node_js:
- 'node'
- '6'
- '5'
- '4'
| language: node_js
node_js:
- 'node'
- '8'
- '6'
|
Fix CXX override for roborio | language: cpp
matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
- os: linux
dist: trusty
sudo: required
env: GRADLE_ARGS='-Parm -Proborio --debug'
- os: osx
osx_image: xcode8
addons:
apt:
packages:
- g++-multilib
- lib32stdc++6
before_install:
- wpi/ntcore/.travis-scripts/install.sh
script:
- "./gradlew clean build $GRADLE_ARGS"
notifications:
email: false | language: cpp
matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
- os: linux
dist: trusty
sudo: required
env: GRADLE_ARGS='-Parm -Proborio' CXX=arm-frc-linux-gnueabi-g++
- os: osx
osx_image: xcode8
addons:
apt:
packages:
- g++-multilib
- lib32stdc++6
before_install:
- wpi/ntcore/.travis-scripts/install.sh
script:
- "./gradlew clean build $GRADLE_ARGS"
notifications:
email: false |
Allow Node 6 to fail | language: node_js
node_js:
- "node"
- "8"
- "6"
| language: node_js
node_js:
- "node"
- "8"
- "6"
matrix:
allow_failures:
- node_js: "6"
|
Remove hhvm from build matrix | language: php
php:
- hhvm
- 7.1
- 7.0
- 5.6
matrix:
allow_failures:
- php: hhvm
before_script:
- "mkdir -p ~/.composer"
- composer install --prefer-source --no-interaction
script:
- phpunit --coverage-text --coverage-clover=coverage.clover
- ./vendor/bin/phpcs --standard=PSR2 src/
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
| language: php
php:
- 7.1
- 7.0
- 5.6
before_script:
- "mkdir -p ~/.composer"
- composer install --prefer-source --no-interaction
script:
- phpunit --coverage-text --coverage-clover=coverage.clover
- ./vendor/bin/phpcs --standard=PSR2 src/
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
Include call to npm update since we are caching the local files. | language: python
sudo: false
python:
- '3.4'
addons:
postgresql: '9.3'
cache:
directories:
- $HOME/.cache/pip
- node_modules
env:
- DJANGO_SETTINGS_MODULE="service_info.settings.dev"
install:
- pip install -r requirements/dev.txt
- npm install
before_script:
- createdb -E UTF-8 service_info -U postgres -O $USER
- psql service_info -c "CREATE EXTENSION postgis;" -U postgres
script:
- coverage run manage.py test
- coverage report -m --fail-under 60
- flake8 .
notifications:
email:
- servicemap-team@caktusgroup.com
hipchat:
rooms:
secure: d8q9OOxEIz0PMe9HJhmx2dL4VvjDs2BE/v+QLQKZ5j5VcejtZl+NMR/D2x8b/7j10Re2e5bk6Sn9obPAEvQcHePRby/i5BNR7K+MtN4Wi3cEYmCi0xEpPc2c1p+J2Tfb7EXG6Kzx2ocUKnl+nE1E7Yxn+vSgg5RTFmUw2AB6syw=
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}
(<a href="%{build_url}">Details</a>/<a href="%{compare_url}">Change view</a>)'
format: html
| language: python
sudo: false
python:
- '3.4'
addons:
postgresql: '9.3'
cache:
directories:
- $HOME/.cache/pip
- node_modules
env:
- DJANGO_SETTINGS_MODULE="service_info.settings.dev"
install:
- pip install -r requirements/dev.txt
- npm install
- npm update
before_script:
- createdb -E UTF-8 service_info -U postgres -O $USER
- psql service_info -c "CREATE EXTENSION postgis;" -U postgres
script:
- coverage run manage.py test
- coverage report -m --fail-under 60
- flake8 .
notifications:
email:
- servicemap-team@caktusgroup.com
hipchat:
rooms:
secure: d8q9OOxEIz0PMe9HJhmx2dL4VvjDs2BE/v+QLQKZ5j5VcejtZl+NMR/D2x8b/7j10Re2e5bk6Sn9obPAEvQcHePRby/i5BNR7K+MtN4Wi3cEYmCi0xEpPc2c1p+J2Tfb7EXG6Kzx2ocUKnl+nE1E7Yxn+vSgg5RTFmUw2AB6syw=
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}
(<a href="%{build_url}">Details</a>/<a href="%{compare_url}">Change view</a>)'
format: html
|
Remove RVM from Travis since we use Ruby in ChefDK | rvm: 2.2
sudo: required
# install the pre-release chef-dk. Use chef-stable-precise to install the stable release
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
# Don't `bundle install`
install: echo "skip bundle install"
# Ensure we make ChefDK's Ruby the default
before_script:
# https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- /opt/chefdk/embedded/bin/chef gem install kitchen-docker
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
- KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
| sudo: required
# install the pre-release chef-dk. Use chef-stable-precise to install the stable release
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
# Don't `bundle install`
install: echo "skip bundle install"
# Ensure we make ChefDK's Ruby the default
before_script:
# https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- /opt/chefdk/embedded/bin/chef gem install kitchen-docker
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
- KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
|
Remove tip from go versions in Travis | language: go
go:
- 1.10.x
- tip
install:
- go get -t ./...
- go get github.com/client9/misspell/cmd/misspell
- go get github.com/golang/lint/golint
- go get honnef.co/go/tools/cmd/staticcheck
- go get github.com/kisielk/errcheck
script:
- diff <(echo -n) <(gofmt -s -d .)
- misspell -error .
- go vet ./...
- go test -v -tags=integration ./...
after_script:
- golint ./...
- staticcheck ./...
- errcheck ./...
| language: go
go:
- 1.10.x
install:
- go get -t ./...
- go get github.com/client9/misspell/cmd/misspell
- go get github.com/golang/lint/golint
- go get honnef.co/go/tools/cmd/staticcheck
- go get github.com/kisielk/errcheck
script:
- diff <(echo -n) <(gofmt -s -d .)
- misspell -error .
- go vet ./...
- go test -v -tags=integration ./...
after_script:
- golint ./...
- staticcheck ./...
- errcheck ./...
|
Install stable nodejs via nvm | language: go
go:
- 1.7
addons:
apt:
packages:
- nodejs
install:
# Add Godeps dependencies to GOPATH and PATH
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
- npm install
script:
- go test -v ./...
after_success:
- npm run build
| language: go
go:
- 1.7
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install
# Add Godeps dependencies to GOPATH and PATH
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
script:
- go test -v ./...
after_success:
- npm run build
|
Deploy TOL on Google Cloud (php hosting) | language: php
sudo: true
matrix:
fast_finish: true
include:
- php: 7.0
env: deps=low
- php: 7.0
env: WITH_CRYPTO=true
- php: 7.1
env: deps=low
- php: 7.1
env: WITH_CRYPTO=true
env:
- COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
- COVERAGE=true
- PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
before_install:
- composer install --dev
- travis_retry composer self-update
script:
- vendor/bin/phpunit ${PHPUNIT_FLAGS}
after_script:
- if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
after_success:
- bash <(curl -s https://codecov.io/bash) | language: php
sudo: true
matrix:
fast_finish: true
include:
- php: 7.0
env: deps=low
- php: 7.0
env: WITH_CRYPTO=true
- php: 7.1
env: deps=low
- php: 7.1
env: WITH_CRYPTO=true
env:
- COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
- COVERAGE=true
- PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
- CODECOV_TOKEN="a428b30b-32ca-4f26-a2cf-3447647f58d2"
before_install:
- composer install --dev
- travis_retry composer self-update
script:
- vendor/bin/phpunit ${PHPUNIT_FLAGS}
after_script:
- if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
after_success:
- bash <(curl -s https://codecov.io/bash) |
Switch to OpenJDK 7 for compatiblity with the new Trusty build infrastructure on Travis | language: java
sudo: false
jdk:
- oraclejdk7
install: true
script: "./gradle/buildViaTravis.sh"
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_7460ed1e628d_key -iv $encrypted_7460ed1e628d_iv
-in gradle.properties.enc -out gradle.properties -d || true
after_success:
- "./gradlew jacocoTestReport coveralls"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/32e7cdf345fb9c05a8d1
on_success: change
on_failure: always
on_start: never
| language: java
sudo: false
jdk:
- openjdk7
install: true
script: "./gradle/buildViaTravis.sh"
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_7460ed1e628d_key -iv $encrypted_7460ed1e628d_iv
-in gradle.properties.enc -out gradle.properties -d || true
after_success:
- "./gradlew jacocoTestReport coveralls"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/32e7cdf345fb9c05a8d1
on_success: change
on_failure: always
on_start: never
|
Add ruby 2.3.0 to Travis CI Build | sudo: required
dist: trusty
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
| sudo: required
dist: trusty
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- 2.3.0
|
Set Travis to use make | language: go
go:
- 1.5
- 1.6
matrix:
- fast_finish: true
install:
- export GOPATH=$HOME/gopath
- export PATH=$PATH:$HOME/gopath/bin
- go get -u -v github.com/golang/lint/golint
- go get -u -v github.com/codegangsta/cli
- go get -u -v gopkg.in/ini.v1
script:
- export GOPATH=$HOME/gopath
- export PATH=$HOME/gopath/bin:$PATH
- go vet ./...
- go test -cover -v ./...
- golint ./...
| language: go
go:
- 1.5
- 1.6
matrix:
- fast_finish: true
install:
- export GOPATH=$HOME/gopath
- export PATH=$PATH:$HOME/gopath/bin
- make deps
script:
- export GOPATH=$HOME/gopath
- export PATH=$HOME/gopath/bin:$PATH
- make build
- make test
|
Update Travis config to use Trusty and add new Pythons | ---
language: python
python:
- '2.6'
- '2.7'
- '3.3'
- '3.4'
before_install:
- git clone git://github.com/maxmind/geoip-api-c
- cd geoip-api-c
- ./bootstrap
- ./configure
- make
- sudo make install
- sudo ldconfig
- cd ..
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi"
script:
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
notifications:
email:
on_failure: always
on_success: change
recipients:
- dev-ci@maxmind.com
slack:
rooms:
secure: "mNw9bQtM+fHITJiYGwex/YB42uy6IfIYSLQZWaD6F3mb2Y8aSXAtck+raV/C85CTM4LyBq6YyFLr1912+Xd0gmM7mSEQc5wXVf/vlzpMfNyDedonBSZeed7SGfm63xCTN9KWkOmhzIAhRy7WozmBP+bkNjyH9D1gYt863W6OYiA=\n"
| ---
language: python
matrix:
include:
- python: '2.6'
dist: trusty
- python: '2.7'
- python: '3.3'
dist: trusty
- python: '3.4'
- python: '3.5'
- python: '3.6'
- python: '3.7'
before_install:
- git clone git://github.com/maxmind/geoip-api-c
- cd geoip-api-c
- ./bootstrap
- ./configure
- make
- sudo make install
- sudo ldconfig
- cd ..
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi"
script:
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
notifications:
email:
on_failure: always
on_success: change
recipients:
- dev-ci@maxmind.com
slack:
rooms:
secure: "mNw9bQtM+fHITJiYGwex/YB42uy6IfIYSLQZWaD6F3mb2Y8aSXAtck+raV/C85CTM4LyBq6YyFLr1912+Xd0gmM7mSEQc5wXVf/vlzpMfNyDedonBSZeed7SGfm63xCTN9KWkOmhzIAhRy7WozmBP+bkNjyH9D1gYt863W6OYiA=\n"
|
Update Travis to use latest Firefox | sudo: false
language: node_js
node_js: "6"
before_install:
- ./firefox-allow-popups.sh
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- if [ "$TRAVIS_BRANCH" != "master" ] || [ "$TRAVIS_PULL_REQUEST" != false ]; then SAUCE_ACCESS_KEY=$SAUCE_ACCESS_KEY_NOT_MASTER SAUCE_USERNAME=$SAUCE_USERNAME_NOT_MASTER; fi
- echo "Sauce Labs username is $SAUCE_USERNAME"
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^docs)/'
then
echo "Only docs were updated, skipping tests."
exit
fi
script: npm run ci
before_script:
- npm run http-server &
- sleep 2
addons:
hosts: canjs.test
sauce_connect: true
firefox: "53.0"
| sudo: false
language: node_js
node_js: "6"
before_install:
- ./firefox-allow-popups.sh
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- if [ "$TRAVIS_BRANCH" != "master" ] || [ "$TRAVIS_PULL_REQUEST" != false ]; then SAUCE_ACCESS_KEY=$SAUCE_ACCESS_KEY_NOT_MASTER SAUCE_USERNAME=$SAUCE_USERNAME_NOT_MASTER; fi
- echo "Sauce Labs username is $SAUCE_USERNAME"
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^docs)/'
then
echo "Only docs were updated, skipping tests."
exit
fi
script: npm run ci
before_script:
- npm run http-server &
- sleep 2
addons:
hosts: canjs.test
sauce_connect: true
firefox: latest
|
Set primary color as White | # Site settings
title: Grayscale
email: your-email@domain.com
url: https://example.github.io
description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
# Color settings (hex-codes without the leading hash-tag)
color:
primary-dark: '#000000'
links: '#219ab3'
# Footer settings
footer: Your Website
# Social networks usernames (many more available: google-plus, flickr, dribbble, pinterest, instagram, tumblr, linkedin, etc.)
social:
- title: twitter
url: https://twitter.com/SBootstrap
- title: facebook
url:
- title: stack-overflow
url: http://stackoverflow.com/questions/tagged/jekyll
- title: bitbucket
url: http://bitbucket.org/jekyll
- title: github
url: https://github.com/IronSummitMedia/startbootstrap
# Build settings
markdown: kramdown
permalink: pretty
| # Site settings
title: Grayscale
email: seyoung.arts.park@protonmail.com
url: https://example.github.io
description: ""
# Color settings (hex-codes without the leading hash-tag)
color:
primary-dark: '#ffffff'
links: '#219ab3'
# Footer settings
footer: Your Website
# Social networks usernames (many more available: google-plus, flickr, dribbble, pinterest, instagram, tumblr, linkedin, etc.)
social:
- title: twitter
url: https://twitter.com/SBootstrap
- title: facebook
url:
- title: stack-overflow
url: http://stackoverflow.com/questions/tagged/jekyll
- title: bitbucket
url: http://bitbucket.org/jekyll
- title: github
url: https://github.com/IronSummitMedia/startbootstrap
# Build settings
markdown: kramdown
permalink: pretty
|
Remove css folder from production. | title: FizzVR
description: Desarrollo Web NodeJS • Quito Ecuador
url: "https://fizzvr.github.io"
author:
nombre: Vladimir Rodríguez
email: fizzvr@gmail.com
twitter_username: fizzvr
github_username: fizzvr
disqus:
repository: fizzvr/fizzvr.github.io
google_analytics:
rss: true
permalink: /:year/:categories/:title/
paginate: 5
markdown: kramdown
feed:
path: rss/feed.xml
gems:
- jekyll-sitemap
- jekyll-feed
- jekyll-paginate
# Exclude these files from your production _site
exclude:
- Gemfile
- Gemfile.lock
- LICENSE
- README.md
- package.json
- bower.json
- node_modules
- bower_components
- Gruntfile.js
- vendor
| title: FizzVR
description: Desarrollo Web NodeJS • Quito Ecuador
url: "https://fizzvr.github.io"
author:
nombre: Vladimir Rodríguez
email: fizzvr@gmail.com
twitter_username: fizzvr
github_username: fizzvr
disqus:
repository: fizzvr/fizzvr.github.io
google_analytics:
rss: true
permalink: /:year/:categories/:title/
paginate: 5
markdown: kramdown
feed:
path: rss/feed.xml
gems:
- jekyll-sitemap
- jekyll-feed
- jekyll-paginate
# Exclude these files from your production _site
exclude:
- Gemfile
- Gemfile.lock
- LICENSE
- README.md
- package.json
- bower.json
- node_modules
- bower_components
- Gruntfile.js
- vendor
- LICENCIA
- css
|
Add additionalPrinterColumns to pipelinerun CRD | # Copyright 2018 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: pipelineruns.tekton.dev
spec:
group: tekton.dev
names:
kind: PipelineRun
plural: pipelineruns
categories:
- all
- knative
- tekton-pipelines
scope: Namespaced
# Opt into the status subresource so metadata.generation
# starts to increment
subresources:
status: {}
version: v1alpha1
| # Copyright 2018 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: pipelineruns.tekton.dev
spec:
group: tekton.dev
names:
kind: PipelineRun
plural: pipelineruns
categories:
- all
- knative
- tekton-pipelines
scope: Namespaced
additionalPrinterColumns:
- name: Type
type: string
description: The cron spec defining the interval a CronJob is run
JSONPath: .status.conditions[0].type
- name: Status
type: string
description: The number of jobs launched by the CronJob
JSONPath: .status.conditions[0].status
- name: StartTime
type: date
JSONPath: .status.startTime
- name: CompletionTime
type: date
JSONPath: .status.conditions[0].lastTransitionTime
# Opt into the status subresource so metadata.generation
# starts to increment
subresources:
status: {}
version: v1alpha1
|
Raise monitoring.prow.k8s.io prometheus retention to 90d | apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prow
namespace: prow-monitoring
spec:
replicas: 2
storage:
volumeClaimTemplate:
metadata:
name: prometheus
spec:
accessModes:
- "ReadWriteOnce"
storageClassName: "standard"
resources:
requests:
storage: 100Gi
retention: "30d"
serviceAccountName: prometheus-prow
alerting:
alertmanagers:
- namespace: prow-monitoring
name: alertmanager
port: http
enableAdminAPI: false
ruleSelector:
matchLabels:
role: alert-rules
prometheus: prow
serviceMonitorSelector:
matchExpressions:
- key: app
operator: Exists
version: v2.7.1
baseImage: docker.io/prom/prometheus
externalLabels: {}
listenLocal: false
nodeSelector: {}
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
additionalScrapeConfigs:
name: additional-scrape-configs
key: prometheus-additional.yaml
| apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prow
namespace: prow-monitoring
spec:
replicas: 2
storage:
volumeClaimTemplate:
metadata:
name: prometheus
spec:
accessModes:
- "ReadWriteOnce"
storageClassName: "standard"
resources:
requests:
storage: 100Gi
retention: "90d"
serviceAccountName: prometheus-prow
alerting:
alertmanagers:
- namespace: prow-monitoring
name: alertmanager
port: http
enableAdminAPI: false
ruleSelector:
matchLabels:
role: alert-rules
prometheus: prow
serviceMonitorSelector:
matchExpressions:
- key: app
operator: Exists
version: v2.7.1
baseImage: docker.io/prom/prometheus
externalLabels: {}
listenLocal: false
nodeSelector: {}
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
additionalScrapeConfigs:
name: additional-scrape-configs
key: prometheus-additional.yaml
|
Fix character issue on cron pipeline | name: Schedule Build Docker Images For Main Images And Nightly
on:
schedule:
- cron: '*/10 * * * *'
jobs:
build_and_publish_images:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image_type: [ latest,
alpine,
postgres_12,
nightly ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Clone tools branch
run: git clone --depth=1 --branch develop https://github.com/citusdata/tools.git tools
- name: Install package dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev
- name: Install python requirements
run: python -m pip install -r tools/packaging_automation/requirements.txt
- name: Build and publish docker images
run: |
python -m tools.packaging_automation.publish_docker --pipeline_trigger_type "${GITHUB_EVENT_NAME}"\
--exec_path "$(pwd)" --image_type ${{ matrix.image_type }}
| name: Schedule Build Docker Images For Main Images And Nightly
on:
schedule:
- cron: '*/10 * * * *'
jobs:
build_and_publish_images:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image_type: [ latest,
alpine,
postgres_12,
nightly ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Clone tools branch
run: git clone --depth=1 --branch develop https://github.com/citusdata/tools.git tools
- name: Install package dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev
- name: Install python requirements
run: python -m pip install -r tools/packaging_automation/requirements.txt
- name: Build and publish docker images
run: |
python -m tools.packaging_automation.publish_docker --pipeline_trigger_type "${GITHUB_EVENT_NAME}"\
--exec_path "$(pwd)" --image_type ${{ matrix.image_type }}
|
Use image_name instead of images.name. | images:
images:
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/a11y-user-image
registry:
provider: gcloud
gcloud:
project: ucb-datahub-2018
service_key: gcr-key.json
cluster:
provider: gcloud
gcloud:
project: ucb-datahub-2018
service_key: gke-key.json
cluster: fall-2019
zone: us-central1
| images:
image_name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/a11y-user-image
registry:
provider: gcloud
gcloud:
project: ucb-datahub-2018
service_key: gcr-key.json
cluster:
provider: gcloud
gcloud:
project: ucb-datahub-2018
service_key: gke-key.json
cluster: fall-2019
zone: us-central1
|
Add caching of Lua environment to CI run | name: Busted
on: [push, pull_request]
jobs:
busted:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty"]
penlightVersion: ["1.9.2", "1.8.0", "1.6.0", "1.3.2"]
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup ‘lua’
uses: leafo/gh-actions-lua@v8
with:
luaVersion: ${{ matrix.luaVersion }}
- name: Setup ‘luarocks’
uses: leafo/gh-actions-luarocks@v4
- name: Setup dependencies
run: |
luarocks install penlight ${{ matrix.penlightVersion }}
luarocks install --only-deps busted-scm-2.rockspec
luarocks install luasec
luarocks install moonscript
- name: Build
run: luarocks make
- name: Run tests
run: busted -v
| name: Busted
on: [push, pull_request]
jobs:
busted:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty"]
penlightVersion: ["1.9.2", "1.8.0", "1.6.0", "1.3.2"]
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup ‘lua’
uses: leafo/gh-actions-lua@v8
with:
luaVersion: ${{ matrix.luaVersion }}
- name: Setup ‘luarocks’
uses: leafo/gh-actions-luarocks@v4
- name: Setup dependencies
run: |
luarocks install penlight ${{ matrix.penlightVersion }}
luarocks install --only-deps busted-scm-2.rockspec
luarocks install luasec
luarocks install moonscript
- name: Cache Lua machinery
uses: actions/cache@v2
with:
path: |
.install
.lua
.luarocks
key: lua-${{ matrix.luaVersion }}-${{ matrix.penlightVersion }}-${{ hashFiles('busted-scm-2.rockspec', '.github/workflows/busted.yml') }}
- name: Build
run: luarocks make
- name: Run tests
run: busted -v
|
Update from Hackage at 2018-06-07T22:04:47Z | homepage: ''
changelog-type: markdown
hash: 7d72b520c50530dfc3bd9e5fe0e5497b9360fd65a28682686fd675ad3dd36fd0
test-bench-deps: {}
maintainer: fresheyeball@gmail.com
synopsis: More useful trace functions for investigating bugs
changelog: ! '# Revision history for debug-tracy
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
'
basic-deps:
base: ! '>=4.9 && <4.11'
transformers: -any
random: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: Isaac Shapira
latest: '0.1.0.1'
description-type: haddock
description: A collection of things for debugging, (to prevent me from writing them
again)
license-name: BSD3
| homepage: ''
changelog-type: markdown
hash: 922dd181ea508c98d3f37f7d1d4fdd913af94eaf0ff867cbefac36d0494d9d87
test-bench-deps: {}
maintainer: fresheyeball@gmail.com
synopsis: More useful trace functions for investigating bugs
changelog: ! '# Revision history for debug-tracy
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
'
basic-deps:
base: ! '>=4.9 && <4.12'
debug-tracy: -any
lens: -any
transformers: -any
random: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
author: Isaac Shapira
latest: '0.1.0.2'
description-type: haddock
description: A collection of things for debugging, (to prevent me from writing them
again)
license-name: BSD3
|
Use generated tag in AWS lb ops file | - type: replace
path: /tags?
value:
KubernetesCluster: ((director_name))/((deployment_name))
| - type: replace
path: /tags?
value:
KubernetesCluster: ((kubernetes_cluster_tag))
|
Add ddl-auto parameter to allow schema updates | spring:
datasource:
url: jdbc:mariadb://localhost/myapp
username: myapp
password: demo | spring:
datasource:
url: jdbc:mariadb://localhost/myapp
username: myapp
password: demo
jpa:
hibernate:
ddl-auto: update |
Revert back to cassandra-1, still using biocache-store-1.9.2 | - hosts: biocache
roles:
- common
- java8
- cassandra3
- nameindex
- biocache-db
- biocache-properties
- biocache-cli
- jenkins
- apache
| - hosts: biocache
roles:
- common
- java8
- cassandra
- nameindex
- biocache-db
- biocache-properties
- biocache-cli
- jenkins
- apache
|
Update from Hackage at 2019-06-02T16:52:55Z | homepage: https://selda.link
changelog-type: ''
hash: 25ff42ede1295679edbe731ecde55fe1da7a5672647da3056f0add9df43a651e
test-bench-deps: {}
maintainer: anton@ekblad.cc
synopsis: JSON support for the Selda database library.
changelog: ''
basic-deps:
bytestring: ! '>=0.10 && <0.11'
selda: ! '>=0.4 && <0.5'
base: ! '>=4.9 && <5'
text: ! '>=1.0 && <1.3'
aeson: ! '>=1.0 && <1.5'
all-versions:
- 0.1.0.0
author: Anton Ekblad
latest: 0.1.0.0
description-type: haddock
description: ''
license-name: MIT
| homepage: https://selda.link
changelog-type: ''
hash: 52591d9637523483a59e21f23c640601c19f03e8af4f01aac600f1151bd3f8e9
test-bench-deps: {}
maintainer: anton@ekblad.cc
synopsis: JSON support for the Selda database library.
changelog: ''
basic-deps:
bytestring: ! '>=0.10 && <0.11'
selda: ! '>=0.4 && <0.5'
base: ! '>=4.9 && <5'
text: ! '>=1.0 && <1.3'
aeson: ! '>=1.0 && <1.5'
all-versions:
- 0.1.0.0
author: Anton Ekblad
latest: 0.1.0.0
description-type: haddock
description: ''
license-name: MIT
|
Reduce test stdout output due to Travis log output limit of 4 MB | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
language: java
jdk:
- oraclejdk7
- oraclejdk8
branches:
only:
- master
- /^feature\/.*$/
- /^hotfix\/.*$/
- /^release\/.*$/
script: mvn test -Dsurefire.redirectTestOutputToFile=false
sudo: false
cache:
directories:
- $HOME/.m2
| #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
language: java
jdk:
- oraclejdk7
- oraclejdk8
branches:
only:
- master
- /^feature\/.*$/
- /^hotfix\/.*$/
- /^release\/.*$/
script: mvn test
sudo: false
cache:
directories:
- $HOME/.m2
|
Fix Travis CI script again | sudo: required
language: bash
services:
- docker
install:
- git clone https://github.com/thyrlian/AndroidSDK.git ~/AndroidSDK
script:
- docker build -t android-sdk ~/AndroidSDK/android-sdk
- docker images
- docker run -d android-sdk
- docker exec -it `docker ps -aqf "ancestor=android-sdk"` java -version && gradle -v && sdkmanager --list
| sudo: required
language: bash
services:
- docker
install:
- git clone https://github.com/thyrlian/AndroidSDK.git ~/AndroidSDK
script:
- docker build -t android-sdk ~/AndroidSDK/android-sdk
- docker images
- docker run -d android-sdk
- docker exec -it `docker ps -aqf "ancestor=android-sdk"` bash -c 'java -version && gradle -v && sdkmanager --list'
|
Add auto deploy with TravisCI | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install: "pip install ."
script: "python -m phabricator.tests.test_phabricator"
| language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
install: pip install .
script: python -m phabricator.tests.test_phabricator
deploy:
provider: pypi
user: disqus
password:
secure: AJ7zSLd6BgI4W8Kp3KEx5O40bUJA91PkgLTZb5MnCx4/8nUPlkk+LqvodaiiJQEGzpP8COPvRlzJ/swd8d0P38+Se6V83wA43MylimzrgngO6t3c/lXa/aMnrRzSpSfK5QznEMP2zcSU1ReD+2dNr7ATKajbGqTzrCFk/hQPMZ0=
on:
tags: true
|
Update Travis CI config again | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1
- 2.1.1
- jruby
| language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1
- jruby
|
Include tests in the `ports` directory in the TravisCI test builds | sudo: required
language: bash
services:
- docker
install:
- docker pull swipl:stable
script:
- docker run -it --name test --entrypoint=/bin/bash -v ${PWD}:/logtalk3 library/swipl -c "/logtalk3/scripts/install.sh && logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester && cd ~/logtalk/tools && logtalk_tester && cd ~/logtalk/examples && logtalk_tester && cd ~/logtalk/contributions && logtalk_tester"
| sudo: required
language: bash
services:
- docker
install:
- docker pull swipl:stable
script:
- docker run -it --name test --entrypoint=/bin/bash -v ${PWD}:/logtalk3 library/swipl -c "/logtalk3/scripts/install.sh && logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester && cd ~/logtalk/tools && logtalk_tester && cd ~/logtalk/examples && logtalk_tester && cd ~/logtalk/contributions && logtalk_tester && cd ~/logtalk/ports && logtalk_tester"
|
Set DB and PHP versions | language: php
php:
- '5.6'
before_script: composer install
script: ant
| language: php
php:
- 5.6
- 7.1
env:
- DB=sqlite
before_script: composer install
script: ant
|
Add Postgres config to Travis CI. | language: c
dist: trusty
services:
- postgresql
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
- psql -c 'create role gabor;' -U postgres
- psql -c 'alter role gabor with password "gabor";' -U postgres
- psql -c 'create database testje;' -U postgres
- psql -c 'grant all privileges on database testje to gabor;' -U postgres
- psql -c 'grant all privileges on database testje to gabor;' -U gabor -d testje
before_install:
- sudo chmod 777 /var/log/syslog
- sudo ln -s /usr/bin/make /usr/bin/gmake
- sudo sudo apt-get install libbsd-dev
script: ./runtests.sh
| language: c
dist: trusty
services:
- postgresql
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
- psql -c 'create role gabor;' -U postgres
- psql -c "alter role gabor with password 'gabor';" -U postgres
- psql -c 'create database testje;' -U postgres
- psql -c 'grant all privileges on database testje to gabor;' -U postgres
- psql -c 'create table boeken (id integer, titel varchar(100));' -U gabor -d testje
- psql -c "insert into boeken values(1,'handboek')" -U gabor -d testje
- psql -c "insert into boeken values(2,'telefoongids')" -U gabor -d testje
before_install:
- sudo chmod 777 /var/log/syslog
- sudo ln -s /usr/bin/make /usr/bin/gmake
- sudo sudo apt-get install libbsd-dev
script: ./runtests.sh
|
Add maven cache to config. | language: android
android:
components:
- build-tools-23.0.1
- android-23
- extra-android-m2repository
licenses:
- android-sdk-license-5be876d5
script: ./gradlew check
| language: android
android:
components:
- build-tools-23.0.1
- android-23
- extra-android-m2repository
licenses:
- android-sdk-license-5be876d5
cache:
directories:
- $HOME/.m2
script: ./gradlew check
|
Allow failure on 5.5 for now | language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
include:
- php: 5.5
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
script:
- composer test
#after_script:
# - if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi
| language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 5.5
include:
- php: 5.5
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
script:
- composer test
#after_script:
# - if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi
|
Remove PHP 5.6 & PHP 7.0 compatibility tests with Travis | language: php
php:
- '7.1'
- '7.0'
- '5.6'
env:
global:
- PHPUNIT_BIN='vendor/bin/phpunit'
- PHPUNIT_CONFIG='phpunit.xml'
- PHPUNIT_FLAGS='--stop-on-failure --verbose'
before_script:
- composer config --global repo.packagist composer https://packagist.org
- composer install
script : $PHPUNIT_BIN -c $PHPUNIT_CONFIG $PHPUNIT_FLAGS
addons:
code_climate:
repo_token: 62b27466fcf178ab2bd97abacf491634849ddae5eb420ce0bd28f2f4aab6f142
after_success:
- vendor/bin/test-reporter
| language: php
php:
- '7.1'
env:
global:
- PHPUNIT_BIN='vendor/bin/phpunit'
- PHPUNIT_CONFIG='phpunit.xml'
- PHPUNIT_FLAGS='--stop-on-failure --verbose'
before_script:
- composer config --global repo.packagist composer https://packagist.org
- composer install
script : $PHPUNIT_BIN -c $PHPUNIT_CONFIG $PHPUNIT_FLAGS
addons:
code_climate:
repo_token: 62b27466fcf178ab2bd97abacf491634849ddae5eb420ce0bd28f2f4aab6f142
after_success:
- vendor/bin/test-reporter
|
Improve documentation of CI builds | language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install coveralls"
# command to run tests
script: nosetests
after_success: coveralls
| language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install coveralls"
- "pip freeze"
# command to run tests
script: nosetests
after_success: coveralls
|
Remove Ruby versions lower than 2.3.3 on TravisCI | language: ruby
rvm:
- 2.3.0
- 2.3.1
- 2.3.2
- 2.3.3
- 2.4.0
before_install: gem install bundler -v 1.13.7
| language: ruby
rvm:
- 2.3.3
- 2.4.0
before_install: gem install bundler -v 1.13.7
|
Remove support for Node 8 | language: node_js
node_js:
- "node"
- "14"
- "12"
- "10"
- "8"
| language: node_js
node_js:
- "node"
- "14"
- "12"
- "10"
|
Use 'psycopg2' binary installed via pip on Travis CI, too | language: python
python:
- "3.5"
- "3.6"
addons:
postgresql: "9.6"
apt:
packages:
- language-pack-de
services:
- redis-server
install:
- "pip install --upgrade pip"
- "pip install --upgrade pytest"
- "pip install psycopg2"
before_script:
- psql -U postgres -c "CREATE DATABASE byceps_test;"
- psql -U postgres -c "CREATE ROLE byceps_test WITH LOGIN PASSWORD 'test';"
script:
- "python setup.py test"
dist: trusty
sudo: false
notifications:
email: false
| language: python
python:
- "3.5"
- "3.6"
addons:
postgresql: "9.6"
apt:
packages:
- language-pack-de
services:
- redis-server
install:
- "pip install --upgrade pip"
- "pip install --upgrade pytest"
before_script:
- psql -U postgres -c "CREATE DATABASE byceps_test;"
- psql -U postgres -c "CREATE ROLE byceps_test WITH LOGIN PASSWORD 'test';"
script:
- "python setup.py test"
dist: trusty
sudo: false
notifications:
email: false
|
Install youtube-dl before execute tests | language: ruby
rvm:
- 1.9.3
- 2.0.0
before_install:
- 'sudo apt-get -qq update'
- 'sudo apt-get -qq install rdnssd libavahi-compat-libdnssd-dev'
script: bundle exec rake spec
| language: ruby
rvm:
- 1.9.3
- 2.0.0
before_install:
- 'sudo apt-get -qq update'
- 'sudo apt-get -qq install youtube-dl rdnssd libavahi-compat-libdnssd-dev'
script: bundle exec rake spec
|
Build against Sphinx master branch | cache: pip
dist: xenial
language: python
python:
- "2.7"
- "3.7"
env:
- SPHINX_SPEC='~=1.7.0'
- SPHINX_SPEC='~=1.8.0'
- SPHINX_SPEC='~=2.0.0'
- SPHINX_SPEC='~=2.1.0'
# latest release
- SPHINX_SPEC=''
matrix:
# exclude non Python2 compatible Sphinx versions
exclude:
- python:
"2.7"
env:
SPHINX_SPEC='~=2.0.0'
- python:
"2.7"
env:
SPHINX_SPEC='~=2.1.0'
install:
- pip install coveralls sphinx_rtd_theme "sphinx${SPHINX_SPEC:-}"
- python setup.py install
script:
- coverage run --source=hieroglyph setup.py test
- cd docs; READTHEDOCS=True SPHINXOPTS="-NqW" SPHINXBUILD="sphinx-build" make -e clean html slides; cd ..
after_success:
- coveralls
| cache: pip
dist: xenial
language: python
python:
- "2.7"
- "3.7"
env:
- SPHINX_SPEC='sphinx~=1.7.0'
- SPHINX_SPEC='sphinx~=1.8.0'
- SPHINX_SPEC='sphinx~=2.0.0'
- SPHINX_SPEC='sphinx~=2.1.0'
# latest release
- SPHINX_SPEC='sphinx'
# master branch (in development)
- SPHINX_SPEC='git+https://github.com/sphinx-doc/sphinx.git#egg=Sphinx-dev'
matrix:
# exclude non Python2 compatible Sphinx versions
exclude:
- python: "2.7"
env: SPHINX_SPEC='sphinx~=2.0.0'
- python: "2.7"
env: SPHINX_SPEC='sphinx~=2.1.0'
- python: "2.7"
env: SPHINX_SPEC='sphinx'
- python: "2.7"
env: SPHINX_SPEC='git+https://github.com/sphinx-doc/sphinx.git#egg=Sphinx-dev'
allow_failures:
- env: SPHINX_SPEC='git+https://github.com/sphinx-doc/sphinx.git#egg=Sphinx-dev'
install:
- pip install coveralls sphinx_rtd_theme "${SPHINX_SPEC}"
- python setup.py install
script:
- coverage run --source=hieroglyph setup.py test
- cd docs; READTHEDOCS=True SPHINXOPTS="-NqW" SPHINXBUILD="sphinx-build" make -e clean html slides; cd ..
after_success:
- coveralls
|
Test against Node.js 5.0 only | language: node_js
node_js:
- 0.12
- 4.0
- 4.1
- 4.2
- 5.0
| language: node_js
node_js:
- 5.0
|
Use Chrome for the browser tests | language: python
python:
- "2.7"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install: "python bootstrap.py && bin/buildout"
script: "bin/test -v -v -s --timeout=200"
| language: python
python:
- "2.7"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "wget https://chromedriver.googlecode.com/files/chromedriver_linux32_26.0.1383.0.zip -O chromedriver.zip"
- "unzip chromedriver.zip"
- "sudo cp chromedriver /usr/local/bin"
- "sudo chmod 755 /usr/local/bin/chromedriver"
install: "python bootstrap.py && bin/buildout"
script: "bin/test -v -v -s --timeout=200 --webdriver=chrome"
|
Add TravisBuddy notifications in GitHub comments | language: ruby
script: 'bundle exec rake'
gemfile:
- gemfiles/Gemfile.activesupport-3.x
- gemfiles/Gemfile.activesupport-4.x
- gemfiles/Gemfile.activesupport-5.x
rvm:
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-head
services:
- redis-server
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
- rvm: 2.0
gemfile: gemfiles/Gemfile.activesupport-5.x
- rvm: 2.1
gemfile: gemfiles/Gemfile.activesupport-5.x
| language: ruby
script: 'bundle exec rake'
gemfile:
- gemfiles/Gemfile.activesupport-3.x
- gemfiles/Gemfile.activesupport-4.x
- gemfiles/Gemfile.activesupport-5.x
rvm:
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-head
services:
- redis-server
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
- rvm: 2.0
gemfile: gemfiles/Gemfile.activesupport-5.x
- rvm: 2.1
gemfile: gemfiles/Gemfile.activesupport-5.x
notifications:
webhooks: https://www.travisbuddy.com/
on_success: never
|
Add PHP 8.0 to the matrix | language: php
sudo: true
env:
global:
- XDEBUG_MODE=coverage
services:
- docker
jobs:
include:
- &TEST
php: "7.3"
before_script:
- ./travisci/bin/start.sh
- composer install
- ./travisci/bin/logs.sh
script: vendor/bin/phpunit --debug
after_script:
- ./travisci/bin/stop.sh
- <<: *TEST
php: "7.4"
- stage: Static analysis with phpstan
php: "7.4"
script:
- composer require --dev phpstan/phpstan
- vendor/bin/phpstan analyse
| language: php
sudo: true
env:
global:
- XDEBUG_MODE=coverage
services:
- docker
jobs:
include:
- &TEST
php: "7.3"
before_script:
- ./travisci/bin/start.sh
- composer install
- ./travisci/bin/logs.sh
script: vendor/bin/phpunit --debug
after_script:
- ./travisci/bin/stop.sh
- <<: *TEST
php: "7.4"
- <<: *TEST
php: "8.0"
- stage: Static analysis with phpstan
php: "7.4"
script:
- composer require --dev phpstan/phpstan
- vendor/bin/phpstan analyse
|
Remove support for Ruby 2.0.0 | language: ruby
sudo: false
cache: bundler
rvm:
- 2.5.0
- 2.4.3
- 2.3.6
- 2.2.9
- 2.1.10
- 2.0.0
| language: ruby
sudo: false
cache: bundler
rvm:
- 2.5.0
- 2.4.3
- 2.3.6
- 2.2.9
- 2.1.10
|
Revert "Add infer for static analysis" | language: android
jdk: oraclejdk8
os: linux
dist: xenial
env:
global:
- ANDROID_API_LEVEL=29
- ANDROID_BUILD_TOOLS_VERSION=29.0.2
android:
components:
- tools
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
# Additional components
- extra-android-m2repository
before_script:
- chmod +x gradlew
- chmod +x cicd_scripts/lint-up.rb
- curl -sSL "https://github.com/facebook/infer/releases/download/v1.0.0/infer-linux64-v1.0.0.tar.xz" | sudo tar -C /opt -xJ && ln -s "/opt/infer-linux64-v1.0.0/bin/infer" /usr/local/bin/infer
- sudo ln -s "/opt/infer-linux64-v1.0.0/bin/infer" /usr/local/bin/infer
script:
- ./gradlew clean assembleDebug
- ruby cicd_scripts/lint-up.rb
- ./gradlew clean
- infer run -- ./gradlew build
| language: android
jdk: oraclejdk8
os: linux
dist: xenial
env:
global:
- ANDROID_API_LEVEL=29
- ANDROID_BUILD_TOOLS_VERSION=29.0.2
android:
components:
- tools
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
# Additional components
- extra-android-m2repository
before_script:
- chmod +x gradlew
- chmod +x cicd_scripts/lint-up.rb
script:
- ./gradlew clean assembleDebug
- ruby cicd_scripts/lint-up.rb
|
Remove go install ht and $TRAVIS_BUILD_DIR | language: go
go:
- 1.8rc1
- tip
os:
- linux
- osx
matrix:
# failure is not an option
# allow_failures:
# - go: tip
fast_finish: true
install:
- go get -t ./...
- go get github.com/golang/lint/golint
- go get github.com/gordonklaus/ineffassign
- go get github.com/mholt/caddy/...
- go get github.com/vdobler/ht/...
- go install github.com/vdobler/ht/cmd/ht
script:
- diff <(echo -n) <(gofmt -s -d .)
- ineffassign .
- go vet ./...
- go test -race -count=4 ./...
- $TRAVIS_BUILD_DIR/integration.sh
after_script:
- golint ./...
- go test -run=🤐 -bench=. -count=1 -benchmem ./...
| language: go
go:
- 1.8rc1
- tip
os:
- linux
- osx
matrix:
# failure is not an option
# allow_failures:
# - go: tip
fast_finish: true
install:
- go get -t ./...
- go get github.com/golang/lint/golint
- go get github.com/gordonklaus/ineffassign
- go get github.com/mholt/caddy/...
- go get github.com/vdobler/ht/...
script:
- diff <(echo -n) <(gofmt -s -d .)
- ineffassign .
- go vet ./...
- go test -race -count=4 ./...
- ./integration.sh
after_script:
- golint ./...
- go test -run=🤐 -bench=. -count=1 -benchmem ./...
|
Update Travis configuration for Xcode 11.1 | language: objective-c
osx_image: xcode10.2
xcode_project: Vienna.xcodeproj
xcode_scheme: Vienna
cache: carthage
before_script:
- brew outdated carthage || brew upgrade carthage
- carthage version
- brew outdated swiftlint || brew upgrade swiftlint
- swiftlint version
| language: objective-c
osx_image: xcode11.1
xcode_project: Vienna.xcodeproj
xcode_scheme: Vienna
cache: carthage
before_script:
- brew outdated carthage || brew upgrade carthage
- carthage version
- brew outdated swiftlint || brew upgrade swiftlint
- swiftlint version
|
Make bokeh_conda_requirements a noarch package | {% set name = "bokeh_conda_requirements" %}
{% set version = "0.12.6" %}
package:
name: {{ name }}
version: {{ version }}
requirements:
run:
- python
- six >=1.5.2
- requests >=1.2.3
- pyyaml >=3.10
- python-dateutil >=2.1
- jinja2 >=2.7
- numpy >=1.7.1
- tornado >=4.3
- futures >=3.0.3 # [py2k]
- bkcharts >=0.2
about:
summary: Requirements meta-package for bokeh
| {% set name = "bokeh_conda_requirements" %}
{% set version = "0.12.6" %}
package:
name: {{ name }}
version: {{ version }}
build:
number: 0
noarch: True
string: py2_0 # [py2k]
string: py3_0 # [py3k]
requirements:
run:
- python 2.* # [py2k]
- python 3.* # [py3k]
- six >=1.5.2
- requests >=1.2.3
- pyyaml >=3.10
- python-dateutil >=2.1
- jinja2 >=2.7
- numpy >=1.7.1
- tornado >=4.3
- futures >=3.0.3 # [py2k]
- bkcharts >=0.2
about:
summary: Requirements meta-package for bokeh
|
Add pytest before run 'python setup.py test' | machine:
python:
dependencies:
pre:
- pip install tox
test:
override:
- tox
| machine:
python:
dependencies:
pre:
- pip install tox pytest
test:
override:
- tox
|
Use sublime text 3 from caskroom/versions | after-scripts:
- brew linkapps
- sh ./scripts/pip.sh
- sh ./scripts/gem.sh
- sh ./scripts/chrome.sh
- sh ./scripts/defaults.sh
- sh ./scripts/last_adjusts.sh
casks:
- alfred
- base
- coconutbattery
- divvy
- dropbox
- fabric
- flash-player
- font-hack
- genymotion
- google-drive
- google-hangouts
- heroku-toolbelt
- iterm2
- jadengeller-helium
- java
- mou
- rescuetime
- skitch
- sourcetree
- spotify
- sublime-text
- transmission
- vagrant
- virtualbox
- vlc
formulas:
- git
- curl
- wget
- tree
- imagemagick
- jpegoptim
- vim --with-lua
- go
- npm
- ruby
- mysql
- httpie
- android-sdk
- archey
- jq
symlinks:
.*: '~'
taps:
- caskroom/cask
- caskroom/fonts
| after-scripts:
- brew linkapps
- sh ./scripts/pip.sh
- sh ./scripts/gem.sh
- sh ./scripts/chrome.sh
- sh ./scripts/defaults.sh
- sh ./scripts/last_adjusts.sh
casks:
- alfred
- base
- coconutbattery
- divvy
- dropbox
- fabric
- flash-player
- font-hack
- genymotion
- google-drive
- google-hangouts
- heroku-toolbelt
- iterm2
- jadengeller-helium
- java
- mou
- rescuetime
- skitch
- sourcetree
- spotify
- sublime-text3
- transmission
- vagrant
- virtualbox
- vlc
formulas:
- git
- curl
- wget
- tree
- imagemagick
- jpegoptim
- vim --with-lua
- go
- npm
- ruby
- mysql
- httpie
- android-sdk
- archey
- jq
symlinks:
.*: '~'
taps:
- caskroom/cask
- caskroom/versions
- caskroom/fonts
|
Update from Hackage at 2017-12-27T05:34:10Z | homepage: http://github.com/TheBizzle
changelog-type: ''
hash: e6543eff7ef93e41ad1b3f57dfec22446c977895da01af5ea7c47093da6d72c1
test-bench-deps: {}
maintainer: jason.bertsche@gmail.com
synopsis: A lousy Prelude replacement by a lousy dude
changelog: ''
basic-deps:
base: ! '>=4.8 && <5'
text: ! '>=1.2.2 && <1.2.3'
containers: ! '>=0.5.7 && <0.5.8'
directory: ! '>=1.3.0 && <1.3.1'
all-versions:
- '0.0.3'
- '0.0.4'
- '1.0.1'
- '1.0.2'
- '1.0.3'
author: Jason Bertsche
latest: '1.0.3'
description-type: haddock
description: A lousy Prelude replacement by a lousy dude. Imports common things while
trying to avoid importing things could cause naming conflicts. Favors `Text` over
`String`. Wants using `IO` to be painful.
license-name: BSD3
| homepage: http://github.com/TheBizzle
changelog-type: ''
hash: a9cbb2cd06f79151c4146635e0f61211707f062e7b81129153030473a44c95b5
test-bench-deps: {}
maintainer: jason.bertsche@gmail.com
synopsis: A lousy Prelude replacement by a lousy dude
changelog: ''
basic-deps:
base: ! '>=4.8 && <5'
text: ! '>=1.2.2 && <1.3.0'
containers: ! '>=0.5.7 && <0.6.0'
directory: ! '>=1.3.0 && <1.4.0'
all-versions:
- '0.0.3'
- '0.0.4'
- '1.0.1'
- '1.0.2'
- '1.0.3'
- '1.0.4'
author: Jason Bertsche
latest: '1.0.4'
description-type: haddock
description: A lousy Prelude replacement by a lousy dude. Imports common things while
trying to avoid importing things could cause naming conflicts. Favors `Text` over
`String`. Wants using `IO` to be painful.
license-name: BSD3
|
Add trailing slash to post URL | pygments: true
relative_permalinks: false
gauges_id: 503c5af6613f5d0f19000027
permalink: /news/:year/:month/:day/:title
excerpt_separator: noifniof3nioaniof3nioafafinoafnoif
| pygments: true
relative_permalinks: false
gauges_id: 503c5af6613f5d0f19000027
permalink: /news/:year/:month/:day/:title/
excerpt_separator: noifniof3nioaniof3nioafafinoafnoif
|
Make build logs less verbose | before_script:
- apk add --no-cache bash
- bash ci/docker_install.sh
test:5.6:
image: php:5.6-alpine
script:
- composer install &> /dev/null
- phpunit --configuration phpunit.xml
test:7.0:
image: php:7.0-alpine
script:
- composer install &> /dev/null
- phpunit --configuration phpunit.xml
coverage:
image: php:7.0-alpine
script:
- composer install &> /dev/null
- phpunit --coverage-text --colors=never --configuration phpunit.xml
| before_script:
- apk add --no-cache bash &> /dev/null
- bash ci/docker_install.sh &> /dev/null
test:5.6:
image: php:5.6-alpine
script:
- composer install &> /dev/null
- phpunit --configuration phpunit.xml
test:7.0:
image: php:7.0-alpine
script:
- composer install &> /dev/null
- phpunit --configuration phpunit.xml
coverage:
image: php:7.0-alpine
script:
- composer install &> /dev/null
- phpunit --coverage-text --colors=never --configuration phpunit.xml
|
Remove TMPDIR handling (rakefiles take care of it). | variables:
# Ownership/permission conflicts in /tmp/terragrunt-download are possible, so set TMPDIR to a path inside the build.
TMPDIR: "$CI_PROJECT_DIR/gitlab-tmp"
before_script:
- echo "$TMPDIR" # So it's visible in the log
- mkdir "$TMPDIR"
stages:
- setup
- dev
- promote-to-stg
- stg
setup:
stage: setup
script:
- terraform -version
- terragrunt -version
- kubectl version --client
- kops version
- aws --version
- jq --version
- ruby --version
- bundle version
- rake --version
dev:
stage: dev
script:
- cd dev
- bundle install --path "$TMPDIR/vendor/bundle"
- rake dev
promote-to-stg:
stage: promote-to-stg
script:
- export DATESTAMP="$(date -u '+%Y%m%d%H%M%S')" # e.g. 20170603220542. Uses UTC.
- echo "$DATESTAMP" # So it's visible in the log
- git tag "deploy-stg-$DATESTAMP"
# gitlab is not clever enough to clean up an added remote and git complains
# if we add a remote that already exists.
- git remote | grep -q "^origin-rw" || git remote add origin-rw git@github.com:gpii-ops/gpii-terraform-live
- git push --tags origin-rw
stg:
stage: stg
script:
- cd stg
- rake stg
| stages:
- setup
- dev
- promote-to-stg
- stg
setup:
stage: setup
script:
- terraform -version
- terragrunt -version
- kubectl version --client
- kops version
- aws --version
- jq --version
- ruby --version
- bundle version
- rake --version
dev:
stage: dev
script:
- cd dev
- bundle install --path "vendor/bundle"
- rake dev
promote-to-stg:
stage: promote-to-stg
script:
- export DATESTAMP="$(date -u '+%Y%m%d%H%M%S')" # e.g. 20170603220542. Uses UTC.
- echo "$DATESTAMP" # So it's visible in the log
- git tag "deploy-stg-$DATESTAMP"
# gitlab is not clever enough to clean up an added remote and git complains
# if we add a remote that already exists.
- git remote | grep -q "^origin-rw" || git remote add origin-rw git@github.com:gpii-ops/gpii-terraform-live
- git push --tags origin-rw
stg:
stage: stg
script:
- cd stg
- rake stg
|
Add GitHub in config file | # ----------------------- #
# Main Configs #
# ----------------------- #
url: http://bgruening.github.io/galaxy-rna-workbench/
title: Galaxy RNA workbench
subtitle: The RNA analyses workbench developed by the de.NBI RNA Bioinformatics Center
email: your-email@domain.com
author: RNA Bioinformatics Center (RBC)
# ----------------------- #
# Jekyll & Plugins #
# ----------------------- #
# Build settings
markdown: kramdown
permalink: pretty
# ----------------------- #
# 3rd Party Settings #
# ----------------------- #
social:
- title: github
url: https://github.com/bgruening/galaxy-rna-workbench | # ----------------------- #
# Main Configs #
# ----------------------- #
url: http://bgruening.github.io/galaxy-rna-workbench/
title: Galaxy RNA workbench
subtitle: The RNA analyses workbench developed by the de.NBI RNA Bioinformatics Center
email: your-email@domain.com
author: RNA Bioinformatics Center (RBC)
github: https://github.com/bgruening/galaxy-rna-workbench
# ----------------------- #
# Jekyll & Plugins #
# ----------------------- #
# Build settings
markdown: kramdown
permalink: pretty
|
Fix placeholder in abuse report dialog | en-US:
title: Report abuse to moderator
placeholder: Let us know specifically what you are concerned about, and provide relevant links and examples where possible.
templates_help: Quick fill
ok: OK
cancel: Cancel
| en-US:
title: Report abuse to moderator
placeholder: Let us know what specifically violates website rules here.
templates_help: Quick fill
ok: OK
cancel: Cancel
|
Update Full Sutton Christmas Eve times | ---
name: Full Sutton
nomis_id: FNI
address:
- York
- YO41 1PS
booking_window: 28
email: socialvisits.fullsutton@hmps.gsi.gov.uk
enabled: true
estate: Full Sutton
lead_days: 3
phone: 01759 475355
slots:
thu:
- 1410-1615
fri:
- 0910-1100
- 1320-1615
sat:
- 1345-1615
sun:
- 1345-1615
unbookable:
- 2015-12-25
- 2015-12-26
- 2016-01-01
| ---
name: Full Sutton
nomis_id: FNI
address:
- York
- YO41 1PS
booking_window: 28
email: socialvisits.fullsutton@hmps.gsi.gov.uk
enabled: true
estate: Full Sutton
lead_days: 3
phone: 01759 475355
slot_anomalies:
2015-12-24:
- 0900-1100
- 1410-1615
slots:
thu:
- 1410-1615
fri:
- 0910-1100
- 1320-1615
sat:
- 1345-1615
sun:
- 1345-1615
unbookable:
- 2015-12-25
- 2015-12-26
- 2016-01-01
|
Bump ridedott/merge-me-action from 2.9.35 to 2.9.36 | # See https://github.com/ridedott/merge-me-action/
# This workflow automates merges from patches sent by Dependabot, and
# only by dependabot, once the other CI workflows pass
name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Continuous Integration"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Auto-Merge
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ridedott/merge-me-action@v2.9.35
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
| # See https://github.com/ridedott/merge-me-action/
# This workflow automates merges from patches sent by Dependabot, and
# only by dependabot, once the other CI workflows pass
name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Continuous Integration"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Auto-Merge
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ridedott/merge-me-action@v2.9.36
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
|
Define controller as service, drop ContainerAware. | rabus_twitter_signin_authenticate:
pattern: /authenticate
defaults: { _controller: rabus.twitter.sign_in_controller:authenticate }
rabus_twitter_signin_callback:
pattern: /callback
defaults: { _controller: rabus.twitter.sign_in_controller:callback }
| rabus_twitter_signin_authenticate:
pattern: /authenticate
defaults: { _controller: rabus.twitter.sign_in_controller:authenticateAction }
rabus_twitter_signin_callback:
pattern: /callback
defaults: { _controller: rabus.twitter.sign_in_controller:callbackAction }
|
Use concourse image_resource for pulling docker images | ---
image: docker:///c2cnetworking/deploy
platform: linux
inputs:
- name: netman-release
outputs:
- name: tarballs
run:
path: bash
args:
- -c
- |
bosh create release --with-tarball --name $RELEASE_NAME --timestamp-version --dir netman-release && cp netman-release/dev_releases/$RELEASE_NAME/*.tgz tarballs
params:
RELEASE_NAME: netman
| ---
image_resource:
type: docker-image
source: { repository: c2cnetworking/deploy }
platform: linux
inputs:
- name: netman-release
outputs:
- name: tarballs
run:
path: bash
args:
- -c
- |
bosh create release --with-tarball --name $RELEASE_NAME --timestamp-version --dir netman-release && cp netman-release/dev_releases/$RELEASE_NAME/*.tgz tarballs
params:
RELEASE_NAME: netman
|
Remove a couple of targets - not needed anymore. | ---
driver:
name: vagrant
provisioner:
name: chef_solo
platforms:
- name: ubuntu-12.04
- name: ubuntu-13.04
- name: ubuntu-13.10
- name: ubuntu-14.04
suites:
- name: default
run_list:
- recipe[ubuntu_base::default]
attributes:
| ---
driver:
name: vagrant
provisioner:
name: chef_solo
platforms:
- name: ubuntu-12.04
- name: ubuntu-14.04
suites:
- name: default
run_list:
- recipe[ubuntu_base::default]
attributes:
|
Add route for "Client Demo 1". | ms_oauth_homepage:
pattern: /hello/{name}
defaults: { _controller: MsOauthBundle:Default:index }
ms_oauth_clientregistration:
pattern: /registration/client
defaults: { _controller: MsOauthBundle:Registration:client }
ms_oauth_clientdetails:
pattern: /client/{id}
defaults: { _controller: MsOauthBundle:Registration:clientDetails }
ms_oauth_benchmark_auth:
pattern: /benchmark/authentication
defaults: { _controller: MsOauthBundle:Benchmark:authentication } | ms_oauth_homepage:
pattern: /hello/{name}
defaults: { _controller: MsOauthBundle:Default:index }
ms_oauth_clientregistration:
pattern: /registration/client
defaults: { _controller: MsOauthBundle:Registration:client }
ms_oauth_clientdetails:
pattern: /client/{id}
defaults: { _controller: MsOauthBundle:Registration:clientDetails }
ms_oauth_benchmark_auth:
pattern: /benchmark/authentication
defaults: { _controller: MsOauthBundle:Benchmark:authentication }
ms_oauth_authorization:
pattern: /authorization
defaults: { _controller: MsOauthBundle:Authorization:authorizationCode }
ms_oauth_client_demo1:
pattern: /client-app/demo1
defaults: { _controller: MsOauthBundle:Client:demo1 } |
Add user necessary for ceph | ---
include:
default:
- profile::openstack::volume
- profile::openstack::volume::api
- profile::openstack::volume::scheduler
- profile::openstack::volume::storage
- profile::logging::rsyslog::client
profile::openstack::volume::backend::rbd:
rbd-volumes:
rbd_pool: 'volumes'
rbd_user: 'cinder'
rbd_secret_uuid: "%{hiera('client.cinder::secret')}"
cinder::backends::enabled_backends:
- rbd-volumes
| ---
include:
default:
- profile::openstack::volume
- profile::openstack::volume::api
- profile::openstack::volume::scheduler
- profile::openstack::volume::storage
- profile::logging::rsyslog::client
profile::openstack::volume::backend::rbd:
rbd-volumes:
rbd_pool: 'volumes'
rbd_user: 'cinder'
rbd_secret_uuid: "%{hiera('client.cinder::secret')}"
cinder::backends::enabled_backends:
- rbd-volumes
accounts::users:
'glance':
ensure: present
accounts::usergroups:
'glance':
- 'glance'
accounts::accounts:
'glance':
ensure: present
|
Add build scans when running tests | image: Visual Studio 2017
version: '{build}'
skip_tags: true
skip_commits:
message: /\[ci skip\]/
clone_depth: 10
environment:
TERM: dumb
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
# prepend Java entry, remove Ruby entry (C:\Ruby193\bin;) from PATH
- SET PATH=%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=%
- echo %PATH%
- gradlew.bat --version
build_script:
- gradlew.bat --console=plain --warning-mode=all -s clean assemble
test_script:
- gradlew.bat --console=plain --warning-mode=all -s check --no-parallel -Djava.net.preferIPv4Stack=true -x gradleTest
after_test:
- gradlew.bat --stop
cache:
- testfixtures\offline-repo\build\repo
- C:\Users\appveyor\.gradle
- .gradle
on_failure:
- echo Somebody setup us the bomb
| image: Visual Studio 2017
version: '{build}'
skip_tags: true
skip_commits:
message: /\[ci skip\]/
clone_depth: 10
environment:
TERM: dumb
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
# prepend Java entry, remove Ruby entry (C:\Ruby193\bin;) from PATH
- SET PATH=%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=%
- echo %PATH%
- gradlew.bat --version
build_script:
- gradlew.bat --console=plain --warning-mode=all -s clean assemble
test_script:
- gradlew.bat --console=plain --warning-mode=all -s check --no-parallel -Djava.net.preferIPv4Stack=true -x gradleTest --scan
after_test:
- gradlew.bat --stop
cache:
- testfixtures\offline-repo\build\repo
- C:\Users\appveyor\.gradle
- .gradle
on_failure:
- echo Somebody setup us the bomb
|
Update build environment to VS2019 image | version: '{build}'
image: Visual Studio 2017
branches:
only:
- master
- develop
pull_requests:
do_not_increment_build_number: true
build_script:
- ps: .\build.ps1
artifacts:
- path: '.\artifacts\*.nupkg'
deploy:
- provider: NuGet
api_key:
secure: tCEhrNs1q8bhXiGwKejajsjSyF+/66LwnPge1ntZKrI3mvfDf1Ab8iOrz1IuVRH2
skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: /^(master|develop)$/
| version: '{build}'
image: Visual Studio 2019
branches:
only:
- master
- develop
pull_requests:
do_not_increment_build_number: true
build_script:
- ps: .\build.ps1
artifacts:
- path: '.\artifacts\*.nupkg'
deploy:
- provider: NuGet
api_key:
secure: tCEhrNs1q8bhXiGwKejajsjSyF+/66LwnPge1ntZKrI3mvfDf1Ab8iOrz1IuVRH2
skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: /^(master|develop)$/
|
Fix AppVeyor git line ending config | build_script:
- build.cmd verify
clone_depth: 1
test: off
deploy: off | init:
- git config --global core.autocrlf true
build_script:
- build.cmd verify
clone_depth: 1
test: off
deploy: off |
Revert temporary workaround 1bb5daf for Window CI | os: Previous Visual Studio 2015
version: "{build}"
build: off
platform: x64
environment:
matrix:
- nodejs_version: "0.12"
nodejs_arch: "x86"
- nodejs_version: "0.12"
nodejs_arch: "x64"
- nodejs_version: "4"
nodejs_arch: "x86"
- nodejs_version: "4"
nodejs_arch: "x64"
- nodejs_version: "6"
nodejs_arch: "x86"
- nodejs_version: "6"
nodejs_arch: "x64"
install:
- ps: Install-Product node $env:nodejs_version $env:nodejs_arch
- npm install -g npm
- npm install
test_script:
- npm test
| os: Visual Studio 2015
version: "{build}"
build: off
platform: x64
environment:
matrix:
- nodejs_version: "0.12"
nodejs_arch: "x86"
- nodejs_version: "0.12"
nodejs_arch: "x64"
- nodejs_version: "4"
nodejs_arch: "x86"
- nodejs_version: "4"
nodejs_arch: "x64"
- nodejs_version: "6"
nodejs_arch: "x86"
- nodejs_version: "6"
nodejs_arch: "x64"
install:
- ps: Install-Product node $env:nodejs_version $env:nodejs_arch
- npm install -g npm
- npm install
test_script:
- npm test
|
Fix NETCONF issues about copying /go/bin | ---
- name: add user
user: name={{ item }} system=yes createhome=no
with_flattened:
- "{{ users }}"
- name: make directories
file: path={{ item.path }} owner={{ item.owner }} state=directory
with_flattened:
- "{{ dirs }}"
- name: create ovs bridge
openvswitch_bridge:
bridge: "{{ bridge }}"
state: present
- name: set ofc address
shell: ovs-vsctl set-controller "{{ bridge }}" tcp:127.0.0.1:6633
- name: add ports
openvswitch_port:
bridge: "{{ bridge }}"
port: "{{ item }}"
with_sequence: start=1 end={{ port_num }} format=veth%d
- name: create fibc-lxd-netconf.yaml
template:
src: templates/fibcd.conf.j2
dest: "{{ confdir }}/fibc.d/fibc-lxd-netconf.yml"
| ---
- name: add user
user: name={{ item }} system=yes createhome=no
with_flattened:
- "{{ users }}"
- name: make directories
file: path={{ item.path }} owner={{ item.owner }} state=directory
with_flattened:
- "{{ dirs }}"
- name: copy binary files
copy:
src: "{{ gopath }}/bin/{{ item }}"
dest: "/usr/bin/{{ item }}"
mode: 0755
with_items:
- "{{ binfiles }}"
- name: create ovs bridge
openvswitch_bridge:
bridge: "{{ bridge }}"
state: present
- name: set ofc address
shell: ovs-vsctl set-controller "{{ bridge }}" tcp:127.0.0.1:6633
- name: add ports
openvswitch_port:
bridge: "{{ bridge }}"
port: "{{ item }}"
with_sequence: start=1 end={{ port_num }} format=veth%d
- name: create fibc-lxd-netconf.yaml
template:
src: templates/fibcd.conf.j2
dest: "{{ confdir }}/fibc.d/fibc-lxd-netconf.yml"
|
Update from Hackage at 2016-12-27T21:36:54Z | homepage: https://github.com/Peaker/git-mediate
changelog-type: ''
hash: a2fac645317ba3d2dbc67e5e5e1e06d1d06fce29461f7725feb8b6221cf4dc8e
test-bench-deps: {}
maintainer: eyal.lotem@gmail.com
synopsis: Remove trivial conflict markers in a git repository
changelog: ''
basic-deps:
unix: ! '>=2.7'
base: ! '>=4.6 && <5'
Diff: ! '>=0.3'
filepath: ! '>=1.3'
process: ! '>=1.2'
ansi-terminal: ! '>=0.6.2'
base-compat: ! '>=0.8.2 && <0.10'
mtl: ! '>=2.1'
optparse-applicative: ! '>=0.11 && <0.14'
directory: ! '>=1.2'
all-versions:
- '1.0'
- '1.0.1'
author: Eyal Lotem
latest: '1.0.1'
description-type: haddock
description: Remove trivial conflict markers in a git repository
license-name: GPL-2
| homepage: https://github.com/Peaker/git-mediate
changelog-type: ''
hash: 208ad1540eab41d7530395ef31095f6aa8a1c0e415f6e9f6236418f6d4ebb32d
test-bench-deps: {}
maintainer: eyal.lotem@gmail.com
synopsis: Remove trivial conflict markers in a git repository
changelog: ''
basic-deps:
unix: ! '>=2.7'
base: ! '>=4.8 && <5'
Diff: ! '>=0.3'
filepath: ! '>=1.3'
process: ! '>=1.2'
ansi-terminal: ! '>=0.6.2'
base-compat: ! '>=0.8.2 && <0.10'
mtl: ! '>=2.1'
optparse-applicative: ! '>=0.11 && <0.14'
directory: ! '>=1.2'
all-versions:
- '1.0.1'
author: Eyal Lotem
latest: '1.0.1'
description-type: haddock
description: Remove trivial conflict markers in a git repository
license-name: GPL-2
|
Update from Hackage at 2018-11-29T23:57:40Z | homepage: https://github.com/haskell/network-bsd
changelog-type: ''
hash: 8438706179a09bb6e95135a16e5ce77d0ecf6f288e2d27a13fbb3aacd1c023a0
test-bench-deps: {}
maintainer: Kazu Yamamoto
synopsis: Network.BSD
changelog: ''
basic-deps:
base: ! '>=4.8 && <5'
network: ==2.8.0.*
all-versions:
- '2.8.0.0'
author: ''
latest: '2.8.0.0'
description-type: haddock
description: ! 'This package reexports the "Network.BSD" module split from the <https://hackage.haskell.org/package/network-2.8.0.0
network-2.8.0.0> package.
See newer versions of <https://hackage.haskell.org/package/network-bsd network-bsd>
for more information.'
license-name: BSD3
| homepage: https://github.com/haskell/network-bsd
changelog-type: ''
hash: 8438706179a09bb6e95135a16e5ce77d0ecf6f288e2d27a13fbb3aacd1c023a0
test-bench-deps: {}
maintainer: Kazu Yamamoto
synopsis: Network.BSD
changelog: ''
basic-deps:
base: ! '>=4.8 && <5'
network: ==2.8.0.*
all-versions:
- '2.7.0.0'
- '2.8.0.0'
author: ''
latest: '2.8.0.0'
description-type: haddock
description: ! 'This package reexports the "Network.BSD" module split from the <https://hackage.haskell.org/package/network-2.8.0.0
network-2.8.0.0> package.
See newer versions of <https://hackage.haskell.org/package/network-bsd network-bsd>
for more information.'
license-name: BSD3
|
Update from Hackage at 2021-11-30T09:28:21Z | homepage: https://github.com/mniip/yoctoparsec
changelog-type: ''
hash: 4e8204267bff320d4d67c6fb8ff238025f085eee7302cf5ae1e050b4f4df2c02
test-bench-deps: {}
maintainer: mniip@mniip.com
synopsis: A truly tiny monadic parsing library
changelog: ''
basic-deps:
free: '>=4.0'
base: '>=4.8 && <4.15'
mtl: '>=2.0.0.0'
all-versions:
- 0.1.0.0
author: mniip
latest: 0.1.0.0
description-type: haddock
description: |-
A monadic parsing library making use of the free monad
transformer. All instances are provided by the FreeT monad.
license-name: MIT
| homepage: https://github.com/mniip/yoctoparsec
changelog-type: ''
hash: e0bdd20ceaceeaf7e674d7e11abe63279a7130a60eb7d2b9d59f9cc4bb82c2f5
test-bench-deps: {}
maintainer: mniip@mniip.com
synopsis: A truly tiny monadic parsing library
changelog: ''
basic-deps:
free: '>=4.0'
base: '>=4.8 && <4.16'
mtl: '>=2.0.0.0'
all-versions:
- 0.1.0.0
author: mniip
latest: 0.1.0.0
description-type: haddock
description: |-
A monadic parsing library making use of the free monad
transformer. All instances are provided by the FreeT monad.
license-name: MIT
|
Add newly released Python 3.4 | language: python
python:
- "pypy"
- "2.7"
- "3.2"
- "3.3"
before_install:
- sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so ~/virtualenv/python2.7/lib/
install:
- pip install coveralls
- pip install --quiet git+https://github.com/python-imaging/Pillow.git
- sudo apt-get --quiet=2 install perceptualdiff
script:
- coverage erase
- coverage run --append ./test/test.py
- coverage run --append ./test/test_coordinates.py
- coverage run --append ./test/test_projections.py
- coverage run --append ./test/test_gpx.py
- coverage run --append ./test/test_projection_scale.py
- coverage run --append ./test/test_random.py
- coverage run --append ./test/test_gradients.py
after_success:
- coverage report
- coveralls
- pip install pep8 pyflakes
- pep8 *.py
- pyflakes *.py
- pep8 test/*.py
- pyflakes test/*.py
| language: python
python:
- "pypy"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
before_install:
- sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so ~/virtualenv/python2.7/lib/
install:
- pip install coveralls
- pip install --quiet git+https://github.com/python-imaging/Pillow.git
- sudo apt-get --quiet=2 install perceptualdiff
script:
- coverage erase
- coverage run --append ./test/test.py
- coverage run --append ./test/test_coordinates.py
- coverage run --append ./test/test_projections.py
- coverage run --append ./test/test_gpx.py
- coverage run --append ./test/test_projection_scale.py
- coverage run --append ./test/test_random.py
- coverage run --append ./test/test_gradients.py
after_success:
- coverage report
- coveralls
- pip install pep8 pyflakes
- pep8 *.py
- pyflakes *.py
- pep8 test/*.py
- pyflakes test/*.py
|
Add default web firewall rules for EL7 | # Common settings for all CentOS/RHEL 7.x Hosts
classes:
- site_firewalld
##################################################
# Firewall Configuration.
#
# EL7 firewall type is 'firewalld_rich_rule'.
firewall_provider: 'firewalld_rich_rule'
# Default firewall rules.
site_profile::base::firewall_rules:
'Accept SSH from any':
ensure: 'present'
zone: 'public'
service: 'ssh'
action: 'accept'
#############################################
# MySQL Settings.
# MySQL client packages. CentOS 7 uses mariadb from base CentOS.
site_profile::dbclient::mysql_client_packages:
- mariadb
- mariadb-libs
# Default to mariadb server in base.
mysql::server::package_name: mariadb-server
# mysql55 replacement not needed under C7.
site_profile::dbclient::replace_mysql_with_mysql55: FALSE
# Disable Percona-Server and Percona-XtraDB packages which conflict with mariadb packages.
yumrepos::percona::percona_exclude: 'Percona-Server* Percona-XtraDB*'
#############################################
# C7-specific packages to install by default.
site_profile::base::base_packages:
- man-db
#############################################
## Denyhosts Configuration.
# No denyhosts on C7.
enable_denyhosts: FALSE
| # Common settings for all CentOS/RHEL 7.x Hosts
classes:
- site_firewalld
##################################################
# Firewall Configuration.
#
# EL7 firewall type is 'firewalld_rich_rule'.
firewall_provider: 'firewalld_rich_rule'
# Default firewall rules.
site_profile::base::firewall_rules:
'Accept SSH from any':
ensure: 'present'
zone: 'public'
service: 'ssh'
action: 'accept'
# Web firewall rules.
site_profile::web::firewall_rules:
'Allow http from all':
ensure: 'present'
zone: 'public'
service: 'http'
action: 'accept'
'Allow https from all':
ensure: 'present'
zone: 'public'
service: 'https'
action: 'accept'
#############################################
# MySQL Settings.
# MySQL client packages. CentOS 7 uses mariadb from base CentOS.
site_profile::dbclient::mysql_client_packages:
- mariadb
- mariadb-libs
# Default to mariadb server in base.
mysql::server::package_name: mariadb-server
# mysql55 replacement not needed under C7.
site_profile::dbclient::replace_mysql_with_mysql55: FALSE
# Disable Percona-Server and Percona-XtraDB packages which conflict with mariadb packages.
yumrepos::percona::percona_exclude: 'Percona-Server* Percona-XtraDB*'
#############################################
# C7-specific packages to install by default.
site_profile::base::base_packages:
- man-db
#############################################
## Denyhosts Configuration.
# No denyhosts on C7.
enable_denyhosts: FALSE
|
Fix git repository URL (Travis CI) | language: c
compiler:
- clang
- gcc
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libgd2-noxpm-dev
- git clone ansilove/libansilove
- cd libansilove && cmake . && make install && cd -
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
script: cmake . && make
env:
global:
- secure: "Ahg+dD6BwZqYTl+xTbNqBBr6Qoh7jQswegP77gxfk09UbcLSTpTQcvCLzJtumCajWXTe5HD3lD1xBghxRPNwD/+JRg25AzUeowPvBQkosDZyxMZyeQQEGPVMoD9UbnGaWhxIxYaQ7bxVCu2CJ2PcibsJ3kselnqSicEnw99TXjU="
addons:
coverity_scan:
project:
name: "ansilove/ansilove"
version: 3.0.6
description: "ANSi / ASCII art to PNG converter in C"
notification_email: fred@statdns.com
build_command_prepend: cmake .
build_command: make -j 4
branch_pattern: master
| language: c
compiler:
- clang
- gcc
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libgd2-noxpm-dev
- git clone https://github.com/ansilove/libansilove.git
- cd libansilove && cmake . && make install && cd -
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
script: cmake . && make
env:
global:
- secure: "Ahg+dD6BwZqYTl+xTbNqBBr6Qoh7jQswegP77gxfk09UbcLSTpTQcvCLzJtumCajWXTe5HD3lD1xBghxRPNwD/+JRg25AzUeowPvBQkosDZyxMZyeQQEGPVMoD9UbnGaWhxIxYaQ7bxVCu2CJ2PcibsJ3kselnqSicEnw99TXjU="
addons:
coverity_scan:
project:
name: "ansilove/ansilove"
version: 3.0.6
description: "ANSi / ASCII art to PNG converter in C"
notification_email: fred@statdns.com
build_command_prepend: cmake .
build_command: make -j 4
branch_pattern: master
|
Fix broken build due to pip no longer supporting --no-use-wheel | language: python
sudo: false
env:
global:
- image=pythonnode_slave
matrix:
include:
- python: 2.7
env: TRAVIS_NODE_VERSION="4"
- python: 2.7
env: TRAVIS_NODE_VERSION="6"
- python: 3.5
env: TRAVIS_NODE_VERSION="6"
- python: 3.6
env: TRAVIS_NODE_VERSION="6"
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- pip install -U pip
- pip install --no-use-wheel buildbot # need no-use-wheel to get the test framework
- pip install -r example/requirements.txt
- pip install -e .
- pip install mock
script:
- python setup.py develop
- trial buildbot_travis.tests
after_failure: "cat _trial_temp/test.log"
| language: python
sudo: false
env:
global:
- image=pythonnode_slave
matrix:
include:
- python: 2.7
env: TRAVIS_NODE_VERSION="4"
- python: 2.7
env: TRAVIS_NODE_VERSION="6"
- python: 3.5
env: TRAVIS_NODE_VERSION="6"
- python: 3.6
env: TRAVIS_NODE_VERSION="6"
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- pip install -U pip
- "pip install --no-binary=:all: buildbot" # need --no-binary=:all: to get the test framework
- pip install -r example/requirements.txt
- pip install -e .
- pip install mock
script:
- python setup.py develop
- trial buildbot_travis.tests
after_failure: "cat _trial_temp/test.log"
|
Remove node .8 from Travis config | language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11" | language: node_js
node_js:
- "0.10"
- "0.11"
|
Test on the latest OpenJDK EA | language: java
jdk:
- openjdk11
- openjdk8
- openjdk7
after_success:
- mvn clean cobertura:cobertura coveralls:report
| language: java
jdk:
- openjdk-ea
- openjdk11
- openjdk8
- openjdk7
matrix:
allow_failures:
- jdk: openjdk-ea
after_success:
- mvn clean cobertura:cobertura coveralls:report
|
Use the Travis-CI container-based infrastructure. | language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: hhvm-nightly
before_script:
- composer selfupdate
- composer install --prefer-dist -o
| language: php
sudo: false
php:
- 5.5
- 5.6
- 7.0
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: hhvm-nightly
before_script:
- composer selfupdate
- composer install --prefer-dist -o
|
Add maximum logging to Travis CI run to debug failure | language: python
env:
- ANSIBLE_VERSION="1.9.*"
- ANSIBLE_VERSION="1.8.*"
- ANSIBLE_VERSION="1.7.*"
- ANSIBLE_VERSION="1.6.*"
- ANSIBLE_VERSION="1.5.*"
- ANSIBLE_VERSION="1.4.*"
- ANSIBLE_VERSION="1.3.*"
- ANSIBLE_VERSION="1.2.*"
before_install:
- sudo apt-get update -qq
install:
- pip install ansible==$ANSIBLE_VERSION
script:
# Check the role syntax
- ansible-playbook --inventory='localhost,' tests/test.yml --syntax-check
# Check that the role can run with no errors/failures
- ansible-playbook --inventory='localhost,' tests/test.yml --connection=local
# Check idempotence of the role by running it twice and making sure there are
# no changed/failed tasks
- >
ansible-playbook --inventory='localhost,' tests/test.yml --connection=local
| tee /dev/stderr
| grep -q 'changed=0.*failed=0'
&& (printf '\n*** Idempotence test: ok ***\n' && exit 0)
|| (printf "\n*** Idempotence test: failed ***\n" && exit 1)
- ./tests/tests.sh
sudo: required
| language: python
env:
- ANSIBLE_VERSION="1.9.*"
- ANSIBLE_VERSION="1.8.*"
- ANSIBLE_VERSION="1.7.*"
- ANSIBLE_VERSION="1.6.*"
- ANSIBLE_VERSION="1.5.*"
- ANSIBLE_VERSION="1.4.*"
- ANSIBLE_VERSION="1.3.*"
- ANSIBLE_VERSION="1.2.*"
before_install:
- sudo apt-get update -qq
install:
- pip install ansible==$ANSIBLE_VERSION
script:
# Check the role syntax
- ansible-playbook --inventory='localhost,' tests/test.yml --syntax-check
# Check that the role can run with no errors/failures
- ansible-playbook --inventory='localhost,' tests/test.yml --connection=local -vvvv
# Check idempotence of the role by running it twice and making sure there are
# no changed/failed tasks
- >
ansible-playbook --inventory='localhost,' tests/test.yml --connection=local
| tee /dev/stderr
| grep -q 'changed=0.*failed=0'
&& (printf '\n*** Idempotence test: ok ***\n' && exit 0)
|| (printf "\n*** Idempotence test: failed ***\n" && exit 1)
- ./tests/tests.sh
sudo: required
|
Bring Go current in Travis | language: go
os:
- osx
go:
- 1.10.x
- 1.11.x
matrix:
fast_finish: true
allow_failures:
- go: tip
install:
- "mkdir -p $GOPATH/github.com/lxc"
- "rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/lxc/lxd/"
script:
- "make client"
- "go test ./client"
- "go test ./lxc"
- "go test ./shared"
notifications:
webhooks: https://linuxcontainers.org/webhook-lxcbot/
| language: go
os:
- osx
go:
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
matrix:
fast_finish: true
allow_failures:
- go: tip
install:
- "mkdir -p $GOPATH/github.com/lxc"
- "rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/lxc/lxd/"
script:
- "make client"
- "go test ./client"
- "go test ./lxc"
- "go test ./shared"
notifications:
webhooks: https://linuxcontainers.org/webhook-lxcbot/
|
Send AppVeyor Slack notifications on every build | language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
before_install:
- git clone git://github.com/maxmind/geoip-api-c
- cd geoip-api-c
- ./bootstrap
- ./configure
- make
- sudo make install
- sudo ldconfig
- cd ..
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
script:
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
notifications:
email:
recipients:
- dev-ci@maxmind.com
on_success: change
on_failure: always
| ---
language: python
python:
- '2.6'
- '2.7'
- '3.3'
- '3.4'
before_install:
- git clone git://github.com/maxmind/geoip-api-c
- cd geoip-api-c
- ./bootstrap
- ./configure
- make
- sudo make install
- sudo ldconfig
- cd ..
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi"
script:
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
notifications:
email:
on_failure: always
on_success: change
recipients:
- dev-ci@maxmind.com
slack:
rooms:
secure: "mNw9bQtM+fHITJiYGwex/YB42uy6IfIYSLQZWaD6F3mb2Y8aSXAtck+raV/C85CTM4LyBq6YyFLr1912+Xd0gmM7mSEQc5wXVf/vlzpMfNyDedonBSZeed7SGfm63xCTN9KWkOmhzIAhRy7WozmBP+bkNjyH9D1gYt863W6OYiA=\n"
|
Remove Python 2.7 from Travis tests | language: python
python:
- "2.7"
- "3.6"
env:
- TERRAFORM_VERSION=0.11.7 TERRAFORM_FILE_NAME=terraform_${TERRAFORM_VERSION}_linux_amd64.zip TERRAFORM_DOWNLOAD_URL=https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/${TERRAFORM_FILE_NAME}
install:
- wget ${TERRAFORM_DOWNLOAD_URL}
- unzip -o ${TERRAFORM_FILE_NAME} -d /tmp
- export PATH=/tmp:${PATH}
- pip install --no-use-wheel -r requirements-dev.txt
script:
- make terraformatest
- make test
notifications:
email: false
| language: python
python:
- "3.6"
env:
- TERRAFORM_VERSION=0.11.7 TERRAFORM_FILE_NAME=terraform_${TERRAFORM_VERSION}_linux_amd64.zip TERRAFORM_DOWNLOAD_URL=https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/${TERRAFORM_FILE_NAME}
install:
- wget ${TERRAFORM_DOWNLOAD_URL}
- unzip -o ${TERRAFORM_FILE_NAME} -d /tmp
- export PATH=/tmp:${PATH}
- pip install --no-use-wheel -r requirements-dev.txt
script:
- make terraformatest
- make test
notifications:
email: false
|
Update Travis CI to the latest Go version | language: go
before_install:
- go get golang.org/x/tools/cmd/vet
- go get github.com/modocache/gover
- go get github.com/AntoineAugusti/colors/...
script:
- go vet github.com/AntoineAugusti/colors...
- go test -v ./...
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -i sh -c {}
- gover . coverprofile.txt
after_success:
- bash <(curl -s https://codecov.io/bash) -f coverprofile.txt | language: go
sudo: false
matrix:
include:
- go: 1.4
- go: 1.5
- go: 1.6
- go: tip
allow_failures:
- go: tip
script:
- go get -t -v $(go list ./...)
- if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then diff -u <(echo -n) <(gofmt -d .); fi
- if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go vet $(go list ./...); fi
- go test -v -race $(go list ./...)
|
Revert "Travis has now to test PHP 5.6 and PHP 7.0 too" | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
before_script:
- composer self-update
- composer install -n
# Parameters
- cp -a app/config/parameters.yml{.dist,}
- sed 's/your_base_url/http:\/\/localhost:8000\/app_test.php/' behat.yml-dist > behat.yml
# Database
- app/console --env=test --force doctrine:database:drop || true
- app/console --env=test doctrine:database:create
# Web server
- php -S localhost:8000 --docroot web &
- sleep 3
script:
- bin/behat
# - phpunit -c app
| language: php
php:
- 5.4
- 5.5
before_script:
- composer self-update
- composer install -n
# Parameters
- cp -a app/config/parameters.yml{.dist,}
- sed 's/your_base_url/http:\/\/localhost:8000\/app_test.php/' behat.yml-dist > behat.yml
# Database
- app/console --env=test --force doctrine:database:drop || true
- app/console --env=test doctrine:database:create
# Web server
- php -S localhost:8000 --docroot web &
- sleep 3
script:
- bin/behat
# - phpunit -c app
|
Make Travis CI post to Slack | language: python
python:
- "2.7"
# command to install dependencies
install:
- pip install -r test_requirements.txt . --use-mirrors
# command to run tests
before_script:
- psql -c 'create database coaster_test;' -U postgres
script: coverage run `which nosetests`
after_success:
- coveralls
notifications:
email: false
irc: "irc.freenode.net#hasgeek-dev"
| language: python
python:
- "2.7"
# command to install dependencies
install:
- pip install -r test_requirements.txt . --use-mirrors
# command to run tests
before_script:
- psql -c 'create database coaster_test;' -U postgres
script: coverage run `which nosetests`
after_success:
- coveralls
notifications:
email: false
slack: friendsofhasgeek:3bLViYSzhfaThJovFYCVD3fX
|
Install android-21 sdk stuff for Travis. | language: android
jdk: oraclejdk7
android:
components:
- build-tools-21.1.2
- android-18
- addon-google_apis-google-18
script:
- ./setup.sh
- mvn test
| language: android
jdk: oraclejdk7
android:
components:
- build-tools-21.1.2
- android-21
- addon-google_apis-google-21
script:
- ./setup.sh
- mvn test
|
Upgrade minimum node v6 version (required by lerna) | git:
depth: 10
sudo: false
language: node_js
node_js:
- '8'
- '6.2.2'
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
- export PATH=$HOME/.yarn/bin:$PATH
cache:
yarn: true
script: yarn run lerna bootstrap && yarn run test
after_success: yarn run report-coverage
| git:
depth: 10
sudo: false
language: node_js
node_js:
- '8'
- '6.9.0'
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
- export PATH=$HOME/.yarn/bin:$PATH
cache:
yarn: true
script: yarn run lerna bootstrap && yarn run test
after_success: yarn run report-coverage
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.