Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Test with Rubinius and JRuby | language: ruby
before_install: gem install bundler --version '1.8'
install: bundle install
rvm:
- 2.0
- 2.1
- 2.2
- ruby-head
| language: ruby
before_install: gem install bundler --version '1.8'
install: bundle install
rvm:
- 2.0
- 2.1
- 2.2
- ruby-head
- rbx-2
- jruby-head
|
Remove Django 1.7 from Travis | language: python
python: 3.5
sudo: false
env:
- TOX_ENV=py27-django17
- TOX_ENV=py33-django17
- TOX_ENV=py34-django17
- TOX_ENV=py27-django18
- TOX_ENV=py33-django18
- TOX_ENV=py34-django18
- TOX_ENV=py35-django18
- TOX_ENV=py27-django19
- TOX_ENV=py34-django19
- TOX_ENV=py35-django19
install:
- pip install tox
before_script:
- psql -c 'create database netfields;' -U postgres
script:
- tox -e $TOX_ENV
| language: python
python: 3.5
sudo: false
env:
- TOX_ENV=py27-django18
- TOX_ENV=py33-django18
- TOX_ENV=py34-django18
- TOX_ENV=py35-django18
- TOX_ENV=py27-django19
- TOX_ENV=py34-django19
- TOX_ENV=py35-django19
install:
- pip install tox
before_script:
- psql -c 'create database netfields;' -U postgres
script:
- tox -e $TOX_ENV
|
Revert "Just use flit to build the wheel" | language: python
sudo: false
python:
- 3.4
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
- conda install --yes pip python==$TRAVIS_PYTHON_VERSION numpy matplotlib
- pip install flit
install:
- flit wheel
- pip install dist/plotchecker*
script:
- py.test --cov plotchecker
after_success:
- codecov
| language: python
sudo: false
python:
- 3.4
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
- conda install --yes pip python==$TRAVIS_PYTHON_VERSION numpy matplotlib
- pip install flit
install:
- flit install
script:
- py.test --cov plotchecker
after_success:
- codecov
|
Use JDK6 for Android compatibility. | language: java
jdk: oraclejdk7
before_install:
# Gradle
- wget http://services.gradle.org/distributions/gradle-1.6-bin.zip
- unzip gradle-1.6-bin.zip
- export GRADLE_HOME=$PWD/gradle-1.6
- export PATH=$GRADLE_HOME/bin:$PATH
script: gradle assemble | language: java
jdk: oraclejdk6
before_install:
# Gradle
- wget http://services.gradle.org/distributions/gradle-1.6-bin.zip
- unzip gradle-1.6-bin.zip
- export GRADLE_HOME=$PWD/gradle-1.6
- export PATH=$GRADLE_HOME/bin:$PATH
script: gradle assemble |
Comment out everything but pypy with latest twisted and try running trial under strace. | language: python
python:
- 2.6
- 2.7
- pypy
env:
- TWISTED_VERSION=12.2.0
- TWISTED_VERSION=12.1.0
install:
- pip install Twisted==$TWISTED_VERSION
- pip install -r requirements-dev.txt --use-mirrors
script:
- pep8 treq
- pyflakes treq
- trial treq
| language: python
python:
#- 2.6
#- 2.7
- pypy
env:
- TWISTED_VERSION=12.2.0
#- TWISTED_VERSION=12.1.0
install:
- pip install Twisted==$TWISTED_VERSION
- pip install -r requirements-dev.txt --use-mirrors
script:
- pep8 treq
- pyflakes treq
- strace trial treq
|
Remove 3.2 support as WTForms doesn't support it | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
install: python setup.py install
script: python setup.py test
| language: python
python:
- "2.6"
- "2.7"
- "3.3"
install: python setup.py install
script: python setup.py test
|
Update node_js to 4.0 to fix issue with node-sass | language: node_js
node_js:
- 0.1
before_install:
- npm install -g grunt-cli
install:
- npm install
script:
# Reference the locally-installed version of Grunt
- ./node_modules/grunt-cli/bin/grunt test
after_success:
# Check to see if the version file has been updated
- ./create-release-tag.sh
deploy:
provider: heroku
api_key:
secure: h/9/Rcd41XVU4VYYeBoKKvG6uShEoDksCGGZ/2dgeY1f3tYnhGzzgL6TIkvhafwDbKk2Y4o6d/MI05K+s7lorf2uTKpr1To2o52hQqmb4YREPWruZtBqoRo5X4nCeN2oEdW+yJRH3jZDNUmwkPzjytqxkcUUUeDPHfz3+xCtSZk=
app: govuk-prototype-kit
on: master
notifications:
email: false
sudo: false
| language: node_js
node_js:
- 4.0
before_install:
- npm install -g grunt-cli
install:
- npm install
script:
# Reference the locally-installed version of Grunt
- ./node_modules/grunt-cli/bin/grunt test
after_success:
# Check to see if the version file has been updated
- ./create-release-tag.sh
deploy:
provider: heroku
api_key:
secure: h/9/Rcd41XVU4VYYeBoKKvG6uShEoDksCGGZ/2dgeY1f3tYnhGzzgL6TIkvhafwDbKk2Y4o6d/MI05K+s7lorf2uTKpr1To2o52hQqmb4YREPWruZtBqoRo5X4nCeN2oEdW+yJRH3jZDNUmwkPzjytqxkcUUUeDPHfz3+xCtSZk=
app: govuk-prototype-kit
on: master
notifications:
email: false
sudo: false
|
Remove call to setup.py, which isn't a thing for chigrpah | clone_depth: 5
configuration:
- Release
- Debug
image: Visual Studio 2015
platform:
- x64
build_script:
- 'git submodule update --init --recursive'
- "C:\\Python36\\python.exe setup.py"
- ps: Invoke-WebRequest "https://github.com/chigraph/chigraph/releases/download/dependencies/llvm-4.0.0-$env{CONFIGURATION}-msvc14-win64.tar.xz" third_party/llvm-%CONFIGURATION%.tar.xz
- mkdir third_party/llvm-%CONFIGURATION%
- cd third_party/llvm-%CONFIGURATION%
- tar xf ../llvm-%CONFIGURATION%.tar.xz
- cd ../..
- mkdir build
- cd build
- cmake -G'Visual Studio 14 2015 Win64' -DCMAKE_BUILD_TYPE="%CONFIGURATION%" ..
- msbuild chigraph.sln
| clone_depth: 5
configuration:
- Release
- Debug
image: Visual Studio 2015
platform:
- x64
build_script:
- 'git submodule update --init --recursive'
- ps: Invoke-WebRequest "https://github.com/chigraph/chigraph/releases/download/dependencies/llvm-4.0.0-$env{CONFIGURATION}-msvc14-win64.tar.xz" third_party/llvm-%CONFIGURATION%.tar.xz
- mkdir third_party/llvm-%CONFIGURATION%
- cd third_party/llvm-%CONFIGURATION%
- tar xf ../llvm-%CONFIGURATION%.tar.xz
- cd ../..
- mkdir build
- cd build
- cmake -G'Visual Studio 14 2015 Win64' -DCMAKE_BUILD_TYPE="%CONFIGURATION%" ..
- msbuild chigraph.sln
|
Remove older PHP versions from Travis | language: php
php:
- "5.4"
- "5.5"
- "5.6"
- "nightly"
- "hhvm"
sudo: false
before_script:
- composer install --no-interaction
- cp config/app_travis.php config/app.php
- cp config/oauth_example.php config/oauth.php
- mysql -e 'create database pmaerr;'
- wget https://scrutinizer-ci.com/ocular.phar
script:
- bin/cake migrations migrate
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml -c phpunit.xml.dist
after_script:
- php vendor/bin/coveralls -v
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
matrix:
allow_failures:
- php: "hhvm"
- php: "nightly"
| language: php
php:
- "5.6"
- "nightly"
- "hhvm"
sudo: false
before_script:
- composer install --no-interaction
- cp config/app_travis.php config/app.php
- cp config/oauth_example.php config/oauth.php
- mysql -e 'create database pmaerr;'
- wget https://scrutinizer-ci.com/ocular.phar
script:
- bin/cake migrations migrate
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml -c phpunit.xml.dist
after_script:
- php vendor/bin/coveralls -v
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
matrix:
allow_failures:
- php: "hhvm"
- php: "nightly"
|
Update from Forestry.io - Updated moneda.md | ---
label: artwork
hide_body: false
is_partial: false
fields:
- name: date
default: 2016-06-01 03:40:12 +0000
label: Date
type: datetime
hidden: false
- name: featuredimage
default: "/uploads/600-6.jpg"
label: Featuredimage
type: file
hidden: false
- name: title
default: hola victor
label: Title
type: text
hidden: false
- name: type
default: artwork
label: Type
type: text
hidden: false
pages:
- content/artwork/moneda.md
- content/artwork/subsuelo.md
- content/artwork/umbra.md
- content/artwork/canal.md
- content/artwork/sonambulo.md
- content/artwork/al-interior.md
- content/artwork/fuente.md
- content/artwork/strobe.md
- content/artwork/nemotecnia.md
- content/artwork/la-purga.md
- content/artwork/presencia.md
- content/artwork/tele.md
- content/artwork/stand-by.md
- content/artwork/opaco.md
- content/artwork/umbral.md
- content/artwork/prueba.md
- content/artwork/fe.md
| ---
label: artwork
hide_body: false
is_partial: false
fields:
- name: date
default: 2016-06-01 03:40:12 +0000
label: Date
type: datetime
hidden: false
- name: featuredimage
default: "/uploads/600-6.jpg"
label: Featuredimage
type: file
hidden: false
- name: title
default: hola victor
label: Title
type: text
hidden: false
- name: type
default: artwork
label: Type
type: text
hidden: false
pages:
- content/artwork/subsuelo.md
- content/artwork/moneda.md
- content/artwork/umbra.md
- content/artwork/canal.md
- content/artwork/sonambulo.md
- content/artwork/al-interior.md
- content/artwork/fuente.md
- content/artwork/strobe.md
- content/artwork/nemotecnia.md
- content/artwork/la-purga.md
- content/artwork/presencia.md
- content/artwork/tele.md
- content/artwork/stand-by.md
- content/artwork/opaco.md
- content/artwork/umbral.md
- content/artwork/prueba.md
- content/artwork/fe.md
|
Update from Forestry.io - Updated Forestry configuration | ---
label: Gallery
hide_body: true
fields:
- type: field_group_list
name: Sp94 guide montage
label: Sp94 guide montage
fields:
- type: file
name: file
label: file
- type: text
name: description
label: description
| ---
label: Gallery
hide_body: true
fields:
- type: field_group_list
name: Sp94 guide montage
label: Sp94 guide montage
fields:
- type: file
name: file
label: File
- type: text
name: description
label: Description
config:
required: true
|
Update from Forestry.io - Updated Forestry configuration | ---
hide_body: false
is_partial: false
fields:
- name: title
label: Name
type: text
hidden: false
default: ''
- name: name_organization
label: Organization Name
type: text
hidden: false
default:
- name: link
label: Link
type: text
hidden: false
default:
- name: services
label: Services
type: list
hidden: false
default: []
config:
use_select: true
source:
type: datafiles
file: services-yaml
path: services
- type: textarea
name: description
label: Description
config:
wysiwyg: true
schema:
format: markdown
- name: location
label: Location
type: field_group
fields:
- name: city
label: City
type: text
hidden: false
default: ''
- name: country
label: Country
type: text
hidden: false
default: ''
hidden: false
default:
- name: tags
label: Tags
type: tag_list
hidden: false
default:
- type: list
name: related_tools
label: Related Tools
description: Tools that are a core competence or expertise
config:
use_select: true
source:
type: pages
section: tool
- type: list
name: related_showcase
label: Related Showcase Items
config:
use_select: true
source:
type: pages
section: showcase
| ---
hide_body: true
is_partial: false
fields:
- name: title
label: Name
type: text
hidden: false
default: ''
- name: name_organization
label: Organization Name
type: text
hidden: false
default:
- name: link
label: Link
type: text
hidden: false
default:
- name: services
label: Services
type: list
hidden: false
default: []
config:
use_select: true
source:
type: datafiles
file: services-yaml
path: services
- type: textarea
name: description
label: Description
config:
wysiwyg: true
schema:
format: markdown
- name: location
label: Location
type: field_group
fields:
- name: city
label: City
type: text
hidden: false
default: ''
- name: country
label: Country
type: text
hidden: false
default: ''
hidden: false
default:
- name: tags
label: Tags
type: tag_list
hidden: false
default:
- type: list
name: related_tools
label: Related Tools
description: Tools that are a core competence or expertise
config:
use_select: true
source:
type: pages
section: tool
- type: list
name: related_showcase
label: Related Showcase Items
config:
use_select: true
source:
type: pages
section: showcase
|
Move mtlj plugin config into collectd-boshrelease | releases:
- {name: collectd, version: COLLECTD_VERSION}
addons:
- name: collectd
jobs:
- name: collectd
release: collectd
properties:
collectd:
config: |
LoadPlugin df
LoadPlugin disk
LoadPlugin cpu
LoadPlugin load
LoadPlugin memory
LoadPlugin write_metric_mtlumberjack
<Plugin write_metric_mtlumberjack>
<Logstash>
Host "metrics.opvis.bluemix.net"
Port "9095"
GraphitePrefix "SPACE_ID.GROUP_NAME."
SpaceId "SPACE_ID"
LoggingToken "LOGGING_TOKEN"
</Logstash>
</Plugin>
LoadPlugin statsd
<Plugin statsd>
Host "127.0.0.1"
DeleteCounters true
DeleteTimers true
DeleteGauges true
DeleteSets true
TimerPercentile 99.0
TimerPercentile 95.0
TimerPercentile 90.0
TimerCount true
</Plugin>
| releases:
- {name: collectd, version: COLLECTD_VERSION}
addons:
- name: collectd
jobs:
- name: collectd
release: collectd
properties:
collectd:
space_id: SPACE_ID
logging_token: LOGGING_TOKEN
|
Add field created_at to Category entity | BlogBundle\Entity\Category:
type: entity
table: null
repositoryClass: BlogBundle\Repository\CategoryRepository
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
title:
type: string
length: 255
unique: true
image:
type: string
length: 255
content:
type: text
lifecycleCallbacks: { }
| BlogBundle\Entity\Category:
type: entity
table: null
repositoryClass: BlogBundle\Repository\CategoryRepository
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
title:
type: string
length: 255
unique: true
image:
type: string
length: 255
content:
type: text
createdAt:
type: datetime
column: created_at
lifecycleCallbacks: { }
|
Update from Hackage at 2017-03-08T11:10:52Z | homepage: http://darcs.redspline.com/safe-access
changelog-type: ''
hash: 6869708d3102ededf80055fee28ec5e03555aa89f3986f184da722a7ceeb1566
test-bench-deps: {}
maintainer: tho.feron@gmail.com
synopsis: A simple environment to control access to data
changelog: ''
basic-deps:
base: ! '>=4.6 && <4.10'
mtl: ! '>=2.2.1'
transformers: ! '>=0.3.0.0'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.1.0'
- '0.2.1.1'
- '0.2.1.2'
- '0.3.0.0'
- '0.3.1.0'
author: Thomas Feron
latest: '0.3.1.0'
description-type: haddock
description: This is a small capability-based interface to check legitimacy of accesses
in different parts of the program depending on the context in which the data is
accessed. See the README.md in the repository for a longer explanation and an example.
license-name: BSD3
| homepage: http://darcs.redspline.com/safe-access
changelog-type: ''
hash: 23cfe12c64aa2511b6030e63bbb165bcf3cdb5271454014438caf1aa2cd74c28
test-bench-deps: {}
maintainer: tho.feron@gmail.com
synopsis: A simple environment to control access to data
changelog: ''
basic-deps:
base: ! '>=4.8 && <4.10'
mtl: ! '>=2.2.1'
transformers: ! '>=0.3.0.0'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.1.0'
- '0.2.1.1'
- '0.2.1.2'
- '0.3.0.0'
- '0.3.1.0'
- '0.3.2.0'
author: Thomas Feron
latest: '0.3.2.0'
description-type: haddock
description: This is a small capability-based interface to check legitimacy of accesses
in different parts of the program depending on the context in which the data is
accessed. See the README.md in the repository for a longer explanation and an example.
license-name: BSD3
|
Update DetoxDroid to 1.0.1 (10001) | Categories:
- Sports & Health
License: GPL-3.0-only
AuthorName: flxapps
SourceCode: https://github.com/flxapps/DetoxDroid
IssueTracker: https://github.com/flxapps/DetoxDroid/issues
Changelog: https://github.com/flxapps/DetoxDroid/releases
Donate: https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=K6T2HPXE7HQBG
Liberapay: DetoxDroid
AutoName: DetoxDroid
RepoType: git
Repo: https://github.com/flxapps/DetoxDroid
Builds:
- versionName: 1.0.0
versionCode: 10000
commit: v1.0.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.0
CurrentVersionCode: 10000
| Categories:
- Sports & Health
License: GPL-3.0-only
AuthorName: flxapps
SourceCode: https://github.com/flxapps/DetoxDroid
IssueTracker: https://github.com/flxapps/DetoxDroid/issues
Changelog: https://github.com/flxapps/DetoxDroid/releases
Donate: https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=K6T2HPXE7HQBG
Liberapay: DetoxDroid
AutoName: DetoxDroid
RepoType: git
Repo: https://github.com/flxapps/DetoxDroid
Builds:
- versionName: 1.0.0
versionCode: 10000
commit: v1.0.0
subdir: app
gradle:
- yes
- versionName: 1.0.1
versionCode: 10001
commit: v1.0.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.1
CurrentVersionCode: 10001
|
Remove hhvm from CI test | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- travis_retry composer selfupdate
- travis_retry composer install --prefer-dist --no-interaction
- travis_retry composer require codeclimate/php-test-reporter --dev
script:
- vendor/bin/phpunit --verbose --coverage-clover=build/logs/clover.xml --coverage-text
after_script:
- travis_retry wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- CODECLIMATE_REPO_TOKEN="2a816e25a4bcd8ded5ca51664e7f432c134d024ec16b76309dfb18665b0f9c9a" vendor/bin/test-reporter --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
| language: php
php:
- 5.4
- 5.5
- 5.6
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- travis_retry composer selfupdate
- travis_retry composer install --prefer-dist --no-interaction
- travis_retry composer require codeclimate/php-test-reporter --dev
script:
- vendor/bin/phpunit --verbose --coverage-clover=build/logs/clover.xml --coverage-text
after_script:
- travis_retry wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- CODECLIMATE_REPO_TOKEN="2a816e25a4bcd8ded5ca51664e7f432c134d024ec16b76309dfb18665b0f9c9a" vendor/bin/test-reporter --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
|
Bump version of format tests. | name: Format Tests
on: [push, pull_request]
jobs:
format_tests:
name: Format tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Check out data
uses: actions/checkout@v2.3.4
with:
path: data
- name: Check out format tests
uses: actions/checkout@v2.3.4
with:
repository: openelections/openelections-format-tests
ref: v0.1.0
path: format_tests
- name: Run format tests
run: python3 ${{ github.workspace }}/format_tests/run_tests.py ${{ github.workspace }}/data
| name: Format Tests
on: [push, pull_request]
jobs:
format_tests:
name: Format tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Check out data
uses: actions/checkout@v2.3.4
with:
path: data
- name: Check out format tests
uses: actions/checkout@v2.3.4
with:
repository: openelections/openelections-format-tests
ref: v1.0.0
path: format_tests
- name: Run format tests
run: python3 ${{ github.workspace }}/format_tests/run_tests.py ${{ github.workspace }}/data
|
Bump ridedott/merge-me-action from 2.9.105 to 2.9.107 | name: Merge me test dependencies!
on:
workflow_run:
types:
- completed
workflows:
# List all required workflow names here.
- 'Run tests'
- 'Test build package'
- 'Run linters'
jobs:
merge-me:
name: Merge me!
runs-on: ubuntu-latest
steps:
- # It is often a desired behavior to merge only when a workflow execution
# succeeds. This can be changed as needed.
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Merge me!
uses: ridedott/merge-me-action@v2.9.105
with:
# Depending on branch protection rules, a manually populated
# `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to
# a protected branch must be used. This secret can have an arbitrary
# name, as an example, this repository uses `DOTTBOTT_TOKEN`.
#
# When using a custom token, it is recommended to leave the following
# comment for other developers to be aware of the reasoning behind it:
#
# This must be used as GitHub Actions token does not support pushing
# to protected branches.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
PRESET: DEPENDABOT_MINOR
ENABLED_FOR_MANUAL_CHANGES: 'true'
| name: Merge me test dependencies!
on:
workflow_run:
types:
- completed
workflows:
# List all required workflow names here.
- 'Run tests'
- 'Test build package'
- 'Run linters'
jobs:
merge-me:
name: Merge me!
runs-on: ubuntu-latest
steps:
- # It is often a desired behavior to merge only when a workflow execution
# succeeds. This can be changed as needed.
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Merge me!
uses: ridedott/merge-me-action@v2.9.107
with:
# Depending on branch protection rules, a manually populated
# `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to
# a protected branch must be used. This secret can have an arbitrary
# name, as an example, this repository uses `DOTTBOTT_TOKEN`.
#
# When using a custom token, it is recommended to leave the following
# comment for other developers to be aware of the reasoning behind it:
#
# This must be used as GitHub Actions token does not support pushing
# to protected branches.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
PRESET: DEPENDABOT_MINOR
ENABLED_FOR_MANUAL_CHANGES: 'true'
|
Set up CI with Azure Pipelines | # ASP.NET Core
# Build and test ASP.NET Core web applications targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/vsts/pipelines/languages/dotnet-core
pool:
vmImage: 'Ubuntu 16.04'
variables:
buildConfiguration: 'Release'
steps:
- script: dotnet build --configuration $(buildConfiguration)
displayName: 'dotnet build $(buildConfiguration)'
| pool:
vmImage: 'Ubuntu 16.04'
variables:
buildConfiguration: 'Release'
steps:
- script: dotnet build --configuration $(buildConfiguration)
displayName: 'dotnet build $(buildConfiguration)'
|
Disable 3.5.2 tests on Azure for now | variables:
CI: 'true'
trigger:
- master
jobs:
- job: 'Test'
pool:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
Python352:
python.version: '3.5.2'
toxenv: 'py35-asyncio'
Python35:
python.version: '3.5'
toxenv: 'py35-asyncio'
Python36:
python.version: '3.6'
toxenv: 'py36-asyncio'
Python37:
python.version: '3.7'
toxenv: 'py37-asyncio'
Python352-UVLoop:
python.version: '3.5.2'
toxenv: 'py35-uvloop'
Python35-UVLoop:
python.version: '3.5'
toxenv: 'py35-uvloop'
Python36-UVLoop:
python.version: '3.6'
toxenv: 'py36-uvloop'
Python37-UVLoop:
python.version: '3.7'
toxenv: 'py37-uvloop'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
- script: pip install tox tox-venv
displayName: 'Install Tox'
- script: tox -e $(toxenv)
displayName: 'Run Tox'
| variables:
CI: 'true'
trigger:
- master
jobs:
- job: 'Test'
pool:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
# Python352:
# python.version: '3.5.2'
# toxenv: 'py35-asyncio'
Python35:
python.version: '3.5'
toxenv: 'py35-asyncio'
Python36:
python.version: '3.6'
toxenv: 'py36-asyncio'
Python37:
python.version: '3.7'
toxenv: 'py37-asyncio'
# Python352-UVLoop:
# python.version: '3.5.2'
# toxenv: 'py35-uvloop'
Python35-UVLoop:
python.version: '3.5'
toxenv: 'py35-uvloop'
Python36-UVLoop:
python.version: '3.6'
toxenv: 'py36-uvloop'
Python37-UVLoop:
python.version: '3.7'
toxenv: 'py37-uvloop'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
- script: pip install tox tox-venv
displayName: 'Install Tox'
- script: tox -e $(toxenv)
displayName: 'Run Tox'
|
Use rev instead of build in CI Build name | name: $(Date:yyyy-MM-dd)-build-$(Rev:r)
jobs:
- template: dotnetcore.job.yml
parameters:
jobName: windows
jobDisplayName: Windows (x64)
pool: Hosted VS2017
configuration: $(BuildConfiguration)
runtimeId: win-x64
enableCodeCoverage: true
selfContained: true
artifactPrefix: thnetii-dotnet-common
| name: $(Date:yyyy-MM-dd)-rev-$(Rev:r)
jobs:
- template: dotnetcore.job.yml
parameters:
jobName: windows
jobDisplayName: Windows (x64)
pool: Hosted VS2017
configuration: $(BuildConfiguration)
runtimeId: win-x64
enableCodeCoverage: true
selfContained: true
artifactPrefix: thnetii-dotnet-common
|
Drop PHP 5.3 and hhvm testing | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
- hhvm
sudo: false
env:
global:
- COMPOSER_DISABLE_XDEBUG_WARN=1
matrix:
fast_finish: true
include:
- php: 5.3.3
dist: precise
- php: 5.3
dist: precise
allow_failures:
- php: nightly
before_script:
- if [ "$TRAVIS_PHP_VERSION" = "5.3.3" ]; then composer config disable-tls true; composer config secure-http false; fi
- travis_retry composer install --prefer-source --no-interaction
script: composer test
after_script:
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover reports/coverage.xml; fi
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
sudo: false
env:
global:
- COMPOSER_DISABLE_XDEBUG_WARN=1
matrix:
fast_finish: true
allow_failures:
- php: nightly
before_script:
- travis_retry composer install --prefer-source --no-interaction
script: composer test
after_script:
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover reports/coverage.xml; fi
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
|
Add Ruby 2.5 to test matrix + use aliases | language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
- 2.4.0
- jruby-9.0.5.0
notifications:
email:
on_success: never
sudo: false
env:
global:
# If changing this number, please also change it in `test/test_helper.rb`.
- STRIPE_MOCK_VERSION=0.16.0
cache:
directories:
- stripe-mock
before_install:
# Unpack and start stripe-mock so that the test suite can talk to it
- |
if [ ! -d "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}" ]; then
mkdir -p stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/
curl -L "https://github.com/stripe/stripe-mock/releases/download/v${STRIPE_MOCK_VERSION}/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -o "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz"
tar -zxf "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -C "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/"
fi
- |
stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/stripe-mock > /dev/null &
STRIPE_MOCK_PID=$!
script:
- bundle exec rake
| language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- jruby-9.0.5.0
notifications:
email:
on_success: never
sudo: false
env:
global:
# If changing this number, please also change it in `test/test_helper.rb`.
- STRIPE_MOCK_VERSION=0.16.0
cache:
directories:
- stripe-mock
before_install:
# Unpack and start stripe-mock so that the test suite can talk to it
- |
if [ ! -d "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}" ]; then
mkdir -p stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/
curl -L "https://github.com/stripe/stripe-mock/releases/download/v${STRIPE_MOCK_VERSION}/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -o "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz"
tar -zxf "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}_linux_amd64.tar.gz" -C "stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/"
fi
- |
stripe-mock/stripe-mock_${STRIPE_MOCK_VERSION}/stripe-mock > /dev/null &
STRIPE_MOCK_PID=$!
script:
- bundle exec rake
|
Install notodiff as part of setup | sudo: false
language: python
python:
- "2.7"
branches:
only:
- staging
- master
install:
# for fontmake
- git clone https://github.com/googlei18n/fontmake.git
- cd fontmake
- pip install -r requirements.txt
- python setup.py install
- cd ..
# for fontdiff
- wget https://github.com/googlei18n/fontdiff/releases/download/v0.1.1/fontdiff-linux.zip
- unzip fontdiff-linux.zip
- mv fontdiff-linux/fontdiff .
- git clone https://github.com/googlei18n/nototools.git
script:
- bash ./build_travis.sh
| sudo: false
language: python
python:
- "2.7"
branches:
only:
- staging
- master
install:
# for fontmake
- git clone https://github.com/googlei18n/fontmake.git
- cd fontmake
- pip install -r requirements.txt
- python setup.py install
- cd ..
# for notodiff
- git clone https://github.com/googlei18n/nototools.git
- cd nototools
- python setup.py install
- cd ..
# for fontdiff
- wget https://github.com/googlei18n/fontdiff/releases/download/v0.1.1/fontdiff-linux.zip
- unzip fontdiff-linux.zip
- mv fontdiff-linux/fontdiff .
script:
- bash ./build_travis.sh
|
Add sqlparse to Travis configuration. | language: "python"
python:
- "3.4"
install:
pip install flake8 pytest pytest-cov
before_script:
flake8 rsr/
script:
- echo $PYTHONPATH
- export PYTHONPATH=`pwd`:$PYTHONPATH
- py.test --cov=rsr --cov-report=term
| language: "python"
python:
- "3.4"
install:
pip install flake8 pytest pytest-cov sqlparse
before_script:
flake8 rsr/
script:
- export PYTHONPATH=`pwd`:$PYTHONPATH
- py.test --cov=rsr --cov-report=term
|
Add test script for best_exons.py to the Travis testing. | # Configuration file to run tests on Travis-CI via GitHub notifications
# See http://travis-ci.org/
language: python
python:
# No skiptest in 2.6 so ignore for now
# - "2.6"
- "2.7"
install:
- "pip install ."
script:
# Run the unit tests for bcftbx
- "python setup.py test"
| # Configuration file to run tests on Travis-CI via GitHub notifications
# See http://travis-ci.org/
language: python
python:
# No skiptest in 2.6 so ignore for now
# - "2.6"
- "2.7"
install:
- "pip install ."
script:
# Run the unit tests for bcftbx
- "python setup.py test"
# Run the best_exons example
- "cd microarray/examples/"
- ./test_best_exons.sh
|
Add Cucumber to Travis build | language: ruby
cache: bundler
script:
- bundle exec rake
- bundle exec rspec
rvm:
- 2.0.0
| language: ruby
cache: bundler
script:
- bundle exec rake
- bundle exec rspec
- bundle exec cucumber
rvm:
- 2.0.0
|
Add 0.12 into test environments | language: node_js
node_js:
- "0.8"
- "0.10"
| language: node_js
node_js:
- "0.8"
- "0.10"
- "0.12"
|
Add Ruby 2.1.0 to Travis build | language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-2.2
env:
- ACTIVE_RECORD_BRANCH="master"
- ACTIVE_RECORD_BRANCH="4-0-stable"
- ACTIVE_RECORD_VERSION="~> 4.0.0"
- ACTIVE_RECORD_VERSION="~> 3.2.0"
- ACTIVE_RECORD_VERSION="~> 3.1.0"
matrix:
allow_failures:
- rvm: rbx-2.2
- rvm: jruby-19mode
- env: ACTIVE_RECORD_BRANCH="master"
- env: ACTIVE_RECORD_BRANCH="4-0-stable"
before_script:
- "psql -c 'create database pg_search_test;' -U postgres >/dev/null"
script: "bundle exec rspec spec"
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx-2.2
env:
- ACTIVE_RECORD_BRANCH="master"
- ACTIVE_RECORD_BRANCH="4-0-stable"
- ACTIVE_RECORD_VERSION="~> 4.0.0"
- ACTIVE_RECORD_VERSION="~> 3.2.0"
- ACTIVE_RECORD_VERSION="~> 3.1.0"
matrix:
allow_failures:
- rvm: 2.1.0
- rvm: rbx-2.2
- rvm: jruby-19mode
- env: ACTIVE_RECORD_BRANCH="master"
- env: ACTIVE_RECORD_BRANCH="4-0-stable"
before_script:
- "psql -c 'create database pg_search_test;' -U postgres >/dev/null"
script: "bundle exec rspec spec"
|
Use wildcard versions for Go in Travis config. |
language: go
go:
- 1.6
- 1.7
- 1.8.x
| language: go
go:
- 1.6.x
- 1.7.x
- 1.8.x
|
Add CI test for Node 8 | language: node_js
node_js:
- "6"
- "7"
cache:
directories:
- $HOME/.npm
- $HOME/.yarn-cache
- node_modules
script:
- npm run test:ci | language: node_js
node_js:
- "6"
- "7"
- "8"
cache:
directories:
- $HOME/.npm
- $HOME/.yarn-cache
- node_modules
script:
- npm run test:ci |
Update minimum required Rust to 1.36 | language: rust
sudo: false
rust:
- stable
- beta
- nightly
matrix:
include:
- rust: 1.32.0
before_script: |
set -e
if [[ $TRAVIS_RUST_VERSION = 'stable' ]]; then
rustup component add rustfmt clippy
fi
script: |
set -e
cargo build
cargo test
ci/check-no-std.sh
cargo test --all-features
if [[ $TRAVIS_RUST_VERSION = 'stable' ]]; then
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
fi
| language: rust
sudo: false
rust:
- stable
- beta
- nightly
matrix:
include:
- rust: 1.36.0
before_script: |
set -e
if [[ $TRAVIS_RUST_VERSION = 'stable' ]]; then
rustup component add rustfmt clippy
fi
script: |
set -e
cargo build
cargo test
ci/check-no-std.sh
cargo test --all-features
if [[ $TRAVIS_RUST_VERSION = 'stable' ]]; then
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
fi
|
Replace Node 10 with Node 6 & 7 | # Travis CI Configuration
language: node_js
node_js:
- "10"
- "9"
- "8"
# Installing rsvg-brunch requires a C++11 compiler and librsvg
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- librsvg2-dev
env:
- CXX=g++-4.8
install:
- npm install
- npm install coveralls
script:
- npm run lint
- npm run coverage
after_success:
- nyc report --reporter=text-lcov | coveralls
| # Travis CI Configuration
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
# Installing rsvg-brunch requires a C++11 compiler and librsvg
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- librsvg2-dev
env:
- CXX=g++-4.8
install:
- npm install
- npm install coveralls
script:
- npm run lint
- npm run coverage
after_success:
- nyc report --reporter=text-lcov | coveralls
|
Add IRC notifications to Travis | language: ruby
cache: bundler
env:
- CPLUS_INCLUDE_PATH=/usr/include/atlas C_INCLUDE_PATH=/usr/include/atlas
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- "2.1.0"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-base-dev
script: bundle exec rake compile && bundle exec rake spec
| language: ruby
cache: bundler
env:
- CPLUS_INCLUDE_PATH=/usr/include/atlas C_INCLUDE_PATH=/usr/include/atlas
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- "2.1.0"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-base-dev
script: bundle exec rake compile && bundle exec rake spec
notifications:
irc: "chat.freenode.net#sciruby"
|
Build with Node.js 16 on Travis CI. | sudo: false
language: node_js
node_js:
- '12'
- '14'
- '15'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test
| sudo: false
language: node_js
node_js:
- '12'
- '14'
- '16'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test
|
Add Django 1.9.x to the test matrix | sudo: false
language: python
python:
- "2.7"
- "3.4"
env:
- DJANGO_VERSION="django>=1.7,<1.8"
- DJANGO_VERSION="django>=1.8,<1.9"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install $DJANGO_VERSION --use-mirrors
- python setup.py install
- pip install -r test_requirements.txt
- pip install coveralls
# command to run tests, e.g. python setup.py test
script:
- "coverage run manage.py test"
- "coverage report -m"
after_success:
- coveralls
| sudo: false
language: python
python:
- "2.7"
- "3.4"
env:
- DJANGO_VERSION="django>=1.7,<1.8"
- DJANGO_VERSION="django>=1.8,<1.9"
- DJANGO_VERSION="django>=1.9,<1.10"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install $DJANGO_VERSION --use-mirrors
- python setup.py install
- pip install -r test_requirements.txt
- pip install coveralls
# command to run tests, e.g. python setup.py test
script:
- "coverage run manage.py test"
- "coverage report -m"
after_success:
- coveralls
|
Remove nodejs 0.6 from Travis config | language: node_js
node_js:
- "0.11"
- "0.10"
- "0.8"
- "0.6"
| language: node_js
node_js:
- "0.11"
- "0.10"
- "0.8"
|
Remove stupid 1.4 for CI | sudo: false
language: go
go:
- 1.4
- 1.5
- 1.6
- tip
script: go test -v -cover -race
notifications:
email:
- u@gogs.io
| sudo: false
language: go
go:
- 1.5
- 1.6
- tip
script: go test -v -cover -race
notifications:
email:
- u@gogs.io
|
Remove PHP 5.3 build from Travis config | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
install:
- composer install -n
script:
- phpunit --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- if [[ "$(phpenv version-name)" != "7.0" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
install:
- composer install -n
script:
- phpunit --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- if [[ "$(phpenv version-name)" != "7.0" ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
|
Use Swift 2.1 on Travis for tests. | language: objective-c
script:
- xctool -project TestsAndSample/TestsAndSample.xcodeproj -scheme Tests64 test
- xctool -project TestsAndSample/TestsAndSample.xcodeproj -scheme Tests32 test
| language: objective-c
osx_image: xcode7.2
script:
- xctool -project TestsAndSample/TestsAndSample.xcodeproj -scheme Tests64 test
- xctool -project TestsAndSample/TestsAndSample.xcodeproj -scheme Tests32 test
|
Disable redundant Haskell build actions | language: haskell
sudo: required
services:
- docker
dist: trusty
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
- $HOME/.stack
before_script:
- pwd
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- ./scripts/bootstrap.sh
| # Use dummy language to suppress Haskell-specific, automatic build steps
# (will be done inside dev container)
language: cpp
sudo: required
services:
- docker
dist: trusty
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
- $HOME/.stack
before_script:
- pwd
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- ./scripts/bootstrap.sh
|
Update to latest Ubuntu image | language: python
dist: xenial
python:
- 2.7
- 3.6
- 3.7
- 3.8
matrix:
include:
- dist: trusty
python: 2.6
addons:
apt:
packages:
- scons
cache:
pip: true
directories:
- $HOME/perl5
install:
- sudo apt-get -qq update
- sudo apt-get install -y libtest-exception-perl libtest-output-perl libdevel-cover-perl acl cpanminus
- pip install codecov flask pytest-cov pytest-pep8
- sudo cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov
script:
- scons python=$(which python) test
- py.test --cov=account/account --cov-branch --pep8 account
after_success:
- coverage combine
- codecov
- cd test/frontend && cover -report codecov
| language: python
dist: bionic
python:
- 2.7
- 3.6
- 3.7
- 3.8
matrix:
include:
- dist: trusty
python: 2.6
addons:
apt:
packages:
- scons
cache:
pip: true
directories:
- $HOME/perl5
install:
- sudo apt-get -qq update
- sudo apt-get install -y libtest-exception-perl libtest-output-perl libdevel-cover-perl acl cpanminus
- pip install codecov flask pytest-cov pytest-pep8
- sudo cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov
script:
- scons python=$(which python) test
- py.test --cov=account/account --cov-branch --pep8 account
after_success:
- coverage combine
- codecov
- cd test/frontend && cover -report codecov
|
Add tests for Python 3.4 and 3.5. | language: python
sudo: false
addons:
apt:
packages:
- gfortran
- gcc
notifications:
email: false
python:
- "2.7"
# command to install dependencies
install:
# You may want to periodically update this, although the conda update
# conda line below will keep everything up-to-date. We do this
# conditionally because it saves us some downloading if the version is
# the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- 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 env create -f environment.yml
- source activate poets
# command to run tests
script:
- python setup.py test
| language: python
sudo: false
addons:
apt:
packages:
- gfortran
- gcc
notifications:
email: false
python:
# We don't actually use the Travis Python, but this keeps it organized.
- "2.7"
- "3.4"
- "3.5"
# command to install dependencies
install:
# You may want to periodically update this, although the conda update
# conda line below will keep everything up-to-date. We do this
# conditionally because it saves us some downloading if the version is
# the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- 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 env create -f environment.yml
- source activate poets
# command to run tests
script:
- python setup.py test
|
Include Core.Tests in test run on Travis | language: csharp
mono: 5.2.0
solution: ./src/Objectivity.AutoFixture.XUnit2.AutoMoq.sln
script:
- xbuild /p:Configuration=Release ./src/Objectivity.AutoFixture.XUnit2.AutoMoq.sln
- mono ./src/packages/xunit.runner.console.*/tools/net452/xunit.console.exe ./src/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests/bin/Release/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests.dll | language: csharp
mono: 5.2.0
solution: ./src/Objectivity.AutoFixture.XUnit2.AutoMoq.sln
script:
- xbuild /p:Configuration=Release ./src/Objectivity.AutoFixture.XUnit2.AutoMoq.sln
- mono ./src/packages/xunit.runner.console.*/tools/net452/xunit.console.exe ./src/Objectivity.AutoFixture.XUnit2.Core.Tests/bin/Release/Objectivity.AutoFixture.XUnit2.Core.Tests.dll ./src/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests/bin/Release/Objectivity.AutoFixture.XUnit2.AutoMoq.Tests.dll |
Drop node.js 9 support, add 10 and 12 | language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- '8'
- '9'
script: 'npm run ci'
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
| language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- '8'
- '10'
- '12'
script: 'npm run ci'
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
|
Add settings for robust PFS | ---
haproxy_ciphers:
- ECDHE-RSA-AES256-GCM-SHA384
- ECDHE-RSA-AES256-SHA384
- ECDHE-RSA-AES256-SHA
- AES256-GCM-SHA384
- AES256-SHA256
- AES256-SHA
- CAMELLIA256-SHA
- ECDHE-RSA-AES128-GCM-SHA256
- ECDHE-RSA-AES128-SHA256
- ECDHE-RSA-AES128-SHA
- AES128-GCM-SHA256
- AES128-SHA256
- AES128-SHA
- CAMELLIA128-SHA
- ECDHE-RSA-DES-CBC3-SHA
- DES-CBC3-SHA
| ---
haproxy_ciphers:
- ECDHE-RSA-AES256-GCM-SHA384
- ECDHE-RSA-AES256-SHA384
- ECDHE-RSA-AES256-SHA
- AES256-GCM-SHA384
- AES256-SHA256
- DHE-RSA-AES256-SHA
- AES256-SHA
- CAMELLIA256-SHA
- ECDHE-RSA-AES128-GCM-SHA256
- ECDHE-RSA-AES128-SHA256
- ECDHE-RSA-AES128-SHA
- AES128-GCM-SHA256
- AES128-SHA256
- DHE-RSA-AES128-SHA
- AES128-SHA
- CAMELLIA128-SHA
- ECDHE-RSA-DES-CBC3-SHA
- DES-CBC3-SHA
|
Change times for automation.rice_cooker in HA | - id: automation.alarm_kitchen_rice_cooker_is_keeping_warm
alias: "ALARM: Kitchen Rice Cooker is keeping warm"
mode: single
trigger:
- platform: time
at: "21:00"
- platform: time
at: "21:30"
- platform: time
at: "22:00"
- platform: time
at: "22:30"
condition:
- condition: numeric_state
entity_id: sensor.kitchen_rice_cooker_plug_power
above: 40
action:
- service: notify.all_devices
data:
title: "⚠️ ALARM"
message: ️Rice Cooker is Keeping Warm
data:
push:
interruption-level: time-sensitive
- delay:
hours: 1
| - id: automation.alarm_kitchen_rice_cooker_is_keeping_warm
alias: "ALARM: Kitchen Rice Cooker is keeping warm"
mode: single
trigger:
- platform: time
at: "22:00"
- platform: time
at: "22:30"
- platform: time
at: "23:00"
- platform: time
at: "23:30"
condition:
- condition: numeric_state
entity_id: sensor.kitchen_rice_cooker_plug_power
above: 40
action:
- service: notify.all_devices
data:
title: "⚠️ ALARM"
message: ️Rice Cooker is Keeping Warm
data:
push:
interruption-level: time-sensitive
- delay:
hours: 1
|
Add forgotten defaults for gitlab | ---
drone_scheme: http
drone_hostname: "{{ ansible_ssh_host|default(inventory_hostname) }}"
drone_port: 80
drone_sslcert: ''
drone_sslkey: ''
drone_path: ''
drone_github_key: ''
drone_github_secret: ''
drone_github_domain: github.com
drone_github_apiurl: https://api.github.com
drone_bitbucket_key: ''
drone_bitbucket_secret: ''
drone_smtp_server: ''
drone_smtp_port: ''
drone_smtp_address: ''
drone_smtp_username: ''
drone_smtp_password: ''
drone_open_invitations: 0
| ---
drone_scheme: http
drone_hostname: "{{ ansible_ssh_host|default(inventory_hostname) }}"
drone_port: 80
drone_sslcert: ''
drone_sslkey: ''
drone_path: ''
drone_github_key: ''
drone_github_secret: ''
drone_github_domain: github.com
drone_github_apiurl: https://api.github.com
drone_bitbucket_key: ''
drone_bitbucket_secret: ''
drone_gitlab_domain: ''
drone_gitlab_apiurl: ''
drone_smtp_server: ''
drone_smtp_port: ''
drone_smtp_address: ''
drone_smtp_username: ''
drone_smtp_password: ''
drone_open_invitations: 0
|
Set xapi_bridge_version default to "master" | ---
##
# Defaults for role xapi_bridge
#
xapi_bridge_user: xapi
xapi_bridge_user_group: adm #perms on tracking.log
xapi_bridge_app_dir: "{{ COMMON_APP_DIR }}/xapi"
xapi_bridge_user_home: "{{ xapi_bridge_app_dir }}"
xapi_bridge_repo: "https://github.com/appsembler/edx-xapi-bridge"
xapi_bridge_venv_dir: "{{ xapi_bridge_app_dir }}/venvs/xapi"
xapi_bridge_code_dir: "{{ xapi_bridge_app_dir }}/edx-xapi-bridge" | ---
##
# Defaults for role xapi_bridge
#
xapi_bridge_user: xapi
xapi_bridge_user_group: adm #perms on tracking.log
xapi_bridge_app_dir: "{{ COMMON_APP_DIR }}/xapi"
xapi_bridge_user_home: "{{ xapi_bridge_app_dir }}"
xapi_bridge_repo: "https://github.com/appsembler/edx-xapi-bridge"
xapi_bridge_venv_dir: "{{ xapi_bridge_app_dir }}/venvs/xapi"
xapi_bridge_code_dir: "{{ xapi_bridge_app_dir }}/edx-xapi-bridge"
xapi_bridge_version: "master"
|
Print hosts file as a 'test' | ---
"on":
# Trigger the workflow on pushes to these branches
push:
branches:
- master
- 34.x
jobs:
one:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Print working directory
run: pwd
- name: List files in working directory
run: ls -al
- name: Make target directory for sources
run: mkdir -p /opt/meza
- name: Copy code
run: sudo cp -r ${{ github.workspace }} /opt/
# - name: List files in /opt/meza
# run: ls -al /opt/meza
- name: Install prerequisites
run: sudo apt install -y git ansible
# - name: Clone Meza
# run: sudo git clone https://github.com/freephile/meza /opt/meza
- name: Run "getmeza with sudo -H to avoid cache warnings"
run: sudo -H bash /opt/meza/src/scripts/getmeza.sh
- name: Setup the monolith environment
run: sudo meza setup env monolith --fqdn="127.0.0.1" --db_pass=1234 --private_net_zone=public
- name: Print hosts file
run: cat /opt/conf-meza/secret/monolith/hosts
# Does the --no-firewall option exist?
- name: Deploy Meza
run: meza deploy monolith --no-firewall
| ---
"on":
# Trigger the workflow on pushes to these branches
push:
branches:
- master
- 34.x
jobs:
one:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Print working directory
run: pwd
- name: List files in working directory
run: ls -al
- name: Make target directory for sources
run: mkdir -p /opt/meza
- name: Copy code
run: sudo cp -r ${{ github.workspace }} /opt/
# - name: List files in /opt/meza
# run: ls -al /opt/meza
- name: Install prerequisites
run: sudo apt install -y git ansible
# - name: Clone Meza
# run: sudo git clone https://github.com/freephile/meza /opt/meza
- name: Run "getmeza with sudo -H to avoid cache warnings"
run: sudo -H bash /opt/meza/src/scripts/getmeza.sh
- name: Setup the monolith environment
run: sudo meza setup env monolith --fqdn="127.0.0.1" --db_pass=1234 --private_net_zone=public
# The --no-firewall option does not exist
- name: Deploy Meza
run: meza deploy monolith
- name: Print hosts file
run: cat /opt/conf-meza/secret/monolith/hosts
|
Add CI builds for Python 3.3-3.9 | name: Rollbar-Agent CI
on:
push:
branches: [ master ]
tags: [ v* ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [2.7]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade --force-reinstall setuptools
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: python setup.py test
| name: Rollbar-Agent CI
on:
push:
branches: [ master ]
tags: [ v* ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade --force-reinstall setuptools
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: python setup.py test
|
Update Hatfield Christmas visit slots | ---
name: Hatfield Open
nomis_id: HDI
address:
- Thorne Road
- DN7 6El
email: socialvisitshatfield@hmps.gsi.gov.uk
enabled: true
estate: Hatfield Open
finder_slug: hatfield
phone: 01405 746611
slot_anomalies:
2014-12-24:
- 1400-1600
2014-12-31:
- 1400-1600
slots:
thu:
- 1400-1600
sat:
- 1400-1600
sun:
- 1400-1600
- 0930-1130
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-01-01
| ---
name: Hatfield Open
nomis_id: HDI
address:
- Thorne Road
- DN7 6El
email: socialvisitshatfield@hmps.gsi.gov.uk
enabled: true
estate: Hatfield Open
finder_slug: hatfield
phone: 01405 746611
slot_anomalies:
2014-12-24:
- 1400-1600
2014-12-31:
- 1400-1600
2015-12-22:
- 1400-1600
slots:
thu:
- 1400-1600
sat:
- 1400-1600
sun:
- 1400-1600
- 0930-1130
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-01-01
- 2015-12-24
- 2015-12-26
- 2015-12-31
|
Remove missing/unused extension from PHPSpec config for HHVM | suites:
calends:
namespace: Danhunsaker\Calends
psr4_prefix: Danhunsaker\Calends
src_path: %paths.config%/src
spec_path: %paths.config%
spec_prefix: spec
extensions:
- Coduo\PhpSpec\DataProvider\DataProviderExtension
| suites:
calends:
namespace: Danhunsaker\Calends
psr4_prefix: Danhunsaker\Calends
src_path: %paths.config%/src
spec_path: %paths.config%
spec_prefix: spec
|
Make it restart unless stopped | version: '2'
services:
nginx:
image: nginx
links:
- node1:node1
ports:
- "8080:80"
volumes:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf"
- "/nginx_cache"
- "./static:/static:ro" #TODO: make sure that readonly causes no trouble
node1:
build: ./app
ports:
- "8080"
volumes:
- "./app:/app:rw" # TODO: make sure that readonly causes no trouble
- "./static:/static:rw"
- "/app/node_modules"
| version: '2'
services:
nginx:
image: nginx
links:
- node1:node1
ports:
- "8080:80"
volumes:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf"
- "/nginx_cache"
- "./static:/static:ro" #TODO: make sure that readonly causes no trouble
restart: unless-stopped
node1:
build: ./app
ports:
- "8080"
volumes:
- "./app:/app:rw" # TODO: make sure that readonly causes no trouble
- "./static:/static:rw"
- "/app/node_modules"
restart: unless-stopped
|
Add force reset on any clock for admin | device:
name: YOUR_DEVICE_NAME
trello:
key: YOUR_API_KEY
token: YOUR_TOKEN
board:
name: YOUR_BOARD_NAME
list:
online: 自席
offline: 帰宅
away: 離席
condition:
# away になるまでの時間(分)
time_until_away: 5
# business time 以外の away 状態からさらに time_until_away を過ぎると offline にする
business:
start: '9:00'
end: '22:00'
| device:
name: YOUR_DEVICE_NAME
trello:
key: YOUR_API_KEY
token: YOUR_TOKEN
board:
name: YOUR_BOARD_NAME
list:
online: 自席
offline: 帰宅
away: 離席
condition:
# away になるまでの時間(分)
time_until_away: 5
# business time 以外の away 状態からさらに time_until_away を過ぎると offline にする
business:
start: '9:00'
end: '22:00'
admin:
force_reset:
enable: false
clock: '06:00'
|
Fix the navigation ordering (page weight) | pagetitle: Topics
theme: dark
description: Topics to help you in delivering towards the Digital Service Standard
header:
- header.md
main:
- pageheader.md
- sddp_topics.md
- team_topics.md
- userresearch_topics.md
- /_shared/feedback.md
footer:
- /_shared/footer.md
| pagetitle: Topics
weight: 20
theme: dark
description: Topics to help you in delivering towards the Digital Service Standard
header:
- header.md
main:
- pageheader.md
- sddp_topics.md
- team_topics.md
- userresearch_topics.md
- /_shared/feedback.md
footer:
- /_shared/footer.md
|
Update Golem.de to 1.2.3 (141) | AntiFeatures:
- NonFreeNet
Categories:
- Reading
License: GPL-3.0-only
AuthorName: Soenke Huster
AuthorEmail: projekte@eknoes.de
SourceCode: https://github.com/eknoes/golem-android-reader
IssueTracker: https://github.com/eknoes/golem-android-reader/issues
AutoName: Golem.de
RepoType: git
Repo: https://github.com/eknoes/golem-android-reader
Builds:
- versionName: 1.2.1
versionCode: 137
commit: v1.2.1
subdir: app
gradle:
- yes
- versionName: 1.2.2
versionCode: 138
commit: f8b9406b3e5d1ecb8147bb0eaf48e6c503d64863
subdir: app
gradle:
- yes
- versionName: 1.2.3
versionCode: 139
commit: 1d3a038d81d1dc6c968e2bf1c60d08c259780274
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.2.3
CurrentVersionCode: 139
| AntiFeatures:
- NonFreeNet
Categories:
- Reading
License: GPL-3.0-only
AuthorName: Soenke Huster
AuthorEmail: projekte@eknoes.de
SourceCode: https://github.com/eknoes/golem-android-reader
IssueTracker: https://github.com/eknoes/golem-android-reader/issues
AutoName: Golem.de
RepoType: git
Repo: https://github.com/eknoes/golem-android-reader
Builds:
- versionName: 1.2.1
versionCode: 137
commit: v1.2.1
subdir: app
gradle:
- yes
- versionName: 1.2.2
versionCode: 138
commit: f8b9406b3e5d1ecb8147bb0eaf48e6c503d64863
subdir: app
gradle:
- yes
- versionName: 1.2.3
versionCode: 139
commit: 1d3a038d81d1dc6c968e2bf1c60d08c259780274
subdir: app
gradle:
- yes
- versionName: 1.2.3
versionCode: 141
commit: 6df4fd5ca1982a01fe9b8b8ae5c09526ef09a402
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.2.3
CurrentVersionCode: 141
|
Update Episodes to 0.13.5 (18) | Categories:
- Multimedia
License: GPL-3.0-or-later
AuthorName: red-coracle
SourceCode: https://github.com/red-coracle/episodes
IssueTracker: https://github.com/red-coracle/episodes/issues
AutoName: Episodes
RepoType: git
Repo: https://github.com/red-coracle/episodes
Builds:
- versionName: 0.13.2
versionCode: 15
commit: 0.13.2
subdir: app
gradle:
- standard
- versionName: 0.13.3
versionCode: 16
commit: 0.13.3
subdir: app
gradle:
- standard
- versionName: 0.13.4
versionCode: 17
commit: 0.13.4
subdir: app
gradle:
- standard
AutoUpdateMode: Version %v
UpdateCheckMode: Tags ^[0-9]+\.[0-9]+\.[0-9]+$
CurrentVersion: 0.13.4
CurrentVersionCode: 17
| Categories:
- Multimedia
License: GPL-3.0-or-later
AuthorName: red-coracle
SourceCode: https://github.com/red-coracle/episodes
IssueTracker: https://github.com/red-coracle/episodes/issues
AutoName: Episodes
RepoType: git
Repo: https://github.com/red-coracle/episodes
Builds:
- versionName: 0.13.2
versionCode: 15
commit: 0.13.2
subdir: app
gradle:
- standard
- versionName: 0.13.3
versionCode: 16
commit: 0.13.3
subdir: app
gradle:
- standard
- versionName: 0.13.4
versionCode: 17
commit: 0.13.4
subdir: app
gradle:
- standard
- versionName: 0.13.5
versionCode: 18
commit: 0.13.5
subdir: app
gradle:
- standard
AutoUpdateMode: Version %v
UpdateCheckMode: Tags ^[0-9]+\.[0-9]+\.[0-9]+$
CurrentVersion: 0.13.5
CurrentVersionCode: 18
|
Install correct bundler version for Travis | sudo: false
language: ruby
cache: bundler
rvm:
- 2.5
- 2.6
- 2.7
- jruby
- rbx-3
- ruby-head
before_install:
- gem update --system
- gem install bundler
matrix:
allow_failures:
- rvm: rbx-3
- rvm: jruby
| language: ruby
cache: bundler
rvm:
- 2.5
- 2.6
- 2.7
- jruby
- rbx-3
- truffleruby
- ruby-head
before_install:
- gem update --system
- gem install bundler:1.16.1
matrix:
allow_failures:
- rvm: rbx-3
- rvm: jruby
- rvm: truffleruby
|
Add coverage to linux build | language: rust
sudo: required
dist: trusty
cache:
directories:
- ~/llvm
matrix:
include:
- os: linux
rust: stable
# - os: osx
# rust: stable
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./build_linux.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew config;
brew update;
brew install -v https://raw.githubusercontent.com/Homebrew/homebrew-versions/master/llvm38.rb; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LIBCLANG_STATIC_PATH=~/clang/lib; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LLVM_CONFIG_PATH=/usr/local/bin/llvm-config-3.8; export LIBCLANG_STATIC_PATH=`/usr/local/bin/llvm-config-3.8 --libdir`; fi
- cargo build --verbose
- RUST_TEST_THREADS=1 cargo test --verbose
| language: rust
sudo: required
dist: trusty
cache:
directories:
- ~/llvm
matrix:
include:
- os: linux
rust: stable
# - os: osx
# rust: stable
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./build_linux.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew config;
brew update;
brew install -v https://raw.githubusercontent.com/Homebrew/homebrew-versions/master/llvm38.rb; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LIBCLANG_STATIC_PATH=~/clang/lib; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LLVM_CONFIG_PATH=/usr/local/bin/llvm-config-3.8; export LIBCLANG_STATIC_PATH=`/usr/local/bin/llvm-config-3.8 --libdir`; fi
- cargo build --verbose
- RUST_TEST_THREADS=1 cargo test --verbose
after_success: |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev &&
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz &&
mkdir kcov-master/build &&
cd kcov-master/build &&
cmake .. &&
make &&
sudo make install &&
cd ../.. &&
kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/cpp-codegen-rs-*;
fi
|
Add lxml to conda recipe | package:
name: foyer
version: {{ GIT_DESCRIBE_TAG }}
source:
path: ../../
build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0)}}
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
- python
run:
- python
- parmed
- mbuild >=0.6.1
- networkx
- oset
- six
- openmm
- plyplus
- requests
test:
requires:
- pytest >=3.0
source_files:
- foyer/forcefields/*
- foyer/opls_validation/*
- foyer/tests/files/*
- foyer/tests/*.txt
commands:
- set LNAME=appveyor
- py.test -v --pyargs foyer
about:
home: http://mosdef-hub.github.io/foyer
license: MIT
summary: Atomtyping and forcefield applying.
| package:
name: foyer
version: {{ GIT_DESCRIBE_TAG }}
source:
path: ../../
build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0)}}
script: python setup.py install --single-version-externally-managed --record record.txt
requirements:
build:
- python
run:
- python
- parmed
- mbuild >=0.6.1
- networkx
- oset
- six
- openmm
- plyplus
- requests
- lxml
test:
requires:
- pytest >=3.0
source_files:
- foyer/forcefields/*
- foyer/opls_validation/*
- foyer/tests/files/*
- foyer/tests/*.txt
commands:
- set LNAME=appveyor
- py.test -v --pyargs foyer
about:
home: http://mosdef-hub.github.io/foyer
license: MIT
summary: Atomtyping and forcefield applying.
|
Fix pre-commit black repo URL | repos:
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.6.4
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
language_version: python3.7
| repos:
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.6.4
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
language_version: python3.7
|
Add some more info for the workshop in Hradec | # Pozor, nové meetupy se přidávají na konec souboru
- name: Hadí workshop
materials: https://naucse.python.cz/2018/snake-hradec/
date: 2018-03-25
time: 8:00 – 18:00
place:
name: Hradec Králové
| # Pozor, nové meetupy se přidávají na konec souboru
- name: Hadí workshop v Hradci
materials: https://naucse.python.cz/2018/snake-hradec/
date: 2018-03-25
time: 8:00 – 18:00
place:
name: Gymnázium Boženy Němcové
address: Pospíšilova 324, Hradec Králové
latitude: '50.2123086'
longitude: '15.8389489'
|
Clarify the note a little [skip appveyor] | {% set version = "5.0.0" %}
package:
name: edffile
version: {{ version }}
source:
path: src
build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
- numpy
run:
- python
- numpy
test:
imports:
- EdfFile
about:
# Long term goal is to have the src/ folder in this recipe as a stand-alone
# project on github.
home: https://github.com/vasole/pymca/blob/master/PyMca5/PyMcaIO/EdfFile.py
license: MIT
summary: 'Reader for EDF files part of the PyMCA x-ray fluorescence toolkit'
extra:
recipe-maintainers:
- dgursoy
- decarlof
- ericdill
- licode
- ravescovi
- tacaswell
| {% set version = "5.0.0" %}
package:
name: edffile
version: {{ version }}
source:
path: src
build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
- numpy
run:
- python
- numpy
test:
imports:
- EdfFile
about:
# Long term goal is to have the src/ folder in this recipe as a stand-alone
# project on github. This file is part of another, much larger project. It
# is broken out so that users do not have to install a full GUI simply to
# get Edf file format I/O.
home: https://github.com/vasole/pymca/blob/master/PyMca5/PyMcaIO/EdfFile.py
license: MIT
summary: 'Reader for EDF files part of the PyMCA x-ray fluorescence toolkit'
extra:
recipe-maintainers:
- dgursoy
- decarlof
- ericdill
- licode
- ravescovi
- tacaswell
|
Use GitHub Actions for CI | name: Tests
on: [push, pull_request, workflow_dispatch]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring
- name: Install dependencies
run: composer install
- name: Run tests
run: phpunit tests | name: Tests
on: [push, pull_request, workflow_dispatch]
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring
- name: Install dependencies
run: composer install
- name: Run tests
run: ./vendor/bin/phpunit tests |
Clean up of heat role | ---
- name: create heat user
user: name=heat comment=heat shell=/bin/false system=yes home=/nonexistent createhome=no
- name: get heat source repo
git: |
repo={{ openstack.git_mirror }}/heat.git
dest=/opt/stack/heat
version={{ heat.rev }}
update={{ openstack.git_update }}
notify:
- pip install heat
- meta: flush_handlers
- name: create heat config directory
file: dest=/etc/heat state=directory
- name: create heat environment.d directory
file: dest=/etc/heat/environment.d state=directory
- name: create heat log directory
file: dest=/var/log/heat state=directory mode=0755 owner=heat
- name: heat config
template: src=etc/heat/heat.conf dest=/etc/heat/heat.conf mode=0644
- name: heat policy config
template: src=etc/heat/policy.json dest=/etc/heat/policy.json mode=0644
- name: heat paste config
template: src=etc/heat/api-paste.ini dest=/etc/heat/api-paste.ini mode=0644
- name: install heat services
upstart_service:
name={{ item }}
user=heat
cmd=/usr/local/bin/{{ item }}
with_items:
- heat-api
- heat-api-cfn
- heat-engine
- name: start heat services
service: name={{ item }} state=started
with_items:
- heat-api
- heat-api-cfn
- heat-engine
| ---
- name: create heat user
user: name=heat comment=heat shell=/bin/false system=yes home=/nonexistent
createhome=no
- name: get heat source repo
git: repo={{ openstack.git_mirror }}/heat.git
dest=/opt/stack/heat
version={{ heat.rev }}
update={{ openstack.git_update }}
notify:
- pip install heat
- meta: flush_handlers
- name: create heat environment.d directory
file: dest=/etc/heat/environment.d state=directory
- name: create heat log directory
file: dest=/var/log/heat state=directory mode=0755 owner=heat
- name: heat config
template: src=etc/heat/heat.conf dest=/etc/heat/heat.conf mode=0644
- name: heat policy config
template: src=etc/heat/policy.json dest=/etc/heat/policy.json mode=0644
- name: heat paste config
template: src=etc/heat/api-paste.ini dest=/etc/heat/api-paste.ini mode=0644
- name: install heat services
upstart_service: name={{ item }}
user=heat
cmd=/usr/local/bin/{{ item }}
with_items:
- heat-api
- heat-api-cfn
- heat-engine
- name: start heat services
service: name={{ item }} state=started
with_items:
- heat-api
- heat-api-cfn
- heat-engine
|
Update docker-compose to use cowbull image | version: '2'
services:
redis:
image: 'redis'
networks:
- cowbull_network
restart: always
cowbull_v5:
image: 'dsanderscan/cowbull_v5'
depends_on:
- redis
ports:
- 5000:5000
environment:
- LOGGING_LEVEL=10
- REDIS_HOST=redis
volumes:
- /home/devdsanders/Documents/dev/cowbull/python_cowbull_server/vendor/docker/:/cowbull/config
networks:
- cowbull_network
restart: always
cowbull_webapp:
image: 'dsanderscan/cowbull_webapp'
depends_on:
- cowbull_v5
ports:
- 8080:8080
environment:
- COWBULL_SERVER=cowbull_v5
- COWBULL_PORT=5000
- COWBULL_VERSION=v1
networks:
- cowbull_network
networks:
cowbull_network:
| version: '2'
services:
redis:
image: 'redis'
networks:
- cowbull_network
restart: always
cowbull_svc:
image: 'dsanderscan/cowbull'
depends_on:
- redis
ports:
- 5000:5000
environment:
- LOGGING_LEVEL=10
- REDIS_HOST=redis
volumes:
- /home/devdsanders/Documents/dev/cowbull/python_cowbull_server/vendor/docker/:/cowbull/config
networks:
- cowbull_network
restart: always
cowbull_webapp:
image: 'dsanderscan/cowbull_webapp'
depends_on:
- cowbull_svc
ports:
- 8080:8080
environment:
- COWBULL_SERVER=cowbull_svc
- COWBULL_PORT=5000
- COWBULL_VERSION=v1
networks:
- cowbull_network
networks:
cowbull_network:
|
Remove requirement for GATK protected until testing with 2.7.1 is complete | ---
bio_nextgen:
alignment:
- bwa
- bowtie2
- star
utilities:
- bamtools
- bedtools
- fastqc
- ogap
- rnaseqc
analysis:
- cufflinks
- picard
- samtools
- tophat
variant:
- bcbio_variation
- freebayes
- gatk
- gatk_protected
- grabix
- mutect
- tabix
- snpeff
- varscan
needs_64bit:
- ucsc_tools
- novoalign
- novosort | ---
bio_nextgen:
alignment:
- bwa
- bowtie2
- star
utilities:
- bamtools
- bedtools
- fastqc
- ogap
- rnaseqc
analysis:
- cufflinks
- picard
- samtools
- tophat
variant:
- bcbio_variation
- freebayes
- gatk
#- gatk_protected
- grabix
- mutect
- tabix
- snpeff
- varscan
needs_64bit:
- ucsc_tools
- novoalign
- novosort |
Adjust yaml indentation to match TextMate default | ---
driver:
name: docker
use_sudo: false
platforms:
- name: centos
driver_config:
image: 420ma/centos-chef
platform: centos
require_chef_omnibus: true
suites:
- name: docker-integration-test
run_list:
- 'recipe[docker-integration-test]'
| ---
driver:
name: docker
use_sudo: false
platforms:
- name: centos
driver_config:
image: 420ma/centos-chef
platform: centos
require_chef_omnibus: true
suites:
- name: docker-integration-test
run_list:
- 'recipe[docker-integration-test]'
|
Revert "Added a input boolean to track where the PS4 is" | away_mode:
name: Away Mode
initial: off
icon: mdi:exit-run
night_mode:
name: Night Mode
initial: on
icon: mdi:power-sleep
cinema_mode:
name: Cinema Mode
initial: off
icon: mdi:video-vintage
node_red_heartbeat:
name: Node Red Heartbeat
initial: off
icon: mdi:heart-pulse
ps4_living_room:
name: PS4 Living Room
initial: on
icon: mdi:game
| away_mode:
name: Away Mode
initial: off
icon: mdi:exit-run
night_mode:
name: Night Mode
initial: on
icon: mdi:power-sleep
cinema_mode:
name: Cinema Mode
initial: off
icon: mdi:video-vintage
node_red_heartbeat:
name: Node Red Heartbeat
initial: off
icon: mdi:heart-pulse
|
Remove BulkChangeTable rule from linter | require: rubocop-rails
AllCops:
NewCops: enable
Layout/LineLength:
Max: 120
Metrics/MethodLength:
Max: 12
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/SymbolArray:
EnforcedStyle: brackets
Rails/DynamicFindBy:
Enabled: false
Rails/RefuteMethods:
Enabled: false
| require: rubocop-rails
AllCops:
NewCops: enable
Layout/LineLength:
Max: 120
Metrics/MethodLength:
Max: 12
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/SymbolArray:
EnforcedStyle: brackets
Rails/BulkChangeTable:
Enabled: false
Rails/DynamicFindBy:
Enabled: false
Rails/RefuteMethods:
Enabled: false
|
Update actions/cache action to v2 | name: Test
on: push
jobs:
test:
name: "Ruby: ${{ matrix.ruby }} Rails: ${{ matrix.rails }}"
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "2.6", "2.5"]
rails: ["6.0", "5.2"]
steps:
- uses: actions/checkout@master
- uses: eregon/use-ruby-action@master
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v1
with:
path: .cache/bundle
key: v1-${{ matrix.os }}-ruby-${{ matrix.ruby }}-rails-${{ matrix.rails }}
- name: bundle config
run: |
bundle config gemfile "$(pwd)/gemfiles/rails_${{ matrix.rails }}.gemfile"
bundle config path "$(pwd)/.cache/bundle"
bundle config clean true
bundle config without development
- run: bundle install --jobs=4 --retry=3
- run: bundle exec rspec --color
| name: Test
on: push
jobs:
test:
name: "Ruby: ${{ matrix.ruby }} Rails: ${{ matrix.rails }}"
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "2.6", "2.5"]
rails: ["6.0", "5.2"]
steps:
- uses: actions/checkout@master
- uses: eregon/use-ruby-action@master
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v2
with:
path: .cache/bundle
key: v1-${{ matrix.os }}-ruby-${{ matrix.ruby }}-rails-${{ matrix.rails }}
- name: bundle config
run: |
bundle config gemfile "$(pwd)/gemfiles/rails_${{ matrix.rails }}.gemfile"
bundle config path "$(pwd)/.cache/bundle"
bundle config clean true
bundle config without development
- run: bundle install --jobs=4 --retry=3
- run: bundle exec rspec --color
|
Add mxr-conda to maintainers list | {% set name = "pretty_midi" %}
{% set version = "0.2.9" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pretty_midi-{{ version }}.tar.gz
sha256: f6a249cb843441e1cb78c4c0a1290948d6f56df7486f7974e20d5c80486dc99e
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=2.7
run:
- mido >=1.1.16
- numpy >=1.7.0
- python >=2.7
- six
test:
imports:
- pretty_midi
commands:
- pip check
requires:
- pip
about:
home: https://github.com/craffel/pretty-midi
summary: Functions and classes for handling MIDI data conveniently.
license: MIT
license_file: LICENSE.txt
extra:
recipe-maintainers:
- Walter-0
| {% set name = "pretty_midi" %}
{% set version = "0.2.9" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pretty_midi-{{ version }}.tar.gz
sha256: f6a249cb843441e1cb78c4c0a1290948d6f56df7486f7974e20d5c80486dc99e
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=2.7
run:
- mido >=1.1.16
- numpy >=1.7.0
- python >=2.7
- six
test:
imports:
- pretty_midi
commands:
- pip check
requires:
- pip
about:
home: https://github.com/craffel/pretty-midi
summary: Functions and classes for handling MIDI data conveniently.
license: MIT
license_file: LICENSE.txt
extra:
recipe-maintainers:
- Walter-0
- mxr-conda
|
Add docker{-compose} completions back, they are not part of the cask | ---
- homebrew_cask:
name:
- docker
- p4v
- homebrew:
name:
- docker-compose
| ---
- homebrew_cask:
name:
- docker
- p4v
- homebrew:
name:
- docker-completion
- docker-compose
- docker-compose-completion
|
Increase influxdb deployment memory request & limit in helm chart | {{ if eq .Values.influxdb.host "" -}}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{ include "chart.fullname" . }}-influxdb
labels:
app: influxdb
chart: {{ include "chart.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
app: influxdb
release: {{ .Release.Name }}
spec:
containers:
- name: influxdb
image: influxdb
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: INFLUXDB_DB
value: telegraf
resources:
requests:
memory: 100Mi
cpu: 50m
limits:
memory: 200Mi
cpu: 1000m
volumeMounts:
- name: influxdb-config
mountPath: /etc/influxdb/influxdb.conf
subPath: influxdb.conf
- mountPath: /var/lib/influxdb
name: influxdb
volumes:
- name: influxdb-config
configMap:
name: {{ include "chart.fullname" . }}-influxdb
- name: influxdb
persistentVolumeClaim:
claimName: {{ include "chart.fullname" . }}-influxdb
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- end }}
| {{ if eq .Values.influxdb.host "" -}}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{ include "chart.fullname" . }}-influxdb
labels:
app: influxdb
chart: {{ include "chart.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
app: influxdb
release: {{ .Release.Name }}
spec:
containers:
- name: influxdb
image: influxdb
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: INFLUXDB_DB
value: telegraf
resources:
requests:
memory: 200Mi
cpu: 50m
limits:
memory: 500Mi
cpu: 1000m
volumeMounts:
- name: influxdb-config
mountPath: /etc/influxdb/influxdb.conf
subPath: influxdb.conf
- mountPath: /var/lib/influxdb
name: influxdb
volumes:
- name: influxdb-config
configMap:
name: {{ include "chart.fullname" . }}-influxdb
- name: influxdb
persistentVolumeClaim:
claimName: {{ include "chart.fullname" . }}-influxdb
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- end }}
|
Update from Forestry.io - Updated Forestry configuration | ---
label: Event
hide_body: false
fields:
- type: text
name: layout
label: layout
hidden: true
- type: boolean
name: featured
label: featured
default: false
hidden: false
- type: text
name: title
label: Event title
description: 'Example: "2020 SV Alumni Reunion"'
- type: file
name: img-url
label: Events listing image
config:
maxSize: 2
description: 'Upload a square image. 741px * 741px '
- type: datetime
name: date
label: date
- type: select
name: event-type
label: Type of event
config:
required: true
options:
- s3r3
- alumni reunion
- webinar
description: 'Choose: s3r3, alumni reunion, webinar'
| ---
label: Event
hide_body: false
fields:
- type: text
name: layout
label: layout
hidden: true
- type: boolean
name: featured
label: Featured
default: false
hidden: false
description: If this event is set to featured, it will appear on the front page.
- type: text
name: title
label: Event title
description: 'Example: "2020 SV Alumni Reunion"'
- type: file
name: img-url
label: Events listing image
config:
maxSize: 2
description: 'Upload a square image. 741px * 741px '
- type: datetime
name: date
label: date
- type: select
name: event-type
label: Type of event
config:
required: true
options:
- s3r3
- alumni reunion
- webinar
description: 'Choose: s3r3, alumni reunion, webinar'
|
Build for both ARMv6 and ARMv7 | build:
goos:
- linux
- darwin
- freebsd
goarch:
- 386
- amd64
- arm
- arm64
archive:
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
386: i386
amd64: x86_64
brew:
github:
owner: getantibody
name: homebrew-tap
caveats: To start using antibody, you need to add `source <(antibody init)` to your `~/.zshrc`.
folder: Formula
homepage: http://getantibody.github.io
description: The fastest shell plugin manager
dependencies:
- git
nfpm:
homepage: http://getantibody.github.io
description: The fastest shell plugin manager
maintainer: Carlos Alexandro Becker <root@carlosbecker.com>
license: MIT
vendor: Antibody
formats:
- deb
dependencies:
- git
| build:
goos:
- linux
- darwin
- freebsd
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
archive:
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
386: i386
amd64: x86_64
brew:
github:
owner: getantibody
name: homebrew-tap
caveats: To start using antibody, you need to add `source <(antibody init)` to your `~/.zshrc`.
folder: Formula
homepage: http://getantibody.github.io
description: The fastest shell plugin manager
dependencies:
- git
nfpm:
homepage: http://getantibody.github.io
description: The fastest shell plugin manager
maintainer: Carlos Alexandro Becker <root@carlosbecker.com>
license: MIT
vendor: Antibody
formats:
- deb
dependencies:
- git
|
Build css before running tests | version: 2
jobs:
build:
docker:
- image: circleci/node:8.9
working_directory: ~/repo
branches:
only:
- production
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "app/package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
command: yarn install
working_directory: app
- run:
command: yarn test
working_directory: app
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "app/package.json" }}
# Build
- run: sudo apt install rsync
- run:
command: yarn build
working_directory: app
- run: ssh-keyscan -H $DEPLOY_HOST >> ~/.ssh/known_hosts
- run: rsync -az ~/repo/app/build/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_DIRECTORY --delete
| version: 2
jobs:
build:
docker:
- image: circleci/node:8.9
working_directory: ~/repo
branches:
only:
- production
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "app/package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
command: yarn install
working_directory: app
- run:
command: yarn build-css && yarn test
working_directory: app
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "app/package.json" }}
# Build
- run: sudo apt install rsync
- run:
command: yarn build
working_directory: app
- run: ssh-keyscan -H $DEPLOY_HOST >> ~/.ssh/known_hosts
- run: rsync -az ~/repo/app/build/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_DIRECTORY --delete
|
Add pyside to requirements (needed for GUI) | name: tardis
channels:
- defaults
- conda-forge
- bioconda
dependencies:
- python=2.7
- numpy=1.12
- scipy=0.18
- pandas=0.20
- pytables
- h5py=2.6
- matplotlib=2.0
- astropy=1.3
- numexpr=2.6
- Cython=0.21
- networkx=1.10
- pytest=3.0
- pyyaml=3.12
- jsonschema=2.5.1
- pyne=0.5.3
- graphviz=2.38
- pygraphviz
# RTD requirements
- sphinx=1.5.1
- nbconvert=4.2.0
- numpydoc=0.5
- docutils=0.13.1
- nbformat=4.0.1
#Coverage requirements
- coverage=3.7.1
- requests=2.9.1
- docopt=0.6.2
- pytest-cov=2.2.1
- pip:
- nbsphinx
- sphinx_bootstrap_theme
- sphinxcontrib-bibtex
- sphinxcontrib-tikz
- coveralls
- pytest-html==1.10.0
- dokuwiki
- dot2tex
| name: tardis
channels:
- defaults
- conda-forge
- bioconda
dependencies:
- python=2.7
- numpy=1.12
- scipy=0.18
- pandas=0.20
- pytables
- h5py=2.6
- matplotlib=2.0
- astropy=1.3
- numexpr=2.6
- Cython=0.21
- networkx=1.10
- pytest=3.0
- pyyaml=3.12
- jsonschema=2.5.1
- pyne=0.5.3
- pyside=1.2.0
- graphviz=2.38
- pygraphviz
# RTD requirements
- sphinx=1.5.1
- nbconvert=4.2.0
- numpydoc=0.5
- docutils=0.13.1
- nbformat=4.0.1
#Coverage requirements
- coverage=3.7.1
- requests=2.9.1
- docopt=0.6.2
- pytest-cov=2.2.1
- pip:
- nbsphinx
- sphinx_bootstrap_theme
- sphinxcontrib-bibtex
- sphinxcontrib-tikz
- coveralls
- pytest-html==1.10.0
- dokuwiki
- dot2tex
|
Move to lileio docker account | box: golang:1.8
services:
- id: postgres
env:
POSTGRES_DB: account_service_test # optional
build:
steps:
- setup-go-workspace
# Gets the dependencies
- script:
name: go get
code: |
go get -t ./...
# Test the project
- script:
name: go test
code: |
go test ./... -v -connect "host=${POSTGRES_PORT_5432_TCP_ADDR} user=postgres dbname=account_service_test sslmode=disable"
# Build the project
- script:
name: go build
code: |
CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o account_service .
# Copy binary to a location that gets passed along to the deploy pipeline
- script:
name: copy binary
code: cp account_service "$WERCKER_OUTPUT_DIR"
deploy:
box: golang
steps:
- internal/docker-scratch-push:
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD
tag: latest
repository: alexrbarlow/account_service
registry: https://registry.hub.docker.com
cmd: ./account_service
ports: "8000"
| box: golang:1.8
services:
- id: postgres
env:
POSTGRES_DB: account_service_test # optional
build:
steps:
- setup-go-workspace
# Gets the dependencies
- script:
name: go get
code: |
go get -t ./...
# Test the project
- script:
name: go test
code: |
go test ./... -v -connect "host=${POSTGRES_PORT_5432_TCP_ADDR} user=postgres dbname=account_service_test sslmode=disable"
# Build the project
- script:
name: go build
code: |
CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o account_service .
# Copy binary to a location that gets passed along to the deploy pipeline
- script:
name: copy binary
code: cp account_service "$WERCKER_OUTPUT_DIR"
deploy:
box: golang
steps:
- internal/docker-scratch-push:
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD
tag: latest
repository: lileio/account_service
registry: https://registry.hub.docker.com
cmd: ./account_service
ports: "8000"
|
Add testing on Ubuntu 14.04 | ---
driver:
name: vagrant
require_chef_omnibus: 11.8
platforms:
- name: ubuntu-12.04
- name: centos-6.4
- name: centos-6.5
suites:
- name: default
run_list:
- recipe[apt::default]
- recipe[exhibitor::default]
attributes:
| ---
driver:
name: vagrant
require_chef_omnibus: 11.8
platforms:
- name: ubuntu-12.04
- name: ubuntu-14.04
- name: centos-6.4
- name: centos-6.5
suites:
- name: default
run_list:
- recipe[apt::default]
- recipe[exhibitor::default]
attributes:
|
Add pypy and nightly runtimes | language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
dist: trusty
sudo: false
matrix:
include:
- language: generic
python: 2.7
os: osx
- language: generic
python: 3.3
os: osx
- language: generic
python: 3.4
os: osx
- language: generic
python: 3.5
os: osx
- language: generic
python: 3.6
os: osx
before_install:
- pip install --quiet codecov wheel
install:
- make install
script:
- make test
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- nightly
- pypy-5.7.1
dist: trusty
sudo: false
matrix:
include:
- language: generic
python: 2.7
os: osx
- language: generic
python: 3.3
os: osx
- language: generic
python: 3.4
os: osx
- language: generic
python: 3.5
os: osx
- language: generic
python: 3.6
os: osx
before_install:
- pip install --quiet codecov wheel
install:
- make install
script:
- make test
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Use recommended 0.26.x version of libgit2 | # obligatory fields
name: gitless
version: git
summary: A simple version control system built on top of Git
description: |
Gitless is an experimental version control system built on top of Git.
Many people complain that Git is hard to use. We think the problem lies
deeper than the user interface, in the concepts underlying Git. Gitless
is an experiment to see what happens if you put a simple veneer on an
app that changes the underlying concepts. Because Gitless is implemented
on top of Git (could be considered what Git pros call a "porcelain" of
Git), you can always fall back on Git. And of course your coworkers you
share a repo with need never know that you're not a Git aficionado.
base: core18
grade: devel # 'stable' for stable/candidate upload
confinement: devmode # 'strict' after right plugs and slots
# 'optional' fields
apps:
gl:
command: bin/gl
parts:
libgit2:
plugin: cmake
source: https://github.com/libgit2/libgit2/archive/v0.27.0.tar.gz
build-packages:
- libssl-dev
gitless-cli:
plugin: python
source: .
after: [libgit2]
# need git until https://github.com/sdg-mit/gitless/issues/176
stage-packages:
- git
build-packages:
- git
| # obligatory fields
name: gitless
version: git
summary: A simple version control system built on top of Git
description: |
Gitless is an experimental version control system built on top of Git.
Many people complain that Git is hard to use. We think the problem lies
deeper than the user interface, in the concepts underlying Git. Gitless
is an experiment to see what happens if you put a simple veneer on an
app that changes the underlying concepts. Because Gitless is implemented
on top of Git (could be considered what Git pros call a "porcelain" of
Git), you can always fall back on Git. And of course your coworkers you
share a repo with need never know that you're not a Git aficionado.
base: core18
grade: devel # 'stable' for stable/candidate upload
confinement: devmode # 'strict' after right plugs and slots
# 'optional' fields
apps:
gl:
command: bin/gl
parts:
libgit2:
plugin: cmake
# https://www.pygit2.org/install.html#version-numbers
source: https://github.com/libgit2/libgit2/archive/v0.26.8.tar.gz
build-packages:
- libssl-dev
gitless-cli:
plugin: python
source: .
after: [libgit2]
# need git until https://github.com/sdg-mit/gitless/issues/176
stage-packages:
- git
build-packages:
- git
|
Update from Hackage at 2017-11-19T02:29:00Z | homepage: https://github.com/jxv/animate#readme
changelog-type: ''
hash: 006cb0aa3cbd79dc78186bf854f94ca294920b4f1c3333d79810829491170596
test-bench-deps:
base: -any
hspec: -any
animate: -any
vector: -any
maintainer: Joe Vargas
synopsis: Animation for sprites
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
vector: -any
all-versions:
- '0.0.0'
author: ''
latest: '0.0.0'
description-type: markdown
description: ! '# animate
Animation for sprites
'
license-name: BSD3
| homepage: https://github.com/jxv/animate#readme
changelog-type: ''
hash: bfb8f77edf5397583cf5a4c3e61b65008c8bde200f6deca4422e0ff7916212e2
test-bench-deps:
base: -any
hspec: -any
animate: -any
vector: -any
maintainer: Joe Vargas
synopsis: Animation for sprites
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
vector: -any
all-versions:
- '0.0.0'
- '0.1.0'
author: ''
latest: '0.1.0'
description-type: markdown
description: ! '# animate
Animation for sprites
'
license-name: BSD3
|
Set PATH var during build to support VS 2015 | version: 1.3.{build}
os: Visual Studio 2015
configuration: Release
platform: Any CPU
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
cache:
- packages -> **\packages.config
before_build:
- nuget restore
build:
verbosity: minimal | version: 1.3.{build}
os: Visual Studio 2015
configuration: Release
platform: Any CPU
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
cache:
- packages -> **\packages.config
before_build:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
- nuget restore
build:
verbosity: minimal |
Remove redundant step to install Atom on Appveyor CI | version: "{build}"
os: Windows Server 2012 R2
install:
- choco install atom -y
- cd %APPVEYOR_BUILD_FOLDER%
- npm install
build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- npm test
test: off
deploy: off
| version: "{build}"
os: Windows Server 2012 R2
install:
- cd %APPVEYOR_BUILD_FOLDER%
- npm install
build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- npm test
test: off
deploy: off
|
Remove node@0.11 from Windows builds | # Thanks for Grunt for template of this file!
# http://www.appveyor.com/docs/appveyor-yml
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "0.10"
- nodejs_version: "0.11"
# Allow failing jobs for bleeding-edge Node.js versions.
matrix:
allow_failures:
- nodejs_version: "0.11"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node 0.STABLE.latest
- ps: Install-Product node $env:nodejs_version
# Install subversion
- choco install svn
# Install bower
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
- cmd: npm test
# Don't actually build.
build: off
# Set build version format here instead of in the admin panel.
version: "{build}"
| # Thanks for Grunt for template of this file!
# http://www.appveyor.com/docs/appveyor-yml
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "0.10"
# - nodejs_version: "0.11"
# Allow failing jobs for bleeding-edge Node.js versions.
matrix:
allow_failures:
- nodejs_version: "0.11"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node 0.STABLE.latest
- ps: Install-Product node $env:nodejs_version
# Install subversion
- choco install svn
# Install bower
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
- cmd: npm test
# Don't actually build.
build: off
# Set build version format here instead of in the admin panel.
version: "{build}"
|
Update Pix-Art Messenger to 2.1.3 (246) | Categories:
- Internet
License: GPL-3.0-only
AuthorName: Christian Schneppe
SourceCode: https://github.com/kriztan/Pix-Art-Messenger
IssueTracker: https://github.com/kriztan/Pix-Art-Messenger/issues
Changelog: https://github.com/kriztan/Pix-Art-Messenger/blob/HEAD/CHANGELOG.md
AutoName: Pix-Art Messenger
RepoType: git
Repo: https://github.com/kriztan/Pix-Art-Messenger
Builds:
- versionName: 2.0.2
versionCode: 233
commit: 2.0.2
gradle:
- standard
- versionName: 2.1.0 (beta 2018-07-15)
versionCode: 237
commit: 2.1.0.3
gradle:
- standard
- versionName: 2.1.0
versionCode: 238
commit: 2.1.0
gradle:
- standard
- versionName: 2.1.1
versionCode: 243
commit: 2.1.1
gradle:
- standard
- versionName: 2.1.2
versionCode: 244
commit: 2.1.2
gradle:
- standard
AutoUpdateMode: Version %v
UpdateCheckMode: Tags ^[0-9.]+$
CurrentVersion: 2.1.2
CurrentVersionCode: 244
| Categories:
- Internet
License: GPL-3.0-only
AuthorName: Christian Schneppe
SourceCode: https://github.com/kriztan/Pix-Art-Messenger
IssueTracker: https://github.com/kriztan/Pix-Art-Messenger/issues
Changelog: https://github.com/kriztan/Pix-Art-Messenger/blob/HEAD/CHANGELOG.md
AutoName: Pix-Art Messenger
RepoType: git
Repo: https://github.com/kriztan/Pix-Art-Messenger
Builds:
- versionName: 2.0.2
versionCode: 233
commit: 2.0.2
gradle:
- standard
- versionName: 2.1.0 (beta 2018-07-15)
versionCode: 237
commit: 2.1.0.3
gradle:
- standard
- versionName: 2.1.0
versionCode: 238
commit: 2.1.0
gradle:
- standard
- versionName: 2.1.1
versionCode: 243
commit: 2.1.1
gradle:
- standard
- versionName: 2.1.2
versionCode: 244
commit: 2.1.2
gradle:
- standard
- versionName: 2.1.3
versionCode: 246
commit: 2.1.3
gradle:
- standard
AutoUpdateMode: Version %v
UpdateCheckMode: Tags ^[0-9.]+$
CurrentVersion: 2.1.3
CurrentVersionCode: 246
|
Fix one more case of deprecated `sudo` | ---
- name: Install MySQL
apt: name={{ item }} update_cache={{ update_apt_cache }} state=present
with_items:
- mysql-server
- mysql-client
- libmysqlclient-dev
tags: packages
- name: Install mysqlclient
pip: name=mysqlclient
tags: packages
- name: Ensure the MySQL service is running
service: name=mysql state=started enabled=yes
- name: update MySQL root password from the blank default
sudo: yes
mysql_user: name=root
host="{{ gear_db_host }}"
password="{{ mysql_root_password }}"
login_user=root
login_password="{{ mysql_root_password }}"
check_implicit_admin=yes
priv="*.*:ALL,GRANT"
- name: Ensure that gear database is created
become: yes
become_user: mysql
mysql_db: name={{ gear_db_name }}
login_user=root
login_password="{{ mysql_root_password }}"
state=present
- name: Ensure user has access to the database
become: yes
become_user: mysql
mysql_user: name={{ gear_db_user }}
password={{ gear_db_password }}
login_user=root
login_password="{{ mysql_root_password }}"
priv="*.*:ALL,GRANT"
state=present
| ---
- name: Install MySQL
apt: name={{ item }} update_cache={{ update_apt_cache }} state=present
with_items:
- mysql-server
- mysql-client
- libmysqlclient-dev
tags: packages
- name: Install mysqlclient
pip: name=mysqlclient
tags: packages
- name: Ensure the MySQL service is running
service: name=mysql state=started enabled=yes
- name: update MySQL root password from the blank default
become: yes
become_user: root
mysql_user: name=root
host="{{ gear_db_host }}"
password="{{ mysql_root_password }}"
login_user=root
login_password="{{ mysql_root_password }}"
check_implicit_admin=yes
priv="*.*:ALL,GRANT"
- name: Ensure that gear database is created
become: yes
become_user: mysql
mysql_db: name={{ gear_db_name }}
login_user=root
login_password="{{ mysql_root_password }}"
state=present
- name: Ensure user has access to the database
become: yes
become_user: mysql
mysql_user: name={{ gear_db_user }}
password={{ gear_db_password }}
login_user=root
login_password="{{ mysql_root_password }}"
priv="*.*:ALL,GRANT"
state=present
|
Reset file for local development | version: '2'
services:
bugzilla:
image: uneet/bugzilla
restart: on-failure
ports:
- 8081:80
environment:
SES_VERIFIED_SENDER: bugzilla.dev@unee-t.com
MYSQL_HOST: db.dev.unee-t.com
MYSQL_PORT: 3306
MYSQL_ROOT_PASSWORD: jai7Paib
MYSQL_DATABASE: bugzilla
MYSQL_USER: root
MYSQL_PASSWORD: jai7Paib
| version: '2'
services:
bugzilla:
image: uneet/bugzilla
restart: on-failure
ports:
- 8081:80
environment: # Setup by local .env file
SES_SMTP_USERNAME: ${SES_SMTP_USERNAME}
SES_SMTP_PASSWORD: ${SES_SMTP_PASSWORD}
SES_VERIFIED_SENDER: ${SES_VERIFIED_SENDER}
MYSQL_HOST: ${MYSQL_HOST}
MYSQL_PORT: ${MYSQL_PORT}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
depends_on:
- db
volumes:
- ./custom:/opt/bugzilla/template/en/custom
- ./skin:/opt/bugzilla/skins/contrib/skin
networks:
- network
db:
image: mariadb
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
volumes:
- ./mariadb:/var/lib/mysql
- ./sql:/docker-entrypoint-initdb.d
networks:
- network
adminer:
image: adminer
ports:
- 8082:8082
depends_on:
- db
networks:
- network
meteor:
image: ulexus/meteor
ports:
- "8080:80"
networks:
- network
environment:
- BUNDLE_URL=https://unee-t-media.s3-accelerate.amazonaws.com/2017-08-31/unee-t-fe.tar.gz
- ROOT_URL=http://local.unee-t.com
- BUGZILLA_URL=http://bugzilla
- BUGZILLA_ADMIN_KEY=I6zRu7bPak687rcIBCkNbFKblfRXPn2X3xgEFz99
- MONGO_URL=mongodb://mongo:27017/mydatabase
mongo:
image: mongo
ports:
- "27017:27017"
networks:
- network
networks:
network:
driver: bridge
|
Revert "replaced curl with get_url" | ---
- name: "Download wordpress"
become: yes
get_url: "url={{ storyteller_wp_file_url }}/{{ storyteller_wp_file }} dest=/srv/{{ storyteller_wp_file }} sha256sum='{{ storyteller_wp_sha256sum }}'"
- name: "Extract archive"
become: yes
unarchive: "src=/srv/{{ storyteller_wp_file }} dest=/srv copy=no creates=/srv/wordpress"
- name: "Detect if there is a wp-config file"
become: yes
stat: path=/srv/wordpress/wp-config.php
register: wp_config
- name: "Fetch salts for wordpress config"
command: get_url https://api.wordpress.org/secret-key/1.1/salt/
register: "wp_salt"
when: not wp_config.stat.exists
- name: "Copy Wordpress config"
become: yes
template: src=wp-config.php dest=/srv/wordpress/
when: not wp_config.stat.exists
- name: "Change ownership of Wordpress installation"
become: yes
file: path=/srv/wordpress/ owner=www-data group=www-data state=directory recurse=yes
| ---
- name: "Download wordpress"
become: yes
get_url: "url={{ storyteller_wp_file_url }}/{{ storyteller_wp_file }} dest=/srv/{{ storyteller_wp_file }} sha256sum='{{ storyteller_wp_sha256sum }}'"
- name: "Extract archive"
become: yes
unarchive: "src=/srv/{{ storyteller_wp_file }} dest=/srv copy=no creates=/srv/wordpress"
- name: "Detect if there is a wp-config file"
become: yes
stat: path=/srv/wordpress/wp-config.php
register: wp_config
- name: "Fetch salts for wordpress config"
command: curl https://api.wordpress.org/secret-key/1.1/salt/
register: "wp_salt"
when: not wp_config.stat.exists
- name: "Copy Wordpress config"
become: yes
template: src=wp-config.php dest=/srv/wordpress/
when: not wp_config.stat.exists
- name: "Change ownership of Wordpress installation"
become: yes
file: path=/srv/wordpress/ owner=www-data group=www-data state=directory recurse=yes
|
Add build with Java 7 on Linux | name: Continous build - build and test on every push
on: push
jobs:
build:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
java-version: [8, 11]
steps:
- name: Checkout
uses: actions/checkout@v1
with:
submodules: true
- name: Setup Java ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: Report Java version
run: |
java -version
javac -version
- name: Build with Ant
run: ant test
| name: Continous build - build and test on every push
on: push
jobs:
build:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
java-version: [8, 11]
steps:
- name: Checkout
uses: actions/checkout@v1
with:
submodules: true
- name: Setup Java ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: Report Java version
run: |
java -version
javac -version
- name: Build with Ant
run: ant test
build_j7:
name: Build and test on Java 7
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
submodules: true
- name: Setup Java 7
uses: actions/setup-java@v1
with:
java-version: 7
- name: Report Java version
run: |
java -version
javac -version
- name: Setup Moxie
run: |
wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
tar -xzf moxie+ant-0.9.4.tar.gz
moxie-0.9.4/bin/moxie -version
- name: Build with Moxie
run: moxie-0.9.4/bin/moxie
|
Remove regional holiday days. Add 2020 calculated days | working_days:
- monday
- tuesday
- wednesday
- thursday
- friday
holidays:
- January 1st, 2018
- January 2nd, 2018
- February 12th, 2018
- February 19th, 2018
- March 30th, 2018
- April 2nd, 2018
- May 21st, 2018
- June 21st, 2018
- June 25th, 2018
- July 2nd, 2018
- July 9th, 2018
- August 6th, 2018
- August 20th, 2018
- September 3rd, 2018
- October 8th, 2018
- November 12th, 2018
- December 25th, 2018
- December 26th, 2018
- January 1st, 2019
- January 2nd, 2019
- February 11th, 2019
- February 18th, 2019
- April 19th, 2019
- April 22nd, 2019
- May 20th, 2019
- June 21st, 2019
- June 24th, 2019
- July 1st, 2019
- July 9th, 2019
- August 5th, 2019
- August 19th, 2019
- September 2nd, 2019
- October 14th, 2019
- November 11th, 2019
- December 25th, 2019
- December 26th, 2019
| working_days:
- monday
- tuesday
- wednesday
- thursday
- friday
holidays:
- January 1st, 2018
- March 30th, 2018
- May 21st, 2018
- July 2nd, 2018
- September 3rd, 2018
- October 8th, 2018
- November 12th, 2018
- December 25th, 2018
- December 26th, 2018
- January 1st, 2019
- April 19th, 2019
- May 20th, 2019
- July 1st, 2019
- September 2nd, 2019
- October 14th, 2019
- November 11th, 2019
- December 25th, 2019
- December 26th, 2019
- January 1st, 2020 |
Update circleci/python:3.7.0 Docker digest to dec5ac | # Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/python:3.7.0@sha256:ce542ad74740970bbe42c8056f59e58f2c4dfa43b9f90b455319581fc990a02c
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
python setup.py dev_persistent_pip_sync
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }}
- run:
name: run tests
command: |
. venv/bin/activate
flake8 bamboo_crawler tests
export AWS_ACCESS_KEY_ID=''
export AWS_SECRET_ACCESS_KEY=''
python setup.py test
- store_artifacts:
path: test-reports
destination: test-reports
| # Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/python:3.7.0@sha256:dec5ac94030a5c343c81b021ca5c68cfcd36895d49b9a1960ba714ef11892799
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
python setup.py dev_persistent_pip_sync
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }}
- run:
name: run tests
command: |
. venv/bin/activate
flake8 bamboo_crawler tests
export AWS_ACCESS_KEY_ID=''
export AWS_SECRET_ACCESS_KEY=''
python setup.py test
- store_artifacts:
path: test-reports
destination: test-reports
|
Update nodejs to LTS version | version: 2
jobs:
build:
working_directory: ~/mern-starter # directory where steps will run
docker: # run the steps with Docker
- image: circleci/node:10.14
steps:
- checkout
- run:
name: update-npm
command: 'sudo npm install -g npm@latest'
- run:
name: update-apt-get
command: 'sudo apt-get update'
- run:
name: install-xmlsec1
command: 'sudo apt-get install xmlsec1'
- restore_cache: # special step to restore the dependency cache
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install-deps
command: npm install
- save_cache: # special step to save the dependency cache
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run: # run tests with code coverage
name: test-code-coverage
command: npm run coverage
- run: # run coveralls report
name: test-report-coveralls
command: npm run coveralls
| version: 2
jobs:
build:
working_directory: ~/mern-starter # directory where steps will run
docker: # run the steps with Docker
- image: circleci/node:16.13
steps:
- checkout
- run:
name: update-npm
command: 'sudo npm install -g npm@latest'
- run:
name: update-apt-get
command: 'sudo apt-get update'
- run:
name: install-xmlsec1
command: 'sudo apt-get install xmlsec1'
- restore_cache: # special step to restore the dependency cache
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install-deps
command: npm install
- save_cache: # special step to save the dependency cache
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run: # run tests with code coverage
name: test-code-coverage
command: npm run coverage
- run: # run coveralls report
name: test-report-coveralls
command: npm run coveralls
|
Make it easy to upgrade go | ---
- name: Install Go
unarchive:
src: "https://storage.googleapis.com/golang/go{{ go_version }}.darwin-amd64.tar.gz"
dest: /usr/local
copy: no
creates: /usr/local/go/VERSION
tags:
- go
| ---
- name: Checking installed version of go
command: cat /usr/local/go/VERSION
register: current_go_version
ignore_errors: yes
tags:
- go
- name: Remove old version of Go
file:
path: /usr/local/go
state: absent
when: not "go{{ go_version }}" == current_go_version.stdout
tags:
- go
- name: Install Go
unarchive:
src: "https://storage.googleapis.com/golang/go{{ go_version }}.darwin-amd64.tar.gz"
dest: /usr/local
copy: no
creates: /usr/local/go/VERSION
when: not "go{{ go_version }}" == current_go_version.stdout
tags:
- go
|
Update Monochromatic to 0.3.1 (4) | Categories:
- Graphics
- Reading
- Theming
License: Apache-2.0
SourceCode: https://github.com/RichyHBM/Monochromatic
IssueTracker: https://github.com/RichyHBM/Monochromatic/issues
AutoName: Monochromatic
Summary: Enable the built-in black and white mode
Description: |-
This app makes use of the built-in black and white device feature to provide
a blue-light filtered screen without the use of an overlay screen, to help
relax your eyes at night and disincentivise phone usage.
RepoType: git
Repo: https://github.com/RichyHBM/Monochromatic
Builds:
- versionName: '0.2'
versionCode: 1
commit: v0.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '0.2'
CurrentVersionCode: 1
| Categories:
- Graphics
- Reading
- Theming
License: Apache-2.0
SourceCode: https://github.com/RichyHBM/Monochromatic
IssueTracker: https://github.com/RichyHBM/Monochromatic/issues
AutoName: Monochromatic
Summary: Enable the built-in black and white mode
Description: |-
This app makes use of the built-in black and white device feature to provide
a blue-light filtered screen without the use of an overlay screen, to help
relax your eyes at night and disincentivise phone usage.
RepoType: git
Repo: https://github.com/RichyHBM/Monochromatic
Builds:
- versionName: '0.2'
versionCode: 1
commit: v0.2
subdir: app
gradle:
- yes
- versionName: 0.3.1
versionCode: 4
commit: v0.3.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.3.1
CurrentVersionCode: 4
|
Enable docker on service-apis jobs | presubmits:
kubernetes-sigs/service-apis:
- name: pull-service-apis-build
annotations:
testgrid-dashboards: sig-network-service-apis
testgrid-tab-name: build
decorate: true
path_alias: sigs.k8s.io/service-apis
always_run: true
skip_report: false
spec:
containers:
- image: golang:1.13
command:
- make
| presubmits:
kubernetes-sigs/service-apis:
- name: pull-service-apis-build
annotations:
testgrid-dashboards: sig-network-service-apis
testgrid-tab-name: build
labels:
preset-dind-enabled: "true"
decorate: true
path_alias: sigs.k8s.io/service-apis
always_run: true
skip_report: false
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20191017-ac4b4b5-master
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
- runner.sh
args:
- make
# docker-in-docker needs privileged mode
securityContext:
privileged: true
|
Update from Hackage at 2017-01-21T00:05:06Z | homepage: https://github.com/nbrk/hashflare
changelog-type: ''
hash: a6f690f635b12064b1176286f46e129a99d2b6707e54460ea9a6edb6fd969606
test-bench-deps: {}
maintainer: nbrk@linklevel.net
synopsis: A library for working with HashFlare.io contracts and hashrates
changelog: ''
basic-deps:
base: ! '>=4.8 && <4.9'
simple-money: ! '>=0.2.0.0'
containers: ! '>=0.5 && <0.6'
all-versions:
- '0.1.0.0'
author: Nikolay Burkov
latest: '0.1.0.0'
description-type: haddock
description: ! 'Library that models HashFlare.io cloud mining service''s accounts,
contracts
and mining hashrates. Simple linear projections of the account''s balance
(increase in profits over time) can be easily modelled by provided combinators.'
license-name: BSD2
| homepage: ''
changelog-type: ''
hash: accd8a66c743cbd6580182c1a85916dd6422d67a1587b7e2927849cd53e38f9a
test-bench-deps: {}
maintainer: nbrk@linklevel.net
synopsis: A library for working with HashFlare.io contracts and hashrates
changelog: ''
basic-deps:
base: ! '>=4.8 && <5.1'
simple-money: ! '>=0.2.0.0'
containers: ! '>=0.5 && <0.6'
all-versions:
- '0.1.0.0'
author: Nikolay Burkov
latest: '0.1.0.0'
description-type: haddock
description: ! 'Library that models HashFlare.io cloud mining service''s accounts,
contracts
and mining hashrates. Simple linear projections of the account''s balance
(increase in profits over time) can be easily modelled by provided combinators.'
license-name: BSD2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.