Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Update paambaati/codeclimate-action action to v3 | name: Test
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Determine env variables from local files
run: |
echo "GO_VERSION=$(grep "go 1." go.mod | cut -d " " -f 2)" >> $GITHUB_ENV
echo "CC_TEST_REPORTER_ID=$(grep "reporter_id" .codeclimate.yml | cut -d " " -f 2)" >> $GITHUB_ENV
- uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run tests
run: make integration-test -e test_args="-coverprofile .github/cover.out"
- name: Publish Code Coverage
if: success() || failure()
uses: paambaati/codeclimate-action@v2.7.5
with:
coverageCommand: sed -i "s%github.com/ccremer/%%" .github/cover.out
prefix: ${{ github.event.repository.name }}
coverageLocations:
"${{github.workspace}}/.github/cover.out:gocov"
| name: Test
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Determine env variables from local files
run: |
echo "GO_VERSION=$(grep "go 1." go.mod | cut -d " " -f 2)" >> $GITHUB_ENV
echo "CC_TEST_REPORTER_ID=$(grep "reporter_id" .codeclimate.yml | cut -d " " -f 2)" >> $GITHUB_ENV
- uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run tests
run: make integration-test -e test_args="-coverprofile .github/cover.out"
- name: Publish Code Coverage
if: success() || failure()
uses: paambaati/codeclimate-action@v3.0.0
with:
coverageCommand: sed -i "s%github.com/ccremer/%%" .github/cover.out
prefix: ${{ github.event.repository.name }}
coverageLocations:
"${{github.workspace}}/.github/cover.out:gocov"
|
Update from Forestry.io - Updated Forestry configuration | ---
label: team
hide_body: false
is_partial: false
fields: []
| ---
label: team
hide_body: false
is_partial: false
fields:
- type: text
name: ad_soyad
label: Ad Soyad
|
Move kafka.create to the proper yaml location | # Default values for riff.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
create:
crd: true
faas: true
rbac:
# Specifies whether RBAC resources should be created
create: true
apiVersion: v1beta1
kafka:
# Specifies whether the single-node development Kafka chart should be installed
create: false
serviceAccount:
# Specifies whether a service account should be created
create: true
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name:
functionController:
replicaCount: 1
image:
repository: projectriff/function-controller
tag: latest
pullPolicy: IfNotPresent
sidecar:
image:
repository: projectriff/function-sidecar
tag: latest
topicController:
replicaCount: 1
image:
repository: projectriff/topic-controller
tag: latest
pullPolicy: IfNotPresent
httpGateway:
replicaCount: 1
image:
repository: projectriff/http-gateway
tag: latest
pullPolicy: IfNotPresent
service:
name: http
type: LoadBalancer
externalPort: 80
httpHeadersWhitelist: ''
kafka:
broker:
nodes: projectriff-kafka.riff-system:9092
zookeeper:
nodes: projectriff-zookeeper.riff-system:2181
| # Default values for riff.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
create:
crd: true
faas: true
rbac:
# Specifies whether RBAC resources should be created
create: true
apiVersion: v1beta1
serviceAccount:
# Specifies whether a service account should be created
create: true
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name:
functionController:
replicaCount: 1
image:
repository: projectriff/function-controller
tag: latest
pullPolicy: IfNotPresent
sidecar:
image:
repository: projectriff/function-sidecar
tag: latest
topicController:
replicaCount: 1
image:
repository: projectriff/topic-controller
tag: latest
pullPolicy: IfNotPresent
httpGateway:
replicaCount: 1
image:
repository: projectriff/http-gateway
tag: latest
pullPolicy: IfNotPresent
service:
name: http
type: LoadBalancer
externalPort: 80
httpHeadersWhitelist: ''
kafka:
# Specifies whether the single-node development Kafka chart should be installed
create: false
broker:
nodes: projectriff-kafka.riff-system:9092
zookeeper:
nodes: projectriff-zookeeper.riff-system:2181
|
Add pkg/profile as a dependency | version: 2
jobs:
build:
docker:
- image: circleci/golang:1.9.4
steps:
- checkout
- run:
command: pwd
- run:
name: mkdir
command: mkdir -p /go/src/github.com/${CIRCLE_PROJECT_USERNAME}
- run:
name: ln
command: ln -s /home/circleci/project /go/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}
- run:
name: go get readline
command: go get -d -v github.com/chzyer/readline
- run:
name: go get yaml
command: go get -d -v gopkg.in/yaml.v2
- run:
name: go generate
command: go generate -v ./...
- run:
name: go build
command: go build -v github.com/candid82/joker
- run:
name: linter tests
command: ./linter-tests.sh
- run:
name: flag tests
command: ./flag-tests.sh
| version: 2
jobs:
build:
docker:
- image: circleci/golang:1.9.4
steps:
- checkout
- run:
command: pwd
- run:
name: mkdir
command: mkdir -p /go/src/github.com/${CIRCLE_PROJECT_USERNAME}
- run:
name: ln
command: ln -s /home/circleci/project /go/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}
- run:
name: go get readline
command: go get -d -v github.com/chzyer/readline
- run:
name: go get profile
command: go get -d -v github.com/pkg/profile
- run:
name: go get yaml
command: go get -d -v gopkg.in/yaml.v2
- run:
name: go generate
command: go generate -v ./...
- run:
name: go build
command: go build -v github.com/candid82/joker
- run:
name: linter tests
command: ./linter-tests.sh
- run:
name: flag tests
command: ./flag-tests.sh
|
Change circle cache to yarn.lock | version: 2
jobs:
build:
docker:
- image: circleci/node:6.11.1
steps:
- checkout
- restore_cache:
keys:
- v1-dependency-cache-{{ checksum "package.json" }}
- v1-dependency-cache
- run: yarn install
- save_cache:
key: v1-dependency-cache-{{ checksum "package.json" }}
paths:
- node_modules
- ~/.cache/yarn
- run: yarn validate
| version: 2
jobs:
build:
docker:
- image: circleci/node:6.11.1
steps:
- checkout
- restore_cache:
keys:
- v1-dependency-cache-{{ checksum "yarn.lock" }}
- v1-dependency-cache
- run: yarn install
- save_cache:
key: v1-dependency-cache-{{ checksum "yarn.lock" }}
paths:
- node_modules
- ~/.cache/yarn
- run: yarn validate
|
Remove bug in ceph tasks | ---
- name: add ceph repo key
apt_key: url="https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc"
- name: add pycurl
apt: pkg="python-pycurl" update_cache=yes cache_valid_time=3600
- name: add ceph repo
apt_repository: repo="deb http://ceph.com/debian-{{ ceph_release }} precise main" update_cache=no
- name: add ceph extras repo
apt_repository: repo="deb http://ceph.com/packages/ceph-extras/debian precise main" update_cache=no
- name: add ceph package
apt: pkg="ceph" update_cache=yes cache_valid_time=3600
- name: add ceph-extras package
apt: pkg="ceph-extras" update_cache=yes cache_valid_time=3600
| ---
- name: add ceph repo key
apt_key: url="https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc"
- name: add pycurl
apt: pkg="python-pycurl" update_cache=yes cache_valid_time=3600
- name: add ceph repo
apt_repository: repo="deb http://ceph.com/debian-{{ ceph_release }} precise main" update_cache=no
- name: add ceph extras repo
apt_repository: repo="deb http://ceph.com/packages/ceph-extras/debian precise main" update_cache=no
- name: add ceph package
apt: pkg="ceph" update_cache=yes cache_valid_time=3600
|
Add overrides for FQDNSet in test | # See cmd/shell.go for definitions of these rate limits.
totalCertificates:
window: 2160h
threshold: 100000
certificatesPerName:
window: 2160h
threshold: 2
overrides:
ratelimit.me: 1
# Hostnames used by the letsencrypt client integration test.
le.wtf: 10000
le1.wtf: 10000
le2.wtf: 10000
le3.wtf: 10000
nginx.wtf: 10000
good-caa-reserved.com: 10000
bad-caa-reserved.com: 10000
registrationOverrides:
101: 1000
registrationsPerIP:
window: 168h # 1 week
threshold: 3
overrides:
127.0.0.1: 1000000
pendingAuthorizationsPerAccount:
window: 168h # 1 week, should match pending authorization lifetime.
threshold: 3
certificatesPerFQDNSet:
window: 24h
threshold: 5 | # See cmd/shell.go for definitions of these rate limits.
totalCertificates:
window: 2160h
threshold: 100000
certificatesPerName:
window: 2160h
threshold: 2
overrides:
ratelimit.me: 1
# Hostnames used by the letsencrypt client integration test.
le.wtf: 10000
le1.wtf: 10000
le2.wtf: 10000
le3.wtf: 10000
nginx.wtf: 10000
good-caa-reserved.com: 10000
bad-caa-reserved.com: 10000
registrationOverrides:
101: 1000
registrationsPerIP:
window: 168h # 1 week
threshold: 3
overrides:
127.0.0.1: 1000000
pendingAuthorizationsPerAccount:
window: 168h # 1 week, should match pending authorization lifetime.
threshold: 3
certificatesPerFQDNSet:
window: 24h
threshold: 5
overrides:
le.wtf: 10000
le1.wtf: 10000
le2.wtf: 10000
le3.wtf: 10000
le.wtf,le1.wtf: 10000
|
Enable FreeBSD test on CI workflow | name: Runtime Test
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 5'
push:
branches: [master, main, develop]
jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
go: ['1.14', '1.15']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Install tesseract
run: brew install tesseract
- name: Install pkg
run: go get -u -v -t ./...
- name: Test
run: go test -v -cover ./...
test:
runs-on: ubuntu-latest
strategy:
matrix:
runtime:
- ubuntu
- alpine
- archlinux
- centos
- debian
- fedora
- mingw
- quickstart
steps:
- name: checkout
uses: actions/checkout@v2
- name: ${{ matrix.runtime }}
shell: 'script -q -e -c "bash {0}"'
run: bash ./test/runtime --driver docker --build --run ${{ matrix.runtime }}
| name: Runtime Test
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 5'
push:
branches: [master, main, develop]
jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
go: ['1.14', '1.15']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Install tesseract
run: brew install tesseract
- name: Install pkg
run: go get -u -v -t ./...
- name: Test
run: go test -v -cover ./...
test:
runs-on: ubuntu-latest
strategy:
matrix:
runtime:
- ubuntu
- alpine
- archlinux
- centos
- debian
- fedora
- mingw
- quickstart
steps:
- name: checkout
uses: actions/checkout@v2
- name: ${{ matrix.runtime }}
shell: 'script -q -e -c "bash {0}"'
run: bash ./test/runtime --build --run ${{ matrix.runtime }}
vagrant-test:
runs-on: macos-10.15
strategy:
matrix:
runtime:
- freebsd
steps:
- name: checkout
uses: actions/checkout@v2
- name: ${{ matrix.runtime }}
run: bash ./test/runtime --build --run ${{ matrix.runtime }}
|
Add dev summit announcement banner to all projects. | name: TFX
breadcrumb_name: For Production
home_url: /tfx/
parent_project_metadata_path: /_project.yaml
description: >
TFX is an end-to-end platform, spanning from data ingestion, training, to
production-grade serving.
use_site_branding: true
#color: orange
hide_from_products_list: true
content_license: cc3-apache2
buganizer_id: 174941
| name: TFX
breadcrumb_name: For Production
home_url: /tfx/
parent_project_metadata_path: /_project.yaml
description: >
TFX is an end-to-end platform, spanning from data ingestion, training, to
production-grade serving.
use_site_branding: true
#color: orange
hide_from_products_list: true
content_license: cc3-apache2
buganizer_id: 174941
include: /_project_included.yaml
|
Optimize teaser images - Reduce to 400x250 px - Reduce off canvas menu teasers to 150px wide | # Site navigation links
- title: Work
url: /work/
excerpt: "Things designed, illustrated, or developed by Michael Rose."
image: relic-scout-teaser.png
- title: Articles
url: /articles/
excerpt: "A collection of thoughts, inspiration, mistakes, and other minutia."
image: skinny-bones-theme-teaser.jpg
- title: Mastering Paper
url: /mastering-paper/
excerpt: "A collection of tutorials and techniques to help master Paper by 53."
image: paper-53-grid-teaser.jpg
- title: PaperFaces
url: /paperfaces/
excerpt: "Gallery of every PaperFaces portrait drawn to date with Paper by 53."
image: paperfaces-project-teaser.jpg
- title: About
url: /about/
excerpt: "Michael Rose is just another boring, tattooed, time traveling designer from Buffalo."
image: about-teaser.jpg | # Site navigation links
- title: Work
url: /work/
excerpt: "Things designed, illustrated, or developed by Michael Rose."
image: relic-scout-teaser-150.png
- title: Articles
url: /articles/
excerpt: "A collection of thoughts, inspiration, mistakes, and other minutia."
image: skinny-bones-theme-teaser-150.jpg
- title: Mastering Paper
url: /mastering-paper/
excerpt: "A collection of tutorials and techniques to help master Paper by 53."
image: paper-53-grid-teaser-150.jpg
- title: PaperFaces
url: /paperfaces/
excerpt: "Gallery of every PaperFaces portrait drawn to date with Paper by 53."
image: paperfaces-project-teaser-150.jpg
- title: About
url: /about/
excerpt: "Michael Rose is just another boring, tattooed, time traveling designer from Buffalo."
image: about-teaser-150.jpg |
Change default branch to master. | name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Build
shell: bash
run: |
cd $GITHUB_WORKSPACE/tools/ci
./docs.sh
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: $GITHUB_WORKSPACE/tools/ci/docs/doxygen/html
| name: GitHub Pages
on:
push:
branches:
- master
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Build
shell: bash
run: |
cd $GITHUB_WORKSPACE/tools/ci
./docs.sh
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: $GITHUB_WORKSPACE/tools/ci/docs/doxygen/html
|
Create indexes on machine provision | ---
# Playbook to set-up and configure local server
#Keep the role "configure_sphinx" commented unless you want to
#create indexes and start the search daemon (indexing takes 6-8 hours)
- hosts: all
become: true
gather_facts: yes
roles:
- common
- common_debian
- common_vagrant
- setup_nginx
- setup_php
- setup_mysql
- { role: update_code, become: false }
- { role: setup_database, import_csv: 'no' }
- install_sphinx
- { role: configure_sphinx, sphinx_create_indexes: no }
- { role: setup_nihongoparserd, force_install: no }
- { role: setup_sinoparserd, force_install: no }
- { role: setup_suggestd, force_install: no }
- { role: setup_tatodetect, force_install: no }
| ---
# Playbook to set-up and configure local server
#Keep the role "configure_sphinx" commented unless you want to
#create indexes and start the search daemon (indexing takes 6-8 hours)
- hosts: all
become: true
gather_facts: yes
roles:
- common
- common_debian
- common_vagrant
- setup_nginx
- setup_php
- setup_mysql
- { role: update_code, become: false }
- { role: setup_database, import_csv: 'no' }
- install_sphinx
- { role: configure_sphinx, sphinx_create_indexes: true }
- { role: setup_nihongoparserd, force_install: no }
- { role: setup_sinoparserd, force_install: no }
- { role: setup_suggestd, force_install: no }
- { role: setup_tatodetect, force_install: no }
|
Add extra path for our own puppet modules in environment | ---
# defaults file for ansible-puppet
copy_hieradata: false
copy_puppet: false
hieradata: /etc/puppet/hieradata
#
manage_config: False
puppet_server: puppet
certname: "{{ ansible_fqdn }}"
puppet_data_binding_terminus: hiera
puppet_reports: store
puppet_basemodulepath: '$confdir/modules:/usr/share/puppet/modules'
puppet_environmentpath: '$confdir/environments'
puppet_hiera_datadir: '/etc/puppet/hieradata'
puppet_environment: production
| ---
# defaults file for ansible-puppet
copy_hieradata: false
copy_puppet: false
hieradata: /etc/puppet/hieradata
#
manage_config: False
puppet_server: puppet
certname: "{{ ansible_fqdn }}"
puppet_data_binding_terminus: hiera
puppet_reports: store
puppet_basemodulepath: '$confdir/modules:/opt/system-config/production/modules'
puppet_environmentpath: '$confdir/environments'
puppet_hiera_datadir: '/etc/puppet/hieradata'
puppet_environment: production
|
Update from Hackage at 2016-02-16T11:21:01+0000 | homepage: https://bitbucket.org/tdammers/ginger
changelog-type: ''
hash: 59bbd8f7408464b30dcffecdad71ae6ecfb25a0d638461bec8f12d300bd367b9
test-bench-deps: {}
maintainer: tdammers@gmail.com
synopsis: An implementation of the Jinja2 template language in Haskell
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.5 && <5'
unordered-containers: ! '>=0.2.5'
text: -any
ginger: -any
filepath: ! '>=1.3'
parsec: ! '>=3.0'
data-default: ! '>=0.5'
mtl: ! '>=2.2'
transformers: ! '>=0.3'
scientific: ! '>=0.3'
aeson: -any
safe: ! '>=0.3'
vector: -any
all-versions:
- '0.1.0.0'
author: Tobias Dammers
latest: '0.1.0.0'
description-type: haddock
description: ''
license-name: MIT
| homepage: https://bitbucket.org/tdammers/ginger
changelog-type: ''
hash: 42dd338528119b094fc54f7acf76df38855aaf05ac0dd2114f75719f436ee4de
test-bench-deps: {}
maintainer: tdammers@gmail.com
synopsis: An implementation of the Jinja2 template language in Haskell
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.5 && <5'
unordered-containers: ! '>=0.2.5'
text: -any
ginger: -any
filepath: ! '>=1.3'
parsec: ! '>=3.0'
data-default: ! '>=0.5'
mtl: ! '>=2.2'
transformers: ! '>=0.3'
scientific: ! '>=0.3'
aeson: -any
safe: ! '>=0.3'
vector: -any
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.1.1.1'
author: Tobias Dammers
latest: '0.1.1.1'
description-type: haddock
description: ! 'Ginger is Jinja, minus the most blatant pythonisms. Wants
to be feature complete, but isn''t quite there yet.'
license-name: MIT
|
Remove tests for Python 2.6. It's more important that we focus on Python 3 support than spending time adding backwards compatibility | language: python
python:
- "2.6"
- "2.7"
env:
- WAGTAIL_VERSION=1.5.1
- WAGTAIL_VERSION=1.5.2
# command to install dependencies
install:
- pip install wagtail==$WAGTAIL_VERSION
- pip install beautifulsoup4==4.4.1
# command to run tests
script:
- python manage.py test
sudo: false
| language: python
python:
- "2.7"
env:
- WAGTAIL_VERSION=1.5.1
- WAGTAIL_VERSION=1.5.2
# command to install dependencies
install:
- pip install wagtail==$WAGTAIL_VERSION
- pip install beautifulsoup4==4.4.1
# command to run tests
script:
- python manage.py test
sudo: false
|
Test with latest JRuby version | dist: trusty
language: ruby
sudo: false
cache: bundler
rvm:
- jruby-1.7.26
- jruby-9.1.14.0
| dist: trusty
language: ruby
sudo: false
cache: bundler
rvm:
- jruby-1.7.26
- jruby-9.2.4.0
|
Add PHP 7.2 to build and remove HHVM from build | language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- 5.4
- 5.5
- 5.6
- hhvm
- 7.0
- 7.1
matrix:
include:
- php: 5.3
dist: precise
allow_failures:
- php: hhvm
install:
- composer install --prefer-dist
before_script:
- ~/.phpenv/versions/5.6/bin/php -S localhost:8000 -t $(pwd) > /dev/null 2> /tmp/webserver_output.txt &
- export REPO_URL=http://localhost:8000/
- while ! curl $REPO_URL >/dev/null 2>&1; do sleep 1; done
script:
- ./vendor/bin/phpunit
after_failure:
- cat /tmp/webserver_output.txt
| language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
include:
- php: 5.3
dist: precise
install:
- composer install --prefer-dist
before_script:
- ~/.phpenv/versions/5.6/bin/php -S localhost:8000 -t $(pwd) > /dev/null 2> /tmp/webserver_output.txt &
- export REPO_URL=http://localhost:8000/
- while ! curl $REPO_URL >/dev/null 2>&1; do sleep 1; done
script:
- ./vendor/bin/phpunit
after_failure:
- cat /tmp/webserver_output.txt
|
Disable openjdk7 in Travis CI builds | language: scala
scala:
- 2.10.6
- 2.11.7
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
before_script:
# default $SBT_OPTS is irrelevant to sbt launcher
- unset SBT_OPTS
- chmod +x ./bin/travisci
- ./bin/travisci
script:
- travis_retry ./sbt ++$TRAVIS_SCALA_VERSION clean coverage test
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: scala
scala:
- 2.10.6
- 2.11.7
jdk:
# Enable once https://github.com/travis-ci/travis-ci/issues/5227 is fixed.
#- openjdk7
- oraclejdk7
- oraclejdk8
before_script:
# default $SBT_OPTS is irrelevant to sbt launcher
- unset SBT_OPTS
- chmod +x ./bin/travisci
- ./bin/travisci
script:
- travis_retry ./sbt ++$TRAVIS_SCALA_VERSION clean coverage test
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Use the new build env on Travis | language: ruby
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- jruby
- rbx-2
gemfile:
- gemfiles/activerecord_3_1.gemfile
- gemfiles/activerecord_3_2.gemfile
- gemfiles/activerecord_4_0.gemfile
- gemfiles/activerecord_4_1.gemfile
- gemfiles/activerecord_edge.gemfile
env:
- DB=postgresql
- DB=mysql
- DB=sqlite3
matrix:
allow_failures:
- rvm: jruby
gemfile: gemfiles/activerecord_edge.gemfile
branches:
only:
- master
before_script:
- sh -c "if [ '$DB' = 'postgresql' ]; then psql -c 'DROP DATABASE IF EXISTS sexy_scopes_spec;' -U postgres; fi"
- sh -c "if [ '$DB' = 'postgresql' ]; then psql -c 'CREATE DATABASE sexy_scopes_spec;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS sexy_scopes_spec;'; fi"
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- jruby
- rbx-2
gemfile:
- gemfiles/activerecord_3_1.gemfile
- gemfiles/activerecord_3_2.gemfile
- gemfiles/activerecord_4_0.gemfile
- gemfiles/activerecord_4_1.gemfile
- gemfiles/activerecord_edge.gemfile
env:
- DB=postgresql
- DB=mysql
- DB=sqlite3
sudo: false
before_script:
- sh -c "if [ '$DB' = 'postgresql' ]; then psql -c 'DROP DATABASE IF EXISTS sexy_scopes_spec;' -U postgres; fi"
- sh -c "if [ '$DB' = 'postgresql' ]; then psql -c 'CREATE DATABASE sexy_scopes_spec;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS sexy_scopes_spec;'; fi"
script: bundle exec rake
matrix:
allow_failures:
- rvm: jruby
gemfile: gemfiles/activerecord_edge.gemfile
branches:
only:
- master
|
Remove caching (seems to be causing issues on Travis) | language: node_js
cache:
directories:
- elm-stuff/build-artifacts
node_js:
- "4.3"
install:
- npm install -g elm@0.17.0
- elm-package install -y
script:
- sh runtests.sh
- elm make src/Main.elm --output=tictactoe.js
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash deploy.sh
| language: node_js
node_js:
- "4.3"
install:
- npm install -g elm@0.17.0
- elm-package install -y
script:
- sh runtests.sh
- elm make src/Main.elm --output=tictactoe.js
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash deploy.sh
|
Use dist: xenial with Python 3.7 | language: python
matrix:
include:
- python: 2.7
env:
- TOXENV=py27
- python: 3.6
env:
- TOXENV=py36
- python: 3.7
env:
- TOXENV=py37
env:
matrix:
- TOXENV=go
- TOXENV=lua LUA="lua 5.1"
- TOXENV=lua LUA="lua 5.2"
- TOXENV=lua LUA="lua 5.3"
- TOXENV=lua LUA="luajit 2.0"
- TOXENV=lua LUA="luajit 2.1"
install:
- pip install tox
script:
- TRAVIS=true tox
| language: python
matrix:
include:
- python: 2.7
env:
- TOXENV=py27
- python: 3.6
env:
- TOXENV=py36
- python: 3.7
dist: xenial
env:
- TOXENV=py37
env:
matrix:
- TOXENV=go
- TOXENV=lua LUA="lua 5.1"
- TOXENV=lua LUA="lua 5.2"
- TOXENV=lua LUA="lua 5.3"
- TOXENV=lua LUA="luajit 2.0"
- TOXENV=lua LUA="luajit 2.1"
install:
- pip install tox
script:
- TRAVIS=true tox
|
Test 2.0.0 and 1.9.3 on Travis CI | language: ruby
rvm:
- 2.0.0
- 1.9.3
gemfile:
- gemfiles/Gemfile.activesupport-3.x
- gemfiles/Gemfile.activesupport-4.x
matrix:
exclude:
- rvm: 1.9.3
gemfile: gemfiles/Gemfile.activesupport-3.x
- rvm: 2.0.0
gemfile: gemfiles/Gemfile.activesupport-3.x
env:
global:
secure: T3becyAvdUz5P62riqNBXW5xPrhf1FwuQ/LToLg3l9NMxwgTKrzxrxRPpHfoYOfgjGhvQv8m4Rl1YlgCOeXHVplg1BAFJ3WTo4f4Yomg/zFKbhvEqdU3UCY9guwatv9iT6eELfV/uzZTtmTw9kwdIuO3Goq/AQoOPWFKlTlCE2E=
| language: ruby
rvm:
- 2.0.0
- 1.9.3
|
Use only the most recent Ruby versions | language: ruby
cache: bundler
rvm:
- 2.2.0
- 2.1.5
- 2.0.0
branches:
only:
- develop
- master
env:
global:
- secure: "D3z4RvKc32obw+Tnd92VLwpGHca5HP3oMpCrMo1AbzsZcEpTuiIlQ+8byQt0MfnPABfJy/MNnXJNefVjZr7rOkGH6NiIAR2zH0Ajb0HJytXocG5a4KIYY6BJtavwdX4PLTbOHassdfxkuOrMkF0lVcxBPeGIFUYUytahnYDw9q0="
| language: ruby
cache: bundler
rvm:
- 2.4.0
- 2.3.3
branches:
only:
- develop
- master
env:
global:
- secure: "D3z4RvKc32obw+Tnd92VLwpGHca5HP3oMpCrMo1AbzsZcEpTuiIlQ+8byQt0MfnPABfJy/MNnXJNefVjZr7rOkGH6NiIAR2zH0Ajb0HJytXocG5a4KIYY6BJtavwdX4PLTbOHassdfxkuOrMkF0lVcxBPeGIFUYUytahnYDw9q0="
|
Use bundler to execute test | language: ruby
rvm:
- 2.2
- 2.0.0
- 2.1
- jruby-9000
env:
- RAILS_VERSION="~>3.2"
- RAILS_VERSION="~>4.0.0"
- RAILS_VERSION="~>4.1.0"
- RAILS_VERSION="~>4.2.0"
script: "rake spec:all"
before_install:
- sudo apt-get update
- sudo apt-get install idn
- gem update bundler
notifications:
email:
recipients:
- sbazyl@google.com
on_success: change
on_failure: change
| language: ruby
rvm:
- 2.2
- 2.0.0
- 2.1
- jruby-9000
env:
- RAILS_VERSION="~>3.2"
- RAILS_VERSION="~>4.0.0"
- RAILS_VERSION="~>4.1.0"
- RAILS_VERSION="~>4.2.0"
script: "bundle exec rake spec:all"
before_install:
- sudo apt-get update
- sudo apt-get install idn
- gem update bundler
notifications:
email:
recipients:
- sbazyl@google.com
on_success: change
on_failure: change
|
Revert "Rubinius version for Travis" | rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- rbx-2.2
- jruby-19mode
script: "bundle exec rake spec"
| rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- jruby-19mode
script: "bundle exec rake spec"
|
Enable Rust CI doc upload | before_install:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
install:
- sudo apt-get install rust-nightly
script:
- make
- sudo make install
- sudo make uninstall
- make clean
- make doc
| env:
global:
- secure: eEAXQP0S4A9RQv4rQYGbGDgdQ2McwCGtjW4QA6oaWXxPnQLaaylRRmdKvNpgfVmWQr6gf2mcpJKar6Ys4OF7xBUTze2ObSCfBIqS4ovK72XMA4kOAonqeq7pxq/OXzKd4eN5BX2DyXxZ5nlPqr2HT7Wb/CjpazKyQ+fCsjKtyzY=
before_install:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
install:
- sudo apt-get install rust-nightly
script:
- make
- sudo make install
- sudo make uninstall
- make clean
- make doc
after_script:
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
|
Deploy to rubgems on new tags | sudo: false
language: ruby
cache: bundler
rvm:
- 2.3.1
| sudo: false
language: ruby
cache: bundler
rvm: 2.3.1
deploy:
provider: rubygems
api_key:
secure: hL0h5W084SQgCMufhUYzzrLq0krzt+C5WgmobbB81f684XJ+2FG6SvouPSzrAKLjgv/Ksk3G+oqr6kvTSV7L20+le+dpkE7c1lXDuwzs8Kd/VVr1ZJxDOu5Mn0NcVGvEdl+qKT8GLrz1KskK7QQdld0e+k3F7U+7ixtd2uz9GSZfBBjFSYTc38aa9O9EM0DqzYp717oDxZKChlB5p5G6btawpBGpdjayU+h/x8Pk2XIFTlrZ4lGml5Qku01mjFeBZ2noRl6EYLK1q64bKJ8H1cCyqTVNr2cm9Z+YCi9Wp35SZESDRkNhg6vDOB4zPYzaJZSMpTzjTtyKoI2nroOUjsd0GEAupoumeWqjQSWxtxSTdzHM6OVJe3FI0YPSYk7eVpZbYjvzvHXjJPHgakOIGbrV60+DLaBF07vD4JazoxgG8EKXwJHIF1XvCdXQSns0VcCetaL4wmQvB0pKkf0eWVwhfvAm511i9oHKUhzslIUx2b9vBwi+r3Ed5mLRX21Pr4suVDWpWmaqQL2+8iFMbz0D2/kRFisY8Ym+HoPeaX/yUWsblG311ozQpcqmqWZk7YSUnA4NBWFMJY40G11DWDRNI/8UJrTjyLDGEB/gnIQe8OFDQuYW8iTH8C1VjCCR61WwW0YR9q3hhG4mvx/qM5TwWnrF7xC0uOIlrxOSVlE=
gem: slate-installer
on:
tags: true
repo: kjg/slate-installer
|
Switch Travis builds to container-based infrastructure | language: java
deploy:
provider: releases
api_key:
secure: "d4ehSZ2dgGAjBmwWeRX1HJNZOXdI9/fv1OR5mObQnHcrKj6efg53VAUfG0fFjp8+1HaxPp9NJO3ZbglhayiJN2RSuxBHYU/f6qqRqUAThLLG5Wt0OEqG8IHcxZhYHS3LHLQMo0dK5ihHwV3MoU1B9FdCq0Ci1yMLBvBAxBOOr4U="
file-glob: true
file: "build/libs/NBT-*.jar"
skip_cleanup: true
on:
tags: true
all_branches: true
| language: java
deploy:
provider: releases
api_key:
secure: "d4ehSZ2dgGAjBmwWeRX1HJNZOXdI9/fv1OR5mObQnHcrKj6efg53VAUfG0fFjp8+1HaxPp9NJO3ZbglhayiJN2RSuxBHYU/f6qqRqUAThLLG5Wt0OEqG8IHcxZhYHS3LHLQMo0dK5ihHwV3MoU1B9FdCq0Ci1yMLBvBAxBOOr4U="
file-glob: true
file: "build/libs/NBT-*.jar"
skip_cleanup: true
on:
tags: true
all_branches: true
sudo: false
|
Fix allow_failures on Travis CI | ---
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
- ruby-head
- jruby
- rbx-2
before_install:
- gem install bundler
script: rake spec
matrix:
allow_failures:
- 1.9.3
- jruby
- rbx-2
| ---
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
- ruby-head
- jruby
- rbx-2
before_install:
- gem install bundler
script: rake spec
matrix:
allow_failures:
- rvm: 1.9.3
- rvm: jruby
- rvm: rbx-2
|
Set precise version for node 4.x | sudo: false
language: node_js
matrix:
include:
- node_js: "4.1.x"
- node_js: "iojs"
- node_js: "0.12"
- node_js: "0.10"
after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"
notifications:
email:
- tormozz48@gmail.com
- yndx.tavria@yandex.ru
| sudo: false
language: node_js
matrix:
include:
- node_js: "4.1.0"
- node_js: "iojs"
- node_js: "0.12"
- node_js: "0.10"
after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"
notifications:
email:
- tormozz48@gmail.com
- yndx.tavria@yandex.ru
|
Update Travis config to test with more recent versions of Node. | sudo: false
language: node_js
node_js:
- '5'
- '4.2'
- '4.1'
- '4.0'
script:
- npm run test | sudo: false
language: node_js
node_js:
- '8'
- '6'
- '5'
- '4.2'
- '4.1'
- '4.0'
script:
- npm run test
|
Add PHP 7 src & add GCC 4.8 | language: python
notifications:
email: false
branches:
only:
- master
- stable
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
node_js:
- "6"
php:
- "7.0"
compiler:
- gcc
before_install:
- sudo apt-get update
install:
- sudo apt-get install php7.0
- if [[ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda update -q conda
- conda install -n root _license
- conda info -a
- conda env create -q -n sklearn-porter python=$TRAVIS_PYTHON_VERSION -f environment.yml
- source activate sklearn-porter
script:
- python -m unittest discover -vp '*Test.py'
| language: python
notifications:
email: false
branches:
only:
- master
- stable
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
node_js:
- "6"
php:
- "7.0"
compiler:
- gcc
before_install:
- sudo apt-add-repository ppa:ondrej/php
- sudo apt-get update -q
install:
- sudo apt-get install gcc-4.8 -y
- sudo apt-get install php7.0 -y
- if [[ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda update -q conda
- conda install -n root _license
- conda info -a
- conda env create -q -n sklearn-porter python=$TRAVIS_PYTHON_VERSION -f environment.yml
- source activate sklearn-porter
script:
- python -m unittest discover -vp '*Test.py'
|
Remove unavailable PHP version from Travis CI config | language: php
php:
- 5.3.3
- 5.3
- 5.4
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar --dev install
| language: php
php:
- 5.3
- 5.4
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar --dev install
|
Remove PHP 5.3 from Travis config, shuffle tested SS versions | # See https://github.com/silverstripe/silverstripe-travis-support for setup details
sudo: false
language: php
php:
- 5.3
- 5.4
- 5.5
env:
- DB=MYSQL CORE_RELEASE=3.5
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
before_script:
- composer self-update || true
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install
script:
- vendor/bin/phpunit restfulserver/tests
| # See https://github.com/silverstripe/silverstripe-travis-support for setup details
sudo: false
language: php
matrix:
include:
- php: 5.4
env: DB=MYSQL CORE_RELEASE=3.3
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3.4
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.5
- php: 7.0
env: DB=MYSQL CORE_RELEASE=3
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
before_script:
- composer self-update || true
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install
script:
- vendor/bin/phpunit restfulserver/tests
|
Fix no output in the last 10 minutes issue | osx_image: xcode8.3
language: objective-c
cache:
directories:
- Carthage/
before_install:
- brew install swiftlint
- script/install
before_script:
- set -o pipefail
script:
- xcodebuild -project SlideStock.xcodeproj -scheme SlideStock build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c
- swiftlint
| osx_image: xcode8.3
language: objective-c
cache:
directories:
- Carthage/
before_install:
- brew install swiftlint
- travis_wait 30 script/install
before_script:
- set -o pipefail
script:
- xcodebuild -project SlideStock.xcodeproj -scheme SlideStock build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c
- swiftlint
|
Remove master branch of go environment in Travis. Since the fmt and converage are not compatible. | language: go
go:
- 1.7.x
- 1.8.x
- master
script:
- make misspell-check
- make fmt-check
- make all
- make pack
- make coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: go
go:
- 1.7.x
- 1.8.x
script:
- make misspell-check
- make fmt-check
- make all
- make pack
- make coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Add go1.9 and go.10 to Travis build config | language: go
go:
- tip
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4.2
- 1.3.3
- 1.2.2
- 1.1.2
| language: go
go:
- tip
- 1.10
- 1.9
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4.2
- 1.3.3
- 1.2.2
- 1.1.2
|
Test if lua can load the library | language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main'; fi
- sudo apt-get update -qq
install:
- sudo apt-get install liblua5.1-dev libncurses-dev libboost-dev libz-dev
- if [ "$CXX" == "g++" ]; then sudo apt-get install g++-4.9; fi
- if [ "$CXX" == "g++" ]; then export CXX="g++-4.9"; fi
- if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated libstdc++-4.9-dev clang-3.5; fi
- if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.5"; fi
script: cmake . && make && make install
| language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main'; fi
- sudo apt-get update -qq
install:
- sudo apt-get install liblua5.1-dev lua5.1 libncurses-dev libboost-dev libz-dev
- if [ "$CXX" == "g++" ]; then sudo apt-get install g++-4.9; fi
- if [ "$CXX" == "g++" ]; then export CXX="g++-4.9"; fi
- if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated libstdc++-4.9-dev clang-3.5; fi
- if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.5"; fi
script:
- cmake . && make && make install
- echo "os.exit()" | lua -l color_coded
|
Use the latest Python coverage | # We need sudo to install pip system-wide
sudo: required
os:
- linux
- osx
install:
- sudo -H pip install coverage==3.7.1
- sudo -H pip install coveralls
script: ./ci.sh
after_success:
- coveralls
| # We need sudo to install pip system-wide
sudo: required
os:
- linux
- osx
install:
- sudo -H pip install coveralls coverage
script: ./ci.sh
after_success:
- coveralls
|
Use latest Liberty and try Travis containers | language: java
jdk:
- oraclejdk8
script:
- "mvn verify -Ponline-its -DwlpVersion=8.5.5_05 -DwlpLicense=L-MCAO-9SYMVC"
| sudo: false
language: java
jdk:
- oraclejdk8
script:
- "mvn verify -Ponline-its -DwlpVersion=8.5.5_06 -DwlpLicense=L-MCAO-9SYMVC"
|
Use modern Rubies on Travis CI | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
| language: ruby
rvm:
- 2.1.10
- 2.2.7
- 2.3.3
- 2.4.1
|
Test with latest Node.js 4 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
- '5.1'
branches:
only:
- master
- travis-ci
- finalizers
# 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
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5.1'
branches:
only:
- master
- travis-ci
- finalizers
# 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
|
Move jruby-19mode and jruby-head to rvm matrix | language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- ruby-head
- rbx-19mode
env:
- "ADAPTER=in_memory"
- "ADAPTER=yaml"
- "ADAPTER=sqlite"
- "ADAPTER=mysql DM_DB_USER=root DM_DB_PASSWORD=''"
- "ADAPTER=postgres DM_DB_USER=postgres DM_DB_PASSWORD=''"
cache: bundler
sudo: true
services:
- mysql
- postgresql
before_install:
- until sudo apt-get update -qq; do :; done # retry until successful
- sudo apt-get install -qq postgresql-server-dev-9.3
bundler_args: --without yard guard metrics benchmarks --retry 3
before_script:
- mysql -e "create database datamapper_alternate_tests;"
- mysql -e "create database datamapper_default_tests;"
- psql -c "create database datamapper_default_tests;" -U postgres
- psql -c "create database datamapper_alternate_tests;" -U postgres
script: "bundle exec rake spec"
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
include:
- rvm: jruby-19mode
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
notifications:
irc: "irc.freenode.org#datamapper"
| language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
env:
- "ADAPTER=in_memory"
- "ADAPTER=yaml"
- "ADAPTER=sqlite"
- "ADAPTER=mysql DM_DB_USER=root DM_DB_PASSWORD=''"
- "ADAPTER=postgres DM_DB_USER=postgres DM_DB_PASSWORD=''"
cache: bundler
sudo: true
services:
- mysql
- postgresql
before_install:
- until sudo apt-get update -qq; do :; done # retry until successful
- sudo apt-get install -qq postgresql-server-dev-9.3
bundler_args: --without yard guard metrics benchmarks --retry 3
before_script:
- mysql -e "create database datamapper_alternate_tests;"
- mysql -e "create database datamapper_default_tests;"
- psql -c "create database datamapper_default_tests;" -U postgres
- psql -c "create database datamapper_alternate_tests;" -U postgres
script: "bundle exec rake spec"
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
notifications:
irc: "irc.freenode.org#datamapper"
|
Update Go version to 1.9 in Travis CI. | sudo: false
language: go
go:
- 1.8.3
- tip
matrix:
fast_finish: true
allow_failures:
- go: tip
branches:
only:
- master
notifications:
email:
on_success: change
on_failure: change
before_install:
- make tools
install:
- make deps
before_script:
- make clean
script:
- make test
after_success:
- make coverage
| sudo: false
language: go
go:
- 1.9
- tip
matrix:
fast_finish: true
allow_failures:
- go: tip
branches:
only:
- master
notifications:
email:
on_success: change
on_failure: change
before_install:
- make tools
install:
- make deps
before_script:
- make clean
script:
- make test
after_success:
- make coverage
|
Disable daemon on Travis build | language: java
matrix:
include:
- os: linux
sudo: false
jdk: oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
script: ./gradlew check --info --stacktrace --console=plain -Dkotlin.colors.enabled=false -Porg.gradle.jvmargs="-Xmx2G -Xms512M -XX:+UseG1GC" --max-workers=1
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
| language: java
matrix:
include:
- os: linux
sudo: false
jdk: oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
script: ./gradlew check --info --stacktrace --console=plain --max-workers=1 --no-daemon
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
|
FIX pip install scipy on Travis | language: python
python:
# Only 2.7 to prevent having to install NumPy and SciPy from source.
- "2.7"
virtualenv:
system_site_packages: true
install:
- sudo apt-get update
- sudo apt-get install cython python-numpy python-scipy
- pip install scikit-learn
- pip install .
script:
- cd /tmp
- nosetests --exe seqlearn
| language: python
python:
# Only 2.7 to prevent having to install NumPy and SciPy from source.
- "2.7"
virtualenv:
system_site_packages: true
install:
- sudo apt-get update
- sudo apt-get install cython python-numpy
- pip install scipy
- pip install scikit-learn
- pip install .
script:
- cd /tmp
- nosetests --exe seqlearn
|
Remove the temporary sync task for the Content Data API | govuk_env_sync::tasks:
# Temporary task to pull data from Carrenza production
"pull_content_performance_manager_production_daily":
ensure: "absent"
hour: "2"
minute: "0"
action: "pull"
dbms: "postgresql"
storagebackend: "s3"
# Use the old database name for consistency while still working on
# the migration for the Content Performance Manager
database: "content_performance_manager_production"
temppath: "/tmp/content_performance_manager_production"
url: "govuk-production-database-backups"
path: "warehouse-postgresql"
# Use the new Content Data API name here, to avoid issues with
# changing the name later
"push_content_data_api_production_daily":
ensure: "present"
hour: "3"
minute: "0"
action: "push"
dbms: "postgresql"
storagebackend: "s3"
# Use the old database name for consistency while still working on
# the migration for the Content Performance Manager
database: "content_performance_manager_production"
temppath: "/tmp/content_data_api_production"
url: "govuk-production-database-backups"
path: "content-data-api-postgresql"
| govuk_env_sync::tasks:
# Use the new Content Data API name here, to avoid issues with
# changing the name later
"push_content_data_api_production_daily":
ensure: "present"
hour: "3"
minute: "0"
action: "push"
dbms: "postgresql"
storagebackend: "s3"
# Use the old database name for consistency while still working on
# the migration for the Content Performance Manager
database: "content_performance_manager_production"
temppath: "/tmp/content_data_api_production"
url: "govuk-production-database-backups"
path: "content-data-api-postgresql"
|
Add bokeh to env file | name: IOOS
channels:
- conda-forge
- ioos
dependencies:
- python=2.7
- anaconda-navigator
- beautifulsoup4
- cartopy
- cc-plugin-glider # Python 2.7
- cmocean
- compliance-checker
- ctd
- cython
- descartes
- fiona
- folium
- gdal
- geojson
- geojsonio
- geopandas
- geos
- gridgeo
- gsw
- iris
- jupyter
- matplotlib
- mpld3
- mplleaflet
- netcdf4
- numpy
- oceans
- oct2py
- owslib
- paegan
- pandas
- proj.4
- pygc
- pyhum # Python 2.7
- pykdtree
- pyoos # Python 2.7
- pyproj
- pyresample
- pysgrid
- pyugrid
- pyyaml
- qrcode
- rasterio
- rasterstats
- requests
- rios
- rtree
- scikit-learn
- scipy
- seaborn
- seawater
- shapely
- siphon
- spyder
- statsmodels
- sympy
- thredds_crawler
- utilities
- xarray
- xlrd
| name: IOOS
channels:
- conda-forge
- ioos
dependencies:
- python=2.7
- anaconda-navigator
- beautifulsoup4
- bokeh
- cartopy
- cc-plugin-glider # Python 2.7
- cmocean
- compliance-checker
- ctd
- cython
- descartes
- fiona
- folium
- gdal
- geojson
- geojsonio
- geopandas
- geos
- gridgeo
- gsw
- iris
- jupyter
- matplotlib
- mpld3
- mplleaflet
- netcdf4
- numpy
- oceans
- oct2py
- owslib
- paegan
- pandas
- proj.4
- pygc
- pyhum # Python 2.7
- pykdtree
- pyoos # Python 2.7
- pyproj
- pyresample
- pysgrid
- pyugrid
- pyyaml
- qrcode
- rasterio
- rasterstats
- requests
- rios
- rtree
- scikit-learn
- scipy
- seaborn
- seawater
- shapely
- siphon
- spyder
- statsmodels
- sympy
- thredds_crawler
- utilities
- xarray
- xlrd
|
Switch back to 1 canary job | ---
meta: ~
compilation:
<<: (( merge ))
workers: 2
network: redis_z1
reuse_compilation_vms: true
cloud_properties:
<<: (( merge ))
name: (( .meta.deployment_name ))
update:
canaries: 5
canary_watch_time: 30000-180000
update_watch_time: 30000-180000
max_in_flight: 6
| ---
meta: ~
compilation:
<<: (( merge ))
workers: 2
network: redis_z1
reuse_compilation_vms: true
cloud_properties:
<<: (( merge ))
name: (( .meta.deployment_name ))
update:
canaries: 1
canary_watch_time: 30000-180000
update_watch_time: 30000-180000
max_in_flight: 6
|
Use command vs shell since it is safer | ---
- name: Check if NetworkManager package is installed
shell: dpkg -l network-manager
register: nm_installed_check
failed_when: nm_installed_check.rc > 1
- name: Stop NetworkManager
service: name=network-manager state=stopped enabled=no
when: nm_installed_check == 0
- name: Remove NetworkManager
apt: pkg=network-manager
state=absent
- name: Configure network interfaces
template:
src: etc_network_interfaces.j2
dest: /etc/network/interfaces
owner: root
group: root
mode: 0644
notify: Restart network
| ---
- name: Check if NetworkManager package is installed
command: dpkg -l network-manager
register: nm_installed_check
failed_when: nm_installed_check.rc > 1
- name: Stop NetworkManager
service: name=network-manager state=stopped enabled=no
when: nm_installed_check == 0
- name: Remove NetworkManager
apt: pkg=network-manager
state=absent
- name: Configure network interfaces
template:
src: etc_network_interfaces.j2
dest: /etc/network/interfaces
owner: root
group: root
mode: 0644
notify: Restart network
|
Install pandoc in Circle CI | version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.1
working_directory: ~/repo
steps:
- checkout
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install .[dev]
- run:
name: build docs
command: |
. venv/bin/activate
sphinx-build -vW -b html docs/source _HTMLTest
- store_artifacts:
path: docs-html
destination: docs-html
| version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.1
working_directory: ~/repo
steps:
- checkout
- run:
name: install dependencies
command: |
sudo apt update && sudo apt install pandoc
python3 -m venv venv
. venv/bin/activate
pip install .[dev]
- run:
name: build docs
command: |
. venv/bin/activate
sphinx-build -vW -b html docs/source _HTMLTest
- store_artifacts:
path: docs-html
destination: docs-html
|
Update from Hackage at 2015-10-15T18:38:03+0000 | homepage: ''
changelog-type: ''
hash: a15e80bc60442bdabcd6222e639d43e74e83007638faba92912c6a69028610ed
test-bench-deps: {}
maintainer: anton.pirogov@gmail.com
synopsis: ! 'Binding to render with Cairo on SDL textures
and optional convenience drawing API.'
changelog: ''
basic-deps:
base: ! '>=4.8 && <=5'
time: -any
cairo: ! '>=0.13'
sdl2: ! '>=2.0.0'
linear: -any
mtl: -any
random: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: Anton Pirogov
latest: '0.1.0.1'
description-type: haddock
description: ! 'This small library provides convenience functions to draw
on SDL2 textures with Cairo. As Cairo is complicated, it also
provides a drawing API, which is heavily inspired by Processing and
is much more user-friendly. If it does not support something,
you can always embed direct Cairo commands, so you do not have
to decide!'
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 67c081c9f36ae6097217f19780a22e1b9d0f6b1d709ea0ae462d7c2aca06ef19
test-bench-deps: {}
maintainer: anton.pirogov@gmail.com
synopsis: Render with Cairo on SDL textures. Includes optional convenience drawing
API.
changelog: ''
basic-deps:
base: ! '>=4.7 && <=5'
time: -any
cairo: ! '>=0.13'
sdl2: ! '>=2.0.0'
linear: -any
mtl: -any
random: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
author: Anton Pirogov
latest: '0.1.0.2'
description-type: haddock
description: ! 'This small library provides convenience functions to draw
on SDL2 textures with Cairo. As Cairo is complicated, it also
provides a drawing API, which is heavily inspired by Processing and
is much more user-friendly. If it does not support something,
you can always embed direct Cairo commands, so you do not have
to decide!'
license-name: MIT
|
Change blog url to shubhamchaudhary.in/blog for sometime | # Site settings
title: Develop Freedom
header-img: img/home-bg.jpg
email: me@shubhamchaudhary.in
description: "Develop Freedom - Blog by Shubham Chaudhary"
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://developfreedom.org" # the base hostname & protocol for your site
twitter_username: ChaudharySimply
github_username: shubhamchaudhary
facebook_username: ShubhamChaudhary.in
# Build settings
markdown: kramdown
highlighter: pygments
permalink: pretty
paginate: 5
exclude: ["less","node_modules","Gruntfile.js","package.json","README.md"]
| # Site settings
title: Develop Freedom
header-img: img/home-bg.jpg
email: me@shubhamchaudhary.in
description: "Develop Freedom - Blog by Shubham Chaudhary"
baseurl: "/blog" # the subpath of your site, e.g. /blog/
url: "http://shubhamchaudhary.in/" # the base hostname & protocol for your site
twitter_username: ChaudharySimply
github_username: shubhamchaudhary
facebook_username: ShubhamChaudhary.in
# Build settings
markdown: kramdown
highlighter: pygments
permalink: pretty
paginate: 5
exclude: ["less","node_modules","Gruntfile.js","package.json","README.md"]
|
Update from Hackage at 2017-05-26T10:23:58Z | homepage: https://github.com/bartavelle/fastparser#readme
changelog-type: ''
hash: 9f1976470cfd4a8633183e24d2fa55618b5de40dd0498f82a77ce700a37a0844
test-bench-deps: {}
maintainer: bartavelle@gmail.com
synopsis: A fast, but bare bones, bytestring parser combinators library.
changelog: ''
basic-deps:
bytestring: ==0.10.*
base: ! '>=4.7 && <5'
vector-space: ==0.10.*
containers: ==0.5.*
thyme: ==0.3.*
bytestring-lexing: ==0.5.*
microlens: ==0.4.*
all-versions:
- '0.3.0'
author: Simon Marechal
latest: '0.3.0'
description-type: haddock
description: Please see README.md
license-name: BSD3
| homepage: https://github.com/bartavelle/fastparser#readme
changelog-type: ''
hash: d17d6c95e9cb3fd2d31724ffafa5e5efedfc530d64b73aa0851d1b93d55ae6e1
test-bench-deps: {}
maintainer: bartavelle@gmail.com
synopsis: A fast, but bare bones, bytestring parser combinators library.
changelog: ''
basic-deps:
bytestring: ==0.10.*
base: ! '>=4.8 && <5'
vector-space: ==0.10.*
containers: ==0.5.*
thyme: ==0.3.*
bytestring-lexing: ==0.5.*
microlens: ==0.4.*
all-versions:
- '0.3.0'
author: Simon Marechal
latest: '0.3.0'
description-type: haddock
description: Please see README.md
license-name: BSD3
|
Use gcloud sdk latest image for testing | platform: linux
inputs:
- name: continuous-deployment-on-kubernetes
outputs:
- name: email
image_resource:
type: docker-image
source:
repository: viglesiasce/csa-test
tag: latest
params:
service_account_json:
project_id:
zone:
run:
path: bash
args:
- -exc
- |
cat > service_account.json <<EOF
$service_account_json
EOF
# Initialize gcloud
gcloud auth activate-service-account --key-file=service_account.json
gcloud config set project $project_id
gcloud config set compute/zone $zone
cd continuous-deployment-on-kubernetes
# Setup email
echo "CD on K8s: Failed to run tutorial" > ../email/subject-failed
git --no-pager show > ../email/body-failed
./tests/cleanup.sh
./tests/run-tutorial.sh
## TODO Check for ingress IP then curl login url
| platform: linux
inputs:
- name: continuous-deployment-on-kubernetes
outputs:
- name: email
image_resource:
type: docker-image
source:
repository: google/cloud-sdk
tag: latest
params:
service_account_json:
project_id:
zone:
run:
path: bash
args:
- -exc
- |
cat > service_account.json <<EOF
$service_account_json
EOF
# Initialize gcloud
apk add --update git openssl
echo y | gcloud components install kubectl
gcloud auth activate-service-account --key-file=service_account.json
gcloud config set project $project_id
gcloud config set compute/zone $zone
cd continuous-deployment-on-kubernetes
# Setup email
echo "CD on K8s: Failed to run tutorial" > ../email/subject-failed
git --no-pager show > ../email/body-failed
./tests/cleanup.sh
./tests/run-tutorial.sh
## TODO Check for ingress IP then curl login url
|
Create symbolic link to .ivy2 instead of using sbt argument | pipeline:
test:
image: lampepfl/dotty:latest
pull: true
commands:
- ln -s /var/cache/drone/scala-scala scala-scala
- ./scripts/update-scala-library
- sbt -J-Xmx4096m -J-XX:ReservedCodeCacheSize=512m -J-XX:MaxMetaspaceSize=1024m -Ddotty.drone.mem=4096m -ivy /var/cache/drone/ivy2 "${TEST}"
when:
branch:
exclude: gh-pages
documentation:
image: lampepfl/dotty:latest
pull: true
commands:
- ./project/scripts/genDocs "${TEST}" $BOT_PASS
when:
branch: master
gitter:
image: plugins/gitter
when:
branch: master
status: changed
slack:
image: plugins/slack
channel: dotty
when:
branch: master
status: changed
matrix:
TEST:
- ;test;dotty-bin-tests/test
- ;publishLocal;dotty-bootstrapped/test
- partest-only-no-bootstrap --show-diff --verbose
- partest-only --show-diff --verbose
| pipeline:
test:
image: lampepfl/dotty:latest
pull: true
commands:
- ln -s /var/cache/drone/scala-scala scala-scala
- ln -s /var/cache/drone/ivy2 "$HOME/.ivy2"
- ./scripts/update-scala-library
- sbt -J-Xmx4096m -J-XX:ReservedCodeCacheSize=512m -J-XX:MaxMetaspaceSize=1024m -Ddotty.drone.mem=4096m "${TEST}"
when:
branch:
exclude: gh-pages
documentation:
image: lampepfl/dotty:latest
pull: true
commands:
- ./project/scripts/genDocs "${TEST}" $BOT_PASS
when:
branch: master
gitter:
image: plugins/gitter
when:
branch: master
status: changed
slack:
image: plugins/slack
channel: dotty
when:
branch: master
status: changed
matrix:
TEST:
- ;test;dotty-bin-tests/test
- ;publishLocal;dotty-bootstrapped/test
- partest-only-no-bootstrap --show-diff --verbose
- partest-only --show-diff --verbose
|
Disable HAML linting through Hound | sass-lint:
enabled: false
coffeescript:
enabled: false
jshint:
enabled: false
haml:
config_file: .haml-lint.yml
rubocop:
version: 1.22.1
config_file: .rubocop.yml
| sass-lint:
enabled: false
coffeescript:
enabled: false
jshint:
enabled: false
haml:
enabled: false
config_file: .haml-lint.yml
rubocop:
version: 1.22.1
config_file: .rubocop.yml
|
Change variables in the yml file | # 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
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: Allain Dollete
email: allain.dollete@gmail.com
description: A personal website to showcase current and previous work involving programming and mechanical design.
baseurl: "" # the subpath of your site, e.g. /blog
url: "allaindollete.me" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb
github_username: jdollete
# Build settings
markdown: kramdown
theme: minima
gems:
- jekyll-feed
exclude:
- Gemfile
- Gemfile.lock
|
Add CoffeeScript checking to Hound | StringLiterals:
Enabled: false
Blocks:
Enabled: false
ClassAndModuleChildren:
Enabled: false
LineLength:
Enabled: false
| StringLiterals:
Enabled: false
Blocks:
Enabled: false
ClassAndModuleChildren:
Enabled: false
LineLength:
Enabled: false
CoffeeScript:
Enabled: true
|
Add PHP 8.0 to build matrix | name: Continuous Integration
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '7.3', '7.4' ]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run test suite
run: php vendor/bin/phpunit
| name: Continuous Integration
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '7.3', '7.4', '8.0' ]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run test suite
run: php vendor/bin/phpunit
|
Add emptyOption on email template order status log | # ===================================
# Form Field Definitions
# ===================================
fields:
is_active:
label: Active
type: switch
name:
label: Name
span: auto
color:
label: Color
type: colorpicker
span: auto
parent:
label: Parent
type: relation
emptyOption: -- None --
span: auto
secondaryTabs:
fields:
send_email:
label: Send an email to customer when his/her order has changed.
type: switch
span: auto
tab: Customer
attach_pdf:
label: Attach invoice PDF to email.
type: switch
span: auto
tab: Customer
mail_template:
label: Mail template
tab: Customer
type: relation
select: code
trigger:
action: enable
field: send_email
condition: checked
# options: listAllTemplates
description:
label: Description
tab: Customer
type: textarea
send_email_to_admin:
label: Send an email to admin when customer's order has changed.
type: switch
span: auto
tab: Admin
admin_mail_template:
label: Mail template
tab: Admin
type: relation
select: code
trigger:
action: enable
field: send_email_to_admin
condition: checked
| # ===================================
# Form Field Definitions
# ===================================
fields:
is_active:
label: Active
type: switch
name:
label: Name
span: auto
color:
label: Color
type: colorpicker
span: auto
parent:
label: Parent
type: relation
emptyOption: -- None --
span: auto
secondaryTabs:
fields:
send_email:
label: Send an email to customer when his/her order has changed.
type: switch
span: auto
tab: Customer
attach_pdf:
label: Attach invoice PDF to email.
type: switch
span: auto
tab: Customer
mail_template:
label: Mail template
tab: Customer
type: relation
select: code
emptyOption: -- None --
trigger:
action: enable
field: send_email
condition: checked
# options: listAllTemplates
description:
label: Description
tab: Customer
type: textarea
send_email_to_admin:
label: Send an email to admin when customer's order has changed.
type: switch
span: auto
tab: Admin
admin_mail_template:
label: Mail template
tab: Admin
type: relation
select: code
emptyOption: -- None --
trigger:
action: enable
field: send_email_to_admin
condition: checked
|
Update from Hackage at 2016-09-28T17:57:14+00:00 | homepage: ''
changelog-type: ''
hash: e8570b437e7cdd2f4223d87f728e52e19ea702caa280151110a4b9bcecf2f09f
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Arrow Transformer Library
changelog: ''
basic-deps:
base: ! '>=4 && <5'
all-versions:
- '15310.92'
- '15320.1'
- '15321.1'
- '15321.2'
- '15322.1'
- '15322.2'
- '15409.1'
- '15409.2'
author: Matthew Farkas-Dyck
latest: '15409.2'
description-type: haddock
description: Arrow Transformer Library
license-name: LGPL
| homepage: ''
changelog-type: ''
hash: c1806fbd47ebca095f8d783b6e23ac75444046b722567708a5b3ed66025fb206
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Arrow Transformer Library
changelog: ''
basic-deps:
base: ! '>=4 && <5'
all-versions:
- '15310.92'
- '15320.1'
- '15321.1'
- '15321.2'
- '15322.1'
- '15322.2'
- '15409.1'
- '15409.2'
- '17072'
author: Matthew Farkas-Dyck
latest: '17072'
description-type: haddock
description: Arrow Transformer Library
license-name: BSD3
|
Update Raspberry Pi to new version 5.0.0 | name: Raspberry Pi
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
RaspberryPi:
uses: steinwurf/cross-compile-action/.github/workflows/action.yml@4.0.0
with:
extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }}
name: Raspberry Pi
cxx_mkspec: cxx_raspberry_gxx83_armv7
image: ghcr.io/steinwurf/gcc-8.3.0-raspberrypi-armv7:1.0.0
test_runner: raspberry_pi
test_binary_name: recycle_tests
test_binary_directory: build/cxx_raspberry_gxx83_armv7/test
| name: Raspberry Pi
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
RaspberryPi:
uses: steinwurf/cross-compile-action/.github/workflows/action.yml@5.0.0
with:
extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }}
name: Raspberry Pi
cxx_mkspec: cxx_raspberry_gxx83_armv7
image: ghcr.io/steinwurf/gcc-8.3.0-raspberrypi-armv7:1.0.0
test_runner: raspberry_pi
test_binary_name: recycle_tests
test_binary_directory: build/cxx_raspberry_gxx83_armv7/test
|
Disable markdownlint's ordered list item prefix style check | ---
engines:
pep8:
enabled: true
duplication:
enabled: true
config:
languages:
- "python"
fixme:
enabled: true
exclude_paths:
- config/engines.yml
markdownlint:
enabled: true
checks:
MD004:
enabled: false
MD013:
enabled: false
MD026:
enabled: false
MD033:
enabled: false
shellcheck:
enabled: true
ratings:
paths:
- "**.md"
exclude_paths:
- .bundle/
- benchmarks/**/*
- node_modules/**/*
- bin/**/*
- include/**/*
- lib/**/*
- License.md
- spec/**/*
| ---
engines:
pep8:
enabled: true
duplication:
enabled: true
config:
languages:
- "python"
fixme:
enabled: true
exclude_paths:
- config/engines.yml
markdownlint:
enabled: true
checks:
MD004:
enabled: false
MD013:
enabled: false
MD026:
enabled: false
MD029:
enabled: false
MD033:
enabled: false
shellcheck:
enabled: true
ratings:
paths:
- "**.md"
exclude_paths:
- .bundle/
- benchmarks/**/*
- node_modules/**/*
- bin/**/*
- include/**/*
- lib/**/*
- License.md
- spec/**/*
|
Remove Eric Thompson as a reviewer | approve_by_comment: true
approve_regex: ^Approved
reject_regex: ^Rejected
reset_on_push: false
reviewers:
members:
- atneik
- battletoilet
- dammittom
- ericthompson
- Jahnp
- mikewheaton
- philworthington
- wdo3650
- dzearing
- micahgodbolt
name: default
required: 2
| approve_by_comment: true
approve_regex: ^Approved
reject_regex: ^Rejected
reset_on_push: false
reviewers:
members:
- atneik
- battletoilet
- dammittom
- Jahnp
- mikewheaton
- philworthington
- wdo3650
- dzearing
- micahgodbolt
name: default
required: 2
|
Switch to CI on Java 8 and 11 | name: Scala CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Run tests
run: sbt test
| name: Scala CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-11:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Run tests with JDK 11
run: sbt test
build-8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Run tests with JDK 8
run: sbt test
|
Update actions/cache for GitHub action | name: tests
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
php: [7.4, 8.0, 8.1]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit --verbose
| name: tests
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
php: [7.4, 8.0, 8.1]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit --verbose
|
Configure Codecov to treat the `develop` branch as the default | # Configuration for Codecov (https://codecov.io)
coverage:
ignore:
- "Tests"
| # Configuration for Codecov (https://codecov.io)
coverage:
branch: develop
ignore:
- "Tests"
|
Update exclusion for renamed dash-case file | # This configuration was generated by
# `rubocop --auto-gen-config`
# on 2015-11-18 01:46:01 -0500 using RuboCop version 0.35.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 3
Metrics/AbcSize:
Max: 74
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 155
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 13
# Offense count: 9
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 95
# Offense count: 3
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 46
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 13
# Offense count: 2
# Configuration parameters: Exclude.
Style/FileName:
Exclude:
- 'exe/system-info'
- 'lib/travis-system-info.rb'
| # This configuration was generated by
# `rubocop --auto-gen-config`
# on 2015-11-18 01:50:26 -0500 using RuboCop version 0.35.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 3
Metrics/AbcSize:
Max: 74
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 155
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 13
# Offense count: 9
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 95
# Offense count: 3
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 46
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 13
# Offense count: 2
# Configuration parameters: Exclude.
Style/FileName:
Exclude:
- 'exe/system-info'
- 'lib/system-info.rb'
|
Add var for backend storage | do_private_docker_registry: false
docker_lvm_backed_devicemapper: "{% if provider in ['gce', 'openstack', 'aws'] %} true {% else %} false {% endif %}"
## Refer to commentaries in ../templates/docker-storage-setup.conf.j2
## or `man lvcreate` for acceptable sizes, and their syntax
docker_lvm_data_volume_size: 40%FREE
docker_lvm_data_volume_size_min: 2G
docker_lvm_auto_extend_pool: yes
docker_selinux_enabled: no | do_private_docker_registry: false
docker_lvm_backed_devicemapper: "{% if provider in ['gce', 'openstack', 'aws'] %} true {% else %} false {% endif %}"
# Possible values: overlay, devicemapper
# Used with docker-storage-setup
docker_storage_driver: overlay
## Refer to commentaries in ../templates/docker-storage-setup.conf.j2
## or `man lvcreate` for acceptable sizes, and their syntax
docker_lvm_data_volume_size: 40%FREE
docker_lvm_data_volume_size_min: 2G
docker_lvm_auto_extend_pool: yes
docker_selinux_enabled: no |
Update GAE project name again | application: hymnpage2
version: 1
runtime: python27
api_version: 1
threadsafe: yes
handlers:
#root
- url: /
static_files: www/index.html
upload: www/index.html
#serve our home page in case index.html is requested
- url: /index.html
static_files: www/index.html
upload: www/index.html
#all images and support file (css, fonts...): return file if found,
#otherwise the default 404 page so it can be handled by sites that link
#directly to images.
- url: /(.*\.(html|js|json|gif|png|jpg|ico|bmp|css|otf|eot|svg|ttf|woff))
static_files: www/\1
upload: www/(.*\.(html|js|json|gif|png|jpg|ico|bmp|css|otf|eot|svg|ttf|woff))
libraries:
- name: webapp2
version: "2.5.2"
| application: hymnpage
version: 1
runtime: python27
api_version: 1
threadsafe: yes
handlers:
# root
- url: /
static_files: www/index.html
upload: www/index.html
# Serve our home page in case index.html is requested
- url: /index.html
static_files: www/index.html
upload: www/index.html
# All images and support file (css, fonts...): return file if found,
# otherwise the default 404 page so it can be handled by sites that link
# directly to images.
- url: /(.*\.(html|js|json|gif|png|jpg|ico|bmp|css|otf|eot|svg|ttf|woff))
static_files: www/\1
upload: www/(.*\.(html|js|json|gif|png|jpg|ico|bmp|css|otf|eot|svg|ttf|woff))
libraries:
- name: webapp2
version: "2.5.2"
|
Split tasks in self_signed_certificate role. | - name: self signed certificate
shell: |
hostname=`hostname` &&
crt_file="/etc/pki/tls/certs/${hostname}.crt" &&
key_file="/etc/pki/tls/private/${hostname}.key" &&
crt_and_key_file="/etc/pki/tls/private/${hostname}.crt_and_key" &&
subject="{{ self_signed_certificate_subject_prefix }}/CN=${hostname}" &&
openssl req -new -newkey rsa:2048 -sha1 -x509 -nodes \
-set_serial {{ self_signed_certificate_serial }} \
-days {{ self_signed_certificate_days }} \
-subj "$subject" \
-out "$crt_file" \
-keyout "$key_file" &&
cat "$crt_file" "$key_file" >> "$crt_and_key_file" &&
chmod 400 "$key_file" "$crt_and_key_file"
creates="/etc/pki/tls/certs/{{ ansible_fqdn }}.crt"
| - name: create private key for host
shell: |
creates=/etc/pki/tls/private/{{ ansible_fqdn }}.key
umask 0277 &&
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 \
-out /etc/pki/tls/private/{{ ansible_fqdn }}.key
- name: self signed certificate
shell: |
creates=/etc/pki/tls/certs/{{ ansible_fqdn }}.crt
openssl req -new -key /etc/pki/tls/private/{{ ansible_fqdn }}.key \
-subj "{{ self_signed_certificate_subject_prefix }}/CN={{ ansible_fqdn }}" \
-out /etc/pki/tls/certs/{{ ansible_fqdn }}.csr &&
openssl x509 -req -in /etc/pki/tls/certs/{{ ansible_fqdn }}.csr \
-signkey /etc/pki/tls/private/{{ ansible_fqdn }}.key \
-set_serial {{ self_signed_certificate_serial }} \
-days {{ self_signed_certificate_days }} \
-out /etc/pki/tls/certs/{{ ansible_fqdn }}.crt &&
rm /etc/pki/tls/certs/{{ ansible_fqdn }}.csr
- name: self signed certificate followed by key
shell: |
creates=/etc/pki/tls/private/{{ ansible_fqdn }}.crt_and_key
umask 0277 &&
cat /etc/pki/tls/certs/{{ ansible_fqdn }}.crt \
/etc/pki/tls/private/{{ ansible_fqdn }}.key > \
/etc/pki/tls/private/{{ ansible_fqdn }}.crt_and_key
|
Add `n` version manager install | ---
- dnf: name={{ item }} state=latest
name: install R, Go, and Haskell
become: true
with_items:
- haskell-platform
- R
- autoconf
- make
- golang
tags:
- packages
when: ansible_distribution == 'Fedora'
- include: python.yml
- include: ruby.yml
- name: Install node version manager and make sure stable & LTS are installed
shell: >
curl -vsL https://git.io/n-install | N_PREFIX=~/.local/n bash -s -- -n stable lts
args:
creates: /home/ryansb/.local/n/bin/n
- name: make R module dir
file: path=~/.rlang/lib/ state=directory
- copy: src=Rprofile dest=~/.Rprofile
- copy: src=Renviron dest=~/.Renviron
| ---
- dnf: name={{ item }} state=latest
name: install R, Go, and Haskell
become: true
with_items:
- haskell-platform
- R
- autoconf
- make
- golang
tags:
- packages
when: ansible_distribution == 'Fedora'
- include: python.yml
- include: ruby.yml
- block:
- name: grab n install script
get_url:
url: https://git.io/n-install
dest: ~/.bin/n-install.sh
mode: '0754'
- name: Install node version manager and make sure stable & LTS are installed
shell: >
~/.bin/n-install.sh -y -n stable lts
environment:
N_PREFIX: '{{ ansible_user_dir }}/.local/n'
args:
creates: '{{ ansible_user_dir }}/.local/n/bin/n'
- name: make R module dir
file: path=~/.rlang/lib/ state=directory
- copy: src=Rprofile dest=~/.Rprofile
- copy: src=Renviron dest=~/.Renviron
|
Install nodejs from nodesource on debian by default | ---
nodejs_playbook_version: "0.1.6"
nodejs_install_source: build #One of: build (from source), nodesource_debs (works only on debian-based distros)
nodejs_version: "0.10.36"
nodejs_path: "/usr/local/"
nodejs_tmp_dir: "/tmp/"
nodejs_global_packages:
- nodemon
- debug
- foreman
nodejs_version_tag: "v{{nodejs_version}}"
nodejs_file_tag: "node-{{nodejs_version_tag}}"
nodejs_file_name: "{{nodejs_file_tag}}.tar.gz"
nodejs_base_url: "http://nodejs.org/dist/v{{nodejs_version}}/"
nodejs_tarball_url: "{{nodejs_base_url}}{{nodejs_file_name}}"
nodejs_shasum_url: "{{nodejs_base_url}}SHASUMS.txt"
| ---
nodejs_playbook_version: "0.1.6"
nodejs_install_source: '{% if ansible_os_family == "Debian" %}nodesource_debs{% else %}build{% endif %}'
nodejs_version: "0.10.36"
nodejs_path: "/usr/local/"
nodejs_tmp_dir: "/tmp/"
nodejs_global_packages:
- nodemon
- debug
- foreman
nodejs_version_tag: "v{{nodejs_version}}"
nodejs_file_tag: "node-{{nodejs_version_tag}}"
nodejs_file_name: "{{nodejs_file_tag}}.tar.gz"
nodejs_base_url: "http://nodejs.org/dist/v{{nodejs_version}}/"
nodejs_tarball_url: "{{nodejs_base_url}}{{nodejs_file_name}}"
nodejs_shasum_url: "{{nodejs_base_url}}SHASUMS.txt"
|
Add Node 5 to Travis CI. | language: node_js
sudo: false
node_js:
- "0.12"
- "4"
addons:
apt:
packages:
- fontforge
| language: node_js
sudo: false
node_js:
- "0.12"
- "4"
- "5"
addons:
apt:
packages:
- fontforge
|
Add _ss_environment.php settings for database | language: php
services: docker
env:
- VERSION=platform
install:
- composer create-project silverstripe/installer ~/src
- docker run -d --name database mysql -e MYSQL_ALLOW_EMPTY_PASSWORD=true
before_script:
- env | sort
- cd "$VERSION"
- image="brettt89/silverstripe-web:${VERSION}"
- image="${image//'/'/-}"
script:
- travis_retry docker build -t "$image" .
- docker run --name web --link database "$image" -v ~/src:/var/www/html /var/www/html/framework/sake dev/build
after_script:
- docker images
| language: php
services: docker
env:
- VERSION=platform
install:
- composer create-project silverstripe/installer ~/src
- docker run --name database --env MYSQL_ALLOW_EMPTY_PASSWORD=true mysql
- echo "<?php \ndefine('SS_DATABASE_SERVER', 'database'); \ndefine('SS_DATABASE_USERNAME', 'root'); \ndefine('SS_DATABASE_PASSWORD', ''); \ndefine('SS_DATABASE_NAME', 'SS_mysite');" > ~/src/_ss_environment.php
before_script:
- env | sort
- cd "$VERSION"
- image="brettt89/silverstripe-web:${VERSION}"
- image="${image//'/'/-}"
script:
- travis_retry docker build -t "$image" .
- docker run --name web --link database --volume ~/src:/var/www/html "$image" php /var/www/html/framework/cli-script.php dev/build
after_script:
- docker images
|
Remove 3.4 as unsupported by LXML & add 3.7 and 3.8 prematurely | language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install: "pip install -r requirements.txt"
script: ./tests/run_tests.sh
| language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install: "pip install -r requirements.txt"
script: ./tests/run_tests.sh
|
Install all deps when building on Travis | language: ruby
bundler_args: --without development
script: bundle exec rspec spec
rvm:
- ruby-1.8.7
- ruby-1.9.3
- ruby-2.0.0
| language: ruby
script: bundle exec rspec spec
rvm:
- ruby-1.8.7
- ruby-1.9.3
- ruby-2.0.0
|
Drop PHP 7.1 in builds | language: php
php:
- 7.1
- 7.2
- 7.3
env:
global:
- CC_TEST_REPORTER_ID=$CODECLIMATE_REPO_TOKEN
matrix:
- LARAVEL_VERSION=5.5.*
- LARAVEL_VERSION=5.7.*
- LARAVEL_VERSION=5.8.*
- LARAVEL_VERSION=6.0.*
matrix:
fast_finish: true
sudo: false
install:
- if [ "$LARAVEL_VERSION" != "" ]; then composer require --dev "laravel/framework:${LARAVEL_VERSION}" --no-update; fi;
- travis_retry composer install --no-interaction --prefer-source --no-suggest
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- $TRAVIS_BUILD_DIR/vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
| language: php
php:
- 7.2
- 7.3
env:
global:
- CC_TEST_REPORTER_ID=$CODECLIMATE_REPO_TOKEN
matrix:
- LARAVEL_VERSION=5.5.*
- LARAVEL_VERSION=5.7.*
- LARAVEL_VERSION=5.8.*
- LARAVEL_VERSION=6.0.*
matrix:
fast_finish: true
sudo: false
install:
- if [ "$LARAVEL_VERSION" != "" ]; then composer require --dev "laravel/framework:${LARAVEL_VERSION}" --no-update; fi;
- travis_retry composer install --no-interaction --prefer-source --no-suggest
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- $TRAVIS_BUILD_DIR/vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
|
Allow CI test failures for PHP7 (phpunit > 5.4) | language: php
sudo: required
php:
- 5.5
- 5.6
- 7.0
env:
global:
- NC_BRANCH=master
matrix:
- NC_DATABASE=mysql
matrix:
allow_failures:
include:
- php: 5.5
env: NC_DATABASE=sqlite
- php: 5.5
env: NC_DATABASE=pgsql
- php: 5.6
env: NC_DATABASE=sqlite
- php: 5.6
env: NC_DATABASE=pgsql
- php: 7.0
env: NC_DATABASE=sqlite
- php: 7.0
env: NC_DATABASE=pgsql
install:
- phpenv config-add tests/travis/php.ini
- ./tests/prepare-ci-tests.sh
script:
- cd ${TRAVIS_BUILD_DIR}/../nextcloud/apps/spreedme
- phpunit -c phpunit.xml
- phpunit -c phpunit.integration.xml
| language: php
sudo: required
php:
- 5.5
- 5.6
- 7.0
env:
global:
- NC_BRANCH=master
matrix:
- NC_DATABASE=mysql
matrix:
allow_failures:
- php: 7.0
include:
- php: 5.5
env: NC_DATABASE=sqlite
- php: 5.5
env: NC_DATABASE=pgsql
- php: 5.6
env: NC_DATABASE=sqlite
- php: 5.6
env: NC_DATABASE=pgsql
- php: 7.0
env: NC_DATABASE=sqlite
- php: 7.0
env: NC_DATABASE=pgsql
install:
- phpenv config-add tests/travis/php.ini
- ./tests/prepare-ci-tests.sh
script:
- cd ${TRAVIS_BUILD_DIR}/../nextcloud/apps/spreedme
- phpunit -c phpunit.xml
- phpunit -c phpunit.integration.xml
|
Drop oraclejdk7 and start testing openjdk7 on Trusty | language: java
addons:
hosts:
- short-hostname
hostname: short-hostname
matrix:
include:
- jdk: openjdk7
dist: precise
- jdk: oraclejdk7
dist: precise
- jdk: oraclejdk8
- jdk: oraclejdk9
notifications:
email:
on_success: never
sudo: false
script:
- ./gradlew clean test
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
| sudo: required
language: java
addons:
hosts:
- short-hostname
hostname: short-hostname
jdk:
- openjdk7
- oraclejdk8
- oraclejdk9
before_install:
# Work around missing crypto in openjdk7
- |
if [ "$TRAVIS_JDK_VERSION" == "openjdk7" ]; then
sudo wget "https://bouncycastle.org/download/bcprov-ext-jdk15on-158.jar" -O "${JAVA_HOME}/jre/lib/ext/bcprov-ext-jdk15on-158.jar"
sudo perl -pi.bak -e 's/^(security\.provider\.)([0-9]+)/$1.($2+1)/ge' /etc/java-7-openjdk/security/java.security
echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security
fi
notifications:
email:
on_success: never
sudo: false
script:
- ./gradlew clean test
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
|
Use only CS on src dir | language: php
php:
- 5.3
- 5.4
before_script:
- composer install --dev --prefer-source
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
script:
- phpunit --configuration tests/phpunit.xml
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi; | language: php
php:
- 5.3
- 5.4
before_script:
- composer install --dev --prefer-source
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
script:
- phpunit --configuration tests/phpunit.xml
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 ./src); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
|
Test on all supported platforms | language: objective-c
script:
- xctool -project RMStore.xcodeproj -scheme 'RMStoreExcludeKeychainTests' -configuration Release -sdk iphonesimulator test
- xctool -project RMStore.xcodeproj -scheme 'RMStoreDemo' -configuration Release -sdk iphonesimulator
branches:
only:
- master
| language: objective-c
script:
- xctool -project RMStore.xcodeproj -scheme 'RMStoreExcludeKeychainTests' -configuration Release -sdk iphonesimulator build-tests
- xctool -project RMStore.xcodeproj -scheme 'RMStoreExcludeKeychainTests' -configuration Release run-tests -test-sdk iphonesimulator5.0
- xctool -project RMStore.xcodeproj -scheme 'RMStoreExcludeKeychainTests' -configuration Release run-tests -test-sdk iphonesimulator5.1
- xctool -project RMStore.xcodeproj -scheme 'RMStoreExcludeKeychainTests' -configuration Release run-tests -test-sdk iphonesimulator6.0
- xctool -project RMStore.xcodeproj -scheme 'RMStoreExcludeKeychainTests' -configuration Release run-tests -test-sdk iphonesimulator6.1
- xctool -project RMStore.xcodeproj -scheme 'RMStoreExcludeKeychainTests' -configuration Release run-tests -test-sdk iphonesimulator7.0
- xctool -project RMStore.xcodeproj -scheme 'RMStoreDemo' -configuration Release -sdk iphonesimulator
branches:
only:
- master
|
Enable automated testing on Python 3.4 | language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
install:
- python setup.py install
- pip install coverage
script: coverage run setup.py test
after_success:
- pip install coveralls
- coveralls
notifications:
webhooks: https://webhooks.gitter.im/e/af18bf2decb40329066b
| language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
install:
- python setup.py install
- pip install coverage
script: coverage run setup.py test
after_success:
- pip install coveralls
- coveralls
notifications:
webhooks: https://webhooks.gitter.im/e/af18bf2decb40329066b
|
Build with Node.js 10 on Travis CI. | sudo: false
language: node_js
node_js:
- '4'
- '6'
- '8'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls
| sudo: false
language: node_js
node_js:
- '4'
- '6'
- '8'
- '10'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls
|
Edit .travs.yml in another attempt to instal gcc-4.8 again | sudo-false
language:
- cpp
compiler:
- gcc
addons:
apt:
sources:
-ubuntu-toolchain-r-test
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq
install:
- apt-get update
- apt-get install g++-4.8
- update-alternatives --install /usr/bin/g++ g++ /user/bin/g++-4.8 90
- update-alternatives --install /usr/bin/gcc gcc /user/bin/gcc-4.8 90
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make
- ./runTests
| sudo: false
language:
- cpp
compiler:
- gcc
addons:
apt:
sources:
-ubuntu-toolchain-r-test
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq
install:
- apt-get update
- apt-get install g++-4.8
- update-alternatives --install /usr/bin/g++ g++ /user/bin/g++-4.8 90
- update-alternatives --install /usr/bin/gcc gcc /user/bin/gcc-4.8 90
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make
- ./runTests
|
Use Go 1.16 to run CI | language: go
go:
- 1.12.x
install:
- export PATH=${PATH}:${HOME}/gopath/bin
- export PATH=${PATH}:${HOME}/bin
- cd ../../.. && mkdir goa.design && cp -r github.com/goadesign/plugins goa.design/plugins && cd goa.design/plugins
before_script:
- make depend
script:
- make
| language: go
go:
- 1.16.x
install:
- export PATH=${PATH}:${HOME}/gopath/bin
- export PATH=${PATH}:${HOME}/bin
- cd ../../.. && mkdir goa.design && cp -r github.com/goadesign/plugins goa.design/plugins && cd goa.design/plugins
before_script:
- make depend
script:
- make
|
Install `pdftotext` for Travis CI | language: python
python:
- "3.4"
install:
- pip install -r requirements/test.txt
env:
matrix:
- TARGET=test
- TARGET=lint
script: make $TARGET
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: python
sudo: required
python:
- "3.4"
install:
- pip install -r requirements/test.txt
- sudo apt-get install poppler-utils
env:
matrix:
- TARGET=test
- TARGET=lint
script: make $TARGET
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Exclude incompatible python and django versions from CI | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
- DJANGO_VERSION=1.8.17
- DJANGO_VERSION=1.9.12
- DJANGO_VERSION=1.10.0
- DJANGO_VERSION=1.10.1
- DJANGO_VERSION=1.10.2
- DJANGO_VERSION=1.10.3
- DJANGO_VERSION=1.10.4
- DJANGO_VERSION=1.10.5
branches:
except:
- media
install:
- pip install -q django==$DJANGO_VERSION
- pip install -q -e .
- pip install -q selenium
- pip install -q coveralls
script:
- coverage run --source publications_bootstrap --omit publications_bootstrap/six.py publications_bootstrap/tests/__main__.py
after_success:
- coveralls
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
- DJANGO_VERSION=1.8.17
- DJANGO_VERSION=1.9.12
- DJANGO_VERSION=1.10.0
- DJANGO_VERSION=1.10.1
- DJANGO_VERSION=1.10.2
- DJANGO_VERSION=1.10.3
- DJANGO_VERSION=1.10.4
- DJANGO_VERSION=1.10.5
# https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django
matrix:
exclude:
- env: DJANGO_VERSION=1.9.12
python: 3.3
- env: DJANGO_VERSION=1.10.0
python: 3.3
- env: DJANGO_VERSION=1.10.1
python: 3.3
- env: DJANGO_VERSION=1.10.2
python: 3.3
- env: DJANGO_VERSION=1.10.3
python: 3.3
- env: DJANGO_VERSION=1.10.4
python: 3.3
- env: DJANGO_VERSION=1.10.5
python: 3.3
branches:
except:
- media
install:
- pip install -q django==$DJANGO_VERSION
- pip install -q -e .
- pip install -q selenium
- pip install -q coveralls
script:
- coverage run --source publications_bootstrap --omit publications_bootstrap/six.py publications_bootstrap/tests/__main__.py
after_success:
- coveralls
|
Add node 0.12 and iojs as build targets | language: node_js
services:
- mongodb
node_js:
- '0.10'
before_script:
- npm install -g istanbul
- npm install coveralls
- npm install mocha-lcov-reporter
after_script:
- NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
| language: node_js
services:
- mongodb
node_js:
- '0.10'
- '0.12'
- 'iojs'
before_script:
- npm install -g istanbul
- npm install coveralls
- npm install mocha-lcov-reporter
after_script:
- NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
|
Use "pip install ." instead of using setup.py directly | sudo: false
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"
install: pip install tox-travis codecov
script:
- tox
- python setup.py install && s4 version
after_success:
- codecov
cache: pip
| sudo: false
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"
install: pip install tox-travis codecov
script:
- tox
- pip install . && s4 version
after_success:
- codecov
cache: pip
|
Build dependencies with Debug configuration | language: objective-c
osx_image: xcode7
before_install:
- brew update
- brew install carthage || brew outdated carthage || brew upgrade carthage
install:
- gem install xcpretty
- carthage bootstrap --verbose
script:
- set -o pipefail && xcodebuild -scheme 'Cartography-Mac' test | xcpretty -c
- set -o pipefail && xcodebuild -scheme 'Cartography-iOS' test | xcpretty -c
env:
global:
secure: odPR+Uvp5Enxc8qlFxuUo+aYVf1zS9xF7t2at4IXAJtP0wegwmG8dYOZ5IiMZP/gbBtAWWYc2en4NVnqS9K9wPFIrKdShMwBGnRcsYPj3b6kH/vQM/OLwzYFit2oSqhR3n4RP5UM+lc4jJnfqrK7StMY6ZxCkvLdZkMbFGqVJ20=
| language: objective-c
osx_image: xcode7
before_install:
- brew update
- brew install carthage || brew outdated carthage || brew upgrade carthage
install:
- gem install xcpretty
- carthage bootstrap --verbose --configuration DEBUG
script:
- set -o pipefail && xcodebuild -scheme 'Cartography-Mac' test | xcpretty -c
- set -o pipefail && xcodebuild -scheme 'Cartography-iOS' test | xcpretty -c
env:
global:
secure: odPR+Uvp5Enxc8qlFxuUo+aYVf1zS9xF7t2at4IXAJtP0wegwmG8dYOZ5IiMZP/gbBtAWWYc2en4NVnqS9K9wPFIrKdShMwBGnRcsYPj3b6kH/vQM/OLwzYFit2oSqhR3n4RP5UM+lc4jJnfqrK7StMY6ZxCkvLdZkMbFGqVJ20=
|
Remove node v0.12.x from Travis CI | sudo: false
language: node_js
node_js:
- "6"
- "4"
- "0.12"
install:
- npm install
script: npm test
| sudo: false
language: node_js
node_js:
- "6"
- "4"
install:
- npm install
script: npm test
|
Enable Java versions < 8 again | # Use docker-based build environment (instead of openvz)
sudo: false
# Select JDKs >= Java 6 for testing
language: java
jdk:
# - openjdk6
# - openjdk7
# - oraclejdk7
- oraclejdk8
# Test execution
install: true
script: "mvn -e -q clean compile test > /dev/null"
| # Use docker-based build environment (instead of openvz)
sudo: false
# Select JDKs >= Java 6 for testing
language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
# Test execution
install: true
script: "mvn -e -q clean compile test > /dev/null"
|
Use build matrix on Travis CI | language: python
python:
- 3.6
sudo: required
services:
- docker
before_install:
- gem install package_cloud
before_script:
- sudo chown root:root */*
script:
- make all
- if [[ "$RPM_GPG_KEY_SECRET" != "" ]]; then openssl aes-256-cbc -k "$RPM_GPG_KEY_SECRET" -in secret.asc.enc -out secret.asc -d; fi
- if [[ "$RPM_GPG_KEY_PASSPHRASE" != "" ]]; then echo "$RPM_GPG_KEY_PASSPHRASE" > .passphrase; fi
- if [[ "$TRAVIS_REPO_SLUG" == "lest/prometheus-rpm" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then make publish; fi
| language: python
python:
- 3.6
sudo: required
services:
- docker
before_install:
- gem install package_cloud
before_script:
- sudo chown root:root */*
script:
- make $BUILD_TARGET
- if [[ "$RPM_GPG_KEY_SECRET" != "" ]]; then openssl aes-256-cbc -k "$RPM_GPG_KEY_SECRET" -in secret.asc.enc -out secret.asc -d; fi
- if [[ "$RPM_GPG_KEY_PASSPHRASE" != "" ]]; then echo "$RPM_GPG_KEY_PASSPHRASE" > .passphrase; fi
- if [[ "$TRAVIS_REPO_SLUG" == "lest/prometheus-rpm" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then make $PUBLISH_TARGET; fi
jobs:
include:
- env: BUILD_TARGET=auto8 PUBLISH_TARGET=publish8
- env: BUILD_TARGET=auto7 PUBLISH_TARGET=publish7
- env: BUILD_TARGET=auto6 PUBLISH_TARGET=publish6
- env: BUILD_TARGET=7 PUBLISH_TARGET=publish7
|
Make a few tests with xcpretty & bash scripts | language: objective-c
osx_image: xcode7.3
xcode_workspace: Rocket.Chat.xcworkspace
xcode_scheme: Rocket.Chat
xcode_sdk: iphonesimulator9.3
| language: objective-c
osx_image: xcode7.3
env:
matrix:
- TEST_TYPE=iOS
before_install:
- |
gem install xcpretty -N --no-ri --no-rdoc
script:
- |
set -o pipefail
xcodebuild clean test -workspace Rocket.Chat.xcworkspace -scheme Rocket.Chat -destination "platform=iOS Simulator,name=iPhone 6 Plus" -enableCodeCoverage YES | xcpretty
after_success:
- |
bash <(curl -s https://codecov.io/bash) |
Remove Travis test for python2.6 | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
# command to install dependencies
#install: "pip install -r requirements.txt"
# command to run tests
script: nosetests
| language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
# command to install dependencies
#install: "pip install -r requirements.txt"
# command to run tests
script: nosetests
|
Update WhatsApp Web To Go to 1.6.2 (31) | AntiFeatures:
- NonFreeNet
Categories:
- Internet
License: MIT
SourceCode: https://github.com/92lleo/WhatsappWebToGo
IssueTracker: https://github.com/92lleo/WhatsappWebToGo/issues
Changelog: https://github.com/92lleo/WhatsappWebToGo/releases
AutoName: WhatsApp Web To Go
RepoType: git
Repo: https://github.com/92lleo/WhatsappWebToGo
Builds:
- versionName: 1.5.3
versionCode: 28
commit: v1.5.3
subdir: app
gradle:
- yes
- versionName: 1.6.0
versionCode: 29
commit: v1.6.0
subdir: app
gradle:
- yes
- versionName: 1.6.1
versionCode: 30
commit: v1.6.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.6.1
CurrentVersionCode: 30
| AntiFeatures:
- NonFreeNet
Categories:
- Internet
License: MIT
SourceCode: https://github.com/92lleo/WhatsappWebToGo
IssueTracker: https://github.com/92lleo/WhatsappWebToGo/issues
Changelog: https://github.com/92lleo/WhatsappWebToGo/releases
AutoName: WhatsApp Web To Go
RepoType: git
Repo: https://github.com/92lleo/WhatsappWebToGo
Builds:
- versionName: 1.5.3
versionCode: 28
commit: v1.5.3
subdir: app
gradle:
- yes
- versionName: 1.6.0
versionCode: 29
commit: v1.6.0
subdir: app
gradle:
- yes
- versionName: 1.6.1
versionCode: 30
commit: v1.6.1
subdir: app
gradle:
- yes
- versionName: 1.6.2
versionCode: 31
commit: v1.6.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.6.2
CurrentVersionCode: 31
|
Update from Hackage at 2015-11-16T14:16:40+0000 | homepage: http://www.cs.kent.ac.uk/~oc/pretty.html
changelog-type: ''
hash: caf7ff2698598946b6d76b91782e7b94316713a17238c200bf5cbe3d40fbdd6b
test-bench-deps: {}
maintainer: O.Chitil@kent.ac.uk
synopsis: Efficient simple pretty printing combinators
changelog: ''
basic-deps:
base: ! '>=4.5 && <5'
containers: ! '>=0.4'
all-versions:
- '1.0'
author: Olaf Chitil
latest: '1.0'
description-type: haddock
description: ! 'A pretty printer turns a tree structure into indented text,
such that the indentation reflects the tree structure. To keep
text short, substructures are put into a single line as far as
possible. The library provides combinators for building
pretty printers. It emphasizes simplicity and efficiency.'
license-name: BSD3
| homepage: http://www.cs.kent.ac.uk/~oc/pretty.html
changelog-type: ''
hash: 6e35d96e78b2e6cf79f88217a7084899000530a399cd5d2857471cadabd20d13
test-bench-deps: {}
maintainer: O.Chitil@kent.ac.uk
synopsis: Efficient simple pretty printing combinators
changelog: ''
basic-deps:
base: ! '>=4.5 && <5'
containers: ! '>=0.4'
all-versions:
- '1.0'
- '1.1'
author: Olaf Chitil
latest: '1.1'
description-type: haddock
description: ! 'A pretty printer turns a tree structure into indented text,
such that the indentation reflects the tree structure. To keep
text short, substructures are put into a single line as far as
possible. The library provides combinators for building
pretty printers. It emphasizes simplicity and efficiency.'
license-name: BSD3
|
Fix sketch size in CI config | seed: 3301
num_replicates: 1
population_size: 6
recomb_per_gen: 1
num_chroms: 1 # Chromosomes
runs_per_sample: 2 # Replicate runs per sample
coverage_cv: 0.3
genome_size: 10000
sketch_size: "5e4"
# Pairs of coverage, tree scale (i.e. $\pi$, mean pairwise dist.)
coverage_variablity:
- {cov: 1, var: 0.001}
- {cov: 4, var: 0.001}
- {cov: 4, var: 0.01}
- {cov: 4, var: 0.001}
| seed: 3301
num_replicates: 1
population_size: 6
recomb_per_gen: 1
num_chroms: 1 # Chromosomes
runs_per_sample: 2 # Replicate runs per sample
coverage_cv: 0.3
genome_size: 10000
sketch_size: "5e5"
# Pairs of coverage, tree scale (i.e. $\pi$, mean pairwise dist.)
coverage_variablity:
- {cov: 1, var: 0.001}
- {cov: 4, var: 0.001}
- {cov: 4, var: 0.01}
- {cov: 4, var: 0.001}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.