Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add additional test targets for Travis CI | os: osx
language: node_js
cache:
- node_modules
node_js:
- lts/*
addons:
chrome: stable
firefox: latest
branches:
only:
- gh-pages
script:
- npm test
matrix:
include:
- name: "Chrome Stable"
env: BROWSER=chrome
addons:
chrome: stable
- name: "Firefox Stable"
env: BROWSER=firefox
addons:
firefox: latest
notifications:
email:
recipients:
forward-webrtc-github@webrtc.org
on_success: change
on_failure: always
| os: osx
language: node_js
cache:
- node_modules
node_js:
- lts/*
branches:
only:
- gh-pages
script:
- npm test
matrix:
include:
- name: "Chrome Stable"
env: BROWSER=chrome
addons:
chrome: stable
- name: "Chrome Beta"
env: BROWSER=chrome
addons:
chrome: beta
- name: "Firefox ESR"
env: BROWSER=firefox
addons:
firefox: latest-esr
- name: "Firefox Stable"
env: BROWSER=firefox
addons:
firefox: latest
- name: "Firefox Beta"
env: BROWSER=firefox
addons:
firefox: latest-beta
notifications:
email:
recipients:
forward-webrtc-github@webrtc.org
on_success: change
on_failure: always
|
Use at least postgresql 9.4 for testing | language: ruby
dist: trusty
sudo: false
addons:
apt:
packages:
- chromium-chromedriver
cache:
bundler: true
rvm:
- 2.5.5
- 2.6.3
before_install:
- gem install bundler
before_script:
- bundle exec rake alchemy:spec:prepare
- export PATH=$PATH:/usr/lib/chromium-browser/
script: bundle exec rspec
after_success: bundle exec codeclimate-test-reporter
env:
- DB=mysql
- DB=postgresql
notifications:
slack:
secure: QzOFw1Ph69pzwWBFgtIVkOnjbcRxB9HPRQ+RYjK+2tg+fsbiTJ+wYgHcZL49tPYcLAls4kymkFWzWBF3PCAXJMfKgUCqXzdQ2FuJC/JoVRTLll4wDnZFPG33jsm5tVznmycZ3ma4+ZWfJQ+C+elEBOba6v1kG9eGIy6sH2cvXfE=
| language: ruby
dist: trusty
sudo: false
addons:
postgresql: "9.4"
apt:
packages:
- chromium-chromedriver
cache:
bundler: true
rvm:
- 2.5.5
- 2.6.3
before_install:
- gem install bundler
before_script:
- bundle exec rake alchemy:spec:prepare
- export PATH=$PATH:/usr/lib/chromium-browser/
script: bundle exec rspec
after_success: bundle exec codeclimate-test-reporter
env:
- DB=mysql
- DB=postgresql
notifications:
slack:
secure: QzOFw1Ph69pzwWBFgtIVkOnjbcRxB9HPRQ+RYjK+2tg+fsbiTJ+wYgHcZL49tPYcLAls4kymkFWzWBF3PCAXJMfKgUCqXzdQ2FuJC/JoVRTLll4wDnZFPG33jsm5tVznmycZ3ma4+ZWfJQ+C+elEBOba6v1kG9eGIy6sH2cvXfE=
|
Add the IRC notifications for Travis builds | before_install: gem install bundler --pre
before_script: bundle exec rake db:migrate
bundler_args: --without assets:development:production
language: ruby
rvm:
- 1.9.3
| before_install: gem install bundler --pre
before_script: bundle exec rake db:migrate
bundler_args: --without assets:development:production
language: ruby
rvm:
- 1.9.3
notifications:
irc:
channels:
- 'irc.freenode.org:6667#codeforamerica'
|
Fix a typo in the filename. | language: android
android:
components:
- platform-tools
- tools
# Tools to build the project
- build-tools-21.1.2
- android-21
# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-19
- extra
# System image
- sys-img-armeabi-v7a-android-21
- sys-img-x86-android-21
# Emulator Management: Create, Start and Wait
before_script:
- cd etc
- openssl aes-256-cbc -K $encrypted_b0b0af8941b5_key -iv $encrypted_b0b0af8941b5_iv -in sensorama-bundle.tar.gz.enc -out sensorama-bundle.tar.gz -d
- tar xzf sensorama-bundle.tar.gz
- mv sensorama-bundle/* .
- cd ..
- cp etc/fabric.properties app/android/Sensorama/app/fabric.properties
- cp etc/googleplay.keystore.jks ~/.googleplay.keystore.jks
- cp etc/parse_sensorama_cred.enc ~/.parse_sensorama_cred
script:
#- make startsim
#- make fetch
- make check
- make up
| language: android
android:
components:
- platform-tools
- tools
# Tools to build the project
- build-tools-21.1.2
- android-21
# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-19
- extra
# System image
- sys-img-armeabi-v7a-android-21
- sys-img-x86-android-21
# Emulator Management: Create, Start and Wait
before_script:
- cd etc
- openssl aes-256-cbc -K $encrypted_b0b0af8941b5_key -iv $encrypted_b0b0af8941b5_iv -in sensorama-bundle.tar.gz.enc -out sensorama-bundle.tar.gz -d
- tar xzf sensorama-bundle.tar.gz
- mv sensorama-bundle/* .
- cd ..
- cp etc/fabric.properties app/android/Sensorama/app/fabric.properties
- cp etc/googleplay.keystore.jks ~/.googleplay.keystore.jks
- cp etc/parse_sensorama_cred ~/.parse_sensorama_cred
script:
#- make startsim
#- make fetch
- make check
- make up
|
Add test for CI trigger on tag | sudo: required
services:
- docker
env:
# IMPORTANT! Add your docker slug here (commit once)
- DOCKER_REPO_SLUG=guglielmino/mosquitto-pushetta-auth-plugin
install: []
branches:
only:
- master
- /v\d+\.\d+[a-z]/ # Tag in the format vX.Y.Z
script:
- if [ ! -z "$TRAVIS_TAG" ]; then export IMAGE_TAG=$TRAVIS_TAG; else export IMAGE_TAG=$TRAVIS_BRANCH; fi
- docker build -t $DOCKER_REPO_SLUG:latest -t $DOCKER_REPO_SLUG:$IMAGE_TAG .
deploy:
provider: script
script: bash docker_push $TRAVIS_TAG
on:
tags: true
condition: '$TRAVIS_TAG =~ ^v[0-9].[0-9].[0-9]$'
| sudo: required
services:
- docker
env:
# IMPORTANT! Add your docker slug here (commit once)
- DOCKER_REPO_SLUG=guglielmino/mosquitto-pushetta-auth-plugin
install: []
branches:
only:
- master
- /v\d+\.\d+[a-z]/ # Tag in the format vX.Y.Z
script:
- echo "TRAVIS_TAG" $TRAVIS_TAG
- echo "TRAVIS_BRANCH" $TRAVIS_BRANCH
- if [ ! -z "$TRAVIS_TAG" ]; then export IMAGE_TAG=$TRAVIS_TAG; else export IMAGE_TAG=$TRAVIS_BRANCH; fi
- docker build -t $DOCKER_REPO_SLUG:latest -t $DOCKER_REPO_SLUG:$IMAGE_TAG .
deploy:
provider: script
script: bash docker_push $TRAVIS_TAG
on:
tags: true
condition: '$TRAVIS_TAG =~ ^v[0-9].[0-9].[0-9]$'
|
Remove exta script from Travis build | language: node_js
node_js:
- "4.7.2"
before_script:
- npm install
script:
- gulp --require coffee-script/register build
| language: node_js
node_js:
- "4.7.2"
script:
- gulp --require coffee-script/register build
|
Set proper configuration for Travis CI to run tests | # reference: http://www.objc.io/issue-6/travis-ci.html
language: objective-c
# before_install: cd Example && pod install && cd -
script:
- xctool test -workspace Example/loudspeaker.xcworkspace -scheme loudspeaker -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
| # reference: http://www.objc.io/issue-6/travis-ci.html
language: objective-c
# before_install: cd Example && pod install && cd -
script:
- xctool test -workspace Example/loudspeaker.xcworkspace -scheme Tests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator7.1 -configuration Debug -destination=build
|
Test against multiple ruby versions on Travis | language: ruby
rvm:
- 2.3.4
gemfile:
- gemfiles/rails_4.gemfile
- gemfiles/rails_5.gemfile
| language: ruby
rvm:
- 2.4.4
- 2.5.1
gemfile:
- gemfiles/rails_4.gemfile
- gemfiles/rails_5.gemfile
|
Test on `4` and `5` | sudo: false
language: node_js
node_js:
- 'iojs'
- '0.12'
- '0.10'
| sudo: false
language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '0.10'
|
Drop old Go versions from tests | language: go
sudo: false
go:
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- tip
script:
- ./.travis.gogenerate.sh
- ./.travis.gofmt.sh
- ./.travis.govet.sh
- go test -v ./...
| language: go
sudo: false
go:
- 1.7
- 1.8
- 1.9
- tip
script:
- ./.travis.gogenerate.sh
- ./.travis.gofmt.sh
- ./.travis.govet.sh
- go test -v -race ./...
|
Install snowboy to the current directory | dist: trusty
sudo: required
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=lint
- python: "2.7"
env: TOXENV=py27
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
allow_failures:
- python: "3.6"
cache:
directories:
- $HOME/.cache/pip
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y swig3.0 libjack-jackd2-dev portaudio19-dev sox libatlas-base-dev
- pip install pyaudio
install:
- scripts/install_snowboy.sh
- pip install -U tox coveralls
language: python
script: tox
after_success: coveralls
| dist: trusty
sudo: required
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=lint
- python: "2.7"
env: TOXENV=py27
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
allow_failures:
- python: "3.6"
cache:
directories:
- $HOME/.cache/pip
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y swig3.0 libjack-jackd2-dev portaudio19-dev sox libatlas-base-dev
- pip install pyaudio
install:
- scripts/install_snowboy.sh -i ./
- pip install -U tox coveralls
language: python
script: tox
after_success: coveralls
|
Configure Travis CI to build against Ruby Enterprise Edition | rvm:
- 1.8.7
- 1.9.2
notifications:
irc: "irc.freenode.org#htty"
| rvm:
- 1.8.7
- 1.9.2
- ree
notifications:
irc: "irc.freenode.org#htty"
|
Build on Travis CI with or without Docker | sudo: required
services:
- docker
- notifications: false
env:
- RECIPE=scribus
- RECIPE=subsurface
before_install:
- sudo apt-get update -qq
- sudo apt-get install bsdtar curl -qq
script:
- mkdir -p ./out/
- wget https://raw.githubusercontent.com/probonopd/AppImages/master/recipes/$RECIPE/Recipe -O ./out/Recipe
- sed -i -e 's|sudo ||g' ./out/Recipe # For subsurface recipe
- docker run -i -v ${PWD}/out:/out probonopd/appimages:$RECIPE /bin/bash -ex /out/Recipe
- ls -lh out/*.AppImage
- find out/ -name "*.AppImage" -exec bash bintray.sh {} \;
| sudo: required
services:
- docker
- notifications: false
env:
- RECIPE=scribus
- RECIPE=subsurface
- RECIPE=firefox
before_install:
- sudo apt-get update -qq
- sudo apt-get install bsdtar curl -qq
script:
#- mkdir -p ./out/
#- wget https://raw.githubusercontent.com/probonopd/AppImages/master/recipes/$RECIPE/Recipe -O ./out/Recipe
#- sed -i -e 's|sudo ||g' ./out/Recipe # For subsurface recipe
#- docker run -i -v ${PWD}/out:/out probonopd/appimages:$RECIPE /bin/bash -ex /out/Recipe
#- ls -lh out/*.AppImage
- travis.sh $RECIPE
- find out/ -name "*.AppImage" -exec bash bintray.sh {} \;
|
Test on modern ruby releases | language: ruby
bundler_args: --without development integration
rvm:
- 1.9.3
- 2.0.0
before_install:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
before_script:
- bundle exec berks install
script:
# - bundle exec foodcritic -f any . --tags ~FC005
- bundle exec rubocop
# - bundle exec rspec --color --format progress
| language: ruby
bundler_args: --without development integration
rvm:
- 2.0
- 2.1
- 2.2
before_install:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
before_script:
- bundle exec berks install
script:
# - bundle exec foodcritic -f any . --tags ~FC005
- bundle exec rubocop
# - bundle exec rspec --color --format progress
|
Enable email notifications for Travis-CI. | language: java
# don't just run the tests, also run Findbugs and friends
script: mvn verify
jdk:
- oraclejdk7
- openjdk7
- openjdk6
notifications:
# Email notifications are disabled to not annoy anybody.
# See http://about.travis-ci.org/docs/user/build-configuration/ to learn more
# about configuring notification recipients and more.
email: false
| language: java
# don't just run the tests, also run Findbugs and friends
script: mvn verify
jdk:
- oraclejdk7
- openjdk7
- openjdk6
notifications:
# Email notifications are disabled to not annoy anybody.
# See http://about.travis-ci.org/docs/user/build-configuration/ to learn more
# about configuring notification recipients and more.
email:
recipients:
- coda.hale@gmail.com
|
Split `script` into multiple jobs | branches:
only:
- master
- /^v\d+\.\d+\.\d+/
language: node_js
node_js:
- 6
addons:
chrome: stable
env:
global:
- SAUCE_USERNAME=htmlbars-ci
- SAUCE_ACCESS_KEY=71947947-f373-4e9c-9166-23038df7ddf2
matrix:
- TEST_NODE=1 TEST_BROWSERS=1
matrix:
fast_finish: true
cache: yarn
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.10.1
- export PATH="$HOME/.yarn/bin:$PATH"
before_script:
- yarn run sauce:connect
script:
- yarn run problems
- yarn run test:ci
- yarn run build
- yarn run test:types
- yarn run eslint
- yarn run tslint
after_script:
- sleep 10
- yarn run sauce:disconnect
| branches:
only:
- master
- /^v\d+\.\d+\.\d+/
language: node_js
node_js:
- 6
env:
matrix:
- TEST_NODE=1 TEST_BROWSERS=1
matrix:
fast_finish: true
cache: yarn
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.10.1
- export PATH="$HOME/.yarn/bin:$PATH"
jobs:
include:
- name: Tests
env:
- SAUCE_USERNAME=htmlbars-ci
- SAUCE_ACCESS_KEY=71947947-f373-4e9c-9166-23038df7ddf2
addons:
chrome: stable
before_script:
- yarn run sauce:connect
script:
- yarn run test:ci
after_script:
- sleep 10
- yarn run sauce:disconnect
- name: Type Tests
script:
- yarn run build
- yarn run test:types
- name: Linting
script:
- yarn run problems
- yarn run tslint
- yarn run eslint
|
Change from python 3.7 to 3.6 | language: python
python:
- "3.7"
install:
- pip install -r requirements.txt
script:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker build ./base -t feedthebeast/base
- python build.py
sudo: required
services:
- docker
dist: trusty
| language: python
python:
- "3.6"
install:
- pip install -r requirements.txt
script:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker build ./base -t feedthebeast/base
- python build.py
sudo: required
services:
- docker
dist: trusty
|
Use --prefer-source flag for composer | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
install:
- sudo apt-get install parallel
- composer install --dev
before_script:
- mkdir -p build/coverage
- cp tests/TestConfiguration.php.travis tests/TestConfiguration.php
script:
- bin/check-cs.sh
# Run tests for the various components in parallel
- ls -d tests/ZendTest/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/phpunit.xml.dist --coverage-php build/coverage/coverage-{/.}.cov {};' || exit 1
after_script:
# Merges the individual clover reports of each component into a single clover.xml
- php vendor/bin/phpcov.php --merge --clover build/logs/clover.xml --whitelist library build/coverage
- php vendor/bin/coveralls
notifications:
irc: "irc.freenode.org#zftalk.dev"
email: false
matrix:
fast_finish: true
allow_failures:
- php: 5.6
- php: hhvm
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
install:
- sudo apt-get install parallel
- composer install --dev --prefer-source
before_script:
- mkdir -p build/coverage
- cp tests/TestConfiguration.php.travis tests/TestConfiguration.php
script:
- bin/check-cs.sh
# Run tests for the various components in parallel
- ls -d tests/ZendTest/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/phpunit.xml.dist --coverage-php build/coverage/coverage-{/.}.cov {};' || exit 1
after_script:
# Merges the individual clover reports of each component into a single clover.xml
- php vendor/bin/phpcov.php --merge --clover build/logs/clover.xml --whitelist library build/coverage
- php vendor/bin/coveralls
notifications:
irc: "irc.freenode.org#zftalk.dev"
email: false
matrix:
fast_finish: true
allow_failures:
- php: 5.6
- php: hhvm
|
Remove deprecated --use-mirrors from pip commands | language: python
# this version of python is only used to run tox - the version specified by TOX_ENV
# is used to install and run tests
python: 2.7
env:
- TOX_ENV=py27
- TOX_ENV=py32
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install --use-mirrors tox
- pip install --use-mirrors -r requirements.txt
# command to run tests, e.g. python setup.py test
script:
- tox -e $TOX_ENV
| language: python
# this version of python is only used to run tox - the version specified by TOX_ENV
# is used to install and run tests
python: 2.7
env:
- TOX_ENV=py27
- TOX_ENV=py32
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install tox
- pip install -r requirements.txt
# command to run tests, e.g. python setup.py test
script:
- tox -e $TOX_ENV
|
Add task to install require python packages for server | - name: Clone client from GitHub
git: repo=https://github.com/openchemistry/mongochemclient.git version=master dest=/opt/mongochem/client
tags: mongochem
- name: Run npm install for client
npm: path=/opt/mongochem/client
tags: mongochem
- name: Build the client HTML5 code
command: npm run build chdir=/opt/mongochem/client
tags: mongochem
- name: Clone server from GitHub
git: repo=https://github.com/openchemistry/mongochemserver.git version=master dest=/opt/mongochem/server
tags: mongochem
| - name: Clone client from GitHub
git: repo=https://github.com/openchemistry/mongochemclient.git version=master dest=/opt/mongochem/client
tags: mongochem
- name: Run npm install for client
npm: path=/opt/mongochem/client
tags: mongochem
- name: Build the client HTML5 code
command: npm run build chdir=/opt/mongochem/client
tags: mongochem
- name: Clone server from GitHub
git: repo=https://github.com/openchemistry/mongochemserver.git version=master dest=/opt/mongochem/server
tags: mongochem
- name: Install required python packages
pip: executable=pip3 requirements=/opt/mongochem/server/requirements.txt
sudo: yes
tags: mongochem |
Update from Hackage at 2020-02-14T19:57:49Z | homepage: ''
changelog-type: markdown
hash: 5a92441533def9b7a25c268b765a5a86762306ddedc535f844da66ac0bbdd282
test-bench-deps:
base: ! '>=4.7 && <5'
hspec: -any
hs2ps: -any
template-haskell: ! '>=2.14.0.0 && <3'
maintainer: williamrusnack@gmail.com
synopsis: Translate Haskell types to PureScript
changelog: |
# Changelog for h2ps-types
## Unreleased changes
basic-deps:
base: ! '>=4.7 && <5'
template-haskell: ! '>=2.14.0.0 && <3'
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.1.2.0
author: William Rusnack
latest: 0.1.2.0
description-type: markdown
description: |
# h2ps-types
license-name: MIT
| homepage: https://bitbucket.org/william_rusnack/hs2ps
changelog-type: markdown
hash: 891a3fed66f7b99781248aeb2adcfe778a634d10daac9ec1cbd6b9f569b442f9
test-bench-deps:
base: ! '>=4.7 && <5'
hspec: -any
hs2ps: -any
template-haskell: ! '>=2.14.0.0 && <3'
maintainer: williamrusnack@gmail.com
synopsis: Translate Haskell types to PureScript
changelog: |
# Changelog for h2ps-types
## Unreleased changes
basic-deps:
base: ! '>=4.7 && <5'
template-haskell: ! '>=2.14.0.0 && <3'
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.1.2.0
- 0.1.2.1
author: William Rusnack
latest: 0.1.2.1
description-type: markdown
description: |
# h2ps-types
license-name: MIT
|
Stop testing on EOL'd Go versions | name: Go
on: [push, pull_request]
jobs:
build:
name: Build
strategy:
matrix:
go-version: [1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
submodules: true
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Test
run: go test -race -v ./...
| name: Go
on: [push, pull_request]
jobs:
build:
name: Build
strategy:
matrix:
go-version: [1.13.x, 1.14.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
submodules: true
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Test
run: go test -race -v ./...
|
Remove -dev.infinity in SDK upper constraint | name: code_transformers
version: 0.5.2-dev
author: Dart Team <misc@dartlang.org>
description: Collection of utilities related to creating barback transformers.
homepage: https://github.com/dart-lang/code-transformers
environment:
sdk: '>=1.0.0 <2.0.0-dev.infinity'
dependencies:
analyzer: '>=0.28.0 <0.31.0'
barback: '>=0.14.2 <0.16.0'
cli_util: '>=0.1.0 <0.2.0'
path: '>=0.9.0 <2.0.0'
source_maps: '>=0.9.4 <0.11.0'
source_span: '>=1.4.0 <2.0.0'
dev_dependencies:
test: '>=0.12.1 <0.13.0'
transformer_test: '>=0.1.0 <0.3.0'
| name: code_transformers
version: 0.5.2-dev
author: Dart Team <misc@dartlang.org>
description: Collection of utilities related to creating barback transformers.
homepage: https://github.com/dart-lang/code-transformers
environment:
sdk: '>=1.0.0 <2.0.0'
dependencies:
analyzer: '>=0.28.0 <0.31.0'
barback: '>=0.14.2 <0.16.0'
cli_util: '>=0.1.0 <0.2.0'
path: '>=0.9.0 <2.0.0'
source_maps: '>=0.9.4 <0.11.0'
source_span: '>=1.4.0 <2.0.0'
dev_dependencies:
test: '>=0.12.1 <0.13.0'
transformer_test: '>=0.1.0 <0.3.0'
|
Fix call to Jacoco and coveralls in CircleCI | machine:
java:
version: oraclejdk8
test:
post:
- mvn jacoco:report coveralls:report -DrepoToken=$REPO_TOKEN | machine:
java:
version: oraclejdk8
integration-test:
post:
- mvn jacoco:report coveralls:report -DrepoToken=$REPO_TOKEN |
Add dependency on 'intl' for internationalization support | name: devtools
version: 1.0.0
author: Kenneth Endfinger <kaendfinger@gmail.com>
description: DirectCode Development Tools
homepage: https://github.com/DirectMyFile/devtools
environment:
sdk: '>=1.6.0-dev'
dependencies:
ansicolor: '>=0.0.9 <0.1.0'
args: '>=0.11.0+1 <0.15.0'
http: '>=0.11.1+1 <0.15.0'
path: '>=1.2.2 <2.0.0'
yaml: '>=2.0.0 <2.2.0'
| name: devtools
version: 1.0.0
author: Kenneth Endfinger <kaendfinger@gmail.com>
description: DirectCode Development Tools
homepage: https://github.com/DirectMyFile/devtools
environment:
sdk: '>=1.6.0-dev'
dependencies:
ansicolor: '>=0.0.9 <0.1.0'
args: '>=0.11.0+1 <0.15.0'
http: '>=0.11.1+1 <0.15.0'
intl: '>=0.11.3 <0.12.0'
path: '>=1.2.2 <2.0.0'
yaml: '>=2.0.0 <2.2.0'
|
Add pkg-config a build requirement | package:
name: julia
version: 0.5.0
source:
fn: julia-0.5.0-full.tar.gz
url: https://github.com/JuliaLang/julia/releases/download/v0.5.0/julia-0.5.0-full.tar.gz
md5: b61385671ba74767ab452363c43131fb
# from https://s3.amazonaws.com/julialang/bin/checksums/julia-0.5.0.md5
requirements:
build:
- python 2.7*
- gcc
- patchelf
run:
- jl-mkl
build:
string: mkl_1
features:
- jl-mkl
script_env:
- MKLROOT
binary_relocation: False
ignore_prefix_files:
- lib/julia/libccalltest.so.debug
# Don't let conda-build try running patchelf on a static file
# See: https://github.com/conda/conda-build/issues/1411
test:
files:
- run_test.jl
commands:
- which julia
- julia --version
- julia --check-bounds=yes run_test.jl
about:
home: http://julialang.org
license_file: LICENSE.md
summary: Julia compiled with Intel Math Kernel Library (Intel MKL)
| package:
name: julia
version: 0.5.0
source:
fn: julia-0.5.0-full.tar.gz
url: https://github.com/JuliaLang/julia/releases/download/v0.5.0/julia-0.5.0-full.tar.gz
md5: b61385671ba74767ab452363c43131fb
# from https://s3.amazonaws.com/julialang/bin/checksums/julia-0.5.0.md5
requirements:
build:
- python 2.7*
- pkg-config
- gcc
- patchelf
run:
- jl-mkl
build:
string: mkl_1
features:
- jl-mkl
script_env:
- MKLROOT
binary_relocation: False
ignore_prefix_files:
- lib/julia/libccalltest.so.debug
# Don't let conda-build try running patchelf on a static file
# See: https://github.com/conda/conda-build/issues/1411
test:
files:
- run_test.jl
commands:
- which julia
- julia --version
- julia --check-bounds=yes run_test.jl
about:
home: http://julialang.org
license_file: LICENSE.md
summary: Julia compiled with Intel Math Kernel Library (Intel MKL)
|
Add nuget restore config to linux | trigger:
batch: true
variables:
testConfiguration: 'Debug'
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UseDotNet@2
displayName: 'Install .NET'
inputs:
version: 5.0.x
- task: DotNetCoreCLI@2
displayName: 'Restore'
inputs:
command: restore
arguments: --locked-mode
- task: DotNetCoreCLI@2
displayName: 'Build Debug'
inputs:
command: build
arguments: --no-restore --configuration Debug
- task: DotNetCoreCLI@2
displayName: 'Build Release'
inputs:
command: build
arguments: --no-restore --configuration Release
- task: DotNetCoreCLI@2
displayName: 'Test Debug'
inputs:
command: test
projects: 'WalletWasabi.Tests/WalletWasabi.Tests.csproj'
arguments: --configuration $(testConfiguration) --filter "UnitTests" --logger "console;verbosity=detailed"
| trigger:
batch: true
variables:
testConfiguration: 'Debug'
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UseDotNet@2
displayName: 'Install .NET'
inputs:
version: 5.0.x
- task: DotNetCoreCLI@2
displayName: 'Restore'
inputs:
command: 'restore'
arguments: --locked-mode
feedsToUse: 'config'
nugetConfigPath: 'NuGet.Config'
- task: DotNetCoreCLI@2
displayName: 'Build Debug'
inputs:
command: build
arguments: --no-restore --configuration Debug
- task: DotNetCoreCLI@2
displayName: 'Build Release'
inputs:
command: build
arguments: --no-restore --configuration Release
- task: DotNetCoreCLI@2
displayName: 'Test Debug'
inputs:
command: test
projects: 'WalletWasabi.Tests/WalletWasabi.Tests.csproj'
arguments: --configuration $(testConfiguration) --filter "UnitTests" --logger "console;verbosity=detailed"
|
Update Fake Traveler to 1.7 (7) | Categories:
- Navigation
- Development
License: GPL-3.0-or-later
AuthorName: Matías Castillo Felmer
SourceCode: https://github.com/mcastillof/FakeTraveler
IssueTracker: https://github.com/mcastillof/FakeTraveler/issues
AutoName: Fake Traveler
Description: Sometimes you need to fake the location of your device (for privacy
or to test an app). Fake Traveler provides you a map to select the location where
you want your phone to be. Long press in the map and tap Apply button. In "..."
button there are two options to keep mocking the location over time. No root
needed as it uses a developers option to mock the location in your device.
RepoType: git
Repo: https://github.com/mcastillof/FakeTraveler
Builds:
- versionName: '1.3'
versionCode: 3
commit: v1.3
subdir: app
gradle:
- yes
- versionName: '1.4'
versionCode: 4
commit: v1.4
subdir: app
gradle:
- yes
- versionName: '1.6'
versionCode: 6
commit: v1.6
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.6'
CurrentVersionCode: 6
| Categories:
- Navigation
- Development
License: GPL-3.0-or-later
AuthorName: Matías Castillo Felmer
SourceCode: https://github.com/mcastillof/FakeTraveler
IssueTracker: https://github.com/mcastillof/FakeTraveler/issues
AutoName: Fake Traveler
Description: Sometimes you need to fake the location of your device (for privacy
or to test an app). Fake Traveler provides you a map to select the location where
you want your phone to be. Long press in the map and tap Apply button. In "..."
button there are two options to keep mocking the location over time. No root
needed as it uses a developers option to mock the location in your device.
RepoType: git
Repo: https://github.com/mcastillof/FakeTraveler
Builds:
- versionName: '1.3'
versionCode: 3
commit: v1.3
subdir: app
gradle:
- yes
- versionName: '1.4'
versionCode: 4
commit: v1.4
subdir: app
gradle:
- yes
- versionName: '1.6'
versionCode: 6
commit: v1.6
subdir: app
gradle:
- yes
- versionName: '1.7'
versionCode: 7
commit: v1.7
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.7'
CurrentVersionCode: 7
|
Bump ridedott/merge-me-action from 2.9.47 to 2.9.50 | name: Merge me test dependencies!
on:
workflow_run:
types:
- completed
workflows:
# List all required workflow names here.
- 'Run tests'
- 'Test build package'
- 'Run linters'
jobs:
merge-me:
name: Merge me!
runs-on: ubuntu-latest
steps:
- # It is often a desired behavior to merge only when a workflow execution
# succeeds. This can be changed as needed.
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Merge me!
uses: ridedott/merge-me-action@v2.9.47
with:
# Depending on branch protection rules, a manually populated
# `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to
# a protected branch must be used. This secret can have an arbitrary
# name, as an example, this repository uses `DOTTBOTT_TOKEN`.
#
# When using a custom token, it is recommended to leave the following
# comment for other developers to be aware of the reasoning behind it:
#
# This must be used as GitHub Actions token does not support pushing
# to protected branches.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
PRESET: DEPENDABOT_MINOR
ENABLED_FOR_MANUAL_CHANGES: 'true'
| name: Merge me test dependencies!
on:
workflow_run:
types:
- completed
workflows:
# List all required workflow names here.
- 'Run tests'
- 'Test build package'
- 'Run linters'
jobs:
merge-me:
name: Merge me!
runs-on: ubuntu-latest
steps:
- # It is often a desired behavior to merge only when a workflow execution
# succeeds. This can be changed as needed.
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Merge me!
uses: ridedott/merge-me-action@v2.9.50
with:
# Depending on branch protection rules, a manually populated
# `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to
# a protected branch must be used. This secret can have an arbitrary
# name, as an example, this repository uses `DOTTBOTT_TOKEN`.
#
# When using a custom token, it is recommended to leave the following
# comment for other developers to be aware of the reasoning behind it:
#
# This must be used as GitHub Actions token does not support pushing
# to protected branches.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
PRESET: DEPENDABOT_MINOR
ENABLED_FOR_MANUAL_CHANGES: 'true'
|
Add option to deploy to testing environment through CircleCI | machine:
services:
- docker
dependencies:
override:
- docker info
# our circle setup uses compose - install it
- sudo pip install --upgrade docker-compose==1.2.0
# install AWS CLI
- sudo pip install awscli
# build the image
- docker build -t soutech/champaign_web:$CIRCLE_SHA1 .
test:
override:
# tests the built image
- cat circle/docker-compose-template.yml | envsubst > circle/docker-compose.yml
- cat Dockerrun.aws.json.template | envsubst > Dockerrun.aws.json
- annotate-output docker-compose -f circle/docker-compose.yml run web
database:
override:
- echo "look in circle/specs-and-rake-tasks for database setup for testing environment"
deployment:
production:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push soutech/champaign_web
- ./deploy.sh $CIRCLE_SHA1 'champaign' 'champaign-production'
staging:
branch: development
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push soutech/champaign_web
- ./deploy.sh $CIRCLE_SHA1 'champaign' 'champaign-staging'
| machine:
services:
- docker
dependencies:
override:
- docker info
# our circle setup uses compose - install it
- sudo pip install --upgrade docker-compose==1.2.0
# install AWS CLI
- sudo pip install awscli
# build the image
- docker build -t soutech/champaign_web:$CIRCLE_SHA1 .
test:
override:
# tests the built image
- cat circle/docker-compose-template.yml | envsubst > circle/docker-compose.yml
- cat Dockerrun.aws.json.template | envsubst > Dockerrun.aws.json
- annotate-output docker-compose -f circle/docker-compose.yml run web
database:
override:
- echo "look in circle/specs-and-rake-tasks for database setup for testing environment"
deployment:
production:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push soutech/champaign_web
- ./deploy.sh $CIRCLE_SHA1 'champaign' 'champaign-production'
staging:
branch: development
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push soutech/champaign_web
- ./deploy.sh $CIRCLE_SHA1 'champaign' 'champaign-staging'
testing:
branch: testing-env
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push soutech/champaign_web
- ./deploy.sh $CIRCLE_SHA1 'champaign' 'champaign-testing'
|
Use a Python 2.7 friendly virtualenv | # We need sudo to install pip system-wide
sudo: required
os:
- linux
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python@2 || brew upgrade python@2 ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip install --upgrade virtualenv ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shellcheck ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:fkrull/deadsnakes ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update ; fi
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python3.5 python3.5-dev --force-yes -y ; fi
- sudo -H pip2 install coveralls coverage
script: ./ci.sh
after_success:
- coveralls
| # We need sudo to install pip system-wide
sudo: required
os:
- linux
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python@2 || brew upgrade python@2 ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip install virtualenv==16.7.9 ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shellcheck ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:fkrull/deadsnakes ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update ; fi
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python3.5 python3.5-dev --force-yes -y ; fi
- sudo -H pip2 install coveralls coverage
script: ./ci.sh
after_success:
- coveralls
|
Upgrade test dist to Focal | language: bash
services: docker
env:
- VERSION=jdk8
- VERSION=jre8
- VERSION=jdk11
- VERSION=jre11
- VERSION=jdk15
- VERSION=jre15
before_install:
- env | sort
- cd "${VERSION}"
- image="groovy:${VERSION}"
- docker images --format "table {{.Repository}}:{{.Tag}}" | tail --lines=+2 | grep "adoptopenjdk" | xargs --no-run-if-empty docker pull
- wget --quiet --output-document=- https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh | bash
install:
- docker build --tag "${image}" .
script:
- cd ../test
- ./run.sh "${image}" "3.0.6"
| dist: focal
language: bash
services: docker
env:
- VERSION=jdk8
- VERSION=jre8
- VERSION=jdk11
- VERSION=jre11
- VERSION=jdk15
- VERSION=jre15
before_install:
- env | sort
- cd "${VERSION}"
- image="groovy:${VERSION}"
- docker images --format "table {{.Repository}}:{{.Tag}}" | tail --lines=+2 | grep "adoptopenjdk" | xargs --no-run-if-empty docker pull
- wget --quiet --output-document=- https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh | bash
install:
- docker build --tag "${image}" .
script:
- cd ../test
- ./run.sh "${image}" "3.0.6"
|
Upgrade Travis builds to use Node v12 | sudo: false
language: node_js
git:
depth: false # Get all depth so our git-based version/change tracking of policies works
node_js:
- "10"
script:
- npm run ci-lint
- npm run ci-test
- make changelog
- make policies
- make -j$(nproc) travis-dist
deploy:
on:
all_branches:
true
provider: s3
bucket: "compiler-explorer"
skip_cleanup: true
acl: public_read
local_dir: out/dist-bin
upload-dir: dist/travis/${TRAVIS_BRANCH}
after_success: npm run codecov
| sudo: false
language: node_js
git:
depth: false # Get all depth so our git-based version/change tracking of policies works
node_js:
- "12"
script:
- npm run ci-lint
- npm run ci-test
- make changelog
- make policies
- make -j$(nproc) travis-dist
deploy:
on:
all_branches:
true
provider: s3
bucket: "compiler-explorer"
skip_cleanup: true
acl: public_read
local_dir: out/dist-bin
upload-dir: dist/travis/${TRAVIS_BRANCH}
after_success: npm run codecov
|
Speed up CI by caching bundler | language: ruby
rvm:
- 2.3.0
- 2.2.2
- 2.0.0
- jruby
before_install: gem install bundler -v 1.11.2
| language: ruby
rvm:
- 2.3.0
- 2.2.2
- 2.0.0
- jruby
before_install: gem install bundler -v 1.11.2
cache: bundler
|
Use rustc instead of rust | before_install:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
install:
- sudo apt-get install rust-nightly
script:
- "rust --test src/libknob/lib.rs && src/libknob/knob"
| before_install:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
install:
- sudo apt-get install rust-nightly
script:
- "rustc --test src/libknob/lib.rs && src/libknob/knob"
|
Remove Travis setup that is hopefully not needed anymore | language: php
php:
- "5.4"
- "5.3"
before_script:
- pear channel-discover pear.phpunit.de
- pear install phpunit/DbUnit
- pear channel-discover pear.phing.info
- pear install phing/phing
- phpenv rehash
- mysql -e "UPDATE mysql.user SET Password = PASSWORD('root') WHERE User = 'root'; FLUSH PRIVILEGES;"
- phing -propertyfile build.properties.sample -Dskip-prompt=true -Ddb.username=root -Ddb.password=root -Ddb.group=ilios_test -Dencryption_key=lorem_ipsum -Ddeploydir=${PWD}/web -Dbackupdir=${PWD}/backup -Dwebuser=${USER} -Dwebgroup="`id -g -n`"
script: "phpunit -c ${PWD}/tests/phpunit/default.phpunit.xml --include-path ${PWD}/tests/phpunit --exclude-group ldap tests/phpunit/Ilios" | language: php
php:
- "5.4"
- "5.3"
before_script:
- pear channel-discover pear.phpunit.de
- pear install phpunit/DbUnit
- pear channel-discover pear.phing.info
- pear install phing/phing
- phpenv rehash
- phing -propertyfile build.properties.sample -Dskip-prompt=true -Ddb.username=root -Ddb.password= -Ddb.group=ilios_test -Dencryption_key=lorem_ipsum -Ddeploydir=${PWD}/web -Dbackupdir=${PWD}/backup -Dwebuser=${USER} -Dwebgroup="`id -g -n`"
script: "phpunit -c ${PWD}/tests/phpunit/default.phpunit.xml --include-path ${PWD}/tests/phpunit --exclude-group ldap tests/phpunit/Ilios" |
Fix path issues Turn off use_nfs | language: generic
before_install:
- cd scripts/install-vagrant;./install-vagrant-linux-ubuntu.sh;
install:
- sudo -E su $USER -c 'cd ../../vagrant;./build.sh'
script:
- sudo -E su $USER -c './package.sh'
branches:
only:
- master
addons:
artifacts: true
s3_region: "us-east-1"
sudo: required
dist: trusty | language: generic
before_install:
- cd scripts/install-vagrant;./install-vagrant-linux-ubuntu.sh;
install:
- sudo -E su $USER -c 'cd $HOME/stackinabox/vagrant/;./build.sh'
script:
- sudo -E su $USER -c 'cd $HOME/stackinabox/vagrant/;./package.sh'
branches:
only:
- master
addons:
artifacts: true
s3_region: "us-east-1"
sudo: required
dist: trusty |
Simplify Travis config and fix ChefDK 2.0 failures | # Use Travis's cointainer based infrastructure
sudo: false
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/cookstyle --version
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/bin/chef exec delivery local all
| # Use Travis's cointainer based infrastructure
sudo: false
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(chef shell-init bash)"
script:
- chef --version
- cookstyle --version
- foodcritic --version
- chef exec delivery local all
|
Enable flake8 testing in Travis, as expected failure for now | language: python
install:
- pip install tox
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=cov
#- TOX_ENV=flake8
script:
- tox -e $TOX_ENV
matrix:
fast_finish: true
| language: python
install:
- pip install tox
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=cov
- TOX_ENV=flake8
script:
- tox -e $TOX_ENV
matrix:
fast_finish: true
allow_failures:
- env: TOX_ENV=flake8
|
Build on Travis CI without `sudo`. | language: node_js
node_js:
- '0.10'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
| sudo: false
language: node_js
node_js:
- '0.10'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
|
Correct linux vulkan sdk extraction | sudo: required
dist: trusty
language: cpp
branches:
only:
- master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
# Modern GCC
- gcc-5
- g++-5
# Vortex2D dependencies
- cmake
- doxygen
# GLFW3 dependencies
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
cache: ccache
install:
# Doxyrest
- pip install --user sphinx sphinx_rtd_theme breathe
# LunarG SDK install
- wget https://vulkan.lunarg.com/sdk/download/1.1.77.0/linux/vulkansdk-linux-x86_64-1.1.77.0.run
- chmod +x vulkansdk-linux-x86_64-1.1.77.0.run
- ./vulkansdk-linux-x86_64-1.1.77.0.run
- cd VulkanSDK/1.1.77.0/
- . setup-env.sh
script:
- cd ${TRAVIS_BUILD_DIR}
- mkdir build && cd build
- cmake .. -DVORTEX2D_ENABLE_TESTS=On -DVORTEX2D_ENABLE_EXAMPLES=On -DVORTEX2D_ENABLE_DOCS=On -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5
- make -j 4
| sudo: required
dist: trusty
language: cpp
branches:
only:
- master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
# Modern GCC
- gcc-5
- g++-5
# Vortex2D dependencies
- cmake
- doxygen
# GLFW3 dependencies
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
cache: ccache
install:
# Doxyrest
- pip install --user sphinx sphinx_rtd_theme breathe
# LunarG SDK install
- wget https://vulkan.lunarg.com/sdk/download/1.1.77.0/linux/vulkansdk-linux-x86_64-1.1.77.0.tar.gz
- tar xf vulkansdk-linux-x86_64-1.1.77.0.tar.gz
- cd 1.1.77.0/
- . setup-env.sh
script:
- cd ${TRAVIS_BUILD_DIR}
- mkdir build && cd build
- cmake .. -DVORTEX2D_ENABLE_TESTS=On -DVORTEX2D_ENABLE_EXAMPLES=On -DVORTEX2D_ENABLE_DOCS=On -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5
- make -j 4
|
Remove Duplicate ".list" in Apt Filename | ---
- name: package dependencies
apt:
name: "{{ packages }}"
state: present
become: yes
vars:
packages:
- openjdk-8-jre-headless
- apt-transport-https
- curl
- name: Elastic GPG Key
apt_key:
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
state: present
become: yes
- name: Elastic repository
apt_repository:
repo: deb https://artifacts.elastic.co/packages/6.x/apt stable main
state: present
filename: elastic-6.x.list
become: yes
...
| ---
- name: package dependencies
apt:
name: "{{ packages }}"
state: present
become: yes
vars:
packages:
- openjdk-8-jre-headless
- apt-transport-https
- curl
- name: Elastic GPG Key
apt_key:
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
state: present
become: yes
- name: Elastic repository
apt_repository:
repo: deb https://artifacts.elastic.co/packages/6.x/apt stable main
state: present
filename: elastic-6.x
become: yes
...
|
Add fcn config with newer API | model:
arch: fcn8s
data:
dataset: pascal
train_split: train_aug
val_split: val
img_rows: 256
img_cols: 256
path: /private/home/meetshah/misc_code/ps/data/VOCdevkit/VOC2012/
training:
train_iters: 300000
batch_size: 1
val_interval: 1000
print_interval: 50
l_rate: 1.0e-10
l_schedule:
momentum: 0.99
weight_decay: 0.0005
resume: fcn8s_pascal_best_model.pkl
visdom: False
| model:
arch: fcn8s
data:
dataset: pascal
train_split: train_aug
val_split: val
img_rows: 'same'
img_cols: 'same'
path: /private/home/meetshah/datasets/VOC/060817/VOCdevkit/VOC2012/
training:
train_iters: 300000
batch_size: 1
val_interval: 1000
n_workers: 16
print_interval: 50
optimizer:
name: 'sgd'
lr: 1.0e-10
weight_decay: 0.0005
momentum: 0.99
loss:
name: 'cross_entropy'
size_average: False
lr_schedule:
resume: fcn8s_pascal_best_model.pkl
|
Fix FOSS Hours day-of-week, from Wednesday to Thursday. | ###############################################################################
# #
# WEBSITE CONFIGURATION #
# #
###############################################################################
# --- base website settings ---
title: Free and Open Source Software @ RIT MAGIC Center
title-abbrev: FOSS@MAGIC
description: > # this symbol ignores newlines
Official site for the Free and Open Source Software initiative
at the RIT MAGIC Center. Learn about open source activities and
courses at the Rochester Institute of Technology.
# --- general settings ---
email: sj@magic.rit.edu
github-repo: "https://github.com/FOSSRIT/fossrit.github.io"
seo_keywords: > # this symbol ignores newlines
"FOSS@MAGIC",
"FOSSRIT",
"RIT FOSS",
"RIT MAGIC Center",
"Rochester Institute of Technology",
"open source",
"Stephen Jacobs"
twitter_account: "@RITMAGIC"
url: "https://fossrit.github.io"
# --- events page settings ---
page_events:
description: "Upcoming events in RIT FOSS community"
# --- build settings ---
excerpt_separator: <!--more-->
future: true # allow events in the future (for calendar feed)
markdown: kramdown
permalink: pretty # no .html extensions
# --- meeting schedule settings ---
# They appear exactly as typed. Follow the format already here when updating.
meeting-day: Wednesday
meeting-place: MSS/71-3190 (conference room)
meeting-time: 5:00PM - 7:00PM
| ###############################################################################
# #
# WEBSITE CONFIGURATION #
# #
###############################################################################
# --- base website settings ---
title: Free and Open Source Software @ RIT MAGIC Center
title-abbrev: FOSS@MAGIC
description: > # this symbol ignores newlines
Official site for the Free and Open Source Software initiative
at the RIT MAGIC Center. Learn about open source activities and
courses at the Rochester Institute of Technology.
# --- general settings ---
email: sj@magic.rit.edu
github-repo: "https://github.com/FOSSRIT/fossrit.github.io"
seo_keywords: > # this symbol ignores newlines
"FOSS@MAGIC",
"FOSSRIT",
"RIT FOSS",
"RIT MAGIC Center",
"Rochester Institute of Technology",
"open source",
"Stephen Jacobs"
twitter_account: "@RITMAGIC"
url: "https://fossrit.github.io"
# --- events page settings ---
page_events:
description: "Upcoming events in RIT FOSS community"
# --- build settings ---
excerpt_separator: <!--more-->
future: true # allow events in the future (for calendar feed)
markdown: kramdown
permalink: pretty # no .html extensions
# --- meeting schedule settings ---
# They appear exactly as typed. Follow the format already here when updating.
meeting-day: Thursday
meeting-place: MSS/71-3190 (conference room)
meeting-time: 5:00PM - 7:00PM
|
Change git url to https from ssh | package:
name: pypwa
version: "3.0.0b1"
source:
git_rev: development
git_url: git@github.com:JeffersonLab/PyPWA.git
requirements:
build:
- python>=3.6,<4
- setuptools>=46
- tqdm>=4.45,<5
- iminuit>=1.3,<2
- scipy>=1.4,<2
- numpy>=1.18,<2
- pyyaml>=5.3,<6
- tabulate>=0.8,<1
- appdirs>=1.4,<2
- pytables>=3.6,<4
- pandas>=1,<2
- openpyxl>=3,<4
- matplotlib>=3.1,<4
- numexpr>=2.7,<3
run:
- python>=3.6,<4
- setuptools>=46
- tqdm>=4.45,<5
- iminuit>=1.3,<2
- scipy>=1.4,<2
- numpy>=1.18,<2
- pyyaml>=5.3,<6
- tabulate>=0.8,<1
- appdirs>=1.4,<2
- pytables>=3.6,<4
- pandas>=1,<2
- openpyxl>=3,<4
- matplotlib>=3.1,<4
- numexpr>=2.7,<3
about:
home: https://github.com/JeffersonLab/PyPWA
license: GNU General Public License v3 (GPLv3)
summary: "Pythonic Partial Wave Analysis Toolkit."
| package:
name: pypwa
version: "3.0.0b1"
source:
git_rev: development
git_url: https://github.com/JeffersonLab/PyPWA.git
requirements:
build:
- python>=3.6,<4
- setuptools>=46
- tqdm>=4.45,<5
- iminuit>=1.3,<2
- scipy>=1.4,<2
- numpy>=1.18,<2
- pyyaml>=5.3,<6
- tabulate>=0.8,<1
- appdirs>=1.4,<2
- pytables>=3.6,<4
- pandas>=1,<2
- openpyxl>=3,<4
- matplotlib>=3.1,<4
- numexpr>=2.7,<3
run:
- python>=3.6,<4
- setuptools>=46
- tqdm>=4.45,<5
- iminuit>=1.3,<2
- scipy>=1.4,<2
- numpy>=1.18,<2
- pyyaml>=5.3,<6
- tabulate>=0.8,<1
- appdirs>=1.4,<2
- pytables>=3.6,<4
- pandas>=1,<2
- openpyxl>=3,<4
- matplotlib>=3.1,<4
- numexpr>=2.7,<3
about:
home: https://github.com/JeffersonLab/PyPWA
license: GNU General Public License v3 (GPLv3)
summary: "Pythonic Partial Wave Analysis Toolkit."
|
Allow deploy/ssh by trusted users | # Configure the box. This happens after system dependencies are installed,
# but before the project is cloned or built.
- name: set hostname
hostname: name={{hostname}}
- name: add loopback references to our domain in /etc/hosts
lineinfile: "dest=/etc/hosts line='127.0.0.1 {{hostname}} {{app_fqdn}}'"
- name: get github public key
command: /usr/bin/ssh-keyscan github.com
register: github_keyscan
- name: add github key to ssh known hosts
lineinfile: dest=/etc/ssh/ssh_known_hosts
create=yes
regexp='^github.com'
line="{{github_keyscan.stdout}}"
- name: ensure ssh agent socket environment variable persists when sudoing
lineinfile: dest=/etc/sudoers
insertafter='^Defaults'
line='Defaults env_keep += "SSH_AUTH_SOCK"'
state=present
validate='visudo -cf %s'
| # Configure the box. This happens after system dependencies are installed,
# but before the project is cloned or built.
- name: set hostname
hostname: name={{hostname}}
- name: add loopback references to our domain in /etc/hosts
lineinfile: "dest=/etc/hosts line='127.0.0.1 {{hostname}} {{app_fqdn}}'"
- name: get github public key
command: /usr/bin/ssh-keyscan github.com
register: github_keyscan
- name: add github key to ssh known hosts
lineinfile: dest=/etc/ssh/ssh_known_hosts
create=yes
regexp='^github.com'
line="{{github_keyscan.stdout}}"
- name: ensure ssh agent socket environment variable persists when sudoing
lineinfile: dest=/etc/sudoers
insertafter='^Defaults'
line='Defaults env_keep += "SSH_AUTH_SOCK"'
state=present
validate='visudo -cf %s'
- name: add all users
user: name={{item.name}} state={{item.state}} groups={{item.groups}} password={{item.shadow_pass}} shell={{item.shell | default("/bin/bash") }} force=yes
with_items: users
- name: add all users keys
authorized_key: user={{item.0.name}} key="{{item.1.key}}" state={{item.1.state}}
with_subelements:
- users
- keys
|
Move from beta2 to es rc1 for system tests | libbeat:
build: .
links:
- redis
- elasticsearch-172
- elasticsearch-200
- logstash
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- LS_HOST=logstash
- LS_LUMBERJACK_TCP_PORT=12345
env_file:
- build/test.env
elasticsearch-172:
image: elasticsearch:1.7.2
elasticsearch-200:
image: elasticsearch:2.0.0-beta2
command: elasticsearch -Des.network.host=0.0.0.0
redis:
image: redis
logstash:
build: scripts/docker/logstash
env_file:
- build/test.env
links:
- elasticsearch-172
- elasticsearch-200
| libbeat:
build: .
links:
- redis
- elasticsearch-172
- elasticsearch-200
- logstash
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- LS_HOST=logstash
- LS_LUMBERJACK_TCP_PORT=12345
env_file:
- build/test.env
elasticsearch-172:
image: elasticsearch:1.7.2
elasticsearch-200:
image: elasticsearch:2.0.0-rc1
command: elasticsearch -Des.network.host=0.0.0.0
redis:
image: redis
logstash:
build: scripts/docker/logstash
env_file:
- build/test.env
links:
- elasticsearch-172
- elasticsearch-200
|
Remove CKAN redirect from production | ---
govuk_solr::disable: true
govuk_solr6::present: true
govuk::apps::ckan::enabled: true
govuk::apps::ckan::blanket_redirect_url: https://data.gov.uk/ckan_maintenance
govuk::apps::ckan::enable_harvester_fetch: false
govuk::apps::ckan::enable_harvester_gather: false
govuk::apps::ckan::cronjobs::enable: false
govuk::apps::ckan::cronjobs::enable_solr_reindex: false
govuk::apps::ckan::solr_core: ckan
govuk::apps::ckan::solr_core_configset: ckan28
| ---
govuk_solr::disable: true
govuk_solr6::present: true
govuk::apps::ckan::enabled: true
govuk::apps::ckan::enable_harvester_fetch: false
govuk::apps::ckan::enable_harvester_gather: false
govuk::apps::ckan::cronjobs::enable: false
govuk::apps::ckan::cronjobs::enable_solr_reindex: false
govuk::apps::ckan::solr_core: ckan
govuk::apps::ckan::solr_core_configset: ckan28
|
Remove redis, add composer container | version: '2'
services:
web:
build:
context: ./
dockerfile: deploy/web.docker
volumes:
- ./:/var/www
ports:
- "8080:80"
networks:
- app-network
app:
build:
context: ./
dockerfile: deploy/app.docker
volumes:
- ./:/var/www
environment:
- "DB_PORT=3306"
- "DB_HOST=database"
- "REDIS_PORT=6379"
- "REDIS_HOST=cache"
networks:
- app-network
database:
image: mysql:5.6
environment:
- "MYSQL_ROOT_PASSWORD=secret"
- "MYSQL_DATABASE=dockerApp"
ports:
- "33061:3306"
networks:
- app-network
cache:
image: redis:3.0
ports:
- "63791:6379"
networks:
- app-network
networks:
app-network:
driver: bridge | version: '2'
services:
web:
build:
context: ./
dockerfile: deploy/web.docker
volumes:
- ./:/var/www
ports:
- "8080:80"
networks:
- app-network
app:
build:
context: ./
dockerfile: deploy/app.docker
volumes:
- ./:/var/www
environment:
- "DB_PORT=3306"
- "DB_HOST=database"
networks:
- app-network
database:
image: mysql:5.6
environment:
- "MYSQL_ROOT_PASSWORD=guest"
- "MYSQL_DATABASE=interlight"
ports:
- "33061:3306"
networks:
- app-network
composer:
image: composer/composer
volumes_from:
- web
working_dir: /var/www
networks:
app-network:
driver: bridge
|
Update tornado recipe to version 4.5.1 | {% set version = "4.4.3" %}
package:
name: tornado
version: {{ version }}
source:
fn: tornado-{{ version }}.tar.gz
url: https://pypi.io/packages/source/t/tornado/tornado-{{ version }}.tar.gz
sha256: f267acc96d5cf3df0fd8a7bfb5a91c2eb4ec81d5962d1a7386ceb34c655634a8
build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
run:
- python
- ordereddict # [py<27]
- ssl_match_hostname # [py2k]
- singledispatch # [py<34]
- certifi # [py<34]
- backports_abc >=0.4 # [py<35]
test:
imports:
- tornado
- tornado.platform
- tornado.test
- tornado.gen
- tornado.netutil
about:
home: http://www.tornadoweb.org/
license: Apache Software License
summary: 'Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.'
| {% set version = "4.5.1" %}
package:
name: tornado
version: {{ version }}
source:
fn: tornado-{{ version }}.tar.gz
url: https://pypi.io/packages/source/t/tornado/tornado-{{ version }}.tar.gz
sha256: db0904a28253cfe53e7dedc765c71596f3c53bb8a866ae50123320ec1a7b73fd
build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
run:
- python
- ordereddict # [py<27]
- ssl_match_hostname # [py2k]
- singledispatch # [py<34]
- certifi # [py<34]
- backports_abc >=0.4 # [py<35]
test:
imports:
- tornado
- tornado.platform
- tornado.test
- tornado.gen
- tornado.netutil
about:
home: http://www.tornadoweb.org/
license: Apache Software License
summary: 'Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.'
|
Improve params for removing small objects and caputre more marker signal Endogenous_BASL_02 | ---
wall_channel: 0
marker_channel: 1
surface_percentile: 95
wall_percentile_filter_percentile: 95
wall_percentile_filter_size: 2
wall_zabove: -2
wall_zbelow: 6
wall_threshold_adaptive_block_size: 51
wall_remove_small_objects_in_cell_min_size: 20
wall_remove_small_objects_in_wall_min_size: 20
wall_erode_step: True
marker_zabove: -4
marker_zbelow: 6
marker_min_intensity: 0
| ---
wall_channel: 0
marker_channel: 1
surface_percentile: 95
wall_percentile_filter_percentile: 95
wall_percentile_filter_size: 2
wall_zabove: -2
wall_zbelow: 6
wall_threshold_adaptive_block_size: 51
wall_remove_small_objects_in_cell_min_size: 5
wall_remove_small_objects_in_wall_min_size: 50
wall_erode_step: True
marker_zabove: -2
marker_zbelow: 6
marker_min_intensity: 0
|
Change .bbl file included in `clean` | book_filename: "RProgrammingForResearch"
chapter_name: "Chapter "
rmd_files: ["index.Rmd", "01-course_info.Rmd", "02-prelim.Rmd", "references.Rmd"]
repo: https://github.com/geanders/RProgrammingForResearch/
edit:
link: https://github.com/geanders/RProgrammingForResearch/edit/master/%s
text: "Edit"
output_dir: _book
clean: [packages.bib, bookdown.bbl]
| book_filename: "RProgrammingForResearch"
chapter_name: "Chapter "
rmd_files: ["index.Rmd", "01-course_info.Rmd", "02-prelim.Rmd", "references.Rmd"]
repo: https://github.com/geanders/RProgrammingForResearch/
edit:
link: https://github.com/geanders/RProgrammingForResearch/edit/master/%s
text: "Edit"
output_dir: _book
clean: [packages.bib, RProgrammingForResearch.bbl]
|
Add "test" folder to exclude_paths | engines:
eslint:
enabled: true
duplication:
enabled: true
exclude_paths:
- test/
- examples/
config:
languages:
- javascript | exclude_paths:
- test/**/*
- examples/**/* |
Add caching of vendor code, change how tests are run | install:
- cinst php -y
- SET PATH=C:\tools\php\;%PATH%
- copy C:\tools\php\php.ini-production C:\tools\php\php.ini
- echo extension=ext\php_openssl.dll >> C:\tools\php\php.ini
- echo extension=ext\php_curl.dll >> C:\tools\php\php.ini
- php -r "readfile('https://getcomposer.org/installer');" | php
build_script:
- php composer.phar install
- php bin\phpunit
| install:
- cinst php -y
- SET PATH=C:\tools\php\;%PATH%
- copy C:\tools\php\php.ini-production C:\tools\php\php.ini
- echo extension=ext\php_openssl.dll >> C:\tools\php\php.ini
- echo extension=ext\php_curl.dll >> C:\tools\php\php.ini
- php -r "readfile('https://getcomposer.org/installer');" | php
- php composer.phar install --no-interaction
cache:
- composer.lock
- vendor
test_script:
- cd C:\projects\phpmd
- bin\phpunit.bat
|
Change websocket default loglevel to warn |
# -*- coding: utf-8; -*-
#
# This file is part of Superdesk.
#
# Copyright 2013, 2014, 2015 Sourcefabric z.u. and contributors.
#
# For the full copyright and license information, please see the
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license
version: 1
disable_existing_loggers: False
handlers:
console:
class: logging.StreamHandler
stream : ext://sys.stdout
loggers:
# superdesk.ws - used for debug message can be removed later on.
superdesk.ws:
handlers: [console]
level: DEBUG
superdesk.websockets_comms:
handlers: [console]
level: DEBUG
liveblog.ws:
handlers: [console]
level: DEBUG
worker:
handlers: [console]
level: WARN
root:
handlers: [console] |
# -*- coding: utf-8; -*-
#
# This file is part of Superdesk.
#
# Copyright 2013, 2014, 2015 Sourcefabric z.u. and contributors.
#
# For the full copyright and license information, please see the
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license
version: 1
disable_existing_loggers: False
handlers:
console:
class: logging.StreamHandler
stream : ext://sys.stdout
loggers:
# superdesk.ws - used for debug message can be removed later on.
superdesk.ws:
handlers: [console]
level: WARN
superdesk.websockets_comms:
handlers: [console]
level: WARN
liveblog.ws:
handlers: [console]
level: DEBUG
worker:
handlers: [console]
level: WARN
root:
handlers: [console] |
Add max func results rule | matchers:
-
type: 'glob'
config:
pattern: '**/*.go'
-
type: 'not'
config:
type: 'glob'
config:
pattern: '**/vendor/**/*'
-
type: 'not'
config:
type: 'glob'
config:
pattern: '**/*_test.go'
checkers:
local_return:
multi_word_ident_name:
exported_ident_doc:
has_ident_prefix: true
test_package:
consistent_receiver_names:
pass_context_first:
return_error_last:
line_length:
max_length: 90
tab_width: 4
left_quantifiers:
func_cyclo:
max: 15
group_param_types:
bad_range_reference:
unneeded_import_alias:
func_params_count:
max: 3
| matchers:
-
type: 'glob'
config:
pattern: '**/*.go'
-
type: 'not'
config:
type: 'glob'
config:
pattern: '**/vendor/**/*'
-
type: 'not'
config:
type: 'glob'
config:
pattern: '**/*_test.go'
checkers:
local_return:
multi_word_ident_name:
exported_ident_doc:
has_ident_prefix: true
test_package:
consistent_receiver_names:
pass_context_first:
return_error_last:
line_length:
max_length: 90
tab_width: 4
left_quantifiers:
func_cyclo:
max: 15
group_param_types:
bad_range_reference:
unneeded_import_alias:
func_params_count:
max: 3
func_results_count:
max: 2
|
Upgrade ruby versions to 2.4 through 2.6 | language: ruby
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
before_install:
- gem install bundler
script: "script/cibuild"
notifications:
email: false
cache: bundler
sudo: false
| language: ruby
rvm:
- 2.4
- 2.5
- 2.6
before_install:
- gem install bundler
script: "script/cibuild"
notifications:
email: false
cache: bundler
sudo: false
|
Allow PHP 7 failures in specs for now. Re-evaluate later. Remaining failures are due to bugs in test libraries. | language: php
php:
- 5.6
- 7.0
before_install:
- echo "extension=ldap.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer self-update
install:
- composer install --prefer-source --no-interaction --dev
script:
- bin/phpspec run --format=pretty --no-interaction
| language: php
php:
- 5.6
- 7.0
matrix:
allow_failures:
- php: 7.0
before_install:
- echo "extension=ldap.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer self-update
install:
- composer install --prefer-source --no-interaction --dev
script:
- bin/phpspec run --format=pretty --no-interaction
|
Remove test for nodejs older than 0.12 | language: node_js
sudo: false
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
branches:
only:
- master
- development
before_script:
- npm install -g grunt-cli | language: node_js
sudo: false
node_js:
- "4.1"
- "4.0"
- "0.12"
branches:
only:
- master
- development
before_script:
- npm install -g grunt-cli |
Remove "grep -v", we do not have any "do not run on 7.0" tests anymore | language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
before_script:
- wget 'https://github.com/xp-framework/xp-runners/releases/download/v6.3.0/setup' -O - | php
- echo "use=." > xp.ini
- echo "[runtime]" >> xp.ini
- echo "date.timezone=Europe/Berlin" >> xp.ini
script:
- (EXCD=0; for i in `ls -1 src/test/config/unittest/*.ini | grep -v not-on-php-$TRAVIS_PHP_VERSION`; do echo "---> $i"; ./xp -cp test.xar xp.unittest.Runner $i; RES=$?; if [ $RES -ne 0 ]; then EXCD=$RES; fi; done; exit $EXCD;)
| language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
before_script:
- wget 'https://github.com/xp-framework/xp-runners/releases/download/v6.3.0/setup' -O - | php
- echo "use=." > xp.ini
- echo "[runtime]" >> xp.ini
- echo "date.timezone=Europe/Berlin" >> xp.ini
script:
- (EXCD=0; for i in `ls -1 src/test/config/unittest/*.ini`; do echo "---> $i"; ./xp -cp test.xar xp.unittest.Runner $i; RES=$?; if [ $RES -ne 0 ]; then EXCD=$RES; fi; done; exit $EXCD;)
|
Make sure it's valid YML | language: php
php:
- 7.0
- 7.1
env:
global:
- setup=basic
sudo: false
before_install:
- travis_retry composer self-update
install:
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-dist --no-suggest; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
after_install:
- travis_retry php artisan key:generate
script: vendor/bin/phpunit | language: php
php:
- 7.0
- 7.1
env:
global:
- setup=basic
sudo: false
before_install:
- travis_retry composer self-update
install:
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-dist --no-suggest; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
after_install:
- travis_retry php artisan key:generate
script: vendor/bin/phpunit |
Update node to supported versions | language: node_js
node_js:
- "0.10"
- "0.11"
script: "npm test"
| language: node_js
node_js:
- "4"
- "6"
- "8"
script: "npm test"
|
Update to include node 0.12 and iojs | language: node_js
services:
- mongodb
env: SIS_RUN_LONG_TESTS=true
before_install:
- npm install -g grunt-cli
# per http://docs.travis-ci.com/user/database-setup/#MongoDB
- sleep 15
node_js:
- "0.10"
| language: node_js
services:
- mongodb
env: SIS_RUN_LONG_TESTS=true
before_install:
- npm install -g grunt-cli
# per http://docs.travis-ci.com/user/database-setup/#MongoDB
- sleep 15
node_js:
- "0.10"
- "0.12"
- "iojs"
|
Add Python 3.7 with Xenial | language: python
dist: trusty
notifications:
email: false
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
node_js:
- "6"
php:
- "7.0"
compiler:
- gcc
before_install:
- SKLEARN_PORTER_HOME=$(pwd)
- unset JAVA_TOOL_OPTIONS && unset _JAVA_OPTIONS
install:
- npm install xmlhttprequest
- pip install -U pip
- make install.requirements.development
before_script:
- gcc --version
- java -version
- node --version
- go version
- php --version
- ruby --version
- python --version
script:
- make test
| language: python
dist: trusty
notifications:
email: false
python:
- 2.7
- 3.4
- 3.5
- 3.6
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
compiler:
- gcc
before_install:
- SKLEARN_PORTER_HOME=$(pwd)
- unset JAVA_TOOL_OPTIONS && unset _JAVA_OPTIONS
install:
- npm install xmlhttprequest
- pip install -U pip
- make install.requirements.development
before_script:
- gcc --version
- java -version
- node --version
- go version
- php --version
- ruby --version
- python --version
script:
- make test
|
Build without `sudo` on Travis CI. | language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
- '6'
branches:
only:
- master
- development
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
- '6'
branches:
only:
- master
- development
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
|
Add PHP 7.1 to Travis | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
# run build against nightly but allow them to fail
matrix:
fast_finish: true
allow_failures:
- php: hhvm
# only one build will send the coverage, this'll speed up other one
include:
- php: 5.6
env: PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
before_install:
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- composer self-update
install:
- composer install --no-interaction --prefer-dist -o
script:
- mkdir -p build/logs
- phpunit -v $PHPUNIT_FLAGS
after_script:
- if [[ "$PHPUNIT_FLAGS" != "" ]]; then php vendor/bin/coveralls -v; fi;
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
# run build against nightly but allow them to fail
matrix:
fast_finish: true
allow_failures:
- php: hhvm
# only one build will send the coverage, this'll speed up other one
include:
- php: 7.0
env: PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
before_install:
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- composer self-update
install:
- composer install --no-interaction --prefer-dist -o
script:
- mkdir -p build/logs
- phpunit -v $PHPUNIT_FLAGS
after_script:
- if [[ "$PHPUNIT_FLAGS" != "" ]]; then php vendor/bin/coveralls -v; fi;
|
Remove 5.6 from ci builds for now | language: php
php:
- '5.6'
- '7.0'
- '7.1'
install:
- composer install --prefer-dist
| language: php
php:
- '7.0'
- '7.1'
install:
- composer install --prefer-dist
|
Upgrade setuptools before running tests on Travis. | language: python
sudo: false
matrix:
include:
- python: 3.6.0
env: TOXENV=py36
- python: 3.5.0
env: TOXENV=py35
- python: 3.4
env: TOXENV=py34
- python: 2.7
env: TOXENV=py27
install:
- pip install -U tox
script:
- tox
before_install:
- pip install -e .
- pip install pytest-cov codecov -r tests/requirements.txt
after_success:
- py.test tests/ --cov=./
- codecov | language: python
sudo: false
matrix:
include:
- python: 3.6.0
env: TOXENV=py36
- python: 3.5.0
env: TOXENV=py35
- python: 3.4
env: TOXENV=py34
- python: 2.7
env: TOXENV=py27
install:
- pip install -U setuptools tox
- pip install -e .
- pip install pytest-cov codecov -r tests/requirements.txt
script:
- tox
after_success:
- py.test tests/ --cov=./
- codecov
|
Use more modern Travis that doesn't cache engines | language: c
sudo: false
addons:
apt:
sources:
- r-packages-precise
packages:
- r-base-dev
- r-recommended
- pandoc
env:
- global:
- TRAVIS=true
- R_LIBS_USER=~/.R/library
cache:
directories:
~/.R
before_script:
- mkdir -p "$R_LIBS_USER"
script:
- Rscript -e "library(bettertrace); test_engine()"
- Rscript -e "quit(status = tryCatch({ test_engine(); 0 }, error = function(e) { message(e); 1 }))"
notifications:
email:
on_success: change
on_failure: change
| language: c
sudo: false
addons:
apt:
sources:
- r-packages-precise
packages:
- r-base-dev
- r-recommended
- pandoc
env:
- global:
- TRAVIS=true
- R_LIBS_USER=~/.R/library
cache:
directories:
~/.R
before_script:
- rm -rf "/home/travis/.R/.syberia"
- mkdir -p "$R_LIBS_USER"
script: "Rscript -e 'library(syberia); library(methods); devtools::with_options(list(stub = 1), force); syberia::syberia_engine(); quit(status = tryCatch({ syberia::test_engine(); 0 }, error = function(e) { message(e); message(bettertrace::stacktrace()); 1 }));'"
notifications:
email:
on_success: change
on_failure: change
|
Remove gallery examples from flake8 excludes | os: linux
dist: jammy
language: node_js
node_js: node
jobs:
include:
- addons:
chrome: "stable"
firefox: "latest"
apt:
packages:
- libnss3
services:
- xvfb
before_install:
- npm install testem
- ./node_modules/.bin/testem launchers
before_script:
- (cd scripts && python3.10 make_doc.py)
- (cd scripts && python3.10 transform_full_grammar.py)
- (cd scripts && python3.10 make_dist.py)
script:
# Some day, put back Chrome or "Headless Chrome" as well. For some reason
# as of 2022 Aug 23, the testem websocket connection is sometimes reset,
# which prevents the browser from reporting results to the testem process
# when running on Chrome.
- ./node_modules/.bin/testem --launch Firefox -t www/tests/run_tests.html ci
- language: python
python: '3.10'
before_install: pip install --upgrade pip
before_script: pip install flake8
script:
- EXCLUDE=./.*,scripts/make_ast_classes.py,www/gallery/kanban.py,www/gallery/sheet.py,www/src/Lib,www/tests
# stop the build if there are Python syntax errors or undefined names
- flake8 --builtins=__BRYTHON__ --exclude=$EXCLUDE --select=E9,F63,F7,F82 --show-source --statistics
| os: linux
dist: jammy
language: node_js
node_js: node
jobs:
include:
- addons:
chrome: "stable"
firefox: "latest"
apt:
packages:
- libnss3
services:
- xvfb
before_install:
- npm install testem
- ./node_modules/.bin/testem launchers
before_script:
- (cd scripts && python3.10 make_doc.py)
- (cd scripts && python3.10 transform_full_grammar.py)
- (cd scripts && python3.10 make_dist.py)
script:
# Some day, put back Chrome or "Headless Chrome" as well. For some reason
# as of 2022 Aug 23, the testem websocket connection is sometimes reset,
# which prevents the browser from reporting results to the testem process
# when running on Chrome.
- ./node_modules/.bin/testem --launch Firefox -t www/tests/run_tests.html ci
- language: python
python: '3.10'
before_install: pip install --upgrade pip
before_script: pip install flake8
script:
- EXCLUDE=./.*,scripts/make_ast_classes.py,www/src/Lib,www/tests
# stop the build if there are Python syntax errors or undefined names
- flake8 --builtins=__BRYTHON__ --exclude=$EXCLUDE --select=E9,F63,F7,F82 --show-source --statistics
|
Disable Travis-CI build on Python 3.2 | language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "nightly"
- "pypy"
# command to install dependencies
install:
- pip install pylint .
# command to run tests
script:
- python setup.py test
- python setup.py check
- python setup.py pep8
- pylint --errors-only dbusapi
- pylint --errors-only dbusdeviation
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "nightly"
- "pypy"
# Disabled due to bugs in the logilab package on the Python 3.2 build slave.
# See: https://travis-ci.org/pwithnall/dbus-deviation/jobs/60500460
# - "3.2"
# command to install dependencies
install:
- pip install pylint .
# command to run tests
script:
- python setup.py test
- python setup.py check
- python setup.py pep8
- pylint --errors-only dbusapi
- pylint --errors-only dbusdeviation
|
Add Python 3.4 for testing | language: python
python:
- "2.7"
env:
- DJANGO=1.7.1
install:
- pip install -e . --use-mirrors
- pip install -r schedule/requirements.txt --use-mirrors
- pip install -q Django==$DJANGO --use-mirrors
script:
- python setup.py develop
- python schedule/manage.py migrate
- python schedule/manage.py loaddata schedule
- python schedule/manage.py test
- coverage report -m
after_success:
- coveralls --verbose
| language: python
python:
- "2.7"
- "3.4"
env:
- DJANGO=1.7.1
install:
- pip install -e . --use-mirrors
- pip install -r schedule/requirements.txt --use-mirrors
- pip install -q Django==$DJANGO --use-mirrors
script:
- python setup.py develop
- python schedule/manage.py migrate
- python schedule/manage.py loaddata schedule
- python schedule/manage.py test
- coverage report -m
after_success:
- coveralls --verbose
|
Adjust Travis CI node versions | language: node_js
node_js:
- '4.5'
before_install:
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
before_script:
- npm install -g grunt
script:
- grunt standards
- npm test
# For code coverage:
after_success:
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
| language: node_js
node_js:
- "node" # Latest node version
- "lts/*" # Latest LTS version
- "10"
- "8"
- "6"
- "5"
- "4.3.2"
before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
script:
- grunt standards
- npm test
# For code coverage:
after_success:
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
|
Remove dist: trusty to try to fix failing Travis builds | sudo: false
dist: trusty
language: node_js
node_js:
- node
- 7
cache: yarn
services:
- mysql
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- yarn webdriver-manager update
- mysql --version
- mysql < server/test/init.sql
script:
- yarn gulp testPrep
- yarn test:server
- yarn test:client
after_success: gulp coveralls
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
| sudo: false
language: node_js
node_js:
- node
- 7
cache: yarn
services:
- mysql
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- yarn webdriver-manager update
- mysql --version
- mysql < server/test/init.sql
script:
- yarn gulp testPrep
- yarn test:server
- yarn test:client
after_success: gulp coveralls
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
|
Remove HHVM and add PHP 7.x to CI | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: vendor/bin/phpspec run
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: vendor/bin/phpspec run
|
Add mojo_services pub dependency from sky sdk | author: Chromium Authors <sky-dev@googlegroups.com>
dependencies:
mojo: '>=0.0.1 <1.0.0'
mojom: '>=0.0.4 <1.0.0'
vector_math: '>=1.4.3 <2.0.0'
description: Dart files to support executing inside Sky.
homepage: https://github.com/domokit/mojo/tree/master/sky
name: sky
version: 0.0.13
| author: Chromium Authors <sky-dev@googlegroups.com>
dependencies:
mojo: '>=0.0.1 <1.0.0'
mojom: '>=0.0.4 <1.0.0'
mojo_services: '>=0.0.4 <1.0.0'
vector_math: '>=1.4.3 <2.0.0'
description: Dart files to support executing inside Sky.
homepage: https://github.com/domokit/mojo/tree/master/sky
name: sky
version: 0.0.13
|
Fix CI homebrew error /usr/local/Homebrew/Library/Homebrew/brew.rb:12:in <main>: Homebrew must be run under Ruby 2.3 | .language: cpp
sudo: false
dist: trusty
branches:
only:
- master
- staging
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
packages:
- libhdf5-serial-dev
- zlib1g-dev
- libatlas-base-dev
- valgrind
- lcov
- graphviz
- doxygen
- doxygen-latex
- cppcheck
- libboost-serialization-dev
env: ENABLE_GCOV_COVERAGE=TRUE
before_install:
- gem install coveralls-lcov
after_success:
- ./scripts/run-coveralls.sh
- os: osx
compiler: clang
before_install: brew install hdf5 cppcheck
install:
- ./scripts/run-build.sh
script:
- ./scripts/run-cpputest.sh
- ./scripts/run-cppcheck.sh
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./scripts/run-valgrind.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./scripts/run-doxygen.sh; fi
notifications:
slack:
rooms:
- icb-dcm:PHyGJ38Zhp8HrwIxjZAwh9ZI#amici-dev
on_success: change
| .language: cpp
sudo: false
dist: trusty
branches:
only:
- master
- staging
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
packages:
- libhdf5-serial-dev
- zlib1g-dev
- libatlas-base-dev
- valgrind
- lcov
- graphviz
- doxygen
- doxygen-latex
- cppcheck
- libboost-serialization-dev
env: ENABLE_GCOV_COVERAGE=TRUE
before_install:
- gem install coveralls-lcov
after_success:
- ./scripts/run-coveralls.sh
- os: osx
compiler: clang
before_install:
- rvm install ruby-2.3.3 && rvm --default use 2.3.3 # otherwise homebrew fails
- brew install hdf5 cppcheck
install:
- ./scripts/run-build.sh
script:
- ./scripts/run-cpputest.sh
- ./scripts/run-cppcheck.sh
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./scripts/run-valgrind.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./scripts/run-doxygen.sh; fi
notifications:
slack:
rooms:
- icb-dcm:PHyGJ38Zhp8HrwIxjZAwh9ZI#amici-dev
on_success: change
|
Designate clang as my compiler | language: cpp
before_install:
- sudo add-apt-repository --yes ppa:kalakris/cmake
- sudo apt-get update -qq
- sudo apt-get install cmake
- sudo apt-get install libzmq3-dev
- sudo apt-get install libprotobuf-dev
- git submodule update --init --recursive
- mkdir build
script:
- cmake .
- make
| language: cpp
compiler: clang
before_install:
- sudo add-apt-repository --yes ppa:kalakris/cmake
- sudo apt-get update -qq
- sudo apt-get install cmake
- sudo apt-get install libzmq3-dev
- sudo apt-get install libprotobuf-dev
- git submodule update --init --recursive
- mkdir build
script:
- cmake .
- make
|
Add npm audit before image build | ---
sudo: required
dist: xenial
script:
- cp client/.env{.example,}
- cp server/.env{.example,}
- docker-compose up --build
after_script:
- docker-compose down
| ---
sudo: required
dist: xenial
script:
- echo 'VUE_APP_HOSTNAME=http://server:3000/api' > client/.env
- docker-compose build
- docker-compose up -d
- docker exec $(docker container ls -f name=client -q) npm audit
- docker exec $(docker container ls -f name=server -q) npm audit
after_script:
- docker-compose down
|
Update Travis build given PHP 5.6 - 7.1 is EOL | language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
sudo: false
before_install:
- composer self-update
install:
- travis_retry composer install --no-interaction
script:
- ./vendor/bin/phpunit -v tests/
- ./vendor/bin/phpcs --config-set default_standard PSR2
- ./vendor/bin/phpcs src/ tests/ | language: php
php:
- 7.2
- 7.3
sudo: false
before_install:
- composer self-update
install:
- travis_retry composer install --no-interaction
script:
- ./vendor/bin/phpunit -v tests/
- ./vendor/bin/phpcs --config-set default_standard PSR2
- ./vendor/bin/phpcs src/ tests/ |
Replace Go 1.7 with Go 1.8 in Travis config. | language: go
sudo: false
go:
- 1.7.x
- 1.x
- tip
go_import_path: pack.ag/amqp
matrix:
allow_failures:
- go: tip
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get -t -v -d -tags "integration gofuzz" ./...
script:
- make coverage
- goveralls -coverprofile=cover.out -service=travis-ci
| language: go
sudo: false
go:
- 1.8.x
- 1.x
- tip
go_import_path: pack.ag/amqp
matrix:
allow_failures:
- go: tip
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get -t -v -d -tags "integration gofuzz" ./...
script:
- make coverage
- goveralls -coverprofile=cover.out -service=travis-ci
|
Add Node.js 8 to Travis CI | language: node_js
cache: yarn
node_js:
- stable
- "6"
- "4"
| language: node_js
cache: yarn
node_js:
- stable
- "8"
- "6"
- "4"
|
Install the Android support repository before running a build | language: android
android:
components:
- build-tools-23.0.0
- android-23
jdk:
- oraclejdk7
- oraclejdk8
sudo: false
cache:
directories:
- $HOME/.m2 | language: android
before_install:
- echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null
install:
- true
android:
components:
- build-tools-23.0.0
- android-23
jdk:
- oraclejdk7
- oraclejdk8
sudo: false
cache:
directories:
- $HOME/.m2 |
Update from Hackage at 2016-12-11T07:11:27Z | homepage: https://github.com/jtobin/sampling
changelog-type: ''
hash: ef1b17f37be4a276eb49e999a244f15a0d61634add8e3249feea4d7d571814e2
test-bench-deps:
base: -any
criterion: -any
sampling: -any
maintainer: jared@jtobin.ca
synopsis: Sample values from collections.
changelog: ''
basic-deps:
mwc-random: ! '>=0.13 && <0.14'
base: <5
foldl: ! '>=1.1 && <2'
sampling: -any
primitive: -any
vector: ! '>=0.11 && <0.12'
all-versions:
- '0.1.1'
- '0.2.0'
author: Jared Tobin
latest: '0.2.0'
description-type: haddock
description: ! 'Basic sampling tools.
Exports variations on two simple functions for sampling from arbitrary
''Foldable'' collections:
* ''sample'', for sampling without replacement
* ''resample'', for sampling with replacement (i.e., a bootstrap)'
license-name: MIT
| homepage: https://github.com/jtobin/sampling
changelog-type: ''
hash: 7080a7fcd487dc1116f573e0f66ae6813874206d756b46cde77cfa87a06f41b3
test-bench-deps:
base: -any
criterion: -any
sampling: -any
maintainer: jared@jtobin.ca
synopsis: Sample values from collections.
changelog: ''
basic-deps:
mwc-random: ! '>=0.13 && <0.14'
base: ! '>4 && <6'
containers: ! '>=0.5 && <1'
foldl: ! '>=1.1 && <2'
primitive: ! '>=0.6 && <1'
vector: ! '>=0.11 && <0.12'
all-versions:
- '0.1.1'
- '0.2.0'
- '0.3.0'
author: Jared Tobin
latest: '0.3.0'
description-type: haddock
description: ! 'Basic sampling tools.
Exports variations on two simple functions for sampling from arbitrary
''Foldable'' collections:
* ''sample'', for sampling without replacement
* ''resample'', for sampling with replacement (i.e., a bootstrap)
Each variation can be prefixed with ''p'' to sample from a container of values
weighted by probability.'
license-name: MIT
|
Declare phpunit target to avoid false positive codestyle error | imports:
- { resource: 'vendor/lmc/coding-standard/easy-coding-standard.yaml' }
parameters:
skip:
PHP_CodeSniffer\Standards\Generic\Sniffs\PHP\ForbiddenFunctionsSniff:
- 'src-tests/bootstrap.php'
- 'src-tests/ConfigHelper.php'
- 'src-tests/ConfigProviderTest.php'
- 'src/bootstrap.php'
- 'src/Component/Legacy.php'
- 'src/Listener/TestStartLogListener.php'
- 'src/Listener/TestStatusListener.php'
- 'src/Test/AbstractTestCase.php'
- 'src/WebDriver/RemoteWebDriver.php'
PHP_CodeSniffer\Standards\Generic\Sniffs\Files\OneClassPerFileSniff.MultipleFound:
- 'src-tests/Process/Fixtures/InvalidTests/MultipleClassesInFileTest.php'
exclude_files:
- 'src-tests/coverage/*'
- 'src-tests/FunctionalTests/logs/coverage/*'
- 'src-tests/Utils/Annotations/Fixtures/*'
services:
PHP_CodeSniffer\Standards\Generic\Sniffs\Files\LineLengthSniff:
absoluteLineLimit: 120 # To enforce line length limit
| imports:
- { resource: 'vendor/lmc/coding-standard/easy-coding-standard.yaml' }
parameters:
skip:
PHP_CodeSniffer\Standards\Generic\Sniffs\PHP\ForbiddenFunctionsSniff:
- 'src-tests/bootstrap.php'
- 'src-tests/ConfigHelper.php'
- 'src-tests/ConfigProviderTest.php'
- 'src/bootstrap.php'
- 'src/Component/Legacy.php'
- 'src/Listener/TestStartLogListener.php'
- 'src/Listener/TestStatusListener.php'
- 'src/Test/AbstractTestCase.php'
- 'src/WebDriver/RemoteWebDriver.php'
PHP_CodeSniffer\Standards\Generic\Sniffs\Files\OneClassPerFileSniff.MultipleFound:
- 'src-tests/Process/Fixtures/InvalidTests/MultipleClassesInFileTest.php'
exclude_files:
- 'src-tests/coverage/*'
- 'src-tests/FunctionalTests/logs/coverage/*'
- 'src-tests/Utils/Annotations/Fixtures/*'
services:
PHP_CodeSniffer\Standards\Generic\Sniffs\Files\LineLengthSniff:
absoluteLineLimit: 120 # To enforce line length limit
PhpCsFixer\Fixer\PhpUnit\PhpUnitExpectationFixer:
target: '5.6'
|
Make it arch-specific while there's no windows duckdb package | {% set name = "duckcli" %}
{% set version = "0.2.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/duckcli-{{ version }}.tar.gz
sha256: 16ef54525936c0eecb1eb01123ba6d8e661dc0c291b4e13b2fd3025ec3182ad4
build:
entry_points:
- duckcli = duckcli.main:cli
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
requirements:
host:
- pip
- python
run:
- cli_helpers >=2.2.1
- click >=4.1
- configobj >=5.0.5
- python-duckdb >=0.4.0
- prompt_toolkit >=3.0.3,<4.0.0
- pygments >=1.6
- python
- sqlparse
test:
imports:
- duckcli
commands:
- pip check
- duckcli --help
requires:
- pip
about:
home: https://github.com/dbcli/duckcli
summary: CLI for DuckDB with auto-completion and syntax highlighting.
license: BSD-3-Clause
license_file: LICENSE
extra:
recipe-maintainers:
- gforsyth
| {% set name = "duckcli" %}
{% set version = "0.2.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/duckcli-{{ version }}.tar.gz
sha256: 16ef54525936c0eecb1eb01123ba6d8e661dc0c291b4e13b2fd3025ec3182ad4
build:
entry_points:
- duckcli = duckcli.main:cli
script: {{ PYTHON }} -m pip install . -vv
number: 0
skip: true # [win]
requirements:
host:
- pip
- python
run:
- cli_helpers >=2.2.1
- click >=4.1
- configobj >=5.0.5
- python-duckdb >=0.4.0
- prompt_toolkit >=3.0.3,<4.0.0
- pygments >=1.6
- python
- sqlparse
test:
imports:
- duckcli
commands:
- pip check
- duckcli --help
requires:
- pip
about:
home: https://github.com/dbcli/duckcli
summary: CLI for DuckDB with auto-completion and syntax highlighting.
license: BSD-3-Clause
license_file: LICENSE
extra:
recipe-maintainers:
- gforsyth
|
Add newer Rubies for CI tests | language: ruby
gemfile: Gemfile.ci
script: bundle exec rspec
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
branches:
only:
- master
| language: ruby
gemfile: Gemfile.ci
script: bundle exec rspec
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
branches:
only:
- master
|
Fix permissions related to worker changes | language: php
before_script:
- sudo apt-get install liblocal-lib-perl
- perl --version
- curl -L http://cpanmin.us | sudo perl - --self-upgrade
# - export CI_USER=$USER
# - mkdir ~/perl5
- perl -Mlocal::lib >> /tmp/local_lib_junk.sh && source /tmp/local_lib_junk.sh
- sudo chown -R $CI_USER ~/.cpanm
- sudo chown -R $CI_USER ~/perl5
- cpanm -n Test::Most Test::WWW::Mechanize Test::JSON URL::Encode
php:
- 5.2
- 5.3
- 5.4
script: "make fulltest"
env:
- export CASHMUSIC_TEST_URL = 'http://dev.cashmusic.org:8080'
| language: php
before_script:
- env
- sudo apt-get install liblocal-lib-perl
- perl --version
- curl -L http://cpanmin.us | sudo perl - --self-upgrade
# - export CI_USER=$USER
# - mkdir ~/perl5
- perl -Mlocal::lib >> /tmp/local_lib_junk.sh && source /tmp/local_lib_junk.sh
- sudo chown -R $CI_USER ~/.cpanm
- sudo chown -R $CI_USER ~/perl5
- cpanm -n Test::Most Test::WWW::Mechanize Test::JSON URL::Encode
php:
- 5.2
- 5.3
- 5.4
script: "make fulltest"
env:
- CI_USER=vagrant CASHMUSIC_TEST_URL = 'http://dev.cashmusic.org:8080'
|
Deploy to Heroku on successful build | language: python
python:
- "3.5"
- "3.5-dev"
script:
- pycodestyle
- pylint *.py
- python tests.py
| language: python
python:
- '3.5'
- 3.5-dev
script:
- pycodestyle
- pylint *.py
- python tests.py
deploy:
provider: heroku
app: unixtimesta-mp
api_key:
secure: D4u59gKzq2srbHH8PhBwQxdEBkMChscJUzKa4yjAgm9TFpCk6Ygt076KsXg6sxKdj+kBsWnhPb88APe5gxJvQxQw/8tzonIKndVuL5Alz+JTSL2n6eE6+RNjwbkFi8jceMMaYNmwU4h5qKm03wEARVJGDAjNoOXm+W63cFawGRPdqdsHKUZeh5w4n0ZbE/6HS0EBd+JFFqpX3VAh5YMosNBh4TBOO6SZA71AQapuzmn2JjA/jXLqMUn7uqfVLIszij4P7z6yQ+MemonvNr9bVyFA0ZW8eThkmjMzKcqspd2I2dh54NxIxRXA6G3q4ZaQRPxyJ6pPWsa98m1zKLKvNNp4SqZsy7+kV+1vY84OBSO8agkg9YzLtiAf+ZMy1MG9hy+lU9SjUd9o+pJbqcqj7az2e1heRj9/TD5WOWPhog//liLR0ibqHlcXoaSuLFceTpQ3eTh8j+Icu74Pwp2/F+8dKCiHnuHPV9CIFkEaU3DqijUIVLzOAe0PHhrePej0OILohYxyfWpDszNX/ZAk92/AJAXyZy2wwA+fwJz6No7slB/d90jE2IwtBpWlnZb3sQRepty1v8vN3qfrMRItc5BYzNQ9E7tJjRyRw7MQeqv7q2EeGbOFq5oRJb59cHoGTuFp8JU5bsOVqL5T1bx4ko0+XgdPLqJJ4l1oLE34z1c=
|
Send coverage report to the CodeClimet service | language: node_js
node_js:
- '0.12'
addons:
code_climate:
repo_token: e55c7b21ecb92332a55e3c8fe98821a8feaa3dc2ca9cb4f64f146e451762202c
before_script:
- npm run lint
deploy:
provider: npm
email: pavlov.valerii@gmail.com
api_key:
secure: FFnSd17dPqUMbG2azmubkOpjRbnlmfes7LINE7M9stBG1fAqSZAyuukvQaKiWjLf/x4N6hYcbO6TRkBayhcHQVW5g+qT8I5eQu8IAYIaGfsAUWNwXwZv+TyvC1P2TVdZrrACxyZU2woFxOpVr6hewweETXLlBQ+fagPwpfRse4A=
on:
tags: true
| language: node_js
node_js:
- '0.12'
addons:
code_climate:
repo_token: e55c7b21ecb92332a55e3c8fe98821a8feaa3dc2ca9cb4f64f146e451762202c
before_script:
- npm run lint
after_script:
- codeclimate-test-reporter < reports/coverage/lcov.info
deploy:
provider: npm
email: pavlov.valerii@gmail.com
api_key:
secure: FFnSd17dPqUMbG2azmubkOpjRbnlmfes7LINE7M9stBG1fAqSZAyuukvQaKiWjLf/x4N6hYcbO6TRkBayhcHQVW5g+qT8I5eQu8IAYIaGfsAUWNwXwZv+TyvC1P2TVdZrrACxyZU2woFxOpVr6hewweETXLlBQ+fagPwpfRse4A=
on:
tags: true
|
Revert "Avoid both installing from a PPA and compiling" | language: python
sudo: required
python:
- "3.5"
#virtualenv:
# system_site_packages: true
before_install:
- sudo apt-add-repository ppa:beineri/opt-qt551 -y
- sudo apt-get update
- sudo apt-get install qt-latest
- source /opt/qt55/bin/qt55-env.sh
install:
- "pip install markdown whoosh"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: python test.py
| language: python
sudo: required
python:
- "3.5"
#virtualenv:
# system_site_packages: true
before_install:
- sudo apt-add-repository ppa:beineri/opt-qt551 -y
- sudo apt-get update
- sudo apt-get install qt-latest
- source /opt/qt55/bin/qt55-env.sh
- ./ci/before_install.sh
install:
- "pip install markdown whoosh"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: python test.py
|
Add test for django 1.10 | language: python
python:
- 2.7
env:
- DJANGO=1.7.11
- DJANGO=1.8.9
- DJANGO=1.9.2
install:
- pip install -q Django==$DJANGO
- pip install -r requirements_dev.txt
- pip install -q coveralls
- pip install flake8 mock
- python setup.py -q install
before_script:
- flake8 --exclude=migrations,south_migrations pushy
script:
- py.test -q
after_success:
- coveralls
| language: python
python:
- 2.7
env:
- Django=1.7.11
- Django=1.8.9
- Django=1.9.2
- Django=1.10
install:
- pip install -q Django==$DJANGO
- pip install -r requirements_dev.txt
- pip install -q coveralls
- pip install flake8 mock
- python setup.py -q install
before_script:
- flake8 --exclude=migrations,south_migrations pushy
script:
- py.test -q
after_success:
- coveralls
|
Create tmp dirs for tests. | language: php
php:
- 7.2
- 7.3
- 7.4.22
# run build against nightly but allow them to fail
matrix:
fast_finish: true
# allow_failures:
# only one build will send the coverage, this'll speed up other one
# include:
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
before_install:
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- composer self-update
install:
- composer install --no-interaction --prefer-dist -o
script:
- XDEBUG_MODE=coverage vendor/bin/phpunit
after_script:
- travis_retry php vendor/bin/php-coveralls -v
| language: php
php:
- 7.2
- 7.3
- 7.4.22
# run build against nightly but allow them to fail
matrix:
fast_finish: true
# allow_failures:
# only one build will send the coverage, this'll speed up other one
# include:
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
before_install:
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- composer self-update
- mkdir tests/upload/dst
- chmod +w tests/upload/dst
- mkdir tests/upload/tmp
- chmod +w tests/upload/tmp
install:
- composer install --no-interaction --prefer-dist -o
script:
- XDEBUG_MODE=coverage vendor/bin/phpunit
after_script:
- travis_retry php vendor/bin/php-coveralls -v
|
Remove --use-mirrors flag from pip install | language: python
python:
- 2.6
- 2.7
install:
- pip install -r requirements.txt --use-mirrors
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script: coverage run --source=breeze setup.py test
notifications:
email:
recipients:
- aortiz32@gmail.com
on_success: [always|never|change] # default: change
on_failure: [always|never|change] # default: always
after_success: coveralls
| language: python
python:
- 2.6
- 2.7
install:
- pip install -r requirements.txt
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script: coverage run --source=breeze setup.py test
notifications:
email:
recipients:
- aortiz32@gmail.com
on_success: [always|never|change] # default: change
on_failure: [always|never|change] # default: always
after_success: coveralls
|
Add arrow to install requirements. | language: python
install:
- pip install coveralls hypothesis
script:
- ./test --coverage
- coverage run -m py.test
after_success:
- coveralls
jobs:
include:
- python: 2.7
- python: 3.5
- python: 3.6
- python: 3.7
- python: 3.8
- python: nightly
allow_failures:
- python: 3.5
- python: nightly
fast_finish: true
| language: python
install:
- pip install coveralls hypothesis arrow
script:
- ./test --coverage
- coverage run -m py.test
after_success:
- coveralls
jobs:
include:
- python: 2.7
- python: 3.5
- python: 3.6
- python: 3.7
- python: 3.8
- python: nightly
allow_failures:
- python: 3.5
- python: nightly
fast_finish: true
|
Use local Maven on Travis CI | language: java
script: ./mvnw clean package -P strict
after_success:
- ./mvnw jacoco:report coveralls:report
jdk:
- oraclejdk7
- oraclejdk8
branches:
only:
- master
sudo: false
| language: java
script: mvn clean package -P strict
after_success:
- mvn jacoco:report coveralls:report
jdk:
- oraclejdk7
- oraclejdk8
branches:
only:
- master
sudo: false
|
Add more CI testing targets | sudo: required
language: bash
services:
- docker
addons:
apt:
packages:
- docker-ce
env:
- ES_VERSION=6.0.0
- ES_VERSION=5.6.4
install:
# Build and package the dictionary before testing
- script/build.sh
# Build the Docker image that we're going to use for testing
- docker build --build-arg ES_VERSION=${ES_VERSION} -t ${TRAVIS_REPO_SLUG} .
before_script: >
docker run \
-d \
-p 127.0.0.1:9200:9200 \
-e "discovery.type=single-node" \
-e "xpack.security.enabled=false" \
${TRAVIS_REPO_SLUG}
script:
# Wait for Elasticsearch to start accepting incoming connections
- wget --retry-connrefused --tries=30 --wait=1 --spider --quiet http://127.0.0.1:9200/
# Start testing!
- script/test.sh
| sudo: required
language: bash
services:
- docker
addons:
apt:
packages:
- docker-ce
env:
- ES_VERSION=6.5.1
- ES_VERSION=6.4.3
- ES_VERSION=6.3.2
- ES_VERSION=6.2.4
- ES_VERSION=6.1.4
- ES_VERSION=6.0.1
- ES_VERSION=5.6.13
install:
# Build and package the dictionary before testing
- script/build.sh
# Build the Docker image that we're going to use for testing
- docker build --build-arg ES_VERSION=${ES_VERSION} -t ${TRAVIS_REPO_SLUG} .
before_script: >
docker run \
-d \
-p 127.0.0.1:9200:9200 \
-e "discovery.type=single-node" \
-e "xpack.security.enabled=false" \
${TRAVIS_REPO_SLUG}
script:
# Wait for Elasticsearch to start accepting incoming connections
- wget --retry-connrefused --tries=30 --wait=1 --spider --quiet http://127.0.0.1:9200/
# Start testing!
- script/test.sh
|
Disable pip version check on Travis runs | language: python
addons:
postgresql: 9.3
branches:
only:
- master
before_install:
- node --version
cache:
directories:
- env/bin
- env/lib/python2.7/site-packages
install:
- if [ "${TRAVIS_BRANCH}" = "master" -a "${TRAVIS_PULL_REQUEST}" = "false" ]; then rm -rf env; fi
- touch requirements.txt package.json
- make env
- make node_modules
- pip install coveralls
before_script:
- echo "DATABASE_URL=dbname=gratipay" | tee -a tests/local.env local.env
- psql -U postgres -c 'CREATE DATABASE "gratipay";'
- if [ "${TRAVIS_BRANCH}" = "master" -a "${TRAVIS_PULL_REQUEST}" = "false" ]; then rm -rfv tests/py/fixtures; fi
script: make test
after_success:
coveralls
notifications:
email: false
irc:
channels:
- "chat.freenode.net#gratipay"
on_success: change
on_failure: always
template:
- "%{repository} (%{branch}:%{commit} by %{author}): %{message} (%{build_url})"
skip_join: true
sudo: false
| language: python
addons:
postgresql: 9.3
branches:
only:
- master
before_install:
- node --version
cache:
directories:
- env/bin
- env/lib/python2.7/site-packages
install:
- if [ "${TRAVIS_BRANCH}" = "master" -a "${TRAVIS_PULL_REQUEST}" = "false" ]; then rm -rf env; fi
- touch requirements.txt package.json
- make env
- make node_modules
- pip install coveralls --disable-pip-version-check
before_script:
- echo "DATABASE_URL=dbname=gratipay" | tee -a tests/local.env local.env
- psql -U postgres -c 'CREATE DATABASE "gratipay";'
- if [ "${TRAVIS_BRANCH}" = "master" -a "${TRAVIS_PULL_REQUEST}" = "false" ]; then rm -rfv tests/py/fixtures; fi
script: make test
after_success:
coveralls
notifications:
email: false
irc:
channels:
- "chat.freenode.net#gratipay"
on_success: change
on_failure: always
template:
- "%{repository} (%{branch}:%{commit} by %{author}): %{message} (%{build_url})"
skip_join: true
sudo: false
|
Drop CI support for Puppet 3 | ---
sudo: false
language: ruby
cache: bundler
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
matrix:
fast_finish: true
include:
- rvm: 2.1
env: PUPPET_VERSION="~> 3"
- rvm: 2.3
env: PUPPET_VERSION="~> 4"
- rvm: 2.4
env: PUPPET_VERSION="~> 5"
# Beaker tests
- env: BEAKER_set=debian-8-64
bundler_args: --without development
script: bundle exec rake beaker
dist: trusty
services: docker
sudo: required
# Disabled due to https://github.com/puppetlabs/puppetlabs-apache/pull/1724
# - env: BEAKER_set=default # Debian 9
# bundler_args: --without development
# script: bundle exec rake beaker
# dist: trusty
# services: docker
# sudo: required
- env: BEAKER_set=ubuntu-1404-64
bundler_args: --without development
script: bundle exec rake beaker
dist: trusty
services: docker
sudo: required
- env: BEAKER_set=ubuntu-1604-64
bundler_args: --without development
script: bundle exec rake beaker
dist: trusty
services: docker
sudo: required
| ---
sudo: false
language: ruby
cache: bundler
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
matrix:
fast_finish: true
include:
- rvm: 2.3
env: PUPPET_VERSION="~> 4"
- rvm: 2.4
env: PUPPET_VERSION="~> 5"
# Beaker tests
- env: BEAKER_set=debian-8-64
bundler_args: --without development
script: bundle exec rake beaker
dist: trusty
services: docker
sudo: required
# Disabled due to https://github.com/puppetlabs/puppetlabs-apache/pull/1724
# - env: BEAKER_set=default # Debian 9
# bundler_args: --without development
# script: bundle exec rake beaker
# dist: trusty
# services: docker
# sudo: required
- env: BEAKER_set=ubuntu-1404-64
bundler_args: --without development
script: bundle exec rake beaker
dist: trusty
services: docker
sudo: required
- env: BEAKER_set=ubuntu-1604-64
bundler_args: --without development
script: bundle exec rake beaker
dist: trusty
services: docker
sudo: required
|
Remove Python 3.3 from Travis list, since Boto doesn't work with Py3k. | # Config file for automatic testing at travis-ci.org
language: python
python:
- "3.3"
- "2.7"
- "2.6"
- "pypy"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements.txt
# command to run tests, e.g. python setup.py test
script: python setup.py test | # Config file for automatic testing at travis-ci.org
language: python
python:
- "2.7"
- "2.6"
- "pypy"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements.txt
# command to run tests, e.g. python setup.py test
script: python setup.py test
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.