Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Update from Hackage at 2017-02-09T20:42:17Z | homepage: https://github.com/zaidan/gridbox#readme
changelog-type: ''
hash: 4b718f2120a6af47e0bebb79761de5678afb40ae5e37329bf0ac2c19e288f3c5
test-bench-deps:
base: ! '>=4.9 && <5.0'
hspec: -any
gridbox: -any
maintainer: firas@zaidan.de
synopsis: A grid box model
changelog: ''
basic-deps:
base: ! '>=4.9 && <5.0'
all-versions:
- '0.0.0.1'
- '0.1.0.0'
- '0.1.0.1'
author: Firas Zaidan
latest: '0.1.0.1'
description-type: markdown
description: ! "# GridBox - A grid box model\n[](https://hackage.haskell.org/package/gridbox)\n\nSpans
a 2D grid of n rows and m boxes with equal size. \n\n## Credits\n\n * [Firas Zaidan](https://github.com/zaidan)\n\n##
License\n\nSee `LICENSE` file.\n"
license-name: MIT
| homepage: https://github.com/zaidan/gridbox#readme
changelog-type: ''
hash: ba0321110362e99aed255d2328dc27dc80f0f89e52465777d58e40c6dc8a184d
test-bench-deps:
base: ! '>=4.9 && <5.0'
hspec: -any
gridbox: -any
maintainer: firas@zaidan.de
synopsis: A grid box model
changelog: ''
basic-deps:
base: ! '>=4.9 && <5.0'
all-versions:
- '0.0.0.1'
- '0.1.0.0'
- '0.1.0.1'
- '0.2.0.0'
author: Firas Zaidan
latest: '0.2.0.0'
description-type: markdown
description: ! "# GridBox - A grid box model\n[](https://hackage.haskell.org/package/gridbox)\n\nSpans
a 2D grid of n rows and m boxes with equal size. \n\n## Credits\n\n * [Firas Zaidan](https://github.com/zaidan)\n\n##
License\n\nSee `LICENSE` file.\n"
license-name: MIT
|
Make sure to set the permissions to our home dir. | # Update the repo, yaaay!
- name: Bootstrap | Update repository
command: /usr/bin/apt-get update
# Some of our actions will require build essentials.
- name: Bootstrap | Build Essentials and Other Packages
apt:
pkg: "{{ item }}"
state: installed
with_items:
- build-essential
- python-software-properties
- python
- g++
- make
# Let's install curl as we will need it in some point.
- name: Bootstrap | cURL
apt:
pkg: curl
state: installed
# GIT, because it's so amazing.
- name: Bootstrap | Git
apt:
pkg: git
state: installed | # Update the repo, yaaay!
- name: Bootstrap | Update repository
command: /usr/bin/apt-get update
# Some of our actions will require build essentials.
- name: Bootstrap | Build Essentials and Other Packages
apt:
pkg: "{{ item }}"
state: installed
with_items:
- build-essential
- python-software-properties
- python
- g++
- make
# Let's install curl as we will need it in some point.
- name: Bootstrap | cURL
apt:
pkg: curl
state: installed
# GIT, because it's so amazing.
- name: Bootstrap | Git
apt:
pkg: git
state: installed
# Setup correct permissions for our home folder...
- name: Bootstrap | Permissions setup
file: path=/home/vagrant state=directory owner=vagrant group=vagrant recurse=yes force=yes |
Tweak sample blocks of blocks a bit more | - hosts: localhost
gather_facts: no
tasks:
- block:
- block:
- block:
- block:
- debug: msg="are we there yet?"
always:
- debug: msg="a random always block"
- fail:
rescue:
- debug: msg="rescuing from the fail"
when: not skip_me|default(False)
| - hosts: localhost
gather_facts: no
tasks:
- block:
- block:
- block:
- block:
- debug: msg="are we there yet {{foo}}?"
always:
- debug: msg="a random always block"
- fail:
rescue:
- debug: msg="rescuing from the fail"
when: not skip_me|default(False)
- debug: msg="i am the last task"
vars:
foo: bar
|
Update Railway station photos to 12.3.2 (54) | Categories:
- Navigation
- Games
License: MIT
AuthorName: Railwaystations Team
WebSite: https://railway-stations.org
SourceCode: https://github.com/RailwayStations/RSAndroidApp
IssueTracker: https://github.com/RailwayStations/RSAndroidApp/issues
AutoName: Railway station photos
RepoType: git
Repo: https://github.com/RailwayStations/RSAndroidApp.git
Builds:
- versionName: 12.2.2
versionCode: 48
commit: 12.2.2
subdir: app
gradle:
- yes
- versionName: 12.2.5
versionCode: 51
commit: 12.2.5
subdir: app
gradle:
- yes
- versionName: 12.3.0
versionCode: 52
commit: 12.3.0
subdir: app
gradle:
- yes
- versionName: 12.3.1
versionCode: 53
commit: 12.3.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 12.3.1
CurrentVersionCode: 53
| Categories:
- Navigation
- Games
License: MIT
AuthorName: Railwaystations Team
WebSite: https://railway-stations.org
SourceCode: https://github.com/RailwayStations/RSAndroidApp
IssueTracker: https://github.com/RailwayStations/RSAndroidApp/issues
AutoName: Railway station photos
RepoType: git
Repo: https://github.com/RailwayStations/RSAndroidApp.git
Builds:
- versionName: 12.2.2
versionCode: 48
commit: 12.2.2
subdir: app
gradle:
- yes
- versionName: 12.2.5
versionCode: 51
commit: 12.2.5
subdir: app
gradle:
- yes
- versionName: 12.3.0
versionCode: 52
commit: 12.3.0
subdir: app
gradle:
- yes
- versionName: 12.3.1
versionCode: 53
commit: 12.3.1
subdir: app
gradle:
- yes
- versionName: 12.3.2
versionCode: 54
commit: 12.3.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 12.3.2
CurrentVersionCode: 54
|
Add the 'astuce-etape-debat' to the saved pages. | environment_name: local
front_hostname: cocorico.cc
front_web_public_host: "{{ front_hostname }}.test"
hostname: "{{ front_hostname }}-{{ environment_name }}"
is_development_environment: yes
http_protocol_prefix: http
mongodb_database_name: "{{ project_name }}"
franceconnect_cliend_id: 10e0a74c752107f712b890e6183b03b179146eb682189c3158370cb8f3fe7068
franceconnect_client_secret: 9ecc4856675778548fae7c3042b07df78a5134f3ab9ae09b91543965b24f04a3
franceconnect_url: https://fcp.integ01.dev-franceconnect.fr
home_web_admin_email: "admin@{{ front_hostname }}"
home_web_admin_password: admin
home_web_admin_name: Admin
home_web_upload_dir: upload
home_db_saved_pages:
- connexion
- accueil
- aide
- politique-de-confidentialite
- manifeste
| environment_name: local
front_hostname: cocorico.cc
front_web_public_host: "{{ front_hostname }}.test"
hostname: "{{ front_hostname }}-{{ environment_name }}"
is_development_environment: yes
http_protocol_prefix: http
mongodb_database_name: "{{ project_name }}"
franceconnect_cliend_id: 10e0a74c752107f712b890e6183b03b179146eb682189c3158370cb8f3fe7068
franceconnect_client_secret: 9ecc4856675778548fae7c3042b07df78a5134f3ab9ae09b91543965b24f04a3
franceconnect_url: https://fcp.integ01.dev-franceconnect.fr
home_web_admin_email: "admin@{{ front_hostname }}"
home_web_admin_password: admin
home_web_admin_name: Admin
home_web_upload_dir: upload
home_db_saved_pages:
- connexion
- accueil
- aide
- politique-de-confidentialite
- manifeste
- astuce-etape-debat
|
Add proper versioning for nightly builds | name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
name: Test code
runs-on: ubuntu-latest
strategy:
matrix:
go:
- ^1.13
- ^1.14
- ^1.15
- ^1
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Test
run: |
make
make test
- name: Install packaging dependencies
run: |
sudo apt-get install rpm ruby-dev
sudo gem install fpm
- name: Check packaging
run: |
GO111MODULE=off go get github.com/mitchellh/gox
make gox-build
make DEVEL=1 fpm-deb
make DEVEL=1 fpm-rpm
make sum-files
- name: Artifact
id: artifact
uses: actions/upload-artifact@v2
with:
name: packages-${{ matrix.go }}
retention-days: 1
path: |
*.deb
*.rpm
sha256sum
md5sum
| name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
name: Test code
runs-on: ubuntu-latest
strategy:
matrix:
go:
- ^1.13
- ^1.14
- ^1.15
- ^1
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v2
- name: Checkout to the latest code
run: |
# Fetch all tags
git fetch --depth=1 --tags
# Get the latest tag
VERS=$(git tag -l | sort -Vr | head -n1)
# Fetch everything to the latest tag
git fetch --shallow-since=$(git log $VERS -1 --format=%at)
if: ${{ github.event_name == 'push' }}
- name: Test
run: |
make
make test
- name: Install packaging dependencies
run: |
sudo apt-get install rpm ruby-dev
sudo gem install fpm
- name: Check packaging
run: |
GO111MODULE=off go get github.com/mitchellh/gox
make gox-build
make DEVEL=1 fpm-deb
make DEVEL=1 fpm-rpm
make sum-files
- name: Artifact
id: artifact
uses: actions/upload-artifact@v2
with:
name: packages-${{ matrix.go }}
retention-days: 1
path: |
*.deb
*.rpm
sha256sum
md5sum
|
Update to be Python 3.5+ | {% set name = "unumpy" %}
{% set version = "0.5.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/Quansight-Labs/{{ name }}/archive/{{ version }}.tar.gz
sha256: 07777c96c0d559b27739f64f91c286842fc99ae409df61bd0d9f3c49c2a4c4f6
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python
- pip
run:
- python
- uarray
test:
imports:
- unumpy
about:
home: http://github.com/Quansight-Labs/unumpy
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: 'A backend-dispatchable version of NumPy'
description: |
`unumpy` is a backend-dispatchable version of NumPy.
doc_url: http://unumpy.readthedocs.io/
dev_url: https://github.com/Quansight-Labs/unumpy
extra:
recipe-maintainers:
- hameerabbasi
| {% set name = "unumpy" %}
{% set version = "0.5.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/Quansight-Labs/{{ name }}/archive/{{ version }}.tar.gz
sha256: 07777c96c0d559b27739f64f91c286842fc99ae409df61bd0d9f3c49c2a4c4f6
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- python >=3.5
- pip
run:
- python >=3.5
- uarray
test:
imports:
- unumpy
about:
home: http://github.com/Quansight-Labs/unumpy
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: 'A backend-dispatchable version of NumPy'
description: |
`unumpy` is a backend-dispatchable version of NumPy.
doc_url: http://unumpy.readthedocs.io/
dev_url: https://github.com/Quansight-Labs/unumpy
extra:
recipe-maintainers:
- hameerabbasi
|
Set pythonpath correctly in tests | variables:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ""
stages:
- test
services:
- postgres:latest
before_script:
- pip install -r requirements.txt
test_python:3.4:
stage: test
image: python:3.4
script:
- ./test.sh
test_python:3.5:
stage: test
image: python:3.5
script:
- ./test.sh
| variables:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ""
stages:
- test
services:
- postgres:latest
before_script:
- pip install -r requirements.txt
- export PYTHONPATH=`pwd`
test_python:3.4:
stage: test
image: python:3.4
script:
- ./test.sh
test_python:3.5:
stage: test
image: python:3.5
script:
- ./test.sh
|
Update from Hackage at 2020-01-05T01:57:48Z | homepage: https://github.com/thomaseding/tree-render-text
changelog-type: ''
hash: b1328db59985a3c4f7c7ed703d45844b0f36ea582375f2dd7bd6da0ab6dc20b1
test-bench-deps: {}
maintainer: Thomas Eding
synopsis: Configurable text rendering of trees.
changelog: ''
basic-deps:
base: ^>=4.12.0.0
containers: ^>=0.6.0.1
mtl: ^>=2.2.2
boxes: ^>=0.1.5
all-versions:
- 0.1.0.0
author: Thomas Eding
latest: 0.1.0.0
description-type: haddock
description: Configurable text rendering of trees.
license-name: BSD-3-Clause
| homepage: https://github.com/thomaseding/tree-render-text
changelog-type: ''
hash: 795c5a3ce1800759b093c2cd5ab52825f53b49bf8fbdaeaff4b30ba999591662
test-bench-deps: {}
maintainer: Thomas Eding
synopsis: Configurable text rendering of trees.
changelog: ''
basic-deps:
base: ^>=4.12.0.0
containers: ^>=0.6.0.1
mtl: ^>=2.2.2
boxes: ^>=0.1.5
all-versions:
- 0.1.0.0
- 0.1.1.0
author: Thomas Eding
latest: 0.1.1.0
description-type: haddock
description: Configurable text rendering of trees.
license-name: BSD-3-Clause
|
Update pozil/auto-assign-issue action to v1.7.1 | name: issue assignment
on:
issues:
types: [opened]
jobs:
auto-assign:
runs-on: ubuntu-latest
steps:
- name: 'auto-assign issue'
uses: pozil/auto-assign-issue@v1.7.0
with:
assignees: konstruktoid
| name: issue assignment
on:
issues:
types: [opened]
jobs:
auto-assign:
runs-on: ubuntu-latest
steps:
- name: 'auto-assign issue'
uses: pozil/auto-assign-issue@v1.7.1
with:
assignees: konstruktoid
|
Update from Hackage at 2022-05-04T19:10:02Z | homepage: https://github.com/typeclasses/ascii
changelog-type: ''
hash: 575c82ed825c40ee7ff00f742a2ec23cd0cf83deae30ada7c7c528d215e4435a
test-bench-deps:
ascii-char: ^>=1.0
base: '>=4.11 && <4.17'
hedgehog: ^>=1.0 || ^>=1.1
ascii-predicates: -any
maintainer: Chris Martin, Julie Moronuki
synopsis: Various categorizations of ASCII characters
changelog: ''
basic-deps:
ascii-char: ^>=1.0
base: '>=4.11 && <4.17'
all-versions:
- 1.0.0.0
- 1.0.0.2
- 1.0.0.4
- 1.0.0.6
- 1.0.0.8
- 1.0.0.10
author: Chris Martin
latest: 1.0.0.10
description-type: haddock
description: |-
This package provides a variety of predicates
on the ASCII character set.
license-name: Apache-2.0
| homepage: https://github.com/typeclasses/ascii
changelog-type: ''
hash: 0998010eb0c8e973c7b2aed378fd95bf669d663f3d8761ada7bb8b064aa39176
test-bench-deps:
ascii-char: ^>=1.0
base: '>=4.13 && <4.17'
hedgehog: ^>=1.0.1 || ^>=1.1
ascii-predicates: -any
maintainer: Chris Martin, Julie Moronuki
synopsis: Various categorizations of ASCII characters
changelog: ''
basic-deps:
ascii-char: ^>=1.0
base: '>=4.13 && <4.17'
all-versions:
- 1.0.0.0
- 1.0.0.2
- 1.0.0.4
- 1.0.0.6
- 1.0.0.8
- 1.0.0.10
- 1.0.1.0
author: Chris Martin
latest: 1.0.1.0
description-type: haddock
description: |-
This package provides a variety of predicates
on the ASCII character set.
license-name: Apache-2.0
|
Add yarn.lock check to CI | pipeline:
setup:
image: node:8
when:
event: [push, pull_request]
commands:
- yarn
test:
image: node:8
when:
event: [push, pull_request]
group: testing
commands:
- yarn test
lint:
image: node:8
when:
event: [push, pull_request]
group: testing
commands:
- yarn lint
flow:
image: node:8
when:
event: [push, pull_request]
group: testing
commands:
- yarn flow --quiet
build:
image: node:8
when:
event: [push, pull_request]
branch:
exclude: [ prod ]
group: testing
commands:
- yarn build
docker:
image: plugins/docker
when:
branch:
- prod
event: push
status: success
registry: https://registry.abakus.no
repo: registry.abakus.no/webkom/lego-webapp
secrets: [ docker_username, docker_password, sentry_auth_key ]
tags:
- ${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:7}
build_args:
- RELEASE=${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:7}
- SENTRY_AUTH_KEY
- SENTRY_ORG=webkom
- SENTRY_PROJECT=lego-webapp
- SENTRY_URL=https://sentry.abakus.no/
| pipeline:
setup:
image: node:8
when:
event: [push, pull_request]
commands:
- yarn --frozen-lockfile
test:
image: node:8
when:
event: [push, pull_request]
group: testing
commands:
- yarn test
lint:
image: node:8
when:
event: [push, pull_request]
group: testing
commands:
- yarn lint
flow:
image: node:8
when:
event: [push, pull_request]
group: testing
commands:
- yarn flow --quiet
build:
image: node:8
when:
event: [push, pull_request]
branch:
exclude: [prod]
group: testing
commands:
- yarn build
docker:
image: plugins/docker
when:
branch:
- prod
event: push
status: success
registry: https://registry.abakus.no
repo: registry.abakus.no/webkom/lego-webapp
secrets: [docker_username, docker_password, sentry_auth_key]
tags:
- ${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:7}
build_args:
- RELEASE=${DRONE_BRANCH}-${DRONE_COMMIT_SHA:0:7}
- SENTRY_AUTH_KEY
- SENTRY_ORG=webkom
- SENTRY_PROJECT=lego-webapp
- SENTRY_URL=https://sentry.abakus.no/
|
Set temppath to /tmp in place of /var/lib/autopostgresqlbackup | govuk_env_sync::tasks:
"push_content_performance_manager_production_daily":
hour: "3"
minute: "3"
action: "push"
dbms: "postgresql"
storagebackend: "s3"
database: "content_performance_manager_production"
temppath: "/var/lib/autopostgresqlbackup/content_performance_manager_production"
url: "govuk-staging-database-backups"
path: "warehouse-postgresql"
| govuk_env_sync::tasks:
"push_content_performance_manager_production_daily":
hour: "3"
minute: "3"
action: "push"
dbms: "postgresql"
storagebackend: "s3"
database: "content_performance_manager_production"
temppath: "/tmp/content_performance_manager_production"
url: "govuk-staging-database-backups"
path: "warehouse-postgresql"
|
Enable the php zip extension for composer | clone:
git:
image: plugins/git
depth: 1
pipeline:
release:
image: stayallive/php:7.3
secrets: [ svn_username, svn_password ]
commands:
- ./release.sh
environment:
- RELEASE_VERSION="${DRONE_TAG##v}"
# when:
# event: [ tag ]
# status: success
| clone:
git:
image: plugins/git
depth: 1
pipeline:
release:
image: stayallive/php:7.3
secrets: [ svn_username, svn_password ]
commands:
- docker-php-ext-enable zip
- ./release.sh
environment:
- RELEASE_VERSION="${DRONE_TAG##v}"
# when:
# event: [ tag ]
# status: success
|
Install mongodb locally in dev. | ---
- name: Install fileschanged for the watcher service
apt: name={{ item }} update_cache=yes
with_items:
- fileschanged
sudo: yes
- name: Fix the permissions of the site destination folder
file: path=/vagrant_data/_site state=directory owner=vagrant group=vagrant recurse=yes
- name: Install the dev Jekyll configuration
copy: src=_config.yml dest=/vagrant_data/src/site_source/_config.yml
owner=vagrant group=vagrant mode=0644
- name: Kick off an initial build
shell: ./build_site.sh chdir=/vagrant_data
sudo: yes
sudo_user: vagrant
- name: Install the watcher's init script
template: src=watcher.conf.j2 dest=/etc/init/watcher.conf
sudo: yes
- name: Ensure that the watcher has started
service: name=watcher state=started
| ---
- name: Install apt packages
apt: name={{ item }} update_cache=yes
with_items:
- fileschanged
- mongodb
sudo: yes
- name: Fix the permissions of the site destination folder
file: path=/vagrant_data/_site state=directory owner=vagrant group=vagrant recurse=yes
- name: Install the dev Jekyll configuration
copy: src=_config.yml dest=/vagrant_data/src/site_source/_config.yml
owner=vagrant group=vagrant mode=0644
- name: Kick off an initial build
shell: ./build_site.sh chdir=/vagrant_data
sudo: yes
sudo_user: vagrant
- name: Install the watcher's init script
template: src=watcher.conf.j2 dest=/etc/init/watcher.conf
sudo: yes
- name: Ensure that the watcher has started
service: name=watcher state=started
|
Configure PostgreSQL service to run tests with GitHub Actions | name: judoscale-que tests
defaults:
run:
working-directory: judoscale-que
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
gemfile:
- Gemfile
ruby:
- '2.6'
- '2.7'
- '3.0'
- '3.1'
runs-on: ubuntu-latest
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/judoscale-que/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs bundle install and caches installed gems automatically
- run: bundle exec rake
| name: judoscale-que tests
defaults:
run:
working-directory: judoscale-que
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
gemfile:
- Gemfile
ruby:
- '2.6'
- '2.7'
- '3.0'
- '3.1'
runs-on: ubuntu-latest
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/judoscale-que/${{ matrix.gemfile }}
services:
db:
image: postgres:latest
env:
POSTGRES_HOST_AUTH_METHOD: trust
ports: ['5432:5432']
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs bundle install and caches installed gems automatically
- run: bundle exec rake
|
Update from Hackage at 2015-06-01T02:20:12+0000 | homepage: https://github.com/christian-marie/time-qq
changelog-type: ''
hash: 656358cc505624407ca9289d1c9b978edb7be00875dcfbb0856f9aa1293b73c2
test-bench-deps:
base: ! '>=4.7 && <5'
hspec: -any
time-qq: -any
maintainer: Christian Marie <christian@ponies.io>
synopsis: Quasi-quoter for UTCTime times
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
time: ! '>=1.4'
old-locale: -any
template-haskell: -any
all-versions:
- '0.0.0.1'
author: Christian Marie <christian@ponies.io>
latest: '0.0.0.1'
description-type: haddock
description: Quasi-quoter for UTCTime times
license-name: BSD3
| homepage: https://github.com/christian-marie/time-qq
changelog-type: ''
hash: 3a5c23991bbf2913be5434779d01288e6ae495188ef534687335418e109364b9
test-bench-deps:
base: ! '>=4.7 && <5'
hspec: -any
time-qq: -any
maintainer: Christian Marie <christian@ponies.io>
synopsis: Quasi-quoter for UTCTime times
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
time: ! '>=1.4'
template-haskell: -any
time-locale-compat: -any
all-versions:
- '0.0.0.1'
- '0.0.0.2'
author: Christian Marie <christian@ponies.io>
latest: '0.0.0.2'
description-type: haddock
description: Quasi-quoter for UTCTime times
license-name: BSD3
|
Use pip to install salib | name: satut
channels:
- conda-forge
dependencies:
- python=3.6
- ipywidgets
- salib
- seaborn
- matplotlib
| name: satut
channels:
- conda-forge
dependencies:
- python=3.7
- ipywidgets
- seaborn
- matplotlib
- pip
- pip:
- salib
|
Revert "Comment description because CircleCI is failing with it" | {% set version = "2.3.9" %}
package:
name: spyder
version: {{ version }}
source:
fn: spyder-{{ version }}.zip
url: https://pypi.io/packages/source/s/spyder/spyder-{{ version }}.zip
md5: dd01e07a77123c128ff79ba57b97c1d7
build:
number: 0
osx_is_app: True
requirements:
build:
- python
run:
- python
- pyqt
- rope
- pyflakes
- jedi >=0.8
- qtconsole
- nbconvert
- pygments
- sphinx
- pep8
- psutil
- python.app # [osx]
test:
commands:
- spyder -h
imports:
- spyderlib
app:
entry: spyder
icon: logo.png
summary: Scientific Python Development Environment
type: desk
about:
home: https://github.com/spyder-ide/spyder
license: MIT
summary: Scientific PYthon Development EnviRonment
#description: |
# Spyder is a powerful interactive development environment for the Python
# language with advanced editing, interactive testing, debugging and
# introspection features. Additionally, Spyder is a numerical computing
# environment thanks to the support of IPython and popular Python libraries
# such as NumPy, SciPy, or matplotlib.
extra:
recipe-maintainers:
- ccordoba12 | {% set version = "2.3.9" %}
package:
name: spyder
version: {{ version }}
source:
fn: spyder-{{ version }}.zip
url: https://pypi.io/packages/source/s/spyder/spyder-{{ version }}.zip
md5: dd01e07a77123c128ff79ba57b97c1d7
build:
number: 0
osx_is_app: True
requirements:
build:
- python
run:
- python
- pyqt
- rope
- pyflakes
- jedi >=0.8
- qtconsole
- nbconvert
- pygments
- sphinx
- pep8
- psutil
- python.app # [osx]
test:
commands:
- spyder -h
imports:
- spyderlib
app:
entry: spyder
icon: logo.png
summary: Scientific Python Development Environment
type: desk
about:
home: https://github.com/spyder-ide/spyder
license: MIT
summary: Scientific PYthon Development EnviRonment
description: |
Spyder is a powerful interactive development environment for the Python
language with advanced editing, interactive testing, debugging and
introspection features. Additionally, Spyder is a numerical computing
environment thanks to the support of IPython and popular Python libraries
such as NumPy, SciPy, or matplotlib.
extra:
recipe-maintainers:
- ccordoba12 |
Allow docker to set memory limits | ---
- name: install docker
become: yes
apt:
state: present
install_recommends: no
name:
- docker.io
- docker-compose
- cadvisor
- ctop
- rawdns
- name: create the folder for docker
become: yes
file:
path: /etc/systemd/system/docker.service.d
state: directory
- name: create Proxy configurations
become: yes
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
notify: restart docker
with_items:
- { src: http-proxy.conf.j2, dest: /etc/systemd/system/docker.service.d/http-proxy.conf }
- { src: https-proxy.conf.j2, dest: /etc/systemd/system/docker.service.d/https-proxy.conf }
- name: Flush changes
become: yes
systemd:
daemon_reload: yes
- name: add group of docker
become: yes
group:
name: docker
state: present
- name: get the current user name
shell: whoami
register: current_user
- name: add the current user to the docker group
become: yes
user:
name: "{{ current_user.stdout }}"
groups: docker
append: yes
| ---
- name: install docker
become: yes
apt:
state: present
install_recommends: no
name:
- docker.io
- docker-compose
- cadvisor
- ctop
- rawdns
- name: create the folder for docker
become: yes
file:
path: /etc/systemd/system/docker.service.d
state: directory
- name: create Proxy configurations
become: yes
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
notify: restart docker
with_items:
- { src: http-proxy.conf.j2, dest: /etc/systemd/system/docker.service.d/http-proxy.conf }
- { src: https-proxy.conf.j2, dest: /etc/systemd/system/docker.service.d/https-proxy.conf }
- name: Flush changes
become: yes
systemd:
daemon_reload: yes
- name: add group of docker
become: yes
group:
name: docker
state: present
- name: get the current user name
shell: whoami
register: current_user
- name: add the current user to the docker group
become: yes
user:
name: "{{ current_user.stdout }}"
groups: docker
append: yes
# Out of the box a Docker installation on Ubuntu is capable of setting memory limits
-name: allow to set memory limits
become: yes
lineinfile:
path: /etc/default/grub
regexp: '^GRUB_CMDLINE_LINUX='
line: 'GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"'
-name: update the grub configuration
become: yes
command: update-grub
|
Update to build os image to Windows 2019 | version: '{build}'
os: Visual Studio 2017
configuration: Release
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
before_build:
- ps: dotnet --version
- ps: dotnet restore
build:
verbosity: minimal
build_script:
- ps: '& ".\build\runner.ps1" Package'
test_script:
- ps: '& ".\build\runner.ps1" Test'
artifacts:
- path: src\**\bin\**\*.nupkg
deploy:
- provider: Environment
name: Public Nuget
on:
branch: master | version: '{build}'
os: Visual Studio 2019
configuration: Release
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
before_build:
- ps: dotnet --version
- ps: dotnet restore
build:
verbosity: minimal
build_script:
- ps: '& ".\build\runner.ps1" Package'
test_script:
- ps: '& ".\build\runner.ps1" Test'
artifacts:
- path: src\**\bin\**\*.nupkg
deploy:
- provider: Environment
name: Public Nuget
on:
branch: master |
Disable coverage check on Windows CI build | # appveyor file
# http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- NODE_VERSION: "8"
NPM_VERSION: "5"
- NODE_VERSION: "9"
NPM_VERSION: "5"
- NODE_VERSION: "10"
NPM_VERSION: "6"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:NODE_VERSION
- node --version
- npm --version
- npm install -g npm@%NPM_VERSION%
- npm install -g jshint
- npm install -g istanbul
- npm install -g istanbul-coveralls
- npm install -g nodeunit
build: off
test_script:
- cd core
- npm install .
- npm run coverage
- npm install . -g
- cd ..
- cd cli
- npm install .
- npm test
- npm install . -g
- .\runTests
| # appveyor file
# http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- NODE_VERSION: "8"
NPM_VERSION: "5"
- NODE_VERSION: "9"
NPM_VERSION: "5"
- NODE_VERSION: "10"
NPM_VERSION: "6"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:NODE_VERSION
- node --version
- npm --version
- npm install -g npm@%NPM_VERSION%
- npm install -g jshint
- npm install -g istanbul
- npm install -g istanbul-coveralls
- npm install -g nodeunit
build: off
test_script:
- cd core
- npm install .
- npm test
- npm install . -g
- cd ..
- cd cli
- npm install .
- npm test
- npm install . -g
- .\runTests
|
Remove need for config file | name: Cypress-Tests
on:
workflow_dispatch:
schedule:
- cron: '30 9 * * *'
jobs:
test_schedule:
runs-on: ubuntu-latest
steps:
- name: Run cypress tests
run: npx cypress run --config '{}' -s ["cypress/integration/FirstVoicesDev/v2_*.spec.js"]
env:
baseUrl: ${{secrets.CYPRESS_BASEURL}}
DIALECT: 'cypress_dialect'
| name: Cypress-Tests
on:
workflow_dispatch:
schedule:
- cron: '30 9 * * *'
jobs:
test_schedule:
runs-on: ubuntu-latest
steps:
- name: Run cypress tests
run: npx cypress run --config-file false -s ["cypress/integration/FirstVoicesDev/v2_*.spec.js"]
env:
baseUrl: ${{secrets.CYPRESS_BASEURL}}
DIALECT: 'cypress_dialect'
|
Break apart builds into separate steps again | general:
artifacts:
- /home/ubuntu/android/app/build/outputs/
- /home/ubuntu/android/app/build/reports/
machine:
java:
version: oraclejdk8
environment:
ADB_INSTALL_TIMEOUT: 8
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx3072m -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
override:
- echo y | android update sdk --no-ui --all --filter android-23,build-tools-23.0.1,extra-android-m2repository,extra-google-m2repository,extra-android-support
- ./gradlew dependencies
cache_directories:
- ~/.gradle
- ~/.android
test:
override:
- ./gradlew clean assemble testInternalDebug -PdisablePreDex
| general:
artifacts:
- /home/ubuntu/android/app/build/outputs/
- /home/ubuntu/android/app/build/reports/
machine:
java:
version: oraclejdk8
environment:
ADB_INSTALL_TIMEOUT: 8
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx3072m -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
override:
- echo y | android update sdk --no-ui --all --filter android-23,build-tools-23.0.1,extra-android-m2repository,extra-google-m2repository,extra-android-support
- ./gradlew dependencies
cache_directories:
- ~/.gradle
- ~/.android
test:
override:
- ./gradlew clean assembleInternalDebug testInternalDebug -PdisablePreDex
- ./gradlew clean assembleInternalRelease -PdisablePreDex
- ./gradlew clean assembleExternalDebug -PdisablePreDex
- ./gradlew clean assembleExternalRelease -PdisablePreDex
|
Add Docker as a service. | dependencies:
cache_directories:
- "~/docker"
- "~/.cabal"
- "~/.local"
- "~/.stack"
- ".stack-work"
pre:
- wget -q -O- https://s3.amazonaws.com/download.fpcomplete.com/ubuntu/fpco.key | sudo apt-key add -
- echo 'deb http://download.fpcomplete.com/ubuntu/trusty stable main' | sudo tee /etc/apt/sources.list.d/fpco.list
- sudo apt-get update
- sudo apt-get install -y stack
- pip install awscli
override:
- stack --no-terminal setup
- stack --no-terminal build --only-dependencies -j1
deployment:
elasticbeanstalk:
branch: master
commands:
- stack --no-terminal install --local-bin-path .
- sudo docker build --rm=false -t 357129611319.dkr.ecr.us-east-1.amazonaws.com/erlandsona:$CIRCLE_SHA1 -f Dockerfile.deploy .
- ./bin/deploy $CIRCLE_SHA1
| machine:
services:
- docker
dependencies:
cache_directories:
- "~/docker"
- "~/.cabal"
- "~/.local"
- "~/.stack"
- ".stack-work"
pre:
- wget -q -O- https://s3.amazonaws.com/download.fpcomplete.com/ubuntu/fpco.key | sudo apt-key add -
- echo 'deb http://download.fpcomplete.com/ubuntu/trusty stable main' | sudo tee /etc/apt/sources.list.d/fpco.list
- sudo apt-get update
- sudo apt-get install -y stack
- pip install awscli
override:
- stack --no-terminal setup
- stack --no-terminal build --only-dependencies -j1
deployment:
elasticbeanstalk:
branch: master
commands:
- stack --no-terminal install --local-bin-path .
- docker build --rm=false -t 357129611319.dkr.ecr.us-east-1.amazonaws.com/erlandsona:$CIRCLE_SHA1 -f Dockerfile.deploy .
- ./bin/deploy $CIRCLE_SHA1
|
Build jar and set as an artifact. | ---
machine:
environment:
TERM: dumb
checkout:
override:
- git clone https://github.com/DMDirc/Meta.git $HOME/meta
- git submodule update --init --remote:
pwd:
../meta
- git fetch origin $CIRCLE_BRANCH:circleci:
pwd:
../meta/client
- git fetch --tags:
pwd:
../meta/client
- git checkout circleci:
pwd:
../meta/client
dependencies:
override:
- ./gradlew --parallel client:dependencies plugins:dependencies:
pwd:
../meta
test:
override:
- ./gradlew --stacktrace --parallel client:test:
pwd:
../meta
| ---
machine:
environment:
TERM: dumb
checkout:
override:
- git clone https://github.com/DMDirc/Meta.git $HOME/meta
- git submodule update --init --remote:
pwd:
../meta
- git fetch origin $CIRCLE_BRANCH:circleci:
pwd:
../meta/client
- git fetch --tags:
pwd:
../meta/client
- git checkout circleci:
pwd:
../meta/client
dependencies:
override:
- ./gradlew --parallel client:dependencies plugins:dependencies:
pwd:
../meta
test:
override:
- ./gradlew --stacktrace --parallel client:jar client:test:
pwd:
../meta
general:
artifacts:
- ../meta/client/build/libs/
|
Update CircleCI configuration so amended commits don't break builds | machine:
java:
version: openjdk7
dependencies:
# manually provision some crypto libraries such that we will not blow up with an SSL error
# as soon as gradle tries to fetch dependencies
pre:
- 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
cache_directories:
- ~/.gradle
- .gradle
test:
override:
- ./gradlew test
post:
- cp build/test-results/*.xml $CIRCLE_TEST_REPORTS
deployment:
git:
branch: master
commands:
- ./gradlew javadoc
- git config user.name "Circle CI"
- git config user.email "robot+circleci@gocardless.com"
- git checkout gh-pages
- rm -rf com resources
- mv build/docs/javadoc/* .
- git add .
- git commit -m "[ci skip] Generate Javadoc"
- git push origin gh-pages
| machine:
java:
version: openjdk7
dependencies:
# manually provision some crypto libraries such that we will not blow up with an SSL error
# as soon as gradle tries to fetch dependencies
pre:
- 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
cache_directories:
- ~/.gradle
- .gradle
test:
override:
- ./gradlew test
post:
- cp build/test-results/*.xml $CIRCLE_TEST_REPORTS
deployment:
git:
branch: master
commands:
- ./gradlew javadoc
- git config user.name "Circle CI"
- git config user.email "robot+circleci@gocardless.com"
- git checkout gh-pages
- rm -rf com resources
- mv build/docs/javadoc/* .
- git add .
- git diff-index --quiet HEAD || git commit -m "[ci skip] Generate Javadoc"
- git push origin gh-pages
|
Remove extra jobs YAML sections. | version: 2.0
machine:
timezone:
America/Denver
jobs:
"golang-1.9.2":
docker:
- image: circleci/golang:1.9.2
steps:
- run:
name: Dependencies
command: go get -v github.com/onsi/ginkgo/ginkgo
- run:
name: Run tests
command: ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race --progress
jobs:
"golang-1.8.4":
docker:
- image: circleci/golang:1.8.4
steps:
- run:
name: Dependencies
command: go get -v github.com/onsi/ginkgo/ginkgo
- run:
name: Run tests
command: ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race --progress
jobs:
"golang-1.7.6":
docker:
- image: circleci/golang:1.7.6
steps:
- run:
name: Dependencies
command: go get -v github.com/onsi/ginkgo/ginkgo
- run:
name: Run tests
command: ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race --progress
workflows:
version: 2
build:
jobs:
- "golang-1.7.6"
- "golang-1.8.4"
- "golang-1.9.2"
| version: 2.0
machine:
timezone:
America/Denver
jobs:
"golang-1.9.2":
docker:
- image: circleci/golang:1.9.2
steps:
- run:
name: Dependencies
command: go get -v github.com/onsi/ginkgo/ginkgo
- run:
name: Run tests
command: ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race --progress
"golang-1.8.4":
docker:
- image: circleci/golang:1.8.4
steps:
- run:
name: Dependencies
command: go get -v github.com/onsi/ginkgo/ginkgo
- run:
name: Run tests
command: ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race --progress
"golang-1.7.6":
docker:
- image: circleci/golang:1.7.6
steps:
- run:
name: Dependencies
command: go get -v github.com/onsi/ginkgo/ginkgo
- run:
name: Run tests
command: ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race --progress
workflows:
version: 2
build:
jobs:
- "golang-1.7.6"
- "golang-1.8.4"
- "golang-1.9.2"
|
Add JAVA_HOME when testing the role | ---
- hosts: all
roles:
- { role: ansible-maven }
| ---
- hosts: all
roles:
- { role: silpion.java }
- { role: ansible-maven }
|
Put labels on S3 regions | - type: tabarray
key: sequences
items:
- type: section
legend: 'Sequence {{ idx }}'
items:
- type: fieldset
title: Endpoint
items:
- 'sequences[].route'
- type: fieldset
title: Source
items:
- 'sequences[].src_repo'
- 'sequences[].src_branch'
- type: fieldset
title: Generator
items:
- 'sequences[].gen_type'
- type: fieldset
title: Destination
items:
- type: fieldset
title: S3
expandable: true
items:
- 'sequences[].s3.access_key_id'
- 'sequences[].s3.secret_access_key'
- 'sequences[].s3.bucket'
- 'sequences[].s3.region'
- type: fieldset
title: Git
expandable: true
items:
- 'sequences[].dest_repo'
- 'sequences[].dest_branch'
- type: submit
title: Update
| - type: tabarray
key: sequences
items:
- type: section
legend: 'Sequence {{ idx }}'
items:
- type: fieldset
title: Endpoint
items:
- 'sequences[].route'
- type: fieldset
title: Source
items:
- 'sequences[].src_repo'
- 'sequences[].src_branch'
- type: fieldset
title: Generator
items:
- 'sequences[].gen_type'
- type: fieldset
title: Destination
items:
- type: fieldset
title: S3
expandable: true
items:
- 'sequences[].s3.access_key_id'
- 'sequences[].s3.secret_access_key'
- 'sequences[].s3.bucket'
- key: 'sequences[].s3.region'
titleMap:
'': US Standard (N. Virginia)
us-west-1: US West (Oregon)
us-west-2: US West (N. California)
EU: EU (Ireland)
eu-central-1: EU (Frankfurt)
ap-southeast-1: Asia Pacific (Singapore)
ap-northeast-1: Asia Pacific (Sydney)
ap-southeast-2: Asia Pacific (Tokyo)
sa-east-1: South America (Sao Paulo)
- type: fieldset
title: Git
expandable: true
items:
- 'sequences[].dest_repo'
- 'sequences[].dest_branch'
- type: submit
title: Update
|
Update Wine cellar to 1.2 (3) | Categories:
- Sports & Health
License: GPL-3.0-only
AuthorName: Nathaniel Motus
SourceCode: https://github.com/NathanielMotus/Cavevin
IssueTracker: https://github.com/NathanielMotus/Cavevin/issues
AutoName: Wine cellar
RepoType: git
Repo: https://github.com/NathanielMotus/Cavevin
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
gradle:
- yes
- versionName: '1.1'
versionCode: 2
commit: v1.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.1'
CurrentVersionCode: 2
| Categories:
- Sports & Health
License: GPL-3.0-only
AuthorName: Nathaniel Motus
SourceCode: https://github.com/NathanielMotus/Cavevin
IssueTracker: https://github.com/NathanielMotus/Cavevin/issues
AutoName: Wine cellar
RepoType: git
Repo: https://github.com/NathanielMotus/Cavevin
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
gradle:
- yes
- versionName: '1.1'
versionCode: 2
commit: v1.1
subdir: app
gradle:
- yes
- versionName: '1.2'
versionCode: 3
commit: v1.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.2'
CurrentVersionCode: 3
|
Update from Hackage at 2018-01-20T00:57:41Z | homepage: https://hub.darcs.net/vmchale/shake-ext
changelog-type: ''
hash: 55df65434381e690b26f5a467eba1f58f75f8cefa986830dc348e50be5a7abe1
test-bench-deps: {}
maintainer: vamchale@gmail.com
synopsis: Helper functions for linting with [shake](http://shakebuild.com/)
changelog: ''
basic-deps:
shake: -any
base: ! '>=4.7 && <5'
all-versions:
- '0.1.0.0'
author: Vanessa McHale
latest: '0.1.0.0'
description-type: markdown
description: ! '# shake-ext
Several extensions to [shake](http://shakebuild.com/), including facilities for
building ATS and Haskell.
This package is very much experimental at the moment.
'
license-name: BSD3
| homepage: https://hub.darcs.net/vmchale/shake-ext
changelog-type: ''
hash: 2cb681390ad2e6ce116c6c705c0e4ff6c19d65a33a844b7e1cf36f2b4273a6a5
test-bench-deps: {}
maintainer: vamchale@gmail.com
synopsis: Helper functions for linting with [shake](http://shakebuild.com/)
changelog: ''
basic-deps:
shake: -any
base: ! '>=4.8 && <5'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: Vanessa McHale
latest: '0.1.0.1'
description-type: markdown
description: ! '# shake-ext
Several extensions to [shake](http://shakebuild.com/), including facilities for
building ATS and Haskell.
This package is very much experimental at the moment.
'
license-name: BSD3
|
Allow failure for Linux CI job | before_script:
- echo "Starting tests..."
test_linux:
script:
#- apt-get install -y nodejs nodejs-legacy npm default-jre
- node --version
- npm --version
- java -version # Required for selenium server
- npm install
- xvfb-run ./scripts/setup_linux.sh
- xvfb-run ./scripts/test.sh
- xvfb-run ./scripts/kill_applications.sh
tags:
- linux
test_windows:
script:
- git config --global http.sslVerify false
- call scripts\kill_applications.bat
- call npm install # https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/1025
- bash scripts/setup_windows.sh
- bash scripts/test.sh
- call scripts\kill_applications.bat
tags:
- windows
| before_script:
- echo "Starting tests..."
test_linux:
script:
#- apt-get install -y nodejs nodejs-legacy npm default-jre
- node --version
- npm --version
- java -version # Required for selenium server
- npm install
- xvfb-run ./scripts/setup_linux.sh
- xvfb-run ./scripts/test.sh
- xvfb-run ./scripts/kill_applications.sh
tags:
- linux
allow_failure: true
test_windows:
script:
- git config --global http.sslVerify false
- call scripts\kill_applications.bat
- call npm install # https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/1025
- bash scripts/setup_windows.sh
- bash scripts/test.sh
- call scripts\kill_applications.bat
tags:
- windows
|
Remove tags from GitLab CI jobs | before_script:
- pip install tox setuptools
stages:
- style
- test
- package
py33:
stage: test
image: python:3.3
script:
- tox -e py33
tags:
- py33
py34:
stage: test
image: python:3.4
script:
- tox -e py34
tags:
- py34
py35:
stage: test
image: python:3.5
script:
- tox -e py35
tags:
- py35
flake8:
image: python:latest
stage: style
script:
- tox -e flake8
tags:
isort:
image: python:latest
stage: style
script:
- tox -e isort
tags:
- python
wheel:
image: python:3.5
stage: package
script:
tox -e wheel
artifacts:
paths:
- dist/
sdist:
image: python:3.5
stage: package
script:
tox -e sdist
artifacts:
paths:
- dist/
| before_script:
- pip install tox setuptools
stages:
- style
- test
- package
py33:
stage: test
image: python:3.3
script:
- tox -e py33
py34:
stage: test
image: python:3.4
script:
- tox -e py34
py35:
stage: test
image: python:3.5
script:
- tox -e py35
flake8:
image: python:latest
stage: style
script:
- tox -e flake8
isort:
image: python:latest
stage: style
script:
- tox -e isort
wheel:
image: python:3.5
stage: package
script:
tox -e wheel
artifacts:
paths:
- dist/
sdist:
image: python:3.5
stage: package
script:
tox -e sdist
artifacts:
paths:
- dist/
|
Stop and restart API service | ---
docker_storage_to_overlay2_storage_setup_path: "/etc/sysconfig/docker-storage-setup"
# List of services to stop and restart. Any available services
# in optional_service_names get appended to this list beforehand.
docker_storage_to_overlay2_service_names:
- "docker.service"
docker_storage_to_overlay2_optional_service_names:
- "atomic-openshift-node.service"
docker_storage_to_overlay2_package_requirements:
# Ensure we have a fix for the --lvsize option; previously it would
# try to call into /usr/lib/docker-storage-setup/libdss.sh, instead
# of /usr/share/container-storage-setup/libcss.sh.
atomic:
minimum: 1.19.1-3
reason: "a 'storage modify' bugfix"
# Ensure XFS volumes are mounted with the pquota option.
container-storage-setup:
minimum: 0.7.0-1
reason: "pquota mount option"
# Ensure we have the backported overlay2.size storage option.
docker:
minimum: 1.12.6-58
reason: "overlay2.size storage option"
| ---
docker_storage_to_overlay2_storage_setup_path: "/etc/sysconfig/docker-storage-setup"
# List of services to stop and restart. Any available services
# in optional_service_names get appended to this list beforehand.
docker_storage_to_overlay2_service_names:
- "docker.service"
# Optional services are started in reverse order.
docker_storage_to_overlay2_optional_service_names:
- "atomic-openshift-node.service"
- "atomic-openshift-master-api.service"
docker_storage_to_overlay2_package_requirements:
# Ensure we have a fix for the --lvsize option; previously it would
# try to call into /usr/lib/docker-storage-setup/libdss.sh, instead
# of /usr/share/container-storage-setup/libcss.sh.
atomic:
minimum: 1.19.1-3
reason: "a 'storage modify' bugfix"
# Ensure XFS volumes are mounted with the pquota option.
container-storage-setup:
minimum: 0.7.0-1
reason: "pquota mount option"
# Ensure we have the backported overlay2.size storage option.
docker:
minimum: 1.12.6-58
reason: "overlay2.size storage option"
|
Update from Hackage at 2019-03-15T16:03:41Z | homepage: https://github.com/andrewthad/dot#readme
changelog-type: ''
hash: 818328638a12925b04cf9f01c5ca5c015a5f50d8dd90842d905d6d465fbc88b5
test-bench-deps: {}
maintainer: andrew.thaddeus@gmail.com
synopsis: Data types and encoding for graphviz dot files
changelog: ''
basic-deps:
impure-containers: ! '>=0.3 && <0.6'
base: ! '>=4.7 && <5'
text: -any
all-versions:
- 0.2.0
- 0.2.1
- 0.2.2
author: Andrew Martin
latest: 0.2.2
description-type: haddock
description: Please see README.md
license-name: BSD-3-Clause
| homepage: https://github.com/andrewthad/dot
changelog-type: ''
hash: 3164856728cc06046a8e005d04f497487227906ceb4d7bf841f190c54b4b3de0
test-bench-deps: {}
maintainer: |-
Andrew Martin <andrew.thaddeus@gmail.com>
chessai <chessai1996@gmail.com>
synopsis: Datatypes and encoding for graphviz dot files
changelog: ''
basic-deps:
dot: -any
base: ! '>=4.7 && <5'
text: -any
all-versions:
- 0.2.0
- 0.2.1
- 0.2.2
- '0.3'
author: Andrew Martin
latest: '0.3'
description-type: haddock
description: |-
Datatypes and encoding for graphviz dot files.
See the example directory for example usage.
license-name: BSD-3-Clause
|
Add Yandex.Metrika; Improve some configs | services:
rollbar:
token: a000000000000000000000001
google_analytics:
tracking_code: 'UA-01234567-8'
| services:
rollbar:
token: a000000000000000000000001
google_analytics:
tracking_id: 'UA-01234567-8'
|
Update from Hackage at 2019-04-05T17:19:48Z | homepage: https://github.com/yesodweb/persistent#readme
changelog-type: markdown
hash: 9179bf4d6a3d0d628d37615b7ed97cbb5d9929f5fce299481903bb0c5255f397
test-bench-deps: {}
maintainer: Michael Snoyman <michael@snoyman.com>
synopsis: Provides a quasi-quoter for raw SQL for persistent
changelog: ! '# Changelog for persistent-qq
## 2.9.0
* Initial release, code separated from `persistent`
'
basic-deps:
base: ! '>=4.7 && <5'
persistent: ! '>=2.9'
text: -any
mtl: -any
haskell-src-meta: -any
template-haskell: -any
all-versions:
- 2.9.0
author: Michael Snoyman <michael@snoyman.com>
latest: 2.9.0
description-type: markdown
description: ! '# persistent-qq
Provides `sqlQQ` and `executeQQ`.
'
license-name: MIT
| homepage: https://github.com/yesodweb/persistent#readme
changelog-type: markdown
hash: 1da17d907298ad5bc0798b0f759b59cb1bd4a4530681e0be54ad5366d7c5b1d5
test-bench-deps: {}
maintainer: Michael Snoyman <michael@snoyman.com>
synopsis: Provides a quasi-quoter for raw SQL for persistent
changelog: |
# Changelog for persistent-qq
## 2.9.1
* Added support for list of values in `sqlQQ`. [#819](https://github.com/yesodweb/persistent/pull/819)
## 2.9.0
* Initial release, code separated from `persistent`
basic-deps:
base: ! '>=4.7 && <5'
persistent: ! '>=2.9'
text: -any
mtl: -any
haskell-src-meta: -any
template-haskell: -any
all-versions:
- 2.9.0
- 2.9.1
author: Michael Snoyman <michael@snoyman.com>
latest: 2.9.1
description-type: markdown
description: |
# persistent-qq
Provides `sqlQQ` and `executeQQ`.
license-name: MIT
|
Update SuperUStats to 1.1 (2) | Categories:
- System
License: GPL-3.0-or-later
SourceCode: https://gitlab.com/superustats/superustats
IssueTracker: https://gitlab.com/superustats/superustats/issues
AutoName: SuperUStats
RepoType: git
Repo: https://gitlab.com/superustats/superustats
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.0'
CurrentVersionCode: 1
| Categories:
- System
License: GPL-3.0-or-later
SourceCode: https://gitlab.com/superustats/superustats
IssueTracker: https://gitlab.com/superustats/superustats/issues
AutoName: SuperUStats
RepoType: git
Repo: https://gitlab.com/superustats/superustats
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
gradle:
- yes
- versionName: '1.1'
versionCode: 2
commit: v1.1
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.1'
CurrentVersionCode: 2
|
Add workaround for Ansible Docker Compose issue | ---
- name: "[{{ directory }}] Remove potentially existing service"
docker_service:
project_src: "{{ directory }}"
state: absent
- name: "[{{ directory }}] Build service"
docker_service:
project_src: "{{ directory }}"
build: yes
state: absent
- name: "[{{ directory }}] Start service"
docker_service:
project_src: "{{ directory }}"
state: present
| ---
- name: "[{{ directory }}] Build Docker images"
# Workaround for https://github.com/ansible/ansible/issues/23607
shell: docker-compose build
args:
chdir: "{{ directory }}"
- name: "[{{ directory }}] Remove potentially existing service"
docker_service:
project_src: "{{ directory }}"
state: absent
- name: "[{{ directory }}] Build service"
docker_service:
project_src: "{{ directory }}"
build: yes
state: absent
- name: "[{{ directory }}] Start service"
docker_service:
project_src: "{{ directory }}"
state: present
|
Use secured HTTP connection for Drupal download | ---
- name: Check out Drupal Core to the Apache docroot.
git:
repo: http://git.drupal.org/project/drupal.git
version: "{{ drupal_core_version }}"
dest: "{{ drupal_core_path }}"
- name: Install Drupal dependencies with Composer.
shell: >
/usr/local/bin/composer install
chdir={{ drupal_core_path }}
creates={{ drupal_core_path }}/vendor/autoload.php
- name: Install Drupal.
command: >
drush si -y --site-name="{{ drupal_site_name }}"
--account-name=admin
--account-pass=admin
--db-url=mysql://{{ domain }}:1234@localhost/{{ domain }}
--root={{ drupal_core_path }}
creates={{ drupal_core_path }}/sites/default/settings.php
notify: restart apache
# SEE: https://drupal.org/node/2121849#comment-8413637
- name: Set permissions properly on settings.php.
file:
path: "{{ drupal_core_path }}/sites/default/settings.php"
mode: 0744
- name: Set permissions properly on files directory.
file:
path: "{{ drupal_core_path }}/sites/default/files"
mode: 0777
state: directory
recurse: yes
| ---
- name: Check out Drupal Core to the Apache docroot.
git:
repo: https://git.drupal.org/project/drupal.git
version: "{{ drupal_core_version }}"
dest: "{{ drupal_core_path }}"
- name: Install Drupal dependencies with Composer.
shell: >
/usr/local/bin/composer install
chdir={{ drupal_core_path }}
creates={{ drupal_core_path }}/vendor/autoload.php
- name: Install Drupal.
command: >
drush si -y --site-name="{{ drupal_site_name }}"
--account-name=admin
--account-pass=admin
--db-url=mysql://{{ domain }}:1234@localhost/{{ domain }}
--root={{ drupal_core_path }}
creates={{ drupal_core_path }}/sites/default/settings.php
notify: restart apache
# SEE: https://drupal.org/node/2121849#comment-8413637
- name: Set permissions properly on settings.php.
file:
path: "{{ drupal_core_path }}/sites/default/settings.php"
mode: 0744
- name: Set permissions properly on files directory.
file:
path: "{{ drupal_core_path }}/sites/default/files"
mode: 0777
state: directory
recurse: yes
|
Fix osl master service IP | ---
network::interfaces_hash:
'eth0':
ipaddress: '129.240.224.102'
netmask: '255.255.255.224'
gateway: '129.240.224.97'
defroute: 'yes'
mtu: '1500'
'eth1':
ipaddress: '172.18.32.6'
netmask: '255.255.248.0'
defroute: 'no'
'dummy0':
ipaddress: '158.38.144.254'
netmask: '255.255.255.255'
defroute: 'no'
| ---
network::interfaces_hash:
'eth0':
ipaddress: '129.240.224.102'
netmask: '255.255.255.224'
gateway: '129.240.224.97'
defroute: 'yes'
mtu: '1500'
'eth1':
ipaddress: '172.18.32.6'
netmask: '255.255.248.0'
defroute: 'no'
'dummy0':
ipaddress: '158.37.63.254'
netmask: '255.255.255.255'
defroute: 'no'
|
Change so circleci only builds when we push to client-build branch. | version: 2
jobs:
build-macos:
macos:
xcode: "9.0"
steps:
- checkout
- run: 'git submodule update --init --recursive'
- run: 'yarn'
- run: 'yarn run client-build-osx'
- store_artifacts:
path: ./build/prod-client-build/osx64-package.zip
- store_artifacts:
path: ./build/prod-client-build/osx.dmg
build-linux:
docker:
- image: circleci/node:8.9.1
steps:
- checkout
- run: 'git submodule update --init --recursive'
- run: 'yarn'
- run: 'yarn run client-build-linux64'
- store_artifacts:
path: ./build/prod-client-build/linux64-package.zip
- store_artifacts:
path: ./build/prod-client-build/linux64.tar.gz
workflows:
version: 2
build_all:
jobs:
- build-macos
- build-linux
| version: 2
jobs:
build-macos:
macos:
xcode: "9.0"
steps:
- checkout
- run: 'git submodule update --init --recursive'
- run: 'yarn'
- run: 'yarn run client-build-osx'
- store_artifacts:
path: ./build/prod-client-build/osx64-package.zip
- store_artifacts:
path: ./build/prod-client-build/osx.dmg
build-linux:
docker:
- image: circleci/node:8.9.1
steps:
- checkout
- run: 'git submodule update --init --recursive'
- run: 'yarn'
- run: 'yarn run client-build-linux64'
- store_artifacts:
path: ./build/prod-client-build/linux64-package.zip
- store_artifacts:
path: ./build/prod-client-build/linux64.tar.gz
workflows:
version: 2
build_all:
triggers:
branches:
only:
- client-build
jobs:
- build-macos
- build-linux
|
Install the correct version of geerlingguy.jenkins | ---
galaxy_info:
author: Solita CD
description: Jenkins installations entirely under configuration management
company: Solita
license: MIT
min_ansible_version: 2.0.0.0
platforms:
- name: EL
versions:
- all
- name: Ubuntu
versions:
- all
dependencies:
- role: geerlingguy.jenkins
version: 2.7.3
become: yes
| ---
galaxy_info:
author: Solita CD
description: Jenkins installations entirely under configuration management
company: Solita
license: MIT
min_ansible_version: 2.0.0.0
platforms:
- name: EL
versions:
- all
- name: Ubuntu
versions:
- all
dependencies:
- src: geerlingguy.jenkins
version: 2.7.3
become: yes
|
Add deleting files if dir contain its | ---
- name: add line to .bashrc
lineinfile: >
dest=/home/vagrant/.bashrc
insertafter=EOF
line="cd /vagrant"
state=present
- name: check if dir for website is created
stat: >
path="{{ vagrant_guest_folder }}"
register: _stat
when: vagrant_guest_folder != false
- name: create dir for website
file: >
group=root
mode="0755"
owner=root
path="{{ vagrant_guest_folder }}"
recurse=yes
state=directory
when: _stat is defined and (_stat.stat.lnk_source is not defined or _stat.stat.lnk_source != "/vagrant")
- name: create symlinks to website
file: >
dest="{{ vagrant_guest_folder }}"
force=yes
group=root
mode="0755"
owner=root
src=/vagrant
state=link
when: _stat is defined and (_stat.stat.lnk_source is not defined or _stat.stat.lnk_source != "/vagrant")
| ---
- name: add line to .bashrc
lineinfile: >
dest=/home/vagrant/.bashrc
insertafter=EOF
line="cd /vagrant"
state=present
- name: delete files if dir for website contain its
file: >
path="{{ vagrant_guest_folder }}"
state=absent
- name: check if dir for website is created
stat: >
path="{{ vagrant_guest_folder }}"
register: _stat
when: vagrant_guest_folder != false
- name: create dir for website
file: >
group=root
mode="0755"
owner=root
path="{{ vagrant_guest_folder }}"
recurse=yes
state=directory
when: _stat is defined and (_stat.stat.lnk_source is not defined or _stat.stat.lnk_source != "/vagrant")
- name: create symlinks to website
file: >
dest="{{ vagrant_guest_folder }}"
force=yes
group=root
mode="0755"
owner=root
src=/vagrant
state=link
when: _stat is defined and (_stat.stat.lnk_source is not defined or _stat.stat.lnk_source != "/vagrant")
|
Add hmrc-manuals-api to list of apps migrated to new tagging architecture | apps_with_migrated_tagging:
- businesssupportfinder
- calculators
- calendars
- licencefinder
- smartanswers
- policy-publisher
| apps_with_migrated_tagging:
- businesssupportfinder
- calculators
- calendars
- licencefinder
- smartanswers
- policy-publisher
- hmrc-manuals-api
|
Add compiler setting for Travis CI | language: c
git:
depth: 1
submodules: false
# whitelist
branches:
only:
- master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- valgrind
before_install:
# Replace the SSH URL with the public URL and initialize submodules
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
script:
- make
| language: c
git:
depth: 1
submodules: false
# whitelist
branches:
only:
- master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- valgrind
compiler:
- gcc-4.8
before_install:
# Replace the SSH URL with the public URL and initialize submodules
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
script:
- make
|
Test against multiple rubies on Travis CI | language: ruby
rvm:
- 1.9.3
before_script:
- mysql -e 'create database polymorpheus_test;'
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
env:
- AR=3.2.18
before_script:
- mysql -e 'create database polymorpheus_test;'
|
Build with GCC into matrix. | dist: trusty
sudo: required
language: cpp
compiler:
- g++
# Setup repos etc before installation
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
# Install dependencies
install:
# install g++ 5 and libstdc++ 6
- sudo apt-get install -qq g++-5
- sudo apt-get install -qq libstdc++6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 50
# install tools
- sudo apt-get install -qq make
# install libraries
- sudo apt-get install -qq libpthread-stubs0-dev
- sudo apt-get install -qq libboost-dev
- sudo apt-get install -qq libboost-system-dev
# command to run tests
script:
- g++ --version
- make coverage
after_success:
- bash <(curl -s https://codecov.io/bash) -X gcov
| dist: trusty
sudo: required
language: generic
compiler:
- gcc
- clang
matrix:
include:
- compiler: gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
# install compiler and standard library
- sudo apt-get install -qq g++-5
- sudo apt-get install -qq libstdc++6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 50
# install build tools
- sudo apt-get install -qq make
# install libraries
- sudo apt-get install -qq libpthread-stubs0-dev
- sudo apt-get install -qq libboost-dev
- sudo apt-get install -qq libboost-system-dev
before_script:
- g++ --version
exclude:
- compiler: clang
# command to run tests
script:
- make coverage
after_success:
- bash <(curl -s https://codecov.io/bash) -X gcov
|
Remove stray character that hinded Travis cache | sudo: false
language: java
env:
global:
- LDFLAGS=-L/tmp/proto3-a2/lib
- CXXFLAGS=-I/tmp/proto3-a2/include
- LD_LIBRARY_PATH=/tmp/proto3-a2/lib
- PATH=/tmp/proto3-a2/bin:$PATH
before_install:
- buildscripts/make_dependencies.sh # build protoc into /tmp/proto3-a2
- mkdir -p $HOME/.gradle
- echo "checkstyle.ignoreFailures=false" >> $HOME/.gradle/gradle.properties
jdk:
- oraclejdk8
os:
- linux
branches:
only:
- master
notifications:
email: false
cache:
directories:
- /tmp/proto3-a2
- $HOME/.m2/repository/io/netty
- $HOME/.gradle/caches/modules-2
- $HOME/.gradle/wrapper
before_cache:
- rm $HOME/.gradle/caches/modules-2/modules-2.lock
- find $HOME/.gradle/wrapper -not -name "*-all.zip" -and -not -name "*.-bin.zip" -delete
| sudo: false
language: java
env:
global:
- LDFLAGS=-L/tmp/proto3-a2/lib
- CXXFLAGS=-I/tmp/proto3-a2/include
- LD_LIBRARY_PATH=/tmp/proto3-a2/lib
- PATH=/tmp/proto3-a2/bin:$PATH
before_install:
- buildscripts/make_dependencies.sh # build protoc into /tmp/proto3-a2
- mkdir -p $HOME/.gradle
- echo "checkstyle.ignoreFailures=false" >> $HOME/.gradle/gradle.properties
jdk:
- oraclejdk8
os:
- linux
branches:
only:
- master
notifications:
email: false
cache:
directories:
- /tmp/proto3-a2
- $HOME/.m2/repository/io/netty
- $HOME/.gradle/caches/modules-2
- $HOME/.gradle/wrapper
before_cache:
- rm $HOME/.gradle/caches/modules-2/modules-2.lock
- find $HOME/.gradle/wrapper -not -name "*-all.zip" -and -not -name "*-bin.zip" -delete
|
Use clone depth of 10 for speed | language: ruby
rvm:
- 2.2.5
- 2.3.1
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
branches:
only:
- "master"
- "/^release-/"
before_install: gem install bundler
cache: bundler
sudo: false
git:
depth: 1
| language: ruby
rvm:
- 2.2.5
- 2.3.1
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
branches:
only:
- "master"
- "/^release-/"
before_install: gem install bundler
cache: bundler
sudo: false
git:
depth: 10
|
Test Node.js 4 instead of io.js | sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
| sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
|
Add MRI 2.1 to Travis build | language: ruby
services:
- cassandra
before_install:
- sudo sh -c "echo 'JVM_OPTS=\"\${JVM_OPTS} -Djava.net.preferIPv4Stack=false\"' >> /usr/local/cassandra/conf/cassandra-env.sh"
- sudo service cassandra start
- gem install bundler
bundler_args: --without yard guard benchmarks
script: "bundle exec rake spec"
rvm:
- 1.9.3
- 2.0.0
- ruby-head
- rbx
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
allow_failures:
# dm-core adapter spec occassionally fails on JRuby (i.e. Bignum too large
# to convert to long)
- rvm: jruby
- rvm: jruby-head
notifications:
email:
recipients:
- jabradford@gmail.com
on_success: never
on_failure: change
| language: ruby
services:
- cassandra
before_install:
- sudo sh -c "echo 'JVM_OPTS=\"\${JVM_OPTS} -Djava.net.preferIPv4Stack=false\"' >> /usr/local/cassandra/conf/cassandra-env.sh"
- sudo service cassandra start
- gem install bundler
bundler_args: --without yard guard benchmarks
script: "bundle exec rake spec"
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- ruby-head
- rbx
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
allow_failures:
# dm-core adapter spec occassionally fails on JRuby (i.e. Bignum too large
# to convert to long)
- rvm: jruby
- rvm: jruby-head
notifications:
email:
recipients:
- jabradford@gmail.com
on_success: never
on_failure: change
|
Remove old and unknown to Travis versions of Python | language: python
python:
- "3.4"
- "3.5"
- "3.5-dev"
- "3.6"
- "3.6-dev"
- "3.7"
- "3.7-dev"
- "nightly"
install:
- pip install pipenv
- pipenv install --dev
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:
- pipenv run pycodestyle
- pipenv run pydocstyle
- find . -iname "*.py" | xargs pipenv run pylint
- pipenv run nosetests --logging-clear-handlers --with-coverage --cover-package=unixtimestamp
- pipenv run codecov
- pipenv run behave
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
notifications:
email:
on_success: never
on_failure: always
| language: python
python:
- "3.5"
- "3.5-dev"
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
install:
- pip install pipenv
- pipenv install --dev
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:
- pipenv run pycodestyle
- pipenv run pydocstyle
- find . -iname "*.py" | xargs pipenv run pylint
- pipenv run nosetests --logging-clear-handlers --with-coverage --cover-package=unixtimestamp
- pipenv run codecov
- pipenv run behave
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
notifications:
email:
on_success: never
on_failure: always
|
Revert "ci: use KVM for i386" | os: linux
dist: trusty
language: c
services:
- docker
install:
- curl -O -L "https://raw.githubusercontent.com/cherry-pick/cherry-images/v1/scripts/vmrun"
- curl -O -L "https://raw.githubusercontent.com/cherry-pick/cherry-ci/v1/scripts/cherryci"
- chmod +x "./vmrun" "./cherryci"
jobs:
include:
- stage: test
script:
- ./vmrun -- ../src/cherryci -d ../src/.cherryci -s c-util -m
- script:
- ./vmrun -T armv7hl -- ../src/cherryci -d ../src/.cherryci -s c-util
- script:
- ./vmrun -T i686 -k -- ../src/cherryci -d ../src/.cherryci -s c-util
| os: linux
dist: trusty
language: c
services:
- docker
install:
- curl -O -L "https://raw.githubusercontent.com/cherry-pick/cherry-images/v1/scripts/vmrun"
- curl -O -L "https://raw.githubusercontent.com/cherry-pick/cherry-ci/v1/scripts/cherryci"
- chmod +x "./vmrun" "./cherryci"
jobs:
include:
- stage: test
script:
- ./vmrun -- ../src/cherryci -d ../src/.cherryci -s c-util -m
- script:
- ./vmrun -T armv7hl -- ../src/cherryci -d ../src/.cherryci -s c-util
- script:
- ./vmrun -T i686 -- ../src/cherryci -d ../src/.cherryci -s c-util
|
Add 3.2 as allowed failure. Upgrade 2.6 and 3.3 as non-allowed failuers | language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "pypy"
script: nosetests
after_success:
- pip install pep8 pyflakes
- pep8 twitter/*.py
- pyflakes twitter/*.py
- pep8 tests/*.py
- pyflakes tests/*.py
matrix:
allow_failures:
- python: "2.6"
- python: "3.3"
- python: "3.4"
- python: "pypy"
| language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "pypy"
script: nosetests
after_success:
- pip install pep8 pyflakes
- pep8 twitter/*.py
- pyflakes twitter/*.py
- pep8 tests/*.py
- pyflakes tests/*.py
matrix:
allow_failures:
- python: "3.2"
- python: "3.4"
- python: "pypy"
|
Enable Travis CI build on push | language: go
sudo: required
go:
- 1.6
script:
- go get -d github.com/libgit2/git2go
- cd $GOPATH/src/github.com/libgit2/git2go
- git checkout next
- git submodule update --init
- make install
- cd $GOPATH/src/github.com/git-time-metric/gtm
- go get -u github.com/FiloSottile/gvt
- $GOBIN/gvt restore
- go test ./...
- go build
| language: go
sudo: required
go:
- 1.6
script:
- go get -d github.com/libgit2/git2go
- cd $GOPATH/src/github.com/libgit2/git2go
- git checkout next
- git submodule update --init
- make install
- cd $GOPATH/src/github.com/git-time-metric/gtm
- go get -u github.com/FiloSottile/gvt
- $GOBIN/gvt restore
- go test ./...
- go build
|
Use Travis CI's new container-based infrastructure | language: scala
scala:
- 2.10.4
- 2.11.4
jdk:
- oraclejdk7
# Note: not currently testing on JDK 8 internally
- oraclejdk8
- openjdk7
before_script:
# default $SBT_OPTS is irrelevant to sbt lancher
- unset SBT_OPTS
script:
- ./sbt ++$TRAVIS_SCALA_VERSION test
| language: scala
sudo: false
scala:
- 2.10.4
- 2.11.4
jdk:
- oraclejdk7
# Note: not currently testing on JDK 8 internally
- oraclejdk8
- openjdk7
before_script:
# default $SBT_OPTS is irrelevant to sbt lancher
- unset SBT_OPTS
script:
- ./sbt ++$TRAVIS_SCALA_VERSION test
|
Add Travis CI configuration for deploying to PyPI | language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
script: nosetests
| language: python
python:
- '2.7'
- '3.2'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
script: nosetests
deploy:
provider: pypi
user: babab
password:
secure: p4kaecR/DJBeTGnzwM+ePTx7UZcY+lGMCoLQ7Jg7TP0yNPnX4rCVM+l/AFv/dH9JYUZHX42E9wF2BUNIMZ63zYOTx0M49111psrvj7Fu8L0Odlf2VaIIP1puSQJWEU1RISdZA2CAWUtlgP8Y0GMLVrDjxFqfj/lwXB1YX46Sl9k=
distributions: sdist bdist_wheel
on:
tags: true
python: '3.6'
|
Exclude python 3.2 from Django 1.10 build | sudo: false
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
env:
matrix:
- DJANGO="Django<1.8"
- DJANGO="Django<1.9"
- DJANGO="Django<1.10"
- DJANGO="Django<1.11"
cache:
directories:
- $HOME/.cache/pip
install:
# pip >=8 dropped Python 3.2 support
- pip install "pip<8.0.0" wheel
- pip install "$DJANGO" "coverage==3.7.1" coveralls "mock>=1.0.1"
- pip install .
- pip install flake8
matrix:
exclude:
- python: "3.5"
env: DJANGO="Django<1.8"
# Django 1.9+ no longer supports python 3.2/3.3
- python: "3.2"
env: DJANGO="Django<1.10"
- python: "3.3"
env: DJANGO="Django<1.10"
branches:
only:
- master
script:
- flake8 --exclude=migrations,south_migrations allauth
- coverage run manage.py test allauth
after_success:
- coverage report
- coveralls
| sudo: false
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
env:
matrix:
- DJANGO="Django<1.8"
- DJANGO="Django<1.9"
- DJANGO="Django<1.10"
- DJANGO="Django<1.11"
cache:
directories:
- $HOME/.cache/pip
install:
# pip >=8 dropped Python 3.2 support
- pip install "pip<8.0.0" wheel
- pip install "$DJANGO" "coverage==3.7.1" coveralls "mock>=1.0.1"
- pip install .
- pip install flake8
matrix:
exclude:
- python: "3.5"
env: DJANGO="Django<1.8"
# Django 1.9+ no longer supports python 3.2/3.3
- python: "3.2"
env: DJANGO="Django<1.10"
- python: "3.3"
env: DJANGO="Django<1.10"
- python: "3.2"
env: DJANGO="Django<1.11"
- python: "3.3"
env: DJANGO="Django<1.11"
branches:
only:
- master
script:
- flake8 --exclude=migrations,south_migrations allauth
- coverage run manage.py test allauth
after_success:
- coverage report
- coveralls
|
Use npm to install and build stuff | dist: trusty
sudo: required
services:
- docker
addons:
apt:
sources:
- git-core
packages:
- git
before_install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
language: node_js
node_js:
- '7'
cache: yarn
install: yarn install
script:
- bash ./deploy/deploy.sh
| dist: trusty
sudo: required
services:
- docker
addons:
apt:
sources:
- git-core
packages:
- git
before_install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
language: node_js
node_js:
- '7'
install: npm install
script:
- bash ./deploy/deploy.sh
|
Update config of Travis CI to send notification to Slack | language: node_js
node_js:
- 8
cache:
directories:
- node_modules
- public/components
before_install:
- npm install -g bower
install:
- yarn
- bower install
script:
- yarn run test
- yarn run posttest | language: node_js
node_js:
- 8
cache:
directories:
- node_modules
- public/components
before_install:
- npm install -g bower
install:
- yarn
- bower install
script:
- yarn run test
- yarn run posttest
notifications:
slack: araytek:B8Xevy6shC51ftn3tBiZR8fw |
Install gems before CI begins | # References:
# - https://docs.travis-ci.com/user/caching/#Bundler
language: ruby
cache: bundler
rvm:
- 2.4.0
addons:
code_climate:
repo_token: $CODECLIMATE_REPO_TOKEN
before_install:
# Prevent issues like the following happening:
# https://github.com/sickill/rainbow/issues/44
- gem update --system
- gem install i18n rspec
script:
- bin/bundle-audit check --update
- bin/resume -l en
- bin/resume -l it
- bin/resume -l ja
- bin/rspec spec/ --no-drb --format progress
- bin/rubocop --display-cop-names
- bin/rake resume
- ruby resume.rb -l en
- ruby resume.rb -l it
- ruby resume.rb -l ja
after_success:
- bin/codeclimate-test-reporter
| # References:
# - https://docs.travis-ci.com/user/caching/#Bundler
language: ruby
cache: bundler
rvm:
- 2.4.0
addons:
code_climate:
repo_token: $CODECLIMATE_REPO_TOKEN
before_install:
# Prevent issues like the following happening:
# https://github.com/sickill/rainbow/issues/44
- gem update --system
- gem install i18n rspec
- bundle install
script:
- bin/bundle-audit check --update
- bin/resume -l en
- bin/resume -l it
- bin/resume -l ja
- bin/rspec spec/ --no-drb --format progress
- bin/rubocop --display-cop-names
- bin/rake resume
- ruby resume.rb -l en
- ruby resume.rb -l it
- ruby resume.rb -l ja
after_success:
- bin/codeclimate-test-reporter
|
Test against latest ruby on Travis CI | language: ruby
sudo: false
rvm:
- 2.2.6
- 2.3.3
script:
- cd spec/dummy && RAILS_ENV=test bundle exec rake db:create db:migrate
- cd ../.. && bundle exec rspec spec
addons:
chrome: stable
before_install:
- wget http://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- rm chromedriver_linux64.zip
- sudo mv -f chromedriver /usr/local/bin/
- sudo chmod +x /usr/local/bin/chromedriver
- google-chrome-stable --headless --no-sandbox
deploy:
provider: rubygems
api_key:
secure: PEMMDcT4SKPdv4xMJmIEpndOGePsV3kDOhUL0vEDjTeyxBrn+iBgHKF9itSYbUmOSTuOaiIVleYmuC6GoAmg4KcZIZvfCA61cGCX1ADU5nwh5FjC/tAEs8eShMR3RFG6wyykb4MdFkE2jVpm/W0pyciLgW2HrM6iYzI6X2iMn9E=
gem: activeadmin_addons
on:
tags: true
repo: platanus/activeadmin_addons
| language: ruby
sudo: false
rvm:
- 2.2.6
- 2.3.3
- 2.5.0
script:
- cd spec/dummy && RAILS_ENV=test bundle exec rake db:create db:migrate
- cd ../.. && bundle exec rspec spec
addons:
chrome: stable
before_install:
- wget http://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- rm chromedriver_linux64.zip
- sudo mv -f chromedriver /usr/local/bin/
- sudo chmod +x /usr/local/bin/chromedriver
- google-chrome-stable --headless --no-sandbox
deploy:
provider: rubygems
api_key:
secure: PEMMDcT4SKPdv4xMJmIEpndOGePsV3kDOhUL0vEDjTeyxBrn+iBgHKF9itSYbUmOSTuOaiIVleYmuC6GoAmg4KcZIZvfCA61cGCX1ADU5nwh5FjC/tAEs8eShMR3RFG6wyykb4MdFkE2jVpm/W0pyciLgW2HrM6iYzI6X2iMn9E=
gem: activeadmin_addons
on:
tags: true
repo: platanus/activeadmin_addons
|
Update Travis-CI to use raptorjit-testsuite | language: c
sudo: false
script:
- make
- src/luajit -e 'for i = 1, 1000 do end'
- git submodule init submodules/luajit-test-cleanup
- (cd submodules/luajit-test-cleanup/test; ../../../src/luajit test.lua $(seq 1 508 | grep -v 366))
| language: c
sudo: false
script:
- make
- src/luajit -e 'for i = 1, 1000 do end'
- git submodule init submodules/raptorjit-testsuite
- (cd submodules/raptorjit-testsuite/test; ../../../src/luajit test.lua)
|
Remove PHP 7.0 from allowed Travis build failures | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: hhvm
before_script:
- composer install --dev
script: ./phpunit
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer install --dev
script: ./phpunit
|
Add Ruby 2.1.1 to Travis build | language: ruby
cache: bundler
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
- 1.9.2
script: bundle exec rspec spec
| language: ruby
cache: bundler
rvm:
- 2.1.1
- 2.1.0
- 2.0.0
- 1.9.3
- 1.9.2
script: bundle exec rspec spec
|
Install reqs into lib folder | language: python
python:
- '2.7'
cache:
- pip
install:
- pip install -r requirements.txt
- export PYTHONPATH="~/:${PYTHONPATH}"
- echo "$PYTHONPATH"
script:
- py.test tests/
before_install:
- openssl aes-256-cbc -K $encrypted_53077b9a3e95_key -iv $encrypted_53077b9a3e95_iv
-in andersenlab-a0c69892694b.json.enc -out andersenlab-a0c69892694b.json -d
deploy:
version: version-1-0-2
provider: gae
project: andersen-lab
keyfile: andersenlab-a0c69892694b.json
verbosity: debug
on: master
no_promote: true
no_stop_previous_version: true
skip_cleanup: true | language: python
python:
- '2.7'
cache:
- pip
install:
- pip install -t lib -r requirements.txt
- pip install virtualenvwrapper
- source virtualenvwrapper.sh
- add2virtualenv ./lib
- export PYTHONPATH="~/:${PYTHONPATH}"
- echo "$PYTHONPATH"
script:
- py.test tests/
before_install:
- openssl aes-256-cbc -K $encrypted_53077b9a3e95_key -iv $encrypted_53077b9a3e95_iv
-in andersenlab-a0c69892694b.json.enc -out andersenlab-a0c69892694b.json -d
deploy:
version: version-1-0-2
provider: gae
project: andersen-lab
keyfile: andersenlab-a0c69892694b.json
verbosity: debug
on: master
no_promote: true
no_stop_previous_version: true
skip_cleanup: true |
Fix up name of config file | ---
- name: Install sensu config
template: src=config.json.j2 dest=/etc/sensu/config.json
- name: Install sensu client config file
template: src=client.json.j2 dest=/etc/sensu/conf.d/client.json
- name: Make sensu SSL directory
file: path=/etc/sensu/ssl state=directory
- name: Copy across SSL cert
copy: src=../files/cert.pem dest=/etc/sensu/ssl
- name: Copy across SSL key
copy: src=../files/key.pem dest=/etc/sensu/ssl
- name: start sensu-client and ensure enabled=yes
service: name=sensu-client state=started enabled=yes
| ---
- name: Install sensu RabbitMQ config
template: src=rabbitmq.json.j2 dest=/etc/sensu/rabbitmq.json
- name: Install sensu client config file
template: src=client.json.j2 dest=/etc/sensu/conf.d/client.json
- name: Make sensu SSL directory
file: path=/etc/sensu/ssl state=directory
- name: Copy across SSL cert
copy: src=../files/cert.pem dest=/etc/sensu/ssl
- name: Copy across SSL key
copy: src=../files/key.pem dest=/etc/sensu/ssl
- name: start sensu-client and ensure enabled=yes
service: name=sensu-client state=started enabled=yes
|
Disable email notifications from Travis CI | language: python
python:
- "3.5"
- "3.4"
- "3.3"
- "3.2"
- "2.7"
install:
- "pip install -r requirements-dev.txt"
script:
- "python setup.py test"
| language: python
python:
- "3.5"
- "3.4"
- "3.3"
- "3.2"
- "2.7"
install:
- "pip install -r requirements-dev.txt"
script:
- "python setup.py test"
notifications:
email: false
|
Make PyPy and PyPy3 CI optional | language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "pypy"
- "pypy3"
services:
- mongodb
install:
- pip install -r requirements.txt
- pip install flake8
- pip install coveralls
before_script: flake8
script: pytest
after_success: coveralls
| language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "pypy"
- "pypy3"
matrix:
allow_failures:
- python: "pypy"
- python: "pypy3"
services:
- mongodb
install:
- pip install -r requirements.txt
- pip install flake8
- pip install coveralls
before_script: flake8
script: pytest
after_success: coveralls
|
Add exclude pattern for coverage tests. | language: rust
sudo: false
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
before_script:
#- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
- pip install git+https://github.com/johanneskoester/travis-cargo.git --user && export PATH=$HOME/.local/bin:$PATH
matrix:
include:
- rust: stable
- rust: beta
- rust: nightly
env: TRAVIS_CARGO_NIGHTLY_FEATURE=""
- rust: nightly
env: TRAVIS_CARGO_NIGHTLY_FEATURE="nightly"
allow_failures:
- rust: nightly
- rust: beta
script:
- travis-cargo build && travis-cargo test
after_success:
- travis-cargo coveralls --no-sudo --verify
env:
global:
secure: ujLBCE7iB7rMZaOSQQS0t7RjenxDnV/rtiMEB/aJnzbCBTo2RtJifyXkZci28YT0Sab8HeyCTsKafszgphj0BvSYUI8fwexPtRCXmgcLjouXRD0NWAr3dtEx0TPPXcwquer0BQzfeEZUmOnChKXDlcE3GSIdRSI+1Y8inbF4cRM=
| language: rust
sudo: false
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
before_script:
#- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
- pip install git+https://github.com/johanneskoester/travis-cargo.git --user && export PATH=$HOME/.local/bin:$PATH
matrix:
include:
- rust: stable
- rust: beta
- rust: nightly
env: TRAVIS_CARGO_NIGHTLY_FEATURE=""
- rust: nightly
env: TRAVIS_CARGO_NIGHTLY_FEATURE="nightly"
allow_failures:
- rust: nightly
- rust: beta
script:
- travis-cargo build && travis-cargo test
after_success:
- travis-cargo coveralls --no-sudo --verify --exclude-pattern="benches/,CHANGELOG.md,README.md,LICENSE.md,Cargo.lock,Cargo.toml"
env:
global:
secure: ujLBCE7iB7rMZaOSQQS0t7RjenxDnV/rtiMEB/aJnzbCBTo2RtJifyXkZci28YT0Sab8HeyCTsKafszgphj0BvSYUI8fwexPtRCXmgcLjouXRD0NWAr3dtEx0TPPXcwquer0BQzfeEZUmOnChKXDlcE3GSIdRSI+1Y8inbF4cRM=
|
Use modulesync to manage meta files | ---
language: ruby
bundler_args: --without development
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
after_success:
["git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng", ".forge-releng/publish"]
env:
global:
- PUBLISHER_LOGIN=camptocamp
- secure: "Pj3X5Ifwezh49UlBm/EakxqA9i73i726g5QnkyRF6wSilxKFi9QxVuSZMtdlVlM7TPeUSmk0T2ncKGpxtT0/rzvJ2dO/Rg7McuyrqfzC22oJCNYsbD1GVEzi8yOJnhb7wzHX0g0OqcMR2Xpqz7JrnRcWODnHR9te9FysRj7hCFg="
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 2.7"
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0"
notifications:
email: false
| ---
language: ruby
bundler_args: --without development
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
after_success:
["git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng", ".forge-releng/publish"]
env:
global:
- PUBLISHER_LOGIN=camptocamp
- secure: "Pj3X5Ifwezh49UlBm/EakxqA9i73i726g5QnkyRF6wSilxKFi9QxVuSZMtdlVlM7TPeUSmk0T2ncKGpxtT0/rzvJ2dO/Rg7McuyrqfzC22oJCNYsbD1GVEzi8yOJnhb7wzHX0g0OqcMR2Xpqz7JrnRcWODnHR9te9FysRj7hCFg="
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0"
notifications:
email: false
|
Make symbolic links to libnetcdf and libhdf | language: python
python:
- "2.7"
addons:
apt:
packages:
- liblapack-dev
- libblas-dev
- gfortran
- libgeos-dev
- libnetcdf-dev
- libhdf5-serial-dev
- libglib2.0-dev
install:
- #sudo apt-get install libhdf5-serial-dev
- sudo ln -s /usr/lib/libgeos-3.2.2.so /usr/lib/libgeos.so
- sudo ln -s /usr/lib/libgeos-3.3.8.so /usr/lib/libgeos.so.1
- wget "https://bootstrap.pypa.io/ez_setup.py" -O- | python
- pip install numpy
- ./install-pyferret.sh
- ./install-esmp.sh
- export PYTHONPATH=$PYTHONPATH:$HOME/pyferret/ib/python2.7/site-packages:$HOME/esmp.ESMF_6_3_0rp1_ESMP_01
- yes | python setup.py install
- pip install coveralls
cache:
- bundler
- apt
script:
- coverage run --source=geodat setup.py test
after_success: coveralls | language: python
python:
- "2.7"
addons:
apt:
packages:
- liblapack-dev
- libblas-dev
- gfortran
- libgeos-dev
- libnetcdf-dev
- libhdf5-serial-dev
- libglib2.0-dev
install:
- #sudo apt-get install libhdf5-serial-dev
- sudo ln -s /usr/lib/libgeos-3.2.2.so /usr/lib/libgeos.so
- sudo ln -s /usr/lib/libgeos-3.3.8.so /usr/lib/libgeos.so.1
- sudo ln -s /usr/lib/libnetcdf.so /usr/lib/libnetcdf.a
- sudo ln -s /usr/lib/libnetcdff.so /usr/lib/libnetcdff.a
- sudo ln -s /usr/lib/libhdf5.so /usr/lib/libhdf5.a
- sudo ln -s /usr/lib/libhdf5_hl.so /usr/lib/libhdf5_hl.a
- wget "https://bootstrap.pypa.io/ez_setup.py" -O- | python
- pip install numpy
- ./install-pyferret.sh
- ./install-esmp.sh
- export PYTHONPATH=$PYTHONPATH:$HOME/pyferret/ib/python2.7/site-packages:$HOME/esmp.ESMF_6_3_0rp1_ESMP_01
- yes | python setup.py install
- pip install coveralls
cache:
- bundler
- apt
script:
- coverage run --source=geodat setup.py test
after_success: coveralls |
Add Shellcheck to Travis build | sudo: required
services:
- docker
script:
- ./test-build.sh $NODE_VERSION
env:
matrix :
- NODE_VERSION: '4.8'
- NODE_VERSION: '6.11'
- NODE_VERSION: '8.1'
| sudo: required
services:
- docker
addons:
apt:
sources:
- debian-sid
packages:
- shellcheck
script:
- shellcheck *.sh
- ./test-build.sh $NODE_VERSION
env:
matrix :
- NODE_VERSION: '4.8'
- NODE_VERSION: '6.11'
- NODE_VERSION: '8.1'
|
Create a couple of the necessary folders. | language: python
python:
- "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq git python-dev libgnutls28-dev uuid-dev gnutls-bin chrpath git-core libssl-dev libfontconfig1-dev
install:
- pip install -r requirements.txt
script:
- python manage.py test taskmanager
notifications:
email: true
| language: python
python:
- "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq git python-dev libgnutls28-dev uuid-dev gnutls-bin chrpath git-core libssl-dev libfontconfig1-dev
- mkdir logs
- chmod 777 logs
- mkdir task_data
- chmod 777 task_data
install:
- pip install -r requirements.txt
script:
- python manage.py test taskmanager
notifications:
email: true
|
Update JDK version for Travis CI | language: android
android:
components:
- tools
- platform-tools
- build-tools-25.0.0
- android-24
script:
- ./gradlew build
| language: android
android:
components:
- tools
- platform-tools
- build-tools-25.0.0
- android-24
script:
- ./gradlew build
jdk:
- oraclejdk8
|
Add cache section in GitHub Actions | name: tests
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4, 8.0]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: pdo_sqlite, sqlite
tools: composer:v2
coverage: none
- 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.3, 7.4, 8.0]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: pdo_sqlite, sqlite
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
|
Fix empty BuildDate in "hugo version" | name: hugo
version: "0.39-DEV"
summary: Fast and Flexible Static Site Generator
description: |
Hugo is a static HTML and CSS website generator written in Go. It is
optimized for speed, easy use and configurability. Hugo takes a directory
with content and templates and renders them into a full HTML website.
confinement: strict
grade: devel # "devel" or "stable"
apps:
hugo:
command: bin/hugo
plugs: [home, network-bind, removable-media]
parts:
hugo:
source: .
plugin: go
go-importpath: github.com/gohugoio/hugo
build-packages:
- git
stage-packages:
- git
- python-pygments
prepare: |
export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go
export PATH=$GOPATH/bin:$PATH
cd $GOPATH/src/github.com/gohugoio/hugo
go get github.com/magefile/mage
mage -v vendor test
rm -f $GOPATH/bin/dep
rm -f $GOPATH/bin/mage
install: |
strip --remove-section=.comment --remove-section=.note $SNAPCRAFT_PART_INSTALL/bin/hugo
after: [go]
go:
source-tag: go1.10
| name: hugo
version: "0.39-DEV"
summary: Fast and Flexible Static Site Generator
description: |
Hugo is a static HTML and CSS website generator written in Go. It is
optimized for speed, easy use and configurability. Hugo takes a directory
with content and templates and renders them into a full HTML website.
confinement: strict
grade: devel # "devel" or "stable"
apps:
hugo:
command: bin/hugo
plugs: [home, network-bind, removable-media]
parts:
hugo:
source: .
plugin: go
go-importpath: github.com/gohugoio/hugo
build-packages:
- git
stage-packages:
- git
- python-pygments
prepare: |
export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go
export PATH=$GOPATH/bin:$PATH
cd $GOPATH/src/github.com/gohugoio/hugo
go get github.com/magefile/mage
mage -v vendor check
build: |
export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go
export PATH=$GOPATH/bin:$PATH
[ "$SNAPCRAFT_PROJECT_GRADE" = "stable" ] && mage hugoNoGitInfo || mage hugo
./hugo version
install: |
install -d $SNAPCRAFT_PART_INSTALL/bin
cp -a hugo $SNAPCRAFT_PART_INSTALL/bin/hugo
strip --remove-section=.comment --remove-section=.note $SNAPCRAFT_PART_INSTALL/bin/hugo
after: [go]
go:
source-tag: go1.10
|
Add Stowe, VT, to the site description. | url: https://www.kirbyturner.com
baseurl:
# Site Settings
title: Kirby Turner
author: Kirby Turner
description: "Kirby Turner is an independent software developer, author, and owner of White Peak Software Inc. Kirby focuses Mac and iOS programming."
keywords: "ios, mac, programming, stowe, vt, vermont, cocoa"
google-tracking-id: UA-167605-13
# Career Settings
career-img: "img/career/default.jpg"
# Social networks usernames (many more available: google-plus, flickr, dribbble, pinterest, instagram, tumblr, linkedin, etc.)
social:
- title: adn
url: https://alpha.app.net/kirbyt
- title: twitter
url: http://twitter.com/kirbyt
- title: github
url: http://github.com/kirbyt
- title: linkedin
url: http://www.linkedin.com/in/kirbyturner/
- title: rss
url: http://www.thecave.com/atom.xml
exclude: ["Rakefile"]
| url: https://www.kirbyturner.com
baseurl:
# Site Settings
title: Kirby Turner
author: Kirby Turner
description: "Kirby Turner is an independent software developer, author, and owner of Stowe, VT-based White Peak Software Inc. Kirby focuses Mac and iOS programming."
keywords: "ios, mac, programming, stowe, vt, vermont, cocoa, developer, contractor, freelancer"
google-tracking-id: UA-167605-13
# Career Settings
career-img: "img/career/default.jpg"
# Social networks usernames (many more available: google-plus, flickr, dribbble, pinterest, instagram, tumblr, linkedin, etc.)
social:
- title: adn
url: https://alpha.app.net/kirbyt
- title: twitter
url: http://twitter.com/kirbyt
- title: github
url: http://github.com/kirbyt
- title: linkedin
url: http://www.linkedin.com/in/kirbyturner/
- title: rss
url: http://www.thecave.com/atom.xml
exclude: ["Rakefile"]
|
Install pgservice's files for swhscheduler user | networks:
default:
interface: eth0
address: 192.168.128.4
netmask: 255.255.255.0
gateway: 192.168.128.1
dar::backup::exclude:
- var/lib/rabbitmq
swh::deploy::scheduler::remote::backend::listen::host: 0.0.0.0
swh::deploy::scheduler::task_broker: "amqp://guest:guest@192.168.128.4:5672//"
swh::deploy::scheduler::config::local: &swh_scheduler_local_config
scheduler:
cls: local
args:
db: service=admin-staging-swh-scheduler
| networks:
default:
interface: eth0
address: 192.168.128.4
netmask: 255.255.255.0
gateway: 192.168.128.1
dar::backup::exclude:
- var/lib/rabbitmq
swh::postgres::service::users:
- swhscheduler
swh::deploy::scheduler::remote::backend::listen::host: 0.0.0.0
swh::deploy::scheduler::task_broker: "amqp://guest:guest@192.168.128.4:5672//"
swh::deploy::scheduler::config::local: &swh_scheduler_local_config
scheduler:
cls: local
args:
db: service=admin-staging-swh-scheduler
|
Install php5-mcrypt (required dependency of CakePHP) | ---
#Tasks for setting up php5
- name: Install php5
apt: name={{ item }} update_cache=yes cache_valid_time=36000 state=present
with_items:
- php5-fpm
- php5-cli
- php5-mysql
- php5-intl
- php5-curl
- php5-memcache
- php5-imagick
- memcached
- name: Copy php configuration files
copy: src=php.conf dest=/etc/php5/fpm/pool.d/tatoeba.conf
- name: Restart nginx
service: name=nginx state=restarted enabled=yes
- name: Restart php5-fpm
service: name=php5-fpm state=restarted enabled=yes | ---
#Tasks for setting up php5
- name: Install php5
apt: name={{ item }} update_cache=yes cache_valid_time=36000 state=present
with_items:
- php5-fpm
- php5-cli
- php5-mysql
- php5-intl
- php5-curl
- php5-memcache
- php5-imagick
- php5-mcrypt
- memcached
- name: Copy php configuration files
copy: src=php.conf dest=/etc/php5/fpm/pool.d/tatoeba.conf
- name: Restart nginx
service: name=nginx state=restarted enabled=yes
- name: Restart php5-fpm
service: name=php5-fpm state=restarted enabled=yes
|
Comment test with GHC head | resolver: lts-7.3
packages:
- '.'
- '../dynamic-linker-template/'
extra-deps:
- dynamic-linker-template-0.1.1.0
- stm-linkedlist-0.1.0.0
- cabal-test-quickcheck-0.1.7
- diagrams-1.3.0.1
- pqueue-1.3.1.1
flags:
diagrams:
rasterific: true
extra-package-dbs: []
ghc-options:
"*": -fobject-code # GHCI needs it because of the foreign primops
"*": -freduction-depth=0 # used to allow compilation of large type-level Syscalls table
# system-ghc: true
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
| resolver: lts-7.3
packages:
- '.'
- '../dynamic-linker-template/'
extra-deps:
- dynamic-linker-template-0.1.1.0
- stm-linkedlist-0.1.0.0
- cabal-test-quickcheck-0.1.7
- diagrams-1.3.0.1
- pqueue-1.3.1.1
flags:
diagrams:
rasterific: true
extra-package-dbs: []
ghc-options:
"*": -fobject-code # GHCI needs it because of the foreign primops
"*": -freduction-depth=0 # used to allow compilation of large type-level Syscalls table
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
#
# To test with GHC head, uncomment this and add "ghc-stage2" aliased as "ghc" in
# the PATH
# compiler: ghc-8.1.20161023
# system-ghc: true
|
Add guard for early adopters | ---
- name: ANSISTRANO | Check BC for early adopters
fail: msg="Check https://github.com/ansistrano/deploy"
when: ansistrano_custom_tasks_path | bool
- name: ANSISTRANO | Execute "Before Update Code" Tasks
include: "{{ ansistrano_before_update_code_tasks_file | default('empty.yml') }}"
- include: update-code.yml
- name: ANSISTRANO | Execute "After Update Code" Tasks
include: "{{ ansistrano_after_update_code_tasks_file | default('empty.yml') }}"
- name: ANSISTRANO | Execute "Before Symlink" Tasks
include: "{{ ansistrano_before_symlink_tasks_file | default('empty.yml') }}"
- include: symlink.yml
- name: ANSISTRANO | Execute "After Symlink" Tasks
include: "{{ ansistrano_after_symlink_tasks_file | default('empty.yml') }}"
- name: ANSISTRANO | Execute "Before Cleanup" Tasks
include: "{{ ansistrano_before_cleanup_tasks_file | default('empty.yml') }}"
- include: cleanup.yml
- name: ANSISTRANO | Execute "After Cleanup" Tasks
include: "{{ ansistrano_after_cleanup_tasks_file | default('empty.yml') }}"
| ---
- name: ANSISTRANO | Check BC for early adopters
fail: msg="ansistrano_custom_tasks_path is not used anymore. Please, check the documentation at https://github.com/ansistrano/deploy"
when: ansistrano_custom_tasks_path is defined
- name: ANSISTRANO | Execute "Before Update Code" Tasks
include: "{{ ansistrano_before_update_code_tasks_file | default('empty.yml') }}"
- include: update-code.yml
- name: ANSISTRANO | Execute "After Update Code" Tasks
include: "{{ ansistrano_after_update_code_tasks_file | default('empty.yml') }}"
- name: ANSISTRANO | Execute "Before Symlink" Tasks
include: "{{ ansistrano_before_symlink_tasks_file | default('empty.yml') }}"
- include: symlink.yml
- name: ANSISTRANO | Execute "After Symlink" Tasks
include: "{{ ansistrano_after_symlink_tasks_file | default('empty.yml') }}"
- name: ANSISTRANO | Execute "Before Cleanup" Tasks
include: "{{ ansistrano_before_cleanup_tasks_file | default('empty.yml') }}"
- include: cleanup.yml
- name: ANSISTRANO | Execute "After Cleanup" Tasks
include: "{{ ansistrano_after_cleanup_tasks_file | default('empty.yml') }}"
|
Disable strict variables checking (bug in concat) | ---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
script: bundle exec rake test
env:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.5.0" STRICT_VARIABLES=yes
- PUPPET_VERSION="~> 3.6.0" STRICT_VARIABLES=yes
- PUPPET_VERSION="~> 3.7.0" STRICT_VARIABLES=yes
matrix:
exclude:
- rvm: 1.9.3
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.0.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
| ---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
script: bundle exec rake test
env:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.5.0"
- PUPPET_VERSION="~> 3.6.0"
- PUPPET_VERSION="~> 3.7.0"
matrix:
exclude:
- rvm: 1.9.3
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.0.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 2.7.0"
- rvm: 2.1.0
|
Remove PHP 5.6 from Travis | language: php
sudo: false
php:
- 5.6
- 7.0
before_script:
- composer install
script: php vendor/bin/phpunit --coverage-text | language: php
sudo: false
php:
- 7.0
before_script:
- composer install
script: vendor/bin/phpunit |
Use TRAVIS_BUILD_DIR, install paramedic by npm | language: objective-c
git:
depth: 2
node_js:
- "0.10"
install:
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- cd ..
- npm install -g purplecabbage/cordova-paramedic
- npm install -g cordova
- npm install -g ios-sim
script:
- cordova-paramedic --platform ios --plugin ../cordova-plugin-inappbrowser
| language: objective-c
git:
depth: 2
node_js:
- "0.10"
install:
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- cd ..
- npm install -g cordova-paramedic
- npm install -g cordova
- npm install -g ios-sim
script:
- cordova-paramedic --platform ios --plugin ${TRAVIS_BUILD_DIR}
|
Add build with ruby 2.5.0 | language: ruby
sudo: required
rvm:
- 2.2.7
- 2.3.5
- 2.4.2
install:
- sudo apt-get update -qq
- sudo apt-get install libpcap-dev -qq
- bundle install --path vendor/bundle --jobs=3 --retry=3
before_script:
- openssl version
- ruby -ropenssl -e 'puts OpenSSL::VERSION'
script:
- bundle exec rake
- rvmsudo bundle exec rake spec:sudo
| language: ruby
sudo: required
rvm:
- 2.2.7
- 2.3.5
- 2.4.2
- 2.5.0
install:
- sudo apt-get update -qq
- sudo apt-get install libpcap-dev -qq
- bundle install --path vendor/bundle --jobs=3 --retry=3
before_script:
- openssl version
- ruby -ropenssl -e 'puts OpenSSL::VERSION'
script:
- bundle exec rake
- rvmsudo bundle exec rake spec:sudo
|
Add node 4.0 & 4.1 versions to tests | language: node_js
node_js:
- "0.10"
- "0.12"
- "io.js"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info
| language: node_js
node_js:
- "io.js"
- "0.10"
- "0.12"
- "4.1"
- "4.0"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info
|
Update Travis script to use `cabal new-build` | sudo: false
language: c
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
- $HOME/.stack
matrix:
include:
- compiler: ": #stack 8.0.2"
addons: {apt: {packages: [libgmp-dev]}}
before_install:
- unset CC
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- ln -s stack.ghc-8.0-unix.yaml stack.yaml
script:
- sh build.sh
| dist: trusty
sudo: false
language: c
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
matrix:
include:
- env: CABALVER="2.0" GHCVER="8.2.1"
compiler: ": #GHC 8.2.1"
addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.1], sources: [hvr-ghc]}}
- os: osx
env: CABALVER="2.0" GHCVER="8.2.1"
compiler: ": #GHC 8.2.1"
before_install:
- unset CC
- export PATH=$HOME/.cabal/bin:$PATH
script:
- cabal install -j alex
- cabal install -j happy
- cabal install -j c2hs
- cabal new-build
|
Test Node.js 4 instead of io.js | sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
| sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
|
Add npm deployment to Travis | language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
- '4.0'
- '5.0'
- iojs
sudo: false
after_script: npm install codecov.io && cat ./coverage/lcov.info | codecov
| language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
- '4.0'
- '5.0'
- iojs
sudo: false
after_script: npm install codecov.io && cat ./coverage/lcov.info | codecov
deploy:
provider: npm
email: tituswormer@gmail.com
api_key:
secure: NslAC8ebv6SgJQOGIER9ivZfTUTpT4t0FX7JukKXzAj2syfoKxsm/MzImfN3usDVkmTxnWw/PJQgUhkiD0Mw03ceLPgxAssoNcneE7mrTR/LJcT+r+TxM8rfZszO917G7hJonN/sHBUqzSmPKJmD1zKnFiPD1SN6x6T09sFVeS0VgJIiKZA1LZDtHatbX6USNiGfk7J0KVocJs2P8SWqU5NEGwDYWIgYtAFP2xHPc5ttn9p29kMZ3v1geKVyaKU6+TwUJ6T83wSy5bX5mDdGSpM0zwox0pqoYsbwZCUAudlNjHYm1NZxowhfkseExA6sLef3QKd2aoUclXO9CMbpOP6bHpyaukHc7x0vJzmOsZDnvrSLf/iZzwzT13BSGjs+Im22gAJ8A3zBBnG/acWNpQZ8sIS8jXPw0oTrPSRAf3JAfA28Q/zYnGaDRInbO7JXtencNI3nR+royQsBf0VNdvfMug03GwMeAq4xXCzuafsux+VRyOxu9c+YV+2olQFC4zxrF6ecpN+PpyAquHyINsgqEQNmbopnq6xvX2tlogpys/ehPmFaFqmBq7ghsLLpl3YyZZ4CHlSnlJ4wBeyBi4bYiLnToPE1AS6Ykq1Os0xwYpyKqx6o3EzQ9hMXOfe9Z98Zv0VQHM8JWOFt90HFhzdBpN0dwKgzIBBfgBcgxo4=
on:
tags: true
node: '5.0'
|
Add build args for Travis builds | sudo: required
services:
- docker
language: bash
script:
# prepare qemu
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
# build image
- docker build -t jccomputing/rpi-domoticz .
# test image
- docker run --entrypoint /src/domoticz/domoticz jccomputing/rpi-domoticz
# push image
- >-
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
docker push jccomputing/rpi-domoticz
fi
| sudo: required
services:
- docker
language: bash
script:
# prepare qemu
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
# build image
- docker build --build-arg VCS_REF=$TRAVIS_COMMIT --build-arg BUILD_DATE=$(date +"%Y-%m-%dT%H:%M:%SZ") -t jccomputing/rpi-domoticz .
# test image
- docker run --entrypoint /src/domoticz/domoticz jccomputing/rpi-domoticz
# push image
- >-
if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
docker push jccomputing/rpi-domoticz
fi
|
Use Swift 4.0 release version 🎉 | branches:
only:
- master
- develop
- /^hotfix.*$/
- /^feature.*$/
matrix:
include:
- os: linux
install:
- gem install bundler
- bundler install
before_script:
- bundle exec danger
before_install:
- wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -
- wget -q https://swift.org/builds/swift-4.0-branch/ubuntu1404/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-17-a/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-17-a-ubuntu14.04.tar.gz
- tar xzf swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-17-a-ubuntu14.04.tar.gz
- export PATH=${PWD}/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-17-a-ubuntu14.04/usr/bin:"${PATH}"
script:
- make travis
- os: osx
osx_image: xcode9
sudo: required
env: CODECOV_TOKEN=$CODECOV_TOKEN
script:
- make travisosx
| branches:
only:
- master
- develop
- /^hotfix.*$/
- /^feature.*$/
matrix:
include:
- os: linux
install:
- gem install bundler
- bundler install
before_script:
- bundle exec danger
before_install:
- wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -
- wget -q https://swift.org/builds/swift-4.0-release/ubuntu1404/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu14.04.tar.gz
- tar xzf swift-4.0-RELEASE-ubuntu14.04.tar.gz
- export PATH=${PWD}/swift-4.0-RELEASE-ubuntu14.04/usr/bin:"${PATH}"
script:
- make travis
- os: osx
osx_image: xcode9
sudo: required
env: CODECOV_TOKEN=$CODECOV_TOKEN
script:
- make travisosx
|
Use the latest ruby 2.1 available | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
|
Fix path problem in Travis CI configuration | language: java
sudo: false
jdk:
- oraclejdk7
install: "./installViaTravis.sh"
script: "./buildViaTravis.sh"
cache:
directories:
- "$HOME/.gradle/caches/"
before_install:
- test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_b1ee0fc237d8_key -iv $encrypted_b1ee0fc237d8_iv
-in gradle.properties.enc -out ../../templates/gradle.properties -d || true
after_success:
- "./gradlew jacocoTestReport coveralls"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/2789fa0cc6521142fbb2
on_success: change
on_failure: always
on_start: never
| language: java
sudo: false
jdk:
- oraclejdk7
install: "./installViaTravis.sh"
script: "./buildViaTravis.sh"
cache:
directories:
- "$HOME/.gradle/caches/"
before_install:
- test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_b1ee0fc237d8_key -iv $encrypted_b1ee0fc237d8_iv
-in gradle.properties.enc -out gradle.properties -d || true
after_success:
- "./gradlew jacocoTestReport coveralls"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/2789fa0cc6521142fbb2
on_success: change
on_failure: always
on_start: never
|
Revert "Stop the Jekyll server, it's quite loud" | language: ruby
rvm:
- 2.4
install:
- bundle install --jobs=3 --retry=3 --deployment
- npm install protractor
- sh -e /etc/init.d/xvfb start
- webdriver-manager update
script:
- bundle exec jekyll serve --detach
- npm test
- pkill -f jekyll
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- DISPLAY=:99.0
branches:
only:
- gh-pages
dist: trusty
sudo: false
| language: ruby
rvm:
- 2.4
install:
- bundle install --jobs=3 --retry=3 --deployment
- npm install protractor
- sh -e /etc/init.d/xvfb start
- webdriver-manager update
script:
- bundle exec jekyll serve --detach
- npm test
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- DISPLAY=:99.0
branches:
only:
- gh-pages
dist: trusty
sudo: false
|
Remove all dependancies to SmalltalkHub | language: smalltalk
sudo: false
os:
- linux
osx_image: xcode6.4
smalltalk:
- Pharo64-6.1
- Pharo64-8.0
matrix:
fast_finish: true
| language: smalltalk
sudo: false
os:
- linux
osx_image: xcode6.4
smalltalk:
- Pharo64-8.0
matrix:
fast_finish: true
|
Remove go1.9, add go1.12 to Travis CI | language: go
go:
- "1.9"
- "1.10"
- "1.11"
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cover
script:
- $HOME/gopath/bin/goveralls -service=travis-ci
| language: go
go:
- "1.10"
- "1.11"
- "1.12"
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cover
script:
- $HOME/gopath/bin/goveralls -service=travis-ci
|
Introduce failing poor man's automated test | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
matrix:
allow_failures:
- python: "3.5-dev"
install:
- pip install .
- pip install -r test-requirements.txt
cache: pip
script:
- flake8
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
matrix:
allow_failures:
- python: "3.5-dev"
install:
- pip install .
- pip install -r test-requirements.txt
cache: pip
script:
- flake8
- globus --help # poor man's test: detect catastrophic parsing failures
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.