Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add Rubinius to Travis build | language: ruby
cache: bundler
rvm:
- 2.2.5
- 2.3.1
- ruby-head
script: bundle exec rspec
before_install:
- gem update bundler
| language: ruby
cache: bundler
rvm:
- 2.2.5
- 2.3.1
- ruby-head
- rbx-3.42
script: bundle exec rspec
before_install:
- gem update bundler
|
Add baseurl to fix relative links | # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Your awesome title
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
google_analytics: UA-88641107-1
twitter_username: jekyllrb
github_username: jekyll
# Build settings
markdown: kramdown
theme: minima
gems:
- jekyll-feed
exclude:
- Gemfile
- Gemfile.lock
| # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Your awesome title
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "/analyticalmetlx" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
google_analytics: UA-88641107-1
twitter_username: jekyllrb
github_username: jekyll
# Build settings
markdown: kramdown
theme: minima
gems:
- jekyll-feed
exclude:
- Gemfile
- Gemfile.lock
|
Update tests and add Ohio region | global:
marketplace-ami: false
owner: quickstart-eng@amazon.com
qsname: quickstart-informatica-bdm
regions:
- ap-northeast-1
- ap-northeast-2
- ap-south-1
- ap-southeast-1
- ap-southeast-2
- eu-central-1
- eu-west-1
- sa-east-1
- us-east-1
- us-west-1
- us-west-2
reporting: true
tests:
quickstart-informatica-bdmt1:
parameter_input: quickstart-informatica-bdm-example-params1.json
template_file: quickstart-informatica-bdm-example1.template
quickstart-informatica-bdmt2:
parameter_input: quickstart-informatica-bdm-example-params2.json
template_file: quickstart-informatica-bdm-example2.template
| global:
marketplace-ami: true
owner: quickstart-eng@amazon.com
qsname: quickstart-informatica-bdm
regions:
- ap-northeast-1
- ap-northeast-2
- ap-south-1
- ap-southeast-1
- ap-southeast-2
- eu-central-1
- eu-west-1
- sa-east-1
- us-east-1
- us-east-2
- us-west-1
- us-west-2
reporting: true
tests:
master:
parameter_input: informatica-bdm-master.json
template_file: informatica-bdm-master.template
|
Correct format for nginx_conf defaults example dictionary. | ---
nginx_real_ip: 127.0.0.1
nginx_papertrail_follow:
- /var/log/drupal.log
- /var/log/nginx/http-*error.log
apps:
- server_name: www.test.com
server_aliases: bob.com
server_forwards: test.com
http_port: 8080
docroot: /var/www/test.com/current
- server_name: test2.com
server_aliases: www.example35.com www.example53.com
http_port: 8080
docroot: /var/www/test2.com/current
papertrail_enabled: False
# Default distribution CentOS 7
distro: "centos7"
nginx_conf:
- client_header_timeout: 10
- client_body_timeout: 120
- send_timeout: 120
- keepalive_timeout: "15 10"
- client_max_body_size: 100M
- client_body_buffer_size: 128k
- proxy_read_timeout: 60
| ---
nginx_real_ip: 127.0.0.1
nginx_papertrail_follow:
- /var/log/drupal.log
- /var/log/nginx/http-*error.log
apps:
- server_name: www.test.com
server_aliases: bob.com
server_forwards: test.com
http_port: 8080
docroot: /var/www/test.com/current
- server_name: test2.com
server_aliases: www.example35.com www.example53.com
http_port: 8080
docroot: /var/www/test2.com/current
papertrail_enabled: False
# Default distribution CentOS 7
distro: "centos7"
nginx_conf:
client_header_timeout: 10
client_body_timeout: 120
send_timeout: 120
keepalive_timeout: "15 10"
client_max_body_size: 100M
client_body_buffer_size: 128k
proxy_read_timeout: 60
|
Change role name and network br variable | - name: kvm_cloud_init_vm playbook
gather_facts: false
hosts: localhost
tasks:
- import_role:
name: ansible-role-kvm-cloud-init-vm
vars:
kvm_vm_pool_dir: /home/jooho/KVM
vm_data_dir: /home/jooho/kvm/vms
vm_network_br: okd_virbr0 | - name: kvm_cloud_init_vm playbook
gather_facts: false
hosts: localhost
tasks:
- import_role:
name: Jooho.kvm-cloud-init-vm
vars:
kvm_vm_pool_dir: /home/jooho/KVM
vm_data_dir: /home/jooho/kvm/vms
vm_network_br: okd |
Update BikeComputer to 1.2 (3) | Categories:
- Navigation
- Sports & Health
License: GPL-3.0-only
SourceCode: https://gitlab.com/Nulide/BikeComputer
IssueTracker: https://gitlab.com/Nulide/BikeComputer/-/issues
AutoName: BikeComputer
RepoType: git
Repo: https://gitlab.com/Nulide/BikeComputer
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
gradle:
- yes
- versionName: '1.1'
versionCode: 2
commit: v1.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.1'
CurrentVersionCode: 2
| Categories:
- Navigation
- Sports & Health
License: GPL-3.0-only
SourceCode: https://gitlab.com/Nulide/BikeComputer
IssueTracker: https://gitlab.com/Nulide/BikeComputer/-/issues
AutoName: BikeComputer
RepoType: git
Repo: https://gitlab.com/Nulide/BikeComputer
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
gradle:
- yes
- versionName: '1.1'
versionCode: 2
commit: v1.1
subdir: app
gradle:
- yes
- versionName: '1.2'
versionCode: 3
commit: v1.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.2'
CurrentVersionCode: 3
|
Update from Hackage at 2017-04-22T05:30:40Z | homepage: ''
changelog-type: ''
hash: b41b9dd5e76b96b2db64889228cf4f023e5da09976dd0b3e435e7a44356cdeb1
test-bench-deps:
base: ==4.*
hspec: ! '>=2.2.0 && <3.0'
text: ! '>=1.0 && <2'
peregrin: -any
resource-pool: ! '>=0.2.1 && <0.3'
postgresql-simple: ! '>=0.5.2.1 && <0.6'
transformers: ! '>=0.5.2 && <0.6'
pg-harness-client: ! '>=0.4.0 && <0.5.0'
maintainer: Bardur Arantsson <bardur@scientician.net>
synopsis: Database migration support for use in other libraries.
changelog: ''
basic-deps:
base: ! '>=4.9 && <5'
text: ! '>=1.1.0 && <2'
postgresql-simple: ! '>=0.5.2.1 && <0.6'
all-versions:
- '0.1.0'
author: Bardur Arantsson
latest: '0.1.0'
description-type: haddock
description: ! 'Database migration support for use in other libraries.
Currently only supports PostgreSQL.'
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 97df0ac1477ad02536d8b7afa0a1e79adbce555299884c59a523bcbfae8decda
test-bench-deps:
base: ==4.*
hspec: ! '>=2.2.0 && <3.0'
text: ! '>=1.0 && <2'
peregrin: -any
resource-pool: ! '>=0.2.1 && <0.3'
postgresql-simple: ! '>=0.5.2.1 && <0.6'
transformers: ! '>=0.5.2 && <0.6'
pg-harness-client: ! '>=0.4.0 && <0.5.0'
maintainer: Bardur Arantsson <bardur@scientician.net>
synopsis: Database migration support for use in other libraries.
changelog: ''
basic-deps:
base: ! '>=4.9 && <5'
text: ! '>=1.1.0 && <2'
postgresql-simple: ! '>=0.5.2.1 && <0.6'
all-versions:
- '0.1.0'
- '0.1.1'
author: Bardur Arantsson
latest: '0.1.1'
description-type: haddock
description: ! 'Database migration support for use in other libraries.
Currently only supports PostgreSQL.'
license-name: MIT
|
Make package noarch [skip travis][skip appveyor] | {% set name = "asyncqt" %}
{% set version = "0.7.0" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 8b1507c968c85cf0b7eee5d2a887162d38af15fb8c5b1ec25beed6025d7383ac
build:
skip: True # [py<35]
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "
requirements:
host:
- pip
- python
- setuptools
run:
- python
run_constrained:
- pyside2
- pyqt >=5
test:
requires:
- pyqt
imports:
- asyncqt
about:
home: https://github.com/gmarull/asyncqt
license: BSD
license_family: BSD
license_file: LICENSE
summary: Implementation of the PEP 3156 Event-Loop with Qt.
extra:
recipe-maintainers:
- nicoddemus
| {% set name = "asyncqt" %}
{% set version = "0.7.0" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 8b1507c968c85cf0b7eee5d2a887162d38af15fb8c5b1ec25beed6025d7383ac
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "
requirements:
host:
- pip
- python >=3.5
- setuptools
run:
- python >=3.5
run_constrained:
- pyside2
- pyqt >=5
test:
requires:
- pyqt
imports:
- asyncqt
about:
home: https://github.com/gmarull/asyncqt
license: BSD
license_family: BSD
license_file: LICENSE
summary: Implementation of the PEP 3156 Event-Loop with Qt.
extra:
recipe-maintainers:
- nicoddemus
|
Update Kotatsu to 1.1.2 (367) | AntiFeatures:
- NonFreeNet
Categories:
- Reading
- Multimedia
License: GPL-3.0-or-later
AuthorName: Koitharu
SourceCode: https://github.com/nv95/Kotatsu
IssueTracker: https://github.com/nv95/Kotatsu/issues
Name: Kotatsu
AutoName: Kotatsu
RepoType: git
Repo: https://github.com/nv95/Kotatsu.git
Builds:
- versionName: 1.0.1
versionCode: 364
commit: v1.0.1
subdir: app
gradle:
- yes
- versionName: 1.1.1
versionCode: 366
commit: bbd43b51e37b84474e122c5049e2538b2de8e396
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags ^v[0-9.]+$
CurrentVersion: 1.1.1
CurrentVersionCode: 366
| AntiFeatures:
- NonFreeNet
Categories:
- Reading
- Multimedia
License: GPL-3.0-or-later
AuthorName: Koitharu
SourceCode: https://github.com/nv95/Kotatsu
IssueTracker: https://github.com/nv95/Kotatsu/issues
Name: Kotatsu
AutoName: Kotatsu
RepoType: git
Repo: https://github.com/nv95/Kotatsu.git
Builds:
- versionName: 1.0.1
versionCode: 364
commit: v1.0.1
subdir: app
gradle:
- yes
- versionName: 1.1.1
versionCode: 366
commit: bbd43b51e37b84474e122c5049e2538b2de8e396
subdir: app
gradle:
- yes
- versionName: 1.1.2
versionCode: 367
commit: fae958f6efc993744b385d11854a67f0496c3fe8
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags ^v[0-9.]+$
CurrentVersion: 1.1.2
CurrentVersionCode: 367
|
Add creation of default directory for RedHat systems | ---
- name: Set the SGE qmaster node
action: copy dest={{SGE_ROOT}}/default/common/act_qmaster content={{sge_server_name}}
notify:
- restart {{EXEC_SERVICE}}
| ---
- name: create default directories
file: path={{SGE_ROOT}}/default/common/ state=directory
when: ansible_os_family == "RedHat"
- name: Set the SGE qmaster node
action: copy dest={{SGE_ROOT}}/default/common/act_qmaster content={{sge_server_name}}
notify:
- restart {{EXEC_SERVICE}}
|
Update from Hackage at 2018-05-30T05:57:41Z | homepage: https://github.com/nikita-volkov/rerebase
changelog-type: ''
hash: 51e84d66d7e0b8c20a12da651870be1474f8bcd9e1a6e7c3249a05bcf21732d9
test-bench-deps: {}
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
synopsis: Reexports from "base" with a bunch of other standard libraries
changelog: ''
basic-deps:
rebase: ! '>=1.2.2 && <1.3'
all-versions:
- '1'
- '1.0.1'
- '1.0.1.1'
- '1.0.2'
- '1.0.3'
- '1.1'
- '1.1.1'
- '1.1.2'
- '1.2'
- '1.2.1'
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: '1.2.1'
description-type: haddock
description: ! 'A rich drop-in replacement for \"base\".
For details and docs please visit
<https://github.com/nikita-volkov/rerebase the project''s GitHub page>.'
license-name: MIT
| homepage: https://github.com/nikita-volkov/rerebase
changelog-type: ''
hash: 669c88483ec7d7a307921d35a62c02122987b52d5ee995141c2040f1b2942dc4
test-bench-deps: {}
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
synopsis: Reexports from "base" with a bunch of other standard libraries
changelog: ''
basic-deps:
rebase: ==1.2.4
all-versions:
- '1'
- '1.0.1'
- '1.0.1.1'
- '1.0.2'
- '1.0.3'
- '1.1'
- '1.1.1'
- '1.1.2'
- '1.2'
- '1.2.1'
- '1.2.2'
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: '1.2.2'
description-type: haddock
description: ! 'A rich drop-in replacement for \"base\".
For details and docs please visit
<https://github.com/nikita-volkov/rerebase the project''s GitHub page>.'
license-name: MIT
|
Create .ssh directory during build | stages:
- build
- deploy
image: alpine:latest
build:dev:
stage: build
except:
- release
- master
- /^release-.*$/
script:
- apk update
- apk add nodejs nodejs-npm git
- npm install
- npm install cli/
- npm run-script build
artifacts:
paths:
- build/
expire_in: 1 month
build:release:
stage: build
script:
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- apk update
- apk add git
- git remote -v
- echo git@${CI_SERVER_NAME}:${CI_PROJECT_PATH_SLUG}
- git remote set-url origin git@${CI_SERVER_NAME}:${CI_PROJECT_PATH_SLUG}
- git checkout -b release-test
- git push --set-upstream origin release-test
- echo 'test' > test.txt
- git add test.txt
- git commit -m 'Add test.txt'
- git push
- echo "Done"
deploy:dev:
stage: deploy
only:
- develop
variables:
GIT_STRATEGY: none
dependencies: []
script:
- apk update
- apk add curl
- curl -X POST -F token=$TURNIERE_TUVERO_TOKEN -F ref=develop http://server.local/api/v4/projects/1/trigger/pipeline
| stages:
- build
- deploy
image: alpine:latest
build:dev:
stage: build
except:
- release
- master
- /^release-.*$/
script:
- apk update
- apk add nodejs nodejs-npm git
- npm install
- npm install cli/
- npm run-script build
artifacts:
paths:
- build/
expire_in: 1 month
build:release:
stage: build
script:
- mkdir -p ~/.ssh/
- chmod 700 ~/.ssh/
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- apk update
- apk add git
- git remote -v
- echo git@${CI_SERVER_NAME}:${CI_PROJECT_PATH_SLUG}
- git remote set-url origin git@${CI_SERVER_NAME}:${CI_PROJECT_PATH_SLUG}
- git checkout -b release-test
- git push --set-upstream origin release-test
- echo 'test' > test.txt
- git add test.txt
- git commit -m 'Add test.txt'
- git push
- echo "Done"
deploy:dev:
stage: deploy
only:
- develop
variables:
GIT_STRATEGY: none
dependencies: []
script:
- apk update
- apk add curl
- curl -X POST -F token=$TURNIERE_TUVERO_TOKEN -F ref=develop http://server.local/api/v4/projects/1/trigger/pipeline
|
Test Rackstash against Rails 4.2.0 instead of 4.0.0 | language: ruby
cache: bundler
sudo: false
rvm:
- 1.8.7
- 2.0.0
- 2.1.0
- jruby-18mode
- jruby-19mode
- rbx-2
env:
- RACK_VERSION=1.4.1
- RAILS_VERSION=2.3.15
- RAILS_VERSION=3.2.0
- RAILS_VERSION=4.0.0
before_install:
- '[ "$TRAVIS_RUBY_VERSION" = "2.1.0" ] && gem install bundler -v ">= 1.5.1" --conservative || true'
matrix:
exclude:
- rvm: 1.8.7
env: RAILS_VERSION=4.0.0
- rvm: jruby-18mode
env: RAILS_VERSION=4.0.0
| language: ruby
cache: bundler
sudo: false
rvm:
- 1.8.7
- 2.0.0
- 2.1.0
- jruby-18mode
- jruby-19mode
- rbx-2
env:
- RACK_VERSION=1.4.1
- RAILS_VERSION=2.3.15
- RAILS_VERSION=3.2.0
- RAILS_VERSION=4.2.0
before_install:
- '[ "$TRAVIS_RUBY_VERSION" = "2.1.0" ] && gem install bundler -v ">= 1.5.1" --conservative || true'
matrix:
exclude:
- rvm: 1.8.7
env: RAILS_VERSION=4.2.0
- rvm: jruby-18mode
env: RAILS_VERSION=4.2.0
|
Put automatic GitHub releases in the draft state | sudo: false
language: python
python: 3.6
cache: pip
before_install: pip install flit
install: flit install --deps production --extras test
script: pytest -m offline
jobs:
include:
- python: 2.7
before_install:
- sudo apt-get -y install python3-pip python3-setuptools
- sudo pip3 install flit
install: flit install --python python --deps production --extras test
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7
dist: xenial
sudo: required
- python: pypy
- stage: deploy
name: Github Releases
if: tag IS present
install: skip
script: flit build
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true
- stage: deploy
name: PyPI
if: tag IS present
install: skip
script: skip
deploy:
provider: script
script: flit publish
on:
tags: true
| sudo: false
language: python
python: 3.6
cache: pip
before_install: pip install flit
install: flit install --deps production --extras test
script: pytest -m offline
jobs:
include:
- python: 2.7
before_install:
- sudo apt-get -y install python3-pip python3-setuptools
- sudo pip3 install flit
install: flit install --python python --deps production --extras test
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7
dist: xenial
sudo: required
- python: pypy
- stage: deploy
name: Github Releases
if: tag IS present
install: skip
script: flit build
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file_glob: true
file: dist/*
skip_cleanup: true
draft: true
on:
tags: true
- stage: deploy
name: PyPI
if: tag IS present
install: skip
script: skip
deploy:
provider: script
script: flit publish
on:
tags: true
|
Test multiple versions of ruby. | os:
- osx
language: ruby
rvm:
- 2.2.1
before_install: gem install bundler -v 1.10.6
cache: bundler
| language: ruby
rvm:
- 2.0.0
- 2.1.6
- 2.2.2
before_install: gem install bundler -v 1.10.6
cache: bundler
|
Fix apt-get failed on Travis CI | language: python
python:
- "2.7"
before_install: "apt-get install ppp"
install: "pip install ."
| language: python
python:
- "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y ppp
install: "pip install ."
|
Update osx_image to xcode9 for passing CI check | language: objective-c
os: osx
osx_image: xcode8
xcode_project: Progress.swift/Progress.swift.xcodeproj
xcode_scheme: Progress.swift
script:
- set -o pipefail && xcodebuild -project Progress.swift/Progress.swift.xcodeproj -scheme Progress.swift -enableCodeCoverage YES clean build test | xcpretty
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: objective-c
os: osx
osx_image: xcode9
xcode_project: Progress.swift/Progress.swift.xcodeproj
xcode_scheme: Progress.swift
script:
- set -o pipefail && xcodebuild -project Progress.swift/Progress.swift.xcodeproj -scheme Progress.swift -enableCodeCoverage YES clean build test | xcpretty
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Add Jig to the pip install | language: python
python:
- 2.6
- 2.7
install: "pip install -r requirements.txt --use-mirrors"
script: "python script/test"
| language: python
python:
- 2.6
- 2.7
install:
- "pip install -r requirements.txt --use-mirrors"
- "pip install -e ."
script: "python script/test"
|
Install g++ 4.8 so that native compilation works in Node >= 4 | language: node_js
sudo: false
node_js:
- '0.12'
- '4'
- '5'
before_install:
# Log HTTP requests
- npm config set loglevel http
install:
- time npm install
| language: node_js
sudo: false
node_js:
- '0.12'
- '4'
- '5'
env:
global:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
# Log HTTP requests
- npm config set loglevel http
install:
- time npm install
|
Add later PHP versions to Travis CI build | language: php
sudo: false
php:
- 5.3
- 5.5
before_script:
- if [[ $TRAVIS_PHP_VERSION = '5.5' ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else PHPUNIT_FLAGS=""; fi
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
script:
- phpunit -v $PHPUNIT_FLAGS
after_script:
- if [[ $TRAVIS_PHP_VERSION = '5.5' ]]; then php vendor/bin/coveralls -v; fi
| language: php
sudo: false
php:
- 5.3
- 5.5
- 5.6
- 7.0
- 7.1
before_script:
- if [[ $TRAVIS_PHP_VERSION = '5.6' ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else PHPUNIT_FLAGS=""; fi
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
script:
- phpunit -v $PHPUNIT_FLAGS
after_script:
- if [[ $TRAVIS_PHP_VERSION = '5.6' ]]; then php vendor/bin/coveralls -v; fi
|
Drop ruby < 2.3 support | sudo: false
language: ruby
install: gem install minitest timecop coveralls
rvm:
- 2.0.0
- 2.1.9
- 2.2.8
- 2.3.5
- 2.4.2
- 2.5.0
script: rake test
| sudo: false
language: ruby
install: gem install minitest timecop coveralls
rvm:
- 2.3.5
- 2.4.2
- 2.5.1
script: rake test
|
Update repo if initial pod install fails | language: objective-c
cache: cocoapods
#before_install:
#- pod repo --silent update
xcode_workspace: Swindler.xcworkspace
xcode_scheme: Swindler
script: xcodebuild -workspace Swindler.xcworkspace -scheme Swindler build test
| language: objective-c
cache: cocoapods
install: pod install || pod install --repo-update
xcode_workspace: Swindler.xcworkspace
xcode_scheme: Swindler
script: xcodebuild -workspace Swindler.xcworkspace -scheme Swindler build test
|
Test on 2.1 as well | rvm:
- 1.9.2
- 1.9.3
- 2.0.0
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sudo apt-get install wkhtmltopdf"
| rvm:
- 1.9.2
- 1.9.3
- 2.0
- 2.1
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sudo apt-get install wkhtmltopdf"
|
Add slack notifications for builds | language: [ ruby, node_js ]
rvm: [ 2.2.0 ]
node_js: [ 0.12 ]
cache:
bundler: true
directories:
- bower_components
sudo: false
before_script:
- npm install -g bower grunt
- npm install
- grunt uglify
- grunt imagemin
before_install:
- 'echo ''gem: --no-document'' > ~/.gemrc'
script: bundle exec rake travis
after_script:
- bundle exec rake notify
branches:
only:
- source
env:
- secure: WlT3lKOCG5GwAWDB2vZ756isJv4ShBKTVlxzvfEoObGB744HOet5YXBDQDN5HM9KkvjpLc3oeJDi1PWFd7zF53Rnd0/Cjwo9yfpMlSGF5EazwrTq9j91hsIHHJyi1jkQ6dvlPT/9YkUnNmNPd0TYHveE16v7kl3mHab35BcTYIQ=
| language: [ ruby, node_js ]
rvm: [ 2.2.0 ]
node_js: [ 0.12 ]
cache:
bundler: true
directories:
- bower_components
sudo: false
before_script:
- npm install -g bower grunt
- npm install
- grunt uglify
- grunt imagemin
before_install:
- 'echo ''gem: --no-document'' > ~/.gemrc'
script: bundle exec rake travis
after_script:
- bundle exec rake notify
branches:
only:
- source
env:
- secure: WlT3lKOCG5GwAWDB2vZ756isJv4ShBKTVlxzvfEoObGB744HOet5YXBDQDN5HM9KkvjpLc3oeJDi1PWFd7zF53Rnd0/Cjwo9yfpMlSGF5EazwrTq9j91hsIHHJyi1jkQ6dvlPT/9YkUnNmNPd0TYHveE16v7kl3mHab35BcTYIQ=
notifications:
slack: utopianconcept:SXa8SPgJ7VtpTKuJILHJtuhL
|
Replace composer update command with composer install | # This file is part of the Kreta package.
#
# (c) Beñat Espiña <benatespina@gmail.com>
# (c) Gorka Laucirica <gorka.lauzirika@gmail.com>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
addons:
hosts:
- kreta.test
language: php
php:
- 7.0
env:
- COMPOSER_OPTIONS="--prefer-source"
install:
- composer self-update
- composer update --no-interaction ${COMPOSER_OPTIONS}
before_script:
- export SYMFONY_ENV=test
- TaskManager/src/Infrastructure/Ui/Cli/Symfony/console server:start kreta.test:8001 --router=TaskManager/src/Infrastructure/Ui/Http/Symfony/public/app.php --docroot=TaskManager/src/Infrastructure/Ui/Http/Symfony/public
- sleep 5
script:
- vendor/bin/phpspec run
cache:
directories:
- $COMPOSER_CACHE_DIR
matrix:
fast_finish: true
| # This file is part of the Kreta package.
#
# (c) Beñat Espiña <benatespina@gmail.com>
# (c) Gorka Laucirica <gorka.lauzirika@gmail.com>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
addons:
hosts:
- kreta.test
language: php
php:
- 7.0
env:
- COMPOSER_OPTIONS="--prefer-source"
install:
- composer self-update
- composer install --no-interaction ${COMPOSER_OPTIONS}
before_script:
- export SYMFONY_ENV=test
- TaskManager/src/Infrastructure/Ui/Cli/Symfony/console server:start kreta.test:8001 --router=TaskManager/src/Infrastructure/Ui/Http/Symfony/public/app.php --docroot=TaskManager/src/Infrastructure/Ui/Http/Symfony/public
- sleep 5
script:
- vendor/bin/phpspec run
cache:
directories:
- $COMPOSER_CACHE_DIR
matrix:
fast_finish: true
|
Change Travis CI config to use GCC 4.8. |
language: cpp
compiler:
- clang
- gcc
script: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} && make && cd build/tests && { [[ ${BUILD_TYPE} != "Debug" ]] || ctest --output-on-failure -j4; }
branches:
only:
- master
env:
- BUILD_TYPE=Release CXXFLAGS=-Werror
- BUILD_TYPE=Debug CXXFLAGS=-Werror
|
language: cpp
compiler:
- clang
- gcc
# These install GCC 4.8 and set that as the GCC version to use.
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-4.8 g++-4.8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
script: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} && make && cd build/tests && { [[ ${BUILD_TYPE} != "Debug" ]] || ctest --output-on-failure -j4; }
branches:
only:
- master
env:
- BUILD_TYPE=Release CXXFLAGS=-Werror
- BUILD_TYPE=Debug CXXFLAGS=-Werror
|
Add support for php 7 & drop support for php 5.5 | language: php
php:
- 5.5
- 5.6
services:
- redis-server
before_script:
- phpenv config-add ./tests/travis/php.ini
- composer self-update
- composer install --prefer-source
| language: php
php:
- 5.6
- 7.0
services:
- redis-server
before_script:
- phpenv config-add ./tests/travis/php.ini
- composer self-update
- composer install --prefer-source
|
Disable the graphical display when test are checked by Travis | language : java
install :
- ./install_dependencies.sh
script :
- cd core
- mvn install
- cd ../examples
- ant
jdk : oraclejdk8
notifications:
slack: intech-sudparis:Z3xKQEmZT2a9BFBqouokQ6J7
on_success: change
on_failure: always
email : false
| language : java
install :
- ./install_dependencies.sh
script :
- cd core
- sed s/GRAPHIC_ENABLE\ =\ true// src/test/resources/kraken.conf -i
- mvn install
- cd ../examples
- ant
jdk : oraclejdk8
notifications:
slack: intech-sudparis:Z3xKQEmZT2a9BFBqouokQ6J7
on_success: change
on_failure: always
email : false
|
Add Python 3.7 workaround to Travis config. | sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
install:
- pip install tox-travis
script: tox
| sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
# 3.7 is not currently supported, matrix config added as workaround
# - "3.7"
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
install:
- pip install tox-travis
script: tox
|
Add other python versions to tests against. | language: python
python:
- 3.4
script: python setup.py test
notifications:
email: false | language: python
python:
- 3.2
- 3.3
- 3.4
- 3.5
script: python setup.py test
notifications:
email: false |
Remove deprecated sudo setting on Travis | language: java
sudo: false
matrix:
include:
- os: linux
jdk: openjdk8
- os: linux
jdk: openjdk11
- os: linux
arch: s390x
jdk: openjdk11
addons:
apt:
update: true
packages:
- maven
- libcppunit-dev
cache:
directories:
- "$HOME/.m2"
addons:
apt:
packages:
- libcppunit-dev
script: mvn clean apache-rat:check verify -DskipTests spotbugs:check checkstyle:check -Pfull-build
branches:
only:
- master
- branch-3.5
- branch-3.4
| language: java
matrix:
include:
- os: linux
jdk: openjdk8
- os: linux
jdk: openjdk11
- os: linux
arch: s390x
jdk: openjdk11
addons:
apt:
update: true
packages:
- maven
- libcppunit-dev
cache:
directories:
- "$HOME/.m2"
addons:
apt:
packages:
- libcppunit-dev
script: mvn clean apache-rat:check verify -DskipTests spotbugs:check checkstyle:check -Pfull-build
branches:
only:
- master
- branch-3.5
- branch-3.4
|
Drop Node v0.10.x & v0.12.x, add 8.x.x | language: node_js
sudo: false
node_js:
- stable
- 6
- 4
- "0.12"
- "0.10"
branches:
only:
- master
script: npm test
| language: node_js
node_js:
- stable
- 8
- 6
- 4
script:
- npm test
|
Test against Node.js 0.10 at Travis CI. | language: node_js
node_js:
- 0.6
- 0.8
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
| language: node_js
node_js:
- 0.10
- 0.8
- 0.6
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
|
Revert "Caching dependencies to speed up PR builds" | sudo: false
cache:
directories:
- $HOME/.m2
- $HOME/.gradle/wrapper
language: java
jdk:
- oraclejdk7
script:
- ./gradlew pullRequestValidation
env:
- TERM=dumb
branches:
only:
- master
| language: java
jdk:
- oraclejdk7
script:
- ./gradlew pullRequestValidation
env:
- TERM=dumb
branches:
only:
- master |
Add support for 3.7, remove support for 2.7 | language: python
sudo: false
python:
- "2.7"
- "3.6"
- "3.7"
install:
- pip install -r requirements.txt
script:
- nosetests -v | language: python
dist: xenial
sudo: false
python:
- "3.6"
- "3.7"
install:
- pip install -r requirements.txt
script:
- nosetests -v |
Remove timer, run with quiet | language: python
python:
- '2.7'
- '3.5'
- '3.6'
sudo: required
dist: trusty
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O anaconda.sh;
- export python_version=$TRAVIS_PYTHON_VERSION
- bash anaconda.sh -b -p $HOME/anaconda
- export PATH="$HOME/anaconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda config --add channels http://conda.binstar.org/omnia
- bash scripts/install_deepchem_conda.sh deepchem
- source activate deepchem
- pip install yapf==0.22.0
- pip install coveralls
- python setup.py install
script:
- nosetests --with-flaky -a '!slow' --with-timer --with-coverage --cover-package=deepchem
-v deepchem --nologcapture
- if [ $TRAVIS_PYTHON_VERSION == '3.5' ]; then
find ./deepchem | grep .py$ |xargs python -m doctest -v;
fi
- bash devtools/travis-ci/test_format_code.sh
after_success:
- echo $TRAVIS_SECURE_ENV_VARS
- coveralls
| language: python
python:
- '2.7'
- '3.5'
- '3.6'
sudo: required
dist: trusty
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O anaconda.sh;
- export python_version=$TRAVIS_PYTHON_VERSION
- bash anaconda.sh -b -p $HOME/anaconda
- export PATH="$HOME/anaconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda config --add channels http://conda.binstar.org/omnia
- bash scripts/install_deepchem_conda.sh deepchem
- source activate deepchem
- pip install yapf==0.22.0
- pip install coveralls
- python setup.py install
script:
- nosetests -q --with-flaky -a '!slow' --with-coverage --cover-package=deepchem
-v deepchem --nologcapture
- if [ $TRAVIS_PYTHON_VERSION == '3.5' ]; then
find ./deepchem | grep .py$ |xargs python -m doctest -v;
fi
- bash devtools/travis-ci/test_format_code.sh
after_success:
- echo $TRAVIS_SECURE_ENV_VARS
- coveralls
|
Enable bundle caching on Travis | sudo: false
bundler_args: "--standalone --binstubs --without development"
script: script/test_all
services: mongodb
before_script:
- mysql -e 'create database will_paginate;'
- psql -c 'create database will_paginate;' -U postgres
rvm:
- 1.8.7
- 1.9.3
- 2.1.8
- 2.2.4
- 2.3.0
gemfile:
- Gemfile
- Gemfile.rails3.0
- Gemfile.rails3.1
- Gemfile.rails3.2
- Gemfile.rails4.1
- Gemfile.rails4.2
- Gemfile.rails5.0
- Gemfile.rails-edge
matrix:
exclude:
- rvm: 1.8.7
gemfile: Gemfile.rails-edge
- rvm: 1.9.3
gemfile: Gemfile.rails-edge
- rvm: 2.1.8
gemfile: Gemfile.rails-edge
- rvm: 1.8.7
gemfile: Gemfile
- rvm: 1.8.7
gemfile: Gemfile.rails4.1
- rvm: 1.8.7
gemfile: Gemfile.rails4.2
- rvm: 1.8.7
gemfile: Gemfile.rails5.0
- rvm: 1.9.3
gemfile: Gemfile.rails5.0
- rvm: 2.1.8
gemfile: Gemfile.rails5.0
| sudo: false
bundler_args: "--standalone --binstubs --without development"
cache: bundler
script: script/test_all
services: mongodb
before_script:
- mysql -e 'create database will_paginate;'
- psql -c 'create database will_paginate;' -U postgres
rvm:
- 1.8.7
- 1.9.3
- 2.1.8
- 2.2.4
- 2.3.0
gemfile:
- Gemfile
- Gemfile.rails3.0
- Gemfile.rails3.1
- Gemfile.rails3.2
- Gemfile.rails4.1
- Gemfile.rails4.2
- Gemfile.rails5.0
- Gemfile.rails-edge
matrix:
exclude:
- rvm: 1.8.7
gemfile: Gemfile.rails-edge
- rvm: 1.9.3
gemfile: Gemfile.rails-edge
- rvm: 2.1.8
gemfile: Gemfile.rails-edge
- rvm: 1.8.7
gemfile: Gemfile
- rvm: 1.8.7
gemfile: Gemfile.rails4.1
- rvm: 1.8.7
gemfile: Gemfile.rails4.2
- rvm: 1.8.7
gemfile: Gemfile.rails5.0
- rvm: 1.9.3
gemfile: Gemfile.rails5.0
- rvm: 2.1.8
gemfile: Gemfile.rails5.0
|
Add PHP 7 to Travis targets | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- "mysql -e 'DROP DATABASE IF EXISTS test;'"
- "mysql -e 'create database test;'"
- "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
- "psql -c 'create database test;' -U postgres"
script:
- phpunit -c tests/unit/ --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
- email: true
- irc: "irc.freenode.org#auraphp"
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
before_script:
- "mysql -e 'DROP DATABASE IF EXISTS test;'"
- "mysql -e 'create database test;'"
- "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
- "psql -c 'create database test;' -U postgres"
script:
- phpunit -c tests/unit/ --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
- email: true
- irc: "irc.freenode.org#auraphp"
|
Add php 7.0 to build | language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
before_script:
- composer install
script: bin/phpunit --coverage-clover=coverage.clover Tests
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
| language: php
php:
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
before_script:
- composer install
script: bin/phpunit --coverage-clover=coverage.clover Tests
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
Drop support for Python 3.3 | language: python
python:
- "3.3"
- "3.5"
sudo: false
install:
- pip install pylint
- pip install pep8
script:
- python3 linters_test.py
- python3 lint.py validate --all
| language: python
python:
- "3.5"
sudo: false
install:
- pip install pylint
- pip install pep8
script:
- python3 linters_test.py
- python3 lint.py validate --all
|
Use rdo-testing-kilo until publication of rdo-release-kilo | ---
- lineinfile: dest=/etc/yum/pluginconf.d/fastestmirror.conf regexp=^enabled= line=enabled=0
- yum: name=http://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.rpm state=present
- get_url: url=https://repos.fedorapeople.org/repos/openstack/openstack-trunk/epel-7/rc2/delorean-kilo.repo dest=/etc/yum.repos.d/delorean-kilo.repo mode=0644
- yum: name=* state=latest
- yum: name=openstack-selinux state=present
- copy: src=files/id_rsa dest=/home/vagrant/.ssh/id_packstack mode=0600 owner=vagrant group=vagrant
- copy: src=files/id_rsa.pub dest=/home/vagrant/.ssh/id_packstack.pub mode=0600 owner=vagrant group=vagrant
- copy: src=files/selinux dest=/etc/selinux/config mode=0644 owner=root group=root
- file: path=/home/vagrant/scripts state=directory owner=vagrant group=vagrant mode=0755
- shell: cat /home/vagrant/.ssh/id_packstack.pub >> /home/vagrant/.ssh/authorized_keys
- file: path=/home/vagrant/.ssh/authorized_keys owner=vagrant group=vagrant
- copy: src=files/motd dest=/etc/motd owner=root group=root mode=0644
- template: src=files/hosts.j2 dest=/etc/hosts owner=root group=root mode=0644
| ---
- lineinfile: dest=/etc/yum/pluginconf.d/fastestmirror.conf regexp=^enabled= line=enabled=0
- yum: name=http://rdoproject.org/repos/openstack-kilo/rdo-testing-kilo.rpm state=present
- yum: name=* state=latest
- yum: name=openstack-selinux state=present
- copy: src=files/id_rsa dest=/home/vagrant/.ssh/id_packstack mode=0600 owner=vagrant group=vagrant
- copy: src=files/id_rsa.pub dest=/home/vagrant/.ssh/id_packstack.pub mode=0600 owner=vagrant group=vagrant
- copy: src=files/selinux dest=/etc/selinux/config mode=0644 owner=root group=root
- file: path=/home/vagrant/scripts state=directory owner=vagrant group=vagrant mode=0755
- shell: cat /home/vagrant/.ssh/id_packstack.pub >> /home/vagrant/.ssh/authorized_keys
- file: path=/home/vagrant/.ssh/authorized_keys owner=vagrant group=vagrant
- copy: src=files/motd dest=/etc/motd owner=root group=root mode=0644
- template: src=files/hosts.j2 dest=/etc/hosts owner=root group=root mode=0644
|
Add more Perl versions to Travis test runs | sudo: false
language: perl
perl:
- "blead"
- "dev"
- "5.22"
- "5.22-thr"
- "5.20"
- "5.20-thr"
- "5.18.3"
- "5.18.3-thr"
matrix:
allow_failures:
- perl: blead
before_install:
- eval $(curl https://travis-perl.github.io/init) --auto
| sudo: false
language: perl
perl:
- "blead"
- "dev"
- "5.24"
- "5.24-thr"
- "5.22"
- "5.22-thr"
- "5.20"
- "5.20-thr"
- "5.18.3"
- "5.18.3-thr"
- "5.16"
- "5.16-thr"
- "5.14"
- "5.14-thr"
- "5.12"
- "5.12-thr"
- "5.12"
- "5.12-thr"
- "5.10.0"
- "5.10.0-thr"
- "5.10.1"
- "5.10.1-thr"
- "5.8.4"
- "5.8.4-thr"
- "5.6.2"
- "5.6.2-thr"
matrix:
allow_failures:
- perl: blead
before_install:
- eval $(curl https://travis-perl.github.io/init) --auto
|
Add IRC notifications to Travis; add myself to email notifications | language: ruby
cache:
- bundler
install:
- bundle install
rvm:
- 1.9.3
- 2.0
- 2.1
notifications:
email:
recipients:
- mattjones@yieldbot.com
on_success: change
on_failure: always
script:
- 'bundle exec rake default'
| language: ruby
cache:
- bundler
install:
- bundle install
rvm:
- 1.9.3
- 2.0
- 2.1
notifications:
irc:
channels:
- "chat.freenode.net#sensu"
on_success: change
on_failure: always
email:
recipients:
- mattjones@yieldbot.com
- rich.m.chatterton@gmail.com
on_success: change
on_failure: always
script:
- 'bundle exec rake default'
|
Update builds to include go 1.9 | language: go
go:
- 1.5
- 1.6
- 1.7
- 1.7.1
- 1.7.2
- 1.7.3
- 1.7.4
- 1.8
script:
- go test -coverprofile=xpath2_coverage.txt -covermode=atomic ./xpath2
- go test -coverprofile=xslt_coverage.txt -covermode=atomic ./xslt
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: go
go:
- 1.6
- 1.7
- 1.7.1
- 1.7.2
- 1.7.3
- 1.7.4
- 1.8
- 1.9
script:
- go test -coverprofile=xpath2_coverage.txt -covermode=atomic ./xpath2
- go test -coverprofile=xslt_coverage.txt -covermode=atomic ./xslt
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Normalize git urls in pre-commit config | repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
sha: v0.9.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: autopep8-wrapper
- id: check-docstring-first
- id: check-yaml
- id: debug-statements
- id: requirements-txt-fixer
- id: flake8
- repo: https://github.com/asottile/reorder_python_imports.git
sha: v0.3.5
hooks:
- id: reorder-python-imports
| repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v0.9.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: autopep8-wrapper
- id: check-docstring-first
- id: check-yaml
- id: debug-statements
- id: requirements-txt-fixer
- id: flake8
- repo: https://github.com/asottile/reorder_python_imports
sha: v0.3.5
hooks:
- id: reorder-python-imports
|
Use same checksum for CI cache across branches | version: 2
jobs:
build_and_test:
working_directory: ~/project
docker:
- image: node:12
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-packages-{{ .Branch }}
- yarn-packages-master
- yarn-packages-
- run:
name: Packager Version
command: yarn --version
- run:
name: Install Dependencies
command: yarn
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- run:
name: Lint sources
command: yarn lint
- run:
name: Test
command: yarn test
workflows:
version: 2
build_and_test:
jobs:
- build_and_test
| version: 2
jobs:
build_and_test:
working_directory: ~/project
docker:
- image: node:12
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-{{ checksum "yarn.lock" }}
- run:
name: Packager Version
command: yarn --version
- run:
name: Install Dependencies
command: yarn
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- run:
name: Lint sources
command: yarn lint
- run:
name: Test
command: yarn test
workflows:
version: 2
build_and_test:
jobs:
- build_and_test
|
Mark Locations API as continuously deployed | - account-api
- authenticating-proxy
- bouncer
- cache-clearing-service
- collections
- collections-publisher
- content-data-admin
- content-data-api
- content-publisher
- email-alert-frontend
- email-alert-service
- feedback
- finder-frontend
- frontend
- government-frontend
- govuk-account-manager-prototype
- govuk-attribute-service-prototype
- hmrc-manuals-api
- imminence
- info-frontend
- local-links-manager
- manuals-frontend
- manuals-publisher
- maslow
- publisher
- release
- service-manual-frontend
- service-manual-publisher
- short-url-manager
- sidekiq-monitoring
- smartanswers
- support
- travel-advice-publisher
- whitehall
| - account-api
- authenticating-proxy
- bouncer
- cache-clearing-service
- collections
- collections-publisher
- content-data-admin
- content-data-api
- content-publisher
- email-alert-frontend
- email-alert-service
- feedback
- finder-frontend
- frontend
- government-frontend
- govuk-account-manager-prototype
- govuk-attribute-service-prototype
- hmrc-manuals-api
- imminence
- info-frontend
- local-links-manager
- locations-api
- manuals-frontend
- manuals-publisher
- maslow
- publisher
- release
- service-manual-frontend
- service-manual-publisher
- short-url-manager
- sidekiq-monitoring
- smartanswers
- support
- travel-advice-publisher
- whitehall
|
Update from Hackage at 2017-10-14T04:54:40Z | homepage: ''
changelog-type: ''
hash: 92e78f10a68bdaf26bf2c511b796a0591784fa91f6dcb0ecdb39e4f857c8192b
test-bench-deps:
base: ==4.9.*
hspec: ==2.4.*
maintainer: clintonmead@gmail.com
synopsis: A series of type families and constraints for "indexable" types.
changelog: ''
basic-deps:
base: ==4.9.*
all-versions:
- '0.1.0.0'
- '0.2.0.0'
author: Clinton Mead
latest: '0.2.0.0'
description-type: haddock
description: ! 'This package deals with types that can roughly be "indexed" at compile
time by an integer.
For example, tuples and be indexed by their nth elements, and functions by their
nth argument.
A number of type functions allow one to extract these subtypes, i.e. the type of
the 2nd element of a given tuple.
Furthermore, constraints are defined which allow one to easily constrain types to
these index types,
e.g. a constraint that says "''t'' is a 3 tuple". ''Control.IndexT'' has more detail.'
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 3c6552545f53d0f7eb2f70a3e3df37b1625ae798f3927b25260506b73fe4c71b
test-bench-deps:
base: ==4.9.*
hspec: ==2.4.*
maintainer: clintonmead@gmail.com
synopsis: A series of type families and constraints for "indexable" types.
changelog: ''
basic-deps:
base: ==4.9.*
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.2.0'
author: Clinton Mead
latest: '0.2.2.0'
description-type: haddock
description: ! 'This package deals with types that can roughly be "indexed" at compile
time by an integer.
For example, tuples and be indexed by their nth elements, and functions by their
nth argument.
A number of type functions allow one to extract these subtypes, i.e. the type of
the 2nd element of a given tuple.
Furthermore, constraints are defined which allow one to easily constrain types to
these index types,
e.g. a constraint that says "''t'' is a 3 tuple". ''Control.IndexT'' has more detail.'
license-name: BSD3
|
Update GitLab CI for WITH_OPENCV option | image: adaskit/libsgm:0.1
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
- test
.build_template: &build_definition
stage: build
tags:
- docker
script:
- cmake . -DENABLE_SAMPLES=${build_samples} -DLIBSGM_SHARED=${build_shared} -DENABLE_TESTS=${build_tests}
- make
build:samples_on:shared:
variables:
build_samples: "ON"
build_shared: "ON"
build_tests: "OFF"
<<: *build_definition
build:samples_on:static:
variables:
build_samples: "ON"
build_shared: "OFF"
build_tests: "OFF"
<<: *build_definition
build:samples_off:shared:
variables:
build_samples: "OFF"
build_shared: "ON"
build_tests: "OFF"
<<: *build_definition
build:samples_off:static:
variables:
build_samples: "OFF"
build_shared: "OFF"
build_tests: "OFF"
<<: *build_definition
build:test:
variables:
build_samples: "OFF"
build_shared: "OFF"
build_tests: "ON"
artifacts:
paths:
- ./test/sgm-test
expire_in: 1d
<<: *build_definition
test:
stage: test
tags:
- nvidia-docker
script:
- ./test/sgm-test
dependencies:
- build:test
| image: adaskit/libsgm:0.1
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
- test
.build_template: &build_definition
stage: build
tags:
- docker
script:
- cmake . -DWITH_OPENCV="ON" -DENABLE_SAMPLES=${build_samples} -DLIBSGM_SHARED=${build_shared} -DENABLE_TESTS=${build_tests}
- make
build:samples_on:shared:
variables:
build_samples: "ON"
build_shared: "ON"
build_tests: "OFF"
<<: *build_definition
build:samples_on:static:
variables:
build_samples: "ON"
build_shared: "OFF"
build_tests: "OFF"
<<: *build_definition
build:samples_off:shared:
variables:
build_samples: "OFF"
build_shared: "ON"
build_tests: "OFF"
<<: *build_definition
build:samples_off:static:
variables:
build_samples: "OFF"
build_shared: "OFF"
build_tests: "OFF"
<<: *build_definition
build:test:
variables:
build_samples: "OFF"
build_shared: "OFF"
build_tests: "ON"
artifacts:
paths:
- ./test/sgm-test
expire_in: 1d
<<: *build_definition
test:
stage: test
tags:
- nvidia-docker
script:
- ./test/sgm-test
dependencies:
- build:test
|
Use kubernetes.io/role label for nodeAffinity | apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: audittrail-adapter
namespace: kube-system
labels:
application: audittrail-adapter
version: v0.1.0
spec:
selector:
matchLabels:
application: audittrail-adapter
updateStrategy:
type: RollingUpdate
template:
metadata:
labels:
application: audittrail-adapter
version: v0.1.0
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: master
operator: Exists
tolerations:
- key: CriticalAddonsOnly
operator: Exists
hostNetwork: true
containers:
- name: audittrail-adapter
image: pierone.stups.zalan.do/teapot/audittrail-adapter:master-3
args:
- --cluster-id={{ .ID }}
- --dry-run
- --address=:8889
resources:
limits:
cpu: 50m
memory: 50Mi
requests:
cpu: 20m
memory: 20Mi
| apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: audittrail-adapter
namespace: kube-system
labels:
application: audittrail-adapter
version: v0.1.0
spec:
selector:
matchLabels:
application: audittrail-adapter
updateStrategy:
type: RollingUpdate
template:
metadata:
labels:
application: audittrail-adapter
version: v0.1.0
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/role
operator: In
values:
- master
tolerations:
- key: CriticalAddonsOnly
operator: Exists
hostNetwork: true
containers:
- name: audittrail-adapter
image: pierone.stups.zalan.do/teapot/audittrail-adapter:master-3
args:
- --cluster-id={{ .ID }}
- --dry-run
- --address=:8889
resources:
limits:
cpu: 50m
memory: 50Mi
requests:
cpu: 20m
memory: 20Mi
|
Add retry logic to rsync restart | ---
- name: pip install swifttool
pip: name="/opt/stack/{{ swift.swifttool_dir }}" extra_args='-i https://pypi.python.org/simple/'
register: result
until: result|success
retries: 3
delay: 10
notify:
- update ca-certs
- name: update ca-certs
command: update-ca-certificates
- name: restart rsync
service: name=rsync state=restarted
- name: restart rsyslog
service: name=rsyslog state=restarted
- name: restart swift services
service: name={{ item }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- swift-container
- swift-container-auditor
- swift-container-updater
- swift-container-replicator
- swift-account
- swift-account-auditor
- swift-account-reaper
- swift-account-replicator
- swift-proxy
- swift-object
- swift-object-expirer
- swift-object-auditor
- swift-object-replicator
- swift-object-updater
| ---
- name: pip install swifttool
pip: name="/opt/stack/{{ swift.swifttool_dir }}" extra_args='-i https://pypi.python.org/simple/'
register: result
until: result|success
retries: 3
delay: 10
notify:
- update ca-certs
- name: update ca-certs
command: update-ca-certificates
# Restarting rsync failing with pid file exists error
# Adding retry logic to workaround
- name: restart rsync
service: name=rsync state=restarted
register: result
until: result|success
retries: 3
delay: 10
- name: restart rsyslog
service: name=rsyslog state=restarted
- name: restart swift services
service: name={{ item }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- swift-container
- swift-container-auditor
- swift-container-updater
- swift-container-replicator
- swift-account
- swift-account-auditor
- swift-account-reaper
- swift-account-replicator
- swift-proxy
- swift-object
- swift-object-expirer
- swift-object-auditor
- swift-object-replicator
- swift-object-updater
|
Update CheHost to point to prod sso | services:
- hash: 4dc6bfd5b5e8a69dcca9552a06d1ba9d491da9b9
name: f8tenant
path: /OpenShiftTemplate.yml
url: https://github.com/fabric8io/fabric8-init-tenant/
| services:
- hash: d859722552376b3b7d84c90bc74677bd4f992150
name: f8tenant
path: /OpenShiftTemplate.yml
url: https://github.com/fabric8io/fabric8-init-tenant/
|
Add email to author information | name: '/dev/random'
description: 'Random thoughts on development and stuff'
author: Hans Kristian Flaatten
url: https://starefossen.github.io
ga_id: UA-38558206-2
license:
title: Creative Commons CC BY-SA 4.0 license
url: https://creativecommons.org/licenses/by-sa/4.0/
social: !!omap
- icon: twitter
url: https://twitter.com/starefossen
- icon: github
url: https://github.com/starefossen
- icon: linkedin
url: https://linkedin.com/hans.flaatten
relative_permalinks: false
permalink: /post/:year/:month/:day/:title/
excerpt_separator: <!--more-->
markdown: redcarpet
highlighter: pygments
timezone: NO
encoding: UTF-8
repository: Starefossen/starefossen.github.com
gems:
- jekyll-feed
- jekyll-github-metadata
- jekyll-mentions
- jekyll-redirect-from
- jekyll-sitemap
- jemoji
| name: '/dev/random'
description: 'Random thoughts on development and stuff'
author:
name: Hans Kristian Flaatten
email: hans@starefossen.com
url: https://starefossen.github.io
ga_id: UA-38558206-2
license:
title: Creative Commons CC BY-SA 4.0 license
url: https://creativecommons.org/licenses/by-sa/4.0/
social: !!omap
- icon: twitter
url: https://twitter.com/starefossen
- icon: github
url: https://github.com/starefossen
- icon: linkedin
url: https://linkedin.com/hans.flaatten
relative_permalinks: false
permalink: /post/:year/:month/:day/:title/
excerpt_separator: <!--more-->
markdown: redcarpet
highlighter: pygments
timezone: NO
encoding: UTF-8
repository: Starefossen/starefossen.github.com
gems:
- jekyll-feed
- jekyll-github-metadata
- jekyll-mentions
- jekyll-redirect-from
- jekyll-sitemap
- jemoji
|
Delete highlighter property from config | title: 'Блог Анатолия Гуляева'
author: 'Анатолий Гуляев'
keywords: 'kaneru, блог, продуктивность, лайфлист, программирование, фронт-енд'
description: > # this means to ignore newlines until "note:"
Блог Анатолия Гуляева.
Тут в основном пишу свои наблюдения и заметки про программирование, фронт-енд, продуктивность и свою жизнь.
## note:
# use site.path in your templates to make it work for both protocols e.g. http and https
# use site.url only inside the web feed template (e.g. requires full url incl. protocol)
path: ''
url: 'https://kaneru.github.io'
permalink: :title/
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter_opts:
disable: true
highlighter: none
pagination:
enabled: true
collection: 'posts'
per_page: 5
permalink: '/page/:num/'
sort_field: 'date'
sort_reverse: true
exclude:
- README.md
safe: true
lsi: false
include: [_pages]
plugins: [rouge, jekyll-sitemap, jekyll-feed]
future: true
| title: 'Блог Анатолия Гуляева'
author: 'Анатолий Гуляев'
keywords: 'kaneru, блог, продуктивность, лайфлист, программирование, фронт-енд'
description: > # this means to ignore newlines until "note:"
Блог Анатолия Гуляева.
Тут в основном пишу свои наблюдения и заметки про программирование, фронт-енд, продуктивность и свою жизнь.
## note:
# use site.path in your templates to make it work for both protocols e.g. http and https
# use site.url only inside the web feed template (e.g. requires full url incl. protocol)
path: ''
url: 'https://kaneru.github.io'
permalink: :title/
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter_opts:
disable: true
pagination:
enabled: true
collection: 'posts'
per_page: 5
permalink: '/page/:num/'
sort_field: 'date'
sort_reverse: true
exclude:
- README.md
safe: true
lsi: false
include: [_pages]
plugins: [rouge, jekyll-sitemap, jekyll-feed]
future: true
|
Add k8s/cinder standalone/cinder and csi/cinder jobs | - project:
cloud-provider-openstack-unittest:
jobs:
- cloud-provider-openstack-unittest
cloud-provider-openstack-acceptance-test-lb-octavia:
jobs:
- cloud-provider-openstack-acceptance-test-lb-octavia
cloud-provider-openstack-acceptance-test-keystone-authentication-authorization:
jobs:
- cloud-provider-openstack-acceptance-test-keystone-authentication-authorization
cloud-provider-openstack-acceptance-test-e2e-conformance:
jobs:
- cloud-provider-openstack-acceptance-test-e2e-conformance
cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.10:
jobs:
- cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.10
periodic:
jobs:
- cloud-provider-openstack-acceptance-test-e2e-conformance
- cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.10
| - project:
cloud-provider-openstack-unittest:
jobs:
- cloud-provider-openstack-unittest
cloud-provider-openstack-acceptance-test-lb-octavia:
jobs:
- cloud-provider-openstack-acceptance-test-lb-octavia
cloud-provider-openstack-acceptance-test-keystone-authentication-authorization:
jobs:
- cloud-provider-openstack-acceptance-test-keystone-authentication-authorization
cloud-provider-openstack-acceptance-test-k8s-cinder:
jobs:
- cloud-provider-openstack-acceptance-test-k8s-cinder
cloud-provider-openstack-acceptance-test-standalone-cinder:
jobs:
- cloud-provider-openstack-acceptance-test-standalone-cinder
cloud-provider-openstack-acceptance-test-csi-cinder:
jobs:
- cloud-provider-openstack-acceptance-test-csi-cinder
cloud-provider-openstack-acceptance-test-e2e-conformance:
jobs:
- cloud-provider-openstack-acceptance-test-e2e-conformance
cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.10:
jobs:
- cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.10
periodic:
jobs:
- cloud-provider-openstack-acceptance-test-e2e-conformance
- cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.10
|
Update horizon for astronomical twilight | ---
name: 'Generic PANOPTES Unit'
location:
name: Mauna Loa Observatory
latitude: 19.54
longitude: -155.58
elevation: 3400.0
utc_offset: -10.00 # Hours
horizon: 30
twilight_horizon: -12
timezone: 'US/Hawaii'
directories:
base: '/var/panoptes/POCS'
images: '/var/panoptes/images'
webcam: '/var/panoptes/webcams'
data: '/var/panoptes/data'
resources: '/var/panoptes/POCS/resources/'
targets: '/var/panoptes/POCS/resources/conf_files/targets'
mounts: '/var/panoptes/POCS/resources/conf_files/mounts'
scheduler:
type: 'core'
targets_file: 'default_targets.yaml'
mount:
brand: ioptron
model: 30
driver: ioptron
port: '/dev/ttyUSB1'
non_sidereal_available: True
pointing:
threshold: 0.05
exptime: 30
max_iterations: 3
cameras:
auto_detect: True
devices:
-
model: canon_gphoto2
primary: True
guide: True
-
model: canon_gphoto2
messaging:
port: 6500
state_machine: simple_state_table
| ---
name: 'Generic PANOPTES Unit'
location:
name: Mauna Loa Observatory
latitude: 19.54
longitude: -155.58
elevation: 3400.0
utc_offset: -10.00 # Hours
horizon: 30
twilight_horizon: -18
timezone: 'US/Hawaii'
directories:
base: '/var/panoptes/POCS'
images: '/var/panoptes/images'
webcam: '/var/panoptes/webcams'
data: '/var/panoptes/data'
resources: '/var/panoptes/POCS/resources/'
targets: '/var/panoptes/POCS/resources/conf_files/targets'
mounts: '/var/panoptes/POCS/resources/conf_files/mounts'
scheduler:
type: 'core'
targets_file: 'default_targets.yaml'
mount:
brand: ioptron
model: 30
driver: ioptron
port: '/dev/ttyUSB1'
non_sidereal_available: True
pointing:
threshold: 0.05
exptime: 30
max_iterations: 3
cameras:
auto_detect: True
devices:
-
model: canon_gphoto2
primary: True
guide: True
-
model: canon_gphoto2
messaging:
port: 6500
state_machine: simple_state_table
|
Use the official container image of Golang. | box: mitsuse/golang
build:
steps:
- setup-go-workspace
- script:
name: build
code: |
go get -t ./...
- script:
name: coverage
code: |
bash coverage.bash
bash goveralls.bash
- tcnksm/gox:
os: "darwin linux"
arch: "386 amd64"
- tcnksm/zip:
input: $WERCKER_OUTPUT_DIR/pkg
output: $WERCKER_OUTPUT_DIR/dist
after-steps:
- mitsuse/bullet-send:
title: "${WERCKER_GIT_REPOSITORY} - Build ${WERCKER_RESULT}."
path: "${WERCKER_BUILD_URL}"
deploy:
steps:
- tcnksm/ghr:
token: $GITHUB_TOKEN
input: dist
version: v0.1.3
replace: true
after-steps:
- mitsuse/bullet-send:
title: "${WERCKER_GIT_REPOSITORY} - Build ${WERCKER_RESULT}."
path: "${WERCKER_DEPLOY_URL}"
| box: golang:1.5
build:
steps:
- setup-go-workspace
- script:
name: build
code: |
go get -t ./...
- script:
name: coverage
code: |
bash coverage.bash
bash goveralls.bash
- tcnksm/gox:
os: "darwin linux"
arch: "386 amd64"
- tcnksm/zip:
input: $WERCKER_OUTPUT_DIR/pkg
output: $WERCKER_OUTPUT_DIR/dist
after-steps:
- mitsuse/bullet-send:
title: "${WERCKER_GIT_REPOSITORY} - Build ${WERCKER_RESULT}."
path: "${WERCKER_BUILD_URL}"
deploy:
steps:
- tcnksm/ghr:
token: $GITHUB_TOKEN
input: dist
version: v0.1.3
replace: true
after-steps:
- mitsuse/bullet-send:
title: "${WERCKER_GIT_REPOSITORY} - Build ${WERCKER_RESULT}."
path: "${WERCKER_DEPLOY_URL}"
|
Remove release steps from github workflow | name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v2
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Build
env:
PLATFORMIO_CI_SRC: RfidShelf
run: platformio ci --board=nodemcuv2 --project-conf=RfidShelf/platformio.ini
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: Firmware
path: RfidShelf/build/latest.bin
if-no-files-found: error
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: RfidShelf/build/latest.bin
fail_on_unmatched_files: true
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v2
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Build
env:
PLATFORMIO_CI_SRC: RfidShelf
run: platformio ci --board=nodemcuv2 --project-conf=RfidShelf/platformio.ini
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: Firmware
path: RfidShelf/build/latest.bin
if-no-files-found: error |
Change port names to avoid validation failure | apiVersion: v1
kind: ReplicationController
metadata:
name: elasticsearch-logging-v1
namespace: default
labels:
k8s-app: elasticsearch-logging
version: v1
kubernetes.io/cluster-service: "true"
spec:
replicas: 2
selector:
k8s-app: elasticsearch-logging
version: v1
template:
metadata:
labels:
k8s-app: elasticsearch-logging
version: v1
kubernetes.io/cluster-service: "true"
spec:
containers:
- image: gcr.io/google_containers/elasticsearch:1.3
name: elasticsearch-logging
ports:
- containerPort: 9200
name: es-port
protocol: TCP
- containerPort: 9300
name: es-transport-port
protocol: TCP
volumeMounts:
- name: es-persistent-storage
mountPath: /data
volumes:
- name: es-persistent-storage
emptyDir: {}
| apiVersion: v1
kind: ReplicationController
metadata:
name: elasticsearch-logging-v1
namespace: default
labels:
k8s-app: elasticsearch-logging
version: v1
kubernetes.io/cluster-service: "true"
spec:
replicas: 2
selector:
k8s-app: elasticsearch-logging
version: v1
template:
metadata:
labels:
k8s-app: elasticsearch-logging
version: v1
kubernetes.io/cluster-service: "true"
spec:
containers:
- image: gcr.io/google_containers/elasticsearch:1.3
name: elasticsearch-logging
ports:
- containerPort: 9200
name: db
protocol: TCP
- containerPort: 9300
name: transport
protocol: TCP
volumeMounts:
- name: es-persistent-storage
mountPath: /data
volumes:
- name: es-persistent-storage
emptyDir: {}
|
Add AlienTrimmer and featureCounts to minimal flavor. | ---
bio_nextgen:
alignment:
- star
utilities:
- biobambam
- rnaseqc
analysis:
- cufflinks
- picard
- tophat
variant:
- bcbio_variation
- gatk
- grabix
- mutect
- pbgzip
- snpeff
- varscan
needs_64bit:
- ucsc_tools
| ---
bio_nextgen:
alignment:
- star
utilities:
- biobambam
- rnaseqc
- alientrimmer
- featurecounts
analysis:
- cufflinks
- picard
- tophat
variant:
- bcbio_variation
- gatk
- grabix
- mutect
- pbgzip
- snpeff
- varscan
needs_64bit:
- ucsc_tools
|
Update Node version to 0.12 on AppVeyor | init:
- git config --global core.autocrlf input
version: '{build}'
environment:
matrix:
- nodejs_version: '0.10'
install:
- ps: Install-Product node $env:nodejs_version
- npm install
build: off
test_script:
- node --version
- npm --version
- npm test
| init:
- git config --global core.autocrlf input
shallow_clone: true
version: '{build}'
skip_tags: true
environment:
matrix:
- nodejs_version: '0.12'
install:
- ps: Install-Product node $env:nodejs_version
- npm install
build: off
test_script:
- node --version
- npm --version
- npm test
|
Update Ruby 2.0.0 to 2.1.0 in CircleCI | dependencies:
override:
- rvm-exec 2.0.0-p353 bundle install -j 4
- rvm-exec 2.0.0-p353 bundle exec appraisal install -j 4
- rvm-exec 2.2.2 bundle install -j 4
- rvm-exec 2.2.2 bundle exec appraisal install -j 4
test:
override:
- RACK_ENV=development rvm-exec 2.0.0-p353 bundle exec appraisal rspec
- RACK_ENV=production rvm-exec 2.0.0-p353 bundle exec appraisal rspec
- RACK_ENV=development rvm-exec 2.2.2 bundle exec appraisal rspec
- RACK_ENV=production rvm-exec 2.2.2 bundle exec appraisal rspec
- rvm-exec 2.2.2 bundle exec rubocop
deployment:
gemfury:
tag: /.*/
commands:
- "gem build loga.gemspec"
- "curl -F package=@$(ls -t1 loga-*.gem | head -1) ${GEMFURY_PUSH_URI}"
| dependencies:
override:
- rvm-exec 2.1.0 bundle install -j 4
- rvm-exec 2.1.0 bundle exec appraisal install -j 4
- rvm-exec 2.2.2 bundle install -j 4
- rvm-exec 2.2.2 bundle exec appraisal install -j 4
test:
override:
- RACK_ENV=development rvm-exec 2.1.0 bundle exec appraisal rspec
- RACK_ENV=production rvm-exec 2.1.0 bundle exec appraisal rspec
- RACK_ENV=development rvm-exec 2.2.2 bundle exec appraisal rspec
- RACK_ENV=production rvm-exec 2.2.2 bundle exec appraisal rspec
- rvm-exec 2.2.2 bundle exec rubocop
deployment:
gemfury:
tag: /.*/
commands:
- "gem build loga.gemspec"
- "curl -F package=@$(ls -t1 loga-*.gem | head -1) ${GEMFURY_PUSH_URI}"
|
Revert "no : in yaml kys" | ---
cpu_count: '1'
memory_size: '512'
disk_size: '10140'
disk_format: VDI
hostiocache: 'off'
os_type_id: Ubuntu
boot_wait: '0'
boot_cmd_sequence: []
ssh_login_timeout: '10000'
ssh_user: root
ssh_password: vagrant
ssh_key: ''
ssh_host_port: '7222'
ssh_guest_port: '22'
sudo_cmd: bash '%f'
shutdown_cmd: shutdown -P now
postinstall_files:
- veewee.sh
postinstall_timeout: '10000'
| ---
:cpu_count: '1'
:memory_size: '512'
:disk_size: '10140'
:disk_format: VDI
:hostiocache: 'off'
:os_type_id: Ubuntu
:boot_wait: '0'
:boot_cmd_sequence: []
:ssh_login_timeout: '10000'
:ssh_user: root
:ssh_password: vagrant
:ssh_key: ''
:ssh_host_port: '7222'
:ssh_guest_port: '22'
:sudo_cmd: bash '%f'
:shutdown_cmd: shutdown -P now
:postinstall_files:
- veewee.sh
:postinstall_timeout: '10000'
|
Disable sonar-java cognitive complexity checks | version: "2"
checks:
argument-count:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: false
method-count:
enabled: false
method-lines:
enabled: false
plugins:
fixme:
enabled: true
pmd:
enabled: true
sonar-java:
enabled: true
channel: beta
config:
sonar.java.source: 8
ratings:
paths:
- "**.java"
exclude_patterns: [
"References/"
]
| version: "2"
checks:
argument-count:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: false
method-count:
enabled: false
method-lines:
enabled: false
plugins:
fixme:
enabled: true
pmd:
enabled: true
sonar-java:
enabled: true
channel: beta
config:
sonar.java.source: 8
checks:
squid:S3776:
enabled: false
ratings:
paths:
- "**.java"
exclude_patterns: [
"References/"
]
|
Add Jupyter to RTD reqs | name: test
channels:
- omnia
- defaults
- conda-forge
dependencies:
- python
- mdtraj
- numpy
- scipy
- pandas
- nbsphinx
- pandoc
| name: test
channels:
- omnia
- defaults
- conda-forge
dependencies:
- python
- mdtraj
- numpy
- scipy
- pandas
- nbsphinx
- pandoc
- jupyter
|
Configure a check that’s run to determine whether or not containers are “healthy”. No need to use wait-for-it.sh | version: '2'
services:
database:
container_name: dhis2-database
image: pgracio/dhis2-db:2.26-sierra-leone
environment:
POSTGRES_USER: dhis
POSTGRES_DB: dhis
POSTGRES_PASSWORD: dhis
POSTGRES_DB_TARGET: dhis-target
PG_DATA: /var/lib/postgresql/data/pgdata:z
ports:
- "5432:5432"
web:
container_name: dhis2-web
image: dhis2/dhis2-web:2.26-tomcat7-jre8-latest
environment:
JAVA_OPTS: "-Xmx1024m -Xms4000m"
POSTGRES_DB: dhis
ports:
- "8085:8080"
depends_on:
- database
entrypoint: ./wait-for-it.sh -t 0 database:5432 --
command: catalina.sh run # https://github.com/docker/compose/issues/3140
api-tests:
container_name: dhis2-api-tests
build: .
image: dhis2/dhis2-api-tests
depends_on:
- web
entrypoint: ./wait-for-it.sh -t 0 http://web:8080 -- npm test -- --world-parameters "{\"apiEndpoint\":\"http://web:8080/api\"}"
| version: '2.1'
services:
database:
container_name: dhis2-database
image: pgracio/dhis2-db:2.26-sierra-leone
environment:
POSTGRES_USER: dhis
POSTGRES_DB: dhis
POSTGRES_PASSWORD: dhis
POSTGRES_DB_TARGET: dhis-target
PG_DATA: /var/lib/postgresql/data/pgdata:z
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -h database -p 5432 -d dhis2"]
interval: 30s
timeout: 30s
retries: 30
web:
container_name: dhis2-web
image: dhis2/dhis2-web:2.26-tomcat7-jre8-latest
environment:
JAVA_OPTS: "-Xmx1024m -Xms4000m"
POSTGRES_DB: dhis
ports:
- "8085:8080"
depends_on:
database:
condition: service_healthy
healthcheck:
test: "curl -f http://localhost:8080"
interval: 15s
retries: 120
api-tests:
container_name: dhis2-api-tests
build: .
depends_on:
web:
condition: service_healthy
entrypoint: npm test -- --world-parameters "{\"apiEndpoint\":\"http://web:8080/api\"}"
|
Fix the naming for gr-release-develop | ---
image: docker:///cloudfoundry/garden-ci-ubuntu
platform: linux
inputs:
- name: gr-release-develop
run:
path: gr-release/ci/scripts/nested-shed-tests
| ---
image: docker:///cloudfoundry/garden-ci-ubuntu
platform: linux
inputs:
- name: gr-release-develop
run:
path: gr-release-develop/ci/scripts/nested-shed-tests
|
Use v4.1.0 release for ansible-lint-action | ---
name: build
on: [push, pull_request]
jobs:
ansible-lint:
name: Lint Ansible project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ansible/ansible-lint-action@v4
with:
override-deps: |
ansible==2.10.4
ansible-lint==4.3.7
targets: "./"
| ---
name: build
on: [push, pull_request]
jobs:
ansible-lint:
name: Lint Ansible project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ansible/ansible-lint-action@v4.1.0
with:
override-deps: |
ansible==2.10.4
ansible-lint==4.3.7
targets: "./"
|
Make `brand` prop consistent with Organization | title: Product
'@id': schema:Product
extends: Thing
role: tertiary
status: stable
category: metadata
description: |
Any offered product or service. For example, a pair of shoes;
a haircut; or an episode of a TV show streamed online.
properties:
brand:
'@id': schema:brand
description: Brand that the product is labelled with.
allOf:
- $ref: Brand
logo:
'@id': schema:logo
description: The logo of the product.
anyOf:
- type: string
format: uri
- $ref: ImageObject
productID:
'@id': schema:productID
description: Product identification code.
type: string
| title: Product
'@id': schema:Product
extends: Thing
role: tertiary
status: stable
category: metadata
description: |
Any offered product or service. For example, a pair of shoes;
a haircut; or an episode of a TV show streamed online.
properties:
brands:
'@id': schema:brand
description: Brands that the product is labelled with.
type: array
items:
$ref: Brand
logo:
'@id': schema:logo
description: The logo of the product.
anyOf:
- type: string
format: uri
- $ref: ImageObject
productID:
'@id': schema:productID
description: Product identification code.
type: string
|
Set the autoscaling sync period to something small, and use selfhosting | kind: MasterConfiguration
apiVersion: kubeadm.k8s.io/v1alpha1
networking:
podSubnet: "10.244.0.0/16"
controllerManagerExtraArgs:
controllers: "*,-persistentvolume-binder"
horizontal-pod-autoscaler-use-rest-clients: "true"
node-monitor-grace-period: "10s"
apiServerExtraArgs:
runtime-config: "api/all=true"
feature-gates: "TaintBasedEvictions=true"
proxy-client-cert-file: "/etc/kubernetes/pki/front-proxy-client.crt"
proxy-client-key-file: "/etc/kubernetes/pki/front-proxy-client.key"
| kind: MasterConfiguration
apiVersion: kubeadm.k8s.io/v1alpha1
networking:
podSubnet: "10.244.0.0/16"
controllerManagerExtraArgs:
controllers: "*,-persistentvolume-binder"
horizontal-pod-autoscaler-use-rest-clients: "true"
horizontal-pod-autoscaler-sync-period: "10s"
node-monitor-grace-period: "10s"
apiServerExtraArgs:
runtime-config: "api/all=true"
feature-gates: "TaintBasedEvictions=true"
proxy-client-cert-file: "/etc/kubernetes/pki/front-proxy-client.crt"
proxy-client-key-file: "/etc/kubernetes/pki/front-proxy-client.key"
selfHosted: true
|
Update from Hackage at 2018-11-08T08:23:48Z | homepage: https://github.com/apeyroux/google-isbn#readme
changelog-type: ''
hash: aa34bfee101247a7a86f7f899bfecde33998d9b2cd302b885d124a22a11ff841
test-bench-deps: {}
maintainer: alex@px.io
synopsis: ''
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.2 && <5'
text: -any
conduit: -any
conduit-extra: -any
http-conduit: -any
aeson: -any
all-versions:
- '0.3'
author: Alexandre Peyroux
latest: '0.3'
description-type: haddock
description: Basic utility to search an ISBN using the Google Books webservice
license-name: BSD3
| homepage: https://github.com/apeyroux/google-isbn#readme
changelog-type: ''
hash: 9baa01ec8a38d7227db54451e0ea9fbf36f0b5ba15adaad17f0e0b938289d816
test-bench-deps: {}
maintainer: alex@px.io
synopsis: ''
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.2 && <5'
text: -any
conduit: -any
conduit-extra: -any
http-conduit: -any
aeson: -any
all-versions:
- '0.3'
- '1.0.0'
- '1.0.1'
author: Alexandre Peyroux
latest: '1.0.1'
description-type: haddock
description: Basic utility to search an ISBN using the Google Books webservice
license-name: BSD3
|
Add links for hack1 and hackprop2 | # Hi! I'm Mansam.
# samlucidi.com is back up!
- blog: http://mansam.github.io/
feed: http://mansam.github.io/feeds/all.atom.xml
forges:
- http://github.com/mansam
- http://bitbucket.org/slucidi
irc: mansam
name: Sam Lucidi
rit_dce: sxl6435
hackprop1: http://mansam.github.io/articles/sprint1-project-proposal.html
bugfix: http://www.samlucidi.com/fossrit-bugfix-assignment.html
| # Hi! I'm Mansam.
# samlucidi.com is back up!
- blog: http://mansam.github.io/
feed: http://mansam.github.io/feeds/all.atom.xml
forges:
- http://github.com/mansam
- http://bitbucket.org/slucidi
irc: mansam
name: Sam Lucidi
rit_dce: sxl6435
hackprop1: http://www.samlucidi.com/fossrit-proposal-for-sprint-1.html
bugfix: http://www.samlucidi.com/fossrit-bugfix-assignment.html
hack1: http://www.samlucidi.com/hotdate-intuitive-date-formatting.html
hackprop2: http://www.samlucidi.com/fossrit-proposal-for-sprint-2.html
|
Use action master branch for testing | # Build project using CMake
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
uses: HorstBaerbel/action-cmake@1.0
with:
sourcedir: '.'
builddir: 'build'
cmakeoptions: ''
| # Build project using CMake
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
uses: HorstBaerbel/action-cmake@master
with:
sourcedir: '.'
builddir: 'build'
cmakeoptions: ''
|
Add some new manual github id -> email mappings | - email: arun.p.gupta@oracle.com
github_id: arun-gupta
- email: argupta@argupta.csb
github_id: arun-gupta
- email: arungupta@users.noreply.github.com
github_id: arun-gupta
- email: patrik@dudits.net
github_id: pdudits
- email: contact@mgreau.com
github_id: mgreau
- email: psakar@redhat.com
github_id: psakar
- email: scherrer@openwms.org
github_id: openwms | - email: arun.p.gupta@oracle.com
github_id: arun-gupta
- email: argupta@argupta.csb
github_id: arun-gupta
- email: arungupta@users.noreply.github.com
github_id: arun-gupta
- email: patrik@dudits.net
github_id: pdudits
- email: contact@mgreau.com
github_id: mgreau
- email: psakar@redhat.com
github_id: psakar
- email: scherrer@openwms.org
github_id: openwms
- email: johndament@apache.org
github_id: johnament
- email: john.ament@spartasystems.com
github_id: johnament
- email: arjan.tijms@kizitos.com
github_id: arjantijms |
Adjust for latest MonologBundle change | imports:
- { resource: config.yml }
monolog:
handlers:
main:
type: fingerscrossed
action_level: error
handler: nested
nested:
type: stream
path: %kernel.logs_dir%/%kernel.environment%.log
level: debug
| imports:
- { resource: config.yml }
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
nested:
type: stream
path: %kernel.logs_dir%/%kernel.environment%.log
level: debug
|
Build wasm binding, run wasm tests on GH actions | name: CI
on:
push:
branches:
- master
pull_request:
branches:
- "**"
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
tests:
name: Unix tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
toolchain: [stable]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
- name: Build C library
run: make
- name: Build CLI
run: cargo build --release
- name: Setup fixture parsers
run: |
script/fetch-fixtures
script/generate-fixtures
- name: Run tests
run: script/test
- name: Run benchmarks
run: script/benchmark
| name: CI
on:
push:
branches:
- master
pull_request:
branches:
- "**"
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
tests:
name: Unix tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
toolchain: [stable]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Cache artifacts
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
- name: Build C library
run: make
- name: Build wasm library
run: script/build-wasm
- name: Build CLI
run: cargo build --release
- name: Set up fixture parsers
run: |
script/fetch-fixtures
script/generate-fixtures
script/generate-fixtures-wasm
- name: Run main tests
run: script/test
- name: Run wasm tests
run: script/test-wasm
- name: Run benchmarks
run: script/benchmark
|
Unify pull & run steps | #Run jekyll2cms in a Docker container to convert the new blogpost into XML
name: convert-blogpost-to-xml
on:
push:
branches:
- master
jobs:
pull-jekyll2cms-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Pull Docker image
run: docker pull jekyll2cms/jekyll2cms:latest
run-jekyll2cms-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Docker image
run: docker run jekyll2cms/jekyll2cms:latest --env JEKYLL_START_NOTIFICATION=yes --env REPOSITORY_REMOTE_URL=https://github.com/s-gbz/devblog --env REPOSITORY_LOCAL_USER_NAME=${{ secrets.REPOSITORY_LOCAL_USER_NAME }} --env REPOSITORY_LOCAL_USER_MAIL=${{ REPOSITORY_LOCAL_USER_MAIL }} --env REPOSITORY_LOCAL_USER_PASSWORD=${{ secrets.REPOSITORY_LOCAL_USER_PASSWORD }}
| #Run jekyll2cms in a Docker container to convert the new blogpost into XML
name: convert-blogpost-to-xml
on:
push:
branches:
- master
jobs:
pull-and-run-jekyll2cms-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Pull Docker image
run: docker pull jekyll2cms/jekyll2cms:latest
- name: Run Docker image
run: docker run jekyll2cms/jekyll2cms:latest --env JEKYLL_START_NOTIFICATION=yes --env REPOSITORY_REMOTE_URL=https://github.com/s-gbz/devblog --env REPOSITORY_LOCAL_USER_NAME=${{ secrets.REPOSITORY_LOCAL_USER_NAME }} --env REPOSITORY_LOCAL_USER_MAIL=${{ REPOSITORY_LOCAL_USER_MAIL }} --env REPOSITORY_LOCAL_USER_PASSWORD=${{ secrets.REPOSITORY_LOCAL_USER_PASSWORD }}
|
Add a test section to check if the module is importable. | {% set name = "pluginbase" %}
{% set version = "0.5" %}
{% set sha256 = "b4f830242a078a4f44c978a84f3365bba4d008fdd71a591c71447f4df35354dd" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
noarch: python
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
host:
- python
- setuptools
run:
- python
about:
home: http://github.com/mitsuhiko/pluginbase
license: BSD-3-Clause
license_file: LICENSE
summary: A support library for building plugins sytems in Python.
dev_url: https://github.com/mitsuhiko/pluginbase
extra:
recipe-maintainers:
- windelbouwman
- windelbouwmanbosch
| {% set name = "pluginbase" %}
{% set version = "0.5" %}
{% set sha256 = "b4f830242a078a4f44c978a84f3365bba4d008fdd71a591c71447f4df35354dd" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
noarch: python
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
host:
- python
- setuptools
run:
- python
test:
imports:
- pluginbase
about:
home: http://github.com/mitsuhiko/pluginbase
license: BSD-3-Clause
license_file: LICENSE
summary: A support library for building plugins sytems in Python.
dev_url: https://github.com/mitsuhiko/pluginbase
extra:
recipe-maintainers:
- windelbouwman
- windelbouwmanbosch
|
Migrate http_methods to Dart null safety | name: http_methods
version: 1.0.0
description: |
List of all HTTP methods registered with IANA as list of strings, and metadata
such as whether a method idempotent.
homepage: https://github.com/google/dart-neats/tree/master/http_methods
repository: https://github.com/google/dart-neats.git
issue_tracker: https://github.com/google/dart-neats/labels/pkg:http_methods
dev_dependencies:
test: ^1.5.1
pedantic: ^1.4.0
environment:
sdk: '>=2.0.0 <3.0.0'
| name: http_methods
version: 2.0.0-nullsafety.0
description: |
List of all HTTP methods registered with IANA as list of strings, and metadata
such as whether a method idempotent.
homepage: https://github.com/google/dart-neats/tree/master/http_methods
repository: https://github.com/google/dart-neats.git
issue_tracker: https://github.com/google/dart-neats/labels/pkg:http_methods
dev_dependencies:
test: ^1.16.0-nullsafety
pedantic: ^1.10.0-nullsafety
environment:
sdk: '>=2.12.0-0 <3.0.0'
|
Add more sorting to Q20 results | workload: BI
operation: read
number: 20
title: Recruitment
description: |
Given a *Company* `company` and a *Person* `person2` (who is known to be working at another *Company*), find a *Person* (`person1`) working the in the `company` who have the top-20 shortest path to `person2` through people who have studied together.
On this path, we only consider edges between *Persons* who know each other and attended the same university and set the weight of the edge to the absolute difference between the year of enrolment plus 1 (`studyAt.classYear + 1`).
If there are multiple *Person* `person1` nodes with the same shortest path, return all of them.
parameters:
- name: company
type: Long String
description: "*Companies* with a similar number of employees (former or current) are selected"
- name: person2Id
type: ID
result:
- name: person1.id
type: ID
- name: totalWeight
type: 64-bit Integer
category: calculated
sort:
- name: person1.id
direction: asc
limit: 20
choke_points: [3.3, 7.6, 7.7, 8.4, 8.6]
relevance: |
Implementations can either pre-compute edge weights or compute them on-the-fly.
To find a weighted shortest path efficiently, implementations can use e.g. a bidirectional Dijkstra algorithm.
| workload: BI
operation: read
number: 20
title: Recruitment
description: |
Given a *Company* `company` and a *Person* `person2` (who is known to be working at another *Company*), find a *Person* (`person1`) working the in the `company` who have the top-20 shortest path to `person2` through people who have studied together.
On this path, we only consider edges between *Persons* who know each other and attended the same university and set the weight of the edge to the absolute difference between the year of enrolment plus 1 (`studyAt.classYear + 1`).
If there are multiple *Person* `person1` nodes with the same shortest path, return all of them.
parameters:
- name: company
type: Long String
description: "*Companies* with a similar number of employees (former or current) are selected"
- name: person2Id
type: ID
result:
- name: person1.id
type: ID
- name: totalWeight
type: 64-bit Integer
category: calculated
sort:
- name: totalWeight
direction: desc
- name: person1.id
direction: asc
limit: 20
choke_points: [3.3, 7.6, 7.7, 8.4, 8.6]
relevance: |
Implementations can either pre-compute edge weights or compute them on-the-fly.
To find a weighted shortest path efficiently, implementations can use e.g. a bidirectional Dijkstra algorithm.
|
Add Python3 zed unit tests | - project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-python3-yoga-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
| - project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-python3-zed-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
|
Fix JMX authentication files location | #
# Configure Tomcat
#
- name: generate a custom "setenv.sh" from template, provides the ability to configure Tomcat at start-up from outside the container
template:
src: setenv.sh.j2
dest: "{{ tomcat_catalina_base }}/bin/setenv.sh"
mode: ug+x
- name: "generate a custom 'jmxremote.password' from template in {{ java_home }}/jre/lib/management/ folder, to use pasword protected JMX ports"
template:
src: jmxremote.password.j2
dest: "{{ java_home }}/jre/lib/management/{{ tomcat_process_name }}.jmxremote.password"
owner: "{{ tomcat_system_user }}"
group: "{{ tomcat_system_group }}"
mode: 0600
- name: "generate a custom 'jmxremote.access' from template in {{ java_home }}/jre/lib/management/ folder, to use pasword protected JMX ports"
template:
src: jmxremote.access.j2
dest: "{{ java_home }}/jre/lib/management/{{ tomcat_process_name }}.jmxremote.access"
owner: "{{ tomcat_system_user }}"
group: "{{ tomcat_system_group }}"
mode: 0640
| #
# Configure Tomcat
#
- name: generate a custom "setenv.sh" from template, provides the ability to configure Tomcat at start-up from outside the container
template:
src: setenv.sh.j2
dest: "{{ tomcat_catalina_base }}/bin/setenv.sh"
mode: ug+x
- name: "generate a custom '{{ tomcat_process_name }}.jmxremote.password' from template, to use pasword protected JMX ports"
template:
src: jmxremote.password.j2
dest: "{{ tomcat_catalina_base }}/conf/{{ tomcat_process_name }}.jmxremote.password"
owner: "{{ tomcat_system_user }}"
group: "{{ tomcat_system_group }}"
mode: 0600
- name: "generate a custom '{{ tomcat_process_name }}.jmxremote.access' from template, to use pasword protected JMX ports"
template:
src: jmxremote.access.j2
dest: "{{ tomcat_catalina_base }}/conf/{{ tomcat_process_name }}.jmxremote.access"
owner: "{{ tomcat_system_user }}"
group: "{{ tomcat_system_group }}"
mode: 0640
|
Change the memory configuration for AppVeyor. | version: '{build}'
skip_tags: true
environment:
JAVA_OPTS: -XX:+CMSClassUnloadingEnabled -Xmx2g
MAVEN_OPTS: -XX:+CMSClassUnloadingEnabled -Xmx2g
PATH: C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH%
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
- ps: |
Add-Type -AssemblyName System.IO.Compression.FileSystem
if (!(Test-Path -Path "C:\maven" )) {
(new-object System.Net.WebClient).DownloadFile('http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip', 'C:\maven-bin.zip')
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
}
- cmd: mvn --version
- cmd: java -version
build_script:
- mvn -B -e -P!generateproduct -Dio.sarl.docs.tests.skip=true clean install
cache:
- C:\maven\ -> appveyor.yml
- C:\Users\appveyor\.m2 -> pom.xml
| version: '{build}'
skip_tags: true
environment:
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
JAVA_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g
MAVEN_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g
PATH: C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH%
install:
- ps: |
Add-Type -AssemblyName System.IO.Compression.FileSystem
if (!(Test-Path -Path "C:\maven" )) {
(new-object System.Net.WebClient).DownloadFile('http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip', 'C:\maven-bin.zip')
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
}
- cmd: mvn --version
- cmd: java -version
build_script:
- mvn -B -e -P!generateproduct -Dio.sarl.docs.tests.skip=true clean install
cache:
- C:\maven\ -> appveyor.yml
- C:\Users\appveyor\.m2 -> pom.xml
|
Update buildkite plugin docker-compose to v2.5.1 | steps:
- name: ":rspec:"
command: "rspec --color specs"
plugins:
docker-compose#v2.5.0:
run: app
| steps:
- name: ":rspec:"
command: "rspec --color specs"
plugins:
docker-compose#v2.5.1:
run: app
|
Update from Hackage at 2018-03-16T01:03:29Z | homepage: https://github.com/athanclark/n-tuple#readme
changelog-type: ''
hash: 977c03c730d02324266ea98afa6bf230c1295b260419397df5e90d54d7801839
test-bench-deps: {}
maintainer: athan.clark@gmail.com
synopsis: Homogeneous tuples of arbitrary length.
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
singletons: -any
vector: -any
all-versions:
- '0.0.0'
- '0.0.1'
- '0.0.1.1'
author: Athan Clark
latest: '0.0.1.1'
description-type: markdown
description: ! "# n-tuple\n\n\n```haskell\n{-# LANGUAGE DataKinds -#}\n\nimport Data.NTuple\n\n\nfoo
:: NTuple 3 String\nfoo\n = incl _3 \"three\"\n . incl _2 \"two\"\n . incl _1
\"one\"\n $ empty\n\n\none :: String\none = proj _1 foo\n\ntwo :: String\ntwo =
proj _2 foo\n```\n"
license-name: BSD3
| homepage: https://github.com/athanclark/n-tuple#readme
changelog-type: ''
hash: 2450891bbb59819ea14889fb863ee8fea52ee1056ce73d458b6a1ce2005ef0b9
test-bench-deps: {}
maintainer: athan.clark@gmail.com
synopsis: Homogeneous tuples of arbitrary length.
changelog: ''
basic-deps:
base: ==4.10.*
singletons: ! '>=2.3 && <2.4'
vector: -any
all-versions:
- '0.0.0'
- '0.0.1'
- '0.0.1.1'
- '0.0.2.0'
author: Athan Clark
latest: '0.0.2.0'
description-type: markdown
description: ! "# n-tuple\n\n\n```haskell\n{-# LANGUAGE DataKinds -#}\n\nimport Data.NTuple\n\n\nfoo
:: NTuple 3 String\nfoo\n = incl _3 \"three\"\n . incl _2 \"two\"\n . incl _1
\"one\"\n $ empty\n\n\none :: String\none = proj _1 foo\n\ntwo :: String\ntwo =
proj _2 foo\n```\n"
license-name: BSD3
|
Move package list to variables | variables:
LAST_ABI_BREAK: "43a593b5b4097b887e49eaacafbc1337bd709718"
stages:
- test
build-fedora:
image: fedora:latest
stage: test
before_script:
- dnf install -y gcc redhat-rpm-config libtool automake autoconf gtk-doc make glib2-devel systemd-devel umockdev-devel git libabigail gnome-common xz
script:
- ./autogen.sh --disable-dependency-tracking
- make
- make install
- make check
- ./.ci/check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD)
- make distcheck
| variables:
LAST_ABI_BREAK: "43a593b5b4097b887e49eaacafbc1337bd709718"
DNF_CORE_DEPS: >
gcc
gettext
redhat-rpm-config
libtool
automake
autoconf
xz
make
git
gnome-common
systemd-devel
glib2-devel
DNF_TEST_DEPS: >
gobject-introspection-devel
vala
umockdev-devel
libabigail
DNF_API_DOC_DEPS: >
gtk-doc
stages:
- test
build-fedora:
image: fedora:latest
stage: test
before_script:
- dnf install -y ${DNF_CORE_DEPS} ${DNF_TEST_DEPS} ${DNF_API_DOC_DEPS}
script:
- ./autogen.sh --disable-dependency-tracking
- make
- make install
- make check
- ./.ci/check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD)
- make distcheck
|
Deploy automatically on successful CI build | machine:
node:
version: 0.10.28
python:
version: 3.4.1
services:
- postgresql
environment:
TEST_DATABASE_URL: postgres://ubuntu:@127.0.0.1:5432/circle_test
dependencies:
override:
- pip install -r requirements-dev.txt
- npm install
- bower install
test:
override:
- isort --recursive --diff kuulemma tests && isort --recursive --check-only kuulemma tests
- flake8 .
- ./node_modules/.bin/gulp jshint
- py.test tests
- ./node_modules/.bin/gulp test-karma
- ./node_modules/.bin/gulp test-protractor
| machine:
node:
version: 0.10.28
python:
version: 3.4.1
services:
- postgresql
environment:
TEST_DATABASE_URL: postgres://ubuntu:@127.0.0.1:5432/circle_test
dependencies:
override:
- pip install -r requirements-dev.txt
- npm install
- bower install
test:
override:
- isort --recursive --diff kuulemma tests && isort --recursive --check-only kuulemma tests
- flake8 .
- ./node_modules/.bin/gulp jshint
- py.test tests
- ./node_modules/.bin/gulp test-karma
- ./node_modules/.bin/gulp test-protractor
deployment:
production:
branch: master
commands:
- git remote add production dokku@185.20.136.244:kuulemispalvelu.hel.fi
- git push production master
|
Add working key for Google Cloud SDK | language: python
sudo: required
dist: trusty
before_install:
- openssl aes-256-cbc -K $encrypted_a0717c12b42e_key -iv $encrypted_a0717c12b42e_iv -in gcp-travisci.json.enc -out gcp-travisci.json -d
- echo "deb http://packages.cloud.google.com/apt cloud-sdk-$(lsb_release -c -s) main" | sudo tee /etc/apt/sources.list.d/google-cloud-sdk.list
- wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo apt-get update -qq && sudo apt-get install google-cloud-sdk
- gcloud auth activate-service-account --key-file gcp-travisci.json
install:
- gcloud config set project project-kel
- ./scripts/ci/deps.sh
script:
- ./scripts/ci/build.sh
after_success:
- ./scripts/ci/deploy.sh
| language: python
sudo: required
dist: trusty
before_install:
- openssl aes-256-cbc -K $encrypted_a0717c12b42e_key -iv $encrypted_a0717c12b42e_iv -in gcp-travisci.json.enc -out gcp-travisci.json -d
- echo "deb http://packages.cloud.google.com/apt cloud-sdk-$(lsb_release -c -s) main" | sudo tee /etc/apt/sources.list.d/google-cloud-sdk.list
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3746C208A7317B0F
- sudo apt-get update -qq && sudo apt-get install google-cloud-sdk
- gcloud auth activate-service-account --key-file gcp-travisci.json
install:
- gcloud config set project project-kel
- ./scripts/ci/deps.sh
script:
- ./scripts/ci/build.sh
after_success:
- ./scripts/ci/deploy.sh
|
Use latest bundler & rubygems | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- rbx-19mode
| language: ruby
before_install:
- gem update --system
- gem install bundler --pre
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- rbx-19mode
|
Set global constants for Behat when running on Travis | language: php
php:
- 5.4
- 5.5
- 7.0
- hhvm
env:
- WP_VERSION=master
- WP_VERSION=4.2
matrix:
# Nice-to-haves for right now, but not worth considering the build "broken"
allow_failures:
- php: 7.0
- php: hhvm
before_script:
- composer install
- bash ./bin/install-package-tests.sh
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- ./vendor/bin/test-reporter
- ./vendor/bin/phpcs
- ./vendor/bin/behat
cache:
directories:
- vendor/
notifications:
email: false | language: php
php:
- 5.4
- 5.5
- 7.0
- hhvm
env:
- WP_VERSION=master
- WP_VERSION=4.2
global:
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
- WP_CLI_CONFIG_PATH=/tmp/wp-cli-phar/config.yml
matrix:
# Nice-to-haves for right now, but not worth considering the build "broken"
allow_failures:
- php: 7.0
- php: hhvm
before_script:
- composer install
- bash ./bin/install-package-tests.sh
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- ./vendor/bin/test-reporter
- ./vendor/bin/phpcs
- ./vendor/bin/behat
cache:
directories:
- vendor/
notifications:
email: false |
Use the rspec rake task :apple: | language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
script: bundle exec rspec spec
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
|
Change used Go versions for builds on Travis to the most recent ones | language: go
sudo: false
go:
- 1.6
- 1.7
- 1.8
- 1.9
| language: go
sudo: false
go:
- 1.12
- 1.13
- 1.14
|
Update Travis to use bundler 1.11 | language: ruby
rvm:
- 2.1
- 2.2
- 2.3.0 # The version of RVM installed on Travis doesn't yet recognise 2.3 as an alias of 2.3.0
notifications:
email:
- support@travellink.com.au
flowdock:
secure: D2Kf5l63amaHyf0WA5sVDLsB3dpSQpWrNYGgcqiKLPqBy/oG+bR93iuhe7e0FKKCImxGo3UyWor/QURbNi9tYI1uQTzWWA+UdF3m+dmBZEWoNDCWXGYGOaxDRCWNC0a5VGQXwNIAGqDNxvk8LxwFdqqX0KYPmyuVWbXvKlUf7mI=
| language: ruby
rvm:
- 2.1
- 2.2
- 2.3.0 # The version of RVM installed on Travis doesn't yet recognise 2.3 as an alias of 2.3.0
before_install: gem install bundler -v 1.11.2
notifications:
email:
- support@travellink.com.au
flowdock:
secure: D2Kf5l63amaHyf0WA5sVDLsB3dpSQpWrNYGgcqiKLPqBy/oG+bR93iuhe7e0FKKCImxGo3UyWor/QURbNi9tYI1uQTzWWA+UdF3m+dmBZEWoNDCWXGYGOaxDRCWNC0a5VGQXwNIAGqDNxvk8LxwFdqqX0KYPmyuVWbXvKlUf7mI=
|
Manage to correctly spell 'postgresql' ... | dist: xenial
language: python
cache: pip
service:
- posgresql
- mysql
python:
- "3.7"
env:
- TESTING_DB=sqlite3
- TESTING_DB=postgresql
- TESTING_DB=mysql
before_install:
- psql -c "CREATE USER evennia WITH PASSWORD 'password'; CREATE DATABASE evennia; GRANT ALL PRIVILEGES ON DATABASE evennia TO evennia;'"
- mysql -e "CREATE USER 'evennia'@'localhost' IDENTIFIED BY 'password'; CREATE DATABASE evennia; ALTER DATABASE `evennia` CHARACTER SET utf8; GRANT ALL PRIVILEGES ON evennia.* TO 'evennia'@'localost'; FLUSH PRIVILEGES;" -U postgres
install:
- pip install psycopg2-binary
- pip install mysqlclient
- pip install -e .
- pip install coveralls
before_script:
- python -VV
- evennia --init testing_mygame
- cp .travis/testing_settings.py testing_mygame/server/conf/settings.py
- cd testing_mygame
- evennia migrate
script:
- coverage run --source=../evennia --omit=*/migrations/*,*/urls.py,*/test*.py,*.sh,*.txt,*.md,*.pyc,*.service ../bin/unix/evennia test evennia
after_success:
- coveralls
| dist: xenial
language: python
cache: pip
service:
- postgresql
- mysql
python:
- "3.7"
env:
- TESTING_DB=sqlite3
- TESTING_DB=postgresql
- TESTING_DB=mysql
before_install:
- psql -c "CREATE USER evennia WITH PASSWORD 'password'; CREATE DATABASE evennia; GRANT ALL PRIVILEGES ON DATABASE evennia TO evennia;'"
- mysql -e "CREATE USER 'evennia'@'localhost' IDENTIFIED BY 'password'; CREATE DATABASE evennia; ALTER DATABASE `evennia` CHARACTER SET utf8; GRANT ALL PRIVILEGES ON evennia.* TO 'evennia'@'localost'; FLUSH PRIVILEGES;" -U postgres
install:
- pip install psycopg2-binary
- pip install mysqlclient
- pip install -e .
- pip install coveralls
before_script:
- python -VV
- evennia --init testing_mygame
- cp .travis/testing_settings.py testing_mygame/server/conf/settings.py
- cd testing_mygame
- evennia migrate
script:
- coverage run --source=../evennia --omit=*/migrations/*,*/urls.py,*/test*.py,*.sh,*.txt,*.md,*.pyc,*.service ../bin/unix/evennia test evennia
after_success:
- coveralls
|
Use a Ruby 2.x compatible version of JRuby for testing. | language: ruby
sudo: false
rvm:
- '2.0'
- '2.1'
- '2.2'
- '2.3.1'
- jruby-19mode
script: bundle exec rspec
before_install:
- 'gem install bundler'
| language: ruby
sudo: false
env:
global:
- 'JRUBY_OPTS=--debug'
rvm:
- '2.0'
- '2.1'
- '2.2'
- '2.3.1'
- 'jruby-9'
script: bundle exec rspec
before_install:
- 'gem install bundler'
|
Add func-abort check by vim-lint | language: viml
install:
- git clone https://github.com/thinca/vim-themis
- git clone https://github.com/syngan/vim-vimlint /tmp/vim-vimlint
- git clone https://github.com/ynkdir/vim-vimlparser /tmp/vim-vimlparser
before_script:
- vim --version
script:
- vim-themis/bin/themis --reporter spec
- sh /tmp/vim-vimlint/bin/vimlint.sh -l /tmp/vim-vimlint -p /tmp/vim-vimlparser -e EVL102.l:_=1 autoload/incsearch.vim
- sh /tmp/vim-vimlint/bin/vimlint.sh -l /tmp/vim-vimlint -p /tmp/vim-vimlparser -e EVL102.l:_=1 autoload/incsearch
| language: viml
install:
- git clone https://github.com/thinca/vim-themis
- git clone https://github.com/syngan/vim-vimlint /tmp/vim-vimlint
- git clone https://github.com/ynkdir/vim-vimlparser /tmp/vim-vimlparser
before_script:
- vim --version
script:
- vim-themis/bin/themis --reporter spec
- sh /tmp/vim-vimlint/bin/vimlint.sh -l /tmp/vim-vimlint -p /tmp/vim-vimlparser -e EVL102.l:_=1 -c func_abort=1 autoload/incsearch.vim
- sh /tmp/vim-vimlint/bin/vimlint.sh -l /tmp/vim-vimlint -p /tmp/vim-vimlparser -e EVL102.l:_=1 -c func_abort=1 autoload/incsearch
|
Test with Twisted 14.0 on both Python 2 and 3. | language: python
env:
- TWISTED=Twisted==12.0 RUNTESTS=trial
- TWISTED=Twisted==12.1 RUNTESTS=trial
- TWISTED=Twisted==12.2 RUNTESTS=trial
- TWISTED=Twisted==12.3 RUNTESTS=trial
- TWISTED=Twisted==13.0 RUNTESTS=trial
- TWISTED=Twisted==13.1 RUNTESTS=trial
- TWISTED=Twisted==13.2 RUNTESTS=trial
python:
- 2.6
- 2.7
- pypy
matrix:
include:
- python: 3.3
env: TWISTED=git+https://github.com/twisted/twisted.git RUNTESTS="python -m unittest discover"
install:
- python setup.py --version
- pip install -q --no-use-wheel $TWISTED --use-mirrors
- python setup.py -q install
script: $RUNTESTS crochet.tests
notifications:
email: false
| language: python
env:
- TWISTED=Twisted==12.1 RUNTESTS=trial
- TWISTED=Twisted==12.2 RUNTESTS=trial
- TWISTED=Twisted==12.3 RUNTESTS=trial
- TWISTED=Twisted==13.0 RUNTESTS=trial
- TWISTED=Twisted==13.1 RUNTESTS=trial
- TWISTED=Twisted==13.2 RUNTESTS=trial
- TWISTED=Twisted==14.0 RUNTESTS=trial
python:
- 2.6
- 2.7
- pypy
matrix:
include:
- python: 3.3
env: TWISTED=14.0 RUNTESTS="python -m unittest discover"
install:
- python setup.py --version
- pip install -q --no-use-wheel $TWISTED --use-mirrors
- python setup.py -q install
script: $RUNTESTS crochet.tests
notifications:
email: false
|
Install npm 3 on Travis | git:
depth: 10
branches:
only:
- master
env:
global:
- ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4
osx_image: xcode7.3
compiler: clang
matrix:
include:
- os: linux
env: NODE_VERSION=4
- os: osx
env: ATOM_SPECS_TASK=core NODE_VERSION=4
- os: osx
env: ATOM_SPECS_TASK=packages NODE_VERSION=4
sudo: false
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
script: script/cibuild
cache:
timeout: 1000
directories:
- node_modules
- build/node_modules
- apm/node_modules
- $HOME/.atom/compile-cache
notifications:
email:
on_success: never
on_failure: change
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- git
- libgnome-keyring-dev
- fakeroot
- gcc-multilib
| git:
depth: 10
branches:
only:
- master
env:
global:
- ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4
osx_image: xcode7.3
compiler: clang
matrix:
include:
- os: linux
env: NODE_VERSION=4
- os: osx
env: ATOM_SPECS_TASK=core NODE_VERSION=4
- os: osx
env: ATOM_SPECS_TASK=packages NODE_VERSION=4
sudo: false
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
- npm install -g npm
script: script/cibuild
cache:
timeout: 1000
directories:
- node_modules
- build/node_modules
- apm/node_modules
- $HOME/.atom/compile-cache
notifications:
email:
on_success: never
on_failure: change
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- git
- libgnome-keyring-dev
- fakeroot
- gcc-multilib
|
Build snap using up-to-date golang | name: micro
version: git
summary: A modern and intuitive terminal-based text editor
description: |
Micro is a terminal-based text editor that aims to be easy to use and
intuitive, while also taking advantage of the full capabilities of modern
terminals.
confinement: classic
apps:
micro:
command: bin/micro
parts:
micro:
source: .
source-type: git
plugin: go
build-packages: [make]
prepare: |
mkdir -p ../go/src/github.com/zyedidia/micro
cp -R . ../go/src/github.com/zyedidia/micro
build: |
export GOPATH=$(pwd)/../go
export GOBIN=$(pwd)/../go/bin
cd ../go/src/github.com/zyedidia/micro
make install
install: |
mkdir $SNAPCRAFT_PART_INSTALL/bin
mv ../go/bin/micro $SNAPCRAFT_PART_INSTALL/bin/
| name: micro
version: git
summary: A modern and intuitive terminal-based text editor
description: |
Micro is a terminal-based text editor that aims to be easy to use and
intuitive, while also taking advantage of the full capabilities of modern
terminals.
confinement: classic
apps:
micro:
command: bin/micro
parts:
go:
source-tag: go1.10
micro:
after: [go]
source: .
source-type: git
plugin: nil
build-packages: [make]
prepare: |
mkdir -p ../go/src/github.com/zyedidia/micro
cp -R . ../go/src/github.com/zyedidia/micro
build: |
export GOPATH=$(pwd)/../go
export GOBIN=$(pwd)/../go/bin
cd ../go/src/github.com/zyedidia/micro
make install
install: |
mkdir $SNAPCRAFT_PART_INSTALL/bin
mv ../go/bin/micro $SNAPCRAFT_PART_INSTALL/bin/
|
Remove Python 3.3x64 and Add Python 3.6 | environment:
matrix:
# For Python versions available on Appveyor, see
# http://www.appveyor.com/docs/installed-software#python
# The list here is complete (excluding Python 2.6, which
# isn't covered by this document) at the time of writing.
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python33-x64"
DISTUTILS_USE_SDK: "1"
- PYTHON: "C:\\Python34-x64"
DISTUTILS_USE_SDK: "1"
- PYTHON: "C:\\Python35-x64"
install:
# We need wheel installed to build wheels
- "%PYTHON%\\python.exe -m pip install brotli enum regex"
build: off
test_script:
- "%PYTHON%\\python.exe test.py"
| environment:
matrix:
# For Python versions available on Appveyor, see
# http://www.appveyor.com/docs/installed-software#python
# The list here is complete (excluding Python 2.6, which
# isn't covered by this document) at the time of writing.
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python34-x64"
DISTUTILS_USE_SDK: "1"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
install:
# We need wheel installed to build wheels
- "%PYTHON%\\python.exe -m pip install brotli regex"
build: off
test_script:
- "%PYTHON%\\python.exe test.py"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.