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=firefo... | 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: "Fir... |
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... | 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: bun... |
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
... | 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
... |
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=$T... | 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_BRAN... |
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/pi... | 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/pi... |
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/Recip... | 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/... |
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 p... | 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 --form... |
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 not... | 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 not... |
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_in... | 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... |
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 p... | 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... |
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-mi... | 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-mi... |
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/m... | - 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/m... |
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: |
#... | 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 Has... |
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: act... | 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:
... |
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'
barbac... | 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 ... |
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: '>=... | 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: '>=... |
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... | 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... |
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:... | 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'
argument... |
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... | 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... |
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 de... | 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 de... |
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 .
tes... | 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 .
tes... |
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 ... | # 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 ... |
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 "adoptope... | 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 | gr... |
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:
... | 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:
... |
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 PRIVILEGE... | 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=... |
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: requir... | 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: t... |
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 defau... | # 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 defau... |
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 istanb... | 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 i... |
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
- libxine... | 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
- libxine... |
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: y... | ---
- 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: y... |
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
... | 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... |
Fix FOSS Hours day-of-week, from Wednesday to Thursday. | ###############################################################################
# #
# WEBSITE CONFIGURATION #
# #
... | ###############################################################################
# #
# WEBSITE CONFIGURATION #
# #
... |
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
... | 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,... |
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... | # 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... |
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... | 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... |
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... | ---
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_cor... |
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/ap... | version: '2'
services:
web:
build:
context: ./
dockerfile: deploy/web.docker
volumes:
- ./:/var/www
ports:
- "8080:80"
networks:
- app-network
app:
build:
context: ./
dockerfile: deploy/ap... |
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.p... | {% 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.p... |
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
mark... | ---
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
marke... |
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... | 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... |
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_sc... | 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 c... |
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
versi... |
# -*- 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
versi... |
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:
ex... | 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:
ex... |
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 --f... |
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/te... | 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/te... |
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... | 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 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
... | 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 xmlhttpreque... |
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_... | 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... |
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 instal... | 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... |
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... | 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... |
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... | 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... |
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-on... | 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... |
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 loaddat... | 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.... |
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 | ./nod... |
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_succ... | 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 cov... |
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... |
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
- ... | .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
- ... |
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 .
- ... |
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:
-... |
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=c... | 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=c... |
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 ... | 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 ... |
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'
... | 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'
... |
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:
... | {% 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:
... |
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 ~/... | 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 $... |
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+RNjwbkFi8jceMMaYNmwU4h5qKm03wEARVJ... |
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/x4N... | 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:
sec... |
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_scr... | 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 m... |
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... | 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 --exclud... |
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 ven... | 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 ven... |
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] # defau... | 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
... |
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
-... | 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... |
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-... | 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
-... |
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 pack... | 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 pack... |
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=... | ---
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=... |
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... | # 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.