Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Update which Node.js versions to run tests on | language: node_js
node_js:
- 4
- 5
- 6
- 7
notifications:
email:
recipients:
- office@alexanderwallin.com
on_success: change
on_failure: change
webhooks:
urls:
- https://webhooks.gitter.im/e/0ed18fd9b3e529b3c2cc
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
| language: node_js
node_js:
- 12
- 14
- 16
notifications:
email:
recipients:
- office@alexanderwallin.com
on_success: change
on_failure: change
webhooks:
urls:
- https://webhooks.gitter.im/e/0ed18fd9b3e529b3c2cc
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
|
Revert changes to spacedhan transform yml file | ---
:transforms:
-
:direction: both
:rules:
- ":: [[㆒-㆟㈠-㉇㊀-㊰㋀-㋋㍘-㍰㍻-㍿㏠-㏾ 🈐-🈒🈔-🈺🉀-🉈🉐🉑][:Ideographic:][:sc=Han:]];"
- ":: fullwidth-halfwidth;"
- "。 > '.';"
- "$terminalPunct = [\\.\\,\\:\\;\\?\\!.,:?!。、;[:Pe:][:Pf:]];"
- "$initialPunct = [:Ps:][:Pi:];"
- "[[:Ideographic:] $terminalPunct] {} [:Letter:] > ' ' ;"
- "[:Letter:] [:Mark:]* {} [[:Ideographic:] $initialPunct] > ' ' ;"
- "< [:Ideographic:] { ' ' } [:Letter:] ;"
- "< [:Letter:] [:Mark:]* { ' ' } [:Ideographic:] ;"
:source: Han
:target: Spacedhan
:variant: ~
| ---
:transforms:
-
:direction: both
:rules:
- ":: [[㆒-㆟㈠-㉇㊀-㊰㋀-㋋㍘-㍰㍻-㍿㏠-㏾ 🈐-🈒🈔-🈺🉀-🉈🉐🉑][:ideographic:][:sc=han:]];"
- ":: fullwidth-halfwidth;"
- "。 > '.';"
- "$terminalPunct = [\\.\\,\\:\\;\\?\\!.,:?!。、;[:Pe:][:Pf:]];"
- "$initialPunct = [:Ps:][:Pi:];"
- "[[:Ideographic:] $terminalPunct] {} [:Letter:] > ' ' ;"
- "[:Letter:] [:Mark:]* {} [[:Ideographic:] $initialPunct] > ' ' ;"
- "< [:Ideographic:] { ' ' } [:Letter:] ;"
- "< [:Letter:] [:Mark:]* { ' ' } [:Ideographic:] ;"
:source: Han
:target: Spacedhan
:variant: ~
|
Remove gcc7 and gcc8 tests. Replace clang8 with clang11. | name: Unit Tests Ubuntu
on: [ push ]
jobs:
build:
name: ${{ matrix.compiler_name }}
runs-on: ubuntu-latest
strategy:
matrix:
compiler_name: [build_gcc7, build_gcc8, build_gcc9, build_gcc10, build_clang8, build_clang9, build_clang10]
include:
- compiler_name: build_gcc7
c_compiler: gcc-7
cxx_compiler: g++-7
- compiler_name: build_gcc8
c_compiler: gcc-8
cxx_compiler: g++-8
- compiler_name: build_gcc9
c_compiler: gcc-9
cxx_compiler: g++-9
- compiler_name: build_gcc10
c_compiler: gcc-10
cxx_compiler: g++-10
- compiler_name: build_clang8
c_compiler: clang-8
cxx_compiler: clang++-8
- compiler_name: build_clang9
c_compiler: clang-9
cxx_compiler: clang++-9
- compiler_name: build_clang10
c_compiler: clang-10
cxx_compiler: clang++-10
steps:
- uses: actions/checkout@v2
- name: cmake
run: cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_UNIT_TESTS=TRUE -G "CodeBlocks - Unix Makefiles" -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cxx_compiler }} -S ./source
- name: build
run: cmake --build ./
- name: unit-tests
run: ./unittests
| name: Unit Tests Ubuntu
on: [ push ]
jobs:
build:
name: ${{ matrix.compiler_name }}
runs-on: ubuntu-latest
strategy:
matrix:
compiler_name: [build_gcc9, build_gcc10, build_clang9, build_clang10, build_clang11]
include:
- compiler_name: build_gcc9
c_compiler: gcc-9
cxx_compiler: g++-9
- compiler_name: build_gcc10
c_compiler: gcc-10
cxx_compiler: g++-10
- compiler_name: build_clang9
c_compiler: clang-9
cxx_compiler: clang++-9
- compiler_name: build_clang10
c_compiler: clang-10
cxx_compiler: clang++-10
- compiler_name: build_clang11
c_compiler: clang-11
cxx_compiler: clang++-11
steps:
- uses: actions/checkout@v2
- name: cmake
run: cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_UNIT_TESTS=TRUE -G "CodeBlocks - Unix Makefiles" -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cxx_compiler }} -S ./source
- name: build
run: cmake --build ./
- name: unit-tests
run: ./unittests
|
Add step to register all JVMs with jenv | ---
- name: Install jenv
git: >
repo=git://github.com/gcuisinier/jenv.git
dest=~/.jenv
tags: update
- name: Set current JVM
shell: 'jenv global {{ dotfiles.jvm.version }}'
- name: Create ~/.bin
file: dest=~/.bin state=directory
# HACK: Ansible won't link relative files?!
# https://github.com/ansible/ansible/issues/7627
- name: Link lein
file: src={{ item }} dest=~/.bin/{{ item | basename }} state=link
with_fileglob:
- ./lein*
- name: Create ~/.lein
file: dest=~/.lein state=directory
- name: Link profiles.clj
file: src={{ item }} dest=~/.lein/{{ item | basename }} state=link
with_fileglob:
- ./*
| ---
- name: Install jenv
git: >
repo=git://github.com/gcuisinier/jenv.git
dest=~/.jenv
tags: update
- name: Register all JVMs
shell: 'jenv add {{ item }}/Contents/Home'
with_fileglob:
- /Library/Java/JavaVirtualMachines/*
- name: Set current JVM
shell: 'jenv global {{ dotfiles.jvm.version }}'
- name: Create ~/.bin
file: dest=~/.bin state=directory
# HACK: Ansible won't link relative files?!
# https://github.com/ansible/ansible/issues/7627
- name: Link lein
file: src={{ item }} dest=~/.bin/{{ item | basename }} state=link
with_fileglob:
- ./lein*
- name: Create ~/.lein
file: dest=~/.lein state=directory
- name: Link profiles.clj
file: src={{ item }} dest=~/.lein/{{ item | basename }} state=link
with_fileglob:
- ./*
|
Remove iwyu debugging and install libclang-common-9-dev. | name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
# Unfortunately available Marketplace Actions for this are in a mess, so we do it manually.
run: |
sudo apt-get update -y
sudo apt-get install -y libpopt-dev libb2-dev clang-tidy libclang-dev llvm-dev iwyu
- name: Configure CMake
run: cmake .
- name: clang-tidy
run: cmake --build . --target clang-tidy
- name: iwyu
run: |
iwyu -E -xc - -v </dev/null
cmake --build . --target iwyu
| name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
# Unfortunately available Marketplace Actions for this are in a mess, so we do it manually.
# Also iwyu is missing a dependency on libclang-common-0-dev, See;
# https://bugs.launchpad.net/ubuntu/+source/iwyu/+bug/1769334
run: |
sudo apt-get update -y
sudo apt-get install -y libpopt-dev libb2-dev clang-tidy libclang-common-9-dev iwyu
- name: Configure CMake
run: cmake .
- name: clang-tidy
run: cmake --build . --target clang-tidy
- name: iwyu
run: |
cmake --build . --target iwyu
|
Update from Hackage at 2017-04-08T21:18:16Z | homepage: https://github.com/hvr/token-bucket
changelog-type: markdown
hash: 41232cfabd4ba8e217d2b78f0f897d5a245756cf525c9a84c5ba2c695b533576
test-bench-deps:
base: ! '>=4.6 && <4.10'
time: ! '>=1.4 && <1.7'
token-bucket: -any
maintainer: hvr@gnu.org
synopsis: Rate limiter using lazy bucket algorithm
changelog: ! "0.1.0.1\n-------\n\n - Compat with GHC 7.10\n\n0.1.0.0\n-------\n\n
- Initial version\n"
basic-deps:
base: ! '>=4.6 && <4.10'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: Herbert Valerio Riedel
latest: '0.1.0.1'
description-type: haddock
description: ! 'This implementation is heavily inspired by the one described in
<http://ksdlck.com/post/17418037348/rate-limiting-at-webscale-lazy-leaky-buckets
"Rate Limiting at Webscale: Lazy Leaky Buckets">'
license-name: GPL-3
| homepage: https://github.com/hvr/token-bucket
changelog-type: markdown
hash: a36253bf7bafd131327019f3ccac6b02cf8b6ca3db45c05e578fd600f856730e
test-bench-deps:
base: ! '>=4.6 && <4.10'
time: ! '>=1.4 && <1.7'
token-bucket: -any
maintainer: hvr@gnu.org
synopsis: Rate limiter using lazy bucket algorithm
changelog: ! "0.1.0.1\n-------\n\n - Compat with GHC 7.10\n\n0.1.0.0\n-------\n\n
- Initial version\n"
basic-deps:
base: ! '>=4.6 && <4.11'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: Herbert Valerio Riedel
latest: '0.1.0.1'
description-type: haddock
description: ! 'This implementation is heavily inspired by the one described in
<http://ksdlck.com/post/17418037348/rate-limiting-at-webscale-lazy-leaky-buckets
"Rate Limiting at Webscale: Lazy Leaky Buckets">'
license-name: GPL-3
|
Use correct windows syntax for current directory | name: Audit bugsnag-go dependency licenses
on: [push, pull_request]
jobs:
license-audit:
runs-on: ${{matrix.os}}-latest
defaults:
run:
working-directory: 'go/src/github.com/bugsnag/bugsnag-go/v2'
strategy:
matrix:
os: [ubuntu, windows]
steps:
- uses: actions/checkout@v2
with:
path: 'go/src/github.com/bugsnag/bugsnag-go' # relative to $GITHUB_WORKSPACE
- name: set GOPATH
if: matrix.os == 'ubuntu'
run: |
bash -c 'echo "GOPATH=$GITHUB_WORKSPACE/go" >> $GITHUB_ENV'
- name: set GOPATH
if: matrix.os == 'windows'
run: |
bash -c 'echo "GOPATH=$GITHUB_WORKSPACE\\\\go" >> $GITHUB_ENV'
- uses: actions/setup-go@v2
with:
go-version: '1.16'
- name: install dependencies
run: go get -v -d ./...
- name: Run License Finder
# for some reason license finder doesn't run without a login shell (-l)
run: >
docker run -v $PWD:/scan licensefinder/license_finder /bin/bash -lc "
cd /scan &&
license_finder --decisions-file decisions.yml
" | name: Audit bugsnag-go dependency licenses
on: [push, pull_request]
jobs:
license-audit:
runs-on: ${{matrix.os}}-latest
defaults:
run:
working-directory: 'go/src/github.com/bugsnag/bugsnag-go/v2'
strategy:
matrix:
os: [ubuntu, windows]
steps:
- uses: actions/checkout@v2
with:
path: 'go/src/github.com/bugsnag/bugsnag-go' # relative to $GITHUB_WORKSPACE
- name: set GOPATH
if: matrix.os == 'ubuntu'
run: |
bash -c 'echo "GOPATH=$GITHUB_WORKSPACE/go" >> $GITHUB_ENV'
- name: set GOPATH
if: matrix.os == 'windows'
run: |
bash -c 'echo "GOPATH=$GITHUB_WORKSPACE\\\\go" >> $GITHUB_ENV'
- uses: actions/setup-go@v2
with:
go-version: '1.16'
- name: install dependencies
run: go get -v -d ./...
- name: Run License Finder
if: matrix.os == 'ubuntu'
run: >
docker run -v $PWD:/scan licensefinder/license_finder /bin/bash -lc "
cd /scan &&
license_finder --decisions-file decisions.yml
"
- name: Run License Finder
if: matrix.os == 'windows'
run: >
docker run -v %cd%:/scan licensefinder/license_finder /bin/bash -lc "
cd /scan &&
license_finder --decisions-file decisions.yml
" |
Remove test from node < 14 | # GitHub actions
# https://docs.github.com/en/free-pro-team@latest/actions
name: ci-test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
node_version: [10.14.2, 14.x, 15.x, 16.x, 17.x]
steps:
- uses: actions/checkout@v2
- name: setup Node.js v${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: setup timezone
uses: zcong1993/setup-timezone@master
with:
timezone: ${{ secrets.TZ }}
- name: run npm scripts
run: |
npm i -g standard
npm install
npm run lint
npm run test
- name: sync to coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
| # GitHub actions
# https://docs.github.com/en/free-pro-team@latest/actions
name: ci-test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
node_version: [14.x, 15.x, 16.x, 17.x]
steps:
- uses: actions/checkout@v2
- name: setup Node.js v${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: setup timezone
uses: zcong1993/setup-timezone@master
with:
timezone: ${{ secrets.TZ }}
- name: run npm scripts
run: |
npm i -g standard
npm install
npm run lint
npm run test
- name: sync to coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
|
Change Travis CI e-mail notifications | language: php
php:
- 5.5
- 5.6
- 7.0
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source | language: php
php:
- 5.5
- 5.6
- 7.0
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source
notifications:
email:
on_failure: change
on_success: never |
Add node 8 to the list of versions to check | language: node_js
node_js:
- "4"
- "6"
env:
- CXX=g++-4.8
install:
- npm install
script:
- ant test
branches:
only:
- master
- development
sudo: required
dist: precise
| language: node_js
node_js:
- "4"
- "6"
- "8"
env:
- CXX=g++-4.8
install:
- npm install
script:
- ant test
branches:
only:
- master
- development
sudo: required
dist: precise
|
Use libgeos-c1 instead of libgeos-dev. | language: ruby
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
- rbx-2
before_install:
- sudo apt-get update
- sudo apt-get install libgeos-dev
| language: ruby
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
- rbx-2
before_install:
- sudo apt-get update
- sudo apt-get install -y libgeos-c1
|
Change Coverity Scan branch to use 'dev' instead of master. | # Travis CI integration -- https://travis-ci.org/troglobit/libuev
language: c
compiler:
- gcc
- clang
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "ikQcWMCLFoxq0+wMiqrNT5HRn0d4e3AxuF8VzNUNFrk6jUvHIufC/OKvr8VWPTjCaAQXZjWfdQAAARUXzJV10WZ7xpiv5qt4bt26Qih2AwMPMJeUOYrqXgQqhTPBp05iLYpo4ybICteXRI3zKKUA1wkdDC0jyu3rl+Fbveekbe0="
addons:
coverity_scan:
project:
name: "troglobit/libuev"
description: "libuEv | Simple asynchronous event loop for Linux."
notification_email: troglobit@gmail.com
build_command: "make"
branch_pattern: master
script: make
| # Travis CI integration -- https://travis-ci.org/troglobit/libuev
language: c
compiler:
- gcc
- clang
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "ikQcWMCLFoxq0+wMiqrNT5HRn0d4e3AxuF8VzNUNFrk6jUvHIufC/OKvr8VWPTjCaAQXZjWfdQAAARUXzJV10WZ7xpiv5qt4bt26Qih2AwMPMJeUOYrqXgQqhTPBp05iLYpo4ybICteXRI3zKKUA1wkdDC0jyu3rl+Fbveekbe0="
addons:
coverity_scan:
project:
name: "troglobit/libuev"
description: "libuEv | Simple event loop for Linux"
notification_email: troglobit@gmail.com
build_command: "make"
branch_pattern: dev
script: make
|
Remove support for old Python 3.x versions | language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
install: pip install .
script: python -m phabricator.tests.test_phabricator
deploy:
provider: pypi
user: disqus
password:
secure: AJ7zSLd6BgI4W8Kp3KEx5O40bUJA91PkgLTZb5MnCx4/8nUPlkk+LqvodaiiJQEGzpP8COPvRlzJ/swd8d0P38+Se6V83wA43MylimzrgngO6t3c/lXa/aMnrRzSpSfK5QznEMP2zcSU1ReD+2dNr7ATKajbGqTzrCFk/hQPMZ0=
on:
tags: true
| language: python
python:
- '2.7'
- '3.5'
install: pip install .
script: python -m phabricator.tests.test_phabricator
deploy:
provider: pypi
user: disqus
password:
secure: AJ7zSLd6BgI4W8Kp3KEx5O40bUJA91PkgLTZb5MnCx4/8nUPlkk+LqvodaiiJQEGzpP8COPvRlzJ/swd8d0P38+Se6V83wA43MylimzrgngO6t3c/lXa/aMnrRzSpSfK5QznEMP2zcSU1ReD+2dNr7ATKajbGqTzrCFk/hQPMZ0=
on:
tags: true
|
Use the right config file | language: python
cache: pip
services:
- redis-server
python:
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "nightly"
install:
- pip install coveralls
- pip install codecov
- pip install .
- pushd client
- python setup.py install
- popd
script:
- coverage run --source=uwhoisd uwhoisd/__init__.py extra/uwhoisd.ini &
- sleep 15
- nosetests --with-coverage --cover-package=uwhoisd
- coverage combine .coverage*
after_success:
- codecov
- coveralls
| language: python
cache: pip
services:
- redis-server
python:
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "nightly"
install:
- pip install coveralls
- pip install codecov
- pip install .
- cp travis_config/uwhoisd.ini extra/uwhoisd.ini
- pushd client
- python setup.py install
- popd
script:
- coverage run --source=uwhoisd uwhoisd/__init__.py extra/uwhoisd.ini &
- sleep 15
- nosetests --with-coverage --cover-package=uwhoisd
- coverage combine .coverage*
after_success:
- codecov
- coveralls
|
Add coverage flags for issolating reports | language: objective-c
osx_image: xcode8
before_install:
- gem install xcpretty
script:
- cd Examples
- xcodebuild -version
- xcodebuild -project DynamicColorExample.xcodeproj -scheme iOSTests -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" -configuration Release GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ONLY_ACTIVE_ARCH=YES test | xcpretty -c
- xcodebuild -project DynamicColorExample.xcodeproj -scheme OSXTests -sdk macosx -configuration Release GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ONLY_ACTIVE_ARCH=YES test | xcpretty -c
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: objective-c
osx_image: xcode8
before_install:
- gem install xcpretty
script:
- cd Examples
- xcodebuild -version
- xcodebuild -project DynamicColorExample.xcodeproj -scheme iOSTests -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" -configuration Release GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ONLY_ACTIVE_ARCH=YES test | xcpretty -c
- bash <(curl -s https://codecov.io/bash) -cF ios
- xcodebuild -project DynamicColorExample.xcodeproj -scheme OSXTests -sdk macosx -configuration Release GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ONLY_ACTIVE_ARCH=YES test | xcpretty -c
- bash <(curl -s https://codecov.io/bash) -cF osx
|
Remove JRuby from Travis Rubies for now | language: ruby
bundler_args: --without extras osx
rvm:
- 1.9.3
- jruby-19mode
- rbx-19mode
| language: ruby
bundler_args: --without extras osx
rvm:
- 1.9.3
- rbx-19mode
|
Make sure that at least npm@3 is installed on Travis. | language: node_js
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
sudo: false
| language: node_js
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
sudo: false
before_install: if [[ `npm -v | cut -d . -f 1` -lt 3 ]]; then npm i -g npm@3; fi
|
Disable test:SecEncodeTransformTests on Travis CI | language: objective-c
cache:
directories:
- vendor/bundle
install:
- bundle install --path=vendor/bundle --binstubs=vendor/bin
script:
- bundle exec rake test:ios test:osx test:SecEncodeTransformTests
branches:
only:
- master
env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
| language: objective-c
cache:
directories:
- vendor/bundle
install:
- bundle install --path=vendor/bundle --binstubs=vendor/bin
script:
- bundle exec rake test:ios test:osx
branches:
only:
- master
env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
|
Update python versions to test against | language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install: "pip install -r requirements.txt"
script:
- python setup.py install
- make test
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install: "pip install -r requirements.txt"
script:
- python setup.py install
- make test
|
Use Python 3 on Travis. | language: python
python:
- "2.7"
before_install:
- wget -O ta-lib-0.4.0-src.tar.gz http://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz/download
- tar xvzf ta-lib-0.4.0-src.tar.gz
- pushd ta-lib; ./configure; make; sudo make install; popd
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- sudo apt-get install gfortran
install:
- cat etc/requirements_dev.txt | grep -v "^#" | grep -v "^$" | grep -v ipython | grep -v nose== | grep -v scipy | grep -v matplotlib | grep -v statsmodels | grep -v patsy | xargs pip install --use-mirrors
- etc/ordered_pip.sh etc/requirements.txt
before_script:
- "flake8 zipline tests"
script:
- nosetests --exclude=^test_examples
| language: python
python:
- "2.7"
- "3.3"
before_install:
- wget -O ta-lib-0.4.0-src.tar.gz http://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz/download
- tar xvzf ta-lib-0.4.0-src.tar.gz
- pushd ta-lib; ./configure; make; sudo make install; popd
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- sudo apt-get install gfortran
install:
- cat etc/requirements_dev.txt | grep -v "^#" | grep -v "^$" | grep -v ipython | grep -v nose== | grep -v scipy | grep -v matplotlib | grep -v statsmodels | grep -v patsy | xargs pip install --use-mirrors
- etc/ordered_pip.sh etc/requirements.txt
before_script:
- "flake8 zipline tests"
script:
- nosetests --exclude=^test_examples
|
Exclude postgres tests on hhvm | before_script:
- composer self-update
- composer install
- mysql -e 'create database phinx_testing;'
- psql -c 'create database phinx_testing;' -U postgres
language: php
php:
- 5.3
- 5.4
- 5.5
- hhvm
script:
- phpunit --coverage-text --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
matrix:
allow_failures:
- php: hhvm
| before_script:
- composer self-update
- composer install
- mysql -e 'create database phinx_testing;'
- psql -c 'create database phinx_testing;' -U postgres
language: php
php:
- 5.3
- 5.4
- 5.5
- hhvm
script:
- phpunit --coverage-text --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
matrix:
exclude:
- php: hhvm
env: TESTS_PHINX_DB_ADAPTER_POSTGRES_ENABLED=true
include:
- php: hhvm
env: TESTS_PHINX_DB_ADAPTER_POSTGRES_ENABLED=false
allow_failures:
- php: hhvm
|
Use version 0.11 of node path; version 0.12 breaks the build | language: node_js
node_js: 0.10
before_install:
- "npm install -g coffee-script"
- "npm install path"
- "npm install util"
- "cake build"
script: "cake test"
notifications:
email: false
branches:
except:
- experimental
- 1.43
- commands
| language: node_js
node_js: 0.10
before_install:
- "npm install -g coffee-script"
- "npm install path@0.11"
- "npm install util"
- "cake build"
script: "cake test"
notifications:
email: false
branches:
except:
- experimental
- 1.43
- commands
|
Move show build result with tree after success | language: rust
rust:
- nightly
addons:
apt:
packages:
- tree
install:
- git clone --depth 1 https://github.com/steveklabnik/rustbook.git
- cd rustbook && cargo build --release && cd ..
script:
- rustbook/target/release/rustbook build text/ book/
- tree book
| language: rust
rust:
- nightly
addons:
apt:
packages:
- tree
install:
- git clone --depth 1 https://github.com/steveklabnik/rustbook.git
- cd rustbook && cargo build --release && cd ..
script:
- rustbook/target/release/rustbook build text/ book/
after_success:
- tree book
|
Move npm install to before_install step | sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: true
node_js:
- stable
- 5
- 4
- 0.12
before_script:
- npm install npm@latest
- npm prune
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- 'export $(cat .to_export_back) &> /dev/null'
- npm run coveralls
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
| sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: true
node_js:
- stable
- 5
- 4
- 0.12
before_install:
- npm install -g npm@latest
before_script:
- npm prune
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- 'export $(cat .to_export_back) &> /dev/null'
- npm run coveralls
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
Update Travis configuration to use node 7 | sudo: false
language: node_js
node_js:
- 6
before_script:
- npm install -g gulp
script:
- gulp web:build:dev
- gulp release
| sudo: false
language: node_js
node_js:
- 6
- 7
before_script:
- npm install -g gulp
script:
- gulp web:build:dev
- gulp release
|
Clean up old cocoapods correctly | language: objective-c
osx_image: xcode8
xcode_workspace: kushki-ios.xcworkspace
xcode_scheme: kushki-ios
xcode_sdk: iphonesimulator10.0
branches:
only:
- master
podfile: ./Podfile
before_install:
- gem uninstall cocoapods
- gem install cocoapods:1.1.0.rc.3
script:
- ./pipeline/01-unit.sh
- ./pipeline/02-lint.sh
deploy:
provider: script
script: ./pipeline/03-distribute.sh
| language: objective-c
osx_image: xcode8
xcode_workspace: kushki-ios.xcworkspace
xcode_scheme: kushki-ios
xcode_sdk: iphonesimulator10.0
branches:
only:
- master
podfile: ./Podfile
before_install:
- gem install cocoapods:1.1.0.rc.3
- gem cleanup cocoapods
script:
- ./pipeline/01-unit.sh
- ./pipeline/02-lint.sh
deploy:
provider: script
script: ./pipeline/03-distribute.sh
|
Add task to ensure Jenkins is started after installation tasks | ---
# Tasks file for jenkins
- name: Load the OS specific varibles
include_vars: "{{ role_path }}/vars/{{ ansible_os_family }}.yml"
- include: install_debian.yml
tags:
- install
- jenkins
when: ansible_os_family == "Debian"
- name : Restart jenkins if new version installed
include : "{{ role_path }}/handlers/restart_jenkins.yml"
when : jenkins_task_package_install.changed
- name : Waiting the application is available
include : "{{ role_path }}/handlers/waiting_jenkins.yml"
- name : Configure jenkins launching settings
include: configure.yml
tags:
- configure
- jenkins
- name : Install and configure Jenkins CLI
include: manage_cli.yml
tags:
- jenkins
- install
- name : Manage plugins installations and upgrades
include: plugins.yml
tags:
- jenkins
- install
- name : Configure Jenkins application and its plugins
include : "{{ role_path }}/tasks/create_config_files.yml"
tags :
- jenkins
- configure
- name : Create credentials
include : "{{ role_path }}/tasks/manage_credentials.yml"
when : jenkins_credentials
tags :
- jenkins
- configure
| ---
# Tasks file for jenkins
- name: Load the OS specific varibles
include_vars: "{{ role_path }}/vars/{{ ansible_os_family }}.yml"
- include: install_debian.yml
tags:
- install
- jenkins
when: ansible_os_family == "Debian"
- name : Ensure Jenkins is started
become : True
service :
name : "{{ jenkins_service_name }}"
state : started
- name : Restart jenkins if new version installed
include : "{{ role_path }}/handlers/restart_jenkins.yml"
when : jenkins_task_package_install.changed
- name : Waiting the application is available
include : "{{ role_path }}/handlers/waiting_jenkins.yml"
- name : Configure jenkins launching settings
include: configure.yml
tags:
- configure
- jenkins
- name : Install and configure Jenkins CLI
include: manage_cli.yml
tags:
- jenkins
- install
- name : Manage plugins installations and upgrades
include: plugins.yml
tags:
- jenkins
- install
- name : Configure Jenkins application and its plugins
include : "{{ role_path }}/tasks/create_config_files.yml"
tags :
- jenkins
- configure
- name : Create credentials
include : "{{ role_path }}/tasks/manage_credentials.yml"
when : jenkins_credentials
tags :
- jenkins
- configure
|
Update from Hackage at 2016-09-30T09:06:14+00:00 | homepage: https://github.com/NorfairKing/validity#readme
changelog-type: ''
hash: 25bbcfd02fecac3567e8b51f8e9b321fdbc9f2a664922edc82f6be7309e5ca91
test-bench-deps:
base: -any
hspec: -any
QuickCheck: ! '>=2.8 && <2.9'
genvalidity: -any
maintainer: syd.kerckhove@gmail.com
synopsis: Testing utilities for the validity library
changelog: ''
basic-deps:
base: <5
validity: ! '>=0.3 && <0.4'
QuickCheck: ! '>=2.8 && <2.9'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
author: Tom Sydney Kerckhove
latest: '0.2.0.3'
description-type: haddock
description: ! 'Note: There are companion instance packages for this library:
* <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
* <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>'
license-name: MIT
| homepage: https://github.com/NorfairKing/validity#readme
changelog-type: ''
hash: acbd2b6a01beae165fe33bde5f91130b0a5c76f03b8760ae78d5d5162c7c13c3
test-bench-deps:
base: -any
hspec: -any
QuickCheck: ! '>=2.8 && <2.9'
genvalidity: -any
maintainer: syd.kerckhove@gmail.com
synopsis: Testing utilities for the validity library
changelog: ''
basic-deps:
base: <5
validity: ! '>=0.3 && <0.4'
QuickCheck: ! '>=2.8 && <2.10'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
- '0.2.0.4'
author: Tom Sydney Kerckhove
latest: '0.2.0.4'
description-type: haddock
description: ! 'Note: There are companion instance packages for this library:
* <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
* <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>'
license-name: MIT
|
Disable RegexpLiteral cop in Guardfile |
LineLength:
Max: 100
AlignHash:
# Alignment of entries using hash rocket as separator. Valid values are:
#
# key - left alignment of keys
# 'a' => 2
# 'bb' => 3
# separator - alignment of hash rockets, keys are right aligned
# 'a' => 2
# 'bb' => 3
# table - left alignment of keys, hash rockets, and values
# 'a' => 2
# 'bb' => 3
EnforcedHashRocketStyle: table
# Alignment of entries using colon as separator. Valid values are:
#
# key - left alignment of keys
# a: 0
# bb: 1
# separator - alignment of colons, keys are right aligned
# a: 0
# bb: 1
# table - left alignment of keys and values
# a: 0
# bb: 1
EnforcedColonStyle: separator
|
LineLength:
Max: 100
AlignHash:
# Alignment of entries using hash rocket as separator. Valid values are:
#
# key - left alignment of keys
# 'a' => 2
# 'bb' => 3
# separator - alignment of hash rockets, keys are right aligned
# 'a' => 2
# 'bb' => 3
# table - left alignment of keys, hash rockets, and values
# 'a' => 2
# 'bb' => 3
EnforcedHashRocketStyle: table
# Alignment of entries using colon as separator. Valid values are:
#
# key - left alignment of keys
# a: 0
# bb: 1
# separator - alignment of colons, keys are right aligned
# a: 0
# bb: 1
# table - left alignment of keys and values
# a: 0
# bb: 1
EnforcedColonStyle: separator
RegexpLiteral:
Exclude:
- Guardfile
|
Update Circle CI for goreleaser | # Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
test:
docker:
# specify the version
- image: circleci/golang:1.11
working_directory: /go/src/github.com/mpppk/hlb
steps:
- checkout
# specify any bash command here prefixed with `run: `
- run: make setup
- run: make deps
- run: make build
- run: make test
- run: make codecov
release:
docker:
- image: circleci/golang:1.11
steps:
- checkout
- run: curl -sL https://git.io/goreleaser | bash
workflows:
version: 2
release:
jobs:
- test
- release:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
requires:
- test
deployment:
tag:
tag: /v[0-9]+(\.[0-9]+)*(-.*)*/
owner: mpppk
commands:
- curl -sL https://git.io/goreleaser | bash | # Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
test:
docker:
# specify the version
- image: circleci/golang:1.11
working_directory: /go/src/github.com/mpppk/hlb
steps:
- checkout
# specify any bash command here prefixed with `run: `
- run: make setup
- run: make deps
- run: make build
- run: make test
- run: make codecov
release:
docker:
- image: circleci/golang:1.11
steps:
- checkout
- run: curl -sL https://git.io/goreleaser | bash
workflows:
version: 2
release:
jobs:
- test:
filters:
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
- release:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
requires:
- test
|
Use JDK 11 in github CI action | ---
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build
run: ./gradlew check jacoco assemble
- name: Codecov
uses: codecov/codecov-action@v1
| ---
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build
run: ./gradlew check jacoco assemble
- name: Codecov
uses: codecov/codecov-action@v1
|
Enable database push job for account-api in integration | # govuk_env_sync::tasks:
# "push_account_api_production_daily":
# ensure: "present"
# hour: "5"
# minute: "0"
# action: "push"
# dbms: "postgresql"
# storagebackend: "s3"
# database: "account-api_production"
# database_hostname: "account-api-postgres"
# temppath: "/tmp/account_api_production"
# url: "govuk-integration-database-backups"
# path: "account-api-postgres"
| govuk_env_sync::tasks:
"push_account_api_production_daily":
ensure: "present"
hour: "5"
minute: "0"
action: "push"
dbms: "postgresql"
storagebackend: "s3"
database: "account-api_production"
database_hostname: "account-api-postgres"
temppath: "/tmp/account_api_production"
url: "govuk-integration-database-backups"
path: "account-api-postgres"
|
Set nodePort as service type | #apiVersion: apps/v1beta1
#kind: Deployment
#metadata:
# name: nginx
# labels:
# app: symfony
#spec:
# replicas: 1
# strategy:
# type: Recreate
# template:
# metadata:
# labels:
# app: symfony
# tier: backend
# spec:
# restartPolicy: Always
# containers:
# - name: nginx
# image: nginx
# ports:
# - containerPort: 80
apiVersion: v1
kind: Pod
metadata:
name: nginx-pod
spec:
volumes:
- name: www-storage
persistentVolumeClaim:
claimName: www-claim
containers:
- name: www-container
image: nginx
ports:
- containerPort: 80
name: "http-server"
volumeMounts:
- mountPath: "/usr/share/nginx/html"
name: www-storage
| apiVersion: v1
kind: Pod
metadata:
name: nginx-pod
labels:
app: nginx
spec:
volumes:
- name: www-storage
persistentVolumeClaim:
claimName: www-claim
containers:
- name: www-container
image: nginx
ports:
- containerPort: 80
name: "http-server"
volumeMounts:
- mountPath: "/usr/share/nginx/html"
name: www-storage
---
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
type: NodePort
selector:
app: nginx
ports:
- port: 80
|
Update from Forestry.io - Updated Forestry configuration | ---
hide_body: false
fields:
- name: date
label: Date
type: datetime
hidden: false
default: ''
- name: title
label: Title
type: text
hidden: false
default: ''
- name: subtitle
label: Subtitle
type: text
hidden: false
default: ''
- type: file
name: feature_image
label: Featured Image
description: The main image for this post
- name: categories
label: Categories
type: tag_list
hidden: false
default:
- travel
- name: tags
label: Tags
type: tag_list
hidden: false
default: []
- type: select
name: author
config:
source:
type: simple
options:
- Ina
- Jayphen
label: Author
- name: type
label: Type
type: text
hidden: true
default: ''
- type: select
name: country
config:
source:
type: pages
section: country
label: Country
description: Which country is this post about?
| ---
hide_body: false
fields:
- name: date
label: Date
type: datetime
hidden: false
default: ''
- name: title
label: Title
type: text
hidden: false
default: ''
- name: subtitle
label: Subtitle
type: text
hidden: false
default: ''
- type: file
name: feature_image
label: Featured Image
description: The main image for this post
- name: categories
label: Categories
type: tag_list
hidden: false
default:
- travel
- name: tags
label: Tags
type: tag_list
hidden: false
default: []
- type: select
name: author
config:
source:
type: simple
options:
- Ina
- Jayphen
label: Author
- type: select
name: country
config:
source:
type: pages
section: country
label: Country
description: Which country is this post about?
|
Define a variable that contains the root path. | ---
- hosts: vagrant
tasks:
- name: update apt cache
apt: update-cache=yes cache_valid_time=3600
sudo: yes
- name: upgrade distro
apt: upgrade=yes
sudo: yes
- name: install packages
action: apt pkg={{ item }} state=installed
with_items:
- python-setuptools
- nginx
notify: restart nginx
sudo: yes
- name: install pip
action: easy_install name=pip
sudo: yes
- name: install virtualenv
action: pip name=virtualenv
sudo: yes
- name: create virtualenv directory
action: file dest=/srv/yoyo/.virtualenv state=directory recurse=yes owner=vagrant group=vagrant
sudo: yes
- name: install app dependencies
action: pip requirements=/srv/yoyo/requirements.txt virtualenv=/srv/yoyo/.virtualenv state=present virtualenv_site_packages=no
- name: start gunicorn
action: command /srv/yoyo/.virtualenv/bin/gunicorn yoyo:create_app() --config gunicorn.conf chdir=/srv/yoyo
- name: remove /etc/nginx/sites-enabled/default
action: file path=/etc/nginx/sites-enabled/default state=absent
notify: restart nginx
sudo: yes
- name: symlink /etc/nginx/sites-enabled/yoyo
action: file src=/srv/yoyo/nginx.conf dest=/etc/nginx/sites-enabled/yoyo state=link
notify: restart nginx
sudo: yes
handlers:
- name: restart nginx
action: service name=nginx state=restarted enabled=yes
sudo: yes
| ---
- hosts: vagrant
vars:
- root: /srv/yoyo
tasks:
- name: update apt cache
apt: update-cache=yes cache_valid_time=3600
sudo: yes
- name: upgrade distro
apt: upgrade=yes
sudo: yes
- name: install packages
action: apt pkg={{ item }} state=installed
with_items:
- python-setuptools
- nginx
notify: restart nginx
sudo: yes
- name: install pip
action: easy_install name=pip
sudo: yes
- name: install virtualenv
action: pip name=virtualenv
sudo: yes
- name: create virtualenv directory
action: file dest={{ root }}/.virtualenv state=directory recurse=yes owner=vagrant group=vagrant
sudo: yes
- name: install app dependencies
action: pip requirements={{ root }}/requirements.txt virtualenv={{ root }}/.virtualenv state=present virtualenv_site_packages=no
- name: start gunicorn
action: command {{ root }}/.virtualenv/bin/gunicorn yoyo:create_app() --config gunicorn.conf chdir={{ root }}
- name: remove /etc/nginx/sites-enabled/default
action: file path=/etc/nginx/sites-enabled/default state=absent
notify: restart nginx
sudo: yes
- name: symlink /etc/nginx/sites-enabled/yoyo
action: file src={{ root }}/nginx.conf dest=/etc/nginx/sites-enabled/yoyo state=link
notify: restart nginx
sudo: yes
handlers:
- name: restart nginx
action: service name=nginx state=restarted enabled=yes
sudo: yes
|
Package up nupkg even without readonlysourcetree | version: 1.0.{build}
skip_tags: true
image: Visual Studio 2015
configuration: Release
environment:
VisualStudioVersion: 14.0
cache:
- '%USERPROFILE%\.nuget\packages -> **\project.json'
- 'obj\tools -> tools\**'
before_build:
- ps: .\init.ps1
build:
project: src\GitLink.sln
parallel: true
verbosity: minimal
artifacts:
- path: bin\**\*.nupkg
name: NuGet Package
| version: 1.0.{build}
skip_tags: true
image: Visual Studio 2015
configuration: Release
environment:
VisualStudioVersion: 14.0
cache:
- '%USERPROFILE%\.nuget\packages -> **\project.json'
- 'obj\tools -> tools\**'
before_build:
- ps: .\init.ps1
build:
project: src\GitLink.sln
parallel: true
verbosity: minimal
artifacts:
- path: '**\bin\**\*.nupkg'
name: NuGet Package
|
Update from Hackage at 2017-12-15T06:50:06Z | homepage: ''
changelog-type: ''
hash: 75479889212c155bfc845a72b9bdb8cfd34cb0b608904dd1888a9cdb3204627b
test-bench-deps: {}
maintainer: Alex Lang <me@alang.ca>
synopsis: Bindings to the QuadProg++ quadratic programming library
changelog: ''
basic-deps:
base: ! '>=4.5 && <5.1'
hmatrix: ! '>=0.16'
vector: ! '>=0.9'
all-versions:
- '0.1.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.3.0.0'
- '0.3.0.1'
author: Alex Lang, Takano Akio
latest: '0.3.0.1'
description-type: haddock
description: ! 'Bindings to QuadProg++, a C++ library for quadratic programming.
<http://sourceforge.net/projects/quadprog/>'
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: 2209e2d2995766fba607961fa7aa75adcfc4c41a94e54e62d44768e2090bcf56
test-bench-deps: {}
maintainer: Alex Lang <me@alang.ca>
synopsis: Bindings to the QuadProg++ quadratic programming library
changelog: ''
basic-deps:
base: ! '>=4.5 && <5.1'
hmatrix: ! '>=0.16'
vector: ! '>=0.9'
all-versions:
- '0.1.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.3.0.0'
- '0.3.0.1'
- '0.4.0.0'
author: Alex Lang, Takano Akio
latest: '0.4.0.0'
description-type: haddock
description: ! 'Bindings to QuadProg++, a C++ library for quadratic programming.
<https://github.com/liuq/QuadProgpp>'
license-name: BSD3
|
Switch to dashes in errand name | - type: replace
path: /instance_groups/-
value:
azs: [z1]
lifecycle: errand
instances: 1
jobs:
- name: migrate_mysql_to_credhub
properties:
app_name: nfs-broker
domain: ((system_domain))
cf:
admin_password: ((cf_admin_password))
admin_user: admin
organization: system
space: nfs-broker-space
skip_cert_verify: true
db:
driver: mysql
name: nfs-broker
password: ((nfs-broker-database-password))
port: 3306
username: nfs-broker
credhub:
url: https://credhub.service.cf.internal:8844
uaa_client_id: nfs-broker-credhub-client
uaa_client_secret: ((nfs-broker-credhub-uaa-client-secret))
release: nfs-volume
name: migrate_mysql_to_credhub
networks:
- name: default
stemcell: default
vm_type: minimal
| - type: replace
path: /instance_groups/-
value:
azs: [z1]
lifecycle: errand
instances: 1
jobs:
- name: migrate_mysql_to_credhub
properties:
app_name: nfs-broker
domain: ((system_domain))
cf:
admin_password: ((cf_admin_password))
admin_user: admin
organization: system
space: nfs-broker-space
skip_cert_verify: true
db:
driver: mysql
name: nfs-broker
password: ((nfs-broker-database-password))
port: 3306
username: nfs-broker
credhub:
url: https://credhub.service.cf.internal:8844
uaa_client_id: nfs-broker-credhub-client
uaa_client_secret: ((nfs-broker-credhub-uaa-client-secret))
release: nfs-volume
name: migrate-mysql-to-credhub
networks:
- name: default
stemcell: default
vm_type: minimal
|
Correct typo in build script | kind: pipeline
type: kubernetes
name: default
steps:
- name: build site
image: jojomi/hugo
commands:
- hugo
- name: build server
image: golang
commands:
- CG0_ENABLED=0 go build -s server -ldflags '-s' src/main.go
| kind: pipeline
type: kubernetes
name: default
steps:
- name: build site
image: jojomi/hugo
commands:
- hugo
- name: build server
image: golang
commands:
- CG0_ENABLED=0 go build -o server -ldflags '-s' src/main.go
|
Rename service to match bundle name | services:
hexanet_statsd_swarrot.processor.statsd:
class: Hexanet\SwarrotStatsdBundle\Configurator\StatsdProcessorConfigurator
arguments:
- "@event_dispatcher"
| services:
hexanet_swarrot_statsd.processor.statsd:
class: Hexanet\SwarrotStatsdBundle\Configurator\StatsdProcessorConfigurator
arguments:
- "@event_dispatcher"
|
Remove resourceNames from the role | apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: collaborator
namespace: visibility
rules:
- apiGroups:
- apps
- extensions
resources:
- daemonsets
resourceNames:
- logging-agent
verbs:
- create
- update
- patch
- delete
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: collaborator
namespace: visibility
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: collaborator-visibility
subjects:
- kind: Group
name: CollaboratorPowerUser
apiGroup: rbac.authorization.k8s.io
- kind: Group
name: CollaboratorManual
apiGroup: rbac.authorization.k8s.io
- kind: Group
name: CollaboratorEmergency
apiGroup: rbac.authorization.k8s.io
| apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: collaborator
namespace: visibility
rules:
- apiGroups:
- apps
- extensions
resources:
- daemonsets
verbs:
- create
- update
- patch
- delete
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: collaborator
namespace: visibility
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: collaborator-visibility
subjects:
- kind: Group
name: CollaboratorPowerUser
apiGroup: rbac.authorization.k8s.io
- kind: Group
name: CollaboratorManual
apiGroup: rbac.authorization.k8s.io
- kind: Group
name: CollaboratorEmergency
apiGroup: rbac.authorization.k8s.io
|
Fix Travis caching for Yarn | sudo: false
language: node_js
node_js:
- stable
env:
- BROWSER=ChromeCi
- BROWSER=Firefox
cache:
directories:
- node_modules
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
after_success:
- node_modules/.bin/codecov
branches:
only:
- master
- next
| sudo: false
language: node_js
node_js:
- stable
env:
- BROWSER=ChromeCi
- BROWSER=Firefox
cache: yarn
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
after_success:
- node_modules/.bin/codecov
branches:
only:
- master
- next
|
Include mysql username and password | version: '2'
services:
app:
depends_on:
- db
image: redisforlosers/lpl_wiki
volumes:
- ./:/app
ports:
- 10000:10000
container_name: wiki
phpmyadmin:
depends_on:
- db
image: phpmyadmin/phpmyadmin
ports:
- 8888:80
container_name: phpmyadmin-wiki
db:
image: mysql:5.7
volumes:
- ./database/.dbdata:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: lpl_wiki_root
MYSQL_DATABASE: dev_wiki
ports:
- 3307:3306
container_name: mysql-wiki | version: '2'
services:
app:
depends_on:
- db
image: redisforlosers/lpl_wiki
volumes:
- ./:/app
ports:
- 10000:10000
container_name: wiki
phpmyadmin:
depends_on:
- db
image: phpmyadmin/phpmyadmin
ports:
- 8888:80
container_name: phpmyadmin-wiki
db:
image: mysql:5.7
volumes:
- ./database/.dbdata:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: lpl_wiki_root
MYSQL_DATABASE: dev_wiki
MYSQL_USER: lpl_wiki
MYSQL_PASSWORD: lpl_wiki
ports:
- 3307:3306
container_name: mysql-wiki |
Change apache volumes to read only. | version: '2'
networks:
front:
back:
services:
mt:
build: .
volumes:
- /etc/localtime:/etc/localtime:ro
- ./site:/site
- ./pid:/pid
- ./movabletype:/mt
networks:
- front
- back
ports:
- 3000:3000
apache:
build: docker/apache
volumes:
- /etc/localtime:/etc/localtime:ro
- ./movabletype/mt-static:/var/www/mt-static
- ./site:/var/www/html
networks:
- front
ports:
- 80:80
nginx:
image: nginx:alpine
volumes:
- /etc/localtime:/etc/localhost:ro
networks:
- front
ports:
- 80:80
mysql:
image: mysql
volumes:
- /etc/localtime:/etc/localtime:ro
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
networks:
- back
ports:
- 3306:3306
postgres:
image: postgres
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
- back
ports:
- 5432:5432
memcached:
image: memcached:alpine
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
- back
ports:
- 11211:11211
| version: '2'
networks:
front:
back:
services:
mt:
build: .
volumes:
- /etc/localtime:/etc/localtime:ro
- ./site:/site
- ./pid:/pid
- ./movabletype:/mt
networks:
- front
- back
ports:
- 3000:3000
apache:
build: docker/apache
volumes:
- /etc/localtime:/etc/localtime:ro
- ./movabletype/mt-static:/var/www/mt-static:ro
- ./site:/var/www/html:ro
networks:
- front
ports:
- 80:80
nginx:
image: nginx:alpine
volumes:
- /etc/localtime:/etc/localhost:ro
networks:
- front
ports:
- 80:80
mysql:
image: mysql
volumes:
- /etc/localtime:/etc/localtime:ro
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
networks:
- back
ports:
- 3306:3306
postgres:
image: postgres
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
- back
ports:
- 5432:5432
memcached:
image: memcached:alpine
volumes:
- /etc/localtime:/etc/localtime:ro
networks:
- back
ports:
- 11211:11211
|
Add sh in shell script. | language: python
python:
- '2.7'
- '3.5'
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y nodejs npm
install:
- npm install -g eclint
- pip install -r requirements.txt
script:
- flake8
- eclint check */*.py
- "sudo ./.travis/run_test.sh"
| language: python
python:
- '2.7'
- '3.5'
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y nodejs npm
install:
- npm install -g eclint
- pip install -r requirements.txt
script:
- flake8
- eclint check */*.py
- "sudo sh ./.travis/run_test.sh"
|
Clean up and Add note | # travis file
# https://docs.travis-ci.com/user/customizing-the-build
language: node_js
node_js:
- 7.7.3
env:
- CXX=g++-4.8 NODE_ENV=production
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- graphicsmagick
cache:
directories:
- node_modules
services:
- mongodb
- redis-server
before_script:
- mkdir ./.config
- cp ./.travis/default.yml ./.config
- cp ./.travis/test.yml ./.config
- npm install --only=dev
- npm install
- npm run build
after_success:
- chmod u+x ./.travis/release.sh
- if [ $TRAVIS_BRANCH = "master" ] && [ $TRAVIS_PULL_REQUEST = "false" ]; then ./.travis/release.sh; else echo "Skipping releasing task"; fi
| # travis file
# https://docs.travis-ci.com/user/customizing-the-build
language: node_js
node_js:
- 7.7.3
env:
- CXX=g++-4.8 NODE_ENV=production
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- graphicsmagick
cache:
directories:
- node_modules
services:
- mongodb
- redis-server
before_script:
# Travisはproduction環境なので(10行目により)、
# npm install しただけでは devDependencies はインストールされないので、
# --only=dev オプションを付けてそれらもインストールされるようにする:
- npm install --only=dev
- mkdir ./.config
- cp ./.travis/default.yml ./.config
- cp ./.travis/test.yml ./.config
- npm run build
after_success:
- chmod u+x ./.travis/release.sh
- if [ $TRAVIS_BRANCH = "master" ] && [ $TRAVIS_PULL_REQUEST = "false" ]; then ./.travis/release.sh; else echo "Skipping releasing task"; fi
|
Update dotfile links for arch | ---
- defaults:
link:
create: true
force: true
glob: true
relink: true
- link:
~/.ssh/config: ssh/main
~/.bash_aliases: sh/.bash_aliases
~/.bashrc: sh/.bashrc
# ~/.zshrc: sh/.zshrc
~/.vimrc: vim/.vimrc
~/.config/Code/User/settings.json: code/settings.json
~/.devilspie/vscode.ds: devilspie/vscode.ds
| ---
- defaults:
link:
create: true
force: true
glob: true
relink: true
- link:
~/.config/git/ignore: git/gitignore
~/.ssh/config: ssh/main
~/.bash_aliases: sh/.bash_aliases
~/.bashrc: sh/.bashrc
~/.zshrc: sh/.zshrc
~/.zsh_custom/themes/bleblanc.zsh-theme: sh/bleblanc.zsh-theme
~/.vimrc: vim/.vimrc
~/.config/Code/User/settings.json: code/settings.json
~/.devilspie/vscode.ds: devilspie/vscode.ds
|
Update Kinoko to 2.0.3 (45) | AntiFeatures:
- NonFreeNet
Categories:
- Graphics
- Reading
License: MIT
SourceCode: https://github.com/gsioteam/kinoko
IssueTracker: https://github.com/gsioteam/kinoko/issues
AutoName: Kinoko
Summary: Awesome manga reader
RepoType: git
Repo: https://github.com/gsioteam/kinoko.git
Builds:
- versionName: 2.0.2
versionCode: 44
commit: v2.0.2
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@2.0.5
rm:
- ios
- plugins/glib/ios
- plugins/glib/example/ios
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
ndk: r21e
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags v\d+\.\d+(\.\d+)?
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 2.0.2
CurrentVersionCode: 44
| AntiFeatures:
- NonFreeNet
Categories:
- Graphics
- Reading
License: MIT
SourceCode: https://github.com/gsioteam/kinoko
IssueTracker: https://github.com/gsioteam/kinoko/issues
AutoName: Kinoko
Summary: Awesome manga reader
RepoType: git
Repo: https://github.com/gsioteam/kinoko.git
Builds:
- versionName: 2.0.2
versionCode: 44
commit: v2.0.2
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@2.0.5
rm:
- ios
- plugins/glib/ios
- plugins/glib/example/ios
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
ndk: r21e
- versionName: 2.0.3
versionCode: 45
commit: 16d4e6e17b27f4d7a684998850a1b322d4ac1ded
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@2.0.5
rm:
- ios
- plugins/glib/ios
- plugins/glib/example/ios
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter build apk
ndk: r21e
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags v\d+\.\d+(\.\d+)?
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 2.0.3
CurrentVersionCode: 45
|
Update from Hackage at 2019-09-21T16:33:53Z | homepage: https://github.com/peti/hackage-db#readme
changelog-type: ''
hash: f3289e03dfe266dce9bf8c2134275b96dc1165812d981440c904079f3f2ed201
test-bench-deps: {}
maintainer: Peter Simons <simons@cryp.to>
synopsis: Access cabal-install's Hackage database via Data.Map
changelog: ''
basic-deps:
exceptions: -any
bytestring: -any
Cabal: ! '>3'
base: ! '>=4.9 && <5'
time: -any
filepath: -any
containers: -any
tar: ! '>=0.4'
utf8-string: -any
aeson: -any
directory: -any
all-versions:
- '2.0'
- 2.0.1
- 2.1.0
author: Peter Simons, Alexander Altman, Ben James
latest: 2.1.0
description-type: haddock
description: |-
This library provides convenient access to the local copy of the Hackage
database that \"cabal update\" creates. Check out
https:\//github.com/peti/hackage-db/tree/master/example\/ for a collection
of simple example programs that demonstrate how to use this code.
license-name: BSD-3-Clause
| homepage: https://github.com/peti/hackage-db#readme
changelog-type: ''
hash: 1e22e4c3fa415c5f3f32be20730e1350af1d6804ffd400476373e2da912a7dc0
test-bench-deps: {}
maintainer: Peter Simons <simons@cryp.to>
synopsis: Access cabal-install's Hackage database via Data.Map
changelog: ''
basic-deps:
exceptions: -any
bytestring: -any
Cabal: ! '>3'
base: ! '>=4.9 && <5'
time: -any
filepath: -any
containers: -any
tar: ! '>=0.4'
utf8-string: -any
aeson: -any
directory: -any
all-versions:
- '2.0'
- 2.0.1
- 2.1.0
author: Peter Simons, Alexander Altman, Ben James
latest: 2.1.0
description-type: haddock
description: |-
This library provides convenient access to the local copy of the Hackage
database that \"cabal update\" creates. Check out
https:\//github.com/peti/hackage-db/tree/master/example\/ for a collection
of simple example programs that demonstrate how to use this code.
license-name: BSD-3-Clause
|
Add owner for files Add cleans up at the end Inverts backup and DB roles | ---
##
## Install base configuration for all servers
##
- name: Install the minimum Ansible + Linux configuration
hosts: all
remote_user: root # It's important here
roles:
- base
- terminal
##
## Install webserver configuration
##
- name: Install the base config for serving content
hosts: front-servers
remote_user: "{{user}}"
sudo: yes
roles:
- backup
- nginx
- supervisor
- hhvm
- node
- maria_db
# Other available roles :
# - mongo
tasks:
- name: Ensure the web folder is here
file:
path: "/home/{{user}}/www"
state: directory
group: www-data
##
## Install deployment server configuration
##
- name: Install the base config for deployment
hosts: deploy-servers
remote_user: "{{user}}"
sudo: yes
roles:
- php-cli
- git
- ruby
- node
- brad
tasks:
- name: Ensure the deploy folder is here
file:
path: "/home/{{user}}/deploy"
state: directory
- name: Ensure the release folder is here
file:
path: "/home/{{user}}/release"
state: directory
| ---
##
## Install base configuration for all servers
##
- name: Install the minimum Ansible + Linux configuration
hosts: all
remote_user: root # It's important here
roles:
- base
- terminal
##
## Install webserver configuration
##
- name: Install the base config for serving content
hosts: front-servers
remote_user: "{{user}}"
sudo: yes
roles:
- nginx
- supervisor
- hhvm
- node
- maria_db
- backup
# Other available roles :
# - mongo
tasks:
- name: Ensure the web folder is here
file:
path: "/home/{{user}}/www"
state: directory
group: www-data
owner: "{{user}}"
- name: Remove the temp password for more security
file:
path: "/home/{{user}}/www"
state: directory
group: www-data
owner: "{{user}}"
##
## Install deployment server configuration
##
- name: Install the base config for deployment
hosts: deploy-servers
remote_user: "{{user}}"
sudo: yes
roles:
- php-cli
- git
- ruby
- node
- brad
tasks:
- name: Ensure the deploy folder is here
file:
path: "/home/{{user}}/deploy"
state: directory
owner: "{{user}}"
group: www-data
- name: Ensure the release folder is here
file:
path: "/home/{{user}}/release"
state: directory
owner: "{{user}}"
group: www-data
##
## Cleans up
##
- name: Cleans up password files
hosts: 127.0.0.1
connection: local
tasks:
- name: Delete tmp mysql password
file:
path: "/tmp/mysqlpassword"
state: absent
|
Update from Forestry.io - Updated Forestry configuration | ---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: jekyll-pages
label: Pages
create: all
- type: jekyll-posts
label: Posts
create: all
- type: directory
path: _portfolio
label: Portfolio
create: all
match: "**/*"
upload_dir: assets
public_path: "/assets"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
- JEKYLL_ENV=staging
preview_output_directory: _site
install_dependencies_command: bundle install --path vendor/bundle
preview_docker_image: forestryio/ruby:2.6
mount_path: "/srv"
working_dir: "/srv"
instant_preview_command: bundle exec jekyll serve --drafts --unpublished --future
--port 8080 --host 0.0.0.0 -d _site
| ---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: directory
path: _pages
label: _Pages
create: all
match: "**/*"
- type: jekyll-pages
label: Pages
create: all
- type: jekyll-posts
label: Posts
create: all
- type: directory
path: _portfolio
label: Portfolio
create: all
match: "**/*"
upload_dir: assets
public_path: "/assets"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
- JEKYLL_ENV=staging
preview_output_directory: _site
install_dependencies_command: bundle install --path vendor/bundle
preview_docker_image: forestryio/ruby:2.6
mount_path: "/srv"
working_dir: "/srv"
instant_preview_command: bundle exec jekyll serve --drafts --unpublished --future
--port 8080 --host 0.0.0.0 -d _site
|
Make sure we install QtPy on RTD | name: glueviz
dependencies:
- pyqt
- numpy
- matplotlib
- pandas
- astropy
- dill
- h5py
- scipy
- scikit-image
- ipython
- ipykernel
- qtconsole
- traitlets
- pygments
- pyzmq
- mock
- pytest
- python>=3
| name: glueviz
channels:
- conda-forge
dependencies:
- qtpy
- pyqt
- numpy
- matplotlib
- pandas
- astropy
- dill
- h5py
- scipy
- scikit-image
- ipython
- ipykernel
- qtconsole
- traitlets
- pygments
- pyzmq
- mock
- pytest
- python>=3
|
Update CV of Mastercom Workbook to 4.0 (400) | AntiFeatures:
- NonFreeNet
Categories:
- Science & Education
- Internet
License: GPL-3.0-or-later
AuthorName: Stypox
AuthorEmail: stypox@pm.me
SourceCode: https://github.com/Stypox/mastercom-workbook
IssueTracker: https://github.com/Stypox/mastercom-workbook/issues
Changelog: https://github.com/Stypox/mastercom-workbook/releases
AutoName: Mastercom Workbook
RepoType: git
Repo: https://github.com/Stypox/mastercom-workbook
Builds:
- versionName: '3.2'
versionCode: 302
commit: v3.2
subdir: app
gradle:
- yes
- versionName: '4.0'
versionCode: 400
commit: v4.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags .*[0-9]$
CurrentVersion: '3.1'
CurrentVersionCode: 301
| AntiFeatures:
- NonFreeNet
Categories:
- Science & Education
- Internet
License: GPL-3.0-or-later
AuthorName: Stypox
AuthorEmail: stypox@pm.me
SourceCode: https://github.com/Stypox/mastercom-workbook
IssueTracker: https://github.com/Stypox/mastercom-workbook/issues
Changelog: https://github.com/Stypox/mastercom-workbook/releases
AutoName: Mastercom Workbook
RepoType: git
Repo: https://github.com/Stypox/mastercom-workbook
Builds:
- versionName: '3.2'
versionCode: 302
commit: v3.2
subdir: app
gradle:
- yes
- versionName: '4.0'
versionCode: 400
commit: v4.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags .*[0-9]$
CurrentVersion: '4.0'
CurrentVersionCode: 400
|
Stop and uninstall apache2 if present | ---
- name: Allow traffic on the reverse proxy port
ufw: rule=allow port={{ reverse_proxy_port }}
- include: directory_structure.yml
- include: ssh.yml
- include: replication.yml
when: replicator
- include: deploy.yml
when: replicator
- include: restart.yml
| ---
- name: Allow traffic on the reverse proxy port
ufw: rule=allow port={{ reverse_proxy_port }}
- name: Stop Apache
service: name=apache2 state=stopped
- name: Uninstall Apache if present
apt: name=apache2 state=absent
- include: directory_structure.yml
- include: ssh.yml
- include: replication.yml
when: replicator
- include: deploy.yml
when: replicator
- include: restart.yml
|
Create app.son-log and set its ownership to ec2-user | ---
- name: start filebeat
shell: systemctl start filebeat
sudo: true
- name: setsebook command
shell: setsebool -P httpd_can_network_connect=1
sudo: true
- name: kill current app process if needed
shell: pkill supervisord
sudo: true
ignore_errors: yes
- name: start application
shell: supervisord -c /data-act/backend/dataact{{ APP }}/config/supervisord.conf &
sudo: true
environment:
PYTHONPATH: "/data-act/backend"
env: "{{ ENV }}"
args:
chdir: /data-act/backend/dataact{{ APP }}/
| ---
- name: start filebeat
shell: systemctl start filebeat
sudo: true
- name: setsebook command
shell: setsebool -P httpd_can_network_connect=1
sudo: true
- name: create app log if it doesn't exist
shell: touch /data-act/app.json-log
ignore_errors: yes
- name: set owner of app log to ec2-user
shell: chown ec2-user /data-act/app.json-log
sudo: true
- name: kill current app process if needed
shell: pkill supervisord
sudo: true
ignore_errors: yes
- name: start application
shell: supervisord -c /data-act/backend/dataact{{ APP }}/config/supervisord.conf &
sudo: true
environment:
PYTHONPATH: "/data-act/backend"
env: "{{ ENV }}"
args:
chdir: /data-act/backend/dataact{{ APP }}/
|
Install Pygments before checking README syntax for publish jobs | - name: Install docutils for the README check
# NOTE(dhellmann): We install this unconstrained because we expect
# setuptools to expect the most recent version anyway. We use a
# virtualenv to avoid conflicts with system packages due to pip10
# and later.
pip:
name: docutils
virtualenv: "{{ check_python_release_virtualenv }}"
virtualenv_python: "{{ release_python }}"
chdir: "{{ zuul_work_dir }}"
- name: Check the package metadata and README format
command: "{{ check_python_release_virtualenv }}/bin/{{ release_python }} setup.py check --restructuredtext --strict"
args:
chdir: "{{ zuul_work_dir }}"
| - name: Install docutils for the README check
# NOTE(dhellmann): We install this unconstrained because we expect
# setuptools to expect the most recent version anyway. We use a
# virtualenv to avoid conflicts with system packages due to pip10
# and later.
pip:
name: docutils
virtualenv: "{{ check_python_release_virtualenv }}"
virtualenv_python: "{{ release_python }}"
chdir: "{{ zuul_work_dir }}"
# Pygments needs to be installed to allow the metadata and README
# check parse project READMEs that have code blocks in the
# README.rst file.
pip:
name: Pygments
virtualenv: "{{ check_python_release_virtualenv }}"
virtualenv_python: "{{ release_python }}"
chdir: "{{ zuul_work_dir }}"
- name: Check the package metadata and README format
command: "{{ check_python_release_virtualenv }}/bin/{{ release_python }} setup.py check --restructuredtext --strict"
args:
chdir: "{{ zuul_work_dir }}"
|
Move coverage reporting to master only | machine:
php:
version: 7.1.6
dependencies:
pre:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install -n
- go get github.com/aktau/github-release
- wget -O box.phar https://github.com/box-project/box2/releases/download/2.7.5/box-2.7.5.phar
test:
post:
- php vendor/bin/phpunit --coverage-clover build/coverage/xml tests
- php bin/codacycoverage clover build/coverage/xml
deployment:
release:
tag: /[0-9]+(\.[0-9]+)*/
commands:
- php -d phar.readonly=0 box.phar build
- git config user.name $CIRCLE_PROJECT_USERNAME
- github-release upload --user $CIRCLE_PROJECT_USERNAME --repo $CIRCLE_PROJECT_REPONAME --tag $CIRCLE_TAG --name codacy-coverage.phar --file build/codacy-coverage.phar | machine:
php:
version: 7.1.6
dependencies:
pre:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install -n
- go get github.com/aktau/github-release
- wget -O box.phar https://github.com/box-project/box2/releases/download/2.7.5/box-2.7.5.phar
test:
post:
- php vendor/bin/phpunit --coverage-clover build/coverage/xml tests
deployment:
master:
branch: master
commands:
- php bin/codacycoverage clover build/coverage/xml
release:
tag: /[0-9]+(\.[0-9]+)*/
commands:
- php -d phar.readonly=0 box.phar build
- git config user.name $CIRCLE_PROJECT_USERNAME
- github-release upload --user $CIRCLE_PROJECT_USERNAME --repo $CIRCLE_PROJECT_REPONAME --tag $CIRCLE_TAG --name codacy-coverage.phar --file build/codacy-coverage.phar
|
Add python >= 3.6 version restriction | {% set name = "removestar" %}
{% set version = "1.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: ece95f52afa7fb293767b39bba2fc1f0ffa12a711dea7676128f2b6f31668af9
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
entry_points:
- removestar = removestar.__main__:main
requirements:
host:
- python
- pip
run:
- python
- pyflakes
test:
imports:
- removestar
commands:
- removestar --help
about:
home: https://asmeurer.com/removestar
license: MIT
license_family: MIT
license_file: LICENSE
summary: |
removestar is a tool to automatically replace 'import *' in Python files with explicit imports.
description: |
removestar is a tool to automatically replace 'import *' in Python files with explicit imports.
doc_url: https://asmeurer.com/removestar
dev_url: https://github.com/asmeurer/removestar
extra:
recipe-maintainers:
- asmeurer
| {% set name = "removestar" %}
{% set version = "1.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: ece95f52afa7fb293767b39bba2fc1f0ffa12a711dea7676128f2b6f31668af9
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
entry_points:
- removestar = removestar.__main__:main
requirements:
host:
- python >= 3.6
- pip
run:
- python >= 3.6
- pyflakes
test:
imports:
- removestar
commands:
- removestar --help
about:
home: https://asmeurer.com/removestar
license: MIT
license_family: MIT
license_file: LICENSE
summary: |
removestar is a tool to automatically replace 'import *' in Python files with explicit imports.
description: |
removestar is a tool to automatically replace 'import *' in Python files with explicit imports.
doc_url: https://asmeurer.com/removestar
dev_url: https://github.com/asmeurer/removestar
extra:
recipe-maintainers:
- asmeurer
|
Fix typographical error in nf_conntrack metrics | ---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed 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.
- include: local_setup.yml
vars:
check_name: conntrack_count
check_details: file={{ check_name }}.py
check_period: "{{ maas_check_period }}"
check_timeout: "{{ maas_check_timeout }}"
alarms:
- { 'name': 'conntrack_count_status', 'criteria': ':set consecutiveCount={{ maas_alarm_local_consecutive_count }} if (percentage(metric["ip_conntrack_count"], metric["ip_conntrack_max"]) > 90) { return new AlarmStatus(CRITICAL, "Connection count is > 90% of maximum allowed."); }' }
user: root
| ---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed 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.
- include: local_setup.yml
vars:
check_name: conntrack_count
check_details: file={{ check_name }}.py
check_period: "{{ maas_check_period }}"
check_timeout: "{{ maas_check_timeout }}"
alarms:
- { 'name': 'conntrack_count_status', 'criteria': ':set consecutiveCount={{ maas_alarm_local_consecutive_count }} if (percentage(metric["nf_conntrack_count"], metric["nf_conntrack_max"]) > 90) { return new AlarmStatus(CRITICAL, "Connection count is > 90% of maximum allowed."); }' }
user: root
|
Update GitHub action for Xcode 12.3 | name: Vienna
on: pull_request
jobs:
test:
name: Test
runs-on: macos-11.0
steps:
- name: Use Xcode 12
run: sudo xcode-select -s "/Applications/Xcode_12.2.app"
- name: Install SwiftLint
run: brew install swiftlint
- name: Set up Git repository
uses: actions/checkout@v1
- name: Build Xcode project
run: xcodebuild -project Vienna.xcodeproj -scheme Vienna -configuration Development build-for-testing | xcpretty && exit ${PIPESTATUS[0]}
- name: Test Xcode project
run: xcodebuild -project Vienna.xcodeproj -scheme Vienna -configuration Development test | xcpretty && exit ${PIPESTATUS[0]}
| name: Vienna
on: pull_request
jobs:
test:
name: Test
runs-on: macos-11.0
steps:
- name: Use Xcode 12.3
run: sudo xcode-select -s "/Applications/Xcode_12.3.app"
- name: Set up Git repository
uses: actions/checkout@v2
- name: Build Xcode project
run: xcodebuild -project Vienna.xcodeproj -scheme Vienna -configuration Development build-for-testing | xcpretty && exit ${PIPESTATUS[0]}
- name: Test Xcode project
run: xcodebuild -project Vienna.xcodeproj -scheme Vienna -configuration Development test | xcpretty && exit ${PIPESTATUS[0]}
|
Fix reference to varnish version in jinja variable | ---
- name: Ensure Varnish dependencies are installed.
yum: name={{ item }} state=present
with_items:
- gcc
- libedit-devel
- initscripts
- name: Add Varnish repository.
yum:
name: https://repo.varnish-cache.org/redhat/varnish-{{ varnish_version }}.el6.rpm
state: present
when: ansible_distribution_major_version|int < 7
- name: Set repo fact appropriately.
set_fact:
varnish_yum_enablerepo: "{{ 'varnish-{{ varnish_version }},epel' if (ansible_distribution_major_version|int < 7) else 'epel' }}"
- name: Install Varnish.
yum:
name: "{{ varnish_package_name }}"
state: installed
enablerepo: "{{ varnish_yum_enablerepo }}"
disablerepo: "*"
| ---
- name: Ensure Varnish dependencies are installed.
yum: name={{ item }} state=present
with_items:
- gcc
- libedit-devel
- initscripts
- name: Add Varnish repository.
yum:
name: "https://repo.varnish-cache.org/redhat/varnish-{{ varnish_version }}.el6.rpm"
state: present
when: ansible_distribution_major_version|int < 7
- name: Set repo fact appropriately.
set_fact:
varnish_yum_enablerepo: "{{ 'varnish-{{ varnish_version }},epel' if (ansible_distribution_major_version|int < 7) else 'epel' }}"
- name: Install Varnish.
yum:
name: "{{ varnish_package_name }}"
state: installed
enablerepo: "{{ varnish_yum_enablerepo }}"
disablerepo: "*"
|
Adjust tf base -> kiva_pod_base | frame_id: /base
initial_orientation: [0.001, -0.034, 0.039, 0.999]
initial_x: 1.453
initial_y: 0.042
initial_z: 0.406
object_a: 0.2
object_b: 0.2
object_g: 0.0
object_r: 0.0
object_type: cube
object_x: 0.865
object_y: 0.865
object_z: 1.0
publish_tf: true
tf_frame: kiva_pod_base
| frame_id: /base
initial_orientation: [0.002, -0.034, 0.014, 0.999]
initial_x: 1.409
initial_y: 0.022
initial_z: 0.403
object_a: 0.2
object_b: 0.2
object_g: 0.0
object_r: 0.0
object_type: cube
object_x: 0.865
object_y: 0.865
object_z: 1.0
publish_tf: true
tf_frame: kiva_pod_base
|
Enable expeditor agents for master and test release branch | # Documentation available at https://expeditor-docs.es.chef.io/
github:
# The file where the MAJOR.MINOR.PATCH version is kept. The version in this file
# is bumped automatically via the `built_in:bump_version` merge_action.
version_file: "VERSION"
# The file where our CHANGELOG is kept. This file is updated automatically with
# details from the Pull Request via the `built_in:update_changelog` merge_action.
changelog_file: "CHANGELOG.md"
# Slack channel in Chef Software slack to send notifications about Expeditor actions
slack:
notify_channel: habitat-notify
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
merge_actions:
- built_in:update_changelog:
ignore_labels:
- "Expeditor: Exclude from Changelog"
changelog:
categories:
- "X-change": "Behavioral Changes"
- "X-feature": "New Features & Enhancements"
- "X-fix": "Bug Fixes"
| # Documentation available at https://expeditor-docs.es.chef.io/
github:
# The file where the MAJOR.MINOR.PATCH version is kept. The version in this file
# is bumped automatically via the `built_in:bump_version` merge_action.
version_file: "VERSION"
# The file where our CHANGELOG is kept. This file is updated automatically with
# details from the Pull Request via the `built_in:update_changelog` merge_action.
changelog_file: "CHANGELOG.md"
# Slack channel in Chef Software slack to send notifications about Expeditor actions
slack:
notify_channel: habitat-notify
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
merge_actions:
- built_in:update_changelog:
ignore_labels:
- "Expeditor: Exclude from Changelog"
changelog:
categories:
- "X-change": "Behavioral Changes"
- "X-feature": "New Features & Enhancements"
- "X-fix": "Bug Fixes"
github:
release_branch:
- master:
# Version constraint at this point is arbitrary but represents 1.0.0
version_constraint: 1*
- release_forever:
# This version constraint is also arbitrary and will be used for a test branch
version_constraint: 42*
|
Add environment variables to Keter configuration | exec: ../zoomhub
host: 104.130.230.137
| exec: ../zoomhub
host: 104.130.230.137
env:
DATA_PATH: '/mnt/datavolume/zoomhub/data'
HASHIDS_SALT: 'CHANGE-ME-IN-PRODUCTION'
|
Fix typo in prod build config | builders:
versions:
import: 'tool/write_versions.dart'
build_to: cache
builder_factories: ["writeVersions"]
build_extensions: {"$package$": ["lib/versions.json"]}
targets:
prepare:
builders:
"|versions":
enabled: true
auto_apply_builders: false
sources:
- "$package$"
- "lib/versions.json"
- "tool/write_versions.dart"
$default:
dependencies: [":prepare"]
builders:
build_web_compilers|entrypoint:
release_options:
# Turn of null assertions for release builds, it looks like this
# makes generated code slightly smaller.
native_null_assertions: false
dart2js_args:
- "-O4"
- "--csp"
moor_generator:
enabled: false
sources:
- "lib/**"
- "pages/**"
- "templates/**"
- "web/**"
- "$package$"
- "pubspec.yaml"
- "theme.yaml"
- "website.yaml"
| builders:
versions:
import: 'tool/write_versions.dart'
build_to: cache
builder_factories: ["writeVersions"]
build_extensions: {"$package$": ["lib/versions.json"]}
targets:
prepare:
builders:
"|versions":
enabled: true
auto_apply_builders: false
sources:
- "$package$"
- "lib/versions.json"
- "tool/write_versions.dart"
$default:
dependencies: [":prepare"]
builders:
build_web_compilers|entrypoint:
release_options:
# Turn of null assertions for release builds, it looks like this
# makes generated code slightly smaller.
native_null_assertions: false
dart2js_args:
- "-O4"
- "--csp"
moor_generator:
enabled: false
sources:
- "lib/**"
- "pages/**"
- "templates/**"
- "web/**"
- "$package$"
- "pubspec.yaml"
- "theme.yaml"
- "website.yaml"
|
Update from Hackage at 2017-01-27T18:32:17Z | homepage: https://github.com/m-arnold/graflog#readme
changelog-type: ''
hash: e01c9df88ec2359dedef1024441e860f13d6548fcc8e100b89c1c3901fb3deb8
test-bench-deps:
base: -any
hspec: -any
text: -any
graflog: -any
containers: -any
test-fixture: -any
mtl: -any
aeson: -any
maintainer: marnold@cj.com
synopsis: Monadic correlated log events
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.7 && <5'
text: -any
containers: -any
text-conversions: -any
aeson: -any
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
- '1.0.0'
- '2.0.0'
- '3.0.0'
- '4.0.0'
- '5.0.0'
- '6.0.0'
author: Michael Adlai Arnold
latest: '6.0.0'
description-type: markdown
description: ! '# Graflog
Monadic correlated log events!
'
license-name: BSD3
| homepage: https://github.com/m-arnold/graflog#readme
changelog-type: ''
hash: 004bc101d49df5b8df3b09a850154a660d365f5af05146ba52e2c300ee3a6f2b
test-bench-deps:
base: -any
hspec: -any
text: -any
graflog: -any
containers: -any
test-fixture: -any
mtl: -any
aeson: -any
maintainer: marnold@cj.com
synopsis: Monadic correlated log events
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.7 && <5'
text: -any
containers: -any
mtl: -any
text-conversions: -any
aeson: -any
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
- '1.0.0'
- '2.0.0'
- '3.0.0'
- '4.0.0'
- '5.0.0'
- '6.0.0'
- '6.1.0'
author: Michael Adlai Arnold
latest: '6.1.0'
description-type: markdown
description: ! '# Graflog
Monadic correlated log events!
'
license-name: BSD3
|
Update from Hackage at 2017-09-22T01:37:51Z | homepage: https://github.com/AndrewRademacher/mallard
changelog-type: ''
hash: 2ed554294585f05a4b3540a8e9d1983160861ca176fd9736a92357e99eccf66b
test-bench-deps: {}
maintainer: andrewrademacher@icloud.com
synopsis: Database migration and testing as a library.
changelog: ''
basic-deps:
exceptions: -any
hasql: -any
bytestring: -any
Interpolation: -any
path: -any
base: ==4.*
unordered-containers: -any
text: -any
megaparsec: <6
hasql-optparse-applicative: -any
lens: -any
fgl: -any
mtl: -any
hashable: -any
byteable: -any
file-embed: -any
optparse-applicative: -any
mallard: -any
hasql-transaction: -any
optparse-text: -any
hasql-pool: -any
path-io: -any
cryptohash: -any
all-versions:
- '0.5.0.0'
- '0.5.0.1'
author: Andrew Rademacher
latest: '0.5.0.1'
description-type: haddock
description: Please see README.md
license-name: MIT
| homepage: https://github.com/AndrewRademacher/mallard
changelog-type: ''
hash: a77e778341c87072741ebcac7f0680c83171916b9cfe59caf26eff7247ca17a5
test-bench-deps: {}
maintainer: andrewrademacher@icloud.com
synopsis: Database migration and testing as a library.
changelog: ''
basic-deps:
exceptions: -any
hasql: -any
bytestring: -any
Interpolation: -any
path: -any
base: ==4.*
unordered-containers: -any
text: -any
megaparsec: <6
hasql-optparse-applicative: -any
lens: -any
fgl: -any
mtl: -any
hashable: -any
byteable: -any
file-embed: -any
optparse-applicative: -any
mallard: -any
hasql-transaction: -any
optparse-text: -any
hasql-pool: -any
path-io: -any
cryptohash: -any
all-versions:
- '0.5.0.0'
- '0.5.0.1'
- '0.6.0.0'
author: Andrew Rademacher
latest: '0.6.0.0'
description-type: haddock
description: Please see README.md
license-name: MIT
|
Update from Hackage at 2016-02-02T03:21:18+0000 | homepage: https://github.com/PolyglotSymposium/mappy
changelog-type: ''
hash: 55e35e4d408ebcd6e6cd5972a3d284dd377e889902bfbcfc0600491be9d0e571
test-bench-deps:
base: -any
mappy: -any
hspec: -any
parsec: -any
containers: -any
QuickCheck: -any
maintainer: mjg.py3@gmail.com
synopsis: A functional programming language focused around maps.
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
mappy: -any
parsec: -any
containers: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
author: Michael Gilliland
latest: '0.1.0.2'
description-type: haddock
description: Please see README.md
license-name: BSD3
| homepage: https://github.com/PolyglotSymposium/mappy
changelog-type: ''
hash: 2fbad40a00c75bb83730506aef01e936bb024ab35358c35d2c05060399ad625c
test-bench-deps:
base: -any
mappy: -any
hspec: -any
parsec: -any
containers: -any
QuickCheck: -any
maintainer: mjg.py3@gmail.com
synopsis: A functional programming language focused around maps.
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
mappy: -any
parsec: -any
containers: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.1.0'
author: Michael Gilliland
latest: '0.1.1.0'
description-type: haddock
description: Please see README.md
license-name: BSD3
|
Update from Hackage at 2015-12-03T07:16:09+0000 | homepage: https://github.com/jekor/haskell-sscgi
changelog-type: ''
hash: 3dd54f5b9a9ee0d119de246055165e756e5f483772ee8e7e7125fda92612a27b
test-bench-deps: {}
maintainer: jekor@jekor.com
synopsis: Simple SCGI Library
changelog: ''
basic-deps:
bytestring: -any
case-insensitive: -any
base: ! '>=4 && <6'
containers: -any
utf8-string: -any
MonadCatchIO-mtl: -any
mtl: -any
attoparsec: -any
transformers: -any
Glob: -any
all-versions:
- '0.1.0'
- '0.2.0'
- '0.3.0'
author: Chris Forno (jekor)
latest: '0.3.0'
description-type: haddock
description: This is a simple implementation of the SCGI protocol without support
for the Network.CGI interface. It's still rough but currently powers www.vocabulink.com
and jekor.com.
license-name: BSD3
| homepage: https://github.com/jekor/haskell-sscgi
changelog-type: ''
hash: 0da59e7e0410e05d92a191680dc907e4aff072356320663232020461568b91e9
test-bench-deps: {}
maintainer: jekor@jekor.com
synopsis: Simple SCGI Library
changelog: ''
basic-deps:
bytestring: -any
case-insensitive: -any
base: ! '>=4 && <6'
containers: -any
utf8-string: -any
MonadCatchIO-mtl: -any
mtl: -any
attoparsec: -any
transformers: -any
Glob: -any
all-versions:
- '0.1.0'
- '0.2.0'
- '0.3.0'
- '0.3.1'
author: Chris Forno (jekor)
latest: '0.3.1'
description-type: haddock
description: This is a simple implementation of the SCGI protocol without support
for the Network.CGI interface. It's still rough but currently powers www.vocabulink.com.
license-name: BSD3
|
Remove PHP 5.5 from Travis matrix | language: php
php:
- 7.1
- 7.0
- 5.6
- 5.5
- hhvm
- nightly
os:
- linux
# osx/php testing not supported by travis
before_script:
- mysql -e 'create database travis_app_test;'
install:
- composer install
- npm install
#JS tools installed by npm required for validation only, not for app execution or development
script: vendor/bin/phing test-all
#Disable nightly-build test until I fix deps
matrix:
allow_failures:
- php: nightly
branches:
only:
- master
- dev
| language: php
php:
- 7.1
- 7.0
- 5.6
- hhvm
- nightly
os:
- linux
# osx/php testing not supported by travis
before_script:
- mysql -e 'create database travis_app_test;'
install:
- composer install
- npm install
#JS tools installed by npm required for validation only, not for app execution or development
script: vendor/bin/phing test-all
#Disable nightly-build test until I fix deps
matrix:
allow_failures:
- php: nightly
branches:
only:
- master
- dev
|
Fix deprecation after upgrading Jekyll to version 3.7.3 | # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: Marianne Corvellec
email: marianne.corvellec@ens-lyon.org
description: > # this means to ignore newlines until "baseurl:"
I explore data and I build software. I am active in the community as a
speaker, teacher, and event organizer. I live and work in Montréal, QC.
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://mkcor.github.io" # the base hostname & protocol for your site
github_username: mkcor
# Build settings
markdown: kramdown
timezone: "America/New_York"
gems:
- jekyll-feed
| # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: Marianne Corvellec
email: marianne.corvellec@ens-lyon.org
description: > # this means to ignore newlines until "baseurl:"
I explore data and I build software. I am active in the community as a
speaker, teacher, and event organizer. I live and work in Montréal, QC.
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://mkcor.github.io" # the base hostname & protocol for your site
github_username: mkcor
# Build settings
markdown: kramdown
timezone: "America/New_York"
plugins:
- jekyll-feed
|
Check CAPI2 core files for valid YAML syntax | # Configuration for pre-commit (https://pre-commit.com/), a tool to run
# formatters, linters, and other productivity tools before a commit.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: requirements-txt-fixer
- id: check-yaml
- id: end-of-file-fixer
# Test golden references
exclude: ^tests/(.+\.(info|patch)|test_provider/.+\.v)
- id: trailing-whitespace
# Test golden references
exclude: ^tests/(.+\.(info|patch)|test_provider/.+\.v)
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v2.1.0
hooks:
- id: pyupgrade
# for now don't force to change from %-operator to {}
args: [--keep-percent-format, --py3-plus]
| # Configuration for pre-commit (https://pre-commit.com/), a tool to run
# formatters, linters, and other productivity tools before a commit.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: requirements-txt-fixer
- id: check-yaml
types: [file]
files: ^tests/capi2_cores/.+\.core$
- id: end-of-file-fixer
# Test golden references
exclude: ^tests/(.+\.(info|patch)|test_provider/.+\.v)
- id: trailing-whitespace
# Test golden references
exclude: ^tests/(.+\.(info|patch)|test_provider/.+\.v)
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v2.1.0
hooks:
- id: pyupgrade
# for now don't force to change from %-operator to {}
args: [--keep-percent-format, --py3-plus]
|
Update package.json when update dependencies | # c.f. https://dependabot.com/docs/config-file/
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "daily"
default_assignees:
- sue445
allowed_updates:
- match:
# Disable. Only top-level dependencies (and security patches for subdependencies)
update_type: "all"
automerged_updates:
- match:
dependency_type: "development"
update_type: "all"
- match:
dependency_type: "production"
update_type: "semver:patch"
# Enable. Only lockfile updates (ignore updates that require Gemfile changes)
version_requirement_updates: "off"
| # c.f. https://dependabot.com/docs/config-file/
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "daily"
default_assignees:
- sue445
allowed_updates:
- match:
# Disable. Only top-level dependencies (and security patches for subdependencies)
update_type: "all"
automerged_updates:
- match:
dependency_type: "development"
update_type: "all"
- match:
dependency_type: "production"
update_type: "semver:patch"
version_requirement_updates: "auto"
|
Add assignee to Dependabot config | version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
| version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "jgarber623"
|
Package changes: Ruby 2.1, GCC, doxygen | passengers:
- dotfile
- homebrew
- vundle
- rvm
- git_repo
- npm
directory_name: "tilde"
rubies:
- ruby-1.9.3
- ruby-2.0.0
- ruby-2.1.0
brews:
- the_silver_searcher
- arangodb
- chicken
- clisp
- gcc48
- git
- graphviz
- haskell-platform
- htop-osx
- hub
- imagemagick
- leiningen
- libxml2
- jq
- macvim:
- --override-system-vim
- mysql
- node
- optipng
- postgresql
- reattach-to-user-namespace
- redis
- rlwrap
- rust
- swi-prolog
- tig
- tmux
- tree
- wget
- zsh
npms:
- bower
- docco
- grunt-cli
- jshint
- jslint
- yo
repos:
"zsh-users/zsh-syntax-highlighting": "~/.zsh/plugins/zsh-syntax-highlighting"
| passengers:
- dotfile
- homebrew
- vundle
- rvm
- git_repo
- npm
directory_name: "tilde"
rubies:
- ruby-1.9.3
- ruby-2.0.0
- ruby-2.1.0
- ruby-2.1.1
brews:
- the_silver_searcher
- arangodb
- chicken
- clisp
- doxygen
- git
- graphviz
- haskell-platform
- htop-osx
- hub
- imagemagick
- leiningen
- libxml2
- jq
- macvim:
- --override-system-vim
- mysql
- node
- optipng
- postgresql
- reattach-to-user-namespace
- redis
- rlwrap
- rust
- swi-prolog
- tig
- tmux
- tree
- wget
- zsh
npms:
- bower
- docco
- grunt-cli
- jshint
- jslint
- yo
repos:
"zsh-users/zsh-syntax-highlighting": "~/.zsh/plugins/zsh-syntax-highlighting"
|
Upgrade Cassandra version from 3.0.8 -> 3.0.9 | dsc_version: 3.0.8-1
cassandra_version: 3.0.8
cassandra_tools_version: 3.0.8
dse_version: 4.7.0-1
tablesnap_version: debian/0.7.1-3
| dsc_version: 3.0.9-1
cassandra_version: 3.0.9
cassandra_tools_version: 3.0.9
dse_version: 4.7.0-1
tablesnap_version: debian/0.7.1-3
|
Update Warner's Bio per his request | name: "Warner Moore"
twitter: "warnermoore"
bio: "Warner Moore is a technology and information security leader who is passionate about technology innovation and entrepreneurship having worked with technology focused businesses nearly his entire career. When not scaling technology and teams at CoverMyMeds, he contributes back to the community by organizing Ohio LinuxFest and DevOpsDays Ohio. Additionally, he is co-founder of the LOPSA Columbus chapter and chairs the Leadership Committee."
| name: "Warner Moore"
twitter: "warnermoore"
bio: "Warner Moore is a technology and information security leader who is passionate about innovation and entrepreneurship having worked with tech-focused businesses nearly his entire career. When not scaling platforms and teams at CoverMyMeds, he contributes back to the community by organizing Ohio LinuxFest and DevOpsDays Ohio. Additionally, he is co-founder of the LOPSA Columbus chapter and chairs the Leadership Committee."
|
Change the port from the default one | commandListener:
zookeeper: 127.0.0.1:9092
eventStore:
zookeeper: 127.0.0.1:9092
eventPublisher:
zookeeper: 127.0.0.1:9092
| server:
applicationConnectors:
- type: http
port: 9902
adminConnectors:
- type: http
port: 9802
commandListener:
zookeeper: 127.0.0.1:9092
eventStore:
zookeeper: 127.0.0.1:9092
eventPublisher:
zookeeper: 127.0.0.1:9092
|
Use the integrated repo infra jobs for testing | ---
# Copyright 2017, Rackspace US, Inc.
#
# Licensed 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.
- project:
templates:
- check-requirements
- publish-openstack-docs-pti
- build-release-notes-jobs-python3
- openstack-ansible-role-jobs
| ---
# Copyright 2017, Rackspace US, Inc.
#
# Licensed 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.
- project:
templates:
- check-requirements
- publish-openstack-docs-pti
- build-release-notes-jobs-python3
- openstack-ansible-role-jobs
- openstack-ansible-upgrade-infra_lxc-jobs
- openstack-ansible-deploy-infra_lxc-jobs
|
Move pytest install later in CI steps | version: 2
jobs:
build:
docker:
- image: python:3.6
steps:
- checkout
- run: pip install pytest==5.4.3
- run: python3 setup.py sdist
- run: pip3 install dist/webp-*.tar.gz
- run: pytest tests/
| version: 2
jobs:
build:
docker:
- image: python:3.6
steps:
- checkout
- run: python3 setup.py sdist
- run: pip3 install dist/webp-*.tar.gz
- run: pip install pytest==5.4.3
- run: pytest tests/
|
Add retention limit and working-directory | # Perform a Gradle `build` which includes `assemble`, `check`, `test` of the projects.
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Runs this job in parallel for each sub-project
strategy:
matrix:
project-dir:
- strict-version-matcher-plugin
- google-services-plugin
- oss-licenses-plugin
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a build which includes `check` and `test` tasks
- name: Perform a Gradle build
run: ./gradlew build
working-directory: ./${{ matrix.project-dir }}
- uses: actions/upload-artifact@v2
with:
name: Package
path: build/libs
| # Perform a Gradle `build` which includes `assemble`, `check`, `test` of the projects.
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Runs this job in parallel for each sub-project
strategy:
matrix:
project-dir:
- strict-version-matcher-plugin
- google-services-plugin
- oss-licenses-plugin
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a build which includes `check` and `test` tasks
- name: Perform a Gradle build
run: ./gradlew build
working-directory: ./${{ matrix.project-dir }}
- name: Upload generated artifacts
uses: actions/upload-artifact@v2
with:
name: Plugin Artifact
path: build/libs
retention-days: 5
working-directory: ./${{ matrix.project-dir }}
|
Add translated links for the footer links | privacy:
title: footer_link_privacy_policy
url: '/it/privacy-policy/'
legal:
title: footer_link_legal_notes
url: '/it/note-legali/'
| privacy:
it:
title: footer_link_privacy_policy
url: '/it/privacy-policy/'
en:
title: footer_link_privacy_policy
url: '/en/privacy-policy/'
legal:
it:
title: footer_link_legal_notes
url: '/it/note-legali/'
en:
title: footer_link_legal_notes
url: '/en/note-legali/'
|
Fix the reno format of image-clients-as-library | ---
features:
- Define image service clients as libraries
The following image service clients are defined as library interface,
so the other projects can use these modules as stable libraries
without any maintenance changes.
**image_members_client**
**namespaces_client**
**resource_types_client**
**schemas_client**
| ---
features:
- |
Define image service clients as libraries
The following image service clients are defined as library interface,
so the other projects can use these modules as stable libraries
without any maintenance changes.
* image_members_client
* namespaces_client
* resource_types_client
* schemas_client
|
Add a deploy step to push robo.phar up to GitHub after a tag build passes. | language: php
branches:
# Only test the master branch and SemVer tags.
only:
- master
- /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/
php:
- 7.0
- 5.6
- 5.5
sudo: false
cache:
directories:
- vendor
- $HOME/.composer/cache
before_script:
- 'if [ "$TRAVIS_PHP_VERSION" = "5.5" ]; then rm composer.lock; composer require --no-update "phpunit/php-code-coverage:~2"; fi'
- composer install -n --prefer-source
script: "./robo test --coverage"
after_success:
- travis_retry php vendor/bin/coveralls -v
| language: php
branches:
# Only test the master branch and SemVer tags.
only:
- master
- /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/
php:
- 7.0
- 5.6
- 5.5
sudo: false
cache:
directories:
- vendor
- $HOME/.composer/cache
before_script:
- 'if [ "$TRAVIS_PHP_VERSION" = "5.5" ]; then rm composer.lock; composer require --no-update "phpunit/php-code-coverage:~2"; fi'
- composer install -n --prefer-source
script: "./robo test --coverage"
after_success:
- travis_retry php vendor/bin/coveralls -v
# Prior to a deploy, build a fresh robo.phar
before_deploy:
- test $TRAVIS_TAG=true && ./robo phar:build
# Deploy instructions set up via `travis setup releases` per
# https://docs.travis-ci.com/user/deployment/releases
deploy:
provider: releases
api_key:
secure: EdmB1nW5gj5nggYfmHv20enSgvRIAl1PIWV5GKmkxAJwuummh3UqdI7z0ecTGdw2IBgJx9lizNvqhcWjXbpNhE9VaaT1sHFCKv4Zust6sLb9bneK3oLRdJk2wemfrrZQpdH900zA0o7b3CHVth8UhkrCB4FXVDjUW13K061EXG8=
file: robo.phar
on:
repo: consolidation/Robo
|
Test against Node.js 0.9, but allow failures | language: node_js
node_js:
- 0.8
| language: node_js
node_js:
- 0.8
- 0.9
matrix:
allow_failures:
- node_js: 0.9 |
Use global to specify jruby env | language: ruby
rvm:
- ruby-head
- 2.2.2
- 2.1.6
- 2.0.0
- rbx-2
- 1.9.3
sudo: false
cache: bundler
env:
matrix:
- "TEMPLATE=simple MODE=compiled"
- "TEMPLATE=simple MODE=parsing"
- "TEMPLATE=simple MODE=tilt"
- "TEMPLATE=escaped MODE=compiled ESCAPE=1"
matrix:
include:
- rvm: jruby-head
env: "JRUBY_OPTS=-Xcext.enabled=true"
- rvm: jruby-19mode
env: "JRUBY_OPTS=-Xcext.enabled=true"
| language: ruby
rvm:
- ruby-head
- 2.2.2
- 2.1.6
- 2.0.0
- rbx-2
- 1.9.3
sudo: false
cache: bundler
env:
global: "JRUBY_OPTS=-Xcext.enabled=true"
matrix:
- "TEMPLATE=simple MODE=compiled"
- "TEMPLATE=simple MODE=parsing"
- "TEMPLATE=simple MODE=tilt"
- "TEMPLATE=escaped MODE=compiled ESCAPE=1"
|
Change Travis to build against node 0.10 and 0.12. Drop 0.8. | language: java
jdk:
- oraclejdk8
- oraclejdk7
env:
- NODE_VERSION="0.11"
- NODE_VERSION="0.10"
- NODE_VERSION="0.8"
before_install:
- nvm install $NODE_VERSION
before_script:
- npm install
script:
- npm test
notifications:
email:
on_success: "never"
| language: java
jdk:
- oraclejdk8
- oraclejdk7
env:
- NODE_VERSION="0.12"
- NODE_VERSION="0.10"
before_install:
- nvm install $NODE_VERSION
before_script:
- npm install
script:
- npm test
notifications:
email:
on_success: "never"
|
Use a more recent nodejs version | language: node_js
install:
- npm install
before_script:
- bower install
script:
- grunt
| language: node_js
node_js: 6
install:
- npm install
before_script:
- bower install
script:
- grunt
|
Remove iojs-v2 from list of node environments for testing | sudo: false
language: node_js
matrix:
include:
- node_js: iojs-v1
- node_js: iojs-v2
- node_js: "0.10"
- node_js: "0.12"
env: COVERALLS=1
after_success:
- if [ "x$COVERALLS" = "x1" ]; then npm run coveralls; fi
| sudo: false
language: node_js
matrix:
include:
- node_js: iojs-v1
- node_js: "0.10"
- node_js: "0.12"
env: COVERALLS=1
after_success:
- if [ "x$COVERALLS" = "x1" ]; then npm run coveralls; fi
|
Rename matrix key to jobs in Travis config | os: linux
dist: xenial
language: python
python:
- 3.8
- 3.7
- 3.6
- 3.5
- 3.4
- nightly
- pypy3
env: TOXENV=py,coveralls
matrix:
include:
- python: "3.8"
env: TOXENV=stylecheck,docs-html
- python: "2.7"
env: TOXENV=py27,coveralls
allow_failures:
- python: nightly
- python: pypy3
fast_finish: true
install:
- pip install tox
script:
- tox
cache:
- pip
branches:
only:
- master
- /^.*-maintenance$/
notifications:
email: false
| os: linux
dist: xenial
language: python
python:
- 3.8
- 3.7
- 3.6
- 3.5
- 3.4
- nightly
- pypy3
env: TOXENV=py,coveralls
jobs:
include:
- python: "3.8"
env: TOXENV=stylecheck,docs-html
- python: "2.7"
env: TOXENV=py27,coveralls
allow_failures:
- python: nightly
- python: pypy3
fast_finish: true
install:
- pip install tox
script:
- tox
cache:
- pip
branches:
only:
- master
- /^.*-maintenance$/
notifications:
email: false
|
Add support to ppc64le for debian build | language: minimal
services: docker
sudo: required
env:
- DOCKER_FILE=".travis/Dockerfile.fedora-rawhide"
- DOCKER_FILE=".travis/Dockerfile.debian-testing"
before_install:
# Create a docker image called "myimage".
- docker build -t myimage -f "$DOCKER_FILE" .
before_script:
# Create a docker container from the image, mount the current working
# directory to /app inside the container and let the container running
# in the background. The resulting container ID will be saved to
# container_id so we can reference it later on.
- docker run --privileged --volume "$(pwd):/app" --workdir "/app" --tty --detach myimage bash > container_id
- docker exec "$(cat container_id)" ansible-playbook -i "localhost," -c local misc/install-test-dependencies.yml
script:
# Run tests in the running container.
- docker exec "$(cat container_id)" ./autogen.sh
- docker exec "$(cat container_id)" ./configure
- docker exec "$(cat container_id)" make
- docker exec "$(cat container_id)" make test
after_failure:
# get the logs
- docker exec "$(cat container_id)" cat tests/*.log
after_script:
# Stop the container.
- docker stop "$(cat container_id)"
| language: minimal
arch:
- amd64
- ppc64le
services: docker
sudo: required
env:
- DOCKER_FILE=".travis/Dockerfile.fedora-rawhide"
- DOCKER_FILE=".travis/Dockerfile.debian-testing"
jobs:
exclude:
- arch: ppc64le
env: DOCKER_FILE=".travis/Dockerfile.fedora-rawhide"
before_install:
# Create a docker image called "myimage".
- docker build -t myimage -f "$DOCKER_FILE" .
before_script:
# Create a docker container from the image, mount the current working
# directory to /app inside the container and let the container running
# in the background. The resulting container ID will be saved to
# container_id so we can reference it later on.
- >
if [ "$TRAVIS_CPU_ARCH" = "ppc64le" ]; then
docker run --volume "$(pwd):/app" --workdir "/app" --tty --detach myimage bash > container_id;
else
docker run --privileged --volume "$(pwd):/app" --workdir "/app" --tty --detach myimage bash > container_id;
fi
- docker exec "$(cat container_id)" ansible-playbook -i "localhost," -c local misc/install-test-dependencies.yml
script:
# Run tests in the running container.
- docker exec "$(cat container_id)" ./autogen.sh
- docker exec "$(cat container_id)" ./configure
- docker exec "$(cat container_id)" make
- docker exec "$(cat container_id)" make test
after_failure:
# get the logs
- docker exec "$(cat container_id)" cat tests/*.log
after_script:
# Stop the container.
- docker stop "$(cat container_id)"
|
Install wheels for pip, so caching becomes quicker | language: python
cache: pip
python:
- "2.7_with_system_site_packages"
- 3.4
before_install:
- sudo apt-get update -qq
- if [[ $TRAVIS_PYTHON_VERSION == *"2."* ]]; then sudo apt-get install python-numpy python-scipy; fi
- if [[ $TRAVIS_PYTHON_VERSION == *"3."* ]]; then sudo apt-get install python3-numpy python3-scipy; fi
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
install:
- pip install -e .[tests,docs]
script:
- py.test
- python setup.py build_sphinx
- python setup.py egg_info -b.dev sdist --formats gztar
| language: python
cache: pip
python:
- "2.7_with_system_site_packages"
- 3.4
before_install:
- sudo apt-get update -qq
- if [[ $TRAVIS_PYTHON_VERSION == *"2."* ]]; then sudo apt-get install python-numpy python-scipy; fi
- if [[ $TRAVIS_PYTHON_VERSION == *"3."* ]]; then sudo apt-get install python3-numpy python3-scipy; fi
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
install:
- pip install -U pip wheel
- pip install -e .[tests,docs]
script:
- py.test
- python setup.py build_sphinx
- python setup.py egg_info -b.dev sdist --formats gztar
|
Add Pod Lib Lint to Build Step to verify | language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
osx_image: xcode7.3
script:
- java -version
- set -o pipefail && xctool -workspace Example/OCSlimProject.xcworkspace -scheme BuildTestAllTargets-iOS -sdk iphonesimulator build test
- set -o pipefail && xctool -workspace Example/OCSlimProject.xcworkspace -scheme BuildTestAllTargets-OSX -sdk macosx build test
#- pod lib lint
## DEFAULT TEMPLATE REFERENCE
#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/TravisTest.xcworkspace -scheme TravisTest-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
#- pod lib lint
| language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
osx_image: xcode7.3
script:
- set -o pipefail && java -version
- set -o pipefail && xctool -workspace Example/OCSlimProject.xcworkspace -scheme BuildTestAllTargets-iOS -sdk iphonesimulator build test
- set -o pipefail && xctool -workspace Example/OCSlimProject.xcworkspace -scheme BuildTestAllTargets-OSX -sdk macosx build test
- pod lib lint OCSlimProject.podspec --private
- pod lib lint OCSlimProjectTestBundleSupport.podspec --private
## DEFAULT TEMPLATE REFERENCE
#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/TravisTest.xcworkspace -scheme TravisTest-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
#- pod lib lint
|
Add new CI API key | language: python
python:
- '2.7'
- '3.3'
- 'pypy'
env:
global:
- APIKEY=NkExMzEzRDYzQ0EyRTA5NEJCQTJDMUY1N0IwNDk4QkQ=
script: python setup.py run_tests -k $(echo $APIKEY|base64 -d)
notifications:
email:
on_success: never
on_failure: always
irc:
channels:
- "chat.freenode.net#optf2"
template:
- "%{repository}/%{branch}#%{commit} by %{author}: %{message} - %{build_url}"
| language: python
python:
- '2.7'
- '3.3'
- 'pypy'
env:
global:
- APIKEY=MTI2Njc1RDNENEJDOUU5QzVBMTBEQjJDMTdDQUNFOTI=
script: python setup.py run_tests -k $(echo $APIKEY|base64 -d)
notifications:
email:
on_success: never
on_failure: always
irc:
channels:
- "chat.freenode.net#optf2"
template:
- "%{repository}/%{branch}#%{commit} by %{author}: %{message} - %{build_url}"
|
Update Travis CI to test latest NodeJS v5.x.x | language: node_js
node_js:
- 'stable'
- '4'
- '0.12'
- '0.10'
| language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '0.10'
|
Add HHVM to Travis matrix | language: php
php:
- 5.5
- 5.4
- 5.3
- 5.3.3
before_script:
- composer install --dev --prefer-source | language: php
php:
- 5.3
- 5.4
- 5.5
- hhvm
matrix:
allow_failures:
- php: hhvm
install:
- composer install --prefer-dist --dev
|
Disable phpspec run until we have a spec. | language: php
php:
- 5.5
- 5.6
- hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction --dev
script:
- phpspec run
- vendor/bin/phpunit -c phpunit.xml
matrix:
allow_failures:
- php: hhvm
fash_finish: true
| language: php
php:
- 5.5
- 5.6
- hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction --dev
script:
- vendor/bin/phpunit -c phpunit.xml
matrix:
allow_failures:
- php: hhvm
fash_finish: true
|
Fix build on Travis, harder | # Travis CI (http://travis-ci.org/) is a continuous integration service for
# open source projects. This file configures it to run unit tests for rtfblog.
language: go
go:
- 1.4
- 1.5
- tip
before_install:
- go get -v golang.org/x/tools/cmd/vet
- go get -v golang.org/x/tools/cmd/cover
- go get -v github.com/mattn/goveralls
- go get -v bitbucket.org/liamstask/goose/cmd/goose
- go get -v github.com/jteeuwen/go-bindata
- npm install -g grunt-cli bower browserify json
- sudo /etc/init.d/postgresql stop
script:
- make
- ./scripts/run-pg-tests.sh
- ./scripts/run-sqlite-tests.sh
after_script:
- $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
| # Travis CI (http://travis-ci.org/) is a continuous integration service for
# open source projects. This file configures it to run unit tests for rtfblog.
language: go
go:
- 1.4
- 1.5
- tip
before_install:
- go get -v golang.org/x/tools/cmd/vet
- go get -v golang.org/x/tools/cmd/cover
- go get -v github.com/mattn/goveralls
- go get -v bitbucket.org/liamstask/goose/cmd/goose
- go get -v github.com/jteeuwen/go-bindata/...
- npm install -g grunt-cli bower browserify json
- sudo /etc/init.d/postgresql stop
script:
- make
- ./scripts/run-pg-tests.sh
- ./scripts/run-sqlite-tests.sh
after_script:
- $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
|
Include PHP 7.4 into the CI pipeline | sudo: false
language: php
php:
- "7.3"
- "7.2"
- "7.1"
- "7.0"
script: ./test/run
| language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
script: ./test/run
|
Print all logs in case of error. | language: python
python:
# We don't actually use the Travis Python, but this keeps it organized.
- "3.6"
install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda config --add channels defaults
- conda config --add channels conda-forge
- conda config --add channels bioconda
- conda create -q -n snakemake snakemake>=5.1.2 python=$TRAVIS_PYTHON_VERSION
- conda create -q -n star star
- source activate star
# create STAR index (too big to live in git)
- mkdir .test/data/ref/index
- STAR --runMode genomeGenerate --genomeDir .test/data/ref/index --genomeFastaFiles .test/data/ref/genome.chr21.fa
script:
- source activate snakemake
# run the workflow
- snakemake --use-conda --directory .test
| language: python
python:
# We don't actually use the Travis Python, but this keeps it organized.
- "3.6"
install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda config --add channels defaults
- conda config --add channels conda-forge
- conda config --add channels bioconda
- conda create -q -n snakemake snakemake>=5.1.2 python=$TRAVIS_PYTHON_VERSION
- conda create -q -n star star
- source activate star
# create STAR index (too big to live in git)
- mkdir .test/data/ref/index
- STAR --runMode genomeGenerate --genomeDir .test/data/ref/index --genomeFastaFiles .test/data/ref/genome.chr21.fa
script:
- source activate snakemake
# run the workflow
- snakemake --use-conda --directory .test || (for f in logs/*; do echo $f; cat $f; done; exit 1)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.