Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Fix NPM for node v0.8 | language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"
- "0.12"
- "iojs"
- "iojs-v1.4.2"
before_script:
- iojs -e 'new Promise(function(){}, function(){});' || node -e 'new Promise(function(){}, function(){});' || npm install bluebird | language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"
- "0.12"
- "iojs"
- "iojs-v1.4.2"
before_script:
- iojs -e 'new Promise(function(){}, function(){});' || node -e 'new Promise(function(){}, function(){});' || npm install npm -g && npm install bluebird |
Update to only test Python 3.6 and higher. | #######################################
# Travis CI script
#######################################
language: python
sudo: required
cache: pip
python:
- "2.7"
- "3.5"
- "3.6"
install:
- pip install -r requirements.txt
script:
- pytest tellurium
| #######################################
# Travis CI script
#######################################
language: python
sudo: required
cache: pip
python:
- "3.6"
- "3.7"
- "3.8"
install:
- pip install -r requirements.txt
script:
- pytest tellurium
|
Test python 3.8 and pypy | language: python
python:
- 2.7
- 3.5
- 3.6
- 3.7
script:
# pytest==4.6 fallback for Python 2.7
- pip install pytest==5.4 || pip install pytest==4.6
- python setup.py develop
- python -m pytest
| language: python
python:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
- pypy
- pypy3
script:
# pytest==4.6 fallback for Python 2.7
- pip install pytest==5.4 || pip install pytest==4.6
- python setup.py develop
- python -m pytest
|
Add gcc-4.7, gcc-4.8 and gcc-4.9 to Travis CI configuration. | language: cpp
compiler:
- gcc
- clang
script: make -C tests test
| language: cpp
matrix:
include:
- compiler: gcc
env: GCC=4.7
- compiler: gcc
env: GCC=4.8
- compiler: gcc
env: GCC=4.9
- compiler: clang
before_install:
- if [ -n "$GCC" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
- if [ -n "$GCC" ]; then sudo apt-get update -qq; fi
- if [ -n "$GCC" ]; then sudo apt-get install -qq g++-$GCC;fi
- if [ -n "$GCC" ]; then export CXX=g++-$GCC; fi
script: make -C tests test
|
Test under newest Ruby 2.1 release | script: "bundle exec rake spec"
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- ruby-head
- jruby
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby
- rvm: rbx-19mode
gemfile:
- gemfiles/rails_32.gemfile
- gemfiles/rails_40.gemfile
- gemfiles/rails_41.gemfile
| script: "bundle exec rake spec"
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- ruby-head
- jruby
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby
- rvm: rbx-19mode
gemfile:
- gemfiles/rails_32.gemfile
- gemfiles/rails_40.gemfile
- gemfiles/rails_41.gemfile
|
Stop building with tip since it didn't have `go yacc` | language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
- tip
sudo: false
| language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
# - tip
sudo: false
|
Remove Travis work around for ruby v1.8.7 | ---
# Broken bundler on travis CI - https://github.com/bundler/bundler/issues/2784
before_install:
- gem update --system 2.1.11
- gem --version
env:
- PUPPET_VERSION=2.7.23
- PUPPET_VERSION=3.3.2
notifications:
email: false
rvm:
- 1.9.3
- 1.8.7
matrix:
allow_failures:
- env: PUPPET_VERSION=2.7.23
language: ruby
before_script: "gem install --no-ri --no-rdoc bundler"
script: 'bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format documentation" bundle exec rake spec'
gemfile: Gemfile
| ---
env:
- PUPPET_VERSION=2.7.23
- PUPPET_VERSION=3.3.2
notifications:
email: false
rvm:
- 1.9.3
- 1.8.7
matrix:
allow_failures:
- env: PUPPET_VERSION=2.7.23
language: ruby
before_script: "gem install --no-ri --no-rdoc bundler"
script: 'bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format documentation" bundle exec rake spec'
gemfile: Gemfile
|
Test against multiple versions in Travis | sudo: false
language: ruby
rvm:
- 2.5.3
before_install: gem install bundler -v 1.17.1
| sudo: false
language: ruby
rvm:
- 2.5.3
gemfile:
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_5.2.gemfile
before_install: gem install bundler -v 1.17.1
|
Update from Hackage at 2020-04-16T12:45:41Z | homepage: ''
changelog-type: markdown
hash: 6d9b0f9bbf55add4338f76b7f0de5fd25890c0fab75a5c2fd4bd391cfd75852f
test-bench-deps: {}
maintainer: bennye@tcd.ie
synopsis: HTML Canvas graphics, animations and simulations.
changelog: |
# Revision history for Gleam
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
split: ! '>=0.2.3 && <0.3'
base: ! '>=4.9 && <4.10'
threepenny-gui: ! '>=0.8.3 && <0.9'
mtl: ! '>=2.2.2 && <2.3'
all-versions:
- 0.1.0.0
author: bennye@tcd.ie
latest: 0.1.0.0
description-type: haddock
description: |-
Gleam is a graphics library written in Haskell that uses the web-browser as a display.
Gleam is inspired by the Picture datatype from gloss Gloss and uses Threepenny-gui as its back-end local webserver.
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: 8c62ea250aab71f01667ee12d959255ead9d25f60289342df3d0dbe3c972a92f
test-bench-deps: {}
maintainer: bennye@tcd.ie
synopsis: HTML Canvas graphics, animations and simulations.
changelog: |
# Revision history for Gleam
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
split: '>=0.2.3 && <0.3'
base: '>=4.9 && <=5'
threepenny-gui: '>=0.8.3 && <0.9'
mtl: '>=2.2.2 && <2.3'
all-versions:
- 0.1.0.0
- 0.1.0.1
author: bennye@tcd.ie
latest: 0.1.0.1
description-type: haddock
description: |-
Gleam is a graphics library written in Haskell that uses the web-browser as a display.
Gleam is inspired by the Picture datatype from gloss Gloss and uses Threepenny-gui as its back-end local webserver.
license-name: BSD-3-Clause
|
Update from Hackage at 2017-02-01T10:16:41Z | homepage: https://github.com/minad/colorful-monoids#readme
changelog-type: ''
hash: 636af4cd69db82f1e73c8a330728bd8742f6e0e48cf7e996a40752fac0aed656
test-bench-deps:
colorful-monoids: -any
base: ! '>=4.8 && <5'
semigroups: ! '>=0.9 && <1'
maintainer: Daniel Mendler <mail@daniel-mendler.de>
synopsis: Styled console text output using ANSI escape sequences.
changelog: ''
basic-deps:
base: ! '>=4.8 && <5'
semigroups: ! '>=0.9 && <1'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.2.0.0'
- '0.2.0.1'
author: Daniel Mendler <mail@daniel-mendler.de>
latest: '0.2.0.1'
description-type: haddock
description: Styled console text output using ANSI escape sequences.
license-name: MIT
| homepage: https://github.com/minad/colorful-monoids#readme
changelog-type: ''
hash: f927c7c654708baee541e4ffc44bcc1376096d493bd2b7869a1a3ce098b55b4d
test-bench-deps:
colorful-monoids: -any
base: ! '>=4.8 && <5'
semigroups: ! '>=0.9 && <1'
maintainer: Daniel Mendler <mail@daniel-mendler.de>
synopsis: Styled console text output using ANSI escape sequences.
changelog: ''
basic-deps:
base: ! '>=4.8 && <5'
semigroups: ! '>=0.9 && <1'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.1.0'
author: Daniel Mendler <mail@daniel-mendler.de>
latest: '0.2.1.0'
description-type: haddock
description: Styled console text output using ANSI escape sequences.
license-name: MIT
|
Build with Node.js 14 on GitHub Actions. | name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm install --no-package-lock
- name: npm install nyc, prove, codecov
run: npm install -g nyc prove codecov
- name: npm test
run: nyc npm test
env:
CI: true
- name: generate codecov report
run: nyc report --reporter=text-lcov > coverage.lcov
- name: ship coverage to codecov
run: codecov
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
| name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm install --no-package-lock
- name: npm install nyc, prove, codecov
run: npm install -g nyc prove codecov
- name: npm test
run: nyc npm test
env:
CI: true
- name: generate codecov report
run: nyc report --reporter=text-lcov > coverage.lcov
- name: ship coverage to codecov
run: codecov
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
|
Change the package name to conda-kapsel from conda_kapsel | package:
name: conda_kapsel
version: {{ environ.get('GIT_DESCRIBE_TAG', '').replace('v', '') }}
source:
git_url: ../
# If you're trying to test build changes, you have to add this
# pointing to the branch you're modifying.
# git_tag: package-script
build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
entry_points:
- conda-kapsel = conda_kapsel.commands.main:main
requirements:
build:
- python
- setuptools
- psutil # needed by conda
- tornado
- ruamel_yaml
- beautifulsoup4
- requests
- anaconda-client
- "keyring >=9.0"
run:
- python
- tornado
- ruamel_yaml
- beautifulsoup4
- requests
- anaconda-client
- "keyring >=9.0"
test:
imports:
- conda_kapsel
commands:
- echo "First of test commands"
- conda-kapsel --help
- conda-kapsel --version
- echo "Last of test commands"
about:
home: https://github.com/Anaconda-Platform/conda-kapsel/
license: BSD
| package:
name: conda-kapsel
version: {{ environ.get('GIT_DESCRIBE_TAG', '').replace('v', '') }}
source:
git_url: ../
# If you're trying to test build changes, you have to add this
# pointing to the branch you're modifying.
# git_tag: package-script
build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
entry_points:
- conda-kapsel = conda_kapsel.commands.main:main
requirements:
build:
- python
- setuptools
- psutil # needed by conda
- tornado
- ruamel_yaml
- beautifulsoup4
- requests
- anaconda-client
- "keyring >=9.0"
run:
- python
- tornado
- ruamel_yaml
- beautifulsoup4
- requests
- anaconda-client
- "keyring >=9.0"
test:
imports:
- conda_kapsel
commands:
- echo "First of test commands"
- conda-kapsel --help
- conda-kapsel --version
- echo "Last of test commands"
about:
home: https://github.com/Anaconda-Platform/conda-kapsel/
license: BSD
|
Add explicit repo to publish doc step. | ---
name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: '16'
- uses: ./.github/actions/ci-action
- run: npm install -g gh-pages
- run: CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot <pakkun@cliffano.com>"
| ---
name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: '16'
- uses: ./.github/actions/ci-action
- run: npm install -g gh-pages
- run: CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot <pakkun@cliffano.com>" --repo "https://${{ secrets.STUDIO_GITHUB_TOKEN }}@github.com/cliffano/swaggy-jenkins.git"
|
Allow failures for phpcs and phpmd | build_settings:
verbose: false
ignore:
- "vendor"
- "Tests"
- "PHPCI/Command" # PHPMD complains about un-used parameters, but they are required.
- "public/install.php" # PHPCS really doesn't like PHP mixed with HTML (and so it shouldn't)
- "PHPCI/Migrations" # Ignore the migrations directory, as both PHPMD and PHPCS can't cope with them.
- "PHPCI/Model/Base" # These files are auto-generated, and sometimes hit PHPMD complexity thresholds.
- "PHPCI/Languages" # PHPCS fails on character counts for non-Latin languages
setup:
composer:
action: "install"
prefer_dist: false
test:
php_parallel_lint:
ignore:
# Only ignore vendor
- vendor/
php_mess_detector:
allowed_warnings: 0
rules:
- phpmd.xml
php_code_sniffer:
standard: phpcs.xml
allowed_warnings: 0
allowed_errors: 0
php_loc:
php_unit:
php_docblock_checker:
allowed_warnings: 0
allow_failures: true
| build_settings:
verbose: false
ignore:
- "vendor"
- "Tests"
- "PHPCI/Command" # PHPMD complains about un-used parameters, but they are required.
- "public/install.php" # PHPCS really doesn't like PHP mixed with HTML (and so it shouldn't)
- "PHPCI/Migrations" # Ignore the migrations directory, as both PHPMD and PHPCS can't cope with them.
- "PHPCI/Model/Base" # These files are auto-generated, and sometimes hit PHPMD complexity thresholds.
- "PHPCI/Languages" # PHPCS fails on character counts for non-Latin languages
setup:
composer:
action: "install"
prefer_dist: false
test:
php_parallel_lint:
ignore:
# Only ignore vendor
- vendor/
php_mess_detector:
allowed_warnings: 0
rules:
- phpmd.xml
allow_failures: true
php_code_sniffer:
standard: phpcs.xml
allowed_warnings: 0
allowed_errors: 0
allow_failures: true
php_loc:
php_unit:
php_docblock_checker:
allowed_warnings: 0
allow_failures: true
|
Create CNAME file when auto-deploying to develop.bitshares.org | # This workflow will do a clean install of node dependencies, build the source code and push the binaries to the deployment repository.
name: Continuous Delivery and Deployment
on:
push:
branches: [develop]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- name: Deploy
uses: s0/git-publish-subdir-action@master
env:
REPO: git@github.com:bitshares/develop.bitshares.org.git
BRANCH: master
FOLDER: build/dist
SSH_PRIVATE_KEY: ${{ secrets.AUTOMATION_UI_DEPLOYMENT_KEY }}
| # This workflow will do a clean install of node dependencies, build the source code and push the binaries to the deployment repository.
name: Continuous Delivery and Deployment
on:
push:
branches: [develop]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- name: Create CNAME file
uses: finnp/create-file-action@master
env:
FILE_NAME: build/dist/CNAME
FILE_DATA: develop.bitshares.org
- name: Deploy
uses: s0/git-publish-subdir-action@master
env:
REPO: git@github.com:bitshares/develop.bitshares.org.git
BRANCH: master
FOLDER: build/dist
SSH_PRIVATE_KEY: ${{ secrets.AUTOMATION_UI_DEPLOYMENT_KEY }}
|
Fix authorization enabled incorrectly by default | apiVersion: kafka.strimzi.io/v1alpha1
kind: Kafka
metadata:
name: my-cluster
spec:
kafka:
replicas: 3
listeners:
plain: {}
tls: {}
authorization:
type: simple
resources:
requests:
memory: 2Gi
cpu: 500m
limits:
memory: 2Gi
cpu: 1000m
readinessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
livenessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
config:
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
storage:
type: ephemeral
metrics:
lowercaseOutputName: true
rules:
- pattern: "kafka.server<type=(.+), name=(.+)PerSec\\w*><>Count"
name: "kafka_server_$1_$2_total"
- pattern: "kafka.server<type=(.+), name=(.+)PerSec\\w*, topic=(.+)><>Count"
name: "kafka_server_$1_$2_total"
labels:
topic: "$3"
zookeeper:
replicas: 3
resources:
requests:
memory: 512Mi
cpu: 300m
limits:
memory: 1Gi
cpu: 2000m
readinessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
livenessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
storage:
type: ephemeral
metrics:
lowercaseOutputName: true
topicOperator:
resources:
requests:
memory: 256Mi
cpu: 200m
limits:
memory: 256Mi
cpu: 1000m | apiVersion: kafka.strimzi.io/v1alpha1
kind: Kafka
metadata:
name: my-cluster
spec:
kafka:
replicas: 3
listeners:
plain: {}
tls: {}
readinessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
livenessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
config:
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
storage:
type: ephemeral
metrics:
lowercaseOutputName: true
rules:
- pattern: "kafka.server<type=(.+), name=(.+)PerSec\\w*><>Count"
name: "kafka_server_$1_$2_total"
- pattern: "kafka.server<type=(.+), name=(.+)PerSec\\w*, topic=(.+)><>Count"
name: "kafka_server_$1_$2_total"
labels:
topic: "$3"
zookeeper:
replicas: 3
readinessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
livenessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
storage:
type: ephemeral
metrics:
lowercaseOutputName: true
topicOperator: {} |
Add example to import a mysql schema | version: "2"
services:
datastore:
image: busybox
container_name: ${PROJECT_ID}-datastore
volumes:
- .:/app
web:
image: xtreamwayz/nginx
container_name: ${PROJECT_ID}-web
ports:
- "80:80"
volumes_from:
- datastore
links:
- php
php:
image: xtreamwayz/php
container_name: ${PROJECT_ID}-php
volumes_from:
- datastore
links:
- db
- redis
- mailhog
db:
image: xtreamwayz/mysql
container_name: ${PROJECT_ID}-db
ports:
- "3306:3306"
env_file: .env
volumes_from:
- datastore
redis:
image: redis:3-alpine
container_name: ${PROJECT_ID}-redis
ports:
- "6379:6379"
mailhog:
image: mailhog/mailhog
container_name: ${PROJECT_ID}-mailhog
ports:
- "1025:1025"
- "8025:8025"
| version: "2"
services:
datastore:
image: busybox
container_name: ${PROJECT_ID}-datastore
volumes:
- .:/app
web:
image: xtreamwayz/nginx
container_name: ${PROJECT_ID}-web
ports:
- "80:80"
volumes_from:
- datastore
links:
- php
php:
image: xtreamwayz/php
container_name: ${PROJECT_ID}-php
volumes_from:
- datastore
links:
- db
- redis
- mailhog
db:
image: xtreamwayz/mysql
container_name: ${PROJECT_ID}-db
ports:
- "3306:3306"
env_file: .env
#volumes:
# - ./resources/mysql-dump:/docker-entrypoint-initdb.d
volumes_from:
- datastore
redis:
image: redis:3-alpine
container_name: ${PROJECT_ID}-redis
ports:
- "6379:6379"
mailhog:
image: mailhog/mailhog
container_name: ${PROJECT_ID}-mailhog
ports:
- "1025:1025"
- "8025:8025"
|
Revert Travis notifications to defaults. | language: node_js
node_js:
- 0.6
before_script: "npm install --dev"
script: "make test"
notifications:
email:
on_success: change
on_failure: change
| language: node_js
node_js:
- 0.6
before_script: "npm install --dev"
script: "make test" |
Update from Hackage at 2020-02-16T03:16:14Z | homepage: https://git.sr.ht/~singpolyma/gsasl-haskell
changelog-type: ''
hash: f8290d372e8062b1546e852ffaf7c27411ed989e85533179b9a7858ac10cd8db
test-bench-deps: {}
maintainer: Stephen Paul Weber <singpolyma@singpolyma.net>
synopsis: Bindings for GNU libgsasl
changelog: ''
basic-deps:
bytestring: ! '>=0.9'
base: ! '>=4.0 && <5.0'
monad-loops: ! '>=0.3'
transformers: ! '>=0.2'
all-versions:
- '0.1'
- '0.2'
- '0.3'
- 0.3.1
- 0.3.2
- 0.3.3
- 0.3.4
- 0.3.5
- 0.3.6
- 0.3.7
author: John Millikin <john@john-millikin.com>
latest: 0.3.7
description-type: haddock
description: ''
license-name: GPL-3.0-only
| homepage: https://git.sr.ht/~singpolyma/gsasl-haskell
changelog-type: ''
hash: 36d278b6e4c6a64eecd0be5ca5a6337f09032298bc06e87a9f30342c903200b1
test-bench-deps: {}
maintainer: Stephen Paul Weber <singpolyma@singpolyma.net>
synopsis: Bindings for GNU libgsasl
changelog: ''
basic-deps:
bytestring: ! '>=0.9'
base: ! '>=4.0 && <5.0'
monad-loops: ! '>=0.3'
transformers: ! '>=0.2'
all-versions:
- '0.1'
- '0.2'
- '0.3'
- 0.3.1
- 0.3.2
- 0.3.3
- 0.3.4
- 0.3.5
- 0.3.6
- 0.3.7
author: John Millikin <john@john-millikin.com>
latest: 0.3.7
description-type: haddock
description: ''
license-name: GPL-3.0-only
|
Revert "Add site task to publish dev reports on CI builds." | ---
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '13', '14' ]
name: node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install -g bob
- run: bob build site
| ---
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '13', '14' ]
name: node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install -g bob
- run: bob build
|
Update Travis to test against golang 1.4.2 | language: go
go:
- 1.3.3
- 1.4.1
sudo: false
before_install:
- gotools=golang.org/x/tools
- if [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then gotools=code.google.com/p/go.tools; fi
install:
- go get -d -t -v ./...
- go get -v $gotools/cmd/cover
- go get -v $gotools/cmd/vet
- go get -v github.com/bradfitz/goimports
- go get -v github.com/golang/lint/golint
script:
- export PATH=$PATH:$HOME/gopath/bin
- ./goclean.sh
| language: go
go:
- 1.3.3
- 1.4.2
sudo: false
before_install:
- gotools=golang.org/x/tools
- if [ "$TRAVIS_GO_VERSION" = "go1.3.3" ]; then gotools=code.google.com/p/go.tools; fi
install:
- go get -d -t -v ./...
- go get -v $gotools/cmd/cover
- go get -v $gotools/cmd/vet
- go get -v github.com/bradfitz/goimports
- go get -v github.com/golang/lint/golint
script:
- export PATH=$PATH:$HOME/gopath/bin
- ./goclean.sh
|
Include haddock build in pipeline. | sudo: false
dist: xenial
language: c
env:
global:
- GCC=gcc-5
- GXX=g++-5
- LLVM_VER=7.0.0
cache:
directories:
- $HOME/.stack/
addons:
apt:
packages:
- gcc-5
- g++-5
- libgmp-dev
- llvm-7-dev
sources:
- llvm-toolchain-xenial-7
- ubuntu-toolchain-r-test
before_install:
- mkdir -p ~/.local/bin
- export PATH=~/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- export CC=/usr/bin/$GCC
- export CXX=/usr/bin/$GXX
install:
- stack update
- travis_wait 120 stack --no-terminal --install-ghc test --only-dependencies
script:
- mkdir output
- stack --no-terminal test --coverage
- stack exec grin -- grin/grin/sum_simple.grin
after_script:
- travis_retry curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.4.0/shc-linux-x64-8.0.1.tar.bz2 | tar -xj
- ./shc grin grin-test
| sudo: false
dist: xenial
language: c
env:
global:
- GCC=gcc-5
- GXX=g++-5
- LLVM_VER=7.0.0
cache:
directories:
- $HOME/.stack/
addons:
apt:
packages:
- gcc-5
- g++-5
- libgmp-dev
- llvm-7-dev
sources:
- llvm-toolchain-xenial-7
- ubuntu-toolchain-r-test
before_install:
- mkdir -p ~/.local/bin
- export PATH=~/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- export CC=/usr/bin/$GCC
- export CXX=/usr/bin/$GXX
install:
- stack update
- travis_wait 120 stack --no-terminal --install-ghc test --only-dependencies
script:
- mkdir .output
- stack haddock
- stack --no-terminal test --coverage
- stack exec grin -- grin/grin/sum_simple.grin
after_script:
- travis_retry curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.4.0/shc-linux-x64-8.0.1.tar.bz2 | tar -xj
- ./shc grin grin-test
|
Update Rubies in Travis CI | language: ruby
rvm:
- 2.4.0
- 2.3.3
- 2.2.6
- 2.1.10
env:
global:
- secure: n0mxwnyjuXI4mJO4mp++2TnsPJ+XgCF/J1U2L5piE5j3xMhSU+5V0JrA1uFlS0Pemb44M7BjgmF9S4G35BwyAQpctpCYhqy9tFa6+Y6nxEv5hCv2cZz7BSAZM6eb+zq20409hxTHRaQOr1DBeE4R5S2PrmOXRqvYfTRv3LNSLFk=
matrix:
- OJ=0
- OJ=1
before_install:
- gem update --system
- gem update bundler
before_script:
- if [[ $OJ -eq 1 ]]; then gem install oj; fi
notifications:
slack:
secure: iTI8zpxXQJqf5e9ix4buLRsGlf9lJRZqA9Fawdqm41msBrC0Zsp31XzBS7ZPiTcdHhImtOC4lccTCW2C8kR6waaG5VOF0U2BwyKaNFKsXMaVk6yrNhYkvJ9YVicuU9hL+JKLyBrSDYQ7+vXcHqaz4H4dYpPThrv6sfq4jBOp+eM=
| language: ruby
rvm:
- 2.4.1
- 2.3.4
- 2.2.7
- 2.1.10
env:
global:
- secure: n0mxwnyjuXI4mJO4mp++2TnsPJ+XgCF/J1U2L5piE5j3xMhSU+5V0JrA1uFlS0Pemb44M7BjgmF9S4G35BwyAQpctpCYhqy9tFa6+Y6nxEv5hCv2cZz7BSAZM6eb+zq20409hxTHRaQOr1DBeE4R5S2PrmOXRqvYfTRv3LNSLFk=
matrix:
- OJ=0
- OJ=1
before_install:
- gem update --system
- gem update bundler
before_script:
- if [[ $OJ -eq 1 ]]; then gem install oj; fi
notifications:
slack:
secure: iTI8zpxXQJqf5e9ix4buLRsGlf9lJRZqA9Fawdqm41msBrC0Zsp31XzBS7ZPiTcdHhImtOC4lccTCW2C8kR6waaG5VOF0U2BwyKaNFKsXMaVk6yrNhYkvJ9YVicuU9hL+JKLyBrSDYQ7+vXcHqaz4H4dYpPThrv6sfq4jBOp+eM=
|
Write npm auth token to home dir | language: node_js
node_js:
- "8"
before_install:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
- npm whoami
before_script:
- npm config set spin false --global
- npm config set package-lock false
- npm install -g gulp
- npm run cf-link
- gulp build
after_success:
- git checkout package-lock.json package.json
- git status && git diff
- ./scripts/travis/release.sh
- npm whoami
env:
global:
- GH_PROD_BRANCH=master
- GH_DEV_BRANCH=canary
- secure: OXCVx+umyxvsBBAdDnliKggeeDI6+MJnH01DRz3MSwcG2WMUxtzxKtPL4t03t+wfTmCoGmEMFa8OO1UgwfOoAMNwrEQHPG/AfEnV5A67FKoKY56vUD3rkNcWV5V/IfmQzrYzQSjyjgs19RY+1sD7CKK75bQWYuAQOoNrIpb84gc=
sudo: false
| language: node_js
node_js:
- "8"
before_install:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
- npm whoami
before_script:
- npm config set spin false --global
- npm config set package-lock false
- npm install -g gulp
- npm run cf-link
- gulp build
after_success:
- git checkout package-lock.json package.json
- git status && git diff
- ./scripts/travis/release.sh
- npm whoami
env:
global:
- GH_PROD_BRANCH=master
- GH_DEV_BRANCH=canary
- secure: OXCVx+umyxvsBBAdDnliKggeeDI6+MJnH01DRz3MSwcG2WMUxtzxKtPL4t03t+wfTmCoGmEMFa8OO1UgwfOoAMNwrEQHPG/AfEnV5A67FKoKY56vUD3rkNcWV5V/IfmQzrYzQSjyjgs19RY+1sD7CKK75bQWYuAQOoNrIpb84gc=
sudo: false
|
Add baamenabar in the email notifcation: | language: php
services:
- docker
before_install:
- docker build -t flyimg .
- docker run -t -d -i -v $(pwd):/var/www/html --name flyimg flyimg
- docker exec flyimg composer install
script:
- docker exec flyimg ./vendor/bin/phpunit
notifications:
email:
- sadoknet@gmail.com
| language: php
services:
- docker
before_install:
- docker build -t flyimg .
- docker run -t -d -i -v $(pwd):/var/www/html --name flyimg flyimg
- docker exec flyimg composer install
script:
- docker exec flyimg ./vendor/bin/phpunit
notifications:
email:
- sadoknet@gmail.com
- baamenabar@gmail.com
|
Add Ruby 3.1 to test matrix | name: tests
on:
push:
pull_request:
schedule:
- cron: '11 11 14 * *' # at 11:11 am on the 14th of every month
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', 'ruby-head' ]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
bundle install --jobs 4
sudo apt-get install -yqq ragel
- name: Test with Rake
run: bundle exec rake test:full
| name: tests
on:
push:
pull_request:
schedule:
- cron: '11 11 14 * *' # at 11:11 am on the 14th of every month
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', 'ruby-head' ]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
bundle install --jobs 4
sudo apt-get install -yqq ragel
- name: Test with Rake
run: bundle exec rake test:full
|
Test on the latest ruby releases in Travis | sudo: false
language: ruby
matrix:
include:
- rvm: 2.4.4
- rvm: 2.5.1
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
bundler_args: "--jobs 7 --without docs debug"
branches:
only:
- 2.0-stable
- 3.0-stable
- master
before_install:
- gem --version
- rvm @global do gem uninstall bundler -a -x -I || true
- gem install bundler
- bundle --version
- rm -f .bundle/config
before_script:
- git config --global user.email "clouseau@chef.io"
- git config --global user.name "Pink Panther"
script: bundle exec rake travis:ci
notifications:
slack:
on_change: true
on_failure: true
on_success: false
on_pull_requests: false
rooms:
secure: udLCoBl71xJBsW3P+YqZbA5xfaB8l4IIF6SKEXpjIUYNYyP6m77uoY9PZ/M/5EN1ojPXDxsZ6SiPEJifVpkX5Hqd0eu1MwWyRXvOwiDf/nkg2Y3mqwUQRb3LDYWZxPn+xp5mHePe3mvTICR1zH49yx7fdZs8Qvzhh3Lno/w/qZ4=
| cache: bundler
language: ruby
dist: xenial
matrix:
include:
- rvm: 2.4.5
- rvm: 2.5.3
- rvm: 2.6.0
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
bundler_args: "--jobs 7 --without docs debug"
branches:
only:
- 2.0-stable
- 3.0-stable
- master
before_install:
- gem --version
- rvm @global do gem uninstall bundler -a -x -I || true
- gem install bundler
- bundle --version
- rm -f .bundle/config
before_script:
- git config --global user.email "clouseau@chef.io"
- git config --global user.name "Pink Panther"
script: bundle exec rake travis:ci
notifications:
slack:
on_change: true
on_failure: true
on_success: false
on_pull_requests: false
rooms:
secure: udLCoBl71xJBsW3P+YqZbA5xfaB8l4IIF6SKEXpjIUYNYyP6m77uoY9PZ/M/5EN1ojPXDxsZ6SiPEJifVpkX5Hqd0eu1MwWyRXvOwiDf/nkg2Y3mqwUQRb3LDYWZxPn+xp5mHePe3mvTICR1zH49yx7fdZs8Qvzhh3Lno/w/qZ4=
|
Revert "Try removing the install section from the Travis config" | language: go
go:
- 1.2
| language: go
go:
- 1.2
install:
- go get -v -t ./...
- go get -v github.com/onsi/ginkgo
- go get -v github.com/onsi/gomega
|
Allow failures on 0.11, for now. | language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"
before_install:
- npm install -g grunt-cli
- bash prepare-postgresql.sh
| language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"
matrix:
allow_failures:
- node_js: "0.11"
before_install:
- npm install -g grunt-cli
- bash prepare-postgresql.sh
|
Make Travis builds run against 1.9 compatible rbx | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx
- ree
gemfile:
- Gemfile
- Gemfile_rails31
- Gemfile_rails30
- Gemfile_rails23
script: "bundle exec rake test:units"
notifications:
email:
- integrations-team@shopify.com
- nathaniel@talbott.ws
| rvm:
- 1.9.3
- 1.9.2
- rbx-19mode
- 1.8.7
- ree
gemfile:
- Gemfile
- Gemfile_rails31
- Gemfile_rails30
- Gemfile_rails23
script: "bundle exec rake test:units"
notifications:
email:
- integrations-team@shopify.com
- nathaniel@talbott.ws
|
Add capistrano2 and capistrano3 to Travis | language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.1"
- "jruby-19mode"
- "rbx"
gemfile:
- "gemfiles/no_dependencies.gemfile"
- "gemfiles/rails-3.0.gemfile"
- "gemfiles/rails-3.1.gemfile"
- "gemfiles/rails-3.2.gemfile"
- "gemfiles/rails-4.0.gemfile"
- "gemfiles/rails-4.1.gemfile"
- "gemfiles/sinatra.gemfile"
matrix:
allow_failures:
- rvm: "jruby-19mode"
- rvm: "rbx"
env:
global: "RAILS_ENV=test"
script: "bundle exec rspec"
| language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.1"
- "jruby-19mode"
- "rbx"
gemfile:
- "gemfiles/capistrano2.gemfile"
- "gemfiles/capistrano3.gemfile"
- "gemfiles/no_dependencies.gemfile"
- "gemfiles/rails-3.0.gemfile"
- "gemfiles/rails-3.1.gemfile"
- "gemfiles/rails-3.2.gemfile"
- "gemfiles/rails-4.0.gemfile"
- "gemfiles/rails-4.1.gemfile"
- "gemfiles/sinatra.gemfile"
matrix:
allow_failures:
- rvm: "jruby-19mode"
- rvm: "rbx"
env:
global: "RAILS_ENV=test"
script: "bundle exec rspec"
|
Update Travis to use openjdk8 | language: java
jdk:
- oraclejdk8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/9d082586e459ec0fb134
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
deploy:
- provider: script
skip_cleanup: true
script: .travis/znode-deploy.sh
on:
branch: master
- provider: releases
skip_cleanup: true
api_key:
secure: GqBVV6OCdr6n6KSaq14X+2f2+I1mTwPqpQ7L6sdPUZUD/ziXA4rySZ9R3MYYxZWo/SOvAzX5ab8QpJSGnPoXZncL7dxFmO3FfE0WMHy74FCinuRWQ2ziBK4TEJBOVGfJqTvyutmCXLniw5G8uQxozkEUpjKJm3i1bjA+7X+7qlI=
file_glob: true
file: target/Gringotts*.jar
on:
repo: MinecraftWars/Gringotts
tags: true
# we don't need sudo, this allows container-based builds ...
sudo: false
# ... which allows caching of .m2 and makes builds faster
cache:
directories:
- $HOME/.m2
| language: java
jdk:
- openjdk8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/9d082586e459ec0fb134
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
deploy:
- provider: script
skip_cleanup: true
script: .travis/znode-deploy.sh
on:
branch: master
- provider: releases
skip_cleanup: true
api_key:
secure: GqBVV6OCdr6n6KSaq14X+2f2+I1mTwPqpQ7L6sdPUZUD/ziXA4rySZ9R3MYYxZWo/SOvAzX5ab8QpJSGnPoXZncL7dxFmO3FfE0WMHy74FCinuRWQ2ziBK4TEJBOVGfJqTvyutmCXLniw5G8uQxozkEUpjKJm3i1bjA+7X+7qlI=
file_glob: true
file: target/Gringotts*.jar
on:
repo: MinecraftWars/Gringotts
tags: true
# we don't need sudo, this allows container-based builds ...
sudo: false
# ... which allows caching of .m2 and makes builds faster
cache:
directories:
- $HOME/.m2
|
Disable xdebug extension in Travis CI | distro: trusty
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
services:
- mysql
before_script:
- npm install grunt grunt-cli grunt-contrib-jshint grunt-contrib-csslint grunt-phplint --save-dev
- mysql -u root -e "CREATE DATABASE rhymix CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci"
- mysql -u root -e "GRANT ALL PRIVILEGES ON rhymix.* TO travis"
- mysql -u root -e "SET PASSWORD FOR travis = PASSWORD('travis')"
- php -S localhost:8000 &
- wget http://codeception.com/releases/2.1.11/codecept.phar
script:
- php codecept.phar build
- php codecept.phar run -d --fail-fast --env travis
- grunt lint
notifications:
email: false
| distro: trusty
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
services:
- mysql
before_script:
- npm install grunt grunt-cli grunt-contrib-jshint grunt-contrib-csslint grunt-phplint --save-dev
- mysql -u root -e "CREATE DATABASE rhymix CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci"
- mysql -u root -e "GRANT ALL PRIVILEGES ON rhymix.* TO travis"
- mysql -u root -e "SET PASSWORD FOR travis = PASSWORD('travis')"
- phpenv config-rm xdebug.ini
- php -S localhost:8000 &
- wget http://codeception.com/releases/2.1.11/codecept.phar
script:
- php codecept.phar build
- php codecept.phar run -d --fail-fast --env travis
- grunt lint
notifications:
email: false
|
Change Travis target to RunTests. | language: objective-c
env:
matrix:
- MONO_VERSION="3.2.5"
install:
- wget "http://download.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg"
- sudo installer -pkg "MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg" -target /
before_script:
- chmod +x build.sh
script:
- ./build.sh Default | language: objective-c
env:
matrix:
- MONO_VERSION="3.2.5"
install:
- wget "http://download.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg"
- sudo installer -pkg "MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg" -target /
before_script:
- chmod +x build.sh
script:
- ./build.sh RunTests |
Test only on npm v4 and v5 | language: node_js
node_js:
- v5
- v4
- '0.12'
- '0.10'
| language: node_js
node_js:
- v5
- v4
|
Add PHP 5.5 to test environment | language: php
php:
- 5.4
- 5.3
before_script:
- composer install --dev | language: php
php:
- 5.5
- 5.4
- 5.3
before_script:
- composer install --dev |
Debug Solr issues in Travis build | # Configuration file for building this project with Travis CI
language: python
python:
- "2.7"
jdk:
- openjdk7
install: pip install -r REQUIREMENTS --use-mirrors && pip install Fabric==1.4.0 --use-mirrors
script: python manage.py test storybase_messaging storybase_asset storybase_geo storybase_help storybase_story storybase_user storybase_taxonomy cmsplugin_storybase --settings=settings.travis
postgres:
adapter: postgresql
database: atlas_travis
username: postgres
before_install: ./scripts/ci_before_install.sh
before_script: ./scripts/ci_before_script.sh
branches:
only:
- master
- develop
- updated_solr_install
| # Configuration file for building this project with Travis CI
language: python
python:
- "2.7"
jdk:
- openjdk7
install: pip install -r REQUIREMENTS --use-mirrors && pip install Fabric==1.4.0 --use-mirrors
script: python manage.py test storybase_messaging storybase_asset storybase_geo storybase_help storybase_story storybase_user storybase_taxonomy cmsplugin_storybase --settings=settings.travis
postgres:
adapter: postgresql
database: atlas_travis
username: postgres
before_install: ./scripts/ci_before_install.sh
before_script: ./scripts/ci_before_script.sh
after_failure: cat /usr/local/share/solr/logs/*.log
branches:
only:
- master
- develop
- updated_solr_install
|
Fix Bundler in Travis CI | language: node_js
node_js:
- "0.10"
before_install:
- bundle install
script:
- rspec test/slim_spec.rb
- npm test
| language: node_js
node_js:
- "0.10"
before_install:
- bundler install
script:
- rspec test/slim_spec.rb
- npm test
|
Update Travis CI config to get latest apt cache | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
before_install: sudo make sysdeps
# command to install dependencies
install:
- make install
# command to run tests
script: py.test -q --tb native -s tests
| language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
before_install: sudo apt-get update
# command to install dependencies
install:
- sudo make sysdeps
- make install
# command to run tests
script: py.test -q --tb native -s tests
|
Install up to date pyflakes that works in Python 3 | language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
env:
- DJANGO=1.3
- DJANGO=1.4
- DJANGO=1.5
- DJANGO=1.6
- DJANGO=1.7
install:
- pip install --timeout=30 -q Django==$DJANGO --use-mirrors
- pip install --timeout=30 pep8 --use-mirrors
- pip install --timeout=30 https://github.com/dcramer/pyflakes/tarball/master
- pip install --timeout=30 -q -e . --use-mirrors
before_script:
- make verify
script:
- make test
| language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
env:
- DJANGO=1.3
- DJANGO=1.4
- DJANGO=1.5
- DJANGO=1.6
- DJANGO=1.7
install:
- pip install --timeout=30 -q Django==$DJANGO
- pip install --timeout=30 pep8
- pip install --timeout=30 pyflakes
- pip install --timeout=30 -q -e .
before_script:
- make verify
script:
- make test
|
Add test for ruby 2.2.1 | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- 2.2.0
script:
- rspec spec
| language: ruby
sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- 2.2.0
- 2.2.1
script:
- rspec spec
|
Remove Ruby 1.8 from Travis build matrix | language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
gemfile: src/Gemfile
env:
- SUITE=cucumber
- SUITE=spec
before_install:
- sed -i s/'pg'/'sqlite3'/ src/Gemfile
install:
- cd src
- bundle install --path bundle
before_script:
- cp config/database.sqlite config/database.yml
- bundle exec rake dc:oauth_keys
- bundle exec rake db:drop
- bundle exec rake db:create
- bundle exec rake db:migrate
- bundle exec rake db:seed
- bundle exec rake db:test:prepare
script:
- bundle exec rake $SUITE
notifications:
irc:
channels:
- "irc.freenode.org#aeolus"
use_notice: true
skip_join: false
on_success: change
on_failure: change
| language: ruby
rvm:
- 1.9.3
- 2.0.0
gemfile: src/Gemfile
env:
- SUITE=cucumber
- SUITE=spec
before_install:
- sed -i s/'pg'/'sqlite3'/ src/Gemfile
install:
- cd src
- bundle install --path bundle
before_script:
- cp config/database.sqlite config/database.yml
- bundle exec rake dc:oauth_keys
- bundle exec rake db:drop
- bundle exec rake db:create
- bundle exec rake db:migrate
- bundle exec rake db:seed
- bundle exec rake db:test:prepare
script:
- bundle exec rake $SUITE
notifications:
irc:
channels:
- "irc.freenode.org#aeolus"
use_notice: true
skip_join: false
on_success: change
on_failure: change
|
Add caching. Attempt to avoid timeouts in build | sudo: required
language: java
jdk:
- openjdk8
install: /bin/true
script: mvn clean install -V -Prun-its -B -e
| sudo: required
language: java
jdk:
- openjdk8
cache:
directories:
- $HOME/.m2
install: /bin/true
script: travis_wait 60 mvn clean install -V -Prun-its -B -e
|
Disable Coveralls until we have tests | language: node_js
matrix:
include:
- node_js: '0.10'
- node_js: '0.12'
- node_js: iojs
- node_js: 4
- node_js: 5
- node_js: 6
- node_js: node
env: COVERALLS=1
| language: node_js
matrix:
include:
- node_js: '0.10'
- node_js: '0.12'
- node_js: iojs
- node_js: 4
- node_js: 5
- node_js: 6
- node_js: node
|
Use Debug builds for Travis CI | language: csharp
solution: GraphQL.Net.sln
install:
- nuget restore GraphQL.Net.sln
- nuget install NUnit.Runners -Version 3.2.0 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release GraphQL.Net.sln
- mono ./testrunner/NUnit.ConsoleRunner.3.2.0/tools/nunit3-console.exe ./Tests/bin/Release/Tests.dll
- mono ./testrunner/NUnit.ConsoleRunner.3.2.0/tools/nunit3-console.exe ./GraphQL.Parser.Test/bin/Release/GraphQL.Parser.Test.exe
| language: csharp
solution: GraphQL.Net.sln
install:
- nuget restore GraphQL.Net.sln
- nuget install NUnit.Runners -Version 3.2.0 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Debug GraphQL.Net.sln
- mono ./testrunner/NUnit.ConsoleRunner.3.2.0/tools/nunit3-console.exe ./Tests/bin/Release/Tests.dll
- mono ./testrunner/NUnit.ConsoleRunner.3.2.0/tools/nunit3-console.exe ./GraphQL.Parser.Test/bin/Release/GraphQL.Parser.Test.exe
|
Remove coveralls from Travis CI. | sudo: false
language: node_js
node_js:
- '12'
branches:
only:
- master
- travis-ci
install:
- npm install -g npm
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls
| sudo: false
language: node_js
node_js:
- '12'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test
|
Enable testing against Mapserver 6.2.0 | # Configuration file for Travis-CI testing
language: node_js
node_js:
- 0.8
- 0.9
env:
# - MAPSERVER_COMMIT=rel-6-0-0 # v6.0.0
# - MAPSERVER_COMMIT=rel-6-0-1 # v6.0.1
# - MAPSERVER_COMMIT=rel-6-0-2 # v6.0.2
# - MAPSERVER_COMMIT=rel-6-0-3 # v6.0.3
# - MAPSERVER_COMMIT=rel-6-2-0 # v6.2.0
- MAPSERVER_COMMIT= # repository HEAD
before_install:
- sudo apt-get install libgif-dev # mapserver dependencies
- sh ./tools/install-deps.sh /tmp $MAPSERVER_COMMIT # install the dependencies
- export PATH=/tmp/mapserver-install/bin:${PATH} # ensure `node-gyp` can find `mapserver-config`
| # Configuration file for Travis-CI testing
language: node_js
node_js:
- 0.8
- 0.9
env:
# - MAPSERVER_COMMIT=rel-6-0-0 # v6.0.0
# - MAPSERVER_COMMIT=rel-6-0-1 # v6.0.1
# - MAPSERVER_COMMIT=rel-6-0-2 # v6.0.2
# - MAPSERVER_COMMIT=rel-6-0-3 # v6.0.3
- MAPSERVER_COMMIT=rel-6-2-0 # v6.2.0
- MAPSERVER_COMMIT= # repository HEAD
before_install:
- sudo apt-get install libgif-dev # mapserver dependencies
- sh ./tools/install-deps.sh /tmp $MAPSERVER_COMMIT # install the dependencies
- export PATH=/tmp/mapserver-install/bin:${PATH} # ensure `node-gyp` can find `mapserver-config`
|
Fix Travis CI builds for pull requests | language: java
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq protobuf-compiler
- sudo apt-get install -qq libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
- wget -nv http://archive.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz
- tar zxf thrift-0.9.3.tar.gz
- cd thrift-0.9.3
- chmod +x ./configure
- ./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang
- sudo make install
- cd ..
| language: java
dist: precise
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq protobuf-compiler
- sudo apt-get install -qq libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
- wget -nv http://archive.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz
- tar zxf thrift-0.9.3.tar.gz
- cd thrift-0.9.3
- chmod +x ./configure
- ./configure --disable-gen-erl --disable-gen-hs --without-ruby --without-haskell --without-erlang
- sudo make install
- cd ..
|
Test with more versions of Ruby | language: ruby
sudo: false
cache: bundler
rvm:
- 2.4.3
- 2.5.0
- ruby-head
- jruby-head
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
include:
- rvm: 2.2.9
env: BRANCH=5-0-stable
- rvm: 2.2.9
env: BRANCH=5-1-stable
- rvm: 2.2.9
env: BRANCH=5-2-stable
notifications:
email: false
campfire:
on_success: change
on_failure: always
rooms:
- secure: "CGWvthGkBKNnTnk9YSmf9AXKoiRI33fCl5D3jU4nx3cOPu6kv2R9nMjt9EAo\nOuS4Q85qNSf4VNQ2cUPNiNYSWQ+XiTfivKvDUw/QW9r1FejYyeWarMsSBWA+\n0fADjF1M2dkDIVLgYPfwoXEv7l+j654F1KLKB69F0F/netwP9CQ="
| language: ruby
sudo: false
cache: bundler
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- ruby-head
- jruby-head
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
include:
- rvm: 2.2.10
env: BRANCH=5-0-stable
- rvm: 2.2.10
env: BRANCH=5-1-stable
- rvm: 2.2.10
env: BRANCH=5-2-stable
- rvm: 2.3.8
env: BRANCH=5-0-stable
- rvm: 2.2.8
env: BRANCH=5-1-stable
- rvm: 2.3.8
env: BRANCH=5-2-stable
- rvm: 2.4.5
env: BRANCH=5-0-stable
- rvm: 2.4.5
env: BRANCH=5-1-stable
- rvm: 2.4.5
env: BRANCH=5-2-stable
- rvm: 2.5.3
env: BRANCH=5-0-stable
- rvm: 2.5.3
env: BRANCH=5-1-stable
- rvm: 2.5.3
env: BRANCH=5-2-stable
notifications:
email: false
|
Disable python 3.5 in Travis unit tests for now as we don't support it |
language: python
python:
- 2.7
- 3.5
sudo: false
virtualenv:
before_install:
- export PYTHONPATH=$HOME/builds/dissemin/oabot/src
- export PIP_USE_MIRRORS=true
install:
- pip install setuptools --upgrade
- pip install -r requirements.txt --upgrade
- pip install coveralls
- pip freeze
script:
- cd src
- coverage run --source=oabot -m unittest tests
after_success:
- coveralls
|
language: python
python:
- 2.7
sudo: false
virtualenv:
before_install:
- export PYTHONPATH=$HOME/builds/dissemin/oabot/src
- export PIP_USE_MIRRORS=true
install:
- pip install setuptools --upgrade
- pip install -r requirements.txt --upgrade
- pip install coveralls
- pip freeze
script:
- cd src
- coverage run --source=oabot -m unittest tests
after_success:
- coveralls
|
Fix typo in Travis config | language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO_VERSION=1.3.1
- DJANGO_VERSION=1.4
install:
- pip install -q Django==$DJANGO_VERSION --use-mirrors
- pip install -q django-nose --use-mirrors
- pip install -q pep8 --use-mirrors
- pip install -q pyflakes --use-mirrors
script:
- pep8 --ignore=E501,E225,E121,E123,E124,E125,E127,E128 nashvegas || exit 1
- pyflakes -x W nashvegas || exit 1
- python runtests.py
| language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO_VERSION=1.3.1
- DJANGO_VERSION=1.4
install:
- pip install -q Django==$DJANGO_VERSION --use-mirrors
- pip install -q django-nose --use-mirrors
- pip install -q pep8 --use-mirrors
- pip install -q pyflakes --use-mirrors
script:
- pep8 --ignore=E501,E225,E121,E123,E124,E125,E127,E128 nashvegas || exit 1
- pyflakes -x W nashvegas || exit 1
- python runtests.py
|
Use azure-sdk-for-python insted of azure | package:
name: bcbio-nextgen
version: '0.9.2a'
build:
number: 2
source:
git_url: https://github.com/chapmanb/bcbio-nextgen.git
git_tag: master
requirements:
build:
- python
- setuptools
run:
- python
- setuptools
- argparse [py26]
- azure
- biopython
- boto
- bx-python
- cpat
- cython
- gffutils
- ipyparallel
- ipython-cluster-helper
- joblib
- logbook
- lxml
- matplotlib
- msgpack-python
- numpy
- pandas
- progressbar
- pybedtools
- pysam
- pyvcf
- pyyaml
- pyzmq
- requests
- seaborn
- scipy
- toolz
- tornado
test:
imports:
- bcbio.distributed.ipython
- bcbio.distributed.multi
- bcbio.pipeline.main
- bcbio.provenance.do
about:
home: https://github.com/chapmanb/bcbio-nextgen
license: MIT
summary: Validated, scalable, community developed variant calling and RNA-seq analysis
| package:
name: bcbio-nextgen
version: '0.9.2a'
build:
number: 2
source:
git_url: https://github.com/chapmanb/bcbio-nextgen.git
git_tag: master
requirements:
build:
- python
- setuptools
run:
- python
- setuptools
- argparse [py26]
- azure-sdk-for-python
- biopython
- boto
- bx-python
- cpat
- cython
- gffutils
- ipyparallel
- ipython-cluster-helper
- joblib
- logbook
- lxml
- matplotlib
- msgpack-python
- numpy
- pandas
- progressbar
- pybedtools
- pysam
- pyvcf
- pyyaml
- pyzmq
- requests
- seaborn
- scipy
- toolz
- tornado
test:
imports:
- bcbio.distributed.ipython
- bcbio.distributed.multi
- bcbio.pipeline.main
- bcbio.provenance.do
about:
home: https://github.com/chapmanb/bcbio-nextgen
license: MIT
summary: Validated, scalable, community developed variant calling and RNA-seq analysis
|
Package pre-downloads should cause failure if required packages can not be found | ---
# input variables:
# - openshift_service_type
# - component
# - openshift_pkg_version
# - openshift_is_atomic
# Pre-pull new node rpm, but don't install
- name: download new node packages
command: "{{ ansible_pkg_mgr }} install -y --downloadonly {{ openshift_node_upgrade_rpm_list | join(' ')}}"
register: result
until: result is succeeded
vars:
openshift_node_upgrade_rpm_list:
- "{{ openshift_service_type }}-node{{ openshift_pkg_version | default('') }}"
- "{{ openshift_service_type }}-clients{{ openshift_pkg_version | default('') }}"
- "PyYAML"
| ---
# input variables:
# - openshift_service_type
# - component
# - openshift_pkg_version
# - openshift_is_atomic
# Pre-pull new node rpm, but don't install
- name: download new node packages
command: "{{ ansible_pkg_mgr }} install -y --downloadonly {{ openshift_node_upgrade_rpm_list | join(' ')}}"
register: result
until: result is succeeded
failed_when:
- result.stdout is search(".*No package .* available.*") or result is failed
vars:
openshift_node_upgrade_rpm_list:
- "{{ openshift_service_type }}-node{{ openshift_pkg_version | default('') }}"
- "{{ openshift_service_type }}-clients{{ openshift_pkg_version | default('') }}"
- "PyYAML"
|
Drop node 12.x and add 18.x | # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: yarn install --immutable
- run: yarn test
| # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: yarn install --immutable
- run: yarn test
|
Add missing empty line at end of file | version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 5
file-lines:
enabled: true
config:
threshold: 500
method-count:
enabled: true
config:
threshold: 30
method-lines:
enabled: true
config:
threshold: 40
plugins:
fixme:
enabled: true
swiftlint:
enabled: false
markdownlint:
enabled: true
exclude_patterns:
- TestCoverage/**
- Carthage/**
- Pods/**
- External/**
- Submodules/**
- Generated/**
- Core/Model/CoreData/**
- Database/Model/**
- fastlane/**
- /**/*.generated.* | version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 5
file-lines:
enabled: true
config:
threshold: 500
method-count:
enabled: true
config:
threshold: 30
method-lines:
enabled: true
config:
threshold: 40
plugins:
fixme:
enabled: true
swiftlint:
enabled: false
markdownlint:
enabled: true
exclude_patterns:
- TestCoverage/**
- Carthage/**
- Pods/**
- External/**
- Submodules/**
- Generated/**
- Core/Model/CoreData/**
- Database/Model/**
- fastlane/**
- /**/*.generated.*
|
Build Docker image with Conveyor. | machine:
timezone: America/Los_Angeles
checkout:
post:
- rm -rf ~/.go_workspace/src/github.com/remind101
- mkdir -p ~/.go_workspace/src/github.com/remind101
- cp -R ~/empire ~/.go_workspace/src/github.com/remind101/empire
dependencies:
pre:
- sudo pip install awscli
- sudo service docker stop; sudo curl -L -o /usr/bin/docker 'http://s3-external-1.amazonaws.com/circle-downloads/docker-1.6.0-circleci'; sudo chmod 0755 /usr/bin/docker; sudo service docker start; true
- go install -a -race std
- go get github.com/tools/godep
- go version
- cd ~/.go_workspace/src/github.com/remind101/empire && make bootstrap
override:
- cd ~/.go_workspace/src/github.com/remind101/empire && make build
test:
override:
- cd ~/.go_workspace/src/github.com/remind101/empire && make cmd
- cd ~/.go_workspace/src/github.com/remind101/empire && make test
deployment:
hub:
branch: master
commands:
- make build
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push remind101/empire
- AWS_REGION=us-east-1 aws s3 cp docs/cloudformation.json s3://empirepaas/cloudformation.json --acl public-read
| machine:
timezone: America/Los_Angeles
checkout:
post:
- rm -rf ~/.go_workspace/src/github.com/remind101
- mkdir -p ~/.go_workspace/src/github.com/remind101
- cp -R ~/empire ~/.go_workspace/src/github.com/remind101/empire
dependencies:
pre:
- sudo pip install awscli
- go install -a -race std
- go get github.com/tools/godep
- go version
- cd ~/.go_workspace/src/github.com/remind101/empire && make bootstrap
override:
- /bin/true
test:
override:
- cd ~/.go_workspace/src/github.com/remind101/empire && make cmd
- cd ~/.go_workspace/src/github.com/remind101/empire && make test
deployment:
hub:
branch: master
commands:
- AWS_REGION=us-east-1 aws s3 cp docs/cloudformation.json s3://empirepaas/cloudformation.json --acl public-read
|
Update eduroamCAT to 1.2.14 (59) | Categories:
- Internet
License: Apache-2.0
SourceCode: https://github.com/GEANT/CAT-Android
IssueTracker: https://github.com/GEANT/CAT-Android/issues
Changelog: https://github.com/GEANT/CAT-Android/releases
AutoName: eduroamCAT
Description: |-
''EduroamCAT'' is an eduroam Configuration Assistant Tool corresponding to
website https://cat.eduroam.org
''EduroamCAT'' allows users to configure their device for eduroam wireless
networks. This tool requires a configuration file from your home
institution in order acquire the configuration settings needed. These can
also be discovered by the tool, if the institution has CAT configured. Due
to limitations in the Android OS, the application needs to set up a screen
lock if none is already set. The configuration file is in a standardised
file format and can be obtained from eduroam Configuration Assistant Tool
deployments (such as https://cat.eduroam.org and others). The tool also
provides some status information on the eduroam connection.
RepoType: git
Repo: https://github.com/GEANT/CAT-Android
Builds:
- versionName: 1.2.10
versionCode: 55
commit: 1.2.12
gradle:
- yes
rm:
- bin/dexedLibs/
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.2.10
CurrentVersionCode: 55
| Categories:
- Internet
License: Apache-2.0
SourceCode: https://github.com/GEANT/CAT-Android
IssueTracker: https://github.com/GEANT/CAT-Android/issues
Changelog: https://github.com/GEANT/CAT-Android/releases
AutoName: eduroamCAT
Description: |-
''EduroamCAT'' is an eduroam Configuration Assistant Tool corresponding to
website https://cat.eduroam.org
''EduroamCAT'' allows users to configure their device for eduroam wireless
networks. This tool requires a configuration file from your home
institution in order acquire the configuration settings needed. These can
also be discovered by the tool, if the institution has CAT configured. Due
to limitations in the Android OS, the application needs to set up a screen
lock if none is already set. The configuration file is in a standardised
file format and can be obtained from eduroam Configuration Assistant Tool
deployments (such as https://cat.eduroam.org and others). The tool also
provides some status information on the eduroam connection.
RepoType: git
Repo: https://github.com/GEANT/CAT-Android
Builds:
- versionName: 1.2.10
versionCode: 55
commit: 1.2.12
gradle:
- yes
rm:
- bin/dexedLibs/
- versionName: 1.2.14
versionCode: 59
commit: 1.2.14
gradle:
- yes
rm:
- bin/dexedLibs/
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.2.14
CurrentVersionCode: 59
|
Update ocaml-version to ocaml-compiler for ocaml setup action | name: Main workflow
on:
- pull_request
- push
jobs:
build:
services:
rabbitmq:
image: rabbitmq
ports:
- 5672/tcp
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-version:
- 4.12.0
- 4.05.0
concurrency:
- async
- lwt
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: avsm/setup-ocaml@v1
with:
ocaml-version: ${{ matrix.ocaml-version }}
- run: opam pin . --no-action
- run: opam install amqp-client amqp-client-${{ matrix.concurrency }} --deps-only --with-doc --with-test
- run: opam exec -- dune build -p amqp-client,amqp-client-${{ matrix.concurrency }}
- run: opam exec -- dune runtest -p amqp-client,amqp-client-${{ matrix.concurrency }}
- run: opam exec -- dune build @integration -p amqp-client,amqp-client-${{ matrix.concurrency }}
env:
AMQP_PORT: ${{ job.services.rabbitmq.ports[5672] }}
| name: Main workflow
on:
- pull_request
- push
jobs:
build:
services:
rabbitmq:
image: rabbitmq
ports:
- 5672/tcp
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- 4.12.0
- 4.05.0
concurrency:
- async
- lwt
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: avsm/setup-ocaml@v1
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam pin . --no-action
- run: opam install amqp-client amqp-client-${{ matrix.concurrency }} --deps-only --with-doc --with-test
- run: opam exec -- dune build -p amqp-client,amqp-client-${{ matrix.concurrency }}
- run: opam exec -- dune runtest -p amqp-client,amqp-client-${{ matrix.concurrency }}
- run: opam exec -- dune build @integration -p amqp-client,amqp-client-${{ matrix.concurrency }}
env:
AMQP_PORT: ${{ job.services.rabbitmq.ports[5672] }}
|
Add default for upper and lower | %YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/0.1.0/transform/domain"
tag: "tag:stsci.edu:asdf/0.1.0/transform/domain"
title: >
Defines the domain of an input axis.
description: >
Describes the range of acceptable input values to a particular
axis of a transform.
examples:
-
- The domain ``[0, 1)``.
- |
!transform/domain
lower: 0
upper: 1
includes_lower: true
properties:
lower:
description: The lower value of the domain.
type: number
upper:
description: The upper value of the domain.
type: number
includes_lower:
description: If `true`, the domain includes `lower`.
type: boolean
default: false
includes_upper:
description: If `true`, the domain includes `upper`.
type: boolean
default: false | %YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/0.1.0/transform/domain"
tag: "tag:stsci.edu:asdf/0.1.0/transform/domain"
title: >
Defines the domain of an input axis.
description: >
Describes the range of acceptable input values to a particular
axis of a transform.
examples:
-
- The domain ``[0, 1)``.
- |
!transform/domain
lower: 0
upper: 1
includes_lower: true
properties:
lower:
description: >
The lower value of the domain. If not provided, the
domain has no lower limit.
type: number
default: -inf
upper:
description: >
The upper value of the domain. If not provided, the
domain has no upper limit.
type: number
default: inf
includes_lower:
description: If `true`, the domain includes `lower`.
type: boolean
default: false
includes_upper:
description: If `true`, the domain includes `upper`.
type: boolean
default: false |
Fix parameters of the obstacle avoidance | max_obstacle_height: 0.60 # assume something like an arm is mounted on top of the robot
obstacle_range: 2.5
raytrace_range: 3.0
robot_radius: 0.30
inflation_radius: 0.35
# voxel map configuration; z-voxels 0 are filled by bumpers and 1 by laser scan (kinect)
map_type: voxel
origin_z: 0.0
z_resolution: 0.2
z_voxels: 2
publish_voxel_map: false
observation_sources: scan bump
scan: {data_type: LaserScan, topic: /scan, marking: true, clearing: true, min_obstacle_height: 0, max_obstacle_height: 1.0}
bump: {data_type: PointCloud2, topic: mobile_base/sensors/bumper_pointcloud, marking: true, clearing: false, min_obstacle_height: 0.0, max_obstacle_height: 0.15}
| max_obstacle_height: 0.60 # assume something like an arm is mounted on top of the robot
obstacle_range: 8.0
raytrace_range: 8.0
robot_radius: 0.30
inflation_radius: 0.35
# voxel map configuration; z-voxels 0 are filled by bumpers and 1 by laser scan (kinect)
map_type: voxel
origin_z: 0.0
z_resolution: 0.2
z_voxels: 2
publish_voxel_map: false
observation_sources: scan
scan: {data_type: LaserScan, topic: /scan, marking: true, clearing: true, min_obstacle_height: 0, max_obstacle_height: 1.0}
#bump: {data_type: PointCloud2, topic: mobile_base/sensors/bumper_pointcloud, marking: true, clearing: false, min_obstacle_height: 0.0, max_obstacle_height: 0.15}
|
Add a literal string for now, as we need to figure out how to nest hiera values another time. | ---
classes: ['']
puppetroot: '/usr/local/etc/puppet'
modroot: ${puppetroot}/modules
| ---
classes: ['']
puppetroot: '/usr/local/etc/puppet'
modroot: '/usr/local/etc/puppet/modules'
|
Change poets webroot to what it is on platform | ---
# Set a default sites path.
sites_path: '~/Sites'
# List sites, indexed by path to web root.
sites:
/:
- dent
- eecs
- eight
- greenbiz
- hsa
- kalablog
- kcom
- msdw
- seven
- stamp
- trulymad
- usfi
/web:
- kalablog8
- progmi
/www:
- accelerate
- ctsi
/docroot:
- poets
- ucsf
# List multisites / sub-domains.
# @TODO break multisites and just extra sub-domains into separate variables so
# that we can know which need `sites.php` config (the former) and which don't
# (the latter). The `ucsf-multisite.yml` task and `ucsf--local.sites.inc.j2`
# template are currently hard-coded to act on the UCSF site only.
multisites:
eecs:
- ee
- cs
ucsf:
- nursing
- silvermandigitallibrary
ctsi:
- open-proposals
- mosaic
| ---
# Set a default sites path.
sites_path: '~/Sites'
# List sites, indexed by path to web root.
sites:
/:
- dent
- eecs
- eight
- greenbiz
- hsa
- kalablog
- kcom
- msdw
- seven
- stamp
- trulymad
- usfi
/web:
- kalablog8
- progmi
/www:
- accelerate
- ctsi
/docroot:
- ucsf
/public:
- poets
# List multisites / sub-domains.
# @TODO break multisites and just extra sub-domains into separate variables so
# that we can know which need `sites.php` config (the former) and which don't
# (the latter). The `ucsf-multisite.yml` task and `ucsf--local.sites.inc.j2`
# template are currently hard-coded to act on the UCSF site only.
multisites:
eecs:
- ee
- cs
ucsf:
- nursing
- silvermandigitallibrary
ctsi:
- open-proposals
- mosaic
|
Add cmd parameter to builded docker image | box: ruby
build:
steps:
- bundle-install
deploy:
# box: ubuntu
vultr:
- internal/docker-push:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD
tag: test2
repository: webwurst/parkleitsystemapi
registry: https://registry.hub.docker.com
- script:
name: deploy
code: echo default deploy
- add-to-known_hosts:
hostname: 104.238.158.210
- mktemp:
envvar: PRIVATEKEY_PATH
- create-file:
name: write key
filename: $PRIVATEKEY_PATH
content: $VULTR_PRIVATE
overwrite: true
hide-from-log: true
- script:
name: pull image
code: ssh -i $PRIVATEKEY_PATH -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 104.238.158.210 docker pull webwurst/parkleitsystemapi:test2
- script:
name: restart docker-compose
code: |
ssh -i $PRIVATEKEY_PATH -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 104.238.158.210 /bin/bash << EOF
docker-compose -f /root/wercker/parkleitsystem-api/docker-compose.yml restart
docker-compose -f /root/wercker/parkleitsystem-api/docker-compose.yml start
EOF
| box: ruby
build:
steps:
- bundle-install
deploy:
# box: ubuntu
vultr:
- internal/docker-push:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD
tag: test2
repository: webwurst/parkleitsystemapi
registry: https://registry.hub.docker.com
cmd: clockwork clock.rb
- script:
name: deploy
code: echo default deploy
- add-to-known_hosts:
hostname: 104.238.158.210
- mktemp:
envvar: PRIVATEKEY_PATH
- create-file:
name: write key
filename: $PRIVATEKEY_PATH
content: $VULTR_PRIVATE
overwrite: true
hide-from-log: true
- script:
name: pull image
code: ssh -i $PRIVATEKEY_PATH -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 104.238.158.210 docker pull webwurst/parkleitsystemapi:test2
- script:
name: restart docker-compose
code: |
ssh -i $PRIVATEKEY_PATH -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 104.238.158.210 /bin/bash << EOF
docker-compose -f /root/wercker/parkleitsystem-api/docker-compose.yml restart
docker-compose -f /root/wercker/parkleitsystem-api/docker-compose.yml up
EOF
|
Check for shadowed outer variable. | AllCops:
DisabledByDefault: true
DisplayCopNames: true
Exclude:
- rails_event_store_active_record/lib/rails_event_store_active_record/generators/templates/*
- bounded_context/lib/generators/templates/*
- support/helpers/0_18_2_migration_template.rb
- contrib/**/*
- railseventstore.org/**/*
TargetRubyVersion: 2.4
Layout/DotPosition:
Enabled: true
Lint/DeprecatedClassMethods:
Enabled: true
Lint/IneffectiveAccessModifier:
Enabled: true
Lint/UselessAccessModifier:
Enabled: true
Lint/UriEscapeUnescape:
Enabled: true
Lint/LiteralInInterpolation:
Enabled: true
Lint/UnneededRequireStatement:
Enabled: true
Lint/UnusedBlockArgument:
Enabled: true
Lint/UnusedMethodArgument:
Enabled: true | AllCops:
DisabledByDefault: true
DisplayCopNames: true
Exclude:
- rails_event_store_active_record/lib/rails_event_store_active_record/generators/templates/*
- bounded_context/lib/generators/templates/*
- support/helpers/0_18_2_migration_template.rb
- contrib/**/*
- railseventstore.org/**/*
TargetRubyVersion: 2.4
Layout/DotPosition:
Enabled: true
Lint/DeprecatedClassMethods:
Enabled: true
Lint/IneffectiveAccessModifier:
Enabled: true
Lint/UselessAccessModifier:
Enabled: true
Lint/UriEscapeUnescape:
Enabled: true
Lint/LiteralInInterpolation:
Enabled: true
Lint/UnneededRequireStatement:
Enabled: true
Lint/UnusedBlockArgument:
Enabled: true
Lint/UnusedMethodArgument:
Enabled: true
Lint/ShadowingOuterLocalVariable:
Enabled: true |
Update DECC CEO TNA Timestamp | ---
site: decc_ceo
host: ceo.decc.gov.uk
redirection_date: 23rd January 2013
tna_timestamp: 20121217150421
title: Department of Energy and Climate Change
furl: www.gov.uk/decc
homepage: https://www.gov.uk/government/organisations/department-of-energy-climate-change
---
| ---
site: decc_ceo
host: ceo.decc.gov.uk
redirection_date: 23rd January 2013
tna_timestamp: 20121220093401
title: Department of Energy and Climate Change
furl: www.gov.uk/decc
homepage: https://www.gov.uk/government/organisations/department-of-energy-climate-change
---
|
Update X Server to 1.31 (31) | Categories:
- System
License: MIT
AuthorName: Daniel Giritzer
AuthorWebSite: http://page.nwrk.biz/giri
SourceCode: https://github.com/nwrkbiz/android-xserver
IssueTracker: https://github.com/nwrkbiz/android-xserver/issues
Changelog: https://github.com/nwrkbiz/android-xserver/releases
AutoName: X Server
RepoType: git
Repo: https://github.com/nwrkbiz/android-xserver
Builds:
- versionName: '1.24'
versionCode: 23
commit: '1.24'
subdir: demo
gradle:
- yes
- versionName: '1.27'
versionCode: 27
commit: '1.27'
subdir: demo
gradle:
- yes
- versionName: '1.28'
versionCode: 28
commit: '1.28'
subdir: demo
gradle:
- yes
- versionName: '1.29'
versionCode: 29
commit: '1.29'
subdir: demo
gradle:
- yes
- versionName: '1.30'
versionCode: 30
commit: '1.30'
subdir: demo
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '1.30'
CurrentVersionCode: 30
| Categories:
- System
License: MIT
AuthorName: Daniel Giritzer
AuthorWebSite: http://page.nwrk.biz/giri
SourceCode: https://github.com/nwrkbiz/android-xserver
IssueTracker: https://github.com/nwrkbiz/android-xserver/issues
Changelog: https://github.com/nwrkbiz/android-xserver/releases
AutoName: X Server
RepoType: git
Repo: https://github.com/nwrkbiz/android-xserver
Builds:
- versionName: '1.24'
versionCode: 23
commit: '1.24'
subdir: demo
gradle:
- yes
- versionName: '1.27'
versionCode: 27
commit: '1.27'
subdir: demo
gradle:
- yes
- versionName: '1.28'
versionCode: 28
commit: '1.28'
subdir: demo
gradle:
- yes
- versionName: '1.29'
versionCode: 29
commit: '1.29'
subdir: demo
gradle:
- yes
- versionName: '1.30'
versionCode: 30
commit: '1.30'
subdir: demo
gradle:
- yes
- versionName: '1.31'
versionCode: 31
commit: '1.31'
subdir: demo
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: '1.31'
CurrentVersionCode: 31
|
Add workaround for .pub id | dependencies:
pre:
- echo $GCLOUD_SERVICE_KEY | base64 --decode --ignore-garbage > ${HOME}/gcloud-service-key.json
- sudo /opt/google-cloud-sdk/bin/gcloud --quiet components update
- sudo /opt/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file ${HOME}/gcloud-service-key.json
- sudo /opt/google-cloud-sdk/bin/gcloud config set project $GCLOUD_PROJECT
- sudo mv ~/.ssh/id_circle-ci-gcloud ~/.ssh/google_compute_engine
- go get -t -d -v ./...
- go build -v
test:
override:
- go test -v -race ./...
deployment:
prod:
branch: master
commands:
- sudo /opt/google-cloud-sdk/bin/gcloud compute ssh gogeta-instance-1 --zone=europe-west1-b --command="echo Running Hal"
| dependencies:
pre:
- echo $GCLOUD_SERVICE_KEY | base64 --decode --ignore-garbage > ${HOME}/gcloud-service-key.json
- sudo /opt/google-cloud-sdk/bin/gcloud --quiet components update
- sudo /opt/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file ${HOME}/gcloud-service-key.json
- sudo /opt/google-cloud-sdk/bin/gcloud config set project $GCLOUD_PROJECT
- sudo mv ~/.ssh/id_circle-ci-gcloud ~/.ssh/google_compute_engine
- sudo mv ~/.ssh/id_circle-ci-gcloud.pub ~/.ssh/google_compute_engine.pub
- go get -t -d -v ./...
- go build -v
test:
override:
- go test -v -race ./...
deployment:
prod:
branch: master
commands:
- sudo /opt/google-cloud-sdk/bin/gcloud compute ssh gogeta-instance-1 --zone=europe-west1-b --command="echo Running Hal"
|
Save the coverage.html and scope image after each build. | general:
branches:
ignore:
- gh-pages
machine:
services:
- docker
environment:
GOPATH: /home/ubuntu:$GOPATH
SRCDIR: /home/ubuntu/src/github.com/weaveworks/scope
PATH: $PATH:$HOME/.local/bin
dependencies:
post:
- go get github.com/golang/lint/golint
- go get github.com/fzipp/gocyclo
- go get github.com/mattn/goveralls
- mkdir -p $(dirname $SRCDIR)
- cp -r $(pwd)/ $SRCDIR
test:
override:
- cd $SRCDIR; ./bin/lint .
- cd $SRCDIR; make
- cd $SRCDIR; ./bin/test
post:
- goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/profile.cov -service=circleci || true
| general:
branches:
ignore:
- gh-pages
machine:
services:
- docker
environment:
GOPATH: /home/ubuntu:$GOPATH
SRCDIR: /home/ubuntu/src/github.com/weaveworks/scope
PATH: $PATH:$HOME/.local/bin
dependencies:
post:
- go get github.com/golang/lint/golint
- go get github.com/fzipp/gocyclo
- go get github.com/mattn/goveralls
- mkdir -p $(dirname $SRCDIR)
- cp -r $(pwd)/ $SRCDIR
test:
override:
- cd $SRCDIR; ./bin/lint .
- cd $SRCDIR; make
- cd $SRCDIR; ./bin/test
post:
- goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/profile.cov -service=circleci || true
- cd $SRCDIR; cp coverage.html $CIRCLE_ARTIFACTS
- cd $SRCDIR; cp scope.tar $CIRCLE_ARTIFACTS
|
Update from Hackage at 2015-07-12T15:19:15+0000 | homepage: https://github.com/srijs/haskell-operational-class
changelog-type: ''
hash: dc1c8b6fa15bdc7d60c28c97efb124556bd360861af56e975156141c24964c42
test-bench-deps: {}
maintainer: srijs@airpost.net
synopsis: MonadProgram typeclass for the operational package
changelog: ''
basic-deps:
base: ! '>=4.6 && <5'
operational: ! '>=0.2'
transformers: ! '>=0.3'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
author: Sam Rijs
latest: '0.2.0.2'
description-type: haddock
description: ''
license-name: MIT
| homepage: https://github.com/srijs/haskell-operational-class
changelog-type: ''
hash: 55aa4d2d9382cf4c115ae44bc8653848fcc054c27be1c2887e8db28665f5fa83
test-bench-deps: {}
maintainer: srijs@airpost.net
synopsis: MonadProgram typeclass for the operational package
changelog: ''
basic-deps:
base: ! '>=4.6 && <5'
operational: ! '>=0.2'
transformers: ! '>=0.3'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.3.0.0'
author: Sam Rijs
latest: '0.3.0.0'
description-type: haddock
description: ''
license-name: MIT
|
Add cms website configuration for jenkins host | imports:
- { resource: '@PrestaCMSThemeBasicBundle/Resources/config/theme/creative.yml' }
parameters:
presta_cms.page.factory.class: Application\Presta\CMSCoreBundle\Factory\PageFactory
sonata_admin:
dashboard:
blocks:
- { position: right, type: presta_cms.block.dashboard.cms }
presta_cms_core:
default_website: /website/symfony-prestacms
default_locale: en
websites:
symfony-prestacms:
path: /website/symfony-prestacms
hosts:
dev:
en:
locale: en
host: www.symfony-prestacms.com.dev
fr:
locale: fr
host: www.symfony-prestacms.fr.dev
prod:
en:
locale: en
host: sandbox.prestacms.com
fr:
locale: fr
host: sandbox.prestacms.fr
| imports:
- { resource: '@PrestaCMSThemeBasicBundle/Resources/config/theme/creative.yml' }
parameters:
presta_cms.page.factory.class: Application\Presta\CMSCoreBundle\Factory\PageFactory
sonata_admin:
dashboard:
blocks:
- { position: right, type: presta_cms.block.dashboard.cms }
presta_cms_core:
default_website: /website/symfony-prestacms
default_locale: en
websites:
symfony-prestacms:
path: /website/symfony-prestacms
hosts:
dev:
en:
locale: en
host: www.symfony-prestacms.com.dev
fr:
locale: fr
host: www.symfony-prestacms.fr.dev
prod:
en:
locale: en
host: sandbox.prestacms.com
fr:
locale: fr
host: sandbox.prestacms.fr
jenkins:
en:
locale: en
host: symfony-prestacms.loc
|
Fix another references to seasonalcalendar | - hosts: calendars
roles:
- java
- common
- mongodb
- tomcat
- apache
- seasonalcalendar
| - hosts: calendars
roles:
- java
- common
- mongodb
- tomcat
- apache
- calendars
|
Install node-parent role on servers. | ---
- hosts: pulp1.example.org
become: true
become_user: root
remote_user: vagrant
vars:
roles:
- qpidd
- db
- pulp_ca
- pulp_server
- pulp_consumer
| ---
- hosts: pulp1.example.org
become: true
become_user: root
remote_user: vagrant
vars:
roles:
- db
- qpidd
- node_parent
- pulp_ca
- pulp_server
- pulp_consumer
|
Fix querying resource-classes for quota-sets | {{- if and (.Capabilities.APIVersions.Has "kos-operator.stable.sap.cc/v1") }}
apiVersion: kos-operator.stable.sap.cc/v1
kind: KosQuery
metadata:
name: ironic-quota-classes
execute: True
requirements:
- name: ironic-seed
kind: OpenstackSeed
context: ironic@Default/service
python: |
resource_classes = set(node.resource_class
for node in os.baremetal.nodes(fields='resource_class')
if node.resource_class)
quotas = {'instances_{}'.format(r): 0 for r in resource_classes}
endpoint_filter={'service_type': 'compute', 'interface': 'public'}
resp = os.session.post('/os-quota-class-sets/flavors',
endpoint_filter=endpoint_filter,
json=dict({"quota_class_set": quotas}))
LOG.debug("Got response: %s", resp.status_code)
{{- end }}
| {{- if and (.Capabilities.APIVersions.Has "kos-operator.stable.sap.cc/v1") }}
apiVersion: kos-operator.stable.sap.cc/v1
kind: KosQuery
metadata:
name: ironic-quota-classes
execute: True
requirements:
- name: ironic-seed
kind: OpenstackSeed
context: ironic@Default/service
python: |
from ironicclient import client as bmclient
bm = bmclient.get_client(1, session=os.session, os_ironic_api_version='1.46')
resource_classes = set(node.resource_class
for node in bm.node.list(fields=['resource_class'])
if node.resource_class)
quotas = {'instances_{}'.format(r): 0 for r in resource_classes}
endpoint_filter={'service_type': 'compute', 'interface': 'public'}
resp = os.session.post('/os-quota-class-sets/flavors',
endpoint_filter=endpoint_filter,
json=dict({"quota_class_set": quotas}))
LOG.debug("Got response: %s", resp.status_code)
{{- end }}
|
Update ruby versions for CI | name: Tests
on:
pull_request:
branches:
- "*"
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["1.9", "2.0", "2.7", "3.0"]
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: default
bundler-cache: true
- name: StandardRb check
run: bundle exec standardrb
- name: Run tests
run: |
bundle exec rake test
| name: Tests
on:
pull_request:
branches:
- "*"
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "3.0"]
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: default
bundler-cache: true
- name: StandardRb check
run: bundle exec standardrb
- name: Run tests
run: |
bundle exec rake test
|
Update CV of HACS to 2.6.5 (36) | AntiFeatures:
- NonFreeNet
Categories:
- Internet
License: MIT
SourceCode: https://github.com/ktt-ol/hacs
IssueTracker: https://github.com/ktt-ol/hacs/issues
Changelog: https://github.com/ktt-ol/hacs/blob/HEAD/CHANGELOG.md
AutoName: HACS
Description: An app for our "keyholder" to view and manage the door states of the
hackspace. It uses an mqtt service to get the current status and sends door commands
per ssh.
RepoType: git
Repo: https://github.com/ktt-ol/hacs
Builds:
- versionName: 2.6.5
versionCode: 36
commit: 2.6.5
subdir: app
gradle:
- yes
- versionName: 2.6.7
versionCode: 37
commit: 2.6.7
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 2.6.7
CurrentVersionCode: 37
| AntiFeatures:
- NonFreeNet
Categories:
- Internet
License: MIT
SourceCode: https://github.com/ktt-ol/hacs
IssueTracker: https://github.com/ktt-ol/hacs/issues
Changelog: https://github.com/ktt-ol/hacs/blob/HEAD/CHANGELOG.md
AutoName: HACS
Description: An app for our "keyholder" to view and manage the door states of the
hackspace. It uses an mqtt service to get the current status and sends door commands
per ssh.
RepoType: git
Repo: https://github.com/ktt-ol/hacs
Builds:
- versionName: 2.6.5
versionCode: 36
commit: 2.6.5
subdir: app
gradle:
- yes
- versionName: 2.6.7
versionCode: 37
commit: 2.6.7
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 2.6.5
CurrentVersionCode: 36
|
Build on push to master for badge / coverage | name: Node.js CI
on:
[pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node: [14.x, 12.x, 10.x]
exclude:
# On Windows, run tests with only the LTS environments.
- os: windows-latest
node: 10.x
- os: windows-latest
node: 14.x
# On macOS, run tests with only the LTS environments.
- os: macOS-latest
node: 10.x
- os: macOS-latest
node: 14.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm test
if: matrix.node-version != '10.x'
- run: npm run coverage
if: matrix.node-version == '14.x' && matrix.os == 'ubuntu-latest'
- name: Test without coverage
if: matrix.node-version == '10.x'
run: |
npm install -D esm
npx mocha -r esm
| name: Node.js CI
on:
[pull_request, push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node: [14.x, 12.x, 10.x]
exclude:
# On Windows, run tests with only the LTS environments.
- os: windows-latest
node: 10.x
- os: windows-latest
node: 14.x
# On macOS, run tests with only the LTS environments.
- os: macOS-latest
node: 10.x
- os: macOS-latest
node: 14.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm test
if: matrix.node-version != '10.x'
- run: npm run coverage
if: matrix.node-version == '14.x' && matrix.os == 'ubuntu-latest'
- name: Test without coverage
if: matrix.node-version == '10.x'
run: |
npm install -D esm
npx mocha -r esm
|
Add caching to CI workflow | name: CI
on: [push]
jobs:
build:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build
run: mvn compile --file pom.xml
- name: Test
run: mvn test --file pom.xml
- name: Package
run: mvn -Prelease -DskipTests package --file pom.xml
| name: CI
on: [push]
jobs:
build:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build
run: mvn compile --file pom.xml
- name: Test
run: mvn test --file pom.xml
- name: Package
run: mvn -Prelease -DskipTests package --file pom.xml
|
Update from Hackage at 2016-06-26T18:42:58+0000 | homepage: http://github.com/owainlewis/http-dispatch#readme
changelog-type: ''
hash: 8b4bc68dc52c4a7c08e5417bb28e2b3b2133e8244531bd8c668c8aabe4aba6ab
test-bench-deps:
base: -any
hspec: -any
http-dispatch: -any
aeson: -any
maintainer: owain@owainlewis.com
synopsis: High level HTTP client for Haskell
changelog: ''
basic-deps:
http-client: -any
bytestring: -any
case-insensitive: -any
base: ! '>=4.5 && <5'
base64-bytestring: -any
http-client-tls: -any
http-types: -any
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.3.0.0'
- '0.4.0.0'
- '0.5.0.0'
- '0.5.0.1'
author: Owain Lewis
latest: '0.5.0.1'
description-type: haddock
description: Please see README.md
license-name: BSD3
| homepage: http://github.com/owainlewis/http-dispatch#readme
changelog-type: ''
hash: 0caee299f2507d62246698c4d7bfedc7fc438480b1ab3f4eeeae80b3a6ae4d33
test-bench-deps:
base: -any
hspec: -any
http-dispatch: -any
aeson: -any
maintainer: owain@owainlewis.com
synopsis: High level HTTP client for Haskell
changelog: ''
basic-deps:
http-client: -any
bytestring: -any
case-insensitive: -any
base: ! '>=4.5 && <5'
base64-bytestring: -any
http-client-tls: -any
http-types: -any
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.3.0.0'
- '0.4.0.0'
- '0.5.0.0'
- '0.5.0.1'
- '0.5.0.2'
author: Owain Lewis
latest: '0.5.0.2'
description-type: haddock
description: Please see README.md
license-name: BSD3
|
Fix AppVeyor - Part 4 | # Test against the latest version of this Node.js version
environment:
nodejs_version: "14"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# Install modules
- npm install
# Build binaries
- npm run pkg
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# Run tests
- npm test
# Don't actually build.
build: off
artifacts:
- path: build\*
name: Releases
deploy:
provider: GitHub
auth_token:
secure: NaOTkbmbQ42PhMKDFuNHzQfhls7GyKe0wFxdm5/h5sxkfUDo1Exmd3Tyr3Il6kWo
artifact: /.*/
draft: false
prerelease: false
on:
appveyor_repo_tag: true
| # Test against the latest version of this Node.js version
environment:
nodejs_version: "14.0.0"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# Install modules
- npm install
# Build binaries
- npm run pkg
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# Run tests
- npm test
# Don't actually build.
build: off
artifacts:
- path: build\*
name: Releases
deploy:
provider: GitHub
auth_token:
secure: NaOTkbmbQ42PhMKDFuNHzQfhls7GyKe0wFxdm5/h5sxkfUDo1Exmd3Tyr3Il6kWo
artifact: /.*/
draft: false
prerelease: false
on:
appveyor_repo_tag: true
|
Use clang really in windows based clang job | name: build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-2019
compiler: MSVC
script: windows
- os: windows-2019
compiler: clang
script: windows
- os: ubuntu-20.04
compiler: gcc-10
cc: gcc-10
ccx: g++-10
script: linux
env:
COMPILER: ${{ matrix.compiler }}
CC: ${{ matrix.cc }}
CCX: ${{ matrix.ccx }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: BSFishy/pip-action@v1
with:
packages: conan
- run: ./.github/workflows/scripts/install/${{ matrix.script }}.sh
shell: bash
- run: |
mkdir build
cd build
cmake .. $CMAKE_OPTIONS -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release -j 6
ctest . -C Release
shell: bash
| name: build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-2019
compiler: MSVC
script: windows
- os: windows-2019
compiler: clang
script: windows
cmake-options: "-TClangCL -DWARNINGS_AS_ERRORS=0"
- os: ubuntu-20.04
compiler: gcc-10
cc: gcc-10
ccx: g++-10
script: linux
env:
COMPILER: ${{ matrix.compiler }}
CC: ${{ matrix.cc }}
CCX: ${{ matrix.ccx }}
CMAKE_OPTIONS: ${{ matrix.cmake-options }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- uses: BSFishy/pip-action@v1
with:
packages: conan
- run: ./.github/workflows/scripts/install/${{ matrix.script }}.sh
shell: bash
- run: |
mkdir build
cd build
cmake .. $CMAKE_OPTIONS -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release -j 6
ctest . -C Release
shell: bash
|
Add reference to the header | site_name: TripGo Developer
site_author: SkedGo Pty Ltd
pages:
- Getting Started: index.md
# - Specs: https://developer.tripgo.com/
- F.A.Q.: faq.md
# - Guides:
# - SDKs: guides/sdks.md
- Extensions: extensions.md
- Enterprise:
- Push Notifications: enterprise/push.md
- Bookings (API): enterprise/bookings-api.md
- Bookings (iOS): enterprise/bookings-ios.md
repo_url: https://github.com/skedgo/tripgo-api
theme:
name: null
custom_dir: 'skedgo_theme'
google_analytics: ['UA-33335816-3', 'developer.tripgo.com']
| site_name: TripGo Developer
site_author: SkedGo Pty Ltd
pages:
- Getting Started: index.md
- Reference: https://developer.tripgo.com/specs/
- F.A.Q.: faq.md
# - Guides:
# - SDKs: guides/sdks.md
- Extensions: extensions.md
- Enterprise:
- Push Notifications: enterprise/push.md
- Bookings (API): enterprise/bookings-api.md
- Bookings (iOS): enterprise/bookings-ios.md
repo_url: https://github.com/skedgo/tripgo-api
theme:
name: null
custom_dir: 'skedgo_theme'
google_analytics: ['UA-33335816-3', 'developer.tripgo.com']
|
Fix env name in git actions, remove old commented out code. | # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master ]
jobs:
run-tests:
name: pygtc CI python ${{ matrix.python-version }} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
os: [windows-latest]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test-env
environment-file: test-environment.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- shell: bash -l {0}
run: |
pytest --mpl
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v1
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt
# - name: Lint with flake8
# run: |
# pip install flake8
# # stop the build if there are Python syntax errors or undefined names
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# # exit-zero treats all errors as warnings.
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=79 --statistics
# - name: Test with pytest
# run: |
# pip install pytest pytest-mpl
# pytest --mpl --mpl-baseline-path=pygtc/tests/new_baseline | # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master ]
jobs:
run-tests:
name: pygtc CI python ${{ matrix.python-version }} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
os: [windows-latest]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pygtc-test
environment-file: test-environment.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- shell: bash -l {0}
run: |
pytest --mpl |
Move pusher component status to ready | notes: |
Push an element to the right if the space allows it, otherwise display it below.
status: wip
variants:
- name: middle
notes: Vertically align content in the middle.
context:
modifier: pusher--middle
- name: bottom
notes: Vertically align content to the bottom.
context:
modifier: pusher--bottom
- name: vertical
notes: >
Push an element to the bottom of its container. This requires the later height to be bigger than its content.
In this example, you can see a good combination with the `grid grid--even` component.
| notes: |
Push an element to the right if the space allows it, otherwise display it below.
variants:
- name: middle
notes: Vertically align content in the middle.
context:
modifier: pusher--middle
- name: bottom
notes: Vertically align content to the bottom.
context:
modifier: pusher--bottom
- name: vertical
notes: >
Push an element to the bottom of its container. This requires the later height to be bigger than its content.
In this example, you can see a good combination with the `grid grid--even` component.
|
Update flake8-bugbear in pre-commit config | repos:
- repo: https://github.com/asottile/pyupgrade
rev: v1.16.3
hooks:
- id: pyupgrade
exclude: docopt.py
- repo: https://github.com/python/black
rev: 19.3b0
hooks:
- id: black
language_version: python3
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.7
hooks:
- id: flake8
additional_dependencies: ['flake8-bugbear==18.8.0; python_version >= "3.5"']
- repo: https://github.com/asottile/blacken-docs
rev: v0.5.0
hooks:
- id: blacken-docs
additional_dependencies: [black==19.3b0]
| repos:
- repo: https://github.com/asottile/pyupgrade
rev: v1.16.3
hooks:
- id: pyupgrade
exclude: docopt.py
- repo: https://github.com/python/black
rev: 19.3b0
hooks:
- id: black
language_version: python3
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.7
hooks:
- id: flake8
additional_dependencies: ['flake8-bugbear==19.3.0; python_version >= "3.5"']
- repo: https://github.com/asottile/blacken-docs
rev: v0.5.0
hooks:
- id: blacken-docs
additional_dependencies: [black==19.3b0]
|
Stop pre-commit being quite so zealous | repos:
- repo: https://github.com/ambv/black
rev: 19.10b0
hooks:
- id: black
language_version: python3
language: python_venv
- repo: https://github.com/asottile/blacken-docs
rev: v1.4.0
hooks:
- id: blacken-docs
additional_dependencies: [black==19.10b0]
language: python_venv
- repo: https://github.com/asottile/pyupgrade
rev: v1.25.3
hooks:
- id: pyupgrade
language: python_venv
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
language: python_venv
- id: end-of-file-fixer
language: python_venv
- id: check-yaml
language: python_venv
- id: check-ast
language: python_venv
- id: mixed-line-ending
language: python_venv
- id: debug-statements
language: python_venv
- id: flake8
language: python_venv
additional_dependencies: [flake8-bugbear]
| repos:
- repo: https://github.com/ambv/black
rev: 19.10b0
hooks:
- id: black
language_version: python3
language: python_venv
- repo: https://github.com/asottile/blacken-docs
rev: v1.4.0
hooks:
- id: blacken-docs
additional_dependencies: [black==19.10b0]
language: python_venv
- repo: https://github.com/asottile/pyupgrade
rev: v1.25.3
hooks:
- id: pyupgrade
language: python_venv
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
language: python_venv
exclude: ^tests/data
- id: end-of-file-fixer
language: python_venv
- id: check-yaml
language: python_venv
- id: check-ast
language: python_venv
- id: mixed-line-ending
language: python_venv
- id: debug-statements
language: python_venv
- id: flake8
language: python_venv
additional_dependencies: [flake8-bugbear]
|
Update from Hackage at 2021-07-04T16:49:33Z | homepage: https://github.com/liisikerik/kawaii_parser
changelog-type: ''
hash: 40bf9799f1d1ce9058e6d3a2a60cb811e983c3efc7b1734c4a8e291c62dd0df2
test-bench-deps: {}
maintainer: liisikerik@hotmail.com
synopsis: A simple parsing library.
changelog: ''
basic-deps:
base: <4.15
containers: -any
mtl: -any
all-versions:
- 0.0.0
author: Liisi Kerik
latest: 0.0.0
description-type: haddock
description: |-
This library provides a simple tokeniser and parser. Its main focus is not efficiency but simplicity of implementation and
use. The choice operator for parsers is symmetric, avoiding the need to think about the order in which the alternatives are
listed. The library supports adding locations to the parse tree and aims to provide reasonably detailed information about
parse errors with minimal user involvement. It also contains a module with type synonyms for some compositions of monad
transformers.
license-name: BSD-3-Clause
| homepage: https://github.com/liisikerik/kawaii_parser
changelog-type: ''
hash: 5fc6d6ce1f39682c085fc140417eccdc186c9b3b500f1de0aeb4d3fe4859bec6
test-bench-deps: {}
maintainer: liisikerik@hotmail.com
synopsis: A simple parsing library.
changelog: ''
basic-deps:
base: <4.15
containers: -any
mtl: -any
all-versions:
- 0.0.0
- 1.0.0
author: Liisi Kerik
latest: 1.0.0
description-type: haddock
description: |-
This library provides a simple tokeniser and parser. Its main focus is not efficiency but simplicity of implementation and
use. The choice operator for parsers is symmetric, avoiding the need to think about the order in which the alternatives are
listed. The library supports adding locations to the parse tree and aims to provide reasonably detailed information about
parse errors with minimal user involvement. It also contains a module with type synonyms for some compositions of monad
transformers.
license-name: BSD-3-Clause
|
Add Ruby 2.7.1 + bump previous ruby | language: ruby
rvm:
- 2.5.3
- 2.6.0
branches:
only:
- master
- rails-5-x
| language: ruby
rvm:
- 2.5.8
- 2.6.6
- 2.7.2
branches:
only:
- master
- rails-5-x
before_install:
- gem install bundler
- bundle update --bundler
|
Build against Go 1.3 but don't fail builds if it has issues | language: go
go:
- 1.2
services:
- rabbitmq
- redis-server
script: make
notifications:
email: false
| language: go
go:
- 1.2
- 1.3
matrix:
allow_failures:
- go: 1.3
fast_finish: true
services:
- rabbitmq
- redis-server
script: make
notifications:
email: false
|
Exclude PHP 5.3 from Travis tests | # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
sudo: false
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
env:
- DB=MYSQL CORE_RELEASE=3.2
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2
allow_failures:
- php: 7.0
before_script:
- composer self-update || true
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install
script:
- vendor/bin/phpunit versionfeed/tests
| # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
sudo: false
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
env:
- DB=MYSQL CORE_RELEASE=3.2
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2
allow_failures:
- php: 7.0
before_script:
- composer self-update || true
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install
script:
- vendor/bin/phpunit versionfeed/tests
|
Change supported rubies to >= 1.9.3 | language: ruby
jdk:
- oraclejdk7
services:
- mongodb
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
matrix:
allow_failures:
- rvm: rbx-19mode
- rvm: rbx-18mode
| language: ruby
jdk:
- oraclejdk7
services:
- mongodb
rvm:
- 1.9.3
- 2.1.6
- 2.2.2
- jruby-19mode
- rbx-19mode
matrix:
allow_failures:
- rvm: rbx-19mode
|
Set TZ env variable to 'Europe/Paris' | language: c
script: make test
notifications:
email:
on_success: never
| language: c
script: make test
env:
global:
- TZ=Europe/Paris
notifications:
email:
on_success: never
|
Remove redundant ln from Travis CI code | # Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
- "3.6"
# matrix:
# include:
# - python: "3.7"
# dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
# sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)
install:
- "python setup.py sdist"
- "mkdir tmp"
- "ln ci/* tmp"
- "cd tmp"
- "pip install --upgrade pip"
- "pip install $(echo ../dist/skyfield-*.tar.gz)'[tests]'"
- "pip install https://github.com/brandon-rhodes/assay/archive/master.zip"
- "pip install unittest2"
script:
- "assay --batch skyfield.tests"
- "if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]] ; then pip install astropy==3.0.1 matplotlib==2.2.3 numpy==1.14.2 pandas==0.23.3 sphinx==1.7.2 ; cd .. ; ln ci/* tmp/*.bsp skyfield/documentation ; ./test-docs.sh ; fi"
| # Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
- "3.6"
# matrix:
# include:
# - python: "3.7"
# dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
# sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)
install:
- "python setup.py sdist"
- "mkdir tmp"
- "ln ci/* tmp"
- "cd tmp"
- "pip install --upgrade pip"
- "pip install $(echo ../dist/skyfield-*.tar.gz)'[tests]'"
- "pip install https://github.com/brandon-rhodes/assay/archive/master.zip"
- "pip install unittest2"
script:
- "assay --batch skyfield.tests"
- "if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]] ; then pip install astropy==3.0.1 matplotlib==2.2.3 numpy==1.14.2 pandas==0.23.3 sphinx==1.7.2 ; cd .. ; ./test-docs.sh ; fi"
|
Use the latest Rubies on Travis CI | language: ruby
before_install:
- gem install bundler
gemfile:
- Gemfile
rvm:
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
- ruby-head
script:
- bundle exec rspec spec
| language: ruby
before_install:
- gem install bundler
gemfile:
- Gemfile
rvm:
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head
script:
- bundle exec rspec spec
|
Add Ruby 2.0.0 and allow failures on Travis CI | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-18mode
- rbx-19mode
- ree
matrix:
allow_failures:
- rvm: rbx-18mode
- rvm: rbx-19mode
- rvm: jruby-18mode
- rvm: jruby-19mode
before_script:
- "psql -c 'create database pg_search_test;' -U postgres >/dev/null"
script: "bundle exec rspec spec"
| language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-18mode
- rbx-19mode
- ree
matrix:
allow_failures:
- rvm: 2.0.0
- rvm: rbx-18mode
- rvm: rbx-19mode
- rvm: jruby-18mode
- rvm: jruby-19mode
before_script:
- "psql -c 'create database pg_search_test;' -U postgres >/dev/null"
script: "bundle exec rspec spec"
|
Remove option passed to pip | sudo: false
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
env:
- DB=mongodb
- DB=mysql
- DB=redis-server
before_script:
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS testdb;';
fi"
services:
- mongodb
- redis-server
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
- if [ $TRAVIS_PYTHON_VERSION == '2.6' ] || [ $TRAVIS_PYTHON_VERSION == '2.7' ]; then
pip install python-memcached; else pip install python3-memcached; fi
- pip install -r requirements.txt --use-mirrors
script: make test
deploy:
provider: pypi
user: wandhydrant
password:
secure: F1Sg5YXT6ZwsOvo5mfGGLwRTgyaYE/jXQMEyN9Sz223IeuJy8YQYempMAhPZbJY8zKI4FM9KIVNZB6JH9AXjV7fUS4axee8eqrSHFYqEz+gPVk6BYepYtUBw1U6xRbJeMFwNg6kaJvY+TGmyAKEeWyHPLDNEdU+tKHB4fyLnbIc=
on:
tags: true
repo: wndhydrnt/python-oauth2
| sudo: false
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
env:
- DB=mongodb
- DB=mysql
- DB=redis-server
before_script:
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS testdb;';
fi"
services:
- mongodb
- redis-server
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
- if [ $TRAVIS_PYTHON_VERSION == '2.6' ] || [ $TRAVIS_PYTHON_VERSION == '2.7' ]; then
pip install python-memcached; else pip install python3-memcached; fi
- pip install -r requirements.txt
script: make test
deploy:
provider: pypi
user: wandhydrant
password:
secure: F1Sg5YXT6ZwsOvo5mfGGLwRTgyaYE/jXQMEyN9Sz223IeuJy8YQYempMAhPZbJY8zKI4FM9KIVNZB6JH9AXjV7fUS4axee8eqrSHFYqEz+gPVk6BYepYtUBw1U6xRbJeMFwNg6kaJvY+TGmyAKEeWyHPLDNEdU+tKHB4fyLnbIc=
on:
tags: true
repo: wndhydrnt/python-oauth2
|
Load the timezones for mysql | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
env:
- DATABASE_ENGINE=sqlite
- DATABASE_ENGINE=postgres
- DATABASE_ENGINE=mysql
install:
- pip install -U setuptools
- python bootstrap.py
- ./bin/buildout -c travis.cfg
before_script:
- ./bin/flake8 --exclude=migrations zinnia
- sh -c "if [ '$DATABASE_ENGINE' = 'postgres' ]; then psql -c 'create database zinnia;' -U postgres; fi"
- sh -c "if [ '$DATABASE_ENGINE' = 'mysql' ]; then mysql -e 'create database zinnia CHARACTER SET utf8 COLLATE utf8_general_ci;'; fi"
script:
- ./bin/test
after_success:
- ./bin/coveralls
notifications:
irc:
- "irc.freenode.org#django-blog-zinnia"
| language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
env:
- DATABASE_ENGINE=sqlite
- DATABASE_ENGINE=postgres
- DATABASE_ENGINE=mysql
install:
- pip install -U setuptools
- python bootstrap.py
- ./bin/buildout -c travis.cfg
before_script:
- ./bin/flake8 --exclude=migrations zinnia
- sh -c "if [ '$DATABASE_ENGINE' = 'postgres' ]; then psql -c 'create database zinnia;' -U postgres; fi"
- sh -c "if [ '$DATABASE_ENGINE' = 'mysql' ]; then mysql -e 'create database zinnia CHARACTER SET utf8 COLLATE utf8_general_ci; mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql'; fi"
script:
- ./bin/test
after_success:
- ./bin/coveralls
notifications:
irc:
- "irc.freenode.org#django-blog-zinnia"
|
Use codecov instead of coveralls | # Branch definition: only build master and PRs
branches:
only:
master
# Build definition; language, deps, scripts
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- pip install -r requirements/dev.txt
script:
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then tox -e py27-dj18,py27-dj19,py27-dj110; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then tox -e py34-dj18,py34-dj19,py34-dj110; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then tox -e py35-dj18,py35-dj19,py35-dj110; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then tox -e py36-dj18,py36-dj19,py36-dj110; fi
after_success:
- pip install coveralls
- coveralls
| # Branch definition: only build master and PRs
branches:
only:
master
# Build definition; language, deps, scripts
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- pip install -r requirements/dev.txt
script:
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then tox -e py27-dj18,py27-dj19,py27-dj110; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then tox -e py34-dj18,py34-dj19,py34-dj110; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then tox -e py35-dj18,py35-dj19,py35-dj110; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then tox -e py36-dj18,py36-dj19,py36-dj110; fi
after_success:
- pip install codecov
- codecov
|
Add automatic PyPI deploy to Travis CI config | language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install lxml -e .
- pip install -U codecov pytest-cov
script:
py.test --cov-report term --cov=cssselect
after_success:
codecov
| language: python
python:
- '2.6'
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
install:
- pip install lxml -e .
- pip install -U codecov pytest-cov
script:
py.test --cov-report term --cov=cssselect
after_success:
codecov
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: redapple
password:
secure: T1PBD+ocIGwHMbBHPqzu7UZxpkB0w98KtEIkNzLXNQcF7JpjugZNwz4xX2xVhi8yvUQ257VtLSKpIOT2FWxrfLrgTZKbTd6Q7V5Lf3HKzLomOKUKMAd54gsOuismE27CT/SHbexskACgwVwkyG9Y3dlG6m/ZBgqoPAGaJrScjEU=
on:
tags: true
repo: scrapy/cssselect
|
Add Ruby 2.3.0 for CI | language: ruby
script: "bundle exec rspec"
rvm:
- 2.2.3
before_install: gem install bundler -v 1.10.6
gemfile:
- Gemfile
notifications:
email: false
| language: ruby
script: "bundle exec rspec"
rvm:
- 2.3.0
- 2.2.3
before_install: gem install bundler -v 1.10.6
gemfile:
- Gemfile
notifications:
email: false
|
Add ci targets and fix bundler issue in 1.9.3 | language: ruby
rvm:
- 1.9.3
- "2.0"
- "2.1"
- ruby-head
gemfile:
- gemfiles/rspec2.gemfile
- gemfiles/rspec3.gemfile | language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.3
- ruby-head
install:
- "gem install bundler"
- "bundle install --jobs=3 --retry=3"
gemfile:
- gemfiles/rspec2.gemfile
- gemfiles/rspec3.gemfile |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.