Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add node v0.7.x on Travis CI test runs. | language: node_js
node_js:
- 0.4
- 0.6
before_install: "npm install -g bob"
script: "bob clean lint test coverage"
| language: node_js
node_js:
- 0.4
- 0.6
- 0.7
before_install: "npm install -g bob"
script: "bob clean lint test coverage"
|
Add more nodes to run tests against | language: node_js
node_js:
- "0.10"
script:
npm run-script build | language: node_js
node_js:
- "0.10"
- "0.12"
- "4.1"
- "5.4"
script:
npm run-script build
|
Use xenial for Python 3.7 | sudo: false
# Following configures which base images are available to run tests
dist: trusty
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "pypy"
install:
- pip install tox-travis
script:
- tox
matrix:
include:
- python: "2.7"
env: TOXENV=flake8
| sudo: false
# Following configures which base images are available to run tests
dist: trusty
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
install:
- pip install tox-travis
script:
- tox
matrix:
include:
- python: "2.7"
env: TOXENV=flake8
# xenial is the only way to get 3.7, but xenial only supports 2.7/3.6/3.7
include:
- python: "3.7"
dist: xenial
|
Add Ruby 2.6, drop Ruby 2.3 | sudo: false
cache: bundler
language: ruby
rvm:
- 2.5
- 2.3
matrix:
include:
- rvm: 2.5
env: JEKYLL_VERSION=3.7.4
env:
matrix:
- JEKYLL_VERSION=3.8.5
branches:
only:
- master
before_install:
- gem update --system
script: script/cibuild
notifications:
irc:
on_success: change
on_failure: change
channels:
- irc.freenode.org#jekyll
template:
- '%{repository}#%{build_number} %{message} %{build_url}'
email:
on_success: never
on_failure: change
| sudo: false
cache: bundler
language: ruby
rvm:
- 2.6
- 2.4
matrix:
include:
- rvm: 2.5
env: JEKYLL_VERSION=3.7.4
env:
matrix:
- JEKYLL_VERSION=3.8.5
branches:
only:
- master
before_install:
- gem update --system
script: script/cibuild
notifications:
irc:
on_success: change
on_failure: change
channels:
- irc.freenode.org#jekyll
template:
- '%{repository}#%{build_number} %{message} %{build_url}'
email:
on_success: never
on_failure: change
|
Make sure weβre using the latest Bundler | language: ruby
rvm:
- 1.9.3
after_success:
- ! '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && curl -v -X DELETE -u $GITHUB_USER:$GITHUB_PASSWORD
"https://api.github.com/repos/$TRAVIS_REPO_SLUG/git/refs/tags/CURRENT"'
- ! '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && curl -v -X POST -d ''{"ref":"refs/tags/CURRENT","sha":"''$TRAVIS_COMMIT''"}'' --header
"Content-Type:application/json" -u $GITHUB_USER:$GITHUB_PASSWORD "https://api.github.com/repos/$TRAVIS_REPO_SLUG/git/refs"'
branches:
except:
- CURRENT
services:
- mongodb
notifications:
irc:
channels:
- irc.freenode.net#theodi
template:
- ! '%{repository} %{branch} - %{message} %{build_url}'
on_success: change
on_failure: always
| language: ruby
rvm:
- 1.9.3
before_install:
- gem install bundler
- gem uninstall bundler -v old.bundler.version
after_success:
- ! '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && curl -v -X DELETE -u $GITHUB_USER:$GITHUB_PASSWORD
"https://api.github.com/repos/$TRAVIS_REPO_SLUG/git/refs/tags/CURRENT"'
- ! '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && curl -v -X POST -d ''{"ref":"refs/tags/CURRENT","sha":"''$TRAVIS_COMMIT''"}'' --header
"Content-Type:application/json" -u $GITHUB_USER:$GITHUB_PASSWORD "https://api.github.com/repos/$TRAVIS_REPO_SLUG/git/refs"'
branches:
except:
- CURRENT
services:
- mongodb
notifications:
irc:
channels:
- irc.freenode.net#theodi
template:
- ! '%{repository} %{branch} - %{message} %{build_url}'
on_success: change
on_failure: always
|
Install codecov and run in coverage | language: python
python:
- "3.6"
env:
- DJANGO_VERSION=2.0.2
# command to install dependencies
install:
- "pip install -q -e ."
- "pip install -q -r demo/requirements.txt"
- "pip install -q Django==$DJANGO_VERSION"
# command to run tests
script: "cd demo && python manage.py makemigrations && python manage.py test plans"
| language: python
python:
- "3.6"
env:
- DJANGO_VERSION=2.0.2
# command to install dependencies
install:
- "pip install -q -e ."
- "pip install -q -r demo/requirements.txt"
- "pip install -q Django==$DJANGO_VERSION"
- "pip install codecov"
# command to run tests
script: "cd demo && python manage.py makemigrations && coverage run manage.py test plans"
|
Use our own python3 distribution to build on Travis | sudo: false
language: python
python:
- "2.7"
addons:
apt:
packages:
- parallel
install:
- pip install futures
- pip install http://ftp.openquake.org/python-wheels/numpy-1.8.2-cp27-none-linux_x86_64.whl
- pip install http://ftp.openquake.org/python-wheels/scipy-0.16.0-cp27-none-linux_x86_64.whl
- pip install http://ftp.openquake.org/python-wheels/Cython-0.22.1-cp27-none-linux_x86_64.whl
- pip install http://ftp.openquake.org/python-wheels/Shapely-1.5.9-py2-none-any.whl
- pip install http://ftp.openquake.org/python-wheels/h5py-2.2.1-cp27-none-linux_x86_64.whl
- pip install https://github.com/gem/oq-hazardlib/archive/master.zip
- python setup.py install
script:
- PYTHONPATH=. nosetests -vsx -a'!slow' --with-xunit --nologcapture --with-doctest
- # cd bin; python slowtests ../nosetests.xml
| sudo: false
language: python
python:
- "3.5"
addons:
apt:
packages:
- wget
before_install:
- wget http://ftp.openquake.org/travis/openquake-env-setup-py3-linux64.run
env:
LD_LIBRARY_PATH=$HOME/openquake/lib
PATH=$HOME/openquake/lib:$PATH
install:
- ./openquake-env-setup-py3-linux64.run -- -d ~
- pip install https://github.com/gem/oq-hazardlib/archive/python3.zip
- pip install .
script:
- nosetests -vsx -a'!slow' --with-xunit --nologcapture --with-doctest
|
Fix executing coveralls on Travis | language: php
dist: trusty
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
matrix:
allow_failures:
- php: hhvm
include:
- php: "5.3"
dist: precise
before_install:
- composer self-update
install:
- composer install
# Last released version of htmlpurifier (4.10.0) is broken on HHVM
# https://github.com/ezyang/htmlpurifier/issues/169
- if [ "${TRAVIS_PHP_VERSION}" == "hhvm" ]; then composer require 'ezyang/htmlpurifier:dev-master#89b3fe4'; fi
script:
- mkdir -p build/logs
- php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- php vendor/bin/coveralls
| language: php
dist: trusty
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
matrix:
allow_failures:
- php: hhvm
include:
- php: "5.3"
dist: precise
before_install:
- composer self-update
install:
- composer install
# Last released version of htmlpurifier (4.10.0) is broken on HHVM
# https://github.com/ezyang/htmlpurifier/issues/169
- if [ "${TRAVIS_PHP_VERSION}" == "hhvm" ]; then composer require 'ezyang/htmlpurifier:dev-master#89b3fe4'; fi
script:
- mkdir -p build/logs
- php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- if [ -f "vendor/bin/php-coveralls" ]; then php vendor/bin/php-coveralls; else vendor/bin/coveralls; fi
|
Drop PHP 5.5 from Travis testing | sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
before_install:
## Disable xdebug
- phpenv config-rm xdebug.ini
## Update Composer
- composer self-update
## Install latest version of node
- nvm install node
install:
## Install Composer dependencies
- composer install --no-interaction --prefer-source
before_script:
## Travis configuration
- cp app/config/settings.inc.php.ini app/config/settings.inc.php
## Install ESLint
- npm install -g eslint
script:
- vendor/atoum/atoum/bin/atoum -d tests/units/
- vendor/bin/php-cs-fixer --diff --dry-run -v fix
- eslint web/assets/js
notifications:
irc:
channels:
- "irc.mozilla.org#l10n-tools"
on_success: always
on_failure: always
use_notice: true
template:
- "%{repository} ; %{commit} (%{author}) : %{message} "
- "Build details: %{build_url} ; changes: %{compare_url}"
matrix:
fast_finish: true
| sudo: false
language: php
php:
- 5.6
- 7.0
before_install:
## Disable xdebug
- phpenv config-rm xdebug.ini
## Update Composer
- composer self-update
## Install latest version of node
- nvm install node
install:
## Install Composer dependencies
- composer install --no-interaction --prefer-source
before_script:
## Travis configuration
- cp app/config/settings.inc.php.ini app/config/settings.inc.php
## Install ESLint
- npm install -g eslint
script:
- vendor/atoum/atoum/bin/atoum -d tests/units/
- vendor/bin/php-cs-fixer --diff --dry-run -v fix
- eslint web/assets/js
notifications:
irc:
channels:
- "irc.mozilla.org#l10n-tools"
on_success: always
on_failure: always
use_notice: true
template:
- "%{repository} ; %{commit} (%{author}) : %{message} "
- "Build details: %{build_url} ; changes: %{compare_url}"
matrix:
fast_finish: true
|
Add new ruby versions to TravisCI | language: ruby
matrix:
allow_failures:
- rvm: ruby-head
rvm:
- 2.1.10
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
- ruby-head
before_install:
# need this for ruby 1.9.3 and rspec
- gem update --system
- gem update bundler --force
| language: ruby
matrix:
allow_failures:
- rvm: ruby-head
rvm:
- 2.4
- 2.5
- 2.6
- 2.7
- ruby-head
before_install:
# need this for ruby 1.9.3 and rspec
- gem update --system
- gem update bundler --force
|
Test on older Node.js versions | language: node_js
node_js:
- 6.0
before_script:
- npm install -g grunt-cli
notifications:
email: false
| language: node_js
node_js:
- 0.10
- 0.12
- 4
- 6
before_script:
- npm install -g grunt-cli
notifications:
email: false
|
Fix pip install link for tangled (again) | language: python
python:
- "3.3"
install:
- pip install git://github.com/TangledWeb/tangled.git#egg=tangled
- pip install .
script: py.test
| language: python
python:
- "3.3"
install:
- pip install git+git://github.com/TangledWeb/tangled.git#egg=tangled
- pip install .
script: py.test
|
Add Python 3.8 to TravisCI configuration | language: python
python:
- '3.7'
cache:
pip: true
directories:
- $HOME/.cache/pre-commit
before_install:
- python --version
- pip install -U pip
install:
- pip install -r requirements.txt
- pip install -r requirements_test.txt
before_script:
- mv secrets_dummy.yaml secrets.yaml
- pre-commit install-hooks
script:
- pre-commit run yamllint --all-files
- hass -c . --script check_config
| language: python
python:
- '3.7'
- '3.8'
cache:
pip: true
directories:
- $HOME/.cache/pre-commit
before_install:
- pip install -U pip
install:
- pip install -r requirements.txt
- pip install -r requirements_test.txt
before_script:
- mv secrets_dummy.yaml secrets.yaml
- pre-commit install-hooks
script:
- pre-commit run yamllint --all-files
- hass -c . --script check_config
|
Use consistent calls for tests | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: 5.6
- php: hhvm
before_script:
- if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then sh -c "php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &"; fi
script:
- php -l src/*
- if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then cd tests && phpunit --configuration phpunit.xml; fi
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: 5.6
- php: hhvm
before_script:
- if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then sh -c "php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &"; fi
script:
- php -l src/*
- if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then sh -c "cd tests && phpunit --configuration phpunit.xml"; fi
|
Enable local folder sharing over NFS. | # - name: default
# source: .
# destination: /vagrant
# nfs: true
# mount_options: 'nolock,vers=3,udp,noatime'
# disabled: false
| - name: default
source: .
destination: /vagrant
nfs: true
mount_options: 'nolock,vers=3,udp,noatime'
|
Use the secure version of rustup.sh | # Use the language closest to rust, as rust itself is not supported
language: c
notifications:
email:
on_success: never
on_failure: always
install:
- sudo apt-get install libsdl1.2-dev
- curl http://www.rust-lang.org/rustup.sh | sudo sh -
script:
- make
- make test
- make opt
| # Use the language closest to rust, as rust itself is not supported
language: c
notifications:
email:
on_success: never
on_failure: always
install:
- sudo apt-get install libsdl1.2-dev
- curl https://static.rust-lang.org/rustup.sh | sudo sh -
script:
- make
- make test
- make opt
|
Test with Python 2.7 on Travis | dist: trusty
sudo: false
language: python
branches:
only:
- master
matrix:
include:
- python: 2.6
env: TOXENV=py26-test
- python: 3.6
env: TOXENV=py36-test
- python: 3.6
env: TOXENV=py36-docs
- python: 3.6
env: TOXENV=py36-doctest
install:
- pip install -U tox
script:
- tox
| dist: trusty
sudo: false
language: python
branches:
only:
- master
matrix:
include:
- python: 2.7
env: TOXENV=py27-test
- python: 3.6
env: TOXENV=py36-test
- python: 3.6
env: TOXENV=py36-docs
- python: 3.6
env: TOXENV=py36-doctest
install:
- pip install -U tox
script:
- tox
|
Test on windows with two node versions & only run `test:ava` | language: node_js
matrix:
include:
- os: linux
addons:
chrome: stable
node_js: 8.6
- os: linux
addons:
chrome: stable
node_js: node # Latest
- os: windows
filter_secrets: false # Secrets will otherwise break Windows builds
node_js: latest
script:
- npm test
| language: node_js
matrix:
include:
- os: linux
addons:
chrome: stable
node_js: 8.6
- os: linux
addons:
chrome: stable
node_js: node # Latest
- os: windows
filter_secrets: false # Secrets will otherwise break Windows builds
node_js: 8.6
script: npm run test:ava
- os: windows
filter_secrets: false # Secrets will otherwise break Windows builds
node_js: latest
script: npm run test:ava
script:
- npm test
|
Use Ubuntu Trusty with G++ 4.8 | os:
- linux
- osx
language: node_js
node_js:
- 4
- 5
- 6
- 7
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install zmq; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libzmq3-dev; fi
script:
- travis_retry npm run report:coveralls
env:
global:
- NODE_ENV=development
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
| os:
- linux
- osx
dist: trusty
language: node_js
node_js:
- 4
- 5
- 6
- 7
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install zmq; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libzmq3-dev; fi
script:
- travis_retry npm run report:coveralls
env:
global:
- NODE_ENV=development
|
Update circleci/python:3.7.1 Docker digest to 3f14ef6 | # Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/python:3.7.1@sha256:d6f063b0a12ec7059d866f0819e8453c90a05710e26266e91a1dd5d8d3678dbb
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
python setup.py dev_persistent_pip_sync
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }}
- run:
name: run tests
command: |
. venv/bin/activate
flake8 bamboo_crawler tests
export AWS_ACCESS_KEY_ID=''
export AWS_SECRET_ACCESS_KEY=''
python setup.py test
- store_artifacts:
path: test-reports
destination: test-reports
| # Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/python:3.7.1@sha256:3f14ef64bad2cca6fc88c9e497ef8032bac44f8f8a8f213135592413ea699e15
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
python setup.py dev_persistent_pip_sync
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }}
- run:
name: run tests
command: |
. venv/bin/activate
flake8 bamboo_crawler tests
export AWS_ACCESS_KEY_ID=''
export AWS_SECRET_ACCESS_KEY=''
python setup.py test
- store_artifacts:
path: test-reports
destination: test-reports
|
Update from Hackage at 2019-04-27T07:06:43Z | homepage: https://github.com/tsahyt/solar#readme
changelog-type: ''
hash: f7ceda8d2251a7d86f685d66eb22bc30d5cddf3458793d3b26b031b27b2a1816
test-bench-deps: {}
maintainer: paul@tsahyt.com
synopsis: Simple library for solar calculations
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
time: ! '>=1.8 && <1.10'
all-versions:
- 0.1.0.0
author: Paul Ogris
latest: 0.1.0.0
description-type: markdown
description: "# solar\n\nSimple solar calculations based on\nhttps://www.esrl.noaa.gov/gmd/grad/solcalc/calcdetails.html
\n"
license-name: MIT
| homepage: https://github.com/tsahyt/solar#readme
changelog-type: ''
hash: 499ba03876cb045b5b8314285eedde11dd29d4bbf981c81bf908c69e99418764
test-bench-deps: {}
maintainer: paul@tsahyt.com
synopsis: Simple library for solar calculations
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
time: ! '>=1.8 && <1.10'
all-versions:
- 0.1.0.0
author: Paul Ogris
latest: 0.1.0.0
description-type: markdown
description: "# solar\n\nSimple solar calculations based on\nhttps://www.esrl.noaa.gov/gmd/grad/solcalc/calcdetails.html
\n"
license-name: MIT
|
Set server name not IP. | # Glynn setup
ftp_host: '78.47.17.26'
ftp_dir: '/public_html'
ftp_passive: true
# optional
ftp_port: 21 # default 21
ftp_secure: false # default false
# credentials
| # Glynn setup
ftp_host: 'dedi302.your-server.de'
ftp_dir: '/public_html'
ftp_passive: true
# optional
ftp_port: 21 # default 21
ftp_secure: false # default false
# credentials
|
Update python import reorder module to use python3 | repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.2.1
hooks:
- id: trailing-whitespace
- id: flake8
entry: flake8 --ignore E402,W503,W504,E126
- id: check-added-large-files
exclude: '^.+?\.ttf$'
- id: debug-statements
- id: end-of-file-fixer
exclude: '^.+?\.json.+?\.yml$'
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.4.0
hooks:
- id: reorder-python-imports
language_version: python2.7
- repo: local
hooks:
- id: frontend-lint
name: Linting of JS, Vue, SCSS and CSS files
description: This hook handles all frontend linting for Kolibri Studio
entry: yarn run lint -w
language: system
files: \.(js|vue|scss|less|css)$
| repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.2.1
hooks:
- id: trailing-whitespace
- id: flake8
entry: flake8 --ignore E402,W503,W504,E126
- id: check-added-large-files
exclude: '^.+?\.ttf$'
- id: debug-statements
- id: end-of-file-fixer
exclude: '^.+?\.json.+?\.yml$'
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.4.0
hooks:
- id: reorder-python-imports
language_version: python3
- repo: local
hooks:
- id: frontend-lint
name: Linting of JS, Vue, SCSS and CSS files
description: This hook handles all frontend linting for Kolibri Studio
entry: yarn run lint -w
language: system
files: \.(js|vue|scss|less|css)$
|
Use the 'docker_container' and 'docker_image' modules as 'docker' as been deprecated | ---
- hosts: 'localhost'
tasks:
- name: 'Ensure that we can connect to this host'
ping:
roles:
- role: 'ansible-role-docker'
become: true
tasks:
- name: 'Ensure that the docker daemon is functional'
become: true
docker_ping:
register: result
retries: 5
delay: 10
until: result|success
- name: 'Start the nginx container'
become: true
docker:
name: 'nginx'
image: 'nginx:latest'
state: 'started'
- name: 'Ensure that the docker daemon is functional specifically through /var/run/docker.sock'
become: true
docker_ping:
unix_socket: '/var/run/docker.sock'
register: result
retries: 5
delay: 10
until: result|success
| ---
- hosts: 'localhost'
tasks:
- name: 'Ensure that we can connect to this host'
ping:
roles:
- role: 'ansible-role-docker'
become: true
tasks:
- name: 'Ensure that the docker daemon is functional'
become: true
docker_ping:
register: result
retries: 5
delay: 10
until: result|success
- name: 'Pull in the latest nginx container'
become: true
docker_image:
name: 'nginx:latest'
- name: 'Start the nginx container'
become: true
docker_container:
name: 'nginx'
image: 'nginx:latest'
state: 'started'
- name: 'Ensure that the docker daemon is functional specifically through /var/run/docker.sock'
become: true
docker_ping:
unix_socket: '/var/run/docker.sock'
register: result
retries: 5
delay: 10
until: result|success
|
Upgrade base image for Read the Docs | version: 2
build:
os: "ubuntu-20.04"
tools:
python: "3.8"
python:
install:
- method: pip
path: .
extra_requirements:
- doc
- cesium
sphinx:
# fail_on_warning: true # Too hard, maybe one day?
fail_on_warning: false
| version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.8"
python:
install:
- method: pip
path: .
extra_requirements:
- doc
- cesium
sphinx:
# fail_on_warning: true # Too hard, maybe one day?
fail_on_warning: false
|
Drop author var from template | name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
branches:
- 'master'
- 'develop'
exclude-lables:
- 'release'
categories:
- title: 'π Features'
labels:
- 'enhancement'
- title: 'π Bug Fixes'
labels:
- 'bug'
- title: 'π Documentation'
labels:
- 'documentation'
- title: 'π§° Miscellaneous'
labels:
- 'misc'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
template: |
$CHANGES
Thanks to $CONTRIBUTORS for their lovely contributions.
| name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
branches:
- 'master'
- 'develop'
exclude-lables:
- 'release'
categories:
- title: 'π Features'
labels:
- 'enhancement'
- title: 'π Bug Fixes'
labels:
- 'bug'
- title: 'π Documentation'
labels:
- 'documentation'
- title: 'π§° Miscellaneous'
labels:
- 'misc'
change-template: '- $TITLE GH-$NUMBER'
template: |
$CHANGES
Thanks to $CONTRIBUTORS for their lovely contributions.
|
Remove owasp dependency check because it's currently broken | # This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Build
on:
workflow_dispatch:
inputs:
git-ref:
description: Git Ref (Optional)
required: false
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 9 * * *'
jobs:
build:
runs-on: ubuntu-latest
env:
DISPLAY: :0
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Setup xvfb (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0
# start xvfb in the background
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew dependencyCheckAggregate build
- name: Archive dependency check report
uses: actions/upload-artifact@v2
with:
name: dependency-check-report
path: build/reports/dependency-check-report.html
| # This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Build
on:
workflow_dispatch:
inputs:
git-ref:
description: Git Ref (Optional)
required: false
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 9 * * *'
jobs:
build:
runs-on: ubuntu-latest
env:
DISPLAY: :0
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Setup xvfb (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0
# start xvfb in the background
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
|
Update from Hackage at 2020-11-26T19:13:33Z | homepage: https://github.com/incertia/data-as
changelog-type: markdown
hash: 3ab6f1543c6cee2fec70f6950cd4ce1255d2e2e41ca1e5bd2730756bcd9e873f
test-bench-deps: {}
maintainer: incertia@incertia.net
synopsis: Simple extensible sum
changelog: |
# Revision history for data-as
## 0.0.0.1
* initial release
basic-deps:
base: '>=4.14 && <4.15'
profunctors: -any
all-versions:
- 0.0.0.1
author: Will Song
latest: 0.0.0.1
description-type: haddock
description: Simple extensible sum
license-name: MIT
| homepage: https://github.com/incertia/data-as
changelog-type: markdown
hash: 93950151a5434e49884b3b554d06602424b30a60b9ca7f89637ee3a2ef34cb5b
test-bench-deps: {}
maintainer: incertia@incertia.net
synopsis: Simple extensible sum
changelog: |
# Revision history for data-as
## 0.0.0.1
* initial release
basic-deps:
base: <5
profunctors: -any
all-versions:
- 0.0.0.1
- 0.0.0.2
author: Will Song
latest: 0.0.0.2
description-type: haddock
description: Simple extensible sum
license-name: MIT
|
Allow multiple uploaders on the same page | 1.0.1: First version of Uploader
1.0.2: Added JavaScript events for change, upload success and remove upload
1.0.3: Fix multiple uploads occuring in newer builds
1.0.4: Corrected support for maxSize property
| 1.0.1: First version of Uploader
1.0.2: Added JavaScript events for change, upload success and remove upload
1.0.3: Fix multiple uploads occuring in newer builds
1.0.4: Corrected support for maxSize property
1.0.5: Allow multiple uploaders on the same page
|
Remove optipng from build artifacts | machine:
node:
version:
0.10.24
python:
version:
2.7.3
dependencies:
pre:
- wget http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.5/optipng-0.7.5.tar.gz
- tar xvf optipng-0.7.5.tar.gz
- cd optipng-0.7.5; ./configure; make; sudo checkinstall -y;
- make deps
- pip install -r dev_requirements.txt
- pip install -r requirements.txt
cache_directories:
- rd_ui/node_modules/
- rd_ui/app/bower_components/
test:
override:
- make test
post:
- make pack
deployment:
github:
branch: master
commands:
- make upload
notify:
webhooks:
- url: https://webhooks.gitter.im/e/895d09c3165a0913ac2f
general:
branches:
ignore:
- gh-pages
| machine:
node:
version:
0.10.24
python:
version:
2.7.3
dependencies:
pre:
- wget http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.5/optipng-0.7.5.tar.gz
- tar xvf optipng-0.7.5.tar.gz
- cd optipng-0.7.5; ./configure; make; sudo checkinstall -y;
- rm -rf optipng-0.7.5
- rm optipng-0.7.5.tar.gz
- make deps
- pip install -r dev_requirements.txt
- pip install -r requirements.txt
cache_directories:
- rd_ui/node_modules/
- rd_ui/app/bower_components/
test:
override:
- make test
post:
- make pack
deployment:
github:
branch: master
commands:
- make upload
notify:
webhooks:
- url: https://webhooks.gitter.im/e/895d09c3165a0913ac2f
general:
branches:
ignore:
- gh-pages
|
Remove getty service from Stretch | driver:
name: dokken
privileged: true # because Docker and SystemD/Upstart
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
transport:
name: dokken
provisioner:
name: dokken
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: debian-7
driver:
image: dokken/debian-7
pid_one_command: /sbin/init
- name: debian-8
driver:
image: dokken/debian-8
pid_one_command: /bin/systemd
- name: debian-9
driver:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234
image: debian:9
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install -y systemd
- name: centos-7
driver:
image: dokken/centos-7
pid_one_command: /usr/lib/systemd/systemd
- name: ubuntu-14.04
driver:
image: dokken/ubuntu-14.04
pid_one_command: /sbin/init
- name: ubuntu-16.04
driver:
image: dokken/ubuntu-16.04
pid_one_command: /bin/systemd
| driver:
name: dokken
privileged: true # because Docker and SystemD/Upstart
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
transport:
name: dokken
provisioner:
name: dokken
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: debian-7
driver:
image: dokken/debian-7
pid_one_command: /sbin/init
- name: debian-8
driver:
image: dokken/debian-8
pid_one_command: /bin/systemd
- name: debian-9
driver:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234
image: debian:9
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install -y systemd
- RUN rm /etc/systemd/system/getty.target.wants/getty\@tty1.service
- name: centos-7
driver:
image: dokken/centos-7
pid_one_command: /usr/lib/systemd/systemd
- name: ubuntu-14.04
driver:
image: dokken/ubuntu-14.04
pid_one_command: /sbin/init
- name: ubuntu-16.04
driver:
image: dokken/ubuntu-16.04
pid_one_command: /bin/systemd
|
Update from Hackage at 2017-06-11T14:09:28Z | homepage: http://github.com/nominolo/ghc-syb
changelog-type: ''
hash: dc4326e7ea0f8064ab782b7ed95ec79fd9ad87ef0b6cca8066020b8477435652
test-bench-deps:
ghc: -any
base: -any
ghc-syb-utils: -any
filepath: -any
ghc-paths: -any
directory: -any
maintainer: Thomas Schilling <nominolo@googlemail.com>
synopsis: Scrap Your Boilerplate utilities for the GHC API.
changelog: ''
basic-deps:
ghc: -any
base: ! '>=4 && <5'
syb: ! '>=0.1.0'
all-versions:
- '0.2.0.0'
- '0.2.1.0'
- '0.2.1.1'
- '0.2.1.2'
- '0.2.2'
- '0.2.3'
- '0.2.3.1'
author: Claus Reinke
latest: '0.2.3.1'
description-type: haddock
description: Scrap Your Boilerplate utilities for the GHC API.
license-name: BSD3
| homepage: http://github.com/nominolo/ghc-syb
changelog-type: ''
hash: f136fb719b1d93eb54c189867c3176f3b64c87e0c9c7c2690c470a0f75e5d952
test-bench-deps:
ghc: -any
base: -any
ghc-syb-utils: -any
filepath: -any
ghc-paths: -any
directory: -any
maintainer: Thomas Schilling <nominolo@googlemail.com>
synopsis: Scrap Your Boilerplate utilities for the GHC API.
changelog: ''
basic-deps:
ghc: -any
base: ! '>=4 && <5'
syb: ! '>=0.1.0'
all-versions:
- '0.2.0.0'
- '0.2.1.0'
- '0.2.1.1'
- '0.2.1.2'
- '0.2.2'
- '0.2.3'
- '0.2.3.1'
- '0.2.3.2'
author: Claus Reinke
latest: '0.2.3.2'
description-type: haddock
description: Scrap Your Boilerplate utilities for the GHC API.
license-name: BSD3
|
Add Python3 wallaby unit tests | - job:
name: vitrage-dashboard-integration-tests
parent: horizon-integration-tests
required-projects:
- name: openstack/horizon
- name: openstack/vitrage
- name: openstack/python-vitrageclient
- name: openstack/vitrage-dashboard
roles:
- zuul: openstack-infra/devstack
- zuul: openstack/horizon
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
vars:
devstack_plugins:
vitrage: https://opendev.org/openstack/vitrage
vitrage-dashboard: https://opendev.org/openstack/vitrage-dashboard
devstack_services:
horizon: true
tox_envlist: integration
- project:
templates:
- horizon-nodejs10-jobs-nonvoting
- horizon-non-primary-django-jobs
- openstack-python3-victoria-jobs-horizon
- publish-openstack-docs-pti
- check-requirements
- release-notes-jobs-python3
check:
jobs:
- vitrage-dashboard-integration-tests:
voting: false
| - job:
name: vitrage-dashboard-integration-tests
parent: horizon-integration-tests
required-projects:
- name: openstack/horizon
- name: openstack/vitrage
- name: openstack/python-vitrageclient
- name: openstack/vitrage-dashboard
roles:
- zuul: openstack-infra/devstack
- zuul: openstack/horizon
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
vars:
devstack_plugins:
vitrage: https://opendev.org/openstack/vitrage
vitrage-dashboard: https://opendev.org/openstack/vitrage-dashboard
devstack_services:
horizon: true
tox_envlist: integration
- project:
templates:
- horizon-nodejs10-jobs-nonvoting
- horizon-non-primary-django-jobs
- openstack-python3-wallaby-jobs-horizon
- publish-openstack-docs-pti
- check-requirements
- release-notes-jobs-python3
check:
jobs:
- vitrage-dashboard-integration-tests:
voting: false
|
Move COPY_TARGET ENV declaration inline | machine:
environment:
IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME"
COPY_TARGET: echo $GOPATH | sed 's/:.*//'
dependencies:
override:
- mkdir -p "$COPY_TARGET/src/$IMPORT_PATH"
- rsync -azC --delete ./ "$COPY_TARGET/src/$IMPORT_PATH/"
test:
pre:
- go vet ./...
override:
- go test ./... -race
| machine:
environment:
IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME"
dependencies:
override:
- COPY_TARGET=$( echo $GOPATH | sed 's/:.*//' ) mkdir -p "$COPY_TARGET/src/$IMPORT_PATH"
- COPY_TARGET=$( echo $GOPATH | sed 's/:.*//' ) rsync -azC --delete ./ "$COPY_TARGET/src/$IMPORT_PATH/"
test:
pre:
- go vet ./...
override:
- go test ./... -race
|
Change test report output dir | machine:
python:
version: 2.7.9
dependencies:
pre:
- pip install coverage python-coveralls
- pip install --upgrade setuptools
- sh mecab_install.sh
test:
pre:
- python -m nltk.downloader maxent_treebank_pos_tagger punkt stopwords
- nosetests tests/scripts_test.py:ScriptsTestCase.test_mobileclick_download_data
override:
- nosetests -v --with-coverage --with-xunit --xunit-file=$CIRCLE_TEST_REPORTS/nosetests/nosetests.xml
post:
- coveralls
general:
artifacts:
- "runs"
| machine:
python:
version: 2.7.9
dependencies:
pre:
- pip install coverage python-coveralls
- pip install --upgrade setuptools
- sh mecab_install.sh
test:
pre:
- python -m nltk.downloader maxent_treebank_pos_tagger punkt stopwords
- nosetests tests/scripts_test.py:ScriptsTestCase.test_mobileclick_download_data
override:
- nosetests -v --with-coverage --with-xunit --xunit-file=$CIRCLE_TEST_REPORTS/nosetests.xml
post:
- coveralls
general:
artifacts:
- "runs"
|
Build on tag / release creation. | general:
artifacts:
- build/vistk.js
test:
post:
- grunt
| general:
artifacts:
- build/vistk.js
deployment:
release:
tag: /v[0-9]+(\.[0-9]+)*/
owner: romsson
commands:
- grunt
- echo "Deployment script goes here".
|
Add Python3 xena unit tests | - project:
templates:
- check-requirements
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python3-wallaby-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- blazar-tempest-plugin-base
- blazar-tempest-plugin-ipv6-only
- openstack-tox-lower-constraints:
voting: false
- openstack-tox-pylint:
voting: false
gate:
queue: blazar
jobs:
- blazar-tempest-plugin-base
- blazar-tempest-plugin-ipv6-only
| - project:
templates:
- check-requirements
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python3-xena-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- blazar-tempest-plugin-base
- blazar-tempest-plugin-ipv6-only
- openstack-tox-lower-constraints:
voting: false
- openstack-tox-pylint:
voting: false
gate:
queue: blazar
jobs:
- blazar-tempest-plugin-base
- blazar-tempest-plugin-ipv6-only
|
Remove id from test definition | ---
crosscompute: 0.8.4
kind: project
id: p1
name: Project 1
tools:
- id: t1
- id: t2
results:
- id: r1
- id: r2
datasets:
- id: d1
- id: d2
| ---
crosscompute: 0.8.4
kind: project
name: Project 1
tools:
- id: t1
- id: t2
results:
- id: r1
- id: r2
datasets:
- id: d1
- id: d2
|
Fix coverage.py version for codeclimate-test-reporter | dependencies:
override:
- pip install tox tox-pyenv codeclimate-test-reporter
- pyenv global 2.7.11 3.1.5 3.2.6 3.3.6 3.4.4 3.5.1 pypy-4.0.1
test:
override:
- tox
post:
- codeclimate-test-reporter
deployment:
stable:
branch: master
commands:
- tox python setup.py bdist_egg
- cp dist/* $CIRCLE_ARTIFACTS/
| dependencies:
override:
- pip install tox tox-pyenv coverage==4.3.4 codeclimate-test-reporter
- pyenv global 2.7.11 3.1.5 3.2.6 3.3.6 3.4.4 3.5.1 pypy-4.0.1
test:
override:
- tox
post:
- codeclimate-test-reporter
deployment:
stable:
branch: master
commands:
- tox python setup.py bdist_egg
- cp dist/* $CIRCLE_ARTIFACTS/
|
Change volume to where the app actually resides | version: "3"
services:
web:
build: .
volumes:
- .:/marli
container_name: marli
links:
- db
ports:
- "3000:3000"
environment:
MARLI_DB_HOST: db
PRIVILEGES_BASE_URL: https://privileges.library.nyu.edu
PRIVILEGES_SUBLIBRARY_CODE: nyu_ag_noaleph_MaRLI
LOGIN_URL: https://dev.login.library.nyu.edu
SSO_LOGOUT_PATH: /logout
CI:
CODECLIMATE_REPO_TOKEN:
COVERALLS_REPO_TOKEN:
depends_on:
- setup_tests
db:
image: library/mysql:5.6.22
expose:
- "3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
setup_tests:
build: .
command: bundle exec rake db:setup
volumes:
- .:/app
environment:
RAILS_ENV: test
MARLI_DB_HOST: db
links:
- db
depends_on:
- db
| version: "3"
services:
web:
build: .
volumes:
- .:/app
container_name: marli
links:
- db
ports:
- "3000:3000"
environment:
MARLI_DB_HOST: db
PRIVILEGES_BASE_URL: https://privileges.library.nyu.edu
PRIVILEGES_SUBLIBRARY_CODE: nyu_ag_noaleph_MaRLI
LOGIN_URL: https://dev.login.library.nyu.edu
SSO_LOGOUT_PATH: /logout
CI:
CODECLIMATE_REPO_TOKEN:
COVERALLS_REPO_TOKEN:
depends_on:
- setup_tests
db:
image: library/mysql:5.6.22
expose:
- "3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
setup_tests:
build: .
command: bundle exec rake db:setup
volumes:
- .:/app
environment:
RAILS_ENV: test
MARLI_DB_HOST: db
links:
- db
depends_on:
- db
|
Fix typo in GitHub URL | {% set name = "flask-table" %}
{% set version = "0.5.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/plumdog/{{ name }}/archive/{{ version }}.tar.gz
sha256: bb8a15307cd4ea1f2b6be93b3ffe60a397099827439b4c389d624bf9c2939086
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
requirements:
host:
- python
- pip
run:
- python
- flask
- flask-babel
test:
requires:
- flask-testing
imports:
- flask_table
commands:
- python -m unittest discover
about:
home: https://pypi.org/project/Flask-Table/
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: 'HTML tables for use with the Flask micro-framework'
description: |
Because writing HTML is fiddly and all of your tables are basically the same.
doc_url: https://flask-table.readthedocs.io
dev_url: https://github.com/plumdog/flask_table
extra:
recipe-maintainers:
- CurtLH
| {% set name = "flask-table" %}
{% set version = "0.5.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/plumdog/{{ name }}/archive/v{{ version }}.tar.gz
sha256: bb8a15307cd4ea1f2b6be93b3ffe60a397099827439b4c389d624bf9c2939086
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
requirements:
host:
- python
- pip
run:
- python
- flask
- flask-babel
test:
requires:
- flask-testing
imports:
- flask_table
commands:
- python -m unittest discover
about:
home: https://pypi.org/project/Flask-Table/
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: 'HTML tables for use with the Flask micro-framework'
description: |
Because writing HTML is fiddly and all of your tables are basically the same.
doc_url: https://flask-table.readthedocs.io
dev_url: https://github.com/plumdog/flask_table
extra:
recipe-maintainers:
- CurtLH
|
Add imports for scikit-beam 0.0.7 | package:
name: scikit-beam
version: build_for_windows
source:
git_url: https://github.com/ericdill/scikit-beam
git_rev: build_for_windows
build:
number: 0
requirements:
build:
- python
- setuptools
- numpy
- six
- cython
run:
- python
- numpy
- scipy
- six
- xraylib [not win]
- scikit-image
- lmfit ==0.8.3
test:
imports:
- skbeam
about:
home: http://scikit-beam.github.io/scikit-beam/
license: 3-Clause BSD
| package:
name: scikit-beam
version: build_for_windows
source:
git_url: https://github.com/ericdill/scikit-beam
git_rev: build-for-windows
build:
number: 0
requirements:
build:
- python
- setuptools
- numpy
- six
- cython
run:
- python
- numpy
- scipy
- six
- xraylib [not win]
- scikit-image
- lmfit ==0.8.3
test:
requires:
- nose
- coverage
imports:
- skbeam
- skbeam.diffraction
- skbeam.fluorescence
- skbeam.core
- skbeam.core.utils
- skbeam.core.feature
- skbeam.core.stats
- skbeam.core.calibration
- skbeam.core.speckle
- skbeam.core.dpc
- skbeam.core.correlation
- skbeam.core.recip
- skbeam.core.spectroscopy
- skbeam.core.mask
- skbeam.core.roi
- skbeam.core.arithmetic
- skbeam.core.image
- skbeam.core.cdi
- skbeam.core.accumulators
- skbeam.core.accumulators.timings
- skbeam.core.accumulators.histogram
- skbeam.core.accumulators.histogram
- skbeam.core.accumulators.histogram
- skbeam.core.fitting [not win]
- skbeam.core.fitting.xrf_model
- skbeam.core.fitting.funcs
- skbeam.core.fitting.models
- skbeam.core.fitting.lineshapes
- skbeam.core.fitting.background
- skbeam.core.fitting.base
- skbeam.core.fitting.base.parameter_data
- skbeam.core.constants
- skbeam.core.constants.basic
- skbeam.core.constants.xrs
- skbeam.core.constants.xrf [not win]
- skbeam.io
- skbeam.io.save_powder_output
- skbeam.io.avizo_io
# disabled because we are no longer shipping netcdf4 with skbeam
#- skbeam.io.net_cdf_io
- skbeam.io.gsas_file_reader
- skbeam.io.binary
- skbeam.ext
- skbeam.ext.ctrans
about:
home: http://scikit-beam.github.io/scikit-beam/
license: 3-Clause BSD
|
Fix incorrect template dest in reflector role | ---
reflector:
files:
- src: mirrorupgrade.hook.j2
dest: /etc/pacman.d/hooksl
- src: reflector.service.j2
dest: /etc/systemd/system/reflector.service
- src: reflector.timer.j2
dest: /etc/systemd/system/reflector.timer
| ---
reflector:
files:
- src: mirrorupgrade.hook.j2
dest: /etc/pacman.d/hooks/mirrorupgrade.hook
- src: reflector.service.j2
dest: /etc/systemd/system/reflector.service
- src: reflector.timer.j2
dest: /etc/systemd/system/reflector.timer
|
Remove nix flake check from github actions | name: build
on:
push:
branches: main
pull_request:
branches: main
jobs:
haskell:
strategy:
fail-fast: false
matrix:
include:
- { os: ubuntu-latest }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v15
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v10
with:
name: amazonka
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build
- run: nix flake check
| name: build
on:
push:
branches: main
pull_request:
branches: main
jobs:
haskell:
strategy:
fail-fast: false
matrix:
include:
- { os: ubuntu-latest }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v15
- uses: cachix/cachix-action@v10
with:
name: amazonka
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build
|
Add the 1.18 run step | # Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: build
on: [ pull_request, push ]
jobs:
build:
strategy:
matrix:
# Use these Java versions
java: [
17 # Minimum supported by Minecraft
]
# and run on both Linux and Windows
os: [ ubuntu-20.04, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: build 1.16.5
run: ./gradlew build -PbuildVersion="1.16.5"
- name: build 1.17.1
run: ./gradlew build -PbuildVersion="1.17.1"
- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v2
with:
name: Artifacts
path: build/libs/
| # Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: build
on: [ pull_request, push ]
jobs:
build:
strategy:
matrix:
# Use these Java versions
java: [
17 # Minimum supported by Minecraft
]
# and run on both Linux and Windows
os: [ ubuntu-20.04, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build 1.16.5
run: ./gradlew build -PbuildVersion="1.16.5"
- name: Build 1.17.1
run: ./gradlew build -PbuildVersion="1.17.1"
- name: Build 1.18
run: ./gradlew build -PbuildVersion="1.18"
- name: Capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v2
with:
name: Artifacts
path: build/libs/
|
Remove Java 15 build now that 16 is active | # This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: "Build"
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
java: [ 11, 15, 16 ]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build
run: mvn -B clean verify
| # This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: "Build"
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
java: [ 11, 16 ]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build
run: mvn -B clean verify
|
Install globally so that harp compile works. | box: wercker/nodejs
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that executes `npm install` command
- npm-install
# A custom script step, name value is used in the UI
# and the code value contains the command that get executed
- script:
name: harp compile
code: |
harp compile
deploy :
steps :
- script:
name: Deploy to octohost.
code: |-
git push $GIT_REMOTE master
| box: wercker/nodejs
# Build definition
build:
# The steps that will be executed on build
steps:
- script:
name: harp compile
code: |
npm -g install
harp compile
deploy :
steps :
- script:
name: Deploy to octohost.
code: |-
git push $GIT_REMOTE master
|
Configure matrix for ruby versions | on: push
name: Build
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
RAILS_ENV: test
CI: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
- name: Run Specs
run: |
bundle exec rake
| on: push
name: Build
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [
2.7
]
env:
RAILS_ENV: test
CI: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run Specs
run: |
bundle exec rake
|
Remove the `--no-suggest` flag in github action | name: Continuous Integration
on:
push:
branches:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
pull_request: ~
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
tools: composer:v2, psalm
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Psalm
run: psalm --output-format=github --shepherd
| name: Continuous Integration
on:
push:
branches:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
pull_request: ~
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
coverage: none
tools: composer:v2, psalm
- name: Install dependencies
run: composer install --prefer-dist --no-progress --ansi
- name: Psalm
run: psalm --output-format=github --shepherd
|
Enable CodeClimate checks for guides | version: "2"
plugins:
rubocop:
enabled: true
config:
file: .rubocop.yml
channel: "rubocop-0-60" # need to keep this value the same as rubocop version
# https://docs.codeclimate.com/v1.0/docs/rubocop#section-using-rubocop-s-newer-versions
eslint:
enabled: true
channel: "eslint-4" # need to keep this value the same as eslint version
# https://docs.codeclimate.com/v1.0/docs/eslint#section-eslint-versions
stylelint:
enabled: true
exclude_patterns:
- "**/bin/"
- "**/script/"
- "**/vendor/"
- "**/spec/"
- "public/"
- "guides/"
| version: "2"
plugins:
rubocop:
enabled: true
config:
file: .rubocop.yml
channel: "rubocop-0-60" # need to keep this value the same as rubocop version
# https://docs.codeclimate.com/v1.0/docs/rubocop#section-using-rubocop-s-newer-versions
eslint:
enabled: true
channel: "eslint-4" # need to keep this value the same as eslint version
# https://docs.codeclimate.com/v1.0/docs/eslint#section-eslint-versions
stylelint:
enabled: true
exclude_patterns:
- "**/bin/"
- "**/script/"
- "**/vendor/"
- "**/spec/"
- "public/"
|
Use v2 format for RTFD configuration, add some options | formats:
- htmlzip
- pdf
python:
version: 3
pip_install: true
extra_requirements:
- docs
| version: 2
formats:
- htmlzip
- pdf
build:
image: stable
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true
|
Add astropy to env file | name: test_env
dependencies:
- python=3.5
- xarray
- dask
- numpy
- pytest
- future
- scipy
- flake8
- pip:
- codecov
- pytest-cov
- "--editable=git+https://github.com/xgcm/xgcm.git@master#egg=xgcm"
| name: test_env
dependencies:
- python=3.5
- xarray
- dask
- numpy
- pytest
- future
- scipy
- flake8
- astropy
- pip:
- codecov
- pytest-cov
- "--editable=git+https://github.com/xgcm/xgcm.git@master#egg=xgcm"
|
Fix ansi-wl-pprint dependency for older snapshots too | resolver: lts-7.13
packages:
- 'prettyprinter'
- 'prettyprinter-ansi-terminal'
- 'prettyprinter-compat-wl-pprint'
- 'prettyprinter-compat-ansi-wl-pprint'
- 'prettyprinter-convert-ansi-wl-pprint'
- 'prettyprinter-compat-annotated-wl-pprint'
- location:
git: https://github.com/quchen/ansi-wl-pprint.git
commit: d3fbc6b05593bd76c9bdb3caf36a8362d354fe7f
extra-dep: true
extra-deps:
- pgp-wordlist-0.1.0.2
flags: {}
extra-package-dbs: []
| resolver: lts-7.13
packages:
- 'prettyprinter'
- 'prettyprinter-ansi-terminal'
- 'prettyprinter-compat-wl-pprint'
- 'prettyprinter-compat-ansi-wl-pprint'
- 'prettyprinter-convert-ansi-wl-pprint'
- 'prettyprinter-compat-annotated-wl-pprint'
extra-deps:
- pgp-wordlist-0.1.0.2
- ansi-wl-pprint-0.6.8
flags: {}
extra-package-dbs: []
|
Set up CI with Azure Pipelines | name: LinqToTypeScriptInDev
trigger:
- InDev
pool:
vmImage: 'ubuntu-16.04'
strategy:
matrix:
node_10_x:
node_version: 10.x
node_12_x:
node_version: 12.x
steps:
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
- script: |
npm install -g typescript tslint@5.12.1 jest rollup
displayName: 'Install Globals'
- script: |
npm install
npm run build
displayName: 'Build Library'
- script: tslint -p ./
displayName: 'Run Lint'
- script: |
cd test
npm install
npm run test
displayName: 'Run Tests' | name: LinqToTypeScriptInDev
trigger:
- InDev
pool:
vmImage: 'ubuntu-16.04'
strategy:
matrix:
node_10_x:
node_version: 10.x
node_12_x:
node_version: 12.x
steps:
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
- script: |
npm install -g typescript tslint@5.12.1 jest rollup
displayName: 'Install Globals'
- script: |
npm install
npm run build
displayName: 'Build Library'
- script: tslint -p ./
displayName: 'Run Lint'
- script: |
cd test
npm install
npm run test
displayName: 'Run Tests' |
Create separate NODE_ENVs for testing and production building | machine:
node:
version: 4.4.4
environment:
# We need to build React in a production environment.
NODE_ENV: production
dependencies:
# Gulp must be installed in the global environment.
pre:
- npm install -g gulp-cli
# Modules for compiling assets live in devDependencies, which are not
# installed in production environments by default. This overrides this.
override:
- npm install --production=false
post:
- npm install -g aws-cli
test:
post:
# For Precog. This should run even if tests fail.
- cp -R build data index.html $CIRCLE_ARTIFACTS
# For hosting on mapzen.com. Only deploy if tests pass.
deployment:
production:
branch: master
commands:
- aws s3 sync $CIRCLE_ARTIFACTS $AWS_DESTINATION --delete
- ./deploy/invalidate_cloudfront.sh
| machine:
node:
version: 4.4.4
environment:
NODE_ENV: test
dependencies:
# Gulp must be installed in the global environment.
pre:
- npm install -g gulp-cli
post:
- npm install -g aws-cli
test:
post:
# For Precog.
- cp -R build data index.html $CIRCLE_ARTIFACTS
# For hosting on mapzen.com. Only deploy if tests pass. Compiled files are
# rebuilt for a production environment.
deployment:
production:
branch: master
commands:
- NODE_ENV=production gulp build
- aws s3 sync $CIRCLE_ARTIFACTS $AWS_DESTINATION --delete
- ./deploy/invalidate_cloudfront.sh
|
Update CircleCI configuration for new Docker layout. | machine:
services:
- docker
dependencies:
override:
- docker info
- docker pull thewtex/itkultrasound-base
test:
override:
- mkdir ~/ITKUltrasound-build
- docker run -v ~/ITKUltrasound:/usr/src/ITKUltrasound -v ~/ITKUltrasound-build:/usr/src/ITKUltrasound-build thewtex/itkultrasound-base /usr/src/ITKUltrasound/test/Docker/test.sh
- cp -r ~/ITKUltrasound-build/Testing/Temporary/* $CIRCLE_ARTIFACTS/
| machine:
services:
- docker
dependencies:
override:
- docker info
- docker pull thewtex/itkultrasound-base
- docker pull thewtex/itkultrasound-test
test:
override:
- mkdir ~/ITKUltrasound-build
- docker run -v ~/ITKUltrasound:/usr/src/ITKUltrasound -v ~/ITKUltrasound-build:/usr/src/ITKUltrasound-build thewtex/itkultrasound-test /usr/src/ITKUltrasound/test/Docker/Test/test.sh
- cp -r ~/ITKUltrasound-build/Testing/Temporary/* $CIRCLE_ARTIFACTS/
|
Move covarage to $CIRCLE_ARTIFACTS to see in CircleCI | dependencies:
pre:
- google-chrome --version
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get --only-upgrade install google-chrome-stable
- google-chrome --version
machine:
ruby:
version: 2.3.1
node:
version: 5.7.0
post:
- npm install -g ionic cordova
timezone: Asia/Tokyo
| dependencies:
pre:
- google-chrome --version
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get --only-upgrade install google-chrome-stable
- google-chrome --version
machine:
ruby:
version: 2.3.1
node:
version: 5.7.0
post:
- npm install -g ionic cordova
timezone: Asia/Tokyo
test:
post:
- mv coverage $CIRCLE_ARTIFACTS
|
Stop testing Python 3.3 on Travis | sudo: false
language: python
matrix:
include:
- python: '2.7'
env: TOXENV=py27
- python: '3.3'
env: TOXENV=py33
- python: '3.4'
env: TOXENV=py34
- python: '3.5'
env: TOXENV=py35
- python: '3.6'
env: TOXENV=py36
- python: 'pypy'
env: TOXENV=pypy
- env: TOXENV=flake8
- env: TOXENV=checkspelling
addons:
apt:
packages:
- libtidy-0.99-0
- aspell
- aspell-en
install:
- pip install tox
- pip install 'coverage<4.0'
- pip install codecov
script:
- tox
after_success:
- codecov
branches:
only:
- master
- md3
| sudo: false
language: python
matrix:
include:
- python: '2.7'
env: TOXENV=py27
- python: '3.4'
env: TOXENV=py34
- python: '3.5'
env: TOXENV=py35
- python: '3.6'
env: TOXENV=py36
- python: 'pypy'
env: TOXENV=pypy
- env: TOXENV=flake8
- env: TOXENV=checkspelling
addons:
apt:
packages:
- libtidy-0.99-0
- aspell
- aspell-en
install:
- pip install tox
- pip install 'coverage<4.0'
- pip install codecov
script:
- tox
after_success:
- codecov
branches:
only:
- master
- md3
|
Install correct Qt multimedia package for Travis builds | sudo: required
dist: trusty
language: cpp
compiler:
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq qt5-default libqt5svg5-dev libqt5multimedia5
script:
- mkdir build
- cd build
- qmake ..
- make
| sudo: required
dist: trusty
language: cpp
compiler:
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq qt5-default libqt5svg5-dev qtmultimedia5-dev
script:
- mkdir build
- cd build
- qmake ..
- make
|
Fix Travis CI for new pep257. | sudo: false
language: python
python:
- "3.3"
install:
- pip install flake8
- pip install pep257
script:
- flake8 . --max-line-length=80
- pep257 . --ignore=D202
notifications:
email: false
| sudo: false
language: python
python:
- "3.3"
install:
- pip install flake8
- pip install pep257
script:
- flake8 . --max-line-length=80
- pep257 . --ignore=D202 --ignore=D211
notifications:
email: false
|
Add jRuby and Rubinius in the recommended way in Travis CI | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-1.6.7
- jruby-head
- rbx-1.2.4
- rbx-head
| rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
|
Set rust version to 1.22.0 | dist: precise
language: rust
env:
global:
- LD_LIBRARY_PATH: /usr/local/lib
install:
- sudo add-apt-repository ppa:team-xbmc/ppa -y
- sudo apt-get update -q
- sudo apt-get install libsdl2-dev
| dist: precise
language: rust
rust:
- 1.22.0
env:
global:
- LD_LIBRARY_PATH: /usr/local/lib
install:
- sudo add-apt-repository ppa:team-xbmc/ppa -y
- sudo apt-get update -q
- sudo apt-get install libsdl2-dev
|
Enable windows builds in Travis | language: rust
osx_image: xcode9.2
rust:
- 1.28.0
- nightly
os:
- linux
- osx
matrix:
allow_failures:
- rust: nightly
cache:
directories:
- $HOME/.cargo
script:
- cd rust
- export CARGO_TARGET_DIR=/tmp/target
- export RUST_BACKTRACE=1
- RUSTFLAGS="-D warnings" cargo check --all || exit
- cargo test --all || exit
| language: rust
osx_image: xcode9.2
rust:
- 1.28.0
- nightly
os:
- linux
- osx
- windows
matrix:
allow_failures:
- rust: nightly
# windows runs in a Git Bash shell so these (should) work the same way as on *nix
cache:
directories:
- $HOME/.cargo
script:
- cd rust
- export CARGO_TARGET_DIR=/tmp/target
- export RUST_BACKTRACE=1
- RUSTFLAGS="-D warnings" cargo check --all || exit
- cargo test --all || exit
|
Add new mysql connector library | ---
language: python
python:
- '3.4'
- '3.3'
- '2.7'
env:
- DATABASE_URL=sqlite:///:memory:
- DATABASE_URL=postgresql+psycopg2://postgres@127.0.0.1/dataset
- DATABASE_URL=mysql+mysqlconnector://travis@127.0.0.1/dataset?charset=utf8
install:
- pip install -U pip wheel
- pip install --allow-external mysql-connector-python mysql-connector-python flake8 psycopg2
before_script:
- sh -c "if [ '$DATABASE_URL' = 'postgresql+psycopg2://postgres@127.0.0.1/dataset' ]; then psql -c 'DROP DATABASE IF EXISTS dataset;' -U postgres; fi"
- sh -c "if [ '$DATABASE_URL' = 'postgresql+psycopg2://postgres@127.0.0.1/dataset' ]; then psql -c 'create database dataset;' -U postgres; fi"
- sh -c "if [ '$DATABASE_URL' = 'mysql+mysqlconnector://travis@127.0.0.1/dataset?charset=utf8' ]; then mysql -e 'create database IF NOT EXISTS dataset DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'; fi"
script:
- flake8 --ignore=E501,E123,E124,E126,E127,E128 dataset test
- python setup.py test
cache:
directories:
- $HOME/.cache/pip
| ---
language: python
python:
- '3.4'
- '3.3'
- '2.7'
env:
- DATABASE_URL=sqlite:///:memory:
- DATABASE_URL=postgresql+psycopg2://postgres@127.0.0.1/dataset
- DATABASE_URL=mysql+mysqlconnector://travis@127.0.0.1/dataset?charset=utf8
install:
- pip install -U pip wheel
- pip install mysqlclient flake8 psycopg2
before_script:
- sh -c "if [ '$DATABASE_URL' = 'postgresql+psycopg2://postgres@127.0.0.1/dataset' ]; then psql -c 'DROP DATABASE IF EXISTS dataset;' -U postgres; fi"
- sh -c "if [ '$DATABASE_URL' = 'postgresql+psycopg2://postgres@127.0.0.1/dataset' ]; then psql -c 'create database dataset;' -U postgres; fi"
- sh -c "if [ '$DATABASE_URL' = 'mysql+mysqldb://travis@127.0.0.1/dataset?charset=utf8' ]; then mysql -e 'create database IF NOT EXISTS dataset DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'; fi"
script:
- flake8 --ignore=E501,E123,E124,E126,E127,E128 dataset test
- python setup.py test
cache:
directories:
- $HOME/.cache/pip
|
Change notification channel to avoid spam | language: node_js
node_js:
- "0.10"
notifications:
irc: "irc.freenode.net#kokarn"
| language: node_js
node_js:
- "0.10"
notifications:
irc: "irc.freenode.net#kokarnbuilds"
|
Add Node.js v6 to Travis-CI test matrix | sudo: false
language: node_js
node_js:
- '5'
- '4'
- 'iojs'
- '0.12'
- '0.10'
notifications:
slack:
secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdieaLiHulbvbp93A6rSWyLCyjt9RvFit7JxWdcyqyDDk=
| sudo: false
language: node_js
node_js:
- '6'
- '5'
- '4'
- 'iojs'
- '0.12'
- '0.10'
notifications:
slack:
secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdieaLiHulbvbp93A6rSWyLCyjt9RvFit7JxWdcyqyDDk=
|
Remove jruby tests for the time being (failing) | language: ruby
cache:
bundler: true
directories:
- vendor/bundle
rvm:
- 2.3.1
- jruby-9.0.5.0
before_install:
- gem update --system '2.6.1'
- gem update bundler
- gem --version
script: "bundle exec rake test"
| language: ruby
cache:
bundler: true
directories:
- vendor/bundle
rvm:
- 2.3.1
before_install:
- gem update --system '2.6.1'
- gem update bundler
- gem --version
script: "bundle exec rake test"
|
Add `pandoc` to Travis-CI APT packages | sudo: false
dist: xenial
language: python
cache: pip
python:
- 3.6
- 3.7
- pypy3
before_install:
- pip install -r ci/requirements.txt
install:
- pip install .
script:
- coverage run --source=pronto -m unittest discover -v
- coverage xml --include "pronto/*"
after_success:
- codecov
- python-codacy-coverage -r coverage.xml
before_deploy:
- python setup.py sdist bdist_wheel
- twine check dist/*
deploy:
provider: script
script: twine upload --skip-existing dist/*
skip_cleanup: true
on:
python: "3.7"
tags: true
repo: althonos/pronto
notifications:
email:
- althonosdev@gmail.com
| sudo: false
dist: xenial
language: python
cache: pip
addons:
apt:
packages:
- pandoc
python:
- 3.6
- 3.7
- pypy3
before_install:
- pip install -r ci/requirements.txt
install:
- pip install .
script:
- coverage run --source=pronto -m unittest discover -v
- coverage xml --include "pronto/*"
after_success:
- codecov
- python-codacy-coverage -r coverage.xml
before_deploy:
- python setup.py sdist bdist_wheel
- twine check dist/*
deploy:
provider: script
script: twine upload --skip-existing dist/*
skip_cleanup: true
on:
python: "3.7"
tags: true
repo: althonos/pronto
notifications:
email:
- althonosdev@gmail.com
|
Add testing on Node v4 | language: node_js
node_js:
- '0.12'
- '0.10'
- '0.8'
- 'iojs'
before_install:
- npm install -g npm@~1.4.6
| sudo: false
language: node_js
node_js:
- '4'
- '0.12'
- '0.10'
- '0.8'
before_install:
- 'if [ "${TRAVIS_NODE_VERSION}" == "0.8" ]; then npm install -g npm@2.12.1; fi'
|
Build with gcc and clang | sudo: required
dist: bionic
language: c
install:
- sudo apt-get install -y --force-yes gcc make cmake libglib2.0-dev
- sudo apt-get install -y --force-yes autoconf automake libtool xutils-dev
- sudo apt-get install -y --force-yes jq
env:
matrix:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_script:
- set -e
- mkdir /tmp/oio
- export CMAKE_OPTS='-DCMAKE_INSTALL_PREFIX=/tmp/ROOT'
- cmake ${CMAKE_OPTS} -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
- make all
- make install
script:
- set -e
- export PATH="$PATH:/tmp/ROOT/bin" TMPDIR=/tmp
- ./tools/gridinit-genconf.sh 15
- gridinit -d -s gridinit /tmp/gridinit/gridinit.conf
- ./tools/cycle.sh
- pkill gridinit
| sudo: required
dist: bionic
language: c
install:
- sudo apt-get install -y --force-yes gcc make cmake libglib2.0-dev
- sudo apt-get install -y --force-yes clang
- sudo apt-get install -y --force-yes autoconf automake libtool xutils-dev
- sudo apt-get install -y --force-yes jq
env:
matrix:
- BUILD_TYPE=Debug COMPILER=gcc
- BUILD_TYPE=Release COMPILER=gcc
- BUILD_TYPE=Debug COMPILER=clang
- BUILD_TYPE=Release COMPILER=clang
before_script:
- set -ex
- mkdir /tmp/oio
- export CMAKE_OPTS='-DCMAKE_INSTALL_PREFIX=/tmp/ROOT' CC=$COMPILER
- cmake ${CMAKE_OPTS} -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
- make all
- make install
script:
- set -e
- export PATH="$PATH:/tmp/ROOT/bin" TMPDIR=/tmp
- ./tools/gridinit-genconf.sh 15
- gridinit -d -s gridinit /tmp/gridinit/gridinit.conf
- ./tools/cycle.sh
- pkill gridinit
|
Add CNAME file to GitHub pages | language: clojure
jdk:
- oraclejdk8
install:
- wget -O boot https://github.com/boot-clj/boot/releases/download/2.4.0/boot.sh
- chmod 755 boot
- ./boot -V
script:
- ./boot produce
after_success:
- cd target
- git init
- git config user.name "Travis CI"
- git config user.email "andrewdolby@gmail.com"
- git add .
- git commit -m "Deploy to GitHub Pages"
- git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" > /dev/null 2>&1
env:
global:
- GH_REF: github.com/adolby/adolby.github.io.git
- secure: fb5H/gY3gBWSEUbsQQ0oivWZ4O+dSMtN/zXbRqznc3ySvUsTV/W7F96GqnNqgM8j56H+AEhcM59A6JfGGNlo1xKaPzG7TvKAt9gruLgEUfhZDxnu628NCBxJ9vj0T2Xsn/7PNOPlPyJVwnXnQKzmCMc3LM9zpiJjzVLkUqfRWHE=
| language: clojure
jdk:
- oraclejdk8
install:
- wget -O boot https://github.com/boot-clj/boot/releases/download/2.4.0/boot.sh
- chmod 755 boot
- ./boot -V
script:
- ./boot produce
after_success:
- cd target
- git init
- git config user.name "Travis CI"
- git config user.email "andrewdolby@gmail.com"
- echo "andrewdolby.com" > CNAME
- touch .
- git add -A .
- git commit -m "Deploy to GitHub Pages"
- git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" > /dev/null 2>&1
env:
global:
- GH_REF: github.com/adolby/adolby.github.io.git
- secure: fb5H/gY3gBWSEUbsQQ0oivWZ4O+dSMtN/zXbRqznc3ySvUsTV/W7F96GqnNqgM8j56H+AEhcM59A6JfGGNlo1xKaPzG7TvKAt9gruLgEUfhZDxnu628NCBxJ9vj0T2Xsn/7PNOPlPyJVwnXnQKzmCMc3LM9zpiJjzVLkUqfRWHE=
|
Upgrade Travis-CI builds to PG 9.4 and Python 3.5. (merge master) | language: python
python:
- "3.4"
- "2.7"
addons:
postgresql: "9.3"
before_install:
- export PATH=/usr/lib/postgresql/9.3/bin:$PATH
- sudo locale-gen --no-archive fr_FR.UTF-8
- sudo mkdir -p /extra/pg/ts1 /extra/pg/ts2
- sudo chown postgres:postgres /extra/pg/ts1 /extra/pg/ts2
- sudo apt-get update -qq
- sudo apt-get install -qq postgresql-plperl-9.3 postgresql-plpython-9.3
before_script:
- psql -Upostgres -c "CREATE TABLESPACE ts1 LOCATION '/extra/pg/ts1'"
- psql -Upostgres -c "CREATE TABLESPACE ts2 LOCATION '/extra/pg/ts2'"
script:
- python setup.py test
| language: python
python:
- "3.5"
- "2.7"
addons:
postgresql: "9.4"
before_install:
- export PATH=/usr/lib/postgresql/9.4/bin:$PATH
- sudo locale-gen --no-archive fr_FR.UTF-8
- sudo mkdir -p /extra/pg/ts1 /extra/pg/ts2
- sudo chown postgres:postgres /extra/pg/ts1 /extra/pg/ts2
- sudo apt-get update -qq
- sudo apt-get install -qq postgresql-plperl-9.4 postgresql-plpython-9.4
before_script:
- psql -Upostgres -c "CREATE TABLESPACE ts1 LOCATION '/extra/pg/ts1'"
- psql -Upostgres -c "CREATE TABLESPACE ts2 LOCATION '/extra/pg/ts2'"
script:
- python setup.py test
|
Support Node 6 and 7 | language: node_js
node_js:
- 4
- 5
before_script:
- npm install -g grunt-cli
| language: node_js
node_js:
- 4
- 5
- 6
- 7
before_script:
- npm install -g grunt-cli
|
Add in custom netrc file for builds | language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
script: "bundle exec ruby ./spec_helper.rb"
| language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
script: "bundle exec ruby ./spec_helper.rb"
before_install:
- "# This entry was added for connecting to the Acquia Cloud API\nmachine cloudapi.acquia.com\n login me@acquia.com\n password t0ps3cret" > ~/.netrc
|
Add retry to `gem install bundler` for Travis | script: 'ci/travis.rb'
before_install:
- gem install bundler
rvm:
- 1.9.3
- 2.0.0
env:
- "GEM=railties"
- "GEM=ap,am,amo,as,av"
- "GEM=ar:mysql"
- "GEM=ar:mysql2"
- "GEM=ar:sqlite3"
- "GEM=ar:postgresql"
notifications:
email: false
irc:
on_success: change
on_failure: always
channels:
- "irc.freenode.org#rails-contrib"
campfire:
on_success: change
on_failure: always
rooms:
- secure: "YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="
bundler_args: --path vendor/bundle --without test
| script: 'ci/travis.rb'
before_install:
- travis_retry gem install bundler
rvm:
- 1.9.3
- 2.0.0
env:
- "GEM=railties"
- "GEM=ap,am,amo,as,av"
- "GEM=ar:mysql"
- "GEM=ar:mysql2"
- "GEM=ar:sqlite3"
- "GEM=ar:postgresql"
notifications:
email: false
irc:
on_success: change
on_failure: always
channels:
- "irc.freenode.org#rails-contrib"
campfire:
on_success: change
on_failure: always
rooms:
- secure: "YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="
bundler_args: --path vendor/bundle --without test
|
Add Code Climate to Travis CI. | language: node_js
node_js:
- "7.7.3" | language: node_js
node_js:
- "7.7.3"
addons:
code_climate:
repo_token: 34d7a7423409180c47b106b12a4db36271a9dbb743913aa2f4b2894d4c0bf967 |
Test on 2.071.0 and skip testing libasync on 2.067.1. | language: d
d:
# order: latest DMD, oldest DMD, LDC/GDC, remaining DMD versions
# this way the overall test time gets cut down (GDC/LDC are a lot
# slower tham DMD, so they should be started early), while still
# catching most DMD version related build failures early
- dmd-2.070.0
- dmd-2.067.1
- ldc-0.17.0
- ldc-0.16.1
- dmd-2.069.2
- dmd-2.068.2
env:
- VIBED_DRIVER=libevent BUILD_EXAMPLE=1 RUN_TEST=1
- VIBED_DRIVER=libasync BUILD_EXAMPLE=0 RUN_TEST=0
matrix:
exclude:
- d: ldc-0.16.1
env: VIBED_DRIVER=libasync BUILD_EXAMPLE=0 RUN_TEST=0
- d: ldc-0.17.0
env: VIBED_DRIVER=libasync BUILD_EXAMPLE=0 RUN_TEST=0
script: ./travis-ci.sh
services:
- mongodb
- redis-server
sudo: false
| language: d
d:
# order: latest DMD, oldest DMD, LDC/GDC, remaining DMD versions
# this way the overall test time gets cut down (GDC/LDC are a lot
# slower tham DMD, so they should be started early), while still
# catching most DMD version related build failures early
- dmd-2.071.0
- dmd-2.067.1
- ldc-0.17.0
- ldc-0.16.1
- dmd-2.070.0
- dmd-2.069.2
- dmd-2.068.2
env:
- VIBED_DRIVER=libevent BUILD_EXAMPLE=1 RUN_TEST=1
- VIBED_DRIVER=libasync BUILD_EXAMPLE=0 RUN_TEST=0
matrix:
exclude:
- d: dmd-2.067.1
env: VIBED_DRIVER=libasync BUILD_EXAMPLE=0 RUN_TEST=0
- d: ldc-0.16.1
env: VIBED_DRIVER=libasync BUILD_EXAMPLE=0 RUN_TEST=0
- d: ldc-0.17.0
env: VIBED_DRIVER=libasync BUILD_EXAMPLE=0 RUN_TEST=0
script: ./travis-ci.sh
services:
- mongodb
- redis-server
sudo: false
|
Add Google chrome to Travis CI config | language: ruby
rvm:
- 2.4.4
before_install:
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - && sudo apt-get install -y nodejs
before_script:
- cd lib/assets && npm install && npm run bundle -- -p && cd -
- cp config/database_example.yml config/database.yml
- cp config/secrets_example.yml config/secrets.yml
- cp config/branding_example.yml config/branding.yml
- cp config/initializers/devise.rb.example config/initializers/devise.rb
- cp config/initializers/recaptcha.rb.example config/initializers/recaptcha.rb
- cp config/initializers/wicked_pdf.rb.example config/initializers/wicked_pdf.rb
- bundle exec rake db:drop RAILS_ENV=test
- bundle exec rake db:create RAILS_ENV=test
- bundle exec rake db:schema:load RAILS_ENV=test
- bundle exec rake db:migrate RAILS_ENV=test
script:
- bundle exec rspec spec
| language: ruby
addons:
chrome: beta
rvm:
- 2.4.4
before_install:
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - && sudo apt-get install -y nodejs
before_script:
- cd lib/assets && npm install && npm run bundle -- -p && cd -
- cp config/database_example.yml config/database.yml
- cp config/secrets_example.yml config/secrets.yml
- cp config/branding_example.yml config/branding.yml
- cp config/initializers/devise.rb.example config/initializers/devise.rb
- cp config/initializers/recaptcha.rb.example config/initializers/recaptcha.rb
- cp config/initializers/wicked_pdf.rb.example config/initializers/wicked_pdf.rb
- bundle exec rake db:drop RAILS_ENV=test
- bundle exec rake db:create RAILS_ENV=test
- bundle exec rake db:schema:load RAILS_ENV=test
- bundle exec rake db:migrate RAILS_ENV=test
script:
- bundle exec rspec spec
|
Update bundler on Travis CI | language: ruby
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
| language: ruby
before_install:
- gem update bundler
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
|
Update dependencies for Travis CI | matrix:
include:
- os: linux
dist: xenial
sudo: false
- os: linux
dist: trusty
sudo: false
- os: osx
before_install:
- brew update
- brew list protobuf &>/dev/null || brew install protobuf
addons:
apt:
packages:
- libprotobuf-dev
- protobuf-compiler
language: ruby
rvm:
- 2.7.0
- 2.6.3
- 2.5.5
- 2.4.6
- 2.3.8
- rbx-3
script:
- rake spec
| matrix:
include:
- os: linux
dist: bionic
sudo: false
- os: linux
dist: xenial
sudo: false
- os: linux
dist: trusty
sudo: false
- os: osx
before_install:
- brew update
- brew list protobuf &>/dev/null || brew install protobuf
addons:
apt:
packages:
- libprotobuf-dev
- protobuf-compiler
language: ruby
rvm:
- 2.7.0
- 2.6.5
- 2.5.7
- 2.4.9
- rbx-3
script:
- rake spec
|
Work around Yarn 1.1.0 bug in Travis | ---
language: node_js
node_js:
- "6"
sudo: false
cache:
yarn: true
directories:
- $HOME/.npm
- $HOME/.cache # includes bowers cache
env:
matrix:
- EMBER_TRY_SCENARIO=ember-lts-2.4
- EMBER_TRY_SCENARIO=ember-lts-2.8
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-default
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn global add phantomjs-prebuilt
- phantomjs --version
install:
- yarn install --no-lockfile
script:
# We need to cleanup, since our deploy depends on the git repo's status
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO test
after_success:
- node_modules/.bin/ember deploy production
| ---
language: node_js
node_js:
- "6"
sudo: false
cache:
yarn: true
directories:
- $HOME/.npm
- $HOME/.cache # includes bowers cache
env:
matrix:
- EMBER_TRY_SCENARIO=ember-lts-2.4
- EMBER_TRY_SCENARIO=ember-lts-2.8
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-default
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
# Locking to Yarn 1.0.2 to work around https://github.com/yarnpkg/yarn/issues/4612
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.0.2
- export PATH=$HOME/.yarn/bin:$PATH
- yarn global add phantomjs-prebuilt
- phantomjs --version
install:
- yarn install --no-lockfile
script:
# We need to cleanup, since our deploy depends on the git repo's status
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO test
after_success:
- node_modules/.bin/ember deploy production
|
Add node.js 7 to build matrix | language: node_js
sudo: false
node_js:
- "6"
- "5"
- "4"
- "0.12"
- "0.10"
env:
- MONGODB_VERSION="2.6.11"
- MONGODB_VERSION="3.0.7"
- MONGODB_VERSION="3.2.0"
before_script:
- npm install -g istanbul
- npm install coveralls
- npm install mocha-lcov-reporter
-
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB_VERSION}.tgz -O /tmp/mongodb.tgz
- tar -xvf /tmp/mongodb.tgz
- mkdir /tmp/data
- ${PWD}/mongodb-linux-x86_64-${MONGODB_VERSION}/bin/mongod --dbpath /tmp/data &> /dev/null &
- ${PWD}/mongodb-linux-x86_64-${MONGODB_VERSION}/bin/mongod --version
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
after_script:
- NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
| language: node_js
sudo: false
node_js:
- "7"
- "6"
- "5"
- "4"
- "0.12"
- "0.10"
env:
- MONGODB_VERSION="2.6.11"
- MONGODB_VERSION="3.0.7"
- MONGODB_VERSION="3.2.0"
before_script:
- npm install -g istanbul
- npm install coveralls
- npm install mocha-lcov-reporter
-
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB_VERSION}.tgz -O /tmp/mongodb.tgz
- tar -xvf /tmp/mongodb.tgz
- mkdir /tmp/data
- ${PWD}/mongodb-linux-x86_64-${MONGODB_VERSION}/bin/mongod --dbpath /tmp/data &> /dev/null &
- ${PWD}/mongodb-linux-x86_64-${MONGODB_VERSION}/bin/mongod --version
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
after_script:
- NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
|
Add Ruby 2.1.0 to Travis CI mix. | language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx
services:
- mongodb
| language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx
services:
- mongodb
|
Drop Ruby 2.0 and 2.1 | sudo: false
language: ruby
rvm:
- "2.0"
- "2.1"
- "2.2"
- "2.3.3"
- "2.4.1"
- "jruby-19mode"
before_script:
- git submodule update --init
- gem update bundler
- bundle install
- bundle update
script:
- make
| sudo: false
language: ruby
rvm:
- "2.2"
- "2.3.3"
- "2.4.1"
- "jruby-19mode"
before_script:
- git submodule update --init
- gem update bundler
- bundle install
- bundle update
script:
- make
|
Move Travis to 2.0 and sqlite3 | before_script:
- "echo 'test:\n adapter: mysql2\n database: journey_test\n user: root\n encoding: utf8' >config/database.yml"
- "bundle exec rake db:migrate RAILS_ENV=test"
rvm:
- "1.9.3"
| rvm:
- "2.0.0-p195"
|
Add Ruby 1.8.7 to Travis testing. | language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
gemfile:
- gemfiles/rails3.1.gemfile
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.0.gemfile
notifications:
email: false
campfire:
on_success: change
on_failure: always
rooms:
- secure: "gxEt3SeVn1kup6PfB6hiQu6eWsefmMEdd8U1qPSS6vlRjsM7Xy2IrXdz9gdl\n0nrrRgESvOxT3sqMh4/opH6M1kbtCyl3M0yvjF2QUtjWQ+4BStJGhNyXlDTp\nNAas19fuEUPBNxNqoy7aTVBiFpQRs0NisEZTS3+N3eA2tz757Qk="
| language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- jruby-19mode
gemfile:
- gemfiles/rails3.1.gemfile
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.0.gemfile
matrix:
exclude:
- rvm: 1.8.7
gemfile: gemfiles/rails4.0.gemfile
notifications:
email: false
campfire:
on_success: change
on_failure: always
rooms:
- secure: "gxEt3SeVn1kup6PfB6hiQu6eWsefmMEdd8U1qPSS6vlRjsM7Xy2IrXdz9gdl\n0nrrRgESvOxT3sqMh4/opH6M1kbtCyl3M0yvjF2QUtjWQ+4BStJGhNyXlDTp\nNAas19fuEUPBNxNqoy7aTVBiFpQRs0NisEZTS3+N3eA2tz757Qk="
|
Make sure pip and setuptools are up to date on Travis | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install -r dev-requirements.txt
- python setup.py develop
script: python runtests.py
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install --upgrade pip setuptools
- pip install -r dev-requirements.txt
- pip install -e .
script: python runtests.py
|
Change Travis script for Makefile use | sudo: false
language: node_js
node_js:
- "0.12"
notifications:
irc:
channels:
- "irc.mozilla.org#pageshot"
on_success: change
template:
- "%{message}: %{repository}#%{build_number} (%{branch} - %{commit} : %{author}) %{build_url}"
before_install:
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
before_script:
- npm install jpm -g
- npm install fx-download -g
- npm install gulp -g
- npm install
- gulp javascript-addon
- cd ..
- fx-download --branch nightly -c prerelease --host ftp.mozilla.org firefox
- export JPM_FIREFOX_BINARY=$TRAVIS_BUILD_DIR/../firefox/firefox
- cd $TRAVIS_BUILD_DIR/addon
script:
- pwd && ls && cd $TRAVIS_BUILD_DIR/dist/addon && jpm test -v
| sudo: false
language: node_js
node_js:
- "0.12"
notifications:
irc:
channels:
- "irc.mozilla.org#pageshot"
on_success: change
template:
- "%{message}: %{repository}#%{build_number} (%{branch} - %{commit} : %{author}) %{build_url}"
before_install:
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
before_script:
- npm install -g jpm
- npm install -g mozilla-download
- npm install
- make all
- cd ..
- mozilla-download --branch mozilla-central --product firefox firefox
- export JPM_FIREFOX_BINARY=$TRAVIS_BUILD_DIR/../firefox/firefox
- cd $TRAVIS_BUILD_DIR/
script:
- pwd && ls && cd $TRAVIS_BUILD_DIR/build/addon && jpm test -v
|
Add Node v7 to Travis configuration | sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "6"
- "5"
- "4"
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
| sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "7"
- "6"
- "5"
- "4"
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
|
Make service public for Sf 4 compatibility | services:
spyrit.util.inflector:
class: Spyrit\PropelDatagridBundle\Util\Inflector | services:
spyrit.util.inflector:
public: true
class: Spyrit\PropelDatagridBundle\Util\Inflector
|
Reduce the size of the git repository downloaded during TravisCI testing. | language: java
jdk:
- openjdk7
- oraclejdk7
before_install:
- rvm use 1.9.3
install:
- bundle install
script: buildr clean package
| language: java
jdk:
- openjdk7
- oraclejdk7
before_install:
- rvm use 1.9.3
install:
- bundle install
script: buildr clean package
git:
depth: 10
|
Use module name for unittest for Python 2 | dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9-dev
- pypy2.7-6.0
- pypy3.5
env:
global:
- EXECUTING_SLOW_TESTS=1
- COVERALLS_PARALLEL=true
before_install:
- pip install --upgrade coveralls asttokens pytest setuptools setuptools_scm pep517
install:
- pip install .
script:
- coverage run --include=executing/executing.py -m unittest tests/test_main.py
- coverage run --include=executing/executing.py --append -m pytest tests/test_pytest.py
- coverage report -m
after_success:
- coveralls
notifications:
email: false
webhooks: https://coveralls.io/webhook
| dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9-dev
- pypy2.7-6.0
- pypy3.5
env:
global:
- EXECUTING_SLOW_TESTS=1
- COVERALLS_PARALLEL=true
before_install:
- pip install --upgrade coveralls asttokens pytest setuptools setuptools_scm pep517
install:
- pip install .
script:
- coverage run --include=executing/executing.py -m unittest tests.test_main
- coverage run --include=executing/executing.py --append -m pytest tests/test_pytest.py
- coverage report -m
after_success:
- coveralls
notifications:
email: false
webhooks: https://coveralls.io/webhook
|
Enable building for PHP7.3 and 7.4 snapshot as well | matrix:
include:
- language: php
php: 7.2
os: linux
before_script:
- composer install
after_script:
- sh .travis.coverage.sh
env:
- COVERAGE_FLAGS="--coverage-text --coverage-clover=clover.xml"
- language: php
php: nightly
before_script:
- composer install
- name: "PHP: 7.2"
language: sh
os: windows
before_script:
- choco install php --version 7.2.15 --package-parameters='"/InstallDir:C:\php"'
# Export windows path into unix path
- export PATH=/c/php:$PATH
# Enable openssl, mbstring php extensions
- sed -i 's/;extension=openssl/extension=openssl/g' /c/php/php.ini
- sed -i 's/;extension=mbstring/extension=mbstring/g' /c/php/php.ini
- wget http://getcomposer.org/composer.phar
- php composer.phar install
allow_failures:
- php: nightly
script:
- vendor/bin/phpunit --verbose ${COVERAGE_FLAGS} --colors
| matrix:
include:
- language: php
php: 7.2
os: linux
before_script:
- composer install
- language: php
php: 7.3
os: linux
before_script:
- composer install
after_script:
- sh .travis.coverage.sh
env:
- COVERAGE_FLAGS="--coverage-text --coverage-clover=clover.xml"
- language: php
php: 7.4snapshot
before_script:
- composer install
- language: php
php: nightly
before_script:
- composer install
- name: "PHP: 7.2"
language: sh
os: windows
before_script:
- choco install php --version 7.2.15 --package-parameters='"/InstallDir:C:\php"'
# Export windows path into unix path
- export PATH=/c/php:$PATH
# Enable openssl, mbstring php extensions
- sed -i 's/;extension=openssl/extension=openssl/g' /c/php/php.ini
- sed -i 's/;extension=mbstring/extension=mbstring/g' /c/php/php.ini
- wget http://getcomposer.org/composer.phar
- php composer.phar install
allow_failures:
- php: nightly
- php: 7.4snapshot
script:
- vendor/bin/phpunit --verbose ${COVERAGE_FLAGS} --colors
|
Fix cocoapods to v1 beta 2 |
language: objective-c
osx_image: xcode7.2
before_install:
- export LANG=en_US.UTF-8
install:
- gem install cocoapods --pre --no-document
- gem install xcpretty --no-document
- pod _1.0.0.beta.3_ install
- cd project && pod _1.0.0.beta.3_ install
script:
- rake travis
|
language: objective-c
osx_image: xcode7.2
before_install:
- export LANG=en_US.UTF-8
install:
- gem install cocoapods -v 1.0.0.beta.2 --no-document
- gem install xcpretty --no-document
- pod _1.0.0.beta.3_ install
- cd project && pod _1.0.0.beta.2_ install
script:
- rake travis
|
Enable Redis extension on Travis CI | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
install:
- composer install
before_script:
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
install:
- composer install
before_install:
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
Add force flags for homesick clone | language: bash
git:
submodules: false
before_script:
- gem install homesick
script:
- homesick clone "matthiasvegh/dotfiles"
- homesick symlink -f "dotfiles"
- homesick rc --force "dotfiles"
| language: bash
git:
submodules: false
before_script:
- gem install homesick
script:
- homesick clone --force "matthiasvegh/dotfiles"
- homesick symlink --force "dotfiles"
- homesick rc --force "dotfiles"
|
Switch Travis to build melodic | sudo: required
dist: trusty
language: generic
compiler:
- gcc
env:
matrix:
- ROS_DISTRO="kinetic" PRERELEASE=true
install:
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
script:
- .ci_config/travis.sh
| sudo: required
dist: trusty
language: generic
compiler:
- gcc
env:
matrix:
- ROS_DISTRO="melodic" PRERELEASE=true
install:
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
script:
- .ci_config/travis.sh
|
Add HHVM and HHVM nightly to Travis CI builds | language: php
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
before_script: composer install --no-dev
script: phpunit --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
| language: php
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
before_script: composer install --no-dev
script: phpunit --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
Build and test on node v4 and v5. | language: node_js
node_js:
- "0.10"
- "4.0"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- g++ -v
| language: node_js
node_js:
- "0.10"
- "4"
- "5"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- g++ -v
|
Remove out of date comment | sudo: false
language: node_js
os:
- linux
- osx
node_js:
# Node 11 is turned off because it blocks building until a security issue with node-sass is fixed.
- "node"
- "12"
- "10"
- "8"
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
script:
- npm install
- npm test
- npm run test-client-integration
| sudo: false
language: node_js
os:
- linux
- osx
node_js:
- "node"
- "12"
- "10"
- "8"
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
script:
- npm install
- npm test
- npm run test-client-integration
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.