Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Update Docker dependencies and version | ---
- name: Installing apt-key
apt_key: id="F76221572C52609D" url=https://apt.dockerproject.org/gpg state=present
- name: Add deb repository
apt_repository: repo='deb https://apt.dockerproject.org/repo ubuntu-{{ ansible_distribution_release }} main' state=present
- name: Install
apt: pkg=docker-engine state=latest update_cache=yes
- name: Create Docker group
group: name=docker state=present
- name: Add current user to Docker group
user: name="{{ ansible_env.USER }}" groups=docker append=yes
- name: "Ensure Docker is {{ docker.start | ternary('started','stopped') }}"
service: name=docker state={{ docker.start | ternary('restarted','stopped') }} enabled={{ docker.service_enabled }}
- name: Install docker-compose
get_url: url="https://github.com/docker/compose/releases/download/1.7.1/docker-compose-Linux-x86_64" dest=/usr/local/bin/docker-compose force=no mode=0755
| ---
- name: Installing apt-key
apt_key: id="F76221572C52609D" url=https://apt.dockerproject.org/gpg state=present
- name: Add deb repository
apt_repository: repo='deb https://apt.dockerproject.org/repo ubuntu-{{ ansible_distribution_release }} main' state=present
- name: Install
apt: pkg="{{ item }}" state=latest update_cache=yes
with_items:
- linux-image-extra-virtual
- docker-engine
- name: Create Docker group
group: name=docker state=present
- name: Add current user to Docker group
user: name="{{ ansible_env.USER }}" groups=docker append=yes
- name: "Ensure Docker is {{ docker.start | ternary('started','stopped') }}"
service: name=docker state={{ docker.start | ternary('restarted','stopped') }} enabled={{ docker.service_enabled }}
- name: Install docker-compose
get_url: url="https://github.com/docker/compose/releases/download/1.9.0/docker-compose-Linux-x86_64" dest=/usr/local/bin/docker-compose force=no mode=0755
|
Update from Hackage at 2016-02-10T01:21:16+0000 | homepage: http://khibino.github.io/haskell-relational-record/
changelog-type: ''
hash: d1e45b27a6f46b144e1a3e56c2e32f7d98d2504bf46c8707c94b5eb8a439b8a2
test-bench-deps: {}
maintainer: ex8k.hibino@gmail.com
synopsis: HDBC Convertible instances and HRR persistable instances of PostgreSQL extended
types
changelog: ''
basic-deps:
relational-query-HDBC: -any
bytestring: -any
base: <5
HDBC: -any
text-postgresql: -any
convertible: -any
persistable-record: -any
all-versions:
- '0.0.1.0'
- '0.0.1.1'
author: Kei Hibino
latest: '0.0.1.1'
description-type: haddock
description: ''
license-name: BSD3
| homepage: http://khibino.github.io/haskell-relational-record/
changelog-type: ''
hash: 3cfee4b1a8a80356c6a130b454ae7a56cc21f672bafc2e56d014e842ddace360
test-bench-deps: {}
maintainer: ex8k.hibino@gmail.com
synopsis: HDBC and Relational-Record instances of PostgreSQL extended types
changelog: ''
basic-deps:
relational-query-HDBC: -any
bytestring: -any
base: <5
HDBC: -any
text-postgresql: -any
convertible: -any
persistable-record: -any
all-versions:
- '0.0.1.0'
- '0.0.1.1'
- '0.0.1.2'
author: Kei Hibino
latest: '0.0.1.2'
description-type: haddock
description: ! 'This package contains HDBC Convertible instances and
Relational-Record persistable instances of PostgreSQL extended types
Supported extended types: inet, cidr'
license-name: BSD3
|
Use 4 jobs to install gems with bundle | image: registry.gitlab.com/gitlab-org/gitlab-build-images:www-gitlab-com
before_script:
- bundle install --path vendor
cache:
key: "website"
paths:
- vendor
stages:
- build
- deploy
lint:
stage: build
script:
- bundle exec rake lint
tags:
- docker
build:
stage: build
script:
- bundle exec rake build pdfs
tags:
- docker
artifacts:
expire_in: 31 days
paths:
- public/
deploy:
stage: deploy
dependencies:
- build
before_script: []
script:
- rsync --delete -r public/ ~/public/
environment: production
tags:
- deploy
only:
- master@gitlab-com/www-gitlab-com
| image: registry.gitlab.com/gitlab-org/gitlab-build-images:www-gitlab-com
before_script:
- bundle install --jobs 4 --path vendor
cache:
key: "website"
paths:
- vendor
stages:
- build
- deploy
lint:
stage: build
script:
- bundle exec rake lint
tags:
- docker
build:
stage: build
script:
- bundle exec rake build pdfs
tags:
- docker
artifacts:
expire_in: 31 days
paths:
- public/
deploy:
stage: deploy
dependencies:
- build
before_script: []
script:
- rsync --delete -r public/ ~/public/
environment: production
tags:
- deploy
only:
- master@gitlab-com/www-gitlab-com
|
Drop StyleCI multi-language support (paid feature now!) | php:
preset: recommended
enabled:
- dir_constant
- ereg_to_preg
- mb_str_functions
- no_short_echo_tag
- strict_comparison
- phpdoc_link_to_see
- no_php4_constructor
- declare_strict_types
- unalign_double_arrow
- length_ordered_imports
- modernize_types_casting
- return_type_declaration
- not_operator_with_successor_space
disabled:
- align_double_arrow
- alpha_ordered_imports
finder:
not-name:
- "CountryLoader.php"
js:
tab-width: 4
print-width: 120
ts:
tab-width: 4
print-width: 120
css:
tab-width: 4
print-width: 120
| preset: recommended
enabled:
- dir_constant
- ereg_to_preg
- mb_str_functions
- no_short_echo_tag
- strict_comparison
- phpdoc_link_to_see
- no_php4_constructor
- declare_strict_types
- unalign_double_arrow
- length_ordered_imports
- modernize_types_casting
- return_type_declaration
- not_operator_with_successor_space
disabled:
- align_double_arrow
- alpha_ordered_imports
|
Print helpful welcome message in Gitpod | ports:
- port: 8000
onOpen: open-preview
tasks:
- init: npm install && npm install -g grunt-cli
command: grunt fastBuild && python3 -m http.server 8000
| ports:
- port: 8000
onOpen: open-preview
tasks:
- init: npm install && npm install -g grunt-cli
command: >
grunt fastBuild &&
printf "\nWelcome to Learn Git Branching\nTo rebuild the app, simply run 'grunt fastBuild' and reload index.html.\n\n" &&
python3 -m http.server 8000 2>/dev/null
|
Encrypt IRC channel name for Travis notifications. | language: "rust"
notifications:
email: false
irc:
channels:
- "chat.freenode.net#ruma"
use_notice: true
rust:
- "nightly"
| language: "rust"
notifications:
email: false
irc:
channels:
- secure: "mNgl6XfDZZjqZoKb+iQ8aKp+q3XhX7wfI1oNWgVj8HPW9jKYOqE1RlVhVnbey2QUwocPcvNwcchE4rGnnO67Xnvf3J5EygEtgyTlA7c7OYpMsvvNrxFnVtsFIrU2Q9ZfwoF88RJR1N7rOMVkOhdVeliudR1iiwDJuH9HazElhv1viUuhewl/ZH/a/xNWh/O7wjohsN7/27svbTNwZZe0Pra3rZrlfT26AQFqLZCxMWwWLvc/VGbaV+fxjfs94TOKsDxk999aVGqJ2Lb4E9xKI6xJ+1oQsMogMJrTNHBnIM0Fk3ULOpG+iDKzJZV/E2rOMRZqcGVgsA2+DyZxDAGzTc1p9yDgVW+mByVgWI/CXiGoxw/aPjqsw4ABp2Jq2YchHWjjhrudn0NyltBOqDPF8bvtc2+hWaYYeK8re6yEOe3URvViQm0Lv7cBC9rORs+l4Ni+icpT/loSyOdIuJmTnYkdivOevKwIob/xlgWknE0SzPRWorVpoPisVAO9VP98w+phjZIJCUIADk6H6j1oKioNBh896LnSsgpO01/n23xdlvF5oeVVwroPNfwRJ/KLZIHqvSKvUK0ZOgrjoJOGi6iLhXtm6X1RMhhNF4OHcrWOtowcNx88PkXAapuOSMJuIYhrxz7/vXTavyNTkzPFTCh6CX6aNKCH3aoF0cdK6UY="
use_notice: true
rust:
- "nightly"
|
Remove npm deployment from Travis | language: node_js
node_js:
- '4.0'
- '9.0'
after_script: bash <(curl -s https://codecov.io/bash)
sudo: false
deploy:
- provider: npm
skip_cleanup: true
email: tituswormer@gmail.com
api_key:
secure: PCWvrojD+Q2aXU16SscuTLh6+QHpam49PtXCMasr5HgRth4TL7DHotK3dtGNOs+CE5WgUCbpXc49MKz8Hbb4aU6Tv0jaVPqW6UCf1Z/QkfDrs4n1lTQLx2nhA+kWQ24WOgw0ogxsSO06bgfL6k4vuQGloKE4KWniUX5fWjjuBFc=
on:
tags: true
node: '9.0'
- provider: releases
skip_cleanup: true
api_key:
secure: BKjnHlfFBAArikqXStceLfDQD4P+zSer83O9fumSplDQNVIz6qJoDn1tlVQQ1+OcQKYbtiLtsHnTx1Ml5I6TthLwJKhnB2N6SQurDe25BH5cnmS4oU7rMoLj0ohZjixNdrxsH5s7B4EVWv2DK4cVm+4WXocVW7PWeLETVvd7a4k=
file:
- "nlcst-test.js"
- "nlcst-test.min.js"
on:
tags: true
node: '9.0'
| language: node_js
node_js:
- '4.0'
- '9.0'
after_script: bash <(curl -s https://codecov.io/bash)
sudo: false
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: BKjnHlfFBAArikqXStceLfDQD4P+zSer83O9fumSplDQNVIz6qJoDn1tlVQQ1+OcQKYbtiLtsHnTx1Ml5I6TthLwJKhnB2N6SQurDe25BH5cnmS4oU7rMoLj0ohZjixNdrxsH5s7B4EVWv2DK4cVm+4WXocVW7PWeLETVvd7a4k=
file:
- "nlcst-test.js"
- "nlcst-test.min.js"
on:
tags: true
node: '9.0'
|
Remove Node.js version 0.6 & 0.8 | sudo: required
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
before_install:
- "curl -L http://git.io/ejPSng | /bin/sh"
services:
- mongodb
| sudo: required
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "iojs"
before_install:
- "curl -L http://git.io/ejPSng | /bin/sh"
services:
- mongodb
|
Remove Node 4 from Travis | sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: true
node_js:
- stable
- 4
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 coveralls
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
| sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: true
node_js:
- stable
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 coveralls
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
Remove node@0.12 from Travis config | sudo: false
language: node_js
node_js:
- stable
- '4'
- '0.12'
script:
- 'npm run lint'
- 'npm test'
after_script:
- 'npm run coveralls'
| sudo: false
language: node_js
node_js:
- stable
- '4'
script:
- 'npm run lint'
- 'npm test'
after_script:
- 'npm run coveralls'
|
Reduce the number of notifications | language: java
jdk:
- oraclejdk8
- oraclejdk7
notifications:
webhooks: https://nulab-inc.com/hubot/travis?room=44
| language: java
jdk:
- oraclejdk8
- oraclejdk7
notifications:
webhooks:
urls:
- https://nulab-inc.com/hubot/travis?room=44
on_success: change
|
Allow failures for PHP hhvm | language: php
sudo: false
php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
fast_finish: true
include:
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.4.*
- php: 7.1
env: SYMFONY_VERSION=4.0.*
cache:
directories:
- $HOME/.composer/cache
before_install:
- composer selfupdate
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
install:
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
after_script:
- php vendor/bin/php-coveralls
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
| language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
fast_finish: true
include:
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.4.*
- php: 7.1
env: SYMFONY_VERSION=4.0.*
allow_failures:
- php: hhvm
before_install:
- composer selfupdate
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
install:
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
after_script:
- php vendor/bin/php-coveralls
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
|
Test project on Python 3.3 | # Travis CI Configuration
language: python
python:
- "3.4"
- "3.5"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run -m nose
after_success:
- coveralls
| # Travis CI Configuration
language: python
python:
- "3.3"
- "3.4"
- "3.5"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run -m nose
after_success:
- coveralls
|
Correct Travis-CI script syntax error | language: cpp
compiler:
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libxcb-image0
- sudo apt-get install -y libxcb-randr0
- sudo apt-get install -y libudev0
sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.0 /lib/x86_64-linux-gnu/libudev.so.1
script:
- mkdir build
- cd build
- cmake .. -DBUILD_TESTS=ON
- make
- ./tests | language: cpp
compiler:
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libxcb-image0
- sudo apt-get install -y libxcb-randr0
- sudo apt-get install -y libudev0
- sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.0 /lib/x86_64-linux-gnu/libudev.so.1
script:
- mkdir build
- cd build
- cmake .. -DBUILD_TESTS=ON
- make
- ./tests |
Test with Node.js 5.1 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
- '5.1'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
|
Migrate back to stricter Travis CI checking | language: r
cache: packages
sudo: false
dist: trusty
warnings_are_errors: false
r:
- bioc-devel
r_github_packages:
- jimhester/covr
- jimhester/lintr
- lpantano/DEGreport
after_success:
- Rscript -e 'covr::codecov()'
- pwd
- cd ..
- git clone https://github.com/bcbio/bcbio_rnaseq_output_example.git
- mkdir template
- cd template
- cp ../bcbio_rnaseq_output_example/setup.R .
- cp ../bcbioRnaseq/inst/rmarkdown/templates/quality_control/skeleton/skeleton.Rmd qc.Rmd
- Rscript -e 'devtools::install_local("../bcbioRnaseq")'
- Rscript -e 'library(methods);bcbioRnaseq::downloads();rmarkdown::render("qc.Rmd")'
- cp ../bcbioRnaseq/inst/rmarkdown/templates/differential_expression/skeleton/skeleton.Rmd de.Rmd
- Rscript -e 'library(methods);rmarkdown::render("de.Rmd")'
- ls
- cd ../bcbio_rnaseq_output_example
- cp ../bcbioRnaseq/.push.sh push.sh
- chmod +x push.sh
- ./push.sh
| language: r
cache: packages
sudo: false
dist: trusty
r:
- bioc-devel
r_github_packages:
- jimhester/covr
- jimhester/lintr
- lpantano/DEGreport
after_success:
- Rscript -e 'covr::codecov()'
- pwd
- cd ..
- git clone https://github.com/bcbio/bcbio_rnaseq_output_example.git
- mkdir template
- cd template
- cp ../bcbio_rnaseq_output_example/setup.R .
- cp ../bcbioRnaseq/inst/rmarkdown/templates/quality_control/skeleton/skeleton.Rmd qc.Rmd
- Rscript -e 'devtools::install_local("../bcbioRnaseq")'
- Rscript -e 'library(methods);bcbioRnaseq::downloads();rmarkdown::render("qc.Rmd")'
- cp ../bcbioRnaseq/inst/rmarkdown/templates/differential_expression/skeleton/skeleton.Rmd de.Rmd
- Rscript -e 'library(methods);rmarkdown::render("de.Rmd")'
- ls
- cd ../bcbio_rnaseq_output_example
- cp ../bcbioRnaseq/.push.sh push.sh
- chmod +x push.sh
- ./push.sh
|
Use Travis container based architecture for faster builds | language: node_js
node_js:
- "0.11"
- "0.10"
- "iojs"
notifications:
email: false
before_install: sudo apt-get install xvfb gnome-keyring libgnome-keyring-dev
script: xvfb-run ./script/cibuild
git:
depth: 10
| language: node_js
sudo: false
addons:
apt:
packages:
- xvfb
- gnome-keyring
- libgnome-keyring-dev
node_js:
- "0.11"
- "0.10"
- "iojs"
notifications:
email: false
script: xvfb-run ./script/cibuild
git:
depth: 10
|
Add Windows to Travis CI | language: go
go:
- 1.11.x
- 1.12.x
- 1.13.x
- tip
os:
- linux
- osx
matrix:
fast_finish: true
allow_failures:
- go: tip
install:
- go get -d -v -t ./...
script:
- go test -v -race ./...
| language: go
go:
- 1.11.x
- 1.12.x
- 1.13.x
- tip
os:
- linux
- osx
- windows
matrix:
fast_finish: true
allow_failures:
- go: tip
exclude:
- os: windows
go: tip
install:
- go get -d -v -t ./...
script:
- go test -v -race ./...
|
Use ruby 2.3.8, 2.4.6, 2.5.6, 2.6.4 | env:
global:
- CC_TEST_REPORTER_ID=f2bcb258be4f9119a498a63a9843140ce2f201437c75e5edbd463a7871cf56d5
- GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
language: ruby
rvm:
- 2.3.0
- 2.4.1
- 2.5.0
- 2.6.1
- 2.7.0-preview1
- jruby
before_install: gem install bundler -v 1.11.2
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
script:
- bundle exec rspec
- if [ "$TRAVIS_RUBY_VERSION" == "2.5.0" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
# In the case where travis is setup to build PR updates only,
# uncomment the line below
# - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
| env:
global:
- CC_TEST_REPORTER_ID=f2bcb258be4f9119a498a63a9843140ce2f201437c75e5edbd463a7871cf56d5
- GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
language: ruby
rvm:
- 2.3.8
- 2.4.6
- 2.5.6
- 2.6.4
- 2.7.0-preview1
- jruby
before_install: gem install bundler -v 1.11.2
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
script:
- bundle exec rspec
- if [ "$TRAVIS_RUBY_VERSION" == "2.5.6" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
# In the case where travis is setup to build PR updates only,
# uncomment the line below
# - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
Add temporarily x32 libs for microchippic32 toolchain | language: python
python:
- "2.7"
env:
- TOX_ENV=docs
- TOX_ENV=lint
- TOX_ENV=py26
- TOX_ENV=py27
install:
- git submodule update --init --recursive
- pip install -U pip setuptools tox
script:
- tox -e $TOX_ENV
notifications:
slack:
secure: ksQmXOP5NVsf8IgoDuxD68Q/YNwDpZuwq0V29h2dxYCr38oYdAkq/Os4LSCs0X6P0cQFf6nC1hM/d+cAvU+SmzcHGxEceHNEGCg3/TAj+68KIwooPU93Lfq1zwdfteZWxANjKlCQy4+wZliHLhL8fvCYgfJww/6qKmqSYleBNM=
on_failure: always
on_success: change
| language: python
python:
- "2.7"
env:
- TOX_ENV=docs
- TOX_ENV=lint
- TOX_ENV=py26
- TOX_ENV=py27
install:
- git submodule update --init --recursive
- pip install -U pip setuptools tox
- sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0 # temporarily
script:
- tox -e $TOX_ENV
notifications:
slack:
secure: ksQmXOP5NVsf8IgoDuxD68Q/YNwDpZuwq0V29h2dxYCr38oYdAkq/Os4LSCs0X6P0cQFf6nC1hM/d+cAvU+SmzcHGxEceHNEGCg3/TAj+68KIwooPU93Lfq1zwdfteZWxANjKlCQy4+wZliHLhL8fvCYgfJww/6qKmqSYleBNM=
on_failure: always
on_success: change
|
Test against missing some ember-source versions | language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1
- 2.2
env:
matrix:
- EMBER_VERSION="~> 1.8.0"
- EMBER_VERSION="~> 1.9.0"
- EMBER_VERSION="~> 1.10.0"
| language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1
- 2.2
env:
matrix:
- EMBER_VERSION="~> 1.8.0"
- EMBER_VERSION="~> 1.9.0"
- EMBER_VERSION="~> 1.10.0"
- EMBER_VERSION="~> 1.11.0"
- EMBER_VERSION="~> 1.12.0"
- EMBER_VERSION="~> 1.13.0"
- EMBER_VERSION="~> 2.0.0"
|
Set DEBUG env variable to show what queries are being performed | before_install:
- lsb_release -a
- sudo mv /etc/apt/sources.list.d/pgdg.list* /tmp
- sudo apt-get -qq purge postgis* postgresql*
- sudo rm -Rf /var/lib/postgresql /etc/postgresql
- sudo apt-add-repository --yes ppa:cartodb/postgresql-9.5
- sudo apt-add-repository --yes ppa:cartodb/gis
- sudo apt-get update
- sudo apt-get install -q postgresql-9.5-postgis-2.2
- sudo apt-get install -q postgresql-contrib-9.5
- sudo apt-get install -q postgresql-plpython-9.5
- sudo apt-get install -q postgis
- sudo apt-get install -q gdal-bin
- sudo apt-get install -q ogr2ogr2-static-bin
- echo -e "local\tall\tall\ttrust\nhost\tall\tall\t127.0.0.1/32\ttrust\nhost\tall\tall\t::1/128\ttrust" |sudo tee /etc/postgresql/9.5/main/pg_hba.conf
- sudo service postgresql restart
- psql -c 'create database template_postgis;' -U postgres
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d template_postgis
- ./configure
env:
- PGUSER=postgres
language: node_js
node_js:
- "0.10"
| before_install:
- lsb_release -a
- sudo mv /etc/apt/sources.list.d/pgdg.list* /tmp
- sudo apt-get -qq purge postgis* postgresql*
- sudo rm -Rf /var/lib/postgresql /etc/postgresql
- sudo apt-add-repository --yes ppa:cartodb/postgresql-9.5
- sudo apt-add-repository --yes ppa:cartodb/gis
- sudo apt-get update
- sudo apt-get install -q postgresql-9.5-postgis-2.2
- sudo apt-get install -q postgresql-contrib-9.5
- sudo apt-get install -q postgresql-plpython-9.5
- sudo apt-get install -q postgis
- sudo apt-get install -q gdal-bin
- sudo apt-get install -q ogr2ogr2-static-bin
- echo -e "local\tall\tall\ttrust\nhost\tall\tall\t127.0.0.1/32\ttrust\nhost\tall\tall\t::1/128\ttrust" |sudo tee /etc/postgresql/9.5/main/pg_hba.conf
- sudo service postgresql restart
- psql -c 'create database template_postgis;' -U postgres
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d template_postgis
- ./configure
env:
- PGUSER=postgres DEBUG=batch:query-runner
language: node_js
node_js:
- "0.10"
|
Remove obsolete Go versions which fail to build | language: go
go:
- 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- tip
install: make
| language: go
go:
- 1.5
- 1.6
- 1.7
- 1.8
- tip
install: make
|
Update to test against php nightly. | language: php
sudo: false
php:
- 7.1
- 7.2
env:
global:
- coverage=no
matrix:
- setup=basic
- setup=lowest
- setup=stable
before_script:
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "php-coveralls/php-coveralls=^2.1" --prefer-dist --no-interaction --dev; fi
script:
- if [[ $coverage = 'yes' ]]; then vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
- if [[ $coverage = 'no' ]]; then vendor/bin/phpunit -c phpunit.xml --testdox; fi
after_script:
- if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi
matrix:
include:
- php: 7.1
env: setup=coveralls coverage=yes
allow_failures:
- env: setup=coveralls coverage=yes
fast_finish: true
| language: php
sudo: false
php:
- 7.1
- 7.2
- nightly
env:
global:
- coverage=no
matrix:
- setup=basic
- setup=lowest
- setup=stable
before_script:
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "php-coveralls/php-coveralls=^2.1" --prefer-dist --no-interaction --dev; fi
script:
- if [[ $coverage = 'yes' ]]; then vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
- if [[ $coverage = 'no' ]]; then vendor/bin/phpunit -c phpunit.xml --testdox; fi
after_script:
- if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi
matrix:
include:
- php: 7.1
env: setup=coveralls coverage=yes
allow_failures:
- env: setup=coveralls coverage=yes
fast_finish: true
|
Add OCaml 4.10 to the CI | language: c
sudo: required
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
env:
- OCAML_VERSION=4.02
- OCAML_VERSION=4.03
- OCAML_VERSION=4.04
- OCAML_VERSION=4.05
- OCAML_VERSION=4.06
- OCAML_VERSION=4.07
- OCAML_VERSION=4.08
- OCAML_VERSION=4.09
os:
- osx
- linux
| language: c
sudo: required
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
env:
- OCAML_VERSION=4.02
- OCAML_VERSION=4.03
- OCAML_VERSION=4.04
- OCAML_VERSION=4.05
- OCAML_VERSION=4.06
- OCAML_VERSION=4.07
- OCAML_VERSION=4.08
- OCAML_VERSION=4.09
- OCAML_VERSION=4.10
os:
- osx
- linux
|
Add oraclejdk7 to Travis CI. | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
sudo: false
jdk:
- openjdk7
- oraclejdk8
after_success:
- mvn clean cobertura:cobertura coveralls:report
| # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
sudo: false
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
after_success:
- mvn clean cobertura:cobertura coveralls:report
|
Use non-encrypted API key because pull requests are good. | language: python
python:
- '2.7'
- '3.3'
env:
global:
secure: |-
EGaBZsH4N0En+rJBbsv+D/Y6nSuvYcMcqEfgQE62iEgzt5wXLAto5vV0SfoK
uE1O+K3p5PSYeYL/z0z8jrloncTCY26bFB79p8cscZvD2aGZCdQgTHLW/inq
PYkqxArdjIUU4Pe6yxIIS4sZv0jHA/CcVQAGa4KwMDiaVQA5/Hc=
script: python setup.py run_tests -k $APIKEY
notifications:
email:
on_success: never
on_failure: always
irc:
channels:
- "chat.freenode.net#optf2"
template:
- "%{repository}/%{branch}#%{commit} by %{author}: %{message} - %{build_url}"
| language: python
python:
- '2.7'
- '3.3'
env:
global:
- APIKEY=NkExMzEzRDYzQ0EyRTA5NEJCQTJDMUY1N0IwNDk4QkQ=
script: python setup.py run_tests -k $(echo $APIKEY|base64 -d)
notifications:
email:
on_success: never
on_failure: always
irc:
channels:
- "chat.freenode.net#optf2"
template:
- "%{repository}/%{branch}#%{commit} by %{author}: %{message} - %{build_url}"
|
Drop testing old rubies on Travis | sudo: false
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.8
- 2.2.4
- 2.3.0
gemfile:
- Gemfile.activerecord40
- Gemfile.activerecord41
- Gemfile.activerecord42
- Gemfile.activerecord50
matrix:
exclude:
- rvm: 1.9.3
gemfile: Gemfile.activerecord50
- rvm: 2.0.0
gemfile: Gemfile.activerecord50
- rvm: 2.1.8
gemfile: Gemfile.activerecord50
allow_failures:
- gemfile: Gemfile.activerecord50
before_script:
- mysql -e 'create database database_validations;'
| sudo: false
language: ruby
cache: bundler
rvm:
- 2.1.8
- 2.2.4
- 2.3.0
gemfile:
- Gemfile.activerecord40
- Gemfile.activerecord41
- Gemfile.activerecord42
- Gemfile.activerecord50
matrix:
exclude:
- rvm: 2.1.8
gemfile: Gemfile.activerecord50
allow_failures:
- gemfile: Gemfile.activerecord50
before_script:
- mysql -e 'create database database_validations;'
|
Add NumPy versions to Travis CI | language: python
python:
- "3.2"
- "3.3"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran hdf5-tools libhdf5-serial-dev
- pip install cython
- pip install numpy
- pip install scipy
- pip install matplotlib
- pip install h5py
- pip install coverage coveralls
# command to run tests, e.g. python setup.py test
script: nosetests --with-coverage
# check coverage
after_success:
- coveralls | language: python
python:
- "3.2"
- "3.3"
env:
- NUMPYSPEC=
- NUMPYSPEC===1.8.0
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran hdf5-tools libhdf5-serial-dev
- pip install cython
- pip install numpy$NUMPYSPEC
- pip install scipy
- pip install matplotlib
- pip install h5py
- pip install coverage coveralls
# command to run tests, e.g. python setup.py test
script: nosetests --with-coverage
# check coverage
after_success:
- coveralls |
Add command to lint code according to PEP8 | language: python
python:
- "2.7"
env:
- PGVERSION=9.6
dist: trusty
sudo: required
cache: pip
before_install:
- chmod +x ./bin/travis-install-dependencies
- chmod +x ./bin/travis-run-tests
install: ./bin/travis-install-dependencies
script: ./bin/travis-run-tests
after_success: coveralls | language: python
python:
- "2.7"
env:
- PGVERSION=9.6
dist: trusty
sudo: required
cache: pip
before_install:
- chmod +x ./bin/travis-install-dependencies
- chmod +x ./bin/travis-run-tests
install: ./bin/travis-install-dependencies
script:
- ./bin/travis-run-tests
- pycodestyle --count
|
Add OpenJDK 12 to Travis build matrix | language: java
sudo: false
install: true
script: mvn -B clean install
jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
env:
- JAVA_OPTS="-Xmx3072M -Xms512M -XX:+UseG1GC"
| language: java
sudo: false
install: true
script: mvn -B clean install
jdk:
- openjdk8
- openjdk9
- openjdk10
- openjdk11
- openjdk12
env:
- JAVA_OPTS="-Xmx3072M -Xms512M -XX:+UseG1GC"
|
Install g++ 4.8 so that native compilation works in Node >= 4 | language: node_js
sudo: false
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
before_install:
# Log HTTP requests
- npm config set loglevel http
install:
- time npm install
| language: node_js
sudo: false
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
env:
global:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
# Log HTTP requests
- npm config set loglevel http
install:
- time npm install
|
Revert "Try to fix the path" | language: go
before_install:
apt-get install -y iputils-ping
go:
- 1.4
- 1.5
env:
- PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/home/travis/.gimme/versions/go1.4.linux.amd64/bin:/home/travis/gopath/bin AWS_ACCESS_KEY_ID=AKIAJRYDH3TP2D3WKRNQ AWS_SECRET_ACCESS_KEY=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
| language: go
before_install:
apt-get install -y iputils-ping
go:
- 1.4
- 1.5
env:
- AWS_ACCESS_KEY_ID=AKIAJRYDH3TP2D3WKRNQ AWS_SECRET_ACCESS_KEY=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
|
Update the Ruby build matrix for Travis CI. | sudo: false
cache: bundler
language: ruby
rvm:
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sleep 5"
| sudo: false
cache: bundler
language: ruby
rvm:
- 2.3.7
- 2.4.4
- 2.5.1
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sleep 5"
|
Test with python 3.7 and 3.8 | language: python
python:
- "3.6"
- "3.5"
- "3.4"
- "2.7"
install:
- "pip install six"
- "pip install mock"
- "pip install parserutils"
- "pip install frozendict"
- "pip install coveralls"
script:
coverage run --source=gis_metadata -m unittest gis_metadata.tests.tests
after_success:
coveralls | language: python
python:
- "3.8"
- "3.7"
- "3.6"
- "3.5"
- "2.7"
install:
- "pip install six"
- "pip install mock"
- "pip install parserutils"
- "pip install frozendict"
- "pip install coveralls"
script:
coverage run --source=gis_metadata -m unittest gis_metadata.tests.tests
after_success:
coveralls |
Configure CI to run on Node 12 | language: node_js
node_js:
- "6"
cache:
directories:
- node_modules
scripts:
- npm test
branches:
only:
- master
- /^greenkeeper/.*$/
| language: node_js
node_js:
- "12"
cache:
directories:
- node_modules
scripts:
- npm test
branches:
only:
- master
- /^greenkeeper/.*$/
|
Update Ruby versions on Travis CI | language: ruby
rvm:
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
- ruby-head
before_install:
- gem update --system
- gem install bundler -v 1.15.4
| language: ruby
rvm:
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- ruby-head
before_install:
- gem update --system
- gem install bundler -v 1.15.4
|
Add node 5 and io 3 | language: node_js
sudo: false
install:
- "npm install"
script:
- "gulp travis"
node_js:
- "0.10"
- "0.12"
- "4"
- "iojs-v1"
- "iojs-v2"
cache:
directories:
- 'node_modules'
| language: node_js
sudo: false
install:
- "npm install"
script:
- "gulp travis"
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "iojs-v1"
- "iojs-v2"
- "iojs-v3"
cache:
directories:
- 'node_modules'
|
Add CI for Python 3.6 | language: python
python:
- "3.5"
sudo: false
cache:
directories:
- $HOME/wheelhouse
before_install:
- export WHEELHOUSE=$HOME/wheelhouse
install:
- travis_retry pip install --upgrade pip
- travis_retry pip install setuptools==30.4.0
- travis_retry pip install wheel==0.26.0
- travis_retry pip install invoke==0.13.0
- travis_retry invoke wheelhouse --develop
- travis_retry invoke install --develop
env:
- MFR_CONFIG=./travis-config.json
script:
- invoke test
before_cache:
# force reinstall for reqs pulled from github repos
- rm -f $HOME/wheelhouse/xlrd-*.whl
- rm -f $HOME/wheelhouse/waterbutler-*.whl
- rm -f $HOME/wheelhouse/aiohttpretty-*.whl
notifications:
flowdock: 0221882cdda034c0e9ac2a0e766053dd
| language: python
python:
- "3.5"
- "3.6"
sudo: false
cache:
directories:
- $HOME/wheelhouse
before_install:
- export WHEELHOUSE=$HOME/wheelhouse
install:
- travis_retry pip install --upgrade pip
- travis_retry pip install setuptools==30.4.0
- travis_retry pip install wheel==0.26.0
- travis_retry pip install invoke==0.13.0
- travis_retry invoke wheelhouse --develop
- travis_retry invoke install --develop
env:
- MFR_CONFIG=./travis-config.json
script:
- invoke test
before_cache:
# force reinstall for reqs pulled from github repos
- rm -f $HOME/wheelhouse/xlrd-*.whl
- rm -f $HOME/wheelhouse/waterbutler-*.whl
- rm -f $HOME/wheelhouse/aiohttpretty-*.whl
notifications:
flowdock: 0221882cdda034c0e9ac2a0e766053dd
|
Allow OSX tests to fail due to Travis-CI issues. | sudo: false
os:
- linux
- osx
language: c
addons:
apt:
packages:
- curl
- wget
- shunit2
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shunit2; fi
before_script:
- rm -rf $HOME/.rvm $HOME/.rvmrc
- __rvm_unload
- export SHUNIT2="$(command -v shunit2 2>/dev/null)"
script: make test
| sudo: false
os:
- linux
- osx
jobs:
allow_failures:
- os: osx
language: c
addons:
apt:
packages:
- curl
- wget
- shunit2
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shunit2; fi
before_script:
- rm -rf $HOME/.rvm $HOME/.rvmrc
- __rvm_unload
- export SHUNIT2="$(command -v shunit2 2>/dev/null)"
script: make test
|
Add Ruby 2.7 for CI | language: ruby
rvm:
- 2.3
- 2.5
- 2.6
| language: ruby
rvm:
- 2.3
- 2.5
- 2.6
- 2.7
|
Test against 1.9.3 as well. | script: 'ci/travis.rb'
rvm:
- 1.8.7
- 1.9.2
env:
- "GEM=railties"
- "GEM=ap,am,amo,ares,as"
- "GEM=ar:mysql"
- "GEM=ar:mysql2"
- "GEM=ar:sqlite3"
notifications:
email: false
irc:
- "irc.freenode.org#rails-contrib" | script: 'ci/travis.rb'
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
env:
- "GEM=railties"
- "GEM=ap,am,amo,ares,as"
- "GEM=ar:mysql"
- "GEM=ar:mysql2"
- "GEM=ar:sqlite3"
notifications:
email: false
irc:
- "irc.freenode.org#rails-contrib" |
Add mongodb as a Travis service | language: ruby
bundler_args: --without=metrics
script: bundle exec rspec spec
gemfile:
- gemfiles/mongoid-3.1
- gemfiles/mongoid-4.0
rvm:
- '1.9.3'
- '2.2.0'
- jruby
- rbx-2
| language: ruby
bundler_args: --without=metrics
script: bundle exec rspec spec
gemfile:
- gemfiles/mongoid-3.1
- gemfiles/mongoid-4.0
rvm:
- '1.9.3'
- '2.2.0'
- jruby
- rbx-2
services:
- mongodb
|
Add check for missing migrations to CI | sudo: false
language: python
python:
- "2.7"
- "pypy"
cache:
directories:
- $HOME/.pip-cache/
install:
- pip install -e git+git://github.com/onaio/onapie.git#egg=onapie
- pip install --upgrade pip --cache-dir $HOME/.pip-cache/
- pip install coveralls --cache-dir $HOME/.pip-cache/
- pip install flake8 --cache-dir $HOME/.pip-cache/
- pip install -r requirements-dev.txt --cache-dir $HOME/.pip-cache/
- pip install -e . --cache-dir $HOME/.pip-cache/
script:
- flake8 malaria24
- py.test
after_success:
- coveralls
deploy:
provider: pypi
user: Praekelt
password:
# NOTE: See http://docs.travis-ci.com/user/encryption-keys/ for more info.
secure: "insert encrypted pypi password here"
on:
tags: true
all_branches: true
| sudo: false
language: python
python:
- "2.7"
- "pypy"
cache:
directories:
- $HOME/.pip-cache/
install:
- pip install -e git+git://github.com/onaio/onapie.git#egg=onapie
- pip install --upgrade pip --cache-dir $HOME/.pip-cache/
- pip install coveralls --cache-dir $HOME/.pip-cache/
- pip install flake8 --cache-dir $HOME/.pip-cache/
- pip install -r requirements-dev.txt --cache-dir $HOME/.pip-cache/
- pip install -e . --cache-dir $HOME/.pip-cache/
script:
- flake8 malaria24
# check for model changes not reflected in a migration
- python manage.py makemigrations --dry-run | grep 'No changes detected' || (echo 'There are changes which require migrations.' && exit 1)
- py.test
after_success:
- coveralls
deploy:
provider: pypi
user: Praekelt
password:
# NOTE: See http://docs.travis-ci.com/user/encryption-keys/ for more info.
secure: "insert encrypted pypi password here"
on:
tags: true
all_branches: true
|
Change to container infrastructure on Travis | language: java
notifications:
email: false
sudo: required
dist: trusty
script:
- ./gradlew check --info --stacktrace
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- lib/
jdk:
- oraclejdk8
| language: java
notifications:
email: false
sudo: false
script:
- ./gradlew check --info --stacktrace
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- lib/
jdk:
- oraclejdk8
|
Add Node.js 8 to test matrix | language: node_js
node_js:
- 4
- 6
script: npm test
| language: node_js
node_js:
- 4
- 6
- 8
script: npm test
|
Increase Travis timeout to 30 min | branches:
only:
- master
language: c++
os:
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./install-osx-dependencies.sh ; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then qmake -r -spec macx-clang CONFIG+=x86_64 CONFIG+=release ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make ; fi
| branches:
only:
- master
language: c++
os:
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 30 ./install-osx-dependencies.sh ; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then qmake -r -spec macx-clang CONFIG+=x86_64 CONFIG+=release ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make ; fi
|
Test with PHP 7.1 but allow build failures | language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
before_script: composer install
script: phpunit --coverage-text
| language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
allow_failures:
- php: 7.1
before_script: composer install
script: phpunit --coverage-text
|
Remove non-used mail from Malwine | language: ruby
rvm: 2.0.0
before_script:
- "bundle exec rake db:migrate"
script: "bundle exec rspec"
notifications:
email:
recipients:
- tobias.pfeiffer@student.hpi.uni-potsdam.de
- locokaja@gmail.com
- graphicdiaryberlin@gmail.com
- tils@tils.net
- mail@lislis.de
- rails-girls-berlin-project-group-tuesdays@googlegroups.com
| language: ruby
rvm: 2.0.0
before_script:
- "bundle exec rake db:migrate"
script: "bundle exec rspec"
notifications:
email:
recipients:
- tobias.pfeiffer@student.hpi.uni-potsdam.de
- locokaja@gmail.com
- tils@tils.net
- mail@lislis.de
- rails-girls-berlin-project-group-tuesdays@googlegroups.com
|
Remove 1.9 (doesn't exist yet, oops) | language: go
go:
- 1.7
- 1.8
- 1.9
- tip
| language: go
go:
- 1.7
- 1.8
- tip
|
Deploy to master instead of gh-pages branch | language: ruby
cache: bundler
install:
- bundle install
- npm install
script:
- "./build.sh"
deploy:
provider: pages
skip-cleanup: true
local-dir: _site
fqdn: newhaven.io
github-token: $DEPLOY_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: true
on:
branch: master
| language: ruby
cache: bundler
install:
- bundle install
- npm install
script:
- "./build.sh"
deploy:
provider: pages
skip-cleanup: true
local-dir: _site
fqdn: newhaven.io
github-token: $DEPLOY_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: true
target-branch: master
on:
branch: master
|
Use node 4.1 on Travis CI | language: node_js
node_js:
- "0.8"
before_install: npm install -g npm grunt-cli
install: npm install
before_script: grunt build | language: node_js
node_js:
- "4.1"
before_install: npm install -g grunt-cli
install: npm install
before_script: grunt build |
Use proper Cocoapods version in CI | language: objective-c
osx_image: xcode7
before_script:
- bundle install
script:
- xcodebuild -project Aardvark.xcodeproj -scheme Aardvark -sdk iphonesimulator -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build test
- xcodebuild -project Aardvark.xcodeproj -scheme "Aardvark-iOS" -sdk iphonesimulator -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build
- pod lib lint --verbose --fail-fast
| language: objective-c
osx_image: xcode7
before_script:
- bundle install
script:
- xcodebuild -project Aardvark.xcodeproj -scheme Aardvark -sdk iphonesimulator -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build test
- xcodebuild -project Aardvark.xcodeproj -scheme "Aardvark-iOS" -sdk iphonesimulator -configuration Debug -PBXBuildsContinueAfterErrors=0 ACTIVE_ARCH_ONLY=0 build
- bundle exec pod lib lint --verbose --fail-fast
|
Add PHP 7.2 to Travis testing matrix | language: php
matrix:
include:
# Use the newer stack for HHVM as HHVM does not support Precise anymore since a long time and so Precise has an outdated version
- php: hhvm-nightly
sudo: required
dist: trusty
group: edge
- php: 5.3
env: lowest=1
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
cache:
directories:
- $HOME/.cache/composer/files
install:
- if [ "$lowest" = "1" ]; then composer update --prefer-lowest --prefer-stable; else composer install; fi;
script:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover tests; else vendor/bin/phpunit; fi;'
after_script:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;'
| language: php
matrix:
include:
# Use the newer stack for HHVM as HHVM does not support Precise anymore since a long time and so Precise has an outdated version
- php: hhvm-nightly
sudo: required
dist: trusty
group: edge
- php: 5.3
env: lowest=1
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
cache:
directories:
- $HOME/.cache/composer/files
install:
- if [ "$lowest" = "1" ]; then composer update --prefer-lowest --prefer-stable; else composer install; fi;
script:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover tests; else vendor/bin/phpunit; fi;'
after_script:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;'
|
Update w/ compatible Ruby versions. | rvm:
- 1.9.3
- 1.9.2
- 2.0.0
- jruby-18mode
- jruby-19mode
- rbx-19mode
- jruby-head
- 1.8.7
- ree
| language: ruby
cache: bundler
rvm:
- 2.1.2
- 2.1.0
- 2.0.0
- 1.9.3
- rbx-2.2.10
- jruby-19mode
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
|
Update Travis to point to the new AppEngine sdk | language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
- openjdk6
install:
- wget https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.12.zip -nv
- unzip -q appengine-java-sdk-1.9.12.zip
script:
- APPENGINE_JAVA_SDK=../appengine-java-sdk-1.9.12 ant test
| language: java
jdk:
- oraclejdk7
- openjdk7
install:
- wget https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.14.zip -nv
- unzip -q appengine-java-sdk-1.9.12.zip
script:
- APPENGINE_JAVA_SDK=../appengine-java-sdk-1.9.12 ant test
|
Revert "Apparently no 5.22 on Travis yet" | language: perl
script: "prove -v -s t"
perl:
- "5.20"
- "5.10"
| language: perl
script: "prove -v -s t"
perl:
- "5.22"
- "5.20"
- "5.10"
|
Test containers with 'docker-compose up' in Travis CI | sudo: required
language: generic
services:
- docker
script:
- docker-compose build | sudo: required
language: generic
services:
- docker
script:
- docker-compose build
- docker-compose up |
Add caching and silent repo update | language: objective-c
matrix:
include:
- os: osx
osx_image: xcode7.3
env: SCHEME="BothamUIProject"
before_install:
- pod repo update
- brew install swiftlint
- os: osx
osx_image: xcode7.3
env: SCHEME="Example"
before_install:
- pod repo update
- brew install swiftlint
- os: osx
osx_image: xcode8
env: SCHEME="BothamUIProject"
- os: osx
osx_image: xcode8
env: SCHEME="Example"
before_script:
- gem install xcpretty
- gem install xcpretty-travis-formatter
script:
- swiftlint
- set -o pipefail && xcodebuild -workspace BothamUI.xcworkspace -scheme "$SCHEME" -destination 'platform=iOS Simulator,name=iPhone 6s Plus' build test CODE_SIGN_IDENTITY=- | xcpretty -f `xcpretty-travis-formatter`
| language: objective-c
cache: cocoapods
matrix:
include:
- os: osx
osx_image: xcode7.3
env: SCHEME="BothamUIProject"
before_install:
- pod repo update --silent
- brew install swiftlint
- os: osx
osx_image: xcode7.3
env: SCHEME="Example"
before_install:
- pod repo update --silent
- brew install swiftlint
- os: osx
osx_image: xcode8
env: SCHEME="BothamUIProject"
- os: osx
osx_image: xcode8
env: SCHEME="Example"
before_script:
- gem install xcpretty
- gem install xcpretty-travis-formatter
script:
- swiftlint
- set -o pipefail && xcodebuild -workspace BothamUI.xcworkspace -scheme "$SCHEME" -destination 'platform=iOS Simulator,name=iPhone 6s Plus' build test CODE_SIGN_IDENTITY=- | xcpretty -f `xcpretty-travis-formatter`
|
Add Ruby 2.2 and 2.4 to test matrix | language: ruby
script: bundle exec rake test
rvm:
- 2.5
gemfile:
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
- gemfiles/5.2.gemfile
| language: ruby
script: bundle exec rake test
rvm:
- 2.2
- 2.4
- 2.5
gemfile:
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
- gemfiles/5.2.gemfile
|
Test on 8; build before testing on CI | language: node_js
branches:
except:
- gh-pages
node_js:
- 4
- 6
- 7
script:
- yarn cover:schema
after_success:
- yarn cover:up
notifications:
email: false
| language: node_js
branches:
except:
- gh-pages
node_js:
- 4
- 6
- 7
- 8
before_script:
- yarn build
script:
- yarn cover:schema
after_success:
- yarn cover:up
notifications:
email: false
|
Use the default CocoaDocs background color. | # ThunderCats Pink: #E41A61
# ThunderCats Blue: #2BA5DE
# ThunderCats Black: #000000
highlight-font: '"GT Walsheim", "gt_walsheim_regular", "Avant Garde Gothic ITCW01Dm", "Avant Garde", "Helvetica Neue", "Arial" '
body: '"Helvetica Neue", "Arial", san-serif'
code: '"Monaco", "Menlo", "Consolas", "Courier New", monospace'
highlight-color: "#E41A61"
highlight-dark-color: "#2BA5DE"
darker-color: "#E41A61"
darker-dark-color: "#E41A61"
background-color: "#000000"
alt-link-color: "#2BA5DE"
warning-color: "#2BA5DE"
| # ThunderCats Pink: #E41A61
# ThunderCats Blue: #2BA5DE
# ThunderCats Black: #000000
highlight-font: '"GT Walsheim", "gt_walsheim_regular", "Avant Garde Gothic ITCW01Dm", "Avant Garde", "Helvetica Neue", "Arial" '
body: '"Helvetica Neue", "Arial", san-serif'
code: '"Monaco", "Menlo", "Consolas", "Courier New", monospace'
highlight-color: "#E41A61"
highlight-dark-color: "#2BA5DE"
darker-color: "#E41A61"
darker-dark-color: "#E41A61"
background-color: "#F2F2F2"
alt-link-color: "#2BA5DE"
warning-color: "#2BA5DE"
|
Remove SAST / DAST testing since it's never actionable and not worth the maintenence | variables:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ""
POSTGRES_HOST_AUTH_METHOD: 'trust'
# Set SAST testing version
SP_VERSION: 11-10-stable
stages:
- test
services:
- postgres:latest
cache:
key: "$CI_PROJECT_NAME"
paths:
- $HOME/.cache/pip
include:
- project: thelabnyc/gitlab-ci-templates
file: /ci/sast.gitlab-ci.yml
test_python37:
stage: test
tags:
- django-oscar
image: python:3.7
script:
- pip install tox
- tox -e 'py37-django{220,300}-drf{310,311}-oscar{21}'
test_python38:
stage: test
tags:
- django-oscar
image: python:3.8
script:
- pip install tox
- tox -e 'py38-django{220,300}-drf{310,311}-oscar{21}'
test_pypy3:
stage: test
tags:
- django-oscar
image: pypy:3
script:
- pip install tox
- tox -e 'pypy3-django{220,300}-drf{310,311}-oscar{21}'
| variables:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ""
POSTGRES_HOST_AUTH_METHOD: 'trust'
stages:
- test
services:
- postgres:latest
cache:
key: "$CI_PROJECT_NAME"
paths:
- $HOME/.cache/pip
test_python37:
stage: test
tags:
- django-oscar
image: python:3.7
script:
- pip install tox
- tox -e 'py37-django{220,300}-drf{310,311}-oscar{21}'
test_python38:
stage: test
tags:
- django-oscar
image: python:3.8
script:
- pip install tox
- tox -e 'py38-django{220,300}-drf{310,311}-oscar{21}'
test_pypy3:
stage: test
tags:
- django-oscar
image: pypy:3
script:
- pip install tox
- tox -e 'pypy3-django{220,300}-drf{310,311}-oscar{21}'
|
Fix up the pytest runner | language: python
python:
- "2.7"
# before the install
before_install:
- sudo apt-get install libblas-dev
- sudo apt-get install liblapack-dev
- sudo apt-get install gfortran
- sudo apt-get install libhdf5-serial-dev
- sudo apt-get install libcr-dev mpich2 mpich2-doc
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- travis_wait pip install pytest --use-mirrors -q
- travis_wait pip install pytest-cov --use-mirrors -q
- travis_wait pip install numpy --use-mirrors -q
- travis_wait pip install scipy --use-mirrors -q
- travis_wait pip install h5py --use-mirrors -q
- travis_wait pip install mpi4py --use-mirrors -q
- travis_wait pip install scikit-image --use-mirrors -q
- travis_wait pip install coveralls --use-mirrors -q
# command to run tests, e.g. python setup.py test
script:
py.test --cov coveralls --cov-report savu/test
after_success:
coveralls
| language: python
python:
- "2.7"
# before the install
before_install:
- sudo apt-get install libblas-dev
- sudo apt-get install liblapack-dev
- sudo apt-get install gfortran
- sudo apt-get install libhdf5-serial-dev
- sudo apt-get install libcr-dev mpich2 mpich2-doc
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- travis_wait pip install pytest --use-mirrors -q
- travis_wait pip install pytest-cov --use-mirrors -q
- travis_wait pip install numpy --use-mirrors -q
- travis_wait pip install scipy --use-mirrors -q
- travis_wait pip install h5py --use-mirrors -q
- travis_wait pip install mpi4py --use-mirrors -q
- travis_wait pip install scikit-image --use-mirrors -q
- travis_wait pip install coveralls --use-mirrors -q
# command to run tests, e.g. python setup.py test
script:
- py.test savu/test --cov coveralls --cov-report term-missing
after_success:
- coveralls
|
Stop testing in PHP 5 | language: php
php:
- 5.6
- 7.0
- 7.1
env:
- LARAVEL_VERSION=5.1.*
- LARAVEL_VERSION=5.2.*
- LARAVEL_VERSION=5.3.*
- LARAVEL_VERSION=5.4.*
cache:
directories:
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini
- travis_retry composer require --no-update "phpspec/phpspec:~3.0"
- travis_retry composer require --no-update "laravel/framework:${LARAVEL_VERSION}"
install:
- travis_retry composer update --prefer-stable --no-interaction --no-suggest
script:
- ./bin/phpspec run
| language: php
php:
- 7.0
- 7.1
env:
- LARAVEL_VERSION=5.1.*
- LARAVEL_VERSION=5.2.*
- LARAVEL_VERSION=5.3.*
- LARAVEL_VERSION=5.4.*
cache:
directories:
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini
- travis_retry composer require --no-update "laravel/framework:${LARAVEL_VERSION}"
install:
- travis_retry composer update --prefer-stable --no-interaction --no-suggest
script:
- ./bin/phpspec run
|
Add script section with "jekyll build" command | # Travis CI
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
- "iojs-v1.0.4"
sudo: false
git:
submodules: false
branches:
only:
- gh-pages
notifications:
email:
recipients:
- SuriyaaKudoIsc@users.noreply.github.com
on_success: change # default: change
on_failure: always # default: always
before_script:
- npm install
install:
- gem install travis-lint
- gem install jekyll
- gem install html-proofer
| # Travis CI
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
- "iojs-v1.0.4"
sudo: false
git:
submodules: false
branches:
only:
- gh-pages
notifications:
email:
recipients:
- SuriyaaKudoIsc@users.noreply.github.com
on_success: change # default: change
on_failure: always # default: always
before_script:
- npm install
install:
- gem install travis-lint
- gem install jekyll
- gem install html-proofer
script:
- jekyll build
|
Allow HHVM failures on Travis | language: php
php:
- 5.6
- 7
- hhvm
before_script:
- composer self-update
- composer install
script:
- mkdir -p build/cov build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/coveralls -v
| language: php
php:
- 5.6
- 7
- hhvm
before_script:
- composer self-update
- composer install
script:
- mkdir -p build/cov build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/coveralls -v
matrix:
allow_failures:
- php: hhvm
|
Install traitsui before running tests | language: python
python:
- 2.7
- 3.3
before_install:
# Set up for UI tests.
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- export ETS_TOOLKIT=qt4
- 'export LD_LIBRARY_PATH=`python -c "import os,nose; print(os.path.dirname(os.path.dirname(nose.__file__)))"`/PySide'
install:
- pip install wheel
# Basic dependencies
- pip install numpy
- pip install pygments
# PySide from a wheel
- git clone https://github.com/pradyun/travis-dependencies dependencies
- pip install -v -v -v --no-index --find-links=./dependencies PySide
# Test against the current master of traits
- pip install git+http://github.com/enthought/traits.git#egg=traits
- python setup.py build
- python setup.py develop
script:
- python setup.py nosetests
| language: python
python:
- 2.7
- 3.3
before_install:
# Set up for UI tests.
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- export ETS_TOOLKIT=qt4
- 'export LD_LIBRARY_PATH=`python -c "import os,nose; print(os.path.dirname(os.path.dirname(nose.__file__)))"`/PySide'
install:
- pip install wheel
# Basic dependencies
- pip install numpy
- pip install pygments
# PySide from a wheel
- git clone https://github.com/pradyun/travis-dependencies dependencies
- pip install -v -v -v --no-index --find-links=./dependencies PySide
# Test against the current master of traits
- pip install git+http://github.com/enthought/traits.git#egg=traits
- python setup.py build
- python setup.py develop
# TraitsUI is needed for some tests.
- pip install git+http://github.com/pradyun/traitsui.git@python3#egg=traitsui
script:
- python setup.py nosetests
|
Configure caching for Travis CI | language: java
script: mvn clean package -P strict
after_success:
- mvn jacoco:report coveralls:report
jdk:
- oraclejdk7
- oraclejdk8
branches:
only:
- master
sudo: false
| language: java
script: mvn clean package -P strict
after_success:
- mvn jacoco:report coveralls:report
jdk:
- oraclejdk7
- oraclejdk8
branches:
only:
- master
sudo: false
cache:
directories:
- $HOME/.m2
|
Change markdown from redcarpet to kramdown | name: Felipe Pelizaro Gentil
description: Soccer · Beer · Code
meta_description: "Your New Jekyll Site, Blogging about stuffs"
aboutPage: true
markdown: redcarpet
highlighter: pygments
paginate: 20
baseurl: /
domain_name: 'http://fpgentil.github.io'
google_analytics: 'UA-66102494-1'
disqus_shortname: 'your-disqus-shortname'
# Details for the RSS feed generator
url: 'http://fpgentil.github.io'
author: 'Felipe Pelizaro Gentil'
authorTwitter: 'fpgentil'
permalink: /:year/:title/
defaults:
-
scope:
path: "" # empty string for all files
type: pages
values:
layout: default
-
scope:
path: "" # empty string for all files
type: posts
values:
layout: post
| name: Felipe Pelizaro Gentil
description: Soccer · Beer · Code
meta_description: "Your New Jekyll Site, Blogging about stuffs"
aboutPage: true
markdown: kramdown
highlighter: pygments
paginate: 20
baseurl: /
domain_name: 'http://fpgentil.github.io'
google_analytics: 'UA-66102494-1'
disqus_shortname: 'your-disqus-shortname'
# Details for the RSS feed generator
url: 'http://fpgentil.github.io'
author: 'Felipe Pelizaro Gentil'
authorTwitter: 'fpgentil'
permalink: /:year/:title/
defaults:
-
scope:
path: "" # empty string for all files
type: pages
values:
layout: default
-
scope:
path: "" # empty string for all files
type: posts
values:
layout: post
|
Fix maintainer; add python lowerbound | {% set name = "prettymaps" %}
{% set version = "0.1.3" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/prettymaps-{{ version }}.tar.gz
sha256: b24fda33230865d406d07ebefa7f578ab0de305fac3a5c4b4512905ebf22a58d
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python
run:
- osmnx ==1.0.1
- python
- tabulate ==0.8.9
test:
imports:
- prettymaps
commands:
- pip check
requires:
- pip
about:
home: https://github.com/marceloprates/prettymaps
summary: A simple python library to draw pretty maps from OpenStreetMap data
license: AGPL-3.0-only
license_file: LICENSE
extra:
recipe-maintainers:
- thewhcan
| {% set name = "prettymaps" %}
{% set version = "0.1.3" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/prettymaps-{{ version }}.tar.gz
sha256: b24fda33230865d406d07ebefa7f578ab0de305fac3a5c4b4512905ebf22a58d
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.6
run:
- osmnx ==1.0.1
- python >=3.6
- tabulate ==0.8.9
test:
imports:
- prettymaps
commands:
- pip check
requires:
- pip
about:
home: https://github.com/marceloprates/prettymaps
summary: A simple python library to draw pretty maps from OpenStreetMap data
license: AGPL-3.0-only
license_file: LICENSE
extra:
recipe-maintainers:
- thewchan
|
Remove testing for multiple platforms. | name: CI
on:
push:
branches:
- master
- 'v*' # older version branches
tags:
- '*'
pull_request: {}
schedule:
- cron: '0 6 * * 0' # weekly, on sundays
jobs:
test:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['10', '12', '14', '15']
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- uses: volta-cli/action@v1
with:
node-version: ${{ matrix.node }}
- name: install dependencies
run: yarn
- name: lint
run: yarn lint
- name: test
run: yarn test
| name: CI
on:
push:
branches:
- master
- 'v*' # older version branches
tags:
- '*'
pull_request: {}
schedule:
- cron: '0 6 * * 0' # weekly, on sundays
jobs:
test:
name: Tests
runs-on: 'ubuntu-latest'
strategy:
matrix:
node: ['10', '12', '14', '15']
steps:
- uses: actions/checkout@v1
- uses: volta-cli/action@v1
with:
node-version: ${{ matrix.node }}
- name: install dependencies
run: yarn
- name: lint
run: yarn lint
- name: test
run: yarn test
|
Test with Java 8 on VS 2015 image (latter was AppVeyor default) | version: '{build}'
image: Visual Studio 2013
clone_depth: 50
environment:
JAVA_HOME: "C:\\Program Files\\Java\\jdk9"
MVN_VER: 3.6.0
PYTHON: "C:\\Python35"
cache:
- C:\Users\appveyor\apache-maven-%MVN_VER% -> appveyor.yml
- C:\Users\appveyor\.m2 -> pom.xml
install:
- if not exist C:\Users\appveyor\apache-maven-%MVN_VER% (
curl -LsS "http://www.apache.org/dyn/closer.cgi?action=download&filename=maven/maven-3/%MVN_VER%/binaries/apache-maven-%MVN_VER%-bin.zip" > apache-maven.zip &&
unzip apache-maven.zip -d C:\Users\appveyor
)
- SET PATH=%PYTHON%;%PYTHON%\\Scripts;C:\Users\appveyor\apache-maven-%MVN_VER%\bin;%PATH%
- pip install codecov
build_script:
- mvn -V -B --settings .travis-settings.xml -e verify
- codecov -X gcov -f target/site/jacoco/jacoco.xml
notifications:
- provider: Email
to:
- ben.alex@acegi.com.au
- stoffe@gmail.com
on_build_success: false
| version: '{build}'
image: Visual Studio 2015
clone_depth: 50
environment:
JAVA_HOME: "C:\\Program Files\\Java\\jdk1.8.0"
MVN_VER: 3.6.0
PYTHON: "C:\\Python35"
cache:
- C:\Users\appveyor\apache-maven-%MVN_VER% -> appveyor.yml
- C:\Users\appveyor\.m2 -> pom.xml
install:
- if not exist C:\Users\appveyor\apache-maven-%MVN_VER% (
curl -LsS "http://www.apache.org/dyn/closer.cgi?action=download&filename=maven/maven-3/%MVN_VER%/binaries/apache-maven-%MVN_VER%-bin.zip" > apache-maven.zip &&
unzip apache-maven.zip -d C:\Users\appveyor
)
- SET PATH=%PYTHON%;%PYTHON%\\Scripts;C:\Users\appveyor\apache-maven-%MVN_VER%\bin;%PATH%
- pip install codecov
build_script:
- mvn -V -B --settings .travis-settings.xml -e verify
- codecov -X gcov -f target/site/jacoco/jacoco.xml
notifications:
- provider: Email
to:
- ben.alex@acegi.com.au
- stoffe@gmail.com
on_build_success: false
|
Remove invalid build matrix entry | environment:
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python35-x64"
- nodejs_version: "5"
install:
- ps: Install-Product node $env:nodejs_version
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- npm install
before_test:
- "%PYTHON%\\python.exe -m pip install jupyter"
test_script:
- node --version
- npm --version
- npm test
build: off
| environment:
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python35-x64"
install:
- ps: Install-Product node 6
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- npm install
before_test:
- "%PYTHON%\\python.exe -m pip install jupyter"
test_script:
- node --version
- npm --version
- npm test
build: off
|
Add goawk.exe as AppVeyor artifact | clone_folder: c:\gopath\src\github.com\benhoyt\goawk
environment:
GOPATH: c:\gopath
install:
- go version
- gawk --version
build_script:
- go build
test_script:
- go test ./...
- git diff
| clone_folder: c:\gopath\src\github.com\benhoyt\goawk
environment:
GOPATH: c:\gopath
install:
- go version
- gawk --version
build_script:
- go build
test_script:
- go test ./...
- git diff
artifacts:
- path: goawk.exe
|
Update from Hackage at 2015-12-18T01:36:02+0000 | homepage: http://github.com/swift-nav/gnss-converters
changelog-type: ''
hash: e41bd49a82f2fcc1e76a54dc72aab4c98dd5ba96f8638dd3198d6403f7f29354
test-bench-deps:
base: -any
basic-prelude: -any
criterion: -any
gnss-converters: -any
tasty-hunit: -any
tasty: -any
maintainer: Mark Fine <dev@swiftnav.com>
synopsis: GNSS Converters.
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
basic-prelude: -any
rtcm: -any
conduit: -any
conduit-extra: -any
sbp: -any
lens: -any
binary-conduit: -any
gnss-converters: -any
resourcet: -any
all-versions:
- '0.1.0'
- '0.1.1'
author: Swift Navigation Inc.
latest: '0.1.1'
description-type: haddock
description: Haskell bindings for GNSS converters.
license-name: BSD3
| homepage: http://github.com/swift-nav/gnss-converters
changelog-type: ''
hash: 8f708a531c5e7a71d7ab4b74a28248f7a1ce78f6fc45aa0144339c514993c505
test-bench-deps:
base: -any
basic-prelude: -any
criterion: -any
gnss-converters: -any
tasty-hunit: -any
tasty: -any
maintainer: Mark Fine <dev@swiftnav.com>
synopsis: GNSS Converters.
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
basic-prelude: -any
rtcm: -any
conduit: -any
conduit-extra: -any
sbp: -any
lens: -any
binary-conduit: -any
gnss-converters: -any
resourcet: -any
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
author: Swift Navigation Inc.
latest: '0.1.2'
description-type: haddock
description: Haskell bindings for GNSS converters.
license-name: BSD3
|
Update Horizon 2020 homepage URL, add alias and TNA timestamp | ---
site: innovateuk_h2020
whitehall_slug: innovate-uk
homepage: https://www.gov.uk/government/organisations/innovate-uk
tna_timestamp: 20201010101010 # Stub timestamp - site is not in TNA
host: www.h2020uk.org
aliases:
- h2020uk.org
# options: No query string analysis yet.
| ---
site: innovateuk_h2020
whitehall_slug: innovate-uk
homepage: https://www.gov.uk/horizon-2020
tna_timestamp: 20150825091359
host: www.h2020uk.org
aliases:
- h2020uk.org
- h2020uk.org.uk
|
Update main localproxy to point at ES 2.4 machines | ---
govuk_elasticsearch::local_proxy::servers:
- 'api-elasticsearch-1.api'
- 'api-elasticsearch-2.api'
- 'api-elasticsearch-3.api'
govuk_elasticsearch::rummager_local_proxy::servers:
- 'rummager-elasticsearch-1.api'
- 'rummager-elasticsearch-2.api'
- 'rummager-elasticsearch-3.api'
govuk_elasticsearch::rummager_local_proxy::remote_port: 9200
govuk::node::s_base::apps:
- rummager
lv:
data:
pv: '/dev/sdb1'
vg: 'vhost'
mount:
/data/vhost:
disk: '/dev/mapper/vhost-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
| ---
govuk_elasticsearch::local_proxy::servers:
- 'rummager-elasticsearch-1.api'
- 'rummager-elasticsearch-2.api'
- 'rummager-elasticsearch-3.api'
govuk_elasticsearch::rummager_local_proxy::servers:
- 'rummager-elasticsearch-1.api'
- 'rummager-elasticsearch-2.api'
- 'rummager-elasticsearch-3.api'
govuk_elasticsearch::rummager_local_proxy::remote_port: 9200
govuk::node::s_base::apps:
- rummager
lv:
data:
pv: '/dev/sdb1'
vg: 'vhost'
mount:
/data/vhost:
disk: '/dev/mapper/vhost-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
|
Update from Hackage at 2016-03-14T03:40:36+0000 | homepage: https://github.com/NICTA/digit
changelog-type: ''
hash: 6fcf22443ce71511e32530de4c9c932a7ec23184e7d26820c46f5c34257ea5a4
test-bench-deps:
base: <5 && >=4.8
filepath: ! '>=1.3'
doctest: ! '>=0.9.7'
QuickCheck: ! '>=2.0'
template-haskell: ! '>=2.8'
directory: ! '>=1.1'
maintainer: Tony Morris
synopsis: A data-type representing digits 0-9 and other combinations
changelog: ''
basic-deps:
base: <5 && >=4.8
lens: ! '>=4.3.3 && <5.0'
template-haskell: ! '>=2.8'
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
- '0.2.0'
author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
latest: '0.2.0'
description-type: haddock
description: ! '<<http://i.imgur.com/Ns5hntl.jpg>>
@Digit@ is a data-type that represents the digits 0-9 and other combinations.'
license-name: BSD3
| homepage: https://github.com/NICTA/digit
changelog-type: ''
hash: 96fc88f1348e2ac4de4ec8f0a46bd5606440fb07cf18715125fd5267ead6ff29
test-bench-deps:
base: <5 && >=4.8
filepath: ! '>=1.3'
doctest: ! '>=0.9.7'
QuickCheck: ! '>=2.0'
template-haskell: ! '>=2.8'
directory: ! '>=1.1'
maintainer: Tony Morris
synopsis: A data-type representing digits 0-9 and other combinations
changelog: ''
basic-deps:
base: <5 && >=4.8
parsers: ! '>=0.12.3 && <0.13'
lens: ! '>=4.3.3 && <5.0'
template-haskell: ! '>=2.8'
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
- '0.2.0'
- '0.2.1'
author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
latest: '0.2.1'
description-type: haddock
description: ! '<<http://i.imgur.com/Ns5hntl.jpg>>
@Digit@ is a data-type that represents the digits 0-9 and other combinations.'
license-name: BSD3
|
Update from Hackage at 2017-08-09T15:48:16Z | homepage: http://ivorylang.org
changelog-type: ''
hash: ee5cc42275279d67f2f7c8335b1f2fd399298a57f3e6a2bb5756d10a77c24980
test-bench-deps: {}
maintainer: trevor@galois.com, leepike@galois.com
synopsis: Safe embedded C programming.
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
text: -any
filepath: -any
dlist: ! '>=0.5'
monadLib: ! '>=3.7'
array: -any
containers: ! '>=0.5'
base-compat: -any
th-lift: ! '>=0.5.5'
pretty: ! '>=1.1'
template-haskell: ! '>=2.8'
all-versions:
- '0.1.0.0'
- '0.1.0.3'
- '0.1.0.4'
- '0.1.0.5'
- '0.1.0.6'
author: Galois, Inc.
latest: '0.1.0.6'
description-type: haddock
description: Using GHC type-system extensions, enforces safe low-level programming,
while maintaining expressiveness.
license-name: BSD3
| homepage: http://ivorylang.org
changelog-type: ''
hash: 3e9b4fa420fdf9021e34a8fb862a03e83ad0dc5d2bca952d116350cd8413576f
test-bench-deps: {}
maintainer: trevor@galois.com, leepike@galois.com
synopsis: Safe embedded C programming.
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
text: -any
filepath: -any
dlist: ! '>=0.5'
monadLib: ! '>=3.7'
array: -any
containers: ! '>=0.5'
base-compat: -any
th-lift: ! '>=0.5.5'
pretty: ! '>=1.1'
template-haskell: ! '>=2.8 && <2.12'
all-versions:
- '0.1.0.0'
- '0.1.0.3'
- '0.1.0.4'
- '0.1.0.5'
- '0.1.0.6'
author: Galois, Inc.
latest: '0.1.0.6'
description-type: haddock
description: Using GHC type-system extensions, enforces safe low-level programming,
while maintaining expressiveness.
license-name: BSD3
|
Add env file for api | version: '2.0'
services:
api:
build: ./src/api
ports:
- "80:8080"
volumes:
- ./src/api:/usr/src/app/
links:
- redis
depends_on:
- redis
workers:
build: ./src/workers
volumes:
- ./src/workers:/usr/src/app/
env_file: ./src/workers/.env
links:
- redis
depends_on:
- redis
redis:
image: redis
ports:
- "6379:6379"
| version: '2.0'
services:
api:
build: ./src/api
ports:
- "80:8080"
volumes:
- ./src/api:/usr/src/app/
env_file: ./src/api/.env
links:
- redis
depends_on:
- redis
workers:
build: ./src/workers
volumes:
- ./src/workers:/usr/src/app/
env_file: ./src/workers/.env
links:
- redis
depends_on:
- redis
redis:
image: redis
ports:
- "6379:6379"
|
Add external cache for pipenv | version: '3'
services:
shell:
build: .
image: eemeter_shell
stdin_open: true
tty: true
entrypoint: /bin/sh
volumes:
- .:/app
- /app/tests/__pycache__/
docs:
image: eemeter_shell
ports:
- "${HOST_PORT_DOCS:-8000}:8000"
entrypoint: make -C docs livehtml
volumes:
- .:/app
- /app/tests/__pycache__/
test:
image: eemeter_shell
entrypoint: py.test -n0
volumes:
- .:/app
- /app/tests/__pycache__/
jupyter:
image: eemeter_shell
ports:
- "${HOST_PORT_JUPYTER:-8888}:${HOST_PORT_JUPYTER:-8888}"
entrypoint: |
jupyter lab scripts/ --ip=0.0.0.0 --port=${HOST_PORT_JUPYTER:-8888} --allow-root --no-browser
volumes:
- .:/app
- /app/tests/__pycache__/
pipenv:
image: eemeter_shell
entrypoint: pipenv
volumes:
- .:/app
blacken:
image: eemeter_shell
entrypoint: black .
volumes:
- .:/app
| version: '3'
services:
shell:
build: .
image: eemeter_shell
stdin_open: true
tty: true
entrypoint: /bin/sh
volumes:
- .:/app
- /app/tests/__pycache__/
docs:
image: eemeter_shell
ports:
- "${HOST_PORT_DOCS:-8000}:8000"
entrypoint: make -C docs livehtml
volumes:
- .:/app
- /app/tests/__pycache__/
test:
image: eemeter_shell
entrypoint: py.test -n0
volumes:
- .:/app
- /app/tests/__pycache__/
jupyter:
image: eemeter_shell
ports:
- "${HOST_PORT_JUPYTER:-8888}:${HOST_PORT_JUPYTER:-8888}"
entrypoint: |
jupyter lab scripts/ --ip=0.0.0.0 --port=${HOST_PORT_JUPYTER:-8888} --allow-root --no-browser
volumes:
- .:/app
- /app/tests/__pycache__/
pipenv:
image: eemeter_shell
entrypoint: pipenv
environment:
- PIPENV_CACHE_DIR=/app/.docker-pipenv-cache # if you get weird caching behavior remove this dir
volumes:
- .:/app
blacken:
image: eemeter_shell
entrypoint: black .
volumes:
- .:/app
|
Add proper license and resolve the lint warning | {% set name = "Flask-Fixtures" %}
{% set version = "0.3.8" %}
{% set sha256 = "2b8191f995896c0dee384b18b0ee236ab636b921856636c9ff1429c1ad10cb8b" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python
- pip
run:
- python
- Flask
- Flask-SQLAlchemy
- six
test:
imports:
- flask_fixtures
about:
home: https://github.com/croach/Flask-Fixtures
license: Apache Software License
license_file: LICENSE
summary: 'A simple library that allows you to add database fixtures for your unit tests using nothing but JSON or YAML.'
doc_url: https://pypi.org/project/Flask-Fixtures/#description
dev_url: https://github.com/croach/Flask-Fixtures
extra:
recipe-maintainers:
- VidyaKamath
| {% set name = "Flask-Fixtures" %}
{% set version = "0.3.8" %}
{% set sha256 = "2b8191f995896c0dee384b18b0ee236ab636b921856636c9ff1429c1ad10cb8b" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python
- pip
run:
- python
- Flask
- Flask-SQLAlchemy
- six
test:
imports:
- flask_fixtures
about:
home: https://github.com/croach/Flask-Fixtures
license: MIT
license_family: MIT
license_file: LICENSE
summary: 'A simple library that allows you to add database fixtures for your unit tests using nothing but JSON or YAML.'
doc_url: https://pypi.org/project/Flask-Fixtures/#description
dev_url: https://github.com/croach/Flask-Fixtures
extra:
recipe-maintainers:
- VidyaKamath
|
Remove optional gdb and lldb dependencies and corresponding tests. | {% set version = "1.18.0" %}
package:
name: rust
version: {{ version }}
source:
fn: rust-{{ version }}.tar.gz
url: https://static.rust-lang.org/dist/rustc-{{ version }}-src.tar.gz
sha256: d2dc36e99b9e2269488b2bcddde43c234e6bde03edf70cba82a027ff49c36111
build:
number: 0
skip: true # [win]
requirements:
build:
- llvmdev 3.9.*
- toolchain
- python 2.7*
- cmake
- openssl
- curl
run:
- openssl
- gdb
test:
commands:
- rustc --help
- rustdoc --help
- cargo --help
- rust-gdb --help
- rust-lldb --help
about:
home: https://www.rust-lang.org
license: MIT
summary: |
Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.
This package provides the compiler (rustc) and the documentation utilities rustdoc.
dev_url: https://doc.rust-lang.org/std/
doc_url: https://www.rust-lang.org/en-US/documentation.html
extra:
recipe-maintainers:
- johanneskoester
| {% set version = "1.18.0" %}
package:
name: rust
version: {{ version }}
source:
fn: rust-{{ version }}.tar.gz
url: https://static.rust-lang.org/dist/rustc-{{ version }}-src.tar.gz
sha256: d2dc36e99b9e2269488b2bcddde43c234e6bde03edf70cba82a027ff49c36111
build:
number: 0
skip: true # [win]
requirements:
build:
- llvmdev 3.9.*
- toolchain
- python 2.7*
- cmake
- openssl
- curl
run:
- openssl
test:
commands:
- rustc --help
- rustdoc --help
- cargo --help
about:
home: https://www.rust-lang.org
license: MIT
summary: |
Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.
This package provides the compiler (rustc) and the documentation utilities rustdoc.
dev_url: https://doc.rust-lang.org/std/
doc_url: https://www.rust-lang.org/en-US/documentation.html
extra:
recipe-maintainers:
- johanneskoester
|
Add node version 4.3.2 to Travis config | sudo: false
language: node_js
node_js:
- 'stable'
- '0.10.36' # Version of Node used in AWS Lambda: http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html
| sudo: false
language: node_js
node_js:
- 'stable'
- '4.3.2' # Version of Node used in AWS Lambda: http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html
- '0.10.36' # Version of Node used in AWS Lambda: http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html
|
Use instance availability zone for AWS EBS | apiVersion: v1
kind: Pod
metadata:
name: aws-web
spec:
containers:
- name: web
image: nginx
ports:
- name: web
containerPort: 80
protocol: tcp
volumeMounts:
- name: html-volume
mountPath: "/usr/share/nginx/html"
volumes:
- name: html-volume
awsElasticBlockStore:
# Enter the volume region and ID below
volumeID: aws://{region}/{volume ID}
fsType: ext4
| apiVersion: v1
kind: Pod
metadata:
name: aws-web
spec:
containers:
- name: web
image: nginx
ports:
- name: web
containerPort: 80
protocol: tcp
volumeMounts:
- name: html-volume
mountPath: "/usr/share/nginx/html"
volumes:
- name: html-volume
awsElasticBlockStore:
# Enter the volume ID below
volumeID: volume_ID
fsType: ext4
|
Update Snapdrop to 1.8.0 (14) | AntiFeatures:
- NonFreeNet
Categories:
- Connectivity
- System
License: GPL-3.0-only
AuthorName: fm-sys
SourceCode: https://github.com/fm-sys/snapdrop-android
IssueTracker: https://github.com/fm-sys/snapdrop-android/issues
Translation: https://crowdin.com/project/snapdrop-android
Changelog: https://github.com/fm-sys/snapdrop-android/releases
AutoName: Snapdrop
RepoType: git
Repo: https://github.com/fm-sys/snapdrop-android
Builds:
- versionName: 1.7.0
versionCode: 12
commit: v1.7.0
subdir: app
gradle:
- yes
- versionName: 1.7.1
versionCode: 13
commit: d7b62c66589084aa44a0c6449f9fda6539712fdb
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.7.1
CurrentVersionCode: 13
| AntiFeatures:
- NonFreeNet
Categories:
- Connectivity
- System
License: GPL-3.0-only
AuthorName: fm-sys
SourceCode: https://github.com/fm-sys/snapdrop-android
IssueTracker: https://github.com/fm-sys/snapdrop-android/issues
Translation: https://crowdin.com/project/snapdrop-android
Changelog: https://github.com/fm-sys/snapdrop-android/releases
AutoName: Snapdrop
RepoType: git
Repo: https://github.com/fm-sys/snapdrop-android
Builds:
- versionName: 1.7.0
versionCode: 12
commit: v1.7.0
subdir: app
gradle:
- yes
- versionName: 1.7.1
versionCode: 13
commit: d7b62c66589084aa44a0c6449f9fda6539712fdb
subdir: app
gradle:
- yes
- versionName: 1.8.0
versionCode: 14
commit: 05b063eb73ade02994135c959f56782e1f8c3669
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.8.0
CurrentVersionCode: 14
|
Update AVNC to 1.1.0 (3) | Categories:
- Connectivity
- Internet
- System
License: GPL-3.0-or-later
AuthorName: Gaurav Ujjwal
AuthorEmail: avnc.help@gmail.com
SourceCode: https://github.com/gujjwal00/avnc
IssueTracker: https://github.com/gujjwal00/avnc/issues
AutoName: AVNC
RepoType: git
Repo: https://github.com/gujjwal00/avnc.git
Builds:
- versionName: 1.0.0
versionCode: 1
commit: v1.0.0
subdir: app
submodules: true
gradle:
- yes
ndk: r21b
- versionName: 1.0.1
versionCode: 2
commit: 69dec7ed78d0f2ed839ebeba145ba8ae78a70488
subdir: app
submodules: true
gradle:
- yes
ndk: r21b
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.1
CurrentVersionCode: 2
| Categories:
- Connectivity
- Internet
- System
License: GPL-3.0-or-later
AuthorName: Gaurav Ujjwal
AuthorEmail: avnc.help@gmail.com
SourceCode: https://github.com/gujjwal00/avnc
IssueTracker: https://github.com/gujjwal00/avnc/issues
AutoName: AVNC
RepoType: git
Repo: https://github.com/gujjwal00/avnc.git
Builds:
- versionName: 1.0.0
versionCode: 1
commit: v1.0.0
subdir: app
submodules: true
gradle:
- yes
ndk: r21b
- versionName: 1.0.1
versionCode: 2
commit: 69dec7ed78d0f2ed839ebeba145ba8ae78a70488
subdir: app
submodules: true
gradle:
- yes
ndk: r21b
- versionName: 1.1.0
versionCode: 3
commit: 515d4a2606bd5704e7606655ae2d9b2306f2aec7
subdir: app
submodules: true
gradle:
- yes
ndk: r21b
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.1.0
CurrentVersionCode: 3
|
Revert "Revert "Bump up the memory"" | ---
applications:
- services:
- myMicroservicesCloudant
name: MicroservicesCatalogAPI
buildpack: sdk-for-nodejs
memory: 128m
instances: 1
path: .
| ---
applications:
- services:
- myMicroservicesCloudant
name: MicroservicesCatalogAPI
buildpack: sdk-for-nodejs
memory: 128g
instances: 1
path: .
|
Extend timeout to download OSP pre-build images to 60s | ---
- name: download the pre-built overcloud images
get_url:
dest: "~/{{ item }}"
url: "{{ installer.images.url }}/{{ item }}"
with_items: "{{ tar_images }}"
- name: untar the images
unarchive:
src: "~/{{ item }}"
dest: "~/"
copy: "no"
with_items: "{{ tar_images }}"
| ---
- name: download the pre-built overcloud images
get_url:
dest: "~/{{ item }}"
url: "{{ installer.images.url }}/{{ item }}"
timeout: 60
with_items: "{{ tar_images }}"
- name: untar the images
unarchive:
src: "~/{{ item }}"
dest: "~/"
copy: "no"
with_items: "{{ tar_images }}"
|
Add name to license check. | ---
- fail: msg="License key is not set."
when: newrelic_sysmond_license_key is none
- include: RedHat-install.yml
when: ansible_os_family == "RedHat"
- include: Debian-install.yml
when: ansible_os_family == "Debian"
- include: configure.yml
- include: service.yml
| ---
- name: New Relic sysmond | Check for license key
fail: msg="License key is not set."
when: newrelic_sysmond_license_key is none
- include: RedHat-install.yml
when: ansible_os_family == "RedHat"
- include: Debian-install.yml
when: ansible_os_family == "Debian"
- include: configure.yml
- include: service.yml
|
Add git user details for npm version commits | # This workflow will run tests using node and then publish a package to GitHub Packages when a milestone is closed
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
milestone:
types: [closed]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci
- run: npm test
update-version:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm version ${{ github.event.milestone.title }}
- run: git push && git push --tags
publish-npm:
needs: update-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
| # This workflow will run tests using node and then publish a package to GitHub Packages when a milestone is closed
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
milestone:
types: [closed]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci
- run: npm test
update-version:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
npm version ${{ github.event.milestone.title }}
git push && git push --tags
publish-npm:
needs: update-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
Remove PIP request then upgrade PIP and Ansible | ---
- name: Get ideascube version
shell: dpkg-query -W ideascube | awk '{print $2}' ; echo
register: ideascube_version
- name: Save Ideascube version number
ini_file: dest=/etc/ansible/facts.d/installed_software.fact
section=software
option=ideascube
value={{ ideascube_version.stdout }}
- name: Get kalite version
shell: kalite --version ; echo
register: kalite_version
- name: Save kalite version number
ini_file: dest=/etc/ansible/facts.d/installed_software.fact
section=software
option=kalite
value={{ kalite_version.stdout }}
- name: Create entry to clone/pull git repository
copy: src=../../network-manager/files/nm-dispatcher dest=/etc/NetworkManager/dispatcher.d/ansiblePullUpdate
owner=root group=root mode=0755 backup=yes force=yes
- name: remove old way of lunching ansible-pull
file: path=/etc/dhcp/dhclient-exit-hooks.d/ansiblePullUpdate state=absent
- name: Reboot device
command: reboot | ---
- name: Get ideascube version
shell: dpkg-query -W ideascube | awk '{print $2}' ; echo
register: ideascube_version
- name: Save Ideascube version number
ini_file: dest=/etc/ansible/facts.d/installed_software.fact
section=software
option=ideascube
value={{ ideascube_version.stdout }}
- name: Get kalite version
shell: kalite --version ; echo
register: kalite_version
- name: Save kalite version number
ini_file: dest=/etc/ansible/facts.d/installed_software.fact
section=software
option=kalite
value={{ kalite_version.stdout }}
- name: Create entry to clone/pull git repository
copy: src=../../network-manager/files/nm-dispatcher dest=/etc/NetworkManager/dispatcher.d/ansiblePullUpdate
owner=root group=root mode=0755 backup=yes force=yes
- name: remove old way of lunching ansible-pull
file: path=/etc/dhcp/dhclient-exit-hooks.d/ansiblePullUpdate state=absent
- name: Fix broken PIP
command: mv /usr/local/lib/python2.7/dist-packages/requests /usr/local/lib/python2.7/dist-packages/requests.old/
- name: Upgrade Pip & Ansible
pip: name={{item}} state=latest extra_args="--no-cache-dir"
with_items:
- pip
- ansible
- name: Reboot device
command: reboot |
Disable CI for Windows until we have investigated the problem. | name: Windows CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Check out
uses: actions/checkout@v2
- name: Save git commit SHA
run: echo ::set-env name=GITHUB_SHA::%GITHUB_SHA%
shell: cmd
- name: Install Scoop
run: |
iwr -useb get.scoop.sh | iex
echo "::add-path::~\scoop\shims"
echo "::add-path::C:\ProgramData\scoop\shims"
- name: Install Stack
run: scoop install stack
- uses: actions/cache@v1
name: Cache stack dependencies
with:
path: C:\\Users\\runneradmin\\AppData\\Local\\Programs\\stack
key: ${{ runner.os }}-stack-deps-${{ env.GITHUB_SHA }}
restore-keys: ${{ runner.os }}-stack-deps
- uses: actions/cache@v1
name: Cache stack build
with:
path: C:\\Users\\runneradmin\\AppData\\Roaming\\stack\
key: ${{ runner.os }}-stack-build-${{ env.GITHUB_SHA }}
restore-keys: ${{ runner.os }}-stack-build
- name: Install Clang
run: scoop install llvm --global
- name: Build
run: stack build
- name: Run Compiler Tests
run: stack test
- name: Run Carp Tests
run: ./run_carp_tests.ps1
| name: Windows CI
# on:
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Check out
uses: actions/checkout@v2
- name: Save git commit SHA
run: echo ::set-env name=GITHUB_SHA::%GITHUB_SHA%
shell: cmd
- name: Install Scoop
run: |
iwr -useb get.scoop.sh | iex
echo "::add-path::~\scoop\shims"
echo "::add-path::C:\ProgramData\scoop\shims"
- name: Install Stack
run: scoop install stack
- uses: actions/cache@v1
name: Cache stack dependencies
with:
path: C:\\Users\\runneradmin\\AppData\\Local\\Programs\\stack
key: ${{ runner.os }}-stack-deps-${{ env.GITHUB_SHA }}
restore-keys: ${{ runner.os }}-stack-deps
- uses: actions/cache@v1
name: Cache stack build
with:
path: C:\\Users\\runneradmin\\AppData\\Roaming\\stack\
key: ${{ runner.os }}-stack-build-${{ env.GITHUB_SHA }}
restore-keys: ${{ runner.os }}-stack-build
- name: Install Clang
run: scoop install llvm --global
- name: Build
run: stack build
- name: Run Compiler Tests
run: stack test
- name: Run Carp Tests
run: ./run_carp_tests.ps1
|
Update default Docker image to use PHP 7.3 | version: '2'
services:
yang-php:
container_name: yang-php
image: php:7.1-cli
volumes:
- .:/var/www
command: /bin/bash -c "cd /var/www; php vendor/bin/phpunit"
| version: '2'
services:
yang-php:
container_name: yang-php
image: php:7.3-cli
volumes:
- .:/var/www
command: /bin/bash -c "cd /var/www; php vendor/bin/phpunit"
|
Remove imposm for now, as Py2 is not working, so will need to write new code to automate the go (imposm3) version | ---
- name: This playbook sets up NZ OSM infrastructure with Vagrant
hosts: vagrant
become: true
become_method: sudo
become_user: root
vars_files:
- vars/default.yml
roles:
- base
- locale
- postgresql
- nginx
- mapserver
- imposm
- osm
- basemaps
- name: This playbook sets up NZOSS GIS Live DVD infrastructure
hosts: catalyst
become: true
become_method: sudo
become_user: root
vars_files:
- vars/default.yml
roles:
- base
- locale
- postgresql
- nginx
- mapserver
- imposm
- osm
- basemaps
| ---
- name: This playbook sets up NZ OSM infrastructure with Vagrant
hosts: vagrant
become: true
become_method: sudo
become_user: root
vars_files:
- vars/default.yml
roles:
- base
- locale
- postgresql
- nginx
- mapserver
# Python2 only, or for version 3 Go
# - imposm
- osm
- basemaps
- name: This playbook sets up NZOSS GIS Live DVD infrastructure
hosts: catalyst
become: true
become_method: sudo
become_user: root
vars_files:
- vars/default.yml
roles:
- base
- locale
- postgresql
- nginx
- mapserver
# Python2 only, or for version 3 Go
# - imposm
- osm
- basemaps
|
Build releases on arm too | builds:
-
goos:
- linux
goarch:
- amd64
archive:
wrap_in_directory: true
files:
- CHANGELOG.md
- conf/*
- COPYING
- README.md
| builds:
-
goos:
- linux
goarch:
- amd64
- arm
archive:
wrap_in_directory: true
files:
- CHANGELOG.md
- conf/*
- COPYING
- README.md
|
Install all xpaas streams when enabled | ---
# By default install rhel and xpaas streams on enterprise installs
openshift_examples_load_centos: "{{ openshift_deployment_type == 'origin' }}"
openshift_examples_load_rhel: "{{ openshift_deployment_type != 'origin' }}"
openshift_examples_load_db_templates: true
openshift_examples_load_xpaas: "{{ openshift_deployment_type != 'origin' }}"
openshift_examples_load_quickstarts: true
content_version: "{{ 'v1.1' if openshift.common.version_greater_than_3_1_or_1_1 else 'v1.0' }}"
examples_base: "{{ openshift.common.config_base if openshift.common.is_containerized else '/usr/share/openshift' }}/examples"
image_streams_base: "{{ examples_base }}/image-streams"
centos_image_streams: "{{ image_streams_base}}/image-streams-centos7.json"
rhel_image_streams: "{{ image_streams_base}}/image-streams-rhel7.json"
db_templates_base: "{{ examples_base }}/db-templates"
xpaas_image_streams: "{{ examples_base }}/xpaas-streams/jboss-image-streams.json"
xpaas_templates_base: "{{ examples_base }}/xpaas-templates"
quickstarts_base: "{{ examples_base }}/quickstart-templates"
infrastructure_origin_base: "{{ examples_base }}/infrastructure-templates/origin"
infrastructure_enterprise_base: "{{ examples_base }}/infrastructure-templates/enterprise"
openshift_examples_import_command: "create"
| ---
# By default install rhel and xpaas streams on enterprise installs
openshift_examples_load_centos: "{{ openshift_deployment_type == 'origin' }}"
openshift_examples_load_rhel: "{{ openshift_deployment_type != 'origin' }}"
openshift_examples_load_db_templates: true
openshift_examples_load_xpaas: "{{ openshift_deployment_type != 'origin' }}"
openshift_examples_load_quickstarts: true
content_version: "{{ 'v1.1' if openshift.common.version_greater_than_3_1_or_1_1 else 'v1.0' }}"
examples_base: "{{ openshift.common.config_base if openshift.common.is_containerized else '/usr/share/openshift' }}/examples"
image_streams_base: "{{ examples_base }}/image-streams"
centos_image_streams: "{{ image_streams_base}}/image-streams-centos7.json"
rhel_image_streams: "{{ image_streams_base}}/image-streams-rhel7.json"
db_templates_base: "{{ examples_base }}/db-templates"
xpaas_image_streams: "{{ examples_base }}/xpaas-streams/"
xpaas_templates_base: "{{ examples_base }}/xpaas-templates"
quickstarts_base: "{{ examples_base }}/quickstart-templates"
infrastructure_origin_base: "{{ examples_base }}/infrastructure-templates/origin"
infrastructure_enterprise_base: "{{ examples_base }}/infrastructure-templates/enterprise"
openshift_examples_import_command: "create"
|
Make all endpoints redirect to HTTPS | runtime: go
api_version: go1.8
handlers:
- url: /static
static_dir: templates/static
- url: /img
static_dir: templates/img
- url: /css
static_dir: templates/css
- url: /.*
script: _go_app
| runtime: go
api_version: go1.8
handlers:
- url: /static
static_dir: templates/static
secure: always
- url: /img
static_dir: templates/img
secure: always
- url: /css
static_dir: templates/css
secure: always
- url: /.*
script: _go_app
secure: always
|
Update task description for local ansible data path directory creation | ---
# Common tasks applicable to both Oracle and OpenJDK
# this directory will contain the Java downloads
- name: Install Java download directory (local)
tags:
- java
- download
local_action: file
state=directory
owner=0
group=0
mode=2777
dest={{ local_ansible_data_path }}
# this directory will get copies of large files
- name: Install remote ansible data path directory
tags: teamcity
file:
state=directory
dest={{ remote_ansible_data_path }}
# Test whether we need to download Java.
- name: Install Oracle Java redis package sha256sum (local)
tags:
- java
- download
local_action: template
src=sha256sum.j2
dest={{ local_ansible_data_path }}/java.sha256sum
mode=0644
# Updating the package cache at least once is mandatory for apt
- name: Update apt package cache
tags: java
when: ansible_os_family == 'Debian'
apt:
update_cache=yes
cache_valid_time=3600
# Ansile requirement if SELinux is enabled
- include: selinux.yml
| ---
# Common tasks applicable to both Oracle and OpenJDK
# this directory will contain the Java downloads
- name: Install local ansible data path directory (local)
tags:
- java
- download
local_action: file
state=directory
owner=0
group=0
mode=2777
dest={{ local_ansible_data_path }}
# this directory will get copies of large files
- name: Install remote ansible data path directory
tags: teamcity
file:
state=directory
dest={{ remote_ansible_data_path }}
# Test whether we need to download Java.
- name: Install Oracle Java redis package sha256sum (local)
tags:
- java
- download
local_action: template
src=sha256sum.j2
dest={{ local_ansible_data_path }}/java.sha256sum
mode=0644
# Updating the package cache at least once is mandatory for apt
- name: Update apt package cache
tags: java
when: ansible_os_family == 'Debian'
apt:
update_cache=yes
cache_valid_time=3600
# Ansile requirement if SELinux is enabled
- include: selinux.yml
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.