Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add Ruby 2.1.0 to Travis config | gemfile:
- gemfiles/Gemfile.rails-3.0
- gemfiles/Gemfile.rails-3.1
- gemfiles/Gemfile.rails-3.2
- gemfiles/Gemfile.rails-4.0
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx | gemfile:
- gemfiles/Gemfile.rails-3.0
- gemfiles/Gemfile.rails-3.1
- gemfiles/Gemfile.rails-3.2
- gemfiles/Gemfile.rails-4.0
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx
|
Fix Travis config for new Coveralls Maven plugin | language: java
jdk:
- oraclejdk7
- openjdk7
after_success:
- mvn clean test jacoco:report coveralls:jacoco
env:
secure: "mWzxU4KxZyEcHWxU56odTq1CyA4mYVJkHBJsqjkqRIgPa9pTl9oYlsZ7XM1g8W909aZG0olP0/lzp8dw/bo6xE0/eI06mMAkDalEICPOTCZ8VZYV1I+SV1iHyYnB05QUKYoTnzLk7tjo39D9xGnGpVZB9r6ARZalpPz7OwBdus4=" | language: java
jdk:
- oraclejdk7
- openjdk7
after_success:
- mvn clean test jacoco:report coveralls:report
env:
secure: "mWzxU4KxZyEcHWxU56odTq1CyA4mYVJkHBJsqjkqRIgPa9pTl9oYlsZ7XM1g8W909aZG0olP0/lzp8dw/bo6xE0/eI06mMAkDalEICPOTCZ8VZYV1I+SV1iHyYnB05QUKYoTnzLk7tjo39D9xGnGpVZB9r6ARZalpPz7OwBdus4=" |
Remove node versions prior to 0.8 | language: node_js
node_js:
- "0.4"
- "0.6"
- "0.8"
- "0.10"
- "0.12"
- "4.0"
- "4.1"
notifications:
email:
- donovan@donovan.bz
| language: node_js
node_js:
- "0.8"
- "0.10"
- "0.12"
- "4.0"
- "4.1"
notifications:
email:
- donovan@donovan.bz
|
Revert "Test against php 7.4" | language: php
php:
- 7.2
- 7.3
- 7.4
install:
- travis_retry composer install --no-interaction
script:
- vendor/bin/phpunit --coverage-clover clover.xml
after_script:
- bash <(curl -s https://codecov.io/bash)
| language: php
php:
- 7.2
- 7.3
install:
- travis_retry composer install --no-interaction
script:
- vendor/bin/phpunit --coverage-clover clover.xml
after_script:
- bash <(curl -s https://codecov.io/bash)
|
Remove support for Node.js 0.10 | language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '0.10'
| language: node_js
node_js:
- '5'
- '4'
- '0.12'
|
Add 2.1.0 to supported rubies. | ruby:
- '2.0.0'
- '1.9.3'
- jruby-19mode
- rbx-19mode
install: bundle install
script: SKIP_COV=1 bundle exec rspec spec
| ruby:
- '2.1.0'
- '2.0.0'
- '1.9.3'
- jruby-19mode
- rbx-19mode
install: bundle install
script: SKIP_COV=1 bundle exec rspec spec
|
Remove PHP 5.5 from Travis. | language: php
php:
- 7.0
- 5.5
- 5.6
- 7.1
dist: trusty
env:
global:
- DEFAULT=1
cache:
directories:
- vendor
- $HOME/.composer/cache
before_script:
- composer install --prefer-dist --no-interaction
script:
- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.0 ]]; then export CODECOVERAGE=1; vendor/bin/phpunit --coverage-clover=clover.xml; fi
- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION != 7.0 ]]; then vendor/bin/phpunit; fi
after_success:
- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.0 ]]; then bash <(curl -s https://codecov.io/bash); fi
notifications:
email: true
| language: php
php:
- 7.0
- 5.6
- 7.1
dist: trusty
env:
global:
- DEFAULT=1
cache:
directories:
- vendor
- $HOME/.composer/cache
before_script:
- composer install --prefer-dist --no-interaction
script:
- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.0 ]]; then export CODECOVERAGE=1; vendor/bin/phpunit --coverage-clover=clover.xml; fi
- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION != 7.0 ]]; then vendor/bin/phpunit; fi
after_success:
- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.0 ]]; then bash <(curl -s https://codecov.io/bash); fi
notifications:
email: true
|
Remove PHP 5.5 and HHVM tests | language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
before_install:
- pip install --user codecov
after_success:
- codecov
| language: php
php:
- 5.6
- 7.0
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
before_install:
- pip install --user codecov
after_success:
- codecov
|
Remove nightly from python tests Most likely a temporary change until a more permanant solution can be found | language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "nightly"
cache: pip
install: "pip install -e .[dev]"
script:
pytest --cov=mlbgame
after_success:
coveralls
notifications:
email: false
| language: python
python:
- "2.7"
- "3.5"
- "3.6"
cache: pip
install: "pip install -e .[dev]"
script:
pytest --cov=mlbgame
after_success:
coveralls
notifications:
email: false
|
Use ninja backend on OSX CI builds. | sudo: required
os:
- linux
- osx
language:
- cpp
services:
- docker
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja python3; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker pull jpakkane/mesonci:xenial; fi
# We need to copy the current checkout inside the Docker container,
# because it has the MR id to be tested checked out.
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo FROM jpakkane/mesonci:xenial > Dockerfile; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo ADD . /root >> Dockerfile; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker build -t withgit .; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run withgit /bin/sh -c "cd /root && ./run_tests.py"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./run_tests.py ; fi
| sudo: required
os:
- linux
- osx
language:
- cpp
services:
- docker
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja python3; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker pull jpakkane/mesonci:xenial; fi
# We need to copy the current checkout inside the Docker container,
# because it has the MR id to be tested checked out.
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo FROM jpakkane/mesonci:xenial > Dockerfile; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo ADD . /root >> Dockerfile; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker build -t withgit .; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run withgit /bin/sh -c "cd /root && ./run_tests.py"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./run_tests.py --backend=ninja ; fi
|
Make sudo: false explicit, as sudo otherwise depends on when the repo was added to Travis | language: python
cache: pip
python:
- "3.6"
env:
- BASEDIR="https://raw.githubusercontent.com/open-contracting/standard-maintenance-scripts/master"
install:
- curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
- pip install .
script:
- curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash -
- python -m unittest discover
| sudo: false
language: python
cache: pip
python:
- "3.6"
env:
- BASEDIR="https://raw.githubusercontent.com/open-contracting/standard-maintenance-scripts/master"
install:
- curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
- pip install .
script:
- curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash -
- python -m unittest discover
|
Add py.test to Travis CI | # Travis CI script
language: python
python: "2.7"
# Command to install dependencies
install: "pip install -r requirements.txt"
| # Travis CI script
language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
script: py.test |
Add python 3.7 env to test | language: python
python:
#- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
install:
- "python setup.py install"
script: nosetests
| language: python
python:
#- "3.4"
- "3.5"
- "3.6"
- "3.7"
# command to install dependencies
install:
- "python setup.py install"
script: nosetests
|
Remove python 3.2 and 3.3 from Travis list | language: python
dist: xenial
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y build-essential python-dev python3-dev
install:
- pip install cython
before_script: cd bindings/python
script: python setup.py test | language: python
dist: xenial
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y build-essential python-dev python3-dev
install:
- pip install cython
before_script: cd bindings/python
script: python setup.py test |
Fix validation errors in Travis config | language: php
php:
- 5.4
- 5.5
- 7.0
- hhvm
env:
- WP_VERSION=master
- WP_VERSION=4.2
global:
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
- WP_CLI_CONFIG_PATH=/tmp/wp-cli-phar/config.yml
matrix:
# Nice-to-haves for right now, but not worth considering the build "broken"
allow_failures:
- php: 7.0
- php: hhvm
before_script:
- composer install
- bash ./bin/install-package-tests.sh
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- ./vendor/bin/test-reporter
- ./vendor/bin/phpcs
- ./vendor/bin/behat
cache:
directories:
- vendor/
notifications:
email: false | language: php
php:
- 5.4
- 5.5
- 7.0
- hhvm
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.2
matrix:
# Nice-to-haves for right now, but not worth considering the build "broken"
allow_failures:
- php: 7.0
- php: hhvm
before_script:
- composer install
- bash ./bin/install-package-tests.sh
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- ./vendor/bin/test-reporter
- ./vendor/bin/phpcs
- ./vendor/bin/behat
cache:
directories:
- vendor/
notifications:
email: false |
Add OpenJDK 12 to Travis builds. | # 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
jdk:
- oraclejdk8
- oraclejdk11
- openjdk8
- openjdk11
- openjdk-ea
after_success:
- mvn -B -V clean test jacoco:report coveralls:report -Ptravis-jacoco
| # 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
jdk:
- oraclejdk8
- oraclejdk11
- openjdk8
- openjdk11
- openjdk12
- openjdk-ea
after_success:
- mvn -B -V clean test jacoco:report coveralls:report -Ptravis-jacoco
|
Bring jRuby back into the fold | rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- jruby-18mode
- jruby-19mode
script: "bundle exec rake test"
gemfile:
- Gemfile
- Gemfile-3.1
env: TEST=true
matrix:
allow_failures:
- rvm: jruby-18mode
- rvm: jruby-19mode | rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- jruby-18mode
- jruby-19mode
script: "bundle exec rake test"
gemfile:
- Gemfile
- Gemfile-3.1
env: TEST=true
|
Upgrade npm to latest on Travis. | language: node_js
node_js:
- 'stable'
# Use containers.
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
| language: node_js
node_js:
- 'stable'
# Use containers.
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
before_install:
- npm i -g npm
|
Add tests for OSX on TravisCI. | ---
language: python
python: "2.7"
# This role needs sudo, thus we can't use the new container infrastructure
# sudo: false
sudo: required
services:
- docker
# Install ansible
addons:
apt:
packages:
- python-pip
install:
# Install ansible
- pip install ansible
# Check ansible version
- ansible --version
# Resolve dependencies(When target role isn't installed via Ansible Galaxy, auto resolution of dependencies doesn't occur.
- ansible-galaxy install FGtatsuro.python-requirements futurice.pip
before_script:
- docker run -it -d --name container python:2 /bin/bash
# Workaround: Docker connection plugin of Ansible requires that
# Python is installed at specified path(/usr/bin/python) in the target container
- docker exec container ln -s /usr/local/bin/python /usr/bin/python
script:
# Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
# - ansible-playbook tests/test.yml -i tests/inventory -l localhost --connection=local -vvvv
- ansible-playbook tests/test.yml -i tests/inventory -l container --connection=docker -vvvv
- bundle install
# - bundle exec rake spec SPEC_TARGET=localhost
- bundle exec rake spec SPEC_TARGET=container
after_script:
- docker rm -f container
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
| ---
# https://docs.travis-ci.com/user/multi-os/
matrix:
include:
- os: osx
language: generic
env:
- TARGET=localhost
- CONNECTION=local
- os: linux
dist: trusty
language: python
python: 2.7
services:
- docker
addons:
apt:
packages:
- python-pip
before_script:
- docker run -it -d --name container python:2 /bin/bash
# Workaround: Docker connection plugin of Ansible requires that
# Python is installed at specified path(/usr/bin/python) in the target container
- docker exec container ln -s /usr/local/bin/python /usr/bin/python
after_script:
- docker rm -f container
env:
- TARGET=container
- CONNECTION=docker
# This role needs sudo, thus we can't use the new container infrastructure
# sudo: false
sudo: required
install:
- pip install ansible
# Resolve dependencies(When target role isn't installed via Ansible Galaxy, auto resolution of dependencies doesn't occur.
- ansible-galaxy install FGtatsuro.python-requirements futurice.pip
script:
# Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
- ansible-playbook tests/test.yml -i tests/inventory -l ${TARGET} --connection=${CONNECTION} -vvvv
- bundle install
- bundle exec rake spec SPEC_TARGET=${TARGET}
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
Use Ruby 2.2.0 on CI | language:
- ruby
rvm:
- 2.1.5
branches:
only:
- master
| branches:
only:
- master
cache:
- bundler
language:
- ruby
rvm:
- 2.2.0
|
Add setup.py build command and fix call to make for bindings. | language: cpp
branches:
only:
- travis
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.9','zlib1g-dev','wget','python-dev']
env:
- COMPILER=g++-4.9
before_install:
- wget https://github.com/AdolfVonKleist/packages/raw/master/Ubuntu-14.04/debs/openfst_1.6.2_amd64-trusty.deb
- sudo dpkg -i openfst_1.6.2_amd64-trusty.deb
script:
cd src; ./configure; make CXX=$COMPILER -j2; make CXX=$COMPILER -j2 python-bindings; bin/phonetisaurus-g2pfst --help
| language: cpp
branches:
only:
- travis
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.9','zlib1g-dev','wget','python-dev']
env:
- COMPILER=g++-4.9
before_install:
- wget https://github.com/AdolfVonKleist/packages/raw/master/Ubuntu-14.04/debs/openfst_1.6.2_amd64-trusty.deb
- sudo dpkg -i openfst_1.6.2_amd64-trusty.deb
script:
cd src; ./configure; make CXX=$COMPILER -j2; \
make CXX=$COMPILER -j2 phonetisaurus-binding; \
bin/phonetisaurus-g2pfst --help; cd ../; python setup.py build
|
Support Python 3.4 and 3.5. | language: python
python:
- 2.7
- 3.3
install:
- pip install -r dev-requirements.txt
- pip install -e .
script:
# Normal unit tests.
- ./setup.py test
# Code quality check.
- pylint apyori.py test/*.py
notifications:
- email: false
| language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
install:
- pip install -r dev-requirements.txt
- pip install -e .
script:
# Normal unit tests.
- ./setup.py test
# Code quality check.
- pylint apyori.py test/*.py
notifications:
- email: false
|
Update from Hackage at 2019-09-16T15:16:50Z | homepage: ''
changelog-type: markdown
hash: 5d13c74cc134ed6698b6a1602c27f417c100206a55a5c3dc95ad46c299fae2a3
test-bench-deps: {}
maintainer: domen@dev.si
synopsis: Automation of Haskell package release process
changelog: |
# Revision history for releaser
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
regex-pcre: -any
Cabal: -any
base: ! '>=4.7 && <5'
releaser: -any
process: -any
pretty-terminal: -any
all-versions:
- 0.1.0.0
author: Domen Kozar
latest: 0.1.0.0
description-type: haddock
description: ''
license-name: Apache-2.0
| homepage: ''
changelog-type: markdown
hash: 7dcbbcdf6e86cf9fc2d41627fd029d6fa7e2b5706c95fc5f9b355d12d05dc3ce
test-bench-deps: {}
maintainer: domen@dev.si
synopsis: Automation of Haskell package release process
changelog: "# Revision history for releaser\n\n## 0.2.0.0 -- 2019-09-16\n\n* Write
cabal versions using a regex\n \n Unfortunately, cabal api can't operate on Cabal
AST,\n so we just resort to good old perl methods.\n\n* If any of the primitives
fail, wait to retry.\n\n* Avoid checking out git branch since it's confusing.\n\n##
0.1.0.0 -- 2019-09-09\n\n* First version. Released on an unsuspecting world.\n"
basic-deps:
regex-tdfa-text: -any
Cabal: -any
base: ! '>=4.7 && <5'
text: -any
releaser: -any
process: -any
pretty-terminal: -any
regex-tdfa: -any
all-versions:
- 0.1.0.0
- 0.2.0.0
author: Domen Kozar
latest: 0.2.0.0
description-type: haddock
description: ''
license-name: Apache-2.0
|
Add an option to map local installations in Docker | version: '3'
services:
rabbitmq:
image: rabbitmq:3
container_name: oq-cluster-rabbitmq
environment:
- RABBITMQ_DEFAULT_VHOST=openquake
- RABBITMQ_DEFAULT_USER=openquake
- RABBITMQ_DEFAULT_PASS=openquake
networks:
- oq-cluster-net
master:
image: openquake/engine-master
container_name: oq-cluster-master
# Uncomment to enable auth in WebUI/API
# environment:
# - LOCKDOWN=true
networks:
- oq-cluster-net
ports:
- 8800:8800
depends_on:
- rabbitmq
worker:
image: openquake/engine-worker
entrypoint: ["./celery-wait.sh"]
networks:
- oq-cluster-net
depends_on:
- rabbitmq
networks:
oq-cluster-net:
| version: '3'
services:
rabbitmq:
image: rabbitmq:3
container_name: oq-cluster-rabbitmq
environment:
- RABBITMQ_DEFAULT_VHOST=openquake
- RABBITMQ_DEFAULT_USER=openquake
- RABBITMQ_DEFAULT_PASS=openquake
networks:
- oq-cluster-net
master:
image: openquake/engine-master
container_name: oq-cluster-master
# Uncomment to enable auth in WebUI/API
# environment:
# - LOCKDOWN=true
# Uncomment to use a local copy of the oq-engine
# volumes:
# - /path/to/oq-engine/openquake:/opt/openquake/lib/python3.5/site-packages/openquake
networks:
- oq-cluster-net
ports:
- 8800:8800
depends_on:
- rabbitmq
worker:
image: openquake/engine-worker
entrypoint: ["./celery-wait.sh"]
networks:
- oq-cluster-net
depends_on:
- rabbitmq
networks:
oq-cluster-net:
|
Revert "Change URL not to be hardcoded" | # Site settings
name: Kyle Maxwell
email: yourmom@example.com
description: "So much hacking, so little time"
# testing only
#url: http://localhost:4000
url: "/" # the base hostname & protocol for your site
twitter: kylemaxwell
github: krmaxwell
google: KyleMaxwell
instagram: technoskald
# Build settings
markdown: redcarpet
highlighter: pygments
# Octopress migration
permalink: /:year/:month/:day/:title/
# Solarized
paginate: 10
exclude: ['README.md', 'Gemfile.lock', 'Gemfile', 'Rakefile']
| # Site settings
name: Kyle Maxwell
email: yourmom@example.com
description: "So much hacking, so little time"
# testing only
#url: http://localhost:4000
url: "http://xwell.org" # the base hostname & protocol for your site
twitter: kylemaxwell
github: krmaxwell
google: KyleMaxwell
instagram: technoskald
# Build settings
markdown: redcarpet
highlighter: pygments
# Octopress migration
permalink: /:year/:month/:day/:title/
# Solarized
paginate: 10
exclude: ['README.md', 'Gemfile.lock', 'Gemfile', 'Rakefile']
|
Revert "Prune old docker images" | name: Docker
on:
push:
branches:
- main
env:
IMAGE_NAME: toolbox
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build image
run:
docker build -t $IMAGE_NAME .
- name: Log into github registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push image to github registry
run: |
IMAGE_ID=ghcr.io/${{ github.repository }}/$IMAGE_NAME
docker tag $IMAGE_NAME $IMAGE_ID:latest
docker tag $IMAGE_NAME $IMAGE_ID:${{ github.sha }}
docker push $IMAGE_ID:latest
docker push $IMAGE_ID:${{ github.sha }}
- name: Prune old images in github registry
uses: actions/delete-package-versions@v1
with:
owner: apexskier
repo: dotfiles
package-name: toolbox
token: ${{ secrets.GITHUB_TOKEN }}
- name: Log into docker hub registry
run: echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u apexskier --password-stdin
- name: Push image to docker hub registry
run: |
IMAGE_ID=apexskier/$IMAGE_NAME
docker tag $IMAGE_NAME $IMAGE_ID:latest
docker tag $IMAGE_NAME $IMAGE_ID:${{ github.sha }}
docker push $IMAGE_ID:latest
docker push $IMAGE_ID:${{ github.sha }}
| name: Docker
on:
push:
branches:
- main
env:
IMAGE_NAME: toolbox
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build image
run:
docker build -t $IMAGE_NAME .
- name: Log into github registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push image to github registry
run: |
IMAGE_ID=ghcr.io/${{ github.repository }}/$IMAGE_NAME
docker tag $IMAGE_NAME $IMAGE_ID:latest
docker tag $IMAGE_NAME $IMAGE_ID:${{ github.sha }}
docker push $IMAGE_ID:latest
docker push $IMAGE_ID:${{ github.sha }}
- name: Log into docker hub registry
run: echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u apexskier --password-stdin
- name: Push image to docker hub registry
run: |
IMAGE_ID=apexskier/$IMAGE_NAME
docker tag $IMAGE_NAME $IMAGE_ID:latest
docker tag $IMAGE_NAME $IMAGE_ID:${{ github.sha }}
docker push $IMAGE_ID:latest
docker push $IMAGE_ID:${{ github.sha }}
|
Build before generating the documentation | name: Upload Python Package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Update keywords documentation
run: |
python -m robot.libdoc src/RequestsLibrary doc/RequestsLibrary.html
- name: Commit updated documentation
uses: stefanzweifel/git-auto-commit-action@dd055f6225757c369f948744463f63ac1bd4c277
with:
commit_message: Update keywords documentation
file_pattern: doc/RequestsLibrary.html
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
| name: Upload Python Package
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Update keywords documentation
run: |
python -m robot.libdoc src/RequestsLibrary doc/RequestsLibrary.html
- name: Commit updated documentation
uses: stefanzweifel/git-auto-commit-action@dd055f6225757c369f948744463f63ac1bd4c277
with:
commit_message: Update keywords documentation
file_pattern: doc/RequestsLibrary.html
- name: Publish to PyPi
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
twine upload dist/*
|
Switch testing to Xena testing runtime | - project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-cover-jobs
- openstack-python3-wallaby-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
| - project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-cover-jobs
- openstack-python3-xena-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
|
Use Dockerfile of izumin5210/android on CI | box: wercker/android
build:
steps:
- script:
name: show base information
code: |
./gradlew -v
echo $ANDROID_HOME
echo $ANDROID_BUILD_TOOLS
echo $ANDROID_UPDATE_FILTER
- android-sdk-update:
filter: platform-tools,extra-android-m2repository,extra-android-support
- setup-android-emulator:
target: android-23
- script:
name: run gradle connectedAndroidTest
code: |
./gradlew --full-stacktrace -q --project-cache-dir=$WERCKER_CACHE_DIR connectedAndroidTest
after-steps:
- script:
name: inspect build result
code: |
pwd
ls -la ./Bletia/build/outputs/
cp -r ./Bletia/build/outputs/* ${WERCKER_REPORT_ARTIFACTS_DIR}
| box: izumin5210/android
build:
steps:
- script:
name: show base information
code: |
gradle -v
echo $ANDROID_HOME
echo $ANDROID_BUILD_TOOLS
echo $ANDROID_UPDATE_FILTER
- android-sdk-update:
filter: platform-tools,extra-android-m2repository,extra-android-support
- setup-android-emulator:
target: android-23
- script:
name: start android emulator
code: |
android create avd --force -n android-23 -t android-23
emulator -avd android-23 -no-skin -no-audio -no-window -port 5678
- script:
name: run gradle connectedAndroidTest
code: |
gradle --full-stacktrace -q --project-cache-dir=$WERCKER_CACHE_DIR connectedAndroidTest
after-steps:
- script:
name: inspect build result
code: |
pwd
ls -la ./Bletia/build/outputs/
cp -r ./Bletia/build/outputs/* ${WERCKER_REPORT_ARTIFACTS_DIR}
|
Add test pipeline in werker | box: termoshtt/rust:latest
build:
steps:
- script:
name: cargo
code: |
cargo build
| box: termoshtt/rust:latest
build:
steps:
- script:
name: cargo build
code: |
cargo build
test:
steps:
- script:
name: cargo test
code: |
cargo test
|
Add ruby 3.0 to workflow | name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
strategy:
fail-fast: false
matrix:
# need to figure out how to use redis on macos github actions
# os: [ubuntu, macos]
os: [ubuntu]
# remove until I sort out CI issues for truffle
# truffleruby,
# truffleruby-head,
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, jruby, jruby-head]
redis-version: [5]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: supercharge/redis-github-action@1.1.0
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake
| name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
strategy:
fail-fast: false
matrix:
# need to figure out how to use redis on macos github actions
# os: [ubuntu, macos]
os: [ubuntu]
# remove until I sort out CI issues for truffle
# truffleruby,
# truffleruby-head,
ruby: [2.4, 2.5, 2.6, 2.7, 3.0, jruby, jruby-head]
redis-version: [5]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: supercharge/redis-github-action@1.1.0
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake
|
Fix the yaml of the workflow | name: pypi
on:
push
workflow_dispatch
jobs:
upload:
name: Upload to PyPI
if: (contains(github.ref, 'refs/tags/v') && contains(github.ref, '-dev')) || (github.action == 'workflow_dispatch')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install pypa/build
run: |
python -m pip install build --user
- name: Build a binary wheel and a source tarball
run: |
python -m build --sdist --wheel --outdir dist/ .
- uses: pypa/gh-action-pypi-publish@master
name: Upload to PyPI.
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
| name: pypi
on: ['push', 'workflow_dispatch']
jobs:
upload:
name: Upload to PyPI
if: (contains(github.ref, 'refs/tags/v') && contains(github.ref, '-dev')) || (github.action == 'workflow_dispatch')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install pypa/build
run: |
python -m pip install build --user
- name: Build a binary wheel and a source tarball
run: |
python -m build --sdist --wheel --outdir dist/ .
- uses: pypa/gh-action-pypi-publish@master
name: Upload to PyPI.
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
|
Set autoname of Fertility Test Analyzer | Categories:
- Sports & Health
License: Apache-2.0
AuthorName: Colnix Technology
WebSite: https://www.colnix.com
SourceCode: https://gitlab.com/colnix/fta
IssueTracker: https://gitlab.com/colnix/fta/issues
RepoType: git
Repo: https://gitlab.com/colnix/fta.git
Builds:
- versionName: 2.1.0
versionCode: 22
commit: 2.1.0
subdir: app
sudo:
- apt-get update || apt-get update
- apt install -y inkscape
gradle:
- yes
AutoUpdateMode: None
UpdateCheckMode: Tags
CurrentVersion: 2.1.0
CurrentVersionCode: 22
| Categories:
- Sports & Health
License: Apache-2.0
AuthorName: Colnix Technology
WebSite: https://www.colnix.com
SourceCode: https://gitlab.com/colnix/fta
IssueTracker: https://gitlab.com/colnix/fta/issues
AutoName: Fertility Test Analyzer
RepoType: git
Repo: https://gitlab.com/colnix/fta.git
Builds:
- versionName: 2.1.0
versionCode: 22
commit: 2.1.0
subdir: app
sudo:
- apt-get update || apt-get update
- apt install -y inkscape
gradle:
- yes
AutoUpdateMode: None
UpdateCheckMode: Tags
CurrentVersion: 2.1.0
CurrentVersionCode: 22
|
Update Call Counter to 2.0.0 (3) | Categories:
- Phone & SMS
License: GPL-3.0-only
AuthorName: Webierta
SourceCode: https://github.com/Webierta/call-counter
IssueTracker: https://github.com/Webierta/call-counter/issues
Changelog: https://github.com/Webierta/call-counter/releases
AutoName: Call Counter
RepoType: git
Repo: https://github.com/Webierta/call-counter.git
Builds:
- versionName: 1.2.0
versionCode: 2
commit: v1.2.0
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@1.22.5
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v.*$
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: v1.2.0
CurrentVersionCode: 2
| Categories:
- Phone & SMS
License: GPL-3.0-only
AuthorName: Webierta
SourceCode: https://github.com/Webierta/call-counter
IssueTracker: https://github.com/Webierta/call-counter/issues
Changelog: https://github.com/Webierta/call-counter/releases
AutoName: Call Counter
RepoType: git
Repo: https://github.com/Webierta/call-counter.git
Builds:
- versionName: 1.2.0
versionCode: 2
commit: v1.2.0
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@1.22.5
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
- versionName: 2.0.0
versionCode: 3
commit: v2.0.0
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@1.22.5
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v.*$
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 2.0.0
CurrentVersionCode: 3
|
Disable kafs servers for a bit | # This file contains ansible variables that are used by our zuul-executors.
---
# NOTE(ianw): 2019-05 this list of clouds will grow as we provision
# new opendev.org based mirrors, but then eventually be removed once
# all are updated.
zuul_site_mirror_fqdn: >-
{%- if nodepool.region + "." + nodepool.cloud in [ "DFW.rax", "IAD.rax", "ORD.rax", "GRA1.ovh" ] -%}
mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.opendev.org
{%- else -%}
mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.openstack.org
{%- endif -%}
zuul_site_traceroute_host: opendev.org
zuul_site_image_manifest_files:
- /etc/dib-builddate.txt
- /etc/image-hostname.txt
zuul_output_dir: "{{ ansible_user_dir }}/zuul-output"
bindep_command: /usr/bindep-env/bin/bindep
| # This file contains ansible variables that are used by our zuul-executors.
---
# NOTE(ianw): 2019-05 this list of clouds will grow as we provision
# new opendev.org based mirrors, but then eventually be removed once
# all are updated.
zuul_site_mirror_fqdn: >-
{%- if nodepool.region + "." + nodepool.cloud in [ "DFW.rax", "ORD.rax" ] -%}
mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.opendev.org
{%- else -%}
mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.openstack.org
{%- endif -%}
zuul_site_traceroute_host: opendev.org
zuul_site_image_manifest_files:
- /etc/dib-builddate.txt
- /etc/image-hostname.txt
zuul_output_dir: "{{ ansible_user_dir }}/zuul-output"
bindep_command: /usr/bindep-env/bin/bindep
|
Test on ruby 2.2.2 instead of 2.1.0 | machine:
ruby:
version: 2.2.2
dependencies:
override:
- 'rvm-exec 2.1.0 bundle install'
- 'rvm-exec 2.3.0 bundle install'
dependencies:
post:
- bundle exec bundle-audit update && bundle exec bundle-audit check
test:
override:
- 'rvm-exec 2.1.0 bundle exec rspec'
- 'rvm-exec 2.3.0 bundle exec rspec'
| machine:
ruby:
version: 2.2.2
dependencies:
override:
- 'rvm-exec 2.2.2 bundle install'
- 'rvm-exec 2.3.0 bundle install'
dependencies:
post:
- bundle exec bundle-audit update && bundle exec bundle-audit check
test:
override:
- 'rvm-exec 2.2.2 bundle exec rspec'
- 'rvm-exec 2.3.0 bundle exec rspec'
|
Add system deps to Circle config | machine:
pre:
- rm -fr ~/node_modules
post:
- rm -fr ~/node_modules
dependencies:
cache_directories:
- ~/.cache/yarn
override:
- yarn install
- yarn test
pre:
- nvm install 6.3.1 && nvm use 6.3.1 && nvm alias default 6.3.1
- npm install -g bower grunt-cli gulp-cli yarn@^1.3.2
| machine:
pre:
- rm -fr ~/node_modules
post:
- rm -fr ~/node_modules
dependencies:
cache_directories:
- ~/.cache/yarn
override:
- yarn install
- yarn test
pre:
- nvm install 6.3.1 && nvm use 6.3.1 && nvm alias default 6.3.1
- npm install -g bower grunt-cli gulp-cli yarn@^1.3.2
- sudo apt-get update -qq
- sudo apt-get install -y -qq graphicsmagick
|
Increase timeout on individual commands output dely in CircleCI | machine:
python:
version: 3.4.3
dependencies:
pre:
- pip install --upgrade pip
test:
override:
- make test
| machine:
python:
version: 3.4.3
dependencies:
pre:
- pip install --upgrade pip
test:
override:
- make test:
timeout: 1800
|
Add units to range params. | # voxel map
voxel_map:
# min coordinates in world frame
xyz_min: [0.0, 0.0, 0.0] # [m]
# max coordinates in world frame
xyz_max: [50.0, 50.0, 10.0] # [m]
# resolution
resolution: [0.2, 0.2, 0.2] # [m]
# initial value of voxels
init_value: 0.0
# raytrace ranges
min_range: 0.0
max_range: 10.0
# absolute position pointcloud cropping
min_z_abs: 0.0 # [m]
max_z_abs: 10.0 # [m]
# relative position pointcloud cropping
use_rel_cropping: false
min_z_rel: -0.5 # [m]
max_z_rel: 0.5 # [m]
# publishing
publish_map: true
# pixel map
pixel_map:
# publishing
publish_map: false
| # voxel map
voxel_map:
# min coordinates in world frame
xyz_min: [0.0, 0.0, 0.0] # [m]
# max coordinates in world frame
xyz_max: [50.0, 50.0, 10.0] # [m]
# resolution
resolution: [0.2, 0.2, 0.2] # [m]
# initial value of voxels
init_value: 0.0
# raytrace ranges
min_range: 0.0 # [m]
max_range: 10.0 # [m]
# absolute position pointcloud cropping
min_z_abs: 0.0 # [m]
max_z_abs: 10.0 # [m]
# relative position pointcloud cropping
use_rel_cropping: false
min_z_rel: -0.5 # [m]
max_z_rel: 0.5 # [m]
# publishing
publish_map: true
# pixel map
pixel_map:
# publishing
publish_map: false
|
Update from Hackage at 2016-02-14T07:46:38+0000 | homepage: ''
changelog-type: ''
hash: 640601c8531dae847d624eac78db22ce0343c1607040a7158454635f486e477c
test-bench-deps: {}
maintainer: zcarterc@gmail.com
synopsis: Optionally serializable dynamic state keyed by type
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.6 && <4.9'
unordered-containers: -any
binary: -any
hashable: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
- '0.1.0.5'
- '0.1.1.0'
- '0.2.0.0'
author: Carter Charbonneau
latest: '0.2.0.0'
description-type: haddock
description: Optionally serializable dynamic state keyed by type
license-name: GPL-2
| homepage: ''
changelog-type: ''
hash: 490fba74706d99f238868b34cb47d3382f719ed8b284fd7690f1666ea271ff6e
test-bench-deps: {}
maintainer: zcarterc@gmail.com
synopsis: Optionally serializable dynamic state keyed by type
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.6 && <4.9'
unordered-containers: -any
binary: -any
hashable: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
- '0.1.0.5'
- '0.1.1.0'
- '0.2.0.0'
- '0.2.1.0'
author: Carter Charbonneau
latest: '0.2.1.0'
description-type: haddock
description: Optionally serializable dynamic state keyed by type
license-name: GPL-2
|
Reduce the number of Windows testing envs | build: false
environment:
matrix:
- TOXENV: py27-unittests
- TOXENV: py33-unittests
- TOXENV: py34-unittests
- TOXENV: py27-integration
- TOXENV: py33-integration
- TOXENV: py34-integration
- TOXENV: flake8
init:
- "ECHO %TOXENV%"
- ps: "ls C:\\Python*"
install:
- ps: Invoke-WebRequest "https://bootstrap.pypa.io/ez_setup.py" -OutFile "c:\\ez_setup.py"
- ps: Invoke-WebRequest "https://bootstrap.pypa.io/get-pip.py" -OutFile "c:\\get-pip.py"
- "c:\\python27\\python c:\\ez_setup.py"
- "c:\\python27\\python c:\\get-pip.py"
- "c:\\python27\\Scripts\\pip install tox"
test_script:
- "c:\\python27\\Scripts\\tox --version"
- "c:\\python27\\Scripts\\pip --version"
- "c:\\python27\\Scripts\\tox"
| build: false
environment:
matrix:
- TOXENV: py27-unittests
- TOXENV: py34-unittests
- TOXENV: py27-integration
- TOXENV: py34-integration
init:
- "ECHO %TOXENV%"
- ps: "ls C:\\Python*"
install:
- ps: Invoke-WebRequest "https://bootstrap.pypa.io/ez_setup.py" -OutFile "c:\\ez_setup.py"
- ps: Invoke-WebRequest "https://bootstrap.pypa.io/get-pip.py" -OutFile "c:\\get-pip.py"
- "c:\\python27\\python c:\\ez_setup.py"
- "c:\\python27\\python c:\\get-pip.py"
- "c:\\python27\\Scripts\\pip install tox"
test_script:
- "c:\\python27\\Scripts\\tox --version"
- "c:\\python27\\Scripts\\pip --version"
- "c:\\python27\\Scripts\\tox"
|
Add package publishing for release/r1.0 branch. | version: 1.0.{build}
branches:
only:
- development/r1.0
- release/r1.0
image: Visual Studio 2015
cache:
- '%USERPROFILE%\.nuget\packages'
build_script:
- ps: >-
.\restore-packages.ps1
$buildVersion = "alpha2-$($env:APPVEYOR_BUILD_NUMBER.PadLeft(4, '0'))"
.\build-all.ps1 -BuildVersion $buildVersion
.\package-all.ps1 -BuildVersion $buildVersion
artifacts:
- path: src\artifacts\packages\Debug\*.nupkg
test_script:
- ps: >-
.\run-tests.ps1 -BuildVersion
| version: 1.0.{build}
branches:
only:
- development/r1.0
- release/r1.0
image: Visual Studio 2015
cache:
- '%USERPROFILE%\.nuget\packages'
build_script:
- ps: >-
.\restore-packages.ps1
$buildVersion = "alpha2-$($env:APPVEYOR_BUILD_NUMBER.PadLeft(4, '0'))"
.\build-all.ps1 -BuildVersion $buildVersion
.\package-all.ps1 -BuildVersion $buildVersion
artifacts:
- path: src\artifacts\packages\Debug\*.nupkg
test_script:
- ps: >-
.\run-tests.ps1 -BuildVersion
deploy:
provider: NuGet
on:
branch: release/r1.0
api_key:
secure: ljl/r7XeQm+KBzR7pm1OOW4+YcDUsYiWlr9jWFztMh/8/orG4V9ylTi+P1jGME7g
skip_symbols: false
symbol_server:
artifact: src\artifacts\packages\Debug\*.nupkg
|
Test with Node.js version 8 instead of 7 | # http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "7"
version: "{build}-{branch}"
init:
- git config --global core.longpaths true
clone_depth: 1
matrix:
fast_finish: true
cache:
- node_modules
install:
- ps: Install-Product node $env:nodejs_version
- npm install
test_script:
- node --version
- npm --version
- npm run lint
- npm test
build: off
| # http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
version: "{build}-{branch}"
init:
- git config --global core.longpaths true
clone_depth: 1
matrix:
fast_finish: true
cache:
- node_modules
install:
- ps: Install-Product node $env:nodejs_version
- npm install
test_script:
- node --version
- npm --version
- npm run lint
- npm test
build: off
|
Add a description to 'Security Tools' category | name: Security Tools
description:
projects:
- active_model_otp
- alpaca
- brakeman
- codesake-dawn
- gemfilelint
- loofah
- look/xss_terminate
- mhartl/find_mass_assignment
- param_protected
- rails_xss
- ryanlowe/audit_mass_assignment
- shellex
- sudo_attributes
- tarantula
- wwidea/cross_site_sniper
| name: Security Tools
description: Find and prevent security vulnerabilities with less effort
projects:
- active_model_otp
- alpaca
- brakeman
- codesake-dawn
- gemfilelint
- loofah
- look/xss_terminate
- mhartl/find_mass_assignment
- param_protected
- rails_xss
- ryanlowe/audit_mass_assignment
- shellex
- sudo_attributes
- tarantula
- wwidea/cross_site_sniper
|
Change default value for hash_file_name on sample config for focused crawl | #
# Example of configuration for running a Focused Crawl
#
target_storage.use_classifier: true
target_storage.store_negative_pages: true
target_storage.data_format.type: FILESYSTEM_JSON
target_storage.data_format.filesystem.compress_data: true
target_storage.english_language_detection_enabled: false
link_storage.max_pages_per_domain: 1000
link_storage.link_strategy.use_scope: false
link_storage.link_strategy.outlinks: true
link_storage.link_strategy.backlinks: false
link_storage.link_classifier.type: LinkClassifierBaseline
link_storage.online_learning.enabled: true
link_storage.online_learning.type: FORWARD_CLASSIFIER_BINARY
link_storage.online_learning.learning_limit: 1000
link_storage.link_selector: TopkLinkSelector
link_storage.scheduler.host_min_access_interval: 5000
link_storage.scheduler.max_links: 10000
crawler_manager.downloader.user_agent.name: ACHE
crawler_manager.downloader.user_agent.url: https://github.com/ViDA-NYU/ache | #
# Example of configuration for running a Focused Crawl
#
target_storage.use_classifier: true
target_storage.store_negative_pages: true
target_storage.data_format.type: FILESYSTEM_JSON
target_storage.data_format.filesystem.compress_data: true
target_storage.data_format.filesystem.hash_file_name: true
target_storage.english_language_detection_enabled: false
link_storage.max_pages_per_domain: 1000
link_storage.link_strategy.use_scope: false
link_storage.link_strategy.outlinks: true
link_storage.link_strategy.backlinks: false
link_storage.link_classifier.type: LinkClassifierBaseline
link_storage.online_learning.enabled: true
link_storage.online_learning.type: FORWARD_CLASSIFIER_BINARY
link_storage.online_learning.learning_limit: 1000
link_storage.link_selector: TopkLinkSelector
link_storage.scheduler.host_min_access_interval: 5000
link_storage.scheduler.max_links: 10000
crawler_manager.downloader.user_agent.name: ACHE
crawler_manager.downloader.user_agent.url: https://github.com/ViDA-NYU/ache |
Add deps audit and update CI Node version | version: 2
jobs:
build:
working_directory: ~/app
docker:
- image: circleci/node:10
steps:
- checkout
- restore_cache:
key: deps-{{ checksum "yarn.lock" }}
- run: yarn install --pure-lockfile --offline
- run: yarn deps
- save_cache:
key: deps-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- node_modules
- run: yarn lint
- run: yarn test
- run: yarn lib
- run: yarn dist
- run: yarn pub
| version: 2
jobs:
build:
working_directory: ~/app
docker:
- image: circleci/node:14
steps:
- checkout
- restore_cache:
key: deps-{{ checksum "yarn.lock" }}
- run: yarn install --pure-lockfile --offline
- run: yarn deps
- save_cache:
key: deps-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- node_modules
- run: yarn audit --prefer-offline
- run: yarn lint
- run: yarn test
- run: yarn lib
- run: yarn dist
- run: yarn pub
|
Update CurrentVersion of Fairphone Launcher 3 to 2.1.0 (9) | Categories:
- Theming
License: Apache-2.0
SourceCode: https://github.com/WeAreFairphone/FP2-Launcher
IssueTracker: https://github.com/WeAreFairphone/FP2-Launcher/issues
Changelog: https://github.com/WeAreFairphone/FP2-Launcher/releases
AutoName: Fairphone 2 Launcher
RepoType: git
Repo: https://github.com/WeAreFairphone/FP2-Launcher.git
Builds:
- versionName: '2.0'
versionCode: 8
commit: 26c46d63eb9bbc25e836c535c5688cb885cb0be2
gradle:
- yes
prebuild: echo 'android { lintOptions { checkReleaseBuilds false } }' >> build.gradle
- versionName: 2.1.0
versionCode: 9
commit: 2.1.0
gradle:
- yes
prebuild: echo 'android { lintOptions { checkReleaseBuilds false } }' >> build.gradle
- versionName: 2.2.0
versionCode: 10
commit: 2.2.0
gradle:
- yes
prebuild: echo 'android { lintOptions { checkReleaseBuilds false } }' >> build.gradle
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 2.2.0
CurrentVersionCode: 10
| Categories:
- Theming
License: Apache-2.0
SourceCode: https://github.com/WeAreFairphone/FP2-Launcher
IssueTracker: https://github.com/WeAreFairphone/FP2-Launcher/issues
Changelog: https://github.com/WeAreFairphone/FP2-Launcher/releases
AutoName: Fairphone Launcher 3
RepoType: git
Repo: https://github.com/WeAreFairphone/FP2-Launcher.git
Builds:
- versionName: '2.0'
versionCode: 8
commit: 26c46d63eb9bbc25e836c535c5688cb885cb0be2
gradle:
- yes
prebuild: echo 'android { lintOptions { checkReleaseBuilds false } }' >> build.gradle
- versionName: 2.1.0
versionCode: 9
commit: 2.1.0
gradle:
- yes
prebuild: echo 'android { lintOptions { checkReleaseBuilds false } }' >> build.gradle
- versionName: 2.2.0
versionCode: 10
commit: 2.2.0
gradle:
- yes
prebuild: echo 'android { lintOptions { checkReleaseBuilds false } }' >> build.gradle
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 2.1.0
CurrentVersionCode: 9
|
Use the new cache system configuration | imports:
- { resource: config.yml }
#framework:
# validation:
# cache: validator.mapping.cache.doctrine.apc
# serializer:
# cache: serializer.mapping.cache.apc
#doctrine:
# orm:
# metadata_cache_driver: apc
# result_cache_driver: apc
# query_cache_driver: apc
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
console:
type: console
| imports:
- { resource: config.yml }
#framework:
# cache:
# system: cache.adapter.apcu
#doctrine:
# orm:
# metadata_cache_driver: apc
# result_cache_driver: apc
# query_cache_driver: apc
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
console:
type: console
|
Use tripleo profile for bigswitch agent | heat_template_version: ocata
description: >
Installs bigswitch agent and enables the services
parameters:
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults.
type: json
DefaultPasswords:
default: {}
type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
outputs:
role_data:
description: Configure the bigswitch agent services
value:
service_name: neutron_bigswitch_agent
step_config: |
if hiera('step') >= 4 {
include ::neutron::agents::bigswitch
}
| heat_template_version: ocata
description: >
Installs bigswitch agent and enables the services
parameters:
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults.
type: json
DefaultPasswords:
default: {}
type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
outputs:
role_data:
description: Configure the bigswitch agent services
value:
service_name: neutron_bigswitch_agent
step_config: |
include ::tripleo::profile::base::neutron::agents::bigswitch
|
Use correct tag for PHP 8 | name: GrumPHP
on: push
jobs:
grumphp:
runs-on: ubuntu-latest
container: docker://php:${{ matrix.php_version }}-cli
strategy:
matrix:
php_version:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
steps:
- uses: actions/checkout@v2
- name: Install Composer
run: |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e5325b19b381bfd88ce90a5ddb7823406b2a38cff6bb704b0acc289a09c8128d4a8ce2bbafcd1fcbdc38666422fe2806') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
- name: Composer install
run: php composer.phar install
- name: GrumPHP
run: |
vendor/bin/grumphp run
| name: GrumPHP
on: push
jobs:
grumphp:
runs-on: ubuntu-latest
container: docker://php:${{ matrix.php_version }}-cli
strategy:
matrix:
php_version:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0-rc'
steps:
- uses: actions/checkout@v2
- name: Install Composer
run: |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e5325b19b381bfd88ce90a5ddb7823406b2a38cff6bb704b0acc289a09c8128d4a8ce2bbafcd1fcbdc38666422fe2806') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
- name: Composer install
run: php composer.phar install
- name: GrumPHP
run: |
vendor/bin/grumphp run
|
Swap Ubuntu to test on beta | name: Dart
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
# We want to see the results on edge even if beta fails (and vice versa).
# This prevents one failure from stopping the entire run.
fail-fast: false
matrix:
# Include newest and latest versions of Windows, plus Ubuntu (to make
# sure that tests don't fail on a non-supported platform).
os: [windows-latest, windows-2016, ubuntu-latest]
# Stable does not support null safety yet.
sdk: [beta, dev, main]
# One SDK version is plenty on Ubuntu. It's a safety test. Similarly,
# nobody is running the oldest Windows on leading-edge Dart releases.
exclude:
- os: ubuntu-latest
sdk: main
- os: ubuntu-latest
sdk: beta
- os: windows-2016
sdk: main
- os: windows-2016
sdk: dev
steps:
- name: Fetch sources
uses: actions/checkout@v2
- name: Set up Dart
uses: dart-lang/setup-dart@v0.4
with:
sdk: ${{matrix.sdk}}
- name: Print Dart SDK version
run: dart --version
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
run: dart analyze --fatal-warnings
- name: Run tests
run: dart test
| name: Dart
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
# We want to see the results on edge even if beta fails (and vice versa).
# This prevents one failure from stopping the entire run.
fail-fast: false
matrix:
# Include newest and latest versions of Windows, plus Ubuntu (to make
# sure that tests don't fail on a non-supported platform).
os: [windows-latest, windows-2016, ubuntu-latest]
# Stable does not support null safety yet.
sdk: [beta, dev, main]
# One SDK version is plenty on Ubuntu. It's a safety test. Similarly,
# nobody is running the oldest Windows on leading-edge Dart releases.
exclude:
- os: ubuntu-latest
sdk: main
- os: ubuntu-latest
sdk: dev
- os: windows-2016
sdk: main
- os: windows-2016
sdk: dev
steps:
- name: Fetch sources
uses: actions/checkout@v2
- name: Set up Dart
uses: dart-lang/setup-dart@v0.4
with:
sdk: ${{matrix.sdk}}
- name: Print Dart SDK version
run: dart --version
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
run: dart analyze --fatal-warnings
- name: Run tests
run: dart test
|
Remove test_requirements.txt from GH Actions | # This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test_requirements.txt
pip install coveralls
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
- name: Report coverage to coveralls
run: |
coveralls
| # This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install coveralls
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
- name: Report coverage to coveralls
run: |
coveralls
|
Change image to truffle image | # Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10
- image: wbuchwalter/testrpc
command: testrpc -m 'scene kite dust inherit sample upset person below fancy drive mean place'
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
- run:
command: truffle test
# docker run -d -p 8545:8545 --name testrpc wbuchwalter/testrpc -m 'scene kite dust inherit sample upset person below fancy drive mean place'
# truffle test
- store_artifacts:
path: test-results.xml
| # Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: docker pull desmart/truffle
- image: wbuchwalter/testrpc
entrypoint: testrpc -m 'scene kite dust inherit sample upset person below fancy drive mean place'
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: yarn install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
- run:
command: truffle test
# docker run -d -p 8545:8545 --name testrpc wbuchwalter/testrpc -m 'scene kite dust inherit sample upset person below fancy drive mean place'
# truffle test
- store_artifacts:
path: test-results.xml
|
Set specific versions for all dependencies | dependencies:
- name: kms-core
- name: libnice
- name: openwebrtc-gst-plugins
| dependencies:
- name: kms-core
version: ">= 6.6.2"
- name: libnice
version: ">= 0.1.13"
- name: openwebrtc-gst-plugins
version: ">= 0.10.0"
|
Disable 5.0 builds until mock-fs is updated | sudo: false
language: node_js
node_js:
- "node"
- "4.2"
- "0.12"
- "0.10"
| sudo: false
language: node_js
node_js:
# node 5.0 builds disabled until mock-fs gets updated
#- "node"
- "4.2"
- "0.12"
- "0.10"
|
Test on PHP 7.2 and 7.3 | language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- vendor/bin/phpunit --verbose --coverage-text
| language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- vendor/bin/phpunit --verbose --coverage-text
|
Stop emails from Travis notifications. | language: php
php:
- 5.3
- 5.4
before_script:
- composer selfupdate --quiet
- composer install --dev
- vendor/phpunit/phpunit/composer/bin/phpunit
notifications:
irc: "irc.freenode.org#garyj" | language: php
php:
- 5.3
- 5.4
before_script:
- composer selfupdate --quiet
- composer install --dev
- vendor/phpunit/phpunit/composer/bin/phpunit
notifications:
irc: "irc.freenode.org#garyj"
email: false |
Drop support for Python 3.5 | language: python
dist: xenial
python:
- "3.5"
- "3.6"
sudo: true
services:
- postgresql
addons:
postgresql: "10"
before_script:
- psql -c "ALTER USER travis WITH PASSWORD 'travis';"
install:
- travis_retry pip install -r requirements.txt
- travis_retry pip install coveralls
script:
- coverage run --branch --source=mygpoauth ./manage.py test
- make check-code-format
after_script:
- coveralls
env:
- DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"
| language: python
dist: xenial
python:
- "3.6"
sudo: true
services:
- postgresql
addons:
postgresql: "10"
before_script:
- psql -c "ALTER USER travis WITH PASSWORD 'travis';"
install:
- travis_retry pip install -r requirements.txt
- travis_retry pip install coveralls
script:
- coverage run --branch --source=mygpoauth ./manage.py test
- make check-code-format
after_script:
- coveralls
env:
- DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"
|
Use domain instead of wildcard | language: node_js
node_js: '0.10'
install: echo "skip install"
branches:
only: master
env:
global:
- secure: gYvLFxy2Mgto6+oeZzny6jgLtNNZ2GeSm9OSABskP0wy86s01WUpuGVWLdyU1DdVdcHRhKK7xl+yFgHBN3tyzz2YgVRNFrJL8jNr0km7H6qLNEghA//ZuDb7w06uW3kOGjtlG4EzheTrG2G6RsmeFflQscaS87t6//b0UTbU3WE=
after_success:
- chmod 600 deploy-key
- mv deploy-key ~/.ssh/id_rsa
- git remote add deploy $remote
- git push deploy
before_install:
- echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- openssl aes-256-cbc -K $encrypted_6a5cf90fd664_key -iv $encrypted_6a5cf90fd664_iv
-in deploy-key.enc -out deploy-key -d
| language: node_js
node_js: '0.10'
install: echo "skip install"
branches:
only: master
env:
global:
- secure: gYvLFxy2Mgto6+oeZzny6jgLtNNZ2GeSm9OSABskP0wy86s01WUpuGVWLdyU1DdVdcHRhKK7xl+yFgHBN3tyzz2YgVRNFrJL8jNr0km7H6qLNEghA//ZuDb7w06uW3kOGjtlG4EzheTrG2G6RsmeFflQscaS87t6//b0UTbU3WE=
after_success:
- chmod 600 deploy-key
- mv deploy-key ~/.ssh/id_rsa
- git remote add deploy $remote
- git push deploy
before_install:
- echo -e "Host scurker.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- openssl aes-256-cbc -K $encrypted_6a5cf90fd664_key -iv $encrypted_6a5cf90fd664_iv
-in deploy-key.enc -out deploy-key -d
|
Remove v0.6 from node versions we test against | language: node_js
node_js:
- "0.6"
- "0.8"
- "0.10"
script: "./run_tests.sh"
notifications:
email: false
irc:
- "irc.freenode.org#statsd"
| language: node_js
node_js:
- "0.8"
- "0.10"
script: "./run_tests.sh"
notifications:
email: false
irc:
- "irc.freenode.org#statsd"
|
Add more checks with Travis | language: node_js
node_js:
- "node"
- "6"
- "5"
| language: node_js
node_js:
- "node"
- "6"
- "5"
- "4"
script: npm run build && npm test
|
Add a Clippy builder in CI | language: rust
rust:
- nightly
- beta
- stable
script: cargo test
matrix:
include:
- rust: 1.34.0
script: cargo check
| language: rust
rust:
- nightly
- beta
- stable
script: cargo test
matrix:
include:
- rust: 1.34.0
script: cargo check
- rust: nightly
name: Clippy
script:
- rustup component add clippy || travis_terminate 0
- cargo clippy -- -Dclippy::all
|
Add PHP 7.4snapshot to build pipeline | dist: xenial
language: php
sudo: false
php:
- 7.2
- 7.3
env:
global:
- DRIVER_VERSION="stable"
- COMPOSER_FLAGS="--prefer-dist"
matrix:
include:
- stage: Test
php: 7.2
env: DRIVER_VERSION="stable" COMPOSER_FLAGS="--prefer-dist"
- stage: Test
php: 7.2
env: DRIVER_VERSION="1.5.0" COMPOSER_FLAGS="--prefer-dist --prefer-lowest" PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
- stage: Code Quality
php: 7.2
env: DRIVER_VERSION="stable" COMPOSER_FLAGS="--prefer-dist"
script:
- vendor/bin/phpcs
cache:
directories:
- $HOME/.composer/cache
services: mongodb
install:
- composer self-update
- pecl install -f mongodb-${DRIVER_VERSION}
- composer update ${COMPOSER_FLAGS}
script:
- ./vendor/bin/phpunit ${PHPUNIT_FLAGS}
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
| dist: xenial
language: php
sudo: false
php:
- 7.2
- 7.3
- 7.4snapshot
env:
global:
- DRIVER_VERSION="stable"
- COMPOSER_FLAGS="--prefer-dist"
matrix:
include:
- stage: Test
php: 7.2
env: DRIVER_VERSION="stable" COMPOSER_FLAGS="--prefer-dist"
- stage: Test
php: 7.2
env: DRIVER_VERSION="1.5.0" COMPOSER_FLAGS="--prefer-dist --prefer-lowest" PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
- stage: Code Quality
php: 7.2
env: DRIVER_VERSION="stable" COMPOSER_FLAGS="--prefer-dist"
script:
- vendor/bin/phpcs
cache:
directories:
- $HOME/.composer/cache
services: mongodb
install:
- composer self-update
- pecl install -f mongodb-${DRIVER_VERSION}
- composer update ${COMPOSER_FLAGS}
script:
- ./vendor/bin/phpunit ${PHPUNIT_FLAGS}
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
allow_failures:
- php: 7.4snapshot
|
Drop support for ruby 2.2.x | language: ruby
sudo: false
rvm:
- 2.1.8
- 2.2.4
- 2.3.3
- 2.3.4
gemfile:
- gemfiles/rails_3_2.gemfile
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_1.gemfile
matrix:
exclude:
- rvm: 2.1.8
gemfile: gemfiles/rails_5_1.gemfile
before_install: gem install bundler -v 1.15.0
script: bundle exec rake spec
services:
- redis-server
| language: ruby
sudo: false
rvm:
- 2.3.3
- 2.3.4
gemfile:
- gemfiles/rails_3_2.gemfile
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_1.gemfile
before_install: gem install bundler -v 1.15.0
script: bundle exec rake spec
services:
- redis-server
|
Add command to debug Travis issue | language: node_js
before_install:
- wget https://services.gradle.org/distributions/gradle-2.3-bin.zip
- unzip gradle-2.3-bin.zip
- export GRADLE_HOME=$PWD/gradle-2.3
- export PATH=$GRADLE_HOME/bin:$PATH
- mkdir travis-phantomjs
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs:$PATH
install:
- npm install
- ./node_modules/.bin/grunt
node_js:
- "0.10"
- "0.12"
sudo: false
cache:
directories:
- $HOME/.gradle
| language: node_js
before_install:
- wget https://services.gradle.org/distributions/gradle-2.3-bin.zip
- unzip gradle-2.3-bin.zip
- export GRADLE_HOME=$PWD/gradle-2.3
- export PATH=$GRADLE_HOME/bin:$PATH
- mkdir travis-phantomjs
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs:$PATH
- nvm ls-remote
install:
- npm install
- ./node_modules/.bin/grunt
node_js:
- "0.10"
- "0.12"
sudo: false
cache:
directories:
- $HOME/.gradle
|
Add testing on Node 9 | sudo: false
language: node_js
node_js:
- "6"
- "8"
cache:
directories:
- node_modules
| sudo: false
language: node_js
node_js:
- "6"
- "8"
- "9"
cache:
directories:
- node_modules
|
Integrate Code Climate Coverage Report in Travis CI | language: go
go:
- "1.12beta1"
env:
- GO111MODULE=on
| language: go
go:
- "1.12beta1"
env:
- GO111MODULE=on
install:
- go get -v github.com/codeclimate/test-reporter
before_script:
- test-reporter before-build
script:
- go test -coverprofile c.out ./...
after_script:
- test-reporter after-build --exit-code $TRAVIS_TEST_RESULT |
Drop testing with Go 1.5. | language: go
sudo: false
go:
- 1.5.x
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- tip
install:
- go get -v github.com/qedus/osmpbf
script:
- make init
- make race
- make cover
- make bench
after_success:
- go get -u github.com/mattn/goveralls
- export PATH=$PATH:$HOME/gopath/bin
- goveralls -coverprofile=profile.cov -service=travis-ci
| language: go
sudo: false
go:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- tip
install:
- go get -v github.com/qedus/osmpbf
script:
- make init
- make race
- make cover
- make bench
after_success:
- go get -u github.com/mattn/goveralls
- export PATH=$PATH:$HOME/gopath/bin
- goveralls -coverprofile=profile.cov -service=travis-ci
|
Add PHP 5.3 to the tests environment | language: php
php:
- 5.4
- 5.5
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-dist --no-interaction
script: ./vendor/bin/phpunit --coverage-text
| language: php
php:
- 5.3
- 5.4
- 5.5
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-dist --no-interaction
script: ./vendor/bin/phpunit --coverage-text
|
Allow Travis to actually cache Bundler files. | language: ruby
rvm:
- 2.1
install:
- bundle install
- npm install
- sh -e /etc/init.d/xvfb start
- webdriver-manager update
script:
- jekyll serve --detach
- npm test
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- DISPLAY=:99.0
branches:
only:
- gh-pages
cache:
directories:
- node_modules
- vendor/bundle
| language: ruby
rvm:
- 2.1
install:
- bundle install --path vendor/bundle
- npm install
- sh -e /etc/init.d/xvfb start
- webdriver-manager update
script:
- bundle exec jekyll serve --detach
- npm test
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- DISPLAY=:99.0
branches:
only:
- gh-pages
cache:
directories:
- node_modules
- vendor/bundle
|
Fix the typo in Travis configuration file | languge: node_js
node_js: node
cache:
directories:
- node_modules
install: npm install
before_script:
- npm install -g gulp
| language: node_js
node_js: node
cache:
directories:
- node_modules
install: npm install
before_script:
- npm install -g gulp
|
Stop testing rbx (for now, waiting for Travis support) | language: ruby
rvm:
- "1.8.7"
- "1.9.3"
- "2.0.0"
- rbx-18mode
- rbx-19mode
- ree
| language: ruby
rvm:
- "1.8.7"
- "1.9.3"
- "2.0.0"
- "2.1.0"
- "2.1.1"
- ree
|
Update nodes versions for testing. | language: node_js
sudo: false
node_js:
- '6'
deploy:
provider: npm
email: npm@muffinresearch.co.uk
api_key:
secure: VWARblBsd9uRP9DYw0ky2pf0PbzlNouElpNT9YbMiYiQmr05i2c1JTfLDIRWAHsEG1/OGnL/f6AfO98HVoJQfTRk7CalDPiOBUEo9WpSi9jkwVLcekYZ06b4rgKPYmq1u6A3YgSrpBzMpSw2eUyIDEgDXZJEk1tWFKRL/69E4HE=
on:
tags: true
repo: muffinresearch/payment-icons
script:
- yarn run test-ci
| language: node_js
sudo: false
node_js:
- '8'
- '10'
deploy:
provider: npm
email: npm@muffinresearch.co.uk
api_key:
secure: VWARblBsd9uRP9DYw0ky2pf0PbzlNouElpNT9YbMiYiQmr05i2c1JTfLDIRWAHsEG1/OGnL/f6AfO98HVoJQfTRk7CalDPiOBUEo9WpSi9jkwVLcekYZ06b4rgKPYmq1u6A3YgSrpBzMpSw2eUyIDEgDXZJEk1tWFKRL/69E4HE=
on:
tags: true
repo: muffinresearch/payment-icons
script:
- yarn run test-ci
|
Test all branches on Travis. | # Configuration options are documented at:
# http://about.travis-ci.org/docs/user/languages/ruby/
language: ruby
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.2.1
gemfile:
- test/Gemfile
branches:
only:
- master
- 2.x
script: cd test; bundle exec rake
| # Configuration options are documented at:
# http://about.travis-ci.org/docs/user/languages/ruby/
language: ruby
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.2.1
gemfile:
- test/Gemfile
script: cd test; bundle exec rake
|
Fix rights of gradlew for Travis | language: android
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - platform-tools
# - tools
# The BuildTools version used by your project
- build-tools-22.0.1
# The SDK version used to compile your project
- android-22
# Additional components
# - extra-google-google_play_services
# - extra-google-m2repository
# - extra-android-m2repository
# - addon-google_apis-google-19
# Specify at least one system image,
# if you need to run emulator(s) during your tests
# - sys-img-armeabi-v7a-android-19
# - sys-img-x86-android-17 | language: android
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - platform-tools
# - tools
# The BuildTools version used by your project
- build-tools-22.0.1
# The SDK version used to compile your project
- android-22
# Additional components
# - extra-google-google_play_services
# - extra-google-m2repository
# - extra-android-m2repository
# - addon-google_apis-google-19
# Specify at least one system image,
# if you need to run emulator(s) during your tests
# - sys-img-armeabi-v7a-android-19
# - sys-img-x86-android-17
before_install:
- chmod +x gradlew |
Use precise distribution to be able to build with jdk7 | language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
env:
- CRATE_VERSION=0.56.4
- CRATE_VERSION=0.57.6
- CRATE_VERSION=1.0.1
matrix:
exclude:
- jdk: openjdk7
env: CRATE_VERSION=1.0.1
- jdk: oraclejdk7
env: CRATE_VERSION=1.0.1
cache:
directories:
- $HOME/.m2
sudo: false
script: ./gradlew test -s
notifications:
email: false
| dist: precise
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
env:
- CRATE_VERSION=0.56.4
- CRATE_VERSION=0.57.6
- CRATE_VERSION=1.0.1
matrix:
exclude:
- jdk: openjdk7
env: CRATE_VERSION=1.0.1
- jdk: oraclejdk7
env: CRATE_VERSION=1.0.1
cache:
directories:
- $HOME/.m2
sudo: false
script: ./gradlew test -s
notifications:
email: false
|
Update to xcode7.3 following Travis warning | language: csharp
sudo: required
dist: trusty
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
- CLI_VERSION: latest
mono: none
dotnet: 1.0.0-preview2-003121
os:
- linux
- osx
osx_image: xcode7.1
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
script:
- ./build.sh --quiet verify
notifications:
on_success: always
on_failure: always
on_start: always | language: csharp
sudo: required
dist: trusty
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
- CLI_VERSION: latest
mono: none
dotnet: 1.0.0-preview2-003121
os:
- linux
- osx
osx_image: xcode7.3
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
script:
- ./build.sh --quiet verify
notifications:
on_success: always
on_failure: always
on_start: always |
Consolidate database setup into a single command | cache: bundler
language: ruby
rvm:
- 2.1.3
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- RAILS_ENV=test bundle exec rake db:drop
- RAILS_ENV=test bundle exec rake db:create
- RAILS_ENV=test bundle exec rake db:migrate
- RAILS_ENV=test bundle exec rake db:seed
- bundle exec rspec
sudo: false
| cache: bundler
language: ruby
rvm:
- 2.1.3
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- RAILS_ENV=test bundle exec rake db:setup
sudo: false
|
Test in additional node versions. | ---
language: node_js
node_js:
- "0.12"
sudo: false
cache:
directories:
- node_modules
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
- "npm config set spin false"
- "npm install -g npm@^2"
install:
- npm install -g bower
- npm install
- bower install
script:
- ember test
- npm run test-node
| ---
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
sudo: false
cache:
directories:
- node_modules
matrix:
fast_finish: true
before_install:
- "npm config set spin false"
- "npm install -g npm@^3"
install:
- npm install -g bower
- npm install
- bower install
script:
- ember test
- npm run test-node
|
Add support for Coverity scanning. | language: java
| language: java
env:
global:
- secure: "tcly8qzj6RNacbP/7V3LHrXHSHVQLhNYR7a1Kdp+vrB/5wL518xeKz7zaiFag5Q/VN1pS6wVFsxQhoLMaOP+Oz5/ATeFvVZ1ldw2mbmdHC9S1BTkvNe+4lNA6Ri9noB5Ijg3jANbmgBXSlvvg/K7W5Y0SwnM06tqvI9BbmPwzHGhlPW9k/bepDbBoybGYQoSe1NIe1DOm8vxpMk0CTslR0o/+MMbJK7Wq8H7MI71eVh+2/h9R53qLnxlfMWQPwscqAq7A10zm6rcgfu7qYwdcDbagSbRxREq/hKGIK29+NB8VOlv9DxEAz83+iluKufuKXSjhZ8j24mS5/W4UrW/16iIlJOPLphUrK/nkkcbDxbPH+GMbYnNbKoq9LZrpBmdP4T7IBnvMAi+eJQI4Pr+Po4N4bDj4Z53jm19AVG9ICVwqhfYv7TN6eauMNxfPsINsiMUBunII6iF8bnfWwZ8KgWcKe5Og3tdRWXMpJnBPgKB1dlsYN22fF1gQajucI+Uuzhxbz7wdYbVe13OuQjZKj7lnRvwq8CAn4ek7LUCs2bCpTfjKh9sUvgZN5eegzbpKfr8xEeGlqFGbkKmvFO3XkH3UkyOXCa4MUH3okGP08/0JVRnnUSjHgAa4RKWIzMQSNpGpI2zEblTjl6XCfYhSU+9IuShWYR5CpQRtYq3cEs="
addons:
coverity_scan:
project:
name: lime-company/lime-security-powerauth
description: Build submitted via Travis CI
notification_email: petr@lime-company.eu
build_command_prepend: mvn clean
build_command: mvn -DskipTests=true compile
branch_pattern: master
|
Move Docker commands out of Travis script | sudo: required
services:
- docker
script:
- pwd
- mkdir build
- docker run -v $(pwd):/Wangscape lukequaint/wangscape-build:latest /bin/sh -c \
'cd /Wangscape/build && cmake .. && make;
Xvfb :1 -screen 0 1600x900x24 &> xvfb.log &
DISPLAY=:1.0; export DISPLAY;
xvfb-run --server-args "-screen 0 1600x900x24" ./bin/WangscapeTest ../doc'
| sudo: required
services:
- docker
script:
- pwd
- mkdir build
- docker run -v $(pwd):/Wangscape lukequaint/wangscape-build:latest /bin/sh -c 'travis-ubuntu-docker.sh'
|
Comment gem install cocoa pods on the Travis .yml file | # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/StepByStep.xcworkspace -scheme StepByStep-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
| # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
# - gem install cocoapods # Since Travis is not always on latest version
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/StepByStep.xcworkspace -scheme StepByStep-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
|
Remove pypy from test matrix (for now) | before_script:
- psql -c 'create database wtforms_alchemy_test;' -U postgres
language: python
python:
- 2.6
- 2.7
- 3.3
- pypy
env:
matrix:
- WTFORMS=WTForms==1.0.5
- WTFORMS=wtforms2
install:
- "if [ $WTFORMS = wtforms2 ]; then export WTFORMS=https://github.com/wtforms/wtforms/archive/master.zip; fi"
- "pip install $WTFORMS"
- pip install -e ".[test]"
script:
- python setup.py test
| before_script:
- psql -c 'create database wtforms_alchemy_test;' -U postgres
language: python
python:
- 2.6
- 2.7
- 3.3
env:
matrix:
- WTFORMS=WTForms==1.0.5
- WTFORMS=wtforms2
install:
- "if [ $WTFORMS = wtforms2 ]; then export WTFORMS=https://github.com/wtforms/wtforms/archive/master.zip; fi"
- "pip install $WTFORMS"
- pip install -e ".[test]"
script:
- python setup.py test
|
Configure Travis CI to use "node" nvm tag | ---
language: node_js
node_js:
- '4'
- '5'
sudo: false
script:
- npm test
- npm run lint
| ---
language: node_js
node_js: node
sudo: false
script:
- npm test
- npm run lint
|
Move PHP 5.6 out of allow_failures. | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer require satooshi/php-coveralls:~0.6 --prefer-source --no-interaction --dev
script: phpunit -c phpunit.xml --coverage-text
after_script:
- if [[ "$TRAVIS_PHP_VERSION" != *hhvm* ]]; then php vendor/bin/coveralls -v; fi
matrix:
allow_failures:
- php: 5.6
- php: hhvm
fash_finish: true
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer require satooshi/php-coveralls:~0.6 --prefer-source --no-interaction --dev
script: phpunit -c phpunit.xml --coverage-text
after_script:
- if [[ "$TRAVIS_PHP_VERSION" != *hhvm* ]]; then php vendor/bin/coveralls -v; fi
matrix:
allow_failures:
- php: hhvm
fash_finish: true
|
Remove LWRF PIR Binary Sensor | #### Binary_Sensors.yaml ####
# RFXTRX
- platform: rfxtrx
automatic_add: True
devices:
0a140006f4d6b101010060:
name: LWRF_PIR_1
| #### Binary_Sensors.yaml ####
# RFXTRX
- platform: rfxtrx
automatic_add: True
# devices:
# 0a140006f4d6b101010060:
# name: LWRF_PIR_1
|
Update start date for marriage-abroad rates | ---
- start_date: 2015-04-06
end_date: 2016-04-05
receiving_notice_of_registration: 65
receiving_notice_of_marriage: 65
issuing_custom_and_law_certificate: 65
issuing_cni_or_nulla_osta: 65
issuing_marriage_certificate: 65
issuing_civil_partnership_certificate: 65
registering_civil_partnership: 140
registering_marriage: 140
registering_civil_partnership_or_marriage: 140
issuing_civil_partnership_or_marriage_certificate: 65
affidavit_or_affirmation_for_marriage: 55
| ---
- start_date: 2015-01-01
end_date: 2016-04-05
receiving_notice_of_registration: 65
receiving_notice_of_marriage: 65
issuing_custom_and_law_certificate: 65
issuing_cni_or_nulla_osta: 65
issuing_marriage_certificate: 65
issuing_civil_partnership_certificate: 65
registering_civil_partnership: 140
registering_marriage: 140
registering_civil_partnership_or_marriage: 140
issuing_civil_partnership_or_marriage_certificate: 65
affidavit_or_affirmation_for_marriage: 55
|
Remove host param in order to make d2bm v2 work | ---
applications:
- disk_quota: 1024M
host: cp-demo
name: cp-demo
command: "node app.js"
path: "."
instances: 1
memory: 512M
services:
- cpblockchain | ---
applications:
- disk_quota: 1024M
name: cp-demo
command: "node app.js"
path: "."
instances: 1
memory: 512M
services:
- cpblockchain
|
Fix server's link name to DB instance | - hosts: servers
vars_prompt:
- name: instance_name
prompt: "Instance name of the webserver"
default: patchew-server
private: no
- name: superuser_name
prompt: "Admin account to create (optional)"
default: ""
private: no
- name: superuser_pass
prompt: "Admin password (optional)"
default: "adminpass"
private: yes
vars:
base_dir: "/data/{{ instance_name }}"
src_dir: "{{ base_dir }}/src"
data_dir: "{{ base_dir }}/data"
docker_run_args: "--link {{ instance_name }}-db"
tasks:
- name: Create data dir
file:
path: "{{ data_dir }}"
state: directory
- import_tasks: tasks/docker-deploy.yml
vars:
instance_role: server
- name: Create superuser
when: superuser_name != ""
shell: |
docker exec -i {{ instance_name }} bash -c "
cd /opt/patchew &&
. venv/bin/activate &&
./manage.py migrate &&
(
echo 'from django.contrib.auth.models import User;'
echo 'if not User.objects.filter(username=\"{{ superuser_name }}\").first():'
echo ' User.objects.create_superuser(\"{{ superuser_name }}\",'
echo ' \"{{ superuser_name }}@example.com\",'
echo ' \"{{ superuser_pass }}\")'
) | ./manage.py shell
"
| - hosts: servers
vars_prompt:
- name: instance_name
prompt: "Instance name of the webserver"
default: patchew-server
private: no
- name: superuser_name
prompt: "Admin account to create (optional)"
default: ""
private: no
- name: superuser_pass
prompt: "Admin password (optional)"
default: "adminpass"
private: yes
vars:
base_dir: "/data/{{ instance_name }}"
src_dir: "{{ base_dir }}/src"
data_dir: "{{ base_dir }}/data"
docker_run_args: "--link {{ instance_name }}-db:patchew-db"
tasks:
- name: Create data dir
file:
path: "{{ data_dir }}"
state: directory
- import_tasks: tasks/docker-deploy.yml
vars:
instance_role: server
- name: Create superuser
when: superuser_name != ""
shell: |
docker exec -i {{ instance_name }} bash -c "
cd /opt/patchew &&
. venv/bin/activate &&
./manage.py migrate &&
(
echo 'from django.contrib.auth.models import User;'
echo 'if not User.objects.filter(username=\"{{ superuser_name }}\").first():'
echo ' User.objects.create_superuser(\"{{ superuser_name }}\",'
echo ' \"{{ superuser_name }}@example.com\",'
echo ' \"{{ superuser_pass }}\")'
) | ./manage.py shell
"
|
Fix keys usage for Python 2/3 compat | ---
- name: disable temporary challenge sites
file:
path: "{{ nginx_path }}/sites-enabled/letsencrypt-{{ item }}.conf"
state: absent
with_items: "{{ wordpress_sites.keys() }}"
notify: reload nginx
| ---
- name: disable temporary challenge sites
file:
path: "{{ nginx_path }}/sites-enabled/letsencrypt-{{ item }}.conf"
state: absent
with_items: "{{ wordpress_sites.keys() | list }}"
notify: reload nginx
|
Add compose file to run elasticsearch+kibana+fluentd-pilot | version: '2'
services:
elasticsearch:
ports:
- 9200:9200
image: elasticsearch
kibana:
image: kibana
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200/
labels:
aliyun.routing.port_5601: kibana
links:
- elasticsearch
# pilot:
# image: pilot
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# - /:/host
# environment:
# FLUENTD_OUTPUT: elasticsearch
# ELASTICSEARCH_HOST: elasticsearch
# ELASTICSEARCH_PORT: 9200
# links:
# - elasticsearch
#
| version: '2'
services:
elasticsearch:
ports:
- 9200:9200
image: elasticsearch
kibana:
image: kibana
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200/
labels:
aliyun.routing.port_5601: kibana
links:
- elasticsearch
pilot:
image: pilot
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /:/host
environment:
FLUENTD_OUTPUT: elasticsearch
ELASTICSEARCH_HOST: elasticsearch
ELASTICSEARCH_PORT: 9200
links:
- elasticsearch
|
Add Hull unbookable + Tuesday slots | ---
name: Hull
nomis_id: HLI
address: |-
Hedon Road
Hull
postcode: HU9 5LS
email_address: socialvisits.hull@hmps.gsi.gov.uk
phone_no: 01482 282413
enabled: true
recurring:
mon:
- 0930-1130
- 1345-1545
fri:
- 0930-1130
- 1345-1545
sat:
- 0930-1130
- 1345-1545
sun:
- 0930-1130
- 1345-1545
| ---
name: Hull
nomis_id: HLI
address: |-
Hedon Road
Hull
postcode: HU9 5LS
email_address: socialvisits.hull@hmps.gsi.gov.uk
phone_no: 01482 282413
enabled: true
recurring:
mon:
- 0930-1130
- 1345-1545
tue:
- 0930-1130
- 1345-1545
fri:
- 0930-1130
- 1345-1545
sat:
- 0930-1130
- 1345-1545
sun:
- 0930-1130
- 1345-1545
unbookable:
- 2016-02-22
- 2016-02-23
- 2016-03-08
- 2016-03-14
- 2016-03-22
- 2016-04-12
- 2016-05-04
- 2016-05-10
- 2016-05-16
- 2016-05-24
- 2016-06-13
- 2016-06-14
- 2016-07-12
- 2016-07-25
- 2016-08-09
- 2016-08-22
- 2016-09-13
- 2016-09-19
- 2016-09-27
- 2016-10-11
- 2016-10-24
- 2016-10-25
- 2016-11-08
- 2016-11-21
- 2016-12-13
- 2016-12-19
|
Correct name for changed field | type: object
properties:
id:
type: string
description: Unique shift ID
format: ObjectId
readOnly: true
created:
type: number
description: Timestamp in milliseconds for when the object was created
example: 1558604010307
readOnly: true
created-by:
type: string
description: User ID the the user that created the object.
readOnly: true
format: ObjectId
changed:
type: number
description: Timestamp in milliseconds for when the object was last changed
example: 1558604030403
readOnly: true
changed-by:
type: string
description: User ID the the user that last changed the object.
readOnly: true
format: ObjectId
archived:
type: number
description: Timestamp in milliseconds for when the object was archived, or null if it is still active
example: null
required:
- id
| type: object
properties:
id:
type: string
description: Unique shift ID
format: ObjectId
readOnly: true
created:
type: number
description: Timestamp in milliseconds for when the object was created
example: 1558604010307
readOnly: true
created-by:
type: string
description: User ID the the user that created the object.
readOnly: true
format: ObjectId
valid-from:
type: number
description: Timestamp in milliseconds for when the object was last changed
example: 1558604030403
readOnly: true
changed-by:
type: string
description: User ID the the user that last changed the object.
readOnly: true
format: ObjectId
archived:
type: number
description: Timestamp in milliseconds for when the object was archived, or null if it is still active
example: null
required:
- id
|
Update pointers to Vagrant boxes used in test suite. | ---
driver_plugin: vagrant
platforms:
- name: ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
require_chef_omnibus: true
customize:
memory: 512
run_list:
- recipe[apt]
- name: centos-6.4
driver_config:
box: opscode-centos-6.4
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
require_chef_omnibus: true
customize:
memory: 512
run_list:
- recipe[yum::epel]
suites:
- name: default
run_list:
- recipe[minitest-handler]
- recipe[statsd]
attributes: {}
| ---
driver_plugin: vagrant
platforms:
- name: ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box
customize:
memory: 512
- name: centos-6.5
driver_config:
box: opscode-centos-6.5
box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box
customize:
memory: 512
suites:
- name: default
run_list:
- recipe[minitest-handler]
- recipe[statsd]
attributes: {}
|
Make RuboCop not count keyword arguments | AllCops:
Exclude:
- 'spec/samples/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
# FIXME: Make the class shorter
Metrics/ClassLength:
Exclude:
- lib/reek/tree_walker.rb
- lib/reek/cli/options.rb
# FIXME: Lower the method length by fixing the biggest offenders
Metrics/MethodLength:
Max: 15
# Be rather lenient with line length
Metrics/LineLength:
Max: 120
# Indent one level for follow-up lines
Style/MultilineOperationIndentation:
EnforcedStyle: indented
# Allow small arrays of words with quotes
Style/WordArray:
MinSize: 3
# Allow single-line method definitions
Style/SingleLineMethods:
Enabled: false
# Always use raise to signal exceptions
Style/SignalException:
EnforcedStyle: only_raise
# Place . on the previous line
Style/DotPosition:
EnforcedStyle: trailing
# Require empty lines between defs, except for one-line defs
Style/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
# Allow multiline block chains
Style/MultilineBlockChain:
Enabled: false
# Allow Perl-style references to regex matches
Style/PerlBackrefs:
Enabled: false
| AllCops:
Exclude:
- 'spec/samples/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
# FIXME: Make the class shorter
Metrics/ClassLength:
Exclude:
- lib/reek/tree_walker.rb
- lib/reek/cli/options.rb
# FIXME: Lower the method length by fixing the biggest offenders
Metrics/MethodLength:
Max: 15
# Be rather lenient with line length
Metrics/LineLength:
Max: 120
# Keyword arguments make long parameter lists readable
Metrics/ParameterLists:
CountKeywordArgs: false
# Indent one level for follow-up lines
Style/MultilineOperationIndentation:
EnforcedStyle: indented
# Allow small arrays of words with quotes
Style/WordArray:
MinSize: 3
# Allow single-line method definitions
Style/SingleLineMethods:
Enabled: false
# Always use raise to signal exceptions
Style/SignalException:
EnforcedStyle: only_raise
# Place . on the previous line
Style/DotPosition:
EnforcedStyle: trailing
# Require empty lines between defs, except for one-line defs
Style/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
# Allow multiline block chains
Style/MultilineBlockChain:
Enabled: false
# Allow Perl-style references to regex matches
Style/PerlBackrefs:
Enabled: false
|
Add rule for ES6 arrow functions: spaces around arrows | # Don't inherit settings from e.g. ~.
root: true
env:
node: true
mocha: true
parserOptions:
# Allow ES6.
ecmaVersion: 6
extends:
"eslint:recommended"
rules:
# 2 means error, 1 means warning, 0 means ignore.
# Avoid type coercion.
eqeqeq: 2
# Style.
dot-location: [2, "property"]
# Avoid missing `new` keyword.
new-cap: 2
# Node.js
handle-callback-err: 2
no-new-require: 2
# ES6.
prefer-const: 1
require-yield: 2
# Disable a couple of the recommended checks:
# Allow unused parameters. In callbacks, removing them seems to obscure
# what the functions are doing.
no-unused-vars: [2, {"args": "none"}]
# Covered by jscs; don't check it again here.
comma-dangle: 0
# Well, we should start using loggers more consistently so we can turn
# this on.
no-console: 0
| # Don't inherit settings from e.g. ~.
root: true
env:
node: true
mocha: true
parserOptions:
# Allow ES6.
ecmaVersion: 6
extends:
"eslint:recommended"
rules:
# 2 means error, 1 means warning, 0 means ignore.
# Avoid type coercion.
eqeqeq: 2
# Style.
dot-location: [2, "property"]
# Avoid missing `new` keyword.
new-cap: 2
# Node.js
handle-callback-err: 2
no-new-require: 2
# ES6.
prefer-const: 1
require-yield: 2
# ES6 arrow functions.
arrow-spacing: 2
# Disable a couple of the recommended checks:
# Allow unused parameters. In callbacks, removing them seems to obscure
# what the functions are doing.
no-unused-vars: [2, {"args": "none"}]
# Covered by jscs; don't check it again here.
comma-dangle: 0
# Well, we should start using loggers more consistently so we can turn
# this on.
no-console: 0
|
Update from Hackage at 2017-09-05T14:02:22Z | homepage: http://github.com/khibino/haskell-product-isomorphic
changelog-type: ''
hash: cd7bee77706f20788872e444f9cf71fe4096debcd68dca8cc409c7133751c910
test-bench-deps: {}
maintainer: ex8k.hibino@gmail.com
synopsis: Weaken applicative functor on products
changelog: ''
basic-deps:
base: <5
th-data-compat: -any
template-haskell: -any
all-versions:
- '0.0.1.0'
author: Kei Hibino
latest: '0.0.1.0'
description-type: haddock
description: ! 'Weaken applicative functor which allows only product
construction. Product constructions and deconstructions
are always isomorphic.'
license-name: BSD3
| homepage: http://github.com/khibino/haskell-product-isomorphic
changelog-type: ''
hash: 1bb3c6a5e3f205249dc3dafc32f4fba57ccee9790ff1fb976d3368226b42a0e2
test-bench-deps: {}
maintainer: ex8k.hibino@gmail.com
synopsis: Weaken applicative functor on products
changelog: ''
basic-deps:
base: <5
th-data-compat: -any
template-haskell: -any
all-versions:
- '0.0.1.0'
- '0.0.2.0'
author: Kei Hibino
latest: '0.0.2.0'
description-type: haddock
description: ! 'Weaken applicative functor which allows only product
construction. Product constructions and deconstructions
are always isomorphic.'
license-name: BSD3
|
Change Shosetsu AUM to add versionName suffix | Categories:
- Reading
License: GPL-3.0-only
AuthorName: Doomsdayrs
SourceCode: https://github.com/ShosetsuOrg/android-app
IssueTracker: https://github.com/ShosetsuOrg/android-app/issues
Changelog: https://github.com/ShosetsuOrg/android-app/releases
AutoName: Shosetsu
RepoType: git
Repo: https://github.com/ShosetsuOrg/android-app.git
Builds:
- versionName: v1.1.3-release
versionCode: 26
commit: v1.1.3
subdir: app
gradle:
- yes
- versionName: v1.1.4
versionCode: 27
commit: v1.1.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: v1.1.4
CurrentVersionCode: 27
| Categories:
- Reading
License: GPL-3.0-only
AuthorName: Doomsdayrs
SourceCode: https://github.com/ShosetsuOrg/android-app
IssueTracker: https://github.com/ShosetsuOrg/android-app/issues
Changelog: https://github.com/ShosetsuOrg/android-app/releases
AutoName: Shosetsu
RepoType: git
Repo: https://github.com/ShosetsuOrg/android-app.git
Builds:
- versionName: v1.1.3-release
versionCode: 26
commit: v1.1.3
subdir: app
gradle:
- yes
- versionName: v1.1.4-release
versionCode: 27
commit: v1.1.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version +-release %v
UpdateCheckMode: Tags
CurrentVersion: v1.1.4
CurrentVersionCode: 27
|
Add 'concat_with_spaces' fixers to StyleCI config | preset: recommended
disabled:
- no_multiline_whitespace_before_semicolons # Allow to put semicolons on a line after the last parenthesis
| preset: recommended
enabled:
- concat_with_spaces
disabled:
- no_multiline_whitespace_before_semicolons # Allow to put semicolons on a line after the last parenthesis
- concat_without_spaces
|
Use spells for spellshops so it doesn't show spells you already have | phaseshop:
inherit: buyshop
parameters:
items:
- item: phase
cost: 1000
| phaseshop:
inherit: buyshop
parameters:
spells:
- item: phase
cost: 1000
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.