Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add PHP 7.1 to the testing matrix | language: php
php:
- 5.6
- 7.0
env:
global:
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
- WP_CLI_CONFIG_PATH=/tmp/wp-cli-phar/config.yml
- WP_VERSION=master
- WP_VERSION=4.5
- WP_VERSION=4.6
before_script:
- composer install --prefer-source
- bash ./bin/install-package-tests.sh
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- if [ $CODECLIMATE_REPO_TOKEN ]; then ./vendor/bin/test-reporter; fi;
- ./vendor/bin/behat
cache:
directories:
- vendor/
notifications:
email: false | language: php
php:
- 5.6
- 7.0
- 7.1
env:
global:
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
- WP_CLI_CONFIG_PATH=/tmp/wp-cli-phar/config.yml
- WP_VERSION=master
- WP_VERSION=4.5
- WP_VERSION=4.6
before_script:
- composer install --prefer-source
- bash ./bin/install-package-tests.sh
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- if [ $CODECLIMATE_REPO_TOKEN ]; then ./vendor/bin/test-reporter; fi;
- ./vendor/bin/behat
cache:
directories:
- vendor/
notifications:
email: false |
Create test database before running tests | language: ruby
rvm:
- 2.0
- 1.9.3
- ruby-head
- rbx-19mode
| language: ruby
rvm:
- 2.0
- 1.9.3
- ruby-head
- rbx-19mode
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rake db:test:prepare
- bundle exec rspec spec/
|
Use container and caching for CI | language: ruby
bundler_args: "--without development"
rvm:
- '2.1'
- '2.0'
- 1.9.3
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: jruby
- rvm: rbx-2
script:
- 'bundle exec rspec && bundle exec gurke'
| sudo: false
language: ruby
cache: bundler
bundler_args: "--without development"
rvm:
- '2.1'
- '2.0'
- 1.9.3
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: jruby
- rvm: rbx-2
script:
- 'bundle exec rspec && bundle exec gurke'
|
Deploy generated content to gh-pages branch | language: go
go:
- master
addons:
ssh_known_hosts: overflod.chary.us
before_install:
- openssl aes-256-cbc -K $encrypted_da0730754d12_key -iv $encrypted_da0730754d12_iv -in travis_rsa.enc -out travis_rsa -d
- chmod 600 travis_rsa
- mv travis_rsa ~/.ssh/id_rsa
install:
- ./scripts/install-hugo.sh
jobs:
include:
- stage: build
if: tag IS NOT present
script: hugo -b https://snoonet-beta.chary.us/
after_success:
- ./scripts/deploy.sh
- stage: GitHub Release
if: tag IS present
script: hugo -b https://snoonet.org && tar -zcvf website-$TRAVIS_TAG.tar.gz public;
deploy:
provider: releases
api_key: "$GITHUB_OAUTH_TOKEN"
file: website-$TRAVIS_TAG.tar.gz
skip_cleanup: true
on:
tags: true
| language: go
go:
- master
addons:
ssh_known_hosts: overflod.chary.us
before_install:
- openssl aes-256-cbc -K $encrypted_da0730754d12_key -iv $encrypted_da0730754d12_iv -in travis_rsa.enc -out travis_rsa -d
- chmod 600 travis_rsa
- mv travis_rsa ~/.ssh/id_rsa
install:
- ./scripts/install-hugo.sh
jobs:
include:
# Build and deploy to staging (flotwig's host)
- stage: build
if: tag IS NOT present
script: hugo -b https://snoonet-beta.chary.us/
after_success:
- ./scripts/deploy.sh
# Build and deploy generated content to the gh-pages branch
- stage: deploy
if: tag IS present
script:
- hugo -b https://snoonet.org/
- echo "$CNAME_URL" > public/CNAME
deploy:
provider: pages
github-token: "$GITHUB_OAUTH_TOKEN"
skip-cleanup: true
email: "$GITHUB_EMAIL"
name: "$GITHUB_USERNAME"
verbose: true
keep-history: true
local-dir: public
target-branch: gh-pages
on:
branch: master
|
Remove extra steps for newer GLIBCXX on Travis CI | ### Project specific config ###
language: generic
env:
global:
- APM_TEST_PACKAGES=""
- ATOM_LINT_WITH_BUNDLED_NODE="true"
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
os:
- linux
- osx
dist: trusty
### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
- ./build-package.sh
notifications:
email:
on_success: never
on_failure: change
branches:
only:
- master
git:
depth: 10
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- fakeroot
- git
- libsecret-1-dev
| ### Project specific config ###
language: generic
env:
global:
- APM_TEST_PACKAGES=""
- ATOM_LINT_WITH_BUNDLED_NODE="true"
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
os:
- linux
- osx
dist: trusty
### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
- ./build-package.sh
notifications:
email:
on_success: never
on_failure: change
branches:
only:
- master
git:
depth: 10
sudo: false
addons:
apt:
packages:
- build-essential
- fakeroot
- git
- libsecret-1-dev
|
Set Java8 as default environment for Rultor | architect: extsoft
install: |-
java -version
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
merge:
fast-forward: only
rebase: true
script: |-
./gradlew
./gradlew clean
commanders:
- extsoft
- Mras
release: # @todo #49:3h Add ability to release to Sonatype
pre: false
script: echo "Release ${tag}"
commanders: extsoft
| architect: extsoft
docker:
image: yegor256/java8
install: |-
java -version
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
merge:
fast-forward: only
rebase: true
script: |-
./gradlew
./gradlew clean
commanders:
- extsoft
- Mras
release: # @todo #49:3h Add ability to release to Sonatype
pre: false
script: echo "Release ${tag}"
commanders: extsoft
|
Drop support for Node 0.8 and 0.9 | #
# Travis-CI configuration for generic-functions.
#
language: node_js
node_js:
- 0.8
- 0.9
- "0.10"
- 0.11
script: npm test
#
| #
# Travis-CI configuration for generic-functions.
#
language: node_js
node_js:
- "0.10"
- 0.11
script: npm test
#
|
Remove python 3.2 and 3.3 and add 3.6, 3.7, 3.8 | language: python
python:
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5
before_script: "./travis/before-script.sh"
script: nosetests -w tests
notifications:
email: false
| language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
before_script: "./travis/before-script.sh"
script: nosetests -w tests
notifications:
email: false
|
Use our own version of PHPUnit and check code coverage | language: php
php:
- 7.0
before_script:
- composer install
| language: php
php:
- 7.0
before_script:
- composer install
script:
- php tools/phpunit.phar -c phpunit.xml.dist
- tools/check-code-cov
|
Use latest Docker and login the Docker Hub in Travis build. | env:
global:
- DOCKER_VERSION=1.10.1-0~trusty
sudo: required
services:
- docker
before_install:
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION}
script:
- docker version
- sudo docker login -e "$DOCKER_EMAIL" -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- sudo ./build.sh
| env:
global:
- DOCKER_VERSION=1.10.1-0~trusty
sudo: required
services:
- docker
before_install:
- apt-cache madison docker-engine
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION}
script:
- docker version
- sudo docker login -e "$DOCKER_EMAIL" -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- sudo ./build.sh
|
Update Travis build for vendoring with directory changes. | language: go
gobuild_args: -x -ldflags "-X main.version=0.1.0"
go:
- 1.4
- 1.5
- 1.6
- tip
install:
- go get -d ./...
- go get github.com/erikstmartin/go-testdb
script:
- go test ./...
| language: go
gobuild_args: -x -ldflags "-X main.version=0.1.0"
go:
- 1.5
- 1.6
- tip
env:
- GO15VENDOREXPERIMENT=1
install:
- go get -d ./...
- go get github.com/erikstmartin/go-testdb
script:
- go test ./...
|
Configure Travis to run Maven in batch mode | language: java
install: true
script: mvn --settings settings.xml test -Dgwt.validateOnly -Darquillian.jboss.home=/dev/null
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
matrix:
fast_finish: true
allow_failures:
- jdk: oraclejdk8
| language: java
install: true
script: mvn --batch-mode --settings settings.xml test -Dgwt.validateOnly -Darquillian.jboss.home=/dev/null
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
matrix:
fast_finish: true
allow_failures:
- jdk: oraclejdk8
|
Remove 'glide install', vendor included. | language: go
go:
- 1.5.4
- 1.6.3
- 1.7.3
- tip
install:
- mkdir -p $GOPATH/bin
- curl https://glide.sh/get | sh
- glide install
script:
- GO15VENDOREXPERIMENT=1 go build
- glide --debug cleanup
| language: go
go:
- 1.5.4
- 1.6.3
- 1.7.3
- tip
install:
- mkdir -p $GOPATH/bin
- curl https://glide.sh/get | sh
script:
- GO15VENDOREXPERIMENT=1 go build
- glide cleanup --debug
|
Switch to pytest-cov for coverage. | language: python
python:
- "2.7"
- "3.3"
- "3.4"
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update -qq
- sudo apt-get install -y libgdal1h gdal-bin libgdal-dev
install:
- pip install --install-option="--no-cython-compile" cython
- "pip install -r requirements-dev.txt"
- "pip install pytest"
- "pip install coveralls"
- "pip install -e ."
script:
- coverage run --source=rasterio --omit='*.pxd,*.pyx,*/tests/*,*/docs/*,*/examples/*,*/benchmarks/*,*/rio/main.py,*/rio/__init__.py' -m py.test
after_success:
- coveralls
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update -qq
- sudo apt-get install -y libgdal1h gdal-bin libgdal-dev
install:
- pip install --install-option="--no-cython-compile" cython
- "pip install -r requirements-dev.txt"
- "pip install pytest pytest-cov"
- "pip install coveralls"
- "pip install -e ."
script:
- py.test --cov rasterio --cov-report term-missing
after_success:
- coveralls
|
Remove CocoaPods test from Travis as it only fails there. | os:
- osx
- linux
language: generic
sudo: required
dist: trusty
osx_image: xcode8
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
script:
- swift build
- swift test
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pod lib lint --allow-warnings; fi
| os:
- osx
- linux
language: generic
sudo: required
dist: trusty
osx_image: xcode8
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
script:
- swift build
- swift test
|
Add --debug flag when testing | language: php
php:
- 5.4
- 5.5
- 5.6
install:
- travis_retry composer self-update
- travis_retry composer require satooshi/php-coveralls:dev-master --no-update
- travis_retry composer install
before_script:
- phpenv rehash
script:
- phpunit -c phpunit.xml
after_success:
- php vendor/bin/coveralls -v
cache:
apt: true
directories:
- vendor
| language: php
php:
- 5.4
- 5.5
- 5.6
install:
- travis_retry composer self-update
- travis_retry composer require satooshi/php-coveralls:dev-master --no-update
- travis_retry composer install
before_script:
- phpenv rehash
script:
- phpunit --debug -c phpunit.xml.dist
after_success:
- php vendor/bin/coveralls -v
cache:
apt: true
directories:
- vendor
|
Add Travis support for OTP20 | sudo: false
language: erlang
otp_release:
- 19.3
- 18.3
- 17.5
- R16B03-1
before_script:
- wget https://s3.amazonaws.com/rebar3-nightly/rebar3
- chmod u+x rebar3
script: "make travis"
| sudo: false
language: erlang
otp_release:
- 20.0
- 19.3
- 18.3
- 17.5
- R16B03-1
before_script:
- wget https://s3.amazonaws.com/rebar3-nightly/rebar3
- chmod u+x rebar3
script: "make travis"
|
Remove deprecated `sudo: false` option | sudo: false
dist: trusty
language: node_js
node_js:
- "10"
branches:
only:
- master
# npm version tags
- /^v\d+\.\d+\.\d+/
cache:
yarn: true
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn install
script:
- yarn test
jobs:
fail_fast: true
include:
- stage: tests
name: "Node 10"
script:
- yarn lint:js
- yarn test
- stage: additional tests
name: floating dependencies
install: yarn install --no-lockfile
- name: "Node 6"
node_js: "6"
- name: "Node 8"
node_js: "8"
| language: node_js
node_js:
- "10"
branches:
only:
- master
# npm version tags
- /^v\d+\.\d+\.\d+/
cache:
yarn: true
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn install
script:
- yarn test
jobs:
fail_fast: true
include:
- stage: tests
name: "Node 10"
script:
- yarn lint:js
- yarn test
- stage: additional tests
name: floating dependencies
install: yarn install --no-lockfile
- name: "Node 6"
node_js: "6"
- name: "Node 8"
node_js: "8"
|
Revert "Check all branches in Travis." | rvm:
- 1.9.2
- 1.8.7
- ree-1.8.7
| rvm:
- 1.9.2
- 1.8.7
- ree-1.8.7
branches:
only:
- master
|
Allow PHP-nightly build to fail on CI, PHP v8 isn't compatible with released PHPUnit. | group: travis_latest
language: php
matrix:
include:
- php: 7.1
env: lowest=1
- php: 7.2
env: csfixer=1
- php: 7.3
- php: nightly
cache:
directories:
- $HOME/.composer/cache
- $HOME/.cache/composer
- $HOME/.cache/opcache
install:
- phpenv config-rm xdebug.ini || true;
- |
if [ "$csfixer" != "1" ]; then
composer remove --dev friendsofphp/php-cs-fixer;
fi;
- |
if [ "$lowest" = "1" ]; then
composer update --prefer-lowest --prefer-stable;
else
composer update;
fi;
script:
- |
if [ "$csfixer" = "1" ]; then
vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --diff-format=udiff --allow-risky=yes;
fi;
- php vendor/bin/phpunit;
| group: travis_latest
language: php
php:
- 7.3
- 7.2
- 7.1
- nightly
matrix:
include:
- php: 7.1
env: lowest=1
- php: 7.2
env: csfixer=1
allow_failures:
- php: nightly
cache:
directories:
- $HOME/.composer/cache
- $HOME/.cache/composer
- $HOME/.cache/opcache
install:
- phpenv config-rm xdebug.ini || true;
- |
if [ "$csfixer" != "1" ]; then
composer remove --dev friendsofphp/php-cs-fixer;
fi;
- |
if [ "$lowest" = "1" ]; then
composer update --prefer-lowest --prefer-stable;
else
composer update;
fi;
script:
- |
if [ "$csfixer" = "1" ]; then
vendor/bin/php-cs-fixer fix --verbose --dry-run --diff --diff-format=udiff --allow-risky=yes;
fi;
- php vendor/bin/phpunit;
|
Add apt-get update and ignore missing option | language: ruby
rvm:
- 2.0.0
services:
- elasticsearch
before_install:
- sudo apt-get install aspell*
script: bundle exec rspec spec
| language: ruby
rvm:
- 2.0.0
services:
- elasticsearch
before_install:
- sudo apt-get update
- sudo apt-get install aspell* --ignore-missing
script: bundle exec rspec spec
|
Drop Node v7 from TravisCI | sudo: false
language: node_js
install:
- npm install
before_script:
node_js:
- "6"
- "7"
- "node"
notifications:
email: false
| sudo: false
language: node_js
install:
- npm install
before_script:
node_js:
- "6"
- "node"
notifications:
email: false
|
Revert "Revert "chore(ci): add slack message after master deploy"" | cache: bundler
language: ruby
sudo: false
addons:
apt:
packages:
- aspell
- aspell-en
- aspell-fr
- jq
install:
- bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
script:
- bundle exec rake
after_success:
- ./bin/deploy-pr.sh
before_deploy:
- bundle exec jekyll build
- pip install --user awscli
- aws s3 rm s3://blog.eleven-labs.com --recursive
deploy:
- provider: s3
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
region: $AWS_DEFAULT_REGION
bucket: blog.eleven-labs.com
local_dir: _site
skip_cleanup: true
on:
branch: master
after_deploy:
- aws configure set preview.cloudfront true
- aws cloudfront create-invalidation --distribution-id "$CLOUDFRONT_DISTRIBUTION_ID" --paths "/*"
| cache: bundler
language: ruby
sudo: false
addons:
apt:
packages:
- aspell
- aspell-en
- aspell-fr
- jq
install:
- bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
script:
- bundle exec rake
after_success:
- ./bin/deploy-pr.sh
before_deploy:
- bundle exec jekyll build
- pip install --user awscli
- aws s3 rm s3://blog.eleven-labs.com --recursive
deploy:
- provider: s3
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
region: $AWS_DEFAULT_REGION
bucket: blog.eleven-labs.com
local_dir: _site
skip_cleanup: true
on:
branch: master
after_deploy:
- aws configure set preview.cloudfront true
- aws cloudfront create-invalidation --distribution-id "$CLOUDFRONT_DISTRIBUTION_ID" --paths "/*"
- curl -X POST -H "Content-type: application/json" --data '{"text":"MEP blog\n'${TRAVIS_COMMIT_MESSAGE}'", "channel": "#'${SLACK_CHANNEL}'", "username": "'${SLACK_USERNAME}'", "icon_emoji": ":'${SLACK_EMOJI}':"}' ${SLACK_WEBHOOK_URL}
|
Remove Python 3.6 for now | language: python
python:
- 3.5
- 3.6
install:
- pip install tox coveralls
script:
- tox
after_success:
- coveralls
notifications:
email: false
| language: python
python:
- 3.5
install:
- pip install tox coveralls
script:
- tox
after_success:
- coveralls
notifications:
email: false
|
Add Ruby 2.0.0 to Travis | language: ruby
rvm:
- 1.8.7
- ree
- 1.9.2
- 1.9.3
- jruby-19mode
- rbx-19mode
- ruby-head
- jruby-head
| language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.9.2
- 1.8.7
- ree
- jruby-19mode
- rbx-19mode
- ruby-head
- jruby-head
|
Add node 8 and 10 to build environments | language: node_js
node_js:
- "node"
- "6"
notifications:
email: false
| language: node_js
node_js:
- "6"
- "8"
- "10"
notifications:
email: false
|
Use latest DITA-OT version (2.5.3) for CI builds | sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_OT_VERSION=2.5.2
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh"
| sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_OT_VERSION=2.5.3
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh"
|
Update the version of ruby used to build project in TravisCI. | # Lock down dist to ensure that builds run on a distribution that supports oraclejdk8
dist: trusty
language: ruby
jdk:
- oraclejdk8
rvm:
- 2.6.6
services:
- postgresql
install:
- rvm use 2.3.1
- gem install bundler
- bundle install
script: buildr clean package
git:
depth: 10
| # Lock down dist to ensure that builds run on a distribution that supports oraclejdk8
dist: trusty
language: ruby
jdk:
- oraclejdk8
rvm:
- 2.6.6
services:
- postgresql
install:
- rvm use 2.6.6
- gem install bundler
- bundle install
script: buildr clean package
git:
depth: 10
|
Install black thanks to super call to dev-requirements.txt | language: python
python:
- 3.6
sudo: false
# Pre-install packages for the ubuntu distribution
cache:
apt: true
directories:
- $HOME/.cache/pip
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- libatlas3gf-base
- libatlas-dev
# command to install dependencies
install:
- pip install -U pip wheel
- pip install --install-option="--no-cython-compile" cython
- pip install -r requirements.txt
- python setup.py develop
# command to run tests
script:
- pip install black
- black --check inverse_covariance
- black --check examples
- python -m pytest --showlocals --pyargs
| language: python
python:
- 3.6
sudo: false
# Pre-install packages for the ubuntu distribution
cache:
apt: true
directories:
- $HOME/.cache/pip
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- libatlas3gf-base
- libatlas-dev
# command to install dependencies
install:
- pip install -U pip wheel
- pip install --install-option="--no-cython-compile" cython
- pip install -r dev-requirements.txt
- python setup.py develop
# command to run tests
script:
- black --check inverse_covariance
- black --check examples
- python -m pytest --showlocals --pyargs
|
Test against more recent Python3 versions | language: python
python:
- "2.7"
- "3.3"
- "3.4"
install:
- "pip install pep8 coverage coveralls"
- "pip install -r requirements.txt"
before_script:
"./pep8.sh"
script:
"LANGUAGE=en_GB:en coverage run --source=flask_table setup.py test"
after_success:
coveralls
| language: python
python:
- "2.7"
- "3.5"
- "3.6"
install:
- "pip install pep8 coverage coveralls"
- "pip install -r requirements.txt"
before_script:
"./pep8.sh"
script:
"LANGUAGE=en_GB:en coverage run --source=flask_table setup.py test"
after_success:
coveralls
|
Update xctool to latest version with brew | language: objective-c
script:
- xctool test -project XCDYouTubeVideoPlayerViewController.xcodeproj -scheme XCDYouTubeVideoPlayerViewController\ Tests -sdk iphonesimulator
| language: objective-c
before_install: brew update
install: brew upgrade xctool
script:
- xctool test -project XCDYouTubeVideoPlayerViewController.xcodeproj -scheme XCDYouTubeVideoPlayerViewController\ Tests -sdk iphonesimulator
|
Remove j flag from build | language: cpp
matrix:
include:
- os: linux
dist: trusty
addons: { apt: { packages: [g++-6], sources: [ubuntu-toolchain-r-test] } }
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Release
- os: linux
dist: trusty
addons: { apt: { packages: [g++-6], sources: [ubuntu-toolchain-r-test] } }
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Debug
before_install:
- eval "${MATRIX_EVAL}"
script:
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
- cmake --build . -- -j4
- ctest -VV .
notifications:
email: false
| language: cpp
matrix:
include:
- os: linux
dist: trusty
addons: { apt: { packages: [g++-6], sources: [ubuntu-toolchain-r-test] } }
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Release
- os: linux
dist: trusty
addons: { apt: { packages: [g++-6], sources: [ubuntu-toolchain-r-test] } }
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Debug
before_install:
- eval "${MATRIX_EVAL}"
script:
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
- cmake --build .
- ctest -VV .
notifications:
email: false
|
Add script dependency to Travis | language: bash
script:
- diff <(./generate-docs) README.md | language: bash
before_script:
- npm install -g dox
script:
- diff <(./generate-docs) README.md
|
Remove openJDK version 6 target, since SleekSlick2D targets JDK version 7+. | language: java
jdk:
- oraclejdk7
- openjdk7
- openjdk6
before_install:
- git submodule update --init --recursive
install: mvn install | language: java
jdk:
- oraclejdk7
- openjdk7
before_install:
- git submodule update --init --recursive
install: mvn install |
Fix path to gpg file | language: bash
before_install:
- mkdir -p ~/.config
- echo "${gpg_password}" | gpg aurup.gpg -o ~/.config/aurup
install:
- PATH=$PWD/bin:$PATH
- juju -f echo 'Installing juju'
- sed -i -e "s/#Server/Server/" ~/.juju/etc/pacman.d/mirrorlist
- juju -f pacman --noconfirm -Syy
- juju -f pacman --noconfirm -S base-devel --needed
- wget http://xyne.archlinux.ca/projects/python3-aur/src/python3-aur-2014.12.tar.xz
- tar xz python3-aur-2014.12.tar.xz
- cd python3-aur-2014.12
- juju makepkg -si --noconfirm
- cd ..
script:
- juju archlinux/generate.sh
env:
global:
secure: e2pzDY0E8kqIxs/9MxNjl9iXfUV+hjI4R6/hwwXupy38ipUm5HhwORW0IqlUm0m9bMmoreC1DALmnUh+WXmSnvg1mhvrfapDddG+F7bJqihcF4L7nRdECUJVXf1AFNJDVlvBGhKVvDdffCod5bF/Ised9fe8y7ERyVc6jcui+hE=
| language: bash
before_install:
- mkdir -p ~/.config
- echo "${gpg_password}" | gpg archlinux/aurup.gpg -o ~/.config/aurup
install:
- PATH=$PWD/bin:$PATH
- juju -f echo 'Installing juju'
- sed -i -e "s/#Server/Server/" ~/.juju/etc/pacman.d/mirrorlist
- juju -f pacman --noconfirm -Syy
- juju -f pacman --noconfirm -S base-devel --needed
- wget http://xyne.archlinux.ca/projects/python3-aur/src/python3-aur-2014.12.tar.xz
- tar xz python3-aur-2014.12.tar.xz
- cd python3-aur-2014.12
- juju makepkg -si --noconfirm
- cd ..
script:
- cd archlinux
- juju ./generate.sh
env:
global:
secure: e2pzDY0E8kqIxs/9MxNjl9iXfUV+hjI4R6/hwwXupy38ipUm5HhwORW0IqlUm0m9bMmoreC1DALmnUh+WXmSnvg1mhvrfapDddG+F7bJqihcF4L7nRdECUJVXf1AFNJDVlvBGhKVvDdffCod5bF/Ised9fe8y7ERyVc6jcui+hE=
|
Use Travis CI's new infrastructure | language: android
android:
components:
- build-tools-22.0.1
- android-22
- extra-android-m2repository
script:
- cd opacclient
- ./gradlew check lint
| language: android
sudo: false
android:
components:
- build-tools-22.0.1
- android-22
- extra-android-m2repository
script:
- cd opacclient
- ./gradlew check lint
|
Test using ChefDK in Travis | sudo: false
cache: bundler
language: ruby
bundler_args: --without kitchen_common kitchen_vagrant
rvm:
- 2.0
- 2.1
- 2.2
script:
- bundle exec foodcritic -f any .
- bundle exec rubocop
- bundle exec rspec --color --format progress
| # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec
|
Add setting for ndarray-linalg in test | language: rust
dist: trusty
sudo: false
cache: cargo
script:
- cargo update
- cargo test -vv --no-default-features --features=$FEATURE
jobs:
include:
- env: RUST_BACKTRACE=1 FEATURE=source
addons:
apt:
packages:
- make
- env: RUST_BACKTRACE=1 FEATURE=system
addons:
apt:
packages:
- libfftw3-dev
- env: RUST_BACKTRACE=1 FEATURE=intel-mkl
| language: rust
dist: trusty
sudo: false
cache: cargo
script:
- cargo update
- cargo test -vv --no-default-features --features=$FEATURE
addons:
apt:
packages:
- cmake
- gfortran
jobs:
include:
- env: RUST_BACKTRACE=1 FEATURE=source
addons:
apt:
packages:
- make
- env: RUST_BACKTRACE=1 FEATURE=system
addons:
apt:
packages:
- libfftw3-dev
- env: RUST_BACKTRACE=1 FEATURE=intel-mkl
|
Fix build against rbx-19mode => rbx-2.1.1 . | language: ruby
before_install:
- "gem install bundler -v '~> 1.5, != 1.5.0'"
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
- jruby-19mode
- rbx-19mode
services:
- redis-server
notifications:
email:
recipients:
- tp@tiredpixel.com
matrix:
allow_failures:
- rvm: jruby-19mode
- rvm: rbx-19mode
| language: ruby
before_install:
- "gem install bundler -v '~> 1.5, != 1.5.0'"
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
- jruby-19mode
- rbx-2.1.1
services:
- redis-server
notifications:
email:
recipients:
- tp@tiredpixel.com
matrix:
allow_failures:
- rvm: jruby-19mode
- rvm: rbx-2.1.1
|
Add quotes to versions in the Travis config | language: node_js
node_js:
- 0.12
- 0.10
sudo: false
| language: node_js
node_js:
- "0.12"
- "0.10"
sudo: false
|
Drop unused TravisCI directive sudo: false | sudo: false
language: ruby
rvm:
- 2.4.5
- 2.5.3
- 2.6.1
gemfile:
- gemfiles/4.0.gemfile
- gemfiles/4.1.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.2.gemfile
- gemfiles/6.0.gemfile
matrix:
fast_finish: true
exclude:
- gemfile: gemfiles/6.0.gemfile
rvm: 2.4.5
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
- "rm gemfiles/*.lock"
before_script:
- "bundle install"
script: "bundle exec rake clean test"
| language: ruby
rvm:
- 2.4.5
- 2.5.3
- 2.6.1
gemfile:
- gemfiles/4.0.gemfile
- gemfiles/4.1.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.2.gemfile
- gemfiles/6.0.gemfile
matrix:
fast_finish: true
exclude:
- gemfile: gemfiles/6.0.gemfile
rvm: 2.4.5
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
- "rm gemfiles/*.lock"
before_script:
- "bundle install"
script: "bundle exec rake clean test"
|
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: "bI2kShW50RpX6ptnZQEzv8BSnejCskATLMvhKndXsTEJhrBIxC/IgOyWi9WTwmYWXYgupuKYRe+z5dk/BEWBa+JfKh+UYOGtwE5Y5T9S4JV2rDQjxb7xSI/vwLTqlDHhzBvqK+9JxfsqitS7FFVGtmNEXFc27f2NwC3/uW/CAM1iPD+K+Xe9ZoqAT0+03tdJtPY9kVE8+h3k5V/KAo4ENx8MqQ7g31r8ch8twFUjuknMhR9Les5trNoMUJk46YluhThUgSAvcjo0+n43cxfv2t0Qx7NSzTc0myLfK0nRMRAuFEMeSnWJWnSLWLKSeluEsYN8RPdCQGNlAzoftDSBPAgDBtWS8FYqQZVbkxBJepdczjy+PFAgjjBr+eqMRjPz1t83ThElefPxkQUshzQU3DVifUwSryNhF58tmZ/4iiCyw0fIPZL1m7n0OivpBNkTLFqeSHTZgGiCBThc3MFarL6qOcBkFZWynG19lNQ+s9BzdVeN/veFWRp6m1lOymPSCVVDt7KMoloEK2ie1wkVzvc6IlFRXJgDWU+C4fy+nue2ghdAv4ZQ1D+JDX2M4DCrtfWBZsdTR+UsQL8S8fY0zOcQw0y39qh4AsoKeArvjUfWxfDPx5oPSqpwM8Mvmdp/OAC5knUeSxBtjpnnPPxcucE2oQ07QYq3/SHnjeEqhrA="
use_notice: true
rust:
- "nightly"
|
Enable Travis CI for AVAE project | sudo: required
dist: trusty
language: python
git:
depth: 10
quiet: true
python:
- "3.6"
env:
matrix:
- PROJECT="tvt"
- PROJECT="cs_gan"
- PROJECT="iodine"
- PROJECT="transporter"
- PROJECT="polygen"
- PROJECT="learning_to_simulate"
before_script:
- sudo apt-get update -qq
- pip install --upgrade pip
- pip install --upgrade virtualenv
script:
- ./$PROJECT/run.sh
| sudo: required
dist: trusty
language: python
git:
depth: 10
quiet: true
python:
- "3.6"
env:
matrix:
- PROJECT="tvt"
- PROJECT="cs_gan"
- PROJECT="iodine"
- PROJECT="transporter"
- PROJECT="polygen"
- PROJECT="learning_to_simulate"
- PROJECT="avae"
before_script:
- sudo apt-get update -qq
- pip install --upgrade pip
- pip install --upgrade virtualenv
script:
- ./$PROJECT/run.sh
|
Change Travis CI after success coveralls target | language: java
jdk:
- openjdk7
after_success:
- mvn clean test jacoco:report coveralls:report
| language: java
jdk:
- openjdk7
after_success:
- mvn jacoco:report coveralls:jacoco
|
Test Puppet 3.1 on Ruby 1.9.3. | ---
language: ruby
rvm: 2.3.0
script: "bundle exec rake spec"
| ---
language: ruby
script: "bundle exec rake spec"
matrix:
include:
- rvm: 2.3.0
- rvm: 1.9.3
env: PUPPET_GEM_VERSION='3.1.0'
|
Use the pre-release builds of chefdk | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec spec
| # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec spec
|
Validate Travis CI config file from now on | sudo: false
language: node_js
node_js:
- "10"
- "14"
addons:
apt:
packages:
- graphicsmagick
- mediainfo
script:
- gm version
- mediainfo --Version || true # help exits with 255
- npm run lint
- npm test
after_script: "npm run coverage"
cache:
directories:
- node_modules
matrix:
fast_finish: true
| # https://docs.travis-ci.com/user/build-config-validation/
version: ~> 1.0
language: node_js
node_js:
- "10"
- "14"
addons:
apt:
packages:
- graphicsmagick
- mediainfo
script:
- gm version
- mediainfo --Version || true # help exits with 255
- npm run lint
- npm test
after_script: "npm run coverage"
cache:
directories:
- node_modules
jobs:
fast_finish: true
|
Test up to `io.js` `v2.0` | language: node_js
node_js:
- "iojs-v1.6"
- "iojs-v1.5"
- "iojs-v1.4"
- "iojs-v1.3"
- "iojs-v1.2"
- "iojs-v1.1"
- "iojs-v1.0"
- "0.12"
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
matrix:
fast_finish: true
allow_failures:
- node_js: "iojs-v1.4"
- node_js: "iojs-v1.3"
- node_js: "iojs-v1.2"
- node_js: "iojs-v1.1"
- node_js: "iojs-v1.0"
- node_js: "0.11"
- node_js: "0.9"
- node_js: "0.8"
- node_js: "0.6"
- node_js: "0.4"
sudo: false
| language: node_js
node_js:
- "iojs-v2.0"
- "iojs-v1.8"
- "iojs-v1.7"
- "iojs-v1.6"
- "iojs-v1.5"
- "iojs-v1.4"
- "iojs-v1.3"
- "iojs-v1.2"
- "iojs-v1.1"
- "iojs-v1.0"
- "0.12"
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
matrix:
fast_finish: true
allow_failures:
- node_js: "iojs-v1.7"
- node_js: "iojs-v1.6"
- node_js: "iojs-v1.5"
- node_js: "iojs-v1.4"
- node_js: "iojs-v1.3"
- node_js: "iojs-v1.2"
- node_js: "iojs-v1.1"
- node_js: "iojs-v1.0"
- node_js: "0.11"
- node_js: "0.9"
- node_js: "0.8"
- node_js: "0.6"
- node_js: "0.4"
sudo: false
|
Test the gem with ruby versions 2.2+ | sudo: true
language: ruby
rvm:
- 2.3.4
before_install:
- gem install bundler -v 1.15.3
services:
- memcached
| sudo: true
language: ruby
rvm:
- 2.2
- 2.3
- 2.4
before_install:
- gem install bundler -v 1.15.3
services:
- memcached
|
Update node version for tests | language: node_js
node_js:
- "8"
script: npm run coverage
after_success: npm run coveralls | language: node_js
node_js:
- "14"
script: npm run coverage
after_success: npm run coveralls
|
Test with PHP 7 and lower dependencies | language: php
php:
- 5.5
- 5.6
- hhvm
before_script:
- composer update
script: vendor/bin/behat
| language: php
matrix:
include:
- php: 5.5
- php: 5.6
- php: 5.5
env: deps=low
- php: nightly
- php: hhvm-nightly
allow_failures:
- php: nightly
- php: hhvm-nightly
fast_finish: true
env:
global:
- deps=no
before_script:
- composer self-update
script:
- if [ "$deps" = "no" ]; composer update; vendor/bin/behat; fi;
- if [ "$deps" = "low" ]; composer update --prefer-lowest; vendor/bin/behat; fi;
|
Use trusty distribution for all version in TravisCI | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
matrix:
include:
- php: hhvm
dist: trusty
sudo: required
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit --verbose --coverage-text --coverage-clover=coverage.xml
after_script:
- vendor/bin/test-reporter --coverage-report coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
addons:
code_climate:
repo_token: d16eac66156a1f7a995de17964d4ffdd152821ab52e8470b5dbd5d3406406836
| language: php
dist: trusty
sudo: required
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit --verbose --coverage-text --coverage-clover=coverage.xml
after_script:
- vendor/bin/test-reporter --coverage-report coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
addons:
code_climate:
repo_token: d16eac66156a1f7a995de17964d4ffdd152821ab52e8470b5dbd5d3406406836
|
Remove rubocup from code climate engines | ---
engines:
rubocop:
enabled: true
golint:
enabled: true
gofmt:
enabled: true
govet:
enabled: true
fixme:
enabled: true
duplication:
enabled: true
config:
languages:
- go
ratings:
paths:
- "**.go"
exclude_paths:
- vendor/
| ---
engines:
golint:
enabled: true
gofmt:
enabled: true
govet:
enabled: true
fixme:
enabled: true
duplication:
enabled: true
config:
languages:
- go
ratings:
paths:
- "**.go"
exclude_paths:
- vendor/
|
Add support for 5.1, drop support for 4.5, 4.6, and 5.0 | # Copyright (c) 2014-2016 Software Architecture Group (Hasso Plattner Institute)
language: smalltalk
sudo: false
smalltalk:
- Squeak-trunk
- Squeak-5.0
- Squeak-4.6
- Squeak-4.5
| # Copyright (c) 2014-2016 Software Architecture Group (Hasso Plattner Institute)
language: smalltalk
sudo: false
smalltalk:
- Squeak-trunk
- Squeak-5.1
- Squeak-5.0
- Squeak-4.6
- Squeak-4.5
matrix:
allow_failures:
- smalltalk: Squeak-5.0
- smalltalk: Squeak-4.6
- smalltalk: Squeak-4.5
fast_finish: true
|
Fix nunit version to match ubuntu 12.04 | language: c
install:
- sudo apt-get install mono-devel mono-gmcs mono-dmcs nunit-console libpoppler-cil libnunit2.6-cil
script:
- xbuild CI.proj
- nunit-console ./ReportTests/bin/Debug/ReportTests.dll -exclude Integration,NotWorkingOnMono
| language: c
install:
- sudo apt-get install mono-devel mono-gmcs mono-dmcs nunit-console libpoppler-cil libnunit2.5-cil
script:
- xbuild CI.proj
- nunit-console ./ReportTests/bin/Debug/ReportTests.dll -exclude Integration,NotWorkingOnMono
|
Allow PHP nightly to fail | language: php
sudo: false
env:
- COMPOSER_OPTIONS="
php:
- 7.1
matrix:
include:
- php: 7.1
env:
- COMPOSER_OPTIONS="--prefer-lowest"
- php: 7.1
env:
- COMPOSER_OPTIONS="--prefer-stable"
- php: nightly
fast_finish: true
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- composer self-update
install:
- composer update -n "$COMPOSER_OPTIONS"
script:
- vendor/bin/phpunit
| language: php
sudo: false
env:
- COMPOSER_OPTIONS="
php:
- 7.1
matrix:
fast_finish: true
include:
- php: 7.1
env:
- COMPOSER_OPTIONS="--prefer-lowest"
- php: 7.1
env:
- COMPOSER_OPTIONS="--prefer-stable"
- php: nightly
allow_failures:
- php: nightly
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- composer self-update
install:
- composer update -n "$COMPOSER_OPTIONS"
script:
- vendor/bin/phpunit
|
Test against major versions only | language: node_js
node_js:
- 4.0
- 4.1
- 4.2
- 4.3
- 4.4
- 4.5
- 4.6
- 5.0
- 5.1
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
- 5.7
- 5.8
- 5.9
- 5.10
- 5.11
- 5.12
- 6.0
- 6.1
- 6.2
- 6.3
- 6.4
- 6.5
- 6.6
- 6.7
| language: node_js
node_js:
- 4
- 5
- 6
|
Test against Node.js 4.3 and 5.6 | language: node_js
node_js:
- 0.10
- 0.11
- 0.12
- 4.0
- 4.1
- 4.2
- 5.0
- 5.1
- 5.2
- 5.3
- 5.4
- 5.5
before_install:
- npm install -g npm@latest
| language: node_js
node_js:
- 0.10
- 0.11
- 0.12
- 4.0
- 4.1
- 4.2
- 4.3
- 5.0
- 5.1
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
before_install:
- npm install -g npm@latest
|
Install deps on Travis manually | language: node_js
notifications:
email: true
node_js:
- '6'
script:
- npm test && npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
| language: node_js
notifications:
email: true
install: rm -rf node_modules && npm install
node_js:
- '6'
script:
- npm test && npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
|
Add search for lastest boost | language: cpp
compiler:
- gcc
before_install:
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo apt-get -y update
- sudo apt-get install doxygen
- sudo apt-get install libboost1.54-dev
- sudo apt-get install libxerces-c-dev
- sudo apt-get install libhdf5-serial-dev
script: ./travis-ci-build.sh
| language: cpp
compiler:
- gcc
before_install:
# - sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo apt-get -y update
- sudo apt-cache search boost
- sudo apt-get install doxygen
# - sudo apt-get install libboost1.54-dev
- sudo apt-get install libxerces-c-dev
- sudo apt-get install libhdf5-serial-dev
script: ./travis-ci-build.sh
|
Add the correc path to test project | language: csharp
solution: Msg.sln
install:
- nuget restore Msg.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release Msg.sln
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./Core/Msg.Core.csproj
| language: csharp
solution: Msg.sln
install:
- nuget restore Msg.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release Msg.sln
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./Core/Msg.Core.Specs/Msg.Core.Specs.csproj
|
Remove old grunt cli requirement. | language: node_js
node_js:
- stable
services:
- mongodb
install:
- npm install
before_script:
- npm install grunt-cli -g
script:
- npm run cover
after_script: "cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js" | language: node_js
node_js:
- stable
services:
- mongodb
install:
- npm install
script:
- npm run cover
after_script: "cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js" |
Correct config of allowed failures | language: ruby
before_install: gem install bundler
script: bundle exec rake ci
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- rbx-2
- jruby-19mode
matrix:
allow_failures: rbx-2
| language: ruby
before_install: gem install bundler
script: bundle exec rake ci
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- rbx-2
- jruby-19mode
matrix:
allow_failures:
- rbx-2
|
Fix invalid deps and move AttributeFactory to component | language: php
php:
- 5.5
- 5.6
- 7.0
before_script: composer install --dev --prefer-source
script: bin/phpspec run -fpretty --verbose
| language: php
php:
- 5.5
- 5.6
- 7.0
before_script: composer install --no-interaction --prefer-source
script: bin/phpspec run -fpretty --verbose
|
Update from Hackage at 2016-11-07T21:09:49Z | homepage: https://github.com/ciez/regex-do
changelog-type: ''
hash: e57e426cf8f04a5fefa04eac1df07c0d76cf78045dab8ad42cf276c53acaa2fc
test-bench-deps:
regex-pcre: -any
bytestring: -any
base: <=5.0
hspec: -any
text: -any
stringsearch: -any
array: -any
regex-base: -any
regex-do: -any
QuickCheck: -any
maintainer: Imants Cekusins
synopsis: PCRE wrapper
changelog: ''
basic-deps:
regex-pcre: -any
bytestring: -any
base: <=5.0
text: -any
stringsearch: -any
array: -any
regex-base: -any
all-versions:
- '1.3'
- '1.4'
author: Imants Cekusins
latest: '1.4'
description-type: haddock
description: format, search, replace (String | ByteString) with PCRE regex. Utf8-safe
license-name: PublicDomain
| homepage: https://github.com/ciez/regex-do
changelog-type: ''
hash: e57e426cf8f04a5fefa04eac1df07c0d76cf78045dab8ad42cf276c53acaa2fc
test-bench-deps:
regex-pcre: -any
bytestring: -any
base: <=5.0
hspec: -any
text: -any
stringsearch: -any
array: -any
regex-base: -any
regex-do: -any
QuickCheck: -any
maintainer: Imants Cekusins
synopsis: PCRE wrapper
changelog: ''
basic-deps:
regex-pcre: -any
bytestring: -any
base: <=5.0
text: -any
stringsearch: -any
array: -any
regex-base: -any
all-versions:
- '1.4'
author: Imants Cekusins
latest: '1.4'
description-type: haddock
description: format, search, replace (String | ByteString) with PCRE regex. Utf8-safe
license-name: PublicDomain
|
Correct issue with adjustment sample data | <% 1.upto(100) do |i| %>
tax_<%= i %>:
order: order_<%= i %>
amount: 0
source: order_<%= i %>
source_type: Order
originator:
originator_type:
label: Tax
frozen: false
mandatory: true
<% end %>
<% 1.upto(100) do |i| %>
ship_<%= i %>:
order: order_<%= i %>
amount: 5
source: shipment_<%= i %>
source_type: Shipment
originator:
originator_type:
label: Shipping
frozen: true
mandatory: true
<% end %>
| <% 1.upto(100) do |i| %>
tax_<%= i %>:
order: order_<%= i %>
amount: 0
source: order_<%= i %>
source_type: Order
originator:
originator_type:
label: Tax
locked: false
mandatory: true
<% end %>
<% 1.upto(100) do |i| %>
ship_<%= i %>:
order: order_<%= i %>
amount: 5
source: shipment_<%= i %>
source_type: Shipment
originator:
originator_type:
label: Shipping
locked: true
mandatory: true
<% end %>
|
Add a test step to the YAML template for Go (like CircleCI's template) | # Go
# Build your Go application.
# https://aka.ms/yaml
queue: 'Hosted Linux Preview'
steps:
- task: GoTool@0
- task: Go@0
inputs:
command: 'get'
arguments: '-d'
- task: Go@0
inputs:
command: 'build'
arguments: '-o "$(build.repository.name)"'
#- task: ArchiveFiles@2
# inputs:
# rootFolderOrFile: '$(system.defaultWorkingDirectory)'
# includeRootFolder: false
#- task: PublishBuildArtifacts@1
| # Go
# Build your Go application.
# https://aka.ms/yaml
queue: 'Hosted Linux Preview'
steps:
- task: GoTool@0
inputs:
version: '1.10'
- task: Go@0
inputs:
command: 'get'
arguments: '-v -t -d'
- task: Go@0
inputs:
command: 'test'
arguments: '-v'
- task: Go@0
inputs:
command: 'build'
arguments: '-o "$(build.repository.name)"'
#- task: ArchiveFiles@2
# inputs:
# rootFolderOrFile: '$(system.defaultWorkingDirectory)'
# includeRootFolder: false
#- task: PublishBuildArtifacts@1
|
Change markdown generator to handle nested lists | name: mopsled
description:
meta_description:
aboutPage: true
markdown: redcarpet
highlighter: pygments
paginate: 20
baseurl: /
domain_name: 'http://yourblog-domain.com'
google_analytics: 'UA-XXXXXXXX-X'
disqus: false
disqus_shortname: 'your-disqus-shortname'
# Details for the RSS feed generator
url: 'http://your-blog-url.example.com'
author: 'mopsled'
authorTwitter: 'YourTwitterUsername'
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
-
scope:
path: ""
type: drafts
values:
layout: post
| name: mopsled
description:
meta_description:
aboutPage: true
markdown: rdiscount
highlighter: pygments
paginate: 20
baseurl: /
domain_name: 'http://yourblog-domain.com'
google_analytics: 'UA-XXXXXXXX-X'
disqus: false
disqus_shortname: 'your-disqus-shortname'
# Details for the RSS feed generator
url: 'http://your-blog-url.example.com'
author: 'mopsled'
authorTwitter: 'YourTwitterUsername'
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
-
scope:
path: ""
type: drafts
values:
layout: post
|
Fix baseurl for static files | # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: Cyber Threat Information Technical Committee
description: > # this means to ignore newlines until "baseurl:"
The OASIS Cyber Threat Intelligence (CTI) TC supports automated information
sharing for cybersecurity situational awareness, real-time network defense,
and sophisticated threat analysis.
baseurl: "cti-documentation" # the subpath of your site, e.g. /blog
url: "https://oasis-open.github.io" # the base hostname & protocol for your site
# Build settings
markdown: kramdown
| # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: Cyber Threat Information Technical Committee
description: > # this means to ignore newlines until "baseurl:"
The OASIS Cyber Threat Intelligence (CTI) TC supports automated information
sharing for cybersecurity situational awareness, real-time network defense,
and sophisticated threat analysis.
baseurl: "/cti-documentation" # the subpath of your site, e.g. /blog
url: "https://oasis-open.github.io" # the base hostname & protocol for your site
# Build settings
markdown: kramdown
|
Change config option to latest | ---
title: FiniteMachine Ruby gem
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: ""
highlighter: pygments
relative_permalinks: false
twitter_username: piotr_murach
github_username: piotrmurach
gems:
- jekyll-assets
- bourbon
assets:
baseurl: '.'
compress:
css: sass
js: uglifier
cachebust: hard
cache: false
gzip: [ text/css, application/javascript ]
exclude: [components, Rakefile, Gemfile, Gemfile.lock]
| ---
title: FiniteMachine Ruby gem
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: ""
highlighter: pygments
relative_permalinks: false
twitter_username: piotr_murach
github_username: piotrmurach
plugins:
- jekyll-assets
- bourbon
assets:
baseurl: '.'
compress:
css: sass
js: uglifier
cachebust: hard
cache: false
gzip: [ text/css, application/javascript ]
exclude: [components, Rakefile, Gemfile, Gemfile.lock]
|
Revert "update markdown and highlighter" | # Dependencies
markdown: kramdown
highlighter: rouge
# Permalinks
permalink: pretty
# Setup
name: njtierney
title: Nicholas Tierney
tagline: 'Original witty remark'
description: 'Statistics, Coffee, Photography, and Me'
url: http://tierneyn.github.io
baseurl:
author:
name: 'Nicholas Tierney'
url: tierneyn.github.io
paginate: 100
paginate_path: "blog/page:num/"
# exclude the R Project
exclude: ["*.Rmd"]
exclude: ["*.Rproj"]
exclude: [".RData"]
exclude: [".Rhistory"]
| # Dependencies
markdown: redcarpet
redcarpet:
extensions: ["tables"]
highlighter: pygments
# Permalinks
permalink: pretty
# Setup
name: njtierney
title: Nicholas Tierney
tagline: 'Original witty remark'
description: 'Statistics, Coffee, Photography, and Me'
url: http://tierneyn.github.io
baseurl:
author:
name: 'Nicholas Tierney'
url: tierneyn.github.io
paginate: 100
paginate_path: "blog/page:num/"
# exclude the R Project
exclude: ["*.Rmd"]
exclude: ["*.Rproj"]
exclude: [".RData"]
exclude: [".Rhistory"]
|
Change to noarch build with python>=3.4 | {% set name = "singledispatchmethod" %}
{% set version = "1.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/singledispatchmethod-{{ version }}.tar.gz
sha256: 183a7fbeab53b9c9d182f8b8f9c2d7e109a7d40afaa30261d81dd8de68cd73bf
build:
script: {{ PYTHON }} -m pip install . -vv
number: 0
requirements:
host:
- pip
- python
- setuptools-scm
run:
- python
- singledispatch # [py<34]
test:
imports:
- singledispatchmethod
commands:
- pip check
requires:
- pip
about:
home: https://github.com/ikalnytskyi/singledispatchmethod
summary: Backport of @functools.singledispatchmethod to Python 2.7-3.7.
dev_url: https://github.com/ikalnytskyi/singledispatchmethod
license: BSD-4-Clause
license_file: LICENSE
extra:
recipe-maintainers:
- bmcconeghy
- asford
| {% set name = "singledispatchmethod" %}
{% set version = "1.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/singledispatchmethod-{{ version }}.tar.gz
sha256: 183a7fbeab53b9c9d182f8b8f9c2d7e109a7d40afaa30261d81dd8de68cd73bf
build:
noarch: python >=3.4
script: {{ PYTHON }} -m pip install . -vv
number: 0
requirements:
host:
- pip
- python
- setuptools-scm
run:
- python
test:
imports:
- singledispatchmethod
commands:
- pip check
requires:
- pip
about:
home: https://github.com/ikalnytskyi/singledispatchmethod
summary: Backport of @functools.singledispatchmethod to Python 2.7-3.7.
dev_url: https://github.com/ikalnytskyi/singledispatchmethod
license: BSD-4-Clause
license_file: LICENSE
extra:
recipe-maintainers:
- bmcconeghy
- asford
|
Use normative types ALIEN12 for release | tosca_definitions_version: alien_dsl_1_1_0
template_name: marathon-plugin-types
template_author: Alien 4 Cloud
template_version: ${project.version}
description: "Defines resources for marathon"
imports:
- tosca-normative-types:1.0.0-SNAPSHOT
node_types:
alien.nodes.marathon.Container:
derived_from: tosca.nodes.Container.Runtime | tosca_definitions_version: alien_dsl_1_1_0
template_name: marathon-plugin-types
template_author: Alien 4 Cloud
template_version: 1.0.0-SNAPSHOT
description: "Defines resources for marathon"
imports:
- tosca-normative-types:1.0.0-ALIEN12
node_types:
alien.nodes.marathon.Container:
derived_from: tosca.nodes.Container.Runtime
|
Use wagtail-ci image on Drone | image: kaedroho/django-base
script:
- python3.4 setup.py install
- pip3.4 install -r requirements-dev.txt
- python3.4 runtests.py
| image: wagtail-ci
script:
- python3.4 setup.py install
- pip3.4 install -r requirements-dev.txt
- python3.4 runtests.py
|
Add Python3 victoria unit tests | - project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- openstack-lower-constraints-jobs
- openstack-python3-ussuri-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3
| - project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- openstack-lower-constraints-jobs
- openstack-python3-victoria-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3
|
Add Python3 victoria unit tests | - project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- horizon-nodejs10-jobs
- openstack-lower-constraints-jobs-horizon
- openstack-python3-ussuri-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-py36:
voting: false
required-projects:
- openstack/horizon
| - project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- horizon-nodejs10-jobs
- openstack-lower-constraints-jobs-horizon
- openstack-python3-victoria-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-py36:
voting: false
required-projects:
- openstack/horizon
|
Replace make with mage in CircleCI build | defaults: &defaults
working_directory: /go/src/github.com/gohugoio
docker:
- image: bepsays/ci-goreleaser:0.34.2-1
version: 2
jobs:
build:
<<: *defaults
steps:
- checkout:
path: hugo
- run:
command: |
git clone git@github.com:gohugoio/hugoDocs.git
cd hugo
make vendor
make check
- persist_to_workspace:
root: .
paths: .
release:
<<: *defaults
steps:
- attach_workspace:
at: /go/src/github.com/gohugoio
- run:
command: |
cd hugo
git config --global user.email "bjorn.erik.pedersen+hugoreleaser@gmail.com"
git config --global user.name "hugoreleaser"
go run -tags release main.go release -r ${CIRCLE_BRANCH}
workflows:
version: 2
release:
jobs:
- build:
filters:
branches:
only: /release-.*/
- hold:
type: approval
requires:
- build
- release:
context: org-global
requires:
- hold
| defaults: &defaults
working_directory: /go/src/github.com/gohugoio
docker:
- image: bepsays/ci-goreleaser:0.34.2-1
version: 2
jobs:
build:
<<: *defaults
steps:
- checkout:
path: hugo
- run:
command: |
git clone git@github.com:gohugoio/hugoDocs.git
cd hugo
mage vendor
mage check
- persist_to_workspace:
root: .
paths: .
release:
<<: *defaults
steps:
- attach_workspace:
at: /go/src/github.com/gohugoio
- run:
command: |
cd hugo
git config --global user.email "bjorn.erik.pedersen+hugoreleaser@gmail.com"
git config --global user.name "hugoreleaser"
go run -tags release main.go release -r ${CIRCLE_BRANCH}
workflows:
version: 2
release:
jobs:
- build:
filters:
branches:
only: /release-.*/
- hold:
type: approval
requires:
- build
- release:
context: org-global
requires:
- hold
|
Add CI test for SyntaxMapBuilder on GitHub Action | name: Test
on: [push, pull_request]
jobs:
macOS:
runs-on: macOS-latest
steps:
- name: Show environments
run: |
sw_vers
xcodebuild -version
swift --version
- uses: actions/checkout@v1
- name: Checkout submodules
run: git submodule update --init
- name: Lint Swift
run: |
brew install swiftlint
swiftlint
- name: Unit Test
run: |
set -o pipefail
xcodebuild test -workspace CotEditor.xcworkspace -scheme CotEditor CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c
| name: Test
on: [push, pull_request]
jobs:
macOS:
runs-on: macOS-latest
steps:
- name: Show environments
run: |
sw_vers
xcodebuild -version
swift --version
- uses: actions/checkout@v1
- name: Checkout submodules
run: git submodule update --init
- name: Lint Swift
run: |
brew install swiftlint
swiftlint
- name: Unit Test
run: |
set -o pipefail
xcodebuild test -workspace CotEditor.xcworkspace -scheme CotEditor CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c
- name: Unit Test for SyntaxMapBuilder
run: |
cd SyntaxMapBuilder
swift build
swift test
|
Add more information about which compressed formats are supported in the unpack app PTV-976 | name : Unpack Staging File - v1.0.12
subtitle : Unpack A Staging Compressed File
tooltip : Unpack A Staging Compressed File
icon: data-orange.png
screenshots :
[]
suggestions :
apps:
related :
[]
next :
[]
methods:
related :
[]
next :
[]
parameters :
staging_file_subdir_path :
ui-name : File Path
short-hint : Staging file subdirectory file path
long-hint : Staging file subdirectory file path
description : |
<p> Unpack a staging compressed file. </p>
technical-description : none
| name : Unpack Staging File - v1.0.12
subtitle : Unpack A Staging Compressed File
tooltip : Unpack A Staging Compressed File
icon: data-orange.png
screenshots :
[]
suggestions :
apps:
related :
[]
next :
[]
methods:
related :
[]
next :
[]
parameters :
staging_file_subdir_path :
ui-name : File Path
short-hint : Staging file subdirectory file path
long-hint : Staging file subdirectory file path
description : |
<p> Unpack a staging compressed file. The apps recognizes compressed files in these formats: .zip, .gz, .bz2, .tar, .tar.gz, .tar.bz2.</p>
technical-description : none
|
Add Elasticsearch Kibana Sense to fucking amazing docker | version: '3'
services:
db:
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: dirty
web:
build:
context: .
dockerfile: ./Dockerfile/rails
command: puma
volumes:
- .:/usr/src/app
ports:
- "3000:3000"
depends_on:
- db
| version: '3'
services:
db:
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: dirty
web:
build:
context: .
dockerfile: ./Dockerfile/rails
command: puma
volumes:
- .:/usr/src/app
ports:
- "3000:3000"
depends_on:
- db
elasticsearch:
image: elasticsearch:2.4.6
ports:
- "9200:9200"
kibana:
image: kibana:4.6.5
ports:
- "5601:5601"
|
Update from Hackage at 2021-02-19T22:22:40Z | homepage: https://github.com/adamflott/network-types-icmp#readme
changelog-type: markdown
hash: a3a0d2f0beaebe0aa349054f5719e70f950c688903473bae7421906ecdbf3bc2
test-bench-deps:
network-types-icmp: -any
base: '>=4.7 && <5'
maintainer: adam@adamflott.com
synopsis: Types for representing ICMP and ICMPv6 messages.
changelog: |
# Changelog for network-types-icmp
## 1.0.0.1
* Fix description formatting and working Travis CI builds
## 1.0.0.0
* First Release
basic-deps:
base: '>=4.7 && <5'
all-versions:
- 1.0.0.0
- 1.0.0.1
- 1.0.0.2
author: Adam Flott
latest: 1.0.0.2
description-type: markdown
description: |
# network-types-icmp
license-name: BSD-3-Clause
| homepage: https://github.com/adamflott/network-types-icmp#readme
changelog-type: markdown
hash: 418fb1945b5f3fd17a6f96ca505ff596a55f1dfaa5052553592dcabe4572cdaa
test-bench-deps:
network-types-icmp: -any
base: '>=4.7 && <5'
maintainer: adam@adamflott.com
synopsis: Types for representing ICMP and ICMPv6 messages.
changelog: |
# Changelog for network-types-icmp
## 1.0.0.1
* Fix description formatting and working Travis CI builds
## 1.0.0.0
* First Release
basic-deps:
base: '>=4.7 && <5'
all-versions:
- 1.0.0.0
- 1.0.0.1
- 1.0.0.2
- 1.0.1
author: Adam Flott
latest: 1.0.1
description-type: markdown
description: |
# network-types-icmp
license-name: BSD-3-Clause
|
Move ci to pip from pip3 | ---
name: CI
on:
pull_request:
push:
branches:
- master
schedule:
- cron: "0 5 * * 0"
defaults:
run:
working-directory: cookiecutter-ansible-role
jobs:
pytest:
name: Pytest
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
with:
path: '{{ cookiecutter.project_name }}'
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Debug pip version
run: pip3 --version
- name: Install test dependencies.
run: pip3 install ansible molecule[docker] docker pytest pytest-testinfra
- name: Run Pytest
run: pytest -s
env:
PY_COLORS: '1'
| ---
name: CI
on:
pull_request:
push:
branches:
- master
schedule:
- cron: "0 5 * * 0"
defaults:
run:
working-directory: cookiecutter-ansible-role
jobs:
pytest:
name: Pytest
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
with:
path: '{{ cookiecutter.project_name }}'
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Debug pip version
run: pip --version
- name: Install test dependencies.
run: pip install ansible molecule[docker] docker pytest pytest-testinfra
- name: Run Pytest
run: pytest -s
env:
PY_COLORS: '1'
|
Drop Python 3.5 from testing | name: build ⚙️
on: [ push, pull_request ]
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
toxenv: [py35-sqlite, py36-sqlite, py37-sqlite, py38-sqlite]
env:
TOXENV: ${{ matrix.toxenv }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Setup Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements 📦
run: |
apt install -y libgeos-dev libpq-dev libxml2-dev libxslt1-dev libz-dev
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
pip3 install codecov tox
echo "TOXENV => $TOXENV"
- name: run unit tests ⚙️
run: tox -- --exitfirst -m unit
- name: run integration tests ⚙️
run: tox -- --exitfirst -m functional -k 'not harvesting'
- name: run unit coveralls ⚙️
run: codecov --disable search --flags unittests
- name: run integration coveralls ⚙️
run: codecov --disable search --flags integrationtests
- name: build docs 🏗️
run: cd docs && make html
- name: run flake8 ⚙️
run: flake8 pycsw
| name: build ⚙️
on: [ push, pull_request ]
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
toxenv: [py36-sqlite, py37-sqlite, py38-sqlite]
env:
TOXENV: ${{ matrix.toxenv }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Setup Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements 📦
run: |
apt install -y libgeos-dev libpq-dev libxml2-dev libxslt1-dev libz-dev
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
pip3 install codecov tox
echo "TOXENV => $TOXENV"
- name: run unit tests ⚙️
run: tox -- --exitfirst -m unit
- name: run integration tests ⚙️
run: tox -- --exitfirst -m functional -k 'not harvesting'
- name: run unit coveralls ⚙️
run: codecov --disable search --flags unittests
- name: run integration coveralls ⚙️
run: codecov --disable search --flags integrationtests
- name: build docs 🏗️
run: cd docs && make html
- name: run flake8 ⚙️
run: flake8 pycsw
|
Add x64 to AppVeyor build matrix | branches:
except:
- gh-pages
platform:
- x86
environment:
matrix:
- RUST_INSTALL_TRIPLE: i686-pc-windows-gnu
RUST_INSTALL_DIR: C:\Program Files (x86)\Rust
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-$Env:RUST_INSTALL_TRIPLE.exe"
- rust-nightly-i686-pc-windows-gnu.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%"
- cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin
- rustc --version
- cargo --version
build: false
test_script:
- cargo build --verbose
- cargo test --verbose
| branches:
except:
- gh-pages
platform:
- x86
- x64
environment:
matrix:
- RUST_INSTALL_TRIPLE: i686-pc-windows-gnu
RUST_INSTALL_DIR: C:\Program Files (x86)\Rust
- RUST_INSTALL_TRIPLE: x86_64-pc-windows-gnu
RUST_INSTALL_DIR: C:\Program Files\Rust
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-$Env:RUST_INSTALL_TRIPLE.exe"
- cmd: rust-nightly-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%"
- cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin
- rustc --version
- cargo --version
build: false
test_script:
- cargo build --verbose
- cargo test --verbose
|
Remove hard coded session handler | framework:
annotations:
cache: oro.cache.annotations
session:
handler_id: snc_redis.session.handler
doctrine:
orm:
entity_managers:
default:
metadata_cache_driver:
type: service
id: oro.cache.doctrine.metadata
query_cache_driver:
type: service
id: oro.cache.doctrine.query
config:
metadata_cache_driver:
type: service
id: oro.cache.doctrine.metadata.config
query_cache_driver:
type: service
id: oro.cache.doctrine.query.config
search:
metadata_cache_driver:
type: service
id: oro.cache.doctrine.metadata.search
query_cache_driver:
type: service
id: oro.cache.doctrine.query.search
snc_redis:
clients: # configure phpredis clients
default:
type: predis
alias: default
dsn: '%redis_dsn_cache%'
doctrine:
type: predis
alias: doctrine
dsn: '%redis_dsn_doctrine%'
session:
type: predis
alias: session
dsn: '%redis_dsn_session%'
session: # configure sessions
client: session
prefix: session
use_as_default: true
jms_serializer:
metadata:
cache: Metadata\Cache\DoctrineCacheAdapter
| framework:
annotations:
cache: oro.cache.annotations
doctrine:
orm:
entity_managers:
default:
metadata_cache_driver:
type: service
id: oro.cache.doctrine.metadata
query_cache_driver:
type: service
id: oro.cache.doctrine.query
config:
metadata_cache_driver:
type: service
id: oro.cache.doctrine.metadata.config
query_cache_driver:
type: service
id: oro.cache.doctrine.query.config
search:
metadata_cache_driver:
type: service
id: oro.cache.doctrine.metadata.search
query_cache_driver:
type: service
id: oro.cache.doctrine.query.search
snc_redis:
clients: # configure phpredis clients
default:
type: predis
alias: default
dsn: '%redis_dsn_cache%'
doctrine:
type: predis
alias: doctrine
dsn: '%redis_dsn_doctrine%'
session:
type: predis
alias: session
dsn: '%redis_dsn_session%'
session: # configure sessions
client: session
prefix: session
use_as_default: true
jms_serializer:
metadata:
cache: Metadata\Cache\DoctrineCacheAdapter
|
Add the chat_service and slack_domain vars | ---
site_name: addis
ansible_user: ubuntu
prerequisites:
Debian:
- vim
- make
- git
- python-pip
- python-setuptools
- python-dev
- libssl-dev
- gcc
- nano
- joe
RedHat:
- vim
- make
- git
- python-pip
- python-setuptools
- python-devel
- gcc
# Add participants in this list - it is used to set up the machines for them.
# - name: Bruce Becker
# org: CSIR
# username: brucellino
# git:
# name: Bruce Becker
# email: brucellino@gmail.com
# editor: vim
# github: brucellino
participants:
- name: Bruce Becker # Real name of the person
org: CSIR # Organisation/team they work in
username: brucellino # username on the lab machine
github: brucellino # github user account
git: # git configuration on the lab machines
user:
name: Bruce Becker
email: brucellino@gmail.com
core:
editor:
name: vim
package:
RedHat: vim
Debian: vim
| ---
site_name: addis
slack_domain: africa-arabia-roc
ansible_user: ubuntu
chat_service: slack # or rocket chat
prerequisites:
Debian:
- vim
- make
- git
- python-pip
- python-setuptools
- python-dev
- libssl-dev
- gcc
- nano
- joe
RedHat:
- vim
- make
- git
- python-pip
- python-setuptools
- python-devel
- gcc
# Add participants in this list - it is used to set up the machines for them.
# - name: Bruce Becker
# org: CSIR
# username: brucellino
# git:
# name: Bruce Becker
# email: brucellino@gmail.com
# editor: vim
# github: brucellino
participants:
- name: Bruce Becker # Real name of the person
org: CSIR # Organisation/team they work in
username: brucellino # username on the lab machine
github: brucellino # github user account
git: # git configuration on the lab machines
user:
name: Bruce Becker
email: brucellino@gmail.com
core:
editor:
name: vim
package:
RedHat: vim
Debian: vim
|
Make time format more legible, fix minutes | # Sample localization file for English. Add more files in this directory for other locales.
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
date:
formats:
govuk_date: "%-e %B %Y" # 1 January 2013 - https://www.gov.uk/design-principles/style-guide/style-points#style-dates-and-times
time:
formats:
govuk_date: "%-e %B %Y %-I:%m%P" # 1 January 2013 1:15pm
mappings:
not_possible_to_edit_homepage_mapping: 'It’s not currently possible to edit the mapping for a site’s homepage.'
bulk:
http_status_invalid: 'Please select either redirect or archive'
new_url_invalid: 'Enter a valid URL to redirect to'
add:
paths_empty: 'Enter at least one valid path'
hosts_invalid: 'One or more of the URLs entered are not part of this site'
success:
all_created: '%{created}%{tagged_with}. 0 mappings updated.'
some_updated: '%{created} and %{updated}. All %{tagged_with}.'
edit:
mappings_empty: 'No mappings were selected'
tag_list_empty: "No tags were given"
| # Sample localization file for English. Add more files in this directory for other locales.
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
date:
formats:
govuk_date: "%-e %B %Y" # 1 January 2013 - https://www.gov.uk/design-principles/style-guide/style-points#style-dates-and-times
time:
formats:
govuk_date: "%-I:%M%P, %-e %B %Y" # 1:15pm, 1 January 2013
mappings:
not_possible_to_edit_homepage_mapping: 'It’s not currently possible to edit the mapping for a site’s homepage.'
bulk:
http_status_invalid: 'Please select either redirect or archive'
new_url_invalid: 'Enter a valid URL to redirect to'
add:
paths_empty: 'Enter at least one valid path'
hosts_invalid: 'One or more of the URLs entered are not part of this site'
success:
all_created: '%{created}%{tagged_with}. 0 mappings updated.'
some_updated: '%{created} and %{updated}. All %{tagged_with}.'
edit:
mappings_empty: 'No mappings were selected'
tag_list_empty: "No tags were given"
|
Remove cryptography version limit in Azure tests. | - name: install cryptography requirement
# preempt the installation of cryptography from requirements-azure.txt to limit the version installed
# requests[security] requires cryptography >= 1.3.4
# cryptography 2.1 requires pip 8.1.2+
command: pip install cryptography>=1.3.4,<2.1
- pip:
requirements: '{{ role_path }}/../../../../packaging/requirements/requirements-azure.txt'
| - pip:
requirements: '{{ role_path }}/../../../../packaging/requirements/requirements-azure.txt'
|
Switch to a matrix build style. | sudo: false
language: python
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py32
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
- TOX_ENV=runner
- TOX_ENV=flake8
- TOX_ENV=integration
- TOX_ENV=coverage
- TOX_ENV=language_ar
- TOX_ENV=language_de
- TOX_ENV=language_es
- TOX_ENV=language_fr
- TOX_ENV=language_it
- TOX_ENV=language_ja
- TOX_ENV=language_nl
- TOX_ENV=language_pt
- TOX_ENV=language_ru
install:
- pip install tox
script: tox -e $TOX_ENV
| sudo: false
language: python
matrix:
include:
- os: linux
python: 2.6
env: TOX_ENV=py26
install:
- pip install tox
script: tox -e $TOX_ENV
|
Remove redundant lockscreen unlock commands, restructure commands | machine:
java:
version: openjdk8
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter tools,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository,android-23
- echo y | android update sdk --no-ui --all --filter build-tools-23.0.2
test:
pre:
# start the emulator
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
# wait for it to have booted
- circle-android wait-for-boot
override:
- fb-adb start-server:
background: true
- ./gradlew test assembleDebug --console=plain
# Unlock the lockscreen on the emulator
- fb-adb shell input keyevent 82
- fb-adb shell input keyevent 92
- ./gradlew connectedAndroidTest --console=plain
post:
- cp -r app/build/outputs $CIRCLE_ARTIFACTS
# copy the test results to the test results directory.
- find app/build/test-results -name "*.xml" -exec cp {} $CIRCLE_TEST_REPORTS/ \;
- cp -r app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS
| machine:
java:
version: openjdk8
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter tools,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository,android-23
- echo y | android update sdk --no-ui --all --filter build-tools-23.0.2
test:
pre:
# start the emulator
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
override:
- fb-adb start-server:
background: true
# Run robolectric tests, build the apk, and build the test apk for running
# the espresso tests
- ./gradlew test assembleDebug assembleDebugAndroidTest --console=plain
# wait for the emulator to have booted
- circle-android wait-for-boot
# Run espresso tests
- ./gradlew connectedAndroidTest --console=plain
post:
- cp -r app/build/outputs $CIRCLE_ARTIFACTS
# copy the test results to the test results directory.
- find app/build/test-results -name "*.xml" -exec cp {} $CIRCLE_TEST_REPORTS/ \;
- cp -r app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS
|
Build after creating secret file | machine:
pre:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
- docker -v
timezone: Asia/Tokyo
services:
- docker
dependencies:
cache_directories:
- ~/.docker
pre:
- sudo pip install docker-compose
override:
- docker-compose build
test:
pre:
- mkdir -p $HOME/$GITHUB_REPONAME/.secret
- echo $GCLOUD_ACCOUNT_JSON | base64 --decode > $HOME/$GITHUB_REPONAME/.secret/gcloud.json
override:
- ./bin/test
deployment:
release:
branch: release
commands:
- docker-compose run app ./bin/release
| machine:
pre:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
- docker -v
timezone: Asia/Tokyo
services:
- docker
dependencies:
cache_directories:
- ~/.docker
pre:
- sudo pip install docker-compose
test:
pre:
- mkdir -p $HOME/$GITHUB_REPONAME/.secret
- echo $GCLOUD_ACCOUNT_JSON | base64 --decode > $HOME/$GITHUB_REPONAME/.secret/gcloud.json
- docker-compose build
override:
- ./bin/test
deployment:
release:
branch: release
commands:
- docker-compose run app ./bin/release
|
Add automated heroku deployment to CI | dependencies:
pre:
# Replace default bundler version, which is a bit older
- yes y | gem uninstall bundler
- gem install bundler --pre
post:
- npm run build
machine:
# Ruby version specified in .ruby-version
node:
version: 7.5.0
test:
override:
# Generate junit xml reports that can be read by CircleCI
- bundle exec rake test TESTOPTS="--ci-dir=$CIRCLE_TEST_REPORTS/reports":
parallel: true
files:
- test/**/*_test.rb
| dependencies:
pre:
# Replace default bundler version, which is a bit older
- yes y | gem uninstall bundler
- gem install bundler --pre
post:
- npm run build
deployment:
staging:
branch: master
heroku:
appname: cs1332qna
machine:
# Ruby version specified in .ruby-version
node:
version: 7.5.0
test:
override:
# Generate junit xml reports that can be read by CircleCI
- bundle exec rake test TESTOPTS="--ci-dir=$CIRCLE_TEST_REPORTS/reports":
parallel: true
files:
- test/**/*_test.rb
|
Use variables to more effectively control flow | ---
- hosts: all
tasks:
- name: Download Couchbase deb
get_url: url=http://packages.couchbase.com/releases/2.2.0/couchbase-server-community_2.2.0_x86_64.deb
dest=~/.
- name: Install Couchbase deb
command: /usr/bin/dpkg -i ~/couchbase-server-community_2.2.0_x86_64.deb
creates=/opt/couchbase | ---
- hosts: all
tasks:
- name: Check if Couchbase is installed
command: /usr/bin/dpkg-query -l couchbase-server
register: couchbase_check
failed_when: "couchbase_check.rc not in (0, 1)"
changed_when: False
- name: Download Couchbase deb
get_url: url=http://packages.couchbase.com/releases/2.2.0/couchbase-server-community_2.2.0_x86_64.deb
dest=~/.
when: couchbase_check.rc == 1
- name: Install Couchbase deb
command: /usr/bin/dpkg -i ~/couchbase-server-community_2.2.0_x86_64.deb
when: couchbase_check.rc == 1 |
Remove the default DB and users from mysql | ---
- name: Install MariaDB repo for CentOS 7
copy: src=../files/centos7.repo dest=/etc/yum.repos.d/mariadb.repo
tags:
- mariadb
- name: Install MariaDB server and client
action: yum name={{ item }}
with_items:
- MariaDB-server
- MariaDB-client
tags:
- mariadb
- name: Start the MariaDB service
action: service name=mariadb state=started
tags:
- mariadb
| ---
- name: Install MariaDB repo for CentOS 7
copy: src=../files/centos7.repo dest=/etc/yum.repos.d/mariadb.repo
tags:
- mariadb
- name: Install MariaDB server and client
action: yum name={{ item }}
with_items:
- MariaDB-server
- MariaDB-client
tags:
- mariadb
# 'localhost' needs to be the last item for idempotency, see
# http://ansible.cc/docs/modules.html#mysql-user
- name: update mysql root password for all root accounts
mysql_user: name=root host={{ item }} password={{ mysql_root_password }}
with_items:
- {{ ansible_hostname }}
- 127.0.0.1
- ::1
- localhost
- name: delete anonymous MySQL server user for $server_hostname
action: mysql_user user="" host="{{ server_hostname }}" state="absent"
- name: delete anonymous MySQL server user for localhost
action: mysql_user user="" state="absent"
- name: remove the MySQL test database
action: mysql_db db=test state=absent
- name: Start the MariaDB service
action: service name=mariadb state=started
tags:
- mariadb
|
Remove threads from coverage until re-enabled | coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
threshold: 0.1%
patch:
default:
threshold: 50%
changes: false
ignore:
- examples
- tests
- scripts
# Auto-generated files
- include/occa/kernelOperators.hpp
- src/kernelOperators.cpp
- src/tools/runFunction.cpp
# Exception is not tracked properly
- src/tools/exception.cpp
# Modes that can't be tested with Travis
- include/occa/modes/opencl
- include/occa/modes/cuda
- include/occa/modes/hip
- src/modes/opencl
- src/modes/cuda
- src/modes/hip
comment:
layout: 'reach, diff, files'
behavior: default
require_changes: false
require_base: no
require_head: yes
branches: null
| coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
threshold: 0.1%
patch:
default:
threshold: 50%
changes: false
ignore:
- examples
- tests
- scripts
# Auto-generated files
- include/occa/kernelOperators.hpp
- src/kernelOperators.cpp
- src/tools/runFunction.cpp
# Exception is not tracked properly
- src/tools/exception.cpp
# Disabled modes
- include/occa/modes/threads
- src/modes/threads
# Modes that can't be tested with Travis
- include/occa/modes/opencl
- include/occa/modes/cuda
- include/occa/modes/hip
- src/modes/opencl
- src/modes/cuda
- src/modes/hip
comment:
layout: 'reach, diff, files'
behavior: default
require_changes: false
require_base: no
require_head: yes
branches: null
|
Fix wrong namespace for the HABTM cop | inherit_from: .rubocop_todo.yml
AllCops:
Exclude:
- spec/dummy/**/*
- tmp/**/*
- vendor/**/*
- bin/*
TargetRubyVersion: 2.3
# Style cops
Style/ExtraSpacing:
Enabled: false
Style/AutoResourceCleanup:
Enabled: true
Style/CollectionMethods:
Enabled: true
Style/Send:
Enabled: true
Style/StringMethods:
Enabled: true
Style/SymbolArray:
Enabled: true
Style/Documentation:
Exclude:
- spec/**/*
- app/**/*
- db/migrate/*
Style/BlockDelimiters:
Exclude:
- spec/**/*
Style/SpecialGlobalVars:
EnforcedStyle: use_english_names
Style/HasAndBelongsToMany:
Enabled: false
# Metrics cops
Metrics/LineLength:
AllowURI: true
IgnoreCopDirectives: true
Metrics/BlockLength:
Exclude:
- spec/**/*
| inherit_from: .rubocop_todo.yml
AllCops:
Exclude:
- spec/dummy/**/*
- tmp/**/*
- vendor/**/*
- bin/*
TargetRubyVersion: 2.3
# Style cops
Style/ExtraSpacing:
Enabled: false
Style/AutoResourceCleanup:
Enabled: true
Style/CollectionMethods:
Enabled: true
Style/Send:
Enabled: true
Style/StringMethods:
Enabled: true
Style/SymbolArray:
Enabled: true
Style/Documentation:
Exclude:
- spec/**/*
- app/**/*
- db/migrate/*
Style/BlockDelimiters:
Exclude:
- spec/**/*
Style/SpecialGlobalVars:
EnforcedStyle: use_english_names
# Metrics cops
Metrics/LineLength:
AllowURI: true
IgnoreCopDirectives: true
Metrics/BlockLength:
Exclude:
- spec/**/*
# Rails-specific cops
Rails/HasAndBelongsToMany:
Enabled: false
|
Improve CI build times through smarter caching | name: "build protobufs"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
env:
BAZEL: bazelisk-linux-amd64
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Mount bazel cache
uses: actions/cache@v2
with:
path: "~/.cache/bazel" # See https://docs.bazel.build/versions/master/output_directories.html
key: bazel
- name: Install bazelisk
run: |
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.4.0/$BAZEL"
chmod +x $BAZEL
sudo mv $BAZEL /usr/local/bin/bazel
- name: Build proto/
run: cd proto && bazel build //...
- name: Build bazel/example/
run: cd bazel/example/ && bazel build //...
| name: "build protobufs"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
env:
BAZEL: bazelisk-linux-amd64
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Mount bazel cache
uses: actions/cache@v2
with:
# See https://docs.bazel.build/versions/master/output_directories.html
path: "~/.cache/bazel"
# Create a new cache entry whenever Bazel files change.
# See https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
key: ${{ runner.os }}-build-${{ hashFiles('**/*.bzl', '**/*.bazel') }}
restore-keys: |
${{ runner.os }}-build-
- name: Install bazelisk
run: |
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.4.0/$BAZEL"
chmod +x $BAZEL
sudo mv $BAZEL /usr/local/bin/bazel
- name: Build proto/
run: cd proto && bazel build //...
- name: Build bazel/example/
run: cd bazel/example/ && bazel build //...
|
Rollback ubuntu for qemu to not segfault | name: CI
on:
push:
tags:
- '*'
jobs:
test:
strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4']
runs-on: ubuntu-latest
name: PHP ${{ matrix.php-versions }} Tests
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
extension-csv: bcmath, mbstring
coverage: xdebug
- name: Check PHP Version
run: php -v
- name: Check Composer Version
run: composer -V
- name: Install Dependencies
run: composer install --prefer-dist
- name: Tests
run: composer phpunit
- name: Building artifacts
run: |
composer phpcs || true
composer phploc || true
composer phpcpd || true
composer phpmd || true
- name: Archive build artifacts
uses: actions/upload-artifact@v1
with:
name: build
path: build
| name: CI
on:
push:
tags:
- '*'
jobs:
test:
strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4']
runs-on: ubuntu-16.04
name: PHP ${{ matrix.php-versions }} Tests
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
extension-csv: bcmath, mbstring
coverage: xdebug
- name: Check PHP Version
run: php -v
- name: Check Composer Version
run: composer -V
- name: Install Dependencies
run: composer install --prefer-dist
- name: Tests
run: composer phpunit
- name: Building artifacts
run: |
composer phpcs || true
composer phploc || true
composer phpcpd || true
composer phpmd || true
- name: Archive build artifacts
uses: actions/upload-artifact@v1
with:
name: build
path: build
|
Upgrade circleci to use haskell/build 1.6.0 | version: 2.1
orbs:
haskell: haskell-works/haskell-build@1.5.3
github: haskell-works/github-release@1.2.1
hackage: haskell-works/hackage@1.0.0
workflows:
multiple-ghc-build:
jobs:
- haskell/build:
name: GHC 8.2.2
executor: haskell/ghc-8_2_2
- haskell/build:
name: GHC 8.4.4
executor: haskell/ghc-8_4_4
- haskell/build:
name: GHC 8.6.3
executor: haskell/ghc-8_6_3
- github/release-cabal:
name: GitHub Release
requires:
- GHC 8.2.2
- GHC 8.4.4
- GHC 8.6.3
checkout: true
filters:
branches:
only: master
- hackage/upload:
publish: true
requires:
- GitHub Release
username: ${HACKAGE_USER}
password: ${HACKAGE_PASS}
| version: 2.1
orbs:
haskell: haskell-works/haskell-build@1.6.0
github: haskell-works/github-release@1.2.1
hackage: haskell-works/hackage@1.0.0
workflows:
multiple-ghc-build:
jobs:
- haskell/build:
name: GHC 8.2.2
executor: haskell/ghc-8_2_2
- haskell/build:
name: GHC 8.4.4
executor: haskell/ghc-8_4_4
- haskell/build:
name: GHC 8.6.3
executor: haskell/ghc-8_6_3
- github/release-cabal:
name: GitHub Release
requires:
- GHC 8.2.2
- GHC 8.4.4
- GHC 8.6.3
checkout: true
filters:
branches:
only: master
- hackage/upload:
publish: true
requires:
- GitHub Release
username: ${HACKAGE_USER}
password: ${HACKAGE_PASS}
|
Rename a CI job name because it builds nothing | version: 2
jobs:
build:
docker:
- image: node:alpine
steps:
- checkout
- restore_cache:
key: eslint-alpine
- run:
name: Install ESLint
command: npm install eslint
- save_cache:
paths:
- ./node_modules
- ./package-lock.json
key: eslint-alpine-{{ checksum "./package-lock.json" }}
- run:
name: OS release
command: cat /etc/os-release
- run:
name: Node.js version
command: node --version
- run:
name: ESLint version
command: npx eslint --version
- run:
name: Run ESLint
command: npx eslint -- ./*.js
| version: 2
jobs:
lint:
docker:
- image: node:alpine
steps:
- checkout
- restore_cache:
key: eslint-alpine
- run:
name: Install ESLint
command: npm install eslint
- save_cache:
paths:
- ./node_modules
- ./package-lock.json
key: eslint-alpine-{{ checksum "./package-lock.json" }}
- run:
name: OS release
command: cat /etc/os-release
- run:
name: Node.js version
command: node --version
- run:
name: ESLint version
command: npx eslint --version
- run:
name: Run ESLint
command: npx eslint -- ./*.js
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.