Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Update from Hackage at 2019-02-04T06:45:46Z | homepage: https://oss.xkcd.com/
changelog-type: markdown
hash: 3da27750ad88395faf21e57ce95ddfd1648b8fb8c85626bdd4d7a5688062f484
test-bench-deps: {}
maintainer: oss@xkcd.com
synopsis: Provides instances missing from Hashable.
changelog: ! '# Revision history for hashable-orphans
## 0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
'
basic-deps:
base: ! '>=4.9 && <4.11'
time: ! '>=1.6 && <1.9'
sorted-list: ! '>=0.2 && <0.3'
hashable: ! '>=1.2 && <1.3'
all-versions:
- '0'
author: davean
latest: '0'
description-type: haddock
description: This package provides instances missing from <http://hackage.haskell.org/package/hashable
hashable>, specificly ones for types from <http://hackage.haskell.org/package/time
time> ('DiffTime', 'UTCTime') and <http://hackage.haskell.org/package/sorted-list
sorted-list> at present.
license-name: BSD-3-Clause
| homepage: https://oss.xkcd.com/
changelog-type: markdown
hash: 746fed14fd792cbb4ab4d249e75ac1c1027c45daaf6d00faea208e8be1b8cf02
test-bench-deps: {}
maintainer: oss@xkcd.com
synopsis: Provides instances missing from Hashable.
changelog: |
# Revision history for hashable-orphans
## 0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
base: ! '>=4.9 && <4.13'
time: ! '>=1.6 && <1.10'
sorted-list: ! '>=0.2 && <0.3'
hashable: ! '>=1.2 && <1.3'
all-versions:
- '0'
author: davean
latest: '0'
description-type: haddock
description: This package provides instances missing from <http://hackage.haskell.org/package/hashable
hashable>, specificly ones for types from <http://hackage.haskell.org/package/time
time> ('DiffTime', 'UTCTime') and <http://hackage.haskell.org/package/sorted-list
sorted-list> at present.
license-name: BSD-3-Clause
|
Fix inspection step on CI | box: izumin5210/android:build-tools-23.0.3_target-api-23
build:
steps:
- script:
name: run gradle check
code: |
./gradlew --quiet --stacktrace --project-cache-dir=$WERCKER_CACHE_DIR -PdisablePreDex clean check
after-steps:
- script:
name: inspect build result
code: |
pwd
for dir in {app}; do
mkdir -p ${WERCKER_REPORT_ARTIFACTS_DIR}/$dir
ls -la ${WERCKER_SOURCE_DIR}/$dir
cp -r ${WERCKER_SOURCE_DIR}/$dir/build/reports ${WERCKER_REPORT_ARTIFACTS_DIR}/$dir
cp -r ${WERCKER_SOURCE_DIR}/$dir/build/outputs ${WERCKER_REPORT_ARTIFACTS_DIR}/$dir
done
| box: izumin5210/android:build-tools-23.0.3_target-api-23
build:
steps:
- script:
name: run gradle check
code: |
./gradlew --quiet --stacktrace --project-cache-dir=$WERCKER_CACHE_DIR -PdisablePreDex clean check
after-steps:
- script:
name: inspect build result
code: |
pwd
mkdir -p ${WERCKER_REPORT_ARTIFACTS_DIR}/app
ls -la ${WERCKER_SOURCE_DIR}/app
cp -r ${WERCKER_SOURCE_DIR}/app/build/reports ${WERCKER_REPORT_ARTIFACTS_DIR}/app
cp -r ${WERCKER_SOURCE_DIR}/app/build/outputs ${WERCKER_REPORT_ARTIFACTS_DIR}/app
|
Add infiksi as a dependent service | mirigata_db:
image: mysql:5.6
ports:
- ":3306"
env_file:
- passwords.env
environment:
MYSQL_DATABASE: mirigata_db
MYSQL_USER: mirigata
mirigata:
build: .
links:
- mirigata_db
ports:
- "80:8000"
environment:
DISCOVERY_MODE: env
SECRET_KEY: hmza=$)j(tuainnvk415z*fwj^4#)*+!y20_n+yn1a$%=9yh=o
| mirigata_db:
image: mysql:5.6
ports:
- ":3306"
env_file:
- passwords.env
environment:
MYSQL_DATABASE: mirigata_db
MYSQL_USER: mirigata
infiksi:
image: mirigata/infiksi
ports:
- ":8080"
mirigata:
build: .
links:
- mirigata_db
- infiksi
ports:
- "80:8000"
environment:
DISCOVERY_MODE: env
SECRET_KEY: hmza=$)j(tuainnvk415z*fwj^4#)*+!y20_n+yn1a$%=9yh=o
|
Add stanza to ansible to run migrations | - name: Make a database dump to /tmp just in case
mysql_db:
state: dump
login_host: cdh-db.princeton.edu
name: "{{ db_name }}"
target: "{{backup_location}}"
- name: check for old symlink
command: "ls /var/www/{{ symlink }}"
register: result
ignore_errors: True
check_mode: no
- name: Copy old symlink path from /var/www to "{{ prod }}/old"
file:
src: /var/www/{{ symlink }}
dest: "{{ prod }}/old"
state: link
when: result|succeeded
- name: New symlink path
file:
src: "{{ deploy }}"
dest: "/var/www/{{ symlink }}"
state: link
- name: Create courtesy symlink in
file:
src: "{{ deploy }}"
dest: "{{ prod }}/current"
state: link
| - name: Make a database dump to /tmp just in case
mysql_db:
state: dump
login_host: cdh-db.princeton.edu
name: "{{ db_name }}"
target: "{{backup_location}}"
- name: Run database migrations
django_manage:
command: migrate
app_path: "{{ deploy }}"
virtualenv: "{{ deploy }}/env"
- name: check for old symlink
command: "ls /var/www/{{ symlink }}"
register: result
ignore_errors: True
check_mode: no
- name: Copy old symlink path from /var/www to "{{ prod }}/old"
file:
src: /var/www/{{ symlink }}
dest: "{{ prod }}/old"
state: link
when: result|succeeded
- name: New symlink path
file:
src: "{{ deploy }}"
dest: "/var/www/{{ symlink }}"
state: link
- name: Create courtesy symlink in
file:
src: "{{ deploy }}"
dest: "{{ prod }}/current"
state: link
|
Remove whitespace, force CI build | name: MacOS Homebrew Build
on: [push]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Install
run: brew update; brew tap cyclone-scheme/cyclone ; brew -v install cyclone-scheme/cyclone/cyclone-bootstrap
- name: test
run: cyclone unit-tests.scm ; ./unit-tests
| name: MacOS Homebrew Build
on: [push]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Install
run: brew update; brew tap cyclone-scheme/cyclone ; brew -v install cyclone-scheme/cyclone/cyclone-bootstrap
- name: test
run: cyclone unit-tests.scm ; ./unit-tests
|
Exclude node_modules of directories to check | AllCops:
RunRailsCops: true
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'lib/**/*'
- 'bin/**/*'
Metrics/ClassLength:
CountComments: false
Max: 99999
Metrics/MethodLength:
CountComments: false
Max: 99999
Metrics/LineLength:
Max: 99999
Metrics/AbcSize:
Max: 99999 | AllCops:
RunRailsCops: true
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'lib/**/*'
- 'bin/**/*'
- 'node_modules/**/*'
Metrics/ClassLength:
CountComments: false
Max: 99999
Metrics/MethodLength:
CountComments: false
Max: 99999
Metrics/LineLength:
Max: 99999
Metrics/AbcSize:
Max: 99999 |
Allow the experimental trigger of the integrated repo | ---
# Copyright 2017, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- project:
name: openstack/openstack-ansible-lxc_container_create
check:
jobs:
- openstack-ansible-linters
- openstack-ansible-dir-ubuntu-xenial
- openstack-ansible-dir-centos-7
- openstack-ansible-dir-opensuse-423
- openstack-ansible-btrfs-ubuntu-xenial
- openstack-ansible-machinectl-ubuntu-xenial
- openstack-ansible-overlayfs-ubuntu-xenial
- openstack-ansible-zfs-ubuntu-xenial
gate:
jobs:
- openstack-ansible-linters
- openstack-ansible-dir-ubuntu-xenial
- openstack-ansible-dir-centos-7
- openstack-ansible-dir-opensuse-423
| ---
# Copyright 2017, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- project:
name: openstack/openstack-ansible-lxc_container_create
check:
jobs:
- openstack-ansible-linters
- openstack-ansible-dir-ubuntu-xenial
- openstack-ansible-dir-centos-7
- openstack-ansible-dir-opensuse-423
- openstack-ansible-btrfs-ubuntu-xenial
- openstack-ansible-machinectl-ubuntu-xenial
- openstack-ansible-overlayfs-ubuntu-xenial
- openstack-ansible-zfs-ubuntu-xenial
experimental:
jobs:
- openstack-ansible-integrated-deploy-aio
gate:
jobs:
- openstack-ansible-linters
- openstack-ansible-dir-ubuntu-xenial
- openstack-ansible-dir-centos-7
- openstack-ansible-dir-opensuse-423
|
Add build step to CI script | version: 2.1
orbs:
node: circleci/node@1.1.6
jobs:
build-and-test:
executor:
name: node/default
tag: '12-browsers'
steps:
- checkout
- node/with-cache:
steps:
- run: npm install
- run: npm run lint -- auth0-angular
- run: npm run test-ci
- run:
name: Upload coverage
command: ./node_modules/.bin/codecov
- store_test_results:
path: projects/auth0-angular/test-results
workflows:
build-and-test:
jobs:
- build-and-test
| version: 2.1
orbs:
node: circleci/node@1.1.6
jobs:
build-and-test:
executor:
name: node/default
tag: '12-browsers'
steps:
- checkout
- node/with-cache:
steps:
- run: npm install
- run: npm run lint -- auth0-angular
- run: npm run build
- run: npm run test-ci
- run:
name: Upload coverage
command: ./node_modules/.bin/codecov
- store_test_results:
path: projects/auth0-angular/test-results
workflows:
build-and-test:
jobs:
- build-and-test
|
Remove caching in circleci job. | version: 2
workflows:
version: 2
eb-sqs-jobs:
jobs:
- test-python-3
- test-python-2
jobs:
test-python-3:
docker:
- image: circleci/python:3.5-jessie
steps:
- add_ssh_keys
- checkout
- run:
name: Install dependencies
command: sudo pip install -r development.txt
- run:
name: Run tests
command: python -m django test --settings=eb_sqs.test_settings
test-python-2:
docker:
- image: circleci/python:2.7-jessie
steps:
- add_ssh_keys
- checkout
- restore_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
name: Install dependencies
command: |
sudo pip install pipenv
pipenv install -r development.txt
- save_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
paths:
- "/usr/local/bin"
- "/usr/local/lib/python2.7/site-packages"
- run:
name: Run tests
command: |
pipenv run python -m django test --settings=eb_sqs.test_settings | version: 2
workflows:
version: 2
eb-sqs-jobs:
jobs:
- test-python-3
- test-python-2
- test-python-3-6
jobs:
test-python-3: &test-template
docker:
- image: circleci/python:3.5-jessie
steps:
- add_ssh_keys
- checkout
- run:
name: Install dependencies
command: |
sudo pip install -r development.txt
- run:
name: Run tests
command: |
python -m django test --settings=eb_sqs.test_settings
test-python-2:
docker:
- image: circleci/python:2.7-jessie
steps:
- add_ssh_keys
- checkout
- run:
name: Install dependencies
command: |
sudo pip install -r development.txt
- run:
name: Run tests
command: |
python -m django test --settings=eb_sqs.test_settings
test-python-3-6:
<<: *test-template
docker:
- image: circleci/python:3.6-jessie
|
Remove CircleCI caches keyed from package-lock.json | version: 2
jobs:
build:
working_directory: ~/react-webpack-skeleton
docker:
- image: phryg1an/circleci-node:8.1.4
steps:
- checkout
- restore_cache:
keys:
- v1-{{ checksum ".nvmrc" }}-yarn-lock-{{ checksum "yarn.lock" }}
- v1-{{ checksum ".nvmrc" }}-npm-package-lock-{{ checksum "package-lock.json" }}
- v1-{{ checksum ".nvmrc" }}-npm-package-{{ checksum "package.json" }}
- run:
name: Installing dependencies
command: yarn install
- save_cache:
key: v1-{{ checksum ".nvmrc" }}-yarn-lock-{{ checksum "yarn.lock" }}
paths:
- node_modules
- save_cache:
key: v1-{{ checksum ".nvmrc" }}-npm-package-lock-{{ checksum "package-lock.json" }}
paths:
- node_modules
- save_cache:
key: v1-{{ checksum ".nvmrc" }}-npm-package-{{ checksum "package.json" }}
paths:
- node_modules
- run:
name: Scanning dependencies for vulnerabilities
command: yarn run security
- run:
name: Testing
command: mkdir -p /tmp/test-results/junit && yarn test --silent -- --reporter xunit > /tmp/test-results/junit/test-results.xml
- store_test_results:
path: /tmp/test-results
- run:
name: Building assets for production
command: NODE_ENV=production yarn build
- store_artifacts:
path: index.js
| version: 2
jobs:
build:
working_directory: ~/react-webpack-skeleton
docker:
- image: phryg1an/circleci-node:8.1.4
steps:
- checkout
- restore_cache:
keys:
- v1-{{ checksum ".nvmrc" }}-yarn-lock-{{ checksum "yarn.lock" }}
- v1-{{ checksum ".nvmrc" }}-npm-package-{{ checksum "package.json" }}
- run:
name: Installing dependencies
command: yarn install
- save_cache:
key: v1-{{ checksum ".nvmrc" }}-yarn-lock-{{ checksum "yarn.lock" }}
paths:
- node_modules
- save_cache:
key: v1-{{ checksum ".nvmrc" }}-npm-package-{{ checksum "package.json" }}
paths:
- node_modules
- run:
name: Scanning dependencies for vulnerabilities
command: yarn run security
- run:
name: Testing
command: mkdir -p /tmp/test-results/junit && yarn test --silent -- --reporter xunit > /tmp/test-results/junit/test-results.xml
- store_test_results:
path: /tmp/test-results
- run:
name: Building assets for production
command: NODE_ENV=production yarn build
- store_artifacts:
path: index.js
|
Use updated Wercker box with PHP 7.2. | box: dosomething/ds-docker-php
services:
- redis
build:
# The steps that will be executed on build
steps:
- script:
name: start mongodb
code: |-
sudo /usr/bin/mongod --quiet --config /etc/mongod.conf --fork --logpath /var/log/mongod.log
- leipert/composer-install@0.9.1
- npm-install
- script:
name: build front-end assets
code: npm run build
- script:
name: phpunit
code: |-
php artisan northstar:setup
export REDIS_HOST=$REDIS_PORT_6379_TCP_ADDR
export REDIS_PORT=$REDIS_PORT_6379_TCP_PORT
vendor/bin/phpunit
- script:
name: prepare for production
code: |-
rm -rf storage/cache # clear cached test keys
rm .env # reset APP_ENV=production
composer install --no-dev # remove dev dependencies
php artisan package:discover # discover packages
deploy:
steps:
- bundle-install
- script:
name: write private key env var
code: |-
export CAP_PRIVATE_KEY=`mktemp`
echo -e $WERCKER_APP_KEY_PRIVATE > $CAP_PRIVATE_KEY
- cap
after-steps:
- sherzberg/slack-notify:
subdomain: dosomething
token: $SLACK_TOKEN
channel: $SLACK_ROOM
| box: dosomething/ds-docker-php:7.2
services:
- redis
build:
# The steps that will be executed on build
steps:
- script:
name: start mongodb
code: |-
sudo /usr/bin/mongod --quiet --config /etc/mongod.conf --fork --logpath /var/log/mongod.log
- leipert/composer-install@0.9.1
- npm-install
- script:
name: build front-end assets
code: npm run build
- script:
name: phpunit
code: |-
php artisan northstar:setup
export REDIS_HOST=$REDIS_PORT_6379_TCP_ADDR
export REDIS_PORT=$REDIS_PORT_6379_TCP_PORT
vendor/bin/phpunit
- script:
name: prepare for production
code: |-
rm -rf storage/cache # clear cached test keys
rm .env # reset APP_ENV=production
composer install --no-dev # remove dev dependencies
php artisan package:discover # discover packages
deploy:
steps:
- bundle-install
- script:
name: write private key env var
code: |-
export CAP_PRIVATE_KEY=`mktemp`
echo -e $WERCKER_APP_KEY_PRIVATE > $CAP_PRIVATE_KEY
- cap
after-steps:
- sherzberg/slack-notify:
subdomain: dosomething
token: $SLACK_TOKEN
channel: $SLACK_ROOM
|
Remove old settings from default config | # SETTINGS
#
backends: [
{ type: "simple", alias: "Simple", settings: { url: "http://localhost:4567"}}
]
origins:
"Simple": {
store: "Simple",
source: "Source",
title: "Simple",
store_settings: {
url: "http://localhost:4567",
}
}
| origins:
"Simple": {
store: "Simple",
source: "Source",
title: "Simple",
store_settings: {
url: "http://localhost:4567",
}
}
|
Fix up Test Kitchen syntax | ---
driver:
name: vagrant
platforms:
<% %w(11.8.2).each do |chef_version| %>
- name: ubuntu-12.04
driver_config:
box: opscode_ubuntu-12.04
require_chef_omnibus: <%= chef_version %>
- name: centos-6.4
- name: centos-6.5
<% end %>
suites:
- name: default
run_list:
- recipe[apt::default]
- recipe[zookeeper::default]
attributes:
| ---
driver:
name: vagrant
require_chef_omnibus: 11.8
platforms:
- name: ubuntu-12.04
- name: centos-6.4
- name: centos-6.5
suites:
- name: default
run_list:
- recipe[apt::default]
- recipe[zookeeper::default]
attributes:
|
Adjust RuboCop config to allow for vertically aligned attributes | Documentation:
Enabled: false
# Disable encoding requirement
Encoding:
Enabled: false
# The default 79 character limit is sometimes unproductive.
LineLength:
Max: 100
# The default 10 lines limit is unrealistic.
MethodLength:
Max: 50
CyclomaticComplexity:
Max: 10
SingleSpaceBeforeFirstArg:
Exclude:
- metadata.rb
| Documentation:
Enabled: false
# Disable encoding requirement
Encoding:
Enabled: false
# The default 79 character limit is sometimes unproductive.
LineLength:
Max: 100
# The default 10 lines limit is unrealistic.
MethodLength:
Max: 50
CyclomaticComplexity:
Max: 10
# Advantageous for readability to line up attributes
SingleSpaceBeforeFirstArg:
Enabled: false
|
Fix the Java version to use the correct version | # This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest ]
java: ['8', '11']
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn clean verify | # This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest ]
java: ['1.8', '11']
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Maven Java ${{ matrix.java }}
run: mvn clean verify |
Update from Hackage at 2022-02-24T10:40:05Z | homepage: https://gitlab.com/tonymorris/spacechar
changelog-type: markdown
hash: 94653d82ff21239c690e3b4eee4b77ebd567613bb612de5dd4376318ae5ac4ba
test-bench-deps: {}
maintainer: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
synopsis: Space Character
changelog: |
0.0.0.1
* The initial version of spacechar.
basic-deps:
base: '>=4.8 && <6'
parsers: '>=0.12 && <1'
lens: '>=4 && <6'
all-versions:
- 0.0.0.1
author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
latest: 0.0.0.1
description-type: haddock
description: Space Character
license-name: BSD-3-Clause
| homepage: https://gitlab.com/tonymorris/spacechar
changelog-type: markdown
hash: f0862e6f43ce7d6cec32b2bb2d2d9435087a317ba0c8631a894f6c1382f78eeb
test-bench-deps: {}
maintainer: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
synopsis: Space Character
changelog: |
0.0.0.2
* Export list and haddock documentation.
0.0.0.1
* The initial version of spacechar.
basic-deps:
base: '>=4.8 && <6'
parsers: '>=0.12 && <1'
lens: '>=4 && <6'
all-versions:
- 0.0.0.1
- 0.0.0.2
author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
latest: 0.0.0.2
description-type: haddock
description: Space Character
license-name: BSD-3-Clause
|
Add fabric in python tools. | ---
- name: Update source.list
copy: src=source.list dest=/etc/apt/source.list
- name: Update packages
apt: update_cache=yes cache_valid_time=3600 upgrade=dist
- name: Install core packages
apt: name={{ item }} state=present
with_items:
- build-essential
- vim
- git-core
- name: Install python tools
apt: name={{ item }} state=present
with_items:
- python-dev
- virtualenvwrapper
- python-mysqldb
- python-psycopg2
- python-pymongo
- name: Install pillow deps
apt: name={{ item }} state=present
with_items:
- libtiff4-dev
- libjpeg8-dev
- zlib1g-dev
- libfreetype6-dev
- liblcms2-dev
- libwebp-dev
- tcl8.5-dev
- tk8.5-dev
- python-tk
| ---
- name: Update source.list
copy: src=source.list dest=/etc/apt/source.list
- name: Update packages
apt: update_cache=yes cache_valid_time=3600 upgrade=dist
- name: Install core packages
apt: name={{ item }} state=present
with_items:
- build-essential
- vim
- git-core
- name: Install python tools
apt: name={{ item }} state=present
with_items:
- python-dev
- virtualenvwrapper
- python-mysqldb
- python-psycopg2
- python-pymongo
- fabric
- name: Install pillow deps
apt: name={{ item }} state=present
with_items:
- libtiff4-dev
- libjpeg8-dev
- zlib1g-dev
- libfreetype6-dev
- liblcms2-dev
- libwebp-dev
- tcl8.5-dev
- tk8.5-dev
- python-tk
|
Build fix missing environment variable. | machine:
pre:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
services:
- docker
dependencies:
override:
- docker version
- docker info
- scripts/buildSupportedImages.sh
test:
override:
- scripts/testImage.sh latest 8090
- scripts/testImage.sh $TEST_JENKINS_VERSION 8100
- scripts/testImage.sh $TEST_JENKINS_STABLE_VERSION 8110
- scripts/testImage.sh alpine 8120
- scripts/testImage.sh alpine.$TEST_JENKINS_VERSION 8130
- scripts/testImage.sh alpine.$TEST_JENKINS_STABLE_VERSION 8140
- scripts/testImage.sh rc 8150
- scripts/testImage.sh stable-rc 8160
| machine:
pre:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
services:
- docker
dependencies:
override:
- docker version
- docker info
- export TEST_JENKINS_VERSION=1.647
- export TEST_JENKINS_STABLE_VERSION=1.642.1
- scripts/buildSupportedImages.sh
test:
override:
- scripts/testImage.sh latest 8090
- scripts/testImage.sh $TEST_JENKINS_VERSION 8100
- scripts/testImage.sh $TEST_JENKINS_STABLE_VERSION 8110
- scripts/testImage.sh alpine 8120
- scripts/testImage.sh alpine.$TEST_JENKINS_VERSION 8130
- scripts/testImage.sh alpine.$TEST_JENKINS_STABLE_VERSION 8140
- scripts/testImage.sh rc 8150
- scripts/testImage.sh stable-rc 8160
|
Add ext-intl to Wercker build. | box: dosomething/ds-docker-php
build:
steps:
- leipert/composer-install@0.9.1
- wercker/npm-install
- script:
name: build assets
code: npm run build
| box: dosomething/ds-docker-php
build:
steps:
- script:
name: install php extension
code: |-
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y php7.0-intl
- leipert/composer-install@0.9.1
- wercker/npm-install
- script:
name: build assets
code: npm run build
|
Disable frozen string literal comment cop | # The behavior of RuboCop can be controlled via the .rubocop.yml
# configuration file. It makes it possible to enable/disable
# certain cops (checks) and to alter their behavior if they accept
# any parameters. The file can be placed either in your home
# directory or in some project directory.
#
# RuboCop will start looking for the configuration file in the directory
# where the inspected file is and continue its way up to the root directory.
#
# See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
AllCops:
TargetRubyVersion: 2.3
| # The behavior of RuboCop can be controlled via the .rubocop.yml
# configuration file. It makes it possible to enable/disable
# certain cops (checks) and to alter their behavior if they accept
# any parameters. The file can be placed either in your home
# directory or in some project directory.
#
# RuboCop will start looking for the configuration file in the directory
# where the inspected file is and continue its way up to the root directory.
#
# See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
AllCops:
TargetRubyVersion: 2.3
# Redmine modify string that is generated from plugin.
Style/FrozenStringLiteralComment:
Enabled: false
|
Add external secret for knative build cluster | apiVersion: kubernetes-client.io/v1
kind: ExternalSecret
metadata:
name: s390x-cluster1
namespace: test-pods
spec:
backendType: gcpSecretsManager
projectId: s390x-knative
data:
- key: kubeconfig
name: config
version: latest
- key: ko-docker-repository
name: ko-docker-repo
version: latest
- key: registry-certificate
name: registry.crt
version: latest
| apiVersion: kubernetes-client.io/v1
kind: ExternalSecret
metadata:
name: s390x-cluster1
namespace: test-pods
spec:
backendType: gcpSecretsManager
projectId: s390x-knative
data:
- key: kubeconfig
name: config
version: latest
- key: ko-docker-repository
name: ko-docker-repo
version: latest
- key: registry-certificate
name: registry.crt
version: latest
- key: knative01-ssh
name: knative01.pem
version: latest
|
Switch carbon image to a working graphite | version: '2'
services:
local_webserver:
build: ..
entrypoint: ./bin/webserver_with_carbon
ports:
- "3000:3000"
expose:
- "9090"
links:
- carbon_graphite
carbon_graphite:
image: rvernica/graphite
ports:
- "8080:8080"
expose:
- "2003"
| version: '2'
services:
local_webserver:
build: ..
entrypoint: ./bin/webserver_with_carbon
ports:
- "3000:3000"
expose:
- "9090"
links:
- carbon_graphite
carbon_graphite:
image: nickstenning/graphite
ports:
- "8080:80"
expose:
- "2003"
- "2004"
|
Add cron task to restart Celery every day | ---
- name: Configure Celery service definition
template: src=celeryd.j2
dest=/etc/init.d/celeryd
mode=0755
notify:
- Restart Celery
- name: Configure Celery service definition defaults
template: src=celeryd-defaults.j2 dest=/etc/default/celeryd
notify:
- Restart Celery
- name: Enable Celery service
service: name=celeryd enabled=yes state=started
| ---
- name: Configure Celery service definition
template: src=celeryd.j2
dest=/etc/init.d/celeryd
mode=0755
notify:
- Restart Celery
- name: Configure Celery service definition defaults
template: src=celeryd-defaults.j2 dest=/etc/default/celeryd
notify:
- Restart Celery
- name: Enable Celery service
service: name=celeryd enabled=yes state=started
- name: Setup daily Celery service restart
cron:
name: celery-restart
special_time: daily
job: service celeryd restart
state: present
|
Use Ansible's pip module rather than calling pip which may or may not be within the venv | ---
- name: horizon venv
shell: cd /opt/stack/horizon && python tools/install_venv.py
notify:
- force django-1.5
# django 1.6 currently gets installed, and does not work.
- name: force django-1.5
shell: /opt/stack/horizon/.venv/bin/pip install Django==1.5.5
notify:
- restart apache
- name: disable apache status
shell: a2dismod status
notify:
- restart apache
- name: restart apache
service: name=apache2 state=restarted
- name: disable default apache site
shell: a2dissite default
| ---
- name: horizon venv
shell: cd /opt/stack/horizon && python tools/install_venv.py
notify:
- force django-1.5
# django 1.6 currently gets installed, and does not work.
- name: force django-1.5
pip: name=Django version=1.5.5 chdir=/opt/stack/horizon virtualenv=/opt/stack/horizon/.venv
notify:
- restart apache
- name: disable apache status
shell: a2dismod status
notify:
- restart apache
- name: restart apache
service: name=apache2 state=restarted
- name: disable default apache site
shell: a2dissite default
|
Update from Hackage at 2017-03-13T14:24:35Z | homepage: http://github.com/bgamari/hmatrix-svdlibc
changelog-type: ''
hash: 82919d8f5c9fc2047c3280a91d58127212a4ff12367e2cbfb1eec48d2371b3ae
test-bench-deps:
base: ! '>=4.6 && <5.0'
hspec: ! '>=2.2'
criterion: ! '>=1.1'
hmatrix-svdlibc: -any
QuickCheck: ! '>=2.8'
hmatrix: ==0.17.*
vector: ! '>=0.11'
maintainer: ben@smart-cactus.org
synopsis: SVDLIBC bindings for HMatrix
changelog: ''
basic-deps:
base: ! '>=4.6 && <5.0'
hmatrix: ! '>=0.17 && <0.18'
vector: ! '>=0.11'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.1'
- '0.3.0'
- '0.3.1'
- '0.3.2'
- '0.4.0'
author: Ben Gamari
latest: '0.4.0'
description-type: haddock
description: ! 'Bindings for the sparse singular value decomposition
provided by SVDLIBC.'
license-name: BSD3
| homepage: http://github.com/bgamari/hmatrix-svdlibc
changelog-type: ''
hash: 15274b2c128d87a7e6c03d7861bb1f9bcb7e71569a018c6629bec494972590e3
test-bench-deps:
base: ! '>=4.6 && <5.0'
hspec: ! '>=2.2'
criterion: ! '>=1.1'
hmatrix-svdlibc: -any
QuickCheck: ! '>=2.8'
hmatrix: ! '>=0.17 && <0.19'
vector: ! '>=0.11'
maintainer: ben@smart-cactus.org
synopsis: SVDLIBC bindings for HMatrix
changelog: ''
basic-deps:
base: ! '>=4.6 && <5.0'
hmatrix: ! '>=0.17 && <0.19'
vector: ! '>=0.11'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.1'
- '0.3.0'
- '0.3.1'
- '0.3.2'
- '0.4.0'
- '0.4.1'
author: Ben Gamari
latest: '0.4.1'
description-type: haddock
description: ! 'Bindings for the sparse singular value decomposition
provided by SVDLIBC.'
license-name: BSD3
|
Update from Hackage at 2021-02-03T10:39:11Z | homepage: http://www.github.com/ehamberg/fswatcher/
changelog-type: ''
hash: 90a9056bbd346acde16b2c8ba9f7fced0e02db63f4788c5efc543c8551b7ed34
test-bench-deps: {}
maintainer: ehamberg@gmail.com
synopsis: Watch a file/directory and run a command when it's modified
changelog: ''
basic-deps:
unix: ! '>=2.5'
base: ! '>=4 && <5'
process: ! '>=1.1'
regex-pcre-builtin: ! '>=0.94'
optparse-applicative: ! '>=0.11'
system-filepath: ! '>=0.4'
fsnotify: ! '>=0.3 && <0.4'
directory: ! '>=1.2'
all-versions:
- '0.1'
- 0.1.2
- 0.1.3
- 0.2.0
- 0.2.1
- 0.2.2
author: Erlend Hamberg
latest: 0.2.2
description-type: haddock
description: ! 'A simple program that watches a file or a directory and
runs a given command whenever the file or a file within the
directory is changed.'
license-name: BSD-3-Clause
| homepage: http://www.github.com/ehamberg/fswatcher/
changelog-type: ''
hash: 8285649abdba28a09a802bd3d48c76d44a50d6526271f98f595418407cf88e4c
test-bench-deps: {}
maintainer: erlend@hamberg.no
synopsis: Watch a file/directory and run a command when it's modified
changelog: ''
basic-deps:
unix: '>=2.5'
base: '>=4 && <5'
process: '>=1.1'
regex-pcre-builtin: '>=0.94'
optparse-applicative: '>=0.11'
system-filepath: '>=0.4'
fsnotify: '>=0.3 && <0.4'
directory: '>=1.2'
all-versions:
- '0.1'
- 0.1.2
- 0.1.3
- 0.2.0
- 0.2.1
- 0.2.2
- 0.3.0
author: Erlend Hamberg
latest: 0.3.0
description-type: haddock
description: |-
A simple program that watches a file or a directory and
runs a given command whenever the file or a file within the
directory is changed.
license-name: BSD-3-Clause
|
Tweak Ruby version in GitHub action config | # This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
uses: ruby/setup-ruby@v1.1.2
#uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
with:
ruby-version: 2.6
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec
| # This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
uses: ruby/setup-ruby@v1
#uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
with:
ruby-version: 2.6
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec
|
Change handles of player fixtures for clarity | player1:
handle: "kieran"
game: playing_game
player2:
handle: "mitch"
game: playing_game
player3:
handle: "pragya"
game: playing_game
player4:
handle: "mikee"
game: playing_game | --- !omap
- player1:
id: 1
handle: "player 1"
game: playing_game
- player2:
id: 2
handle: "player 2"
game: playing_game
- player3:
id: 3
handle: "player 3"
game: playing_game
- player4:
id: 4
handle: "player 4"
game: playing_game |
Add fixture case with json body response | ---
- :request:
:method: GET
:path: /hello.json
:query: ""
:body: ""
:response:
:method: GET
:path: /hello.json
:status: 200
:headers:
Content-Type: application/json; charset=utf-8
:body: 'world'
- :request:
:method: GET
:path: /query.json
:query: "with=params"
:body: ""
:response:
:method: GET
:path: /query.json
:status: 200
:headers:
Content-Type: application/json; charset=utf-8
:body: 'with params'
- :request:
:method: POST
:path: /body.json
:query: ""
:body: "with=body"
:response:
:method: GET
:path: /query.json
:status: 200
:headers:
Content-Type: application/json; charset=utf-8
:body: 'success post with body'
- :request:
:method: POST
:path: /json.json
:query: ""
:body:
name: test
:response:
:method: GET
:path: /query.json
:status: 200
:headers:
Content-Type: application/json; charset=utf-8
:body: 'success post with body'
| ---
- :request:
:method: GET
:path: /hello.json
:query: ""
:body: ""
:response:
:method: GET
:path: /hello.json
:status: 200
:headers:
Content-Type: application/json; charset=utf-8
:body: 'world'
- :request:
:method: GET
:path: /query.json
:query: "with=params"
:body: ""
:response:
:method: GET
:path: /query.json
:status: 200
:headers:
Content-Type: application/json; charset=utf-8
:body: 'with params'
- :request:
:method: POST
:path: /body.json
:query: ""
:body: "with=body"
:response:
:method: GET
:path: /query.json
:status: 200
:headers:
Content-Type: application/json; charset=utf-8
:body: 'success post with body'
- :request:
:method: POST
:path: /json.json
:query: ""
:body:
name: test
:response:
:method: GET
:path: /query.json
:status: 200
:headers:
Content-Type: application/json; charset=utf-8
:body: 'success post with body'
- :request:
:method: GET
:path: /json_response.json
:query: ""
:body: ""
:response:
:method: GET
:path: /query.json
:status: 200
:headers:
Content-Type: application/json; charset=utf-8
:body: '{"json":"content"}'
|
Fix this broken config file that was probably doing something really weird | stone_plate:
worth: 0.6
wood_plate:
worth: 0.6
wood_button:
worth: 0.4
stone_button:
worth: 0.4
lever:
worth: 0.8
trap_door:
worth: 2
redstone_torch_on:
worth: 3
tripwire_hook:
worth: 1
redstone:
worth: 1
redstone_block:
worth: 9
redstone_lamp_off:
worth: 5
daylight_detector:
worth: 3
dropper:
worth: 3
hopper:
worth: 3
redstone_comparator:
worth: 1
diode:
worth: 1
dispenser:
worth: 2
note_block:
worth: 2
piston_base:
worth: 4
piston_sticky_base:
worth: 20
| stone_plate:
worth: 0.6
wood_plate:
worth: 0.6
wood_button:
worth: 0.4
stone_button:
worth: 0.4
lever:
worth: 0.8
trap_door:
worth: 2
redstone_torch_on:
worth: 3
tripwire_hook:
worth: 1
redstone:
worth: 1
redstone_block:
worth: 9
redstone_lamp_off:
worth: 5
daylight_detector:
worth: 3
dropper:
worth: 3
hopper:
worth: 3
redstone_comparator:
worth: 1
diode:
worth: 1
dispenser:
worth: 2
note_block:
worth: 2
piston_base:
worth: 4
piston_sticky_base:
worth: 20
|
Delete the removed option for Homebrew casks | ---
- name: Ensure docker-related packages are installed.
homebrew:
name: ["docker", "docker-machine", "docker-compose"]
state: present
- name: Ensure docker-related applications are installed.
homebrew_cask:
name: ["virtualbox", "kitematic"]
state: present
environment:
HOMEBREW_CASK_OPTS: "--appdir={{ app_dir }} --binarydir={{ brew_dir }}/bin"
- name: Ensure `/usr/local/bin` exists.
file:
path: /usr/local/bin
mode: 0755
state: directory
become: yes
become_method: sudo
- name: Ensure symbolic links to files required by Kitematic exist.
file:
src: "{{ brew_dir }}/bin/{{ item }}"
dest: "/usr/local/bin/{{ item }}"
state: link
with_items:
- docker
- docker-machine
become: yes
become_method: sudo
| ---
- name: Ensure docker-related packages are installed.
homebrew:
name: ["docker", "docker-machine", "docker-compose"]
state: present
- name: Ensure docker-related applications are installed.
homebrew_cask:
name: ["virtualbox", "kitematic"]
state: present
environment:
HOMEBREW_CASK_OPTS: "--appdir={{ app_dir }}"
- name: Ensure `/usr/local/bin` exists.
file:
path: /usr/local/bin
mode: 0755
state: directory
become: yes
become_method: sudo
- name: Ensure symbolic links to files required by Kitematic exist.
file:
src: "{{ brew_dir }}/bin/{{ item }}"
dest: "/usr/local/bin/{{ item }}"
state: link
with_items:
- docker
- docker-machine
become: yes
become_method: sudo
|
Update CI workflow to trigger deploy to integration | name: Build and publish to ECR
on:
workflow_dispatch:
branches:
- main
push:
branches:
- main
paths-ignore:
- "Jenkinsfile"
- ".git**"
jobs:
build-publish-image-to-ecr:
uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main
secrets:
AWS_GOVUK_ECR_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_ECR_ACCESS_KEY_ID }}
AWS_GOVUK_ECR_SECRET_ACCESS_KEY: ${{ secrets.AWS_GOVUK_ECR_SECRET_ACCESS_KEY }}
| name: CI
on:
workflow_dispatch:
branches:
- main
push:
branches:
- main
paths-ignore:
- "Jenkinsfile"
- ".git**"
jobs:
build-and-publish-image:
name: Build and publish image
uses: alphagov/govuk-infrastructure/.github/workflows/ci-ecr.yaml@main
secrets:
AWS_GOVUK_ECR_ACCESS_KEY_ID: ${{ secrets.AWS_GOVUK_ECR_ACCESS_KEY_ID }}
AWS_GOVUK_ECR_SECRET_ACCESS_KEY: ${{ secrets.AWS_GOVUK_ECR_SECRET_ACCESS_KEY }}
trigger-deploy-to-integration:
name: Trigger deploy to integration
needs: build-and-publish-image
uses: alphagov/govuk-infrastructure/.github/workflows/deploy.yaml@main
secrets:
GOVUK_CI_GITHUB_API_TOKEN: ${{ secrets.GOVUK_CI_GITHUB_API_TOKEN }}
|
Update from Hackage at 2020-04-24T21:34:15Z | homepage: ''
changelog-type: ''
hash: 4d2038d32bc5b7614a6956001aef109d3104fd1a0531c94f625ef0e55efa5f79
test-bench-deps: {}
maintainer: mniip@mniip.com
synopsis: A hack to use GHC.Prim primitives in GHCi
changelog: ''
basic-deps:
base: ==4.*
ghc-prim: -any
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.2.0.0
- 0.2.0.1
- 0.2.0.2
author: mniip
latest: 0.2.0.2
description-type: haddock
description: |-
As of now, the GHCi interactive runtime is incapable of working on unboxed
tuples. In particular, it is unable to fully apply any function returning an
unboxed tuple, create a function that takes a non-nullary unboxed tuple as
argument, or pass a non-nullary tuple to some other function. The usual
solution is to enable object code generation with @-fobject-code@. This
package serves as a workaround for the cases where @-fobject-code@ is
undesiable.
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 4d2038d32bc5b7614a6956001aef109d3104fd1a0531c94f625ef0e55efa5f79
test-bench-deps: {}
maintainer: mniip@mniip.com
synopsis: A hack to use GHC.Prim primitives in GHCi
changelog: ''
basic-deps:
base: ==4.*
ghc-prim: -any
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.2.0.1
- 0.2.0.2
author: mniip
latest: 0.2.0.2
description-type: haddock
description: |-
As of now, the GHCi interactive runtime is incapable of working on unboxed
tuples. In particular, it is unable to fully apply any function returning an
unboxed tuple, create a function that takes a non-nullary unboxed tuple as
argument, or pass a non-nullary tuple to some other function. The usual
solution is to enable object code generation with @-fobject-code@. This
package serves as a workaround for the cases where @-fobject-code@ is
undesiable.
license-name: MIT
|
Add preview error route to dev firewall | security:
providers:
in_memory:
memory: ~
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
default:
anonymous: ~
| security:
providers:
in_memory:
memory: ~
firewalls:
dev:
pattern: ^/(_(profiler|wdt|error)|css|images|js)/
security: false
default:
anonymous: ~
|
Add back deployment to GitHub release. | version: 0.0.0.{build}
shallow_clone: true
init:
- ps: if ($env:APPVEYOR_REPO_TAG_NAME) { Update-AppveyorBuild -Version $env:APPVEYOR_REPO_TAG_NAME.Substring(1) }
platform:
- Any CPU
configuration:
- Release
matrix:
fast_finish: true
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
cache:
- packages -> **\packages.config
before_build:
- ps: nuget restore Vsxmd.sln
- ps: Vsxmd\Test.ps1 -Prepare
test_script:
- ps: Vsxmd\Test.ps1 -Run
artifacts:
- path: 'Vsxmd\**\*.nupkg'
nuget:
account_feed: false
project_feed: false
disable_publish_on_pr: true
| version: 0.0.0.{build}
shallow_clone: true
init:
- ps: if ($env:APPVEYOR_REPO_TAG_NAME) { Update-AppveyorBuild -Version $env:APPVEYOR_REPO_TAG_NAME.Substring(1) }
platform:
- Any CPU
configuration:
- Release
matrix:
fast_finish: true
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
cache:
- packages -> **\packages.config
before_build:
- ps: nuget restore Vsxmd.sln
- ps: Vsxmd\Test.ps1 -Prepare
test_script:
- ps: Vsxmd\Test.ps1 -Run
artifacts:
- path: 'Vsxmd\**\*.nupkg'
nuget:
account_feed: false
project_feed: false
disable_publish_on_pr: true
deploy:
- release: v$(APPVEYOR_BUILD_VERSION)
provider: GitHub
draft: false
prerelease: false
auth_token:
secure: cApkFZuYfz7loLotMfbhb53ZIfjjfbY7dr46eu6Q9+yAV+KuSGYGcVTG8Bgx8wka
on:
appveyor_repo_tag: true
- provider: NuGet
api_key:
secure: iBKdOaX4b1BDwWzGKoqbHoJHyOAxL6EHCRIretKb16QRLm5l1nkaF+W0SGfuEfMY
on:
appveyor_repo_tag: true
|
Deploy built artifacts to s3 bucket | language: objective-c
osx_image: xcode8.3
xcode_project: BridgeAppSDK.xcodeproj
xcode_scheme: BridgeAppSDKSample
cache:
- bundler
before_install:
- bundle update
- echo -e "machine github.com\n login $CI_USER_TOKEN" >> ~/.netrc
script:
- ./travis/build.sh
| language: objective-c
osx_image: xcode8.3
xcode_project: BridgeAppSDK.xcodeproj
xcode_scheme: BridgeAppSDKSample
cache:
- bundler
before_install:
- bundle update
- echo -e "machine github.com\n login $CI_USER_TOKEN" >> ~/.netrc
script:
- "./travis/build.sh"
deploy:
skip_cleanup: true
provider: s3
access_key_id: AKIAICA2M6XGX62Q4NTQ
secret_access_key:
secure: Y1QewDqLz2MD2rIocNT9ayTJvA2W9XwMI/NExWgvNXTHbCXknRKSPj0f4w4AUOGKf3TFu3E7YXk7WV4ZxDITVbFcxw4jIVPN84qVnGPMUuGwNRAGO2qP1bL2Yu8H63TFTsC0XzU7R8dB8wYrjk0Vhy5SMe7BpUyTAvyDpud1djJ6ou3oNByMIVJE7TRurg3k0eQYZ4TNCSpz2rJKJd/s+hs8fsAkDH/rrp1Ax8hHlFaEI3EMuYKBteTtpi0jI64czCwfH6yE5hjYO5UD/R7RRuU8Vhw0/NNxfyDaGpufJLLJ/vhyDC72gJByxUw/toYim0RZJdgcMcSKrS/Ds6hcHMAgJca+l1DtJCFzlDUL6FoR6/MRvvNxIm7AK3mfves17XXJ6cue65IHT86i6wUwyEPefoMf9GtddaQ/MS4fLvrw9lww6ORhJ9YIR5ExdzKwZ1tn25QJoTjeaVbpwQYvGBc5yX2rDToDOA3lRXEUesKWN1rYQh7g8T5ZboCqjwXepTdTZvYxNmUV84mg243xaprlcz67lZFKiibblWf/JsVuXp1ln1GmMlkhhpluJgceFVr5PDUDzHS98qowosq4Ll4Cc2iwAvBa8g59qz6Z4KorcHPikBt8DTFnBvWEhJWkyglqNEdTiwguZTDxnkxBC/yZnFH0uI4qbNruPT/go2Y=
bucket: ios-apps.sagebridge.org
local-dir: build
upload-dir: ci/$TRAVIS_XCODE_SCHEME/$TRAVIS_BRANCH
on:
branch: master
|
Enable tests on linux, osx and windows | language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- pypy
install:
- pip install coveralls
- pip install tox
script:
coverage run --source=untangle ./setup.py test
after_success:
coveralls
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4e8e4267eec52e11a384
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
| language: python
os:
- linux
- windows
- osx
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- pypy
install:
- pip install coveralls
- pip install tox
script:
coverage run --source=untangle ./setup.py test
after_success:
coveralls
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4e8e4267eec52e11a384
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
|
ADD pod lib lint --quick | language: objective-c
notifications:
slack: devlucky:0AP12qjjfc2Zxc0s9yo1cQQm
env:
global:
- FASTLANE_LANE=ci_commit
matrix:
include:
- osx_image: xcode7.3
env: FASTLANE_ENV=ios83
- osx_image: xcode7.3
env: FASTLANE_ENV=ios93 KKP_CODECOV=true
after_success:
- bash <(curl -s https://codecov.io/bash)
script:
- set -o pipefail
- fastlane $FASTLANE_LANE configuration:Debug --env $FASTLANE_ENV
podfile: KakapoExample/Podfile
| language: objective-c
notifications:
slack: devlucky:0AP12qjjfc2Zxc0s9yo1cQQm
env:
global:
- FASTLANE_LANE=ci_commit
matrix:
include:
- osx_image: xcode7.3
env: FASTLANE_ENV=ios83
- osx_image: xcode7.3
env: FASTLANE_ENV=ios93 KKP_CODECOV=true
after_success:
- bash <(curl -s https://codecov.io/bash)
script:
- set -o pipefail
- fastlane $FASTLANE_LANE configuration:Debug --env $FASTLANE_ENV
- pod lib lint --quick
podfile: KakapoExample/Podfile
|
Fix docker command in script | sudo: required
services:
- docker
language: node_js
node_js:
- "6"
env:
global:
- SERVER_TEST_IMG=entake/acuity-server:build-$TRAVIS_JOB_NUMBER
- SERVER_RELEASE_IMG=entake/acuity-server:latest
before_install:
- docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASSWORD
install:
- docker build --pull -t $SERVER_TEST_IMG ./server
script:
- docker run $SERVER_TEST_IMG -e $COVERALLS_REPO_TOKEN npm run test-ci
after_success:
- docker push $SERVER_TEST_IMG
deploy:
provider: script
script: docker tag $SERVER_TEST_IMG $SERVER_RELEASE_IMG && docker push $SERVER_RELEASE_IMG
on:
branch: master
| sudo: required
services:
- docker
language: node_js
node_js:
- "6"
env:
global:
- SERVER_TEST_IMG=entake/acuity-server:build-$TRAVIS_JOB_NUMBER
- SERVER_RELEASE_IMG=entake/acuity-server:latest
before_install:
- docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASSWORD
install:
- docker build --pull -t $SERVER_TEST_IMG ./server
script:
- docker run -e $COVERALLS_REPO_TOKEN $SERVER_TEST_IMG npm run test-ci
after_success:
- docker push $SERVER_TEST_IMG
deploy:
provider: script
script: docker tag $SERVER_TEST_IMG $SERVER_RELEASE_IMG && docker push $SERVER_RELEASE_IMG
on:
branch: master
|
Test on Travis CI with JDK 8. | language: clojure
lein: lein2
script:
- lein2 midje
- lein2 eastwood
branches:
only:
- master
- dev
jdk:
- oraclejdk7
services:
- redis
notifications:
hipchat:
rooms:
- ec1ead2b384476ea5bcb232b5bb9b6@Snooty Monkey | language: clojure
lein: lein2
script:
- lein2 midje
- lein2 eastwood
branches:
only:
- master
- dev
jdk:
- oraclejdk8
services:
- redis
notifications:
hipchat:
rooms:
- ec1ead2b384476ea5bcb232b5bb9b6@Snooty Monkey |
Add Python 3.5 to Travis CI | ---
sudo: false
dist: xenial
language: python
cache: pip
branches:
only:
- master
addons:
apt:
packages:
- p7zip-full
before_script:
- pip install tox
script: tox
notifications:
email: false
matrix:
include:
- python: "2.7"
env: TOXENV=py27
- python: "3.6"
env: TOXENV=py36
# Linters
- python: "3.7"
env: TOXENV=linting
| ---
sudo: false
dist: xenial
language: python
cache: pip
branches:
only:
- master
addons:
apt:
packages:
- p7zip-full
before_script:
- pip install tox
script: tox
notifications:
email: false
matrix:
include:
- python: "2.7"
env: TOXENV=py27
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
# Linters
- python: "3.7"
env: TOXENV=linting
|
Allow Homebrew to update itself in macOS builds | branches:
except:
- appveyor
language: cpp
addons:
apt:
packages:
- libusb-1.0-0-dev
- libftdi-dev
matrix:
include:
# macOS 10.14 and Xcode 11.2.1
- os: osx
osx_image: xcode11.2
# macOS 10.15.5 and Xcode 12.0
- os: osx
osx_image: xcode12
# Ubuntu LTS, gcc, x64
- os: linux
dist: bionic
compiler: gcc
# Ubuntu LTS, Clang, x64
- os: linux
dist: bionic
compiler: clang
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install libftdi;
fi
before_script:
- cmake --version
script:
- mkdir build && cd build
- cmake ..
- make
| branches:
except:
- appveyor
language: cpp
addons:
apt:
packages:
- libusb-1.0-0-dev
- libftdi-dev
matrix:
include:
# macOS 10.14 and Xcode 11.2.1
- os: osx
osx_image: xcode11.2
# macOS 10.15.5 and Xcode 12.0
- os: osx
osx_image: xcode12
# Ubuntu LTS, gcc, x64
- os: linux
dist: bionic
compiler: gcc
# Ubuntu LTS, Clang, x64
- os: linux
dist: bionic
compiler: clang
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew install libftdi;
fi
before_script:
- cmake --version
script:
- mkdir build && cd build
- cmake ..
- make
|
Add Ruby 2.5 to Travis build matrix | language: ruby
rvm:
- 2.3
- 2.4
- ruby-head
- jruby-9.1.13.0
- jruby-head
before_install: gem install bundler
script: bundle exec rspec
| language: ruby
rvm:
- 2.3
- 2.4
- 2.5
- ruby-head
- jruby-9.1.13.0
- jruby-head
before_install: gem install bundler
script: bundle exec rspec
|
Encrypt my PyPI password in the Travis CI config. | language: python
env:
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
install:
- pip install .
script:
- py.test tests
deploy:
provider: pypi
user: kalekundert
on:
tags: true
| language: python
env:
- '3.2'
- '3.3'
- '3.4'
- '3.5'
- nightly
install:
- pip install .
script:
- py.test tests
deploy:
provider: pypi
user: kalekundert
password:
secure: cDuG5VAtB8056/vZhiEp24P9hzbs+wP++e6GYqfkPuUoc7OYTTTdBmvSyBM6jQgUrrBnZ+IKaSyk1cTDUjyXYOItCkiYeFdrDghhR0wY9y48TfHViX7pTFICi9CkvxtUyai2NAbJqtHHBsAFkfBg2IpUZ5ZZMXXGtX35STP4R19WxdRG8Thm6qzp8+10yrDj64iVnO5jA1FwAmeBYrvFJQW/ICb7XCIVGTR+VqHF7W2CoFnwv+eBWHLDN+HUI8dhmwKlzDIuNBpUY4OdVwTaCFhKzroYcg/sM0hI2+3LvmJzRMtfFU79J5Ti26l9VRph5ZVm7JZrZFDAybMa+2Asmf8x6jb2z4MZxsoE7XxVwInpm4XTEsp5grfHh1zPikajCfFQH71CQNrLe/Fx22sTZKlfCVmlntgUv3enl9WIQN81h2FM4PblDfWJcMd4QvVX0SWa0HTReNbG+u2oYX2VmDmF1rLkAHQSr8gyJoLkYVFamI0p1oqKGFLv6R9woagitK67AaGCE73iV19B2kPpQskzwaMx2s0wmIYyIxFVaBy5LsSOB5xWdeSw9x2tWuaACK4ahwHgE7AZ2MrfplaL+BWgcIxp2F7zd3aTnQXlWg+49VCjO3GzkuzVGnLSsViZXphvU7fBcoUXCsGfWndRcm3NWvDPztRtKeuTIJnrN1s=
on:
tags: true
|
Install Devel::Cover 1.23 for 5.8 support | sudo: false
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --quiet --installdeps --notest .
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
script:
- cover -delete && cover -test
after_success:
- cover -report coveralls
| sudo: false
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --quiet --installdeps --notest .
- cpanm --quiet --notest Devel::Cover@1.23
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
script:
- cover -delete && cover -test
after_success:
- cover -report coveralls
|
Replace Java 15 with Java 16 in Travis CI. | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
sudo: false
jdk:
- oraclejdk11
- openjdk8
- openjdk11
- openjdk15
- openjdk-ea
after_success:
- mvn clean cobertura:cobertura coveralls:report --no-transfer-progress
| # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
sudo: false
jdk:
- oraclejdk11
- openjdk8
- openjdk11
- openjdk16
- openjdk-ea
after_success:
- mvn clean cobertura:cobertura coveralls:report --no-transfer-progress
|
Install dev environment from conda | language: python
python:
- '2.6'
- '2.7'
- '3.5'
install:
- pip install --upgrade pytest coverage codecov
- pip install -r requirements.txt
script:
- coverage run --source dmpr -m py.test
after_success:
- codecov
# deploy:
# provider: pypi
# user:
# password:
# secure:
# on:
# tags: true
# repo: ScottWales/dmpr
# distributions: "sdist bdist_wheel"
| language: python
python:
- '2.7'
- '3.5'
install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda create -n travis python=$TRAVIS_PYTHON_VERSION
- conda env update -n travis -f conda/dev-environment
- source activate travis
- pip install --upgrade pytest coverage codecov
- pip install -r requirements.txt
script:
- coverage run --source dmpr -m py.test
after_success:
- codecov
# deploy:
# provider: pypi
# user:
# password:
# secure:
# on:
# tags: true
# repo: ScottWales/dmpr
# distributions: "sdist bdist_wheel"
|
Allow nightly Python to fail | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "nightly"
- "pypy"
install: make deps
script: make
| language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "nightly"
- "pypy"
install: make deps
script: make
matrix:
allow_failures:
- python: "nightly"
|
Use CMS recipe in Travis configuration | language: php
env:
global:
- COMPOSER_ROOT_VERSION=4.0.x-dev
matrix:
include:
- php: 5.6
env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1
- php: 7.0
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.1
env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1
before_script:
# Init PHP
- phpenv rehash
- phpenv config-rm xdebug.ini
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
# Install composer dependencies
- composer install --prefer-dist
- composer require --prefer-dist --no-update silverstripe/framework:4.0.x-dev silverstripe/cms:4.0.x-dev silverstripe/admin:1.0.x-dev silverstripe/versioned:1.0.x-dev silverstripe-themes/simple:~3.2
- composer update
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
- if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs code/ tests/; fi
after_success:
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
| language: php
env:
global:
- COMPOSER_ROOT_VERSION=4.0.x-dev
matrix:
include:
- php: 5.6
env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1
- php: 7.0
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.1
env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1
before_script:
# Init PHP
- phpenv rehash
- phpenv config-rm xdebug.ini
- echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
# Install composer dependencies
- composer install --prefer-dist
- composer require --prefer-dist --no-update silverstripe/recipe-cms:1.0.x-dev silverstripe-themes/simple:~3.2
- composer update
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
- if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs code/ tests/; fi
after_success:
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
|
Create new CF space for Slack applications | language: python
python:
- '3.5'
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run --source=halliwell setup.py test
after_success: coveralls
deploy:
- provider: cloudfoundry
edge: true
api: https://api.run.pez.pivotal.io
username: $CF_USERNAME
password: $CF_PASSWORD
organization: pivot-jsharpe
space: development
manifest: manifest.yml
on:
tags: true
| language: python
python:
- '3.5'
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run --source=halliwell setup.py test
after_success: coveralls
deploy:
- provider: cloudfoundry
edge: true
api: https://api.run.pez.pivotal.io
username: $CF_USERNAME
password: $CF_PASSWORD
organization: pivot-jsharpe
space: slack-apps
manifest: manifest.yml
on:
tags: true
|
Drop Ruby 2.4 dut to EoL on AppVeyor | ---
install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- gem install bundler --no-document -f
- bundle install
build: off
test_script:
- bundle exec rake test
deploy: off
environment:
matrix:
- ruby_version: "24"
- ruby_version: "24-x64"
- ruby_version: "25"
- ruby_version: "25-x64"
- ruby_version: "26"
- ruby_version: "26-x64"
- ruby_version: "27"
- ruby_version: "27-x64"
| ---
install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- gem install bundler --no-document -f
- bundle install
build: off
test_script:
- bundle exec rake test
deploy: off
environment:
matrix:
- ruby_version: "25"
- ruby_version: "25-x64"
- ruby_version: "26"
- ruby_version: "26-x64"
- ruby_version: "27"
- ruby_version: "27-x64"
|
Enable Git symlinks on AppVeyor | environment:
matrix:
- nodejs_version: '6'
- nodejs_version: '4'
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- set AVA_APPVEYOR=true
- npm install --global npm
- set PATH=%APPDATA%\npm;%PATH%
- npm install
- npm prune
matrix:
fast_finish: true
build: off
shallow_clone: true
cache:
- node_modules
- '%APPDATA%\npm-cache'
test_script:
- node --version
- npm --version
- npm run test-win
| environment:
matrix:
- nodejs_version: '6'
- nodejs_version: '4'
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- set AVA_APPVEYOR=true
- git config core.symlinks true
- git reset --hard
- npm install --global npm
- set PATH=%APPDATA%\npm;%PATH%
- npm install
- npm prune
matrix:
fast_finish: true
build: off
clone_depth: 1
cache:
- node_modules
- '%APPDATA%\npm-cache'
test_script:
- node --version
- npm --version
- npm run test-win
|
Use correct DNX runtime and architecture during build | version: 1.0.{build}
branches:
only:
- development/r1.0
- release/r1.0
image: Visual Studio 2015
install:
- cmd: >-
set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
dnvm install 1.0.0-rc1-update1 -r coreclr -arch x64
cache: C:\Users\appveyor\.dnx\packages
build_script:
- cmd: >-
dnvm use 1.0.0-rc1-update1
dnu build .\src\HTTPlease.Core
test_script:
- cmd: dnx -p test\HTTPlease.Core.Tests test
deploy_script:
- cmd: dnu package .\src\HTTPlease.Core
| version: 1.0.{build}
branches:
only:
- development/r1.0
- release/r1.0
image: Visual Studio 2015
install:
- cmd: >-
set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
dnvm install 1.0.0-rc1-update1 -r coreclr -arch x64
cache: C:\Users\appveyor\.dnx\packages
build_script:
- cmd: >-
dnvm use 1.0.0-rc1-update1 -r coreclr -arch x64
dnu build .\src\HTTPlease.Core
test_script:
- cmd: dnx -p test\HTTPlease.Core.Tests test
deploy_script:
- cmd: dnu package .\src\HTTPlease.Core
|
Update NuGet API key due to old key expiring | version: 0.8.{build}
branches:
only:
- master
pull_requests:
do_not_increment_build_number: true
install:
- nuget install secure-file -ExcludeVersion
- ps: .\build\decrypt-snk.ps1
- ps: .\build\install.ps1
build_script:
- ps: .\build\build.ps1 $env:APPVEYOR_BUILD_VERSION $env:APPVEYOR_REPO_TAG_NAME
test_script:
- ps: .\build\test.ps1
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
api_key:
secure: 1nn64UqEOt8KQKQxhOYB+kV+fq8GySg8KXhiEZfeKq09GOCvCSAhwSiHuv2TmzzN
skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only
environment:
ENCRYPTION_KEY:
secure: hbiBHn0JfRy73jn/e8rUKMI5Z3T78zXCmpD8dRexuc3uJivS5I5WNf6JiZOdEM8G
| version: 0.8.{build}
branches:
only:
- master
pull_requests:
do_not_increment_build_number: true
install:
- nuget install secure-file -ExcludeVersion
- ps: .\build\decrypt-snk.ps1
- ps: .\build\install.ps1
build_script:
- ps: .\build\build.ps1 $env:APPVEYOR_BUILD_VERSION $env:APPVEYOR_REPO_TAG_NAME
test_script:
- ps: .\build\test.ps1
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: NuGet
api_key:
secure: pNzGmk+a6w7IpZ1wfiXemLtVAt9YSWtHVHjmbS8yDnDMaH5iY9Zuw34sRP8DianW
skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only
environment:
ENCRYPTION_KEY:
secure: hbiBHn0JfRy73jn/e8rUKMI5Z3T78zXCmpD8dRexuc3uJivS5I5WNf6JiZOdEM8G
|
Remove index-level settings from ES 5.x config | cluster.name: graylog_test
node.master: true
node.data: true
index.number_of_shards: 1
index.number_of_replicas: 0
network.host: _local:ipv4_
| cluster.name: graylog_test
node.master: true
node.data: true
network.host: _local:ipv4_
|
Move build target to 3.8, add job for 3.7 | version: 2.1
commands:
commonsteps:
steps:
- checkout
- run: |
pip install .[dev]
tox -e py
jobs:
build_target:
docker:
- image: python:3.7
steps:
- checkout
- run: |
python setup.py sdist
python setup.py bdist_wheel
pip install .[dev]
tox -e py,lint
- store_artifacts:
path: dist
destination: artifacts
build_latest:
docker:
- image: python:latest
steps:
- commonsteps
workflows:
version: 2
workflow:
jobs:
- build_target
- build_latest
check_latest:
triggers:
- schedule:
cron: "0 0 * * 0"
filters:
branches:
only: master
jobs:
- build_latest
| version: 2.1
commands:
commonsteps:
steps:
- checkout
- run: |
pip install .[dev]
tox -e py
jobs:
build_target:
docker:
- image: python:3.8
steps:
- checkout
- run: |
python setup.py sdist
python setup.py bdist_wheel
pip install .[dev]
tox -e py,lint
- store_artifacts:
path: dist
destination: artifacts
build_37:
docker:
- image: python:3.7
steps:
- commonsteps
build_latest:
docker:
- image: python:latest
steps:
- commonsteps
workflows:
version: 2
workflow:
jobs:
- build_37
- build_target
- build_latest
check_latest:
triggers:
- schedule:
cron: "0 0 * * 0"
filters:
branches:
only: master
jobs:
- build_latest
|
Add more optional inputs for finalizing buildpacks | ---
platform: linux
image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
inputs:
- name: buildpacks-ci
- name: buildpack
- name: pivotal-buildpacks-stack0
- name: pivotal-buildpacks-stack1
optional: true
outputs:
- name: buildpack-artifacts
run:
path: bash
args:
- -cl
- buildpacks-ci/tasks/finalize-buildpack/run.rb
| ---
platform: linux
image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
inputs:
- name: buildpacks-ci
- name: buildpack
- name: pivotal-buildpacks-stack0
- name: pivotal-buildpacks-stack1
optional: true
- name: pivotal-buildpacks-stack2
optional: true
- name: pivotal-buildpacks-stack3
optional: true
outputs:
- name: buildpack-artifacts
run:
path: bash
args:
- -cl
- buildpacks-ci/tasks/finalize-buildpack/run.rb
|
Revert "test/full: temporary disable falco on gpg key repository issue" | ---
- hosts: all
#- hosts: test-kitchen
vars:
# - harden_upgradeall: true
- harden_upgradeall: false
- harden_auditd_log_all_execve: true
- harden_auditd_log_all_socket: true
- harden_auditd_log_all_connect: true
- harden_testing: true
- ipv6_config: 'harden'
roles:
- juju4.redhat_epel
- juju4.harden_sysctl
- juju4.harden_mailserver
- juju4.ipv6
- juju4.auditd
- kbrebanov.osquery
- juju4.ntpclient
- juju4.syslogclient
# - juju4.falco
- juju4.harden
| ---
- hosts: all
#- hosts: test-kitchen
vars:
# - harden_upgradeall: true
- harden_upgradeall: false
- harden_auditd_log_all_execve: true
- harden_auditd_log_all_socket: true
- harden_auditd_log_all_connect: true
- harden_testing: true
- ipv6_config: 'harden'
roles:
- juju4.redhat_epel
- juju4.harden_sysctl
- juju4.harden_mailserver
- juju4.ipv6
- juju4.auditd
- kbrebanov.osquery
- juju4.ntpclient
- juju4.syslogclient
- juju4.falco
- juju4.harden
|
Fix for vagrant vm installing things out of order | ---
# Update apt-cache and install the latest Miniconda
- hosts: all
sudo: yes
tasks:
- name: Update apt cache
apt: update-cache=yes
roles:
- miniconda
# Install kafka, zookeeper, redis
- include: kafka.yml
- include: zookeeper.yml
- include: redis.yml
# Restart Kafka because its finicky like that
- hosts: scdev
sudo: yes
tasks:
- name: Restart kafka
supervisorctl: name='kafka' state=restarted | ---
# Update apt-cache and install the latest Miniconda
- hosts: all
sudo: yes
tasks:
- name: Update apt cache
apt: update-cache=yes
roles:
- miniconda
# Install kafka, zookeeper, redis
- include: zookeeper.yml
- include: kafka.yml
- include: redis.yml
|
Remove sudo from Travis config | sudo: required
dist: trusty
addons:
code_climate:
repo_token: e87e6bf1c253e0555437ebd23235fdfe2749b889358e7c6d100e4ea5b4f2e091
language: node_js
node_js:
- "8"
before_script:
- yarn build
script:
- yarn test
after_script:
- cat coverage/lcov.info | codeclimate
| dist: trusty
language: node_js
node_js:
- "8"
addons:
code_climate:
repo_token: e87e6bf1c253e0555437ebd23235fdfe2749b889358e7c6d100e4ea5b4f2e091
before_script:
- yarn build
script:
- yarn test
after_script:
- cat coverage/lcov.info | codeclimate
|
Remove support for PHP 5.5.9 | language: php
php:
- 5.5.9
- 5.6
install:
- composer self-update
before_script:
- cp .env.travis .env
- cp travis.phpunit.xml phpunit.xml
- mkdir /tmp/timegrid
- mysql -e 'create database test_timegrid;'
- composer install --dev --no-interaction
- php artisan key:generate
- php artisan migrate
- php artisan db:seed
- php artisan geoip:update
after_success:
- ./travis-codeclimate-report.sh
| language: php
php:
- 5.6
install:
- composer self-update
before_script:
- cp .env.travis .env
- cp travis.phpunit.xml phpunit.xml
- mkdir /tmp/timegrid
- mysql -e 'create database test_timegrid;'
- composer install --dev --no-interaction
- php artisan key:generate
- php artisan migrate
- php artisan db:seed
- php artisan geoip:update
after_success:
- ./travis-codeclimate-report.sh
|
Test against Django 1.5.5 as well. | language: python
python:
- "2.7"
env:
- DJANGO_VERSION=1.6.1
install:
- pip install -q flake8
- pip install -q Django==$DJANGO_VERSION
- python setup.py -q install
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- pybot test.robot
- flake8 .
| language: python
python:
- "2.7"
env:
- DJANGO_VERSION=1.5.5
- DJANGO_VERSION=1.6.1
install:
- pip install -q flake8
- pip install -q Django==$DJANGO_VERSION
- python setup.py -q install
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- pybot test.robot
- flake8 .
|
Set postgres as a service | language: ruby
sudo: false
rvm:
- 2.3.3
env:
- DB=postgresql
before_script:
- psql -c 'create database "github-inbox_test";' -U postgres
bundler_args: --without development production --deployment --jobs=3 --retry=3
cache: bundler
notifications:
email: false
| language: ruby
sudo: false
rvm:
- 2.3.3
services:
- postgresql
before_script:
- psql -c 'create database "github-inbox_test";' -U postgres
bundler_args: --without development production --deployment --jobs=3 --retry=3
cache: bundler
notifications:
email: false
|
Add Node.js stable to Travis config | sudo: false
language: node_js
node_js:
- iojs
- "0.12"
| sudo: false
language: node_js
node_js:
- iojs
- "0.12"
- "stable"
|
Reconfigure build matrix for Scala 2.11 | language: scala
scala:
- 2.11.8
- 2.12.1
jdk:
- oraclejdk8
before_install:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then bash
scripts/decrypt-keys.sh; fi
- export PATH=${PATH}:./vendor/bundle
install:
- rvm use 2.2.3 --install --fuzzy
- gem update --system
- gem install sass
- gem install jekyll -v 3.2.1
script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test coverageReport
- sbt ++$TRAVIS_SCALA_VERSION "docs/tut"
after_success:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
sbt ++$TRAVIS_SCALA_VERSION publishSnapshot;
bash scripts/publishMicrosite.sh;
fi
- bash <(curl -s https://codecov.io/bash) | language: scala
before_install:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then bash
scripts/decrypt-keys.sh; fi
- export PATH=${PATH}:./vendor/bundle
install:
- rvm use 2.2.3 --install --fuzzy
- gem update --system
- gem install sass
- gem install jekyll -v 3.2.1
after_success:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
sbt ++$TRAVIS_SCALA_VERSION publishSnapshot;
bash scripts/publishMicrosite.sh;
fi
- bash <(curl -s https://codecov.io/bash)
matrix:
include:
- scala: 2.11.8
jdk: oraclejdk8
script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test coverageReport
- sbt ++$TRAVIS_SCALA_VERSION "docs/tut" |
Drop support for Node.js 0.10, 0.12 et 4 | language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
after_success:
- npm run coverage
- npm i codecov
- codecov -f ./coverage/lcov.info
notifications:
email:
on_success: never
| language: node_js
sudo: false
node_js:
- "6"
after_success:
- npm run coverage
- npm i codecov
- codecov -f ./coverage/lcov.info
notifications:
email:
on_success: never
|
Update Travis CI to Focal Fossa Ubuntu 20.04 | notifications:
email: false
git:
depth: 1
language: c
matrix:
include:
- name: "macOS 10.15.5"
os: osx
osx_image: xcode12
- name: "Ubuntu 18.04"
os: linux
dist: bionic
script:
- ./scripts/test.sh -v v1.1
| notifications:
email: false
git:
depth: 1
language: c
matrix:
include:
- name: "macOS 10.15.5"
os: osx
osx_image: xcode12
- name: "Ubuntu 20.04"
os: linux
dist: focal
script:
- ./scripts/test.sh -v v1.1
|
Remove notifications branch from Travis. | rvm:
- 1.8.7
- 1.9.2
- ree
- jruby
- rbx
branches:
only:
- master
- dev
- notifications
env:
- GUARD_SLEEP=1
notifications:
recipients:
- thibaud@thibaud.me
- rymai@rymai.me
- michi@netzpiraten.ch
- yann.lugrin@sans-savoir.net
irc: "irc.freenode.org#guard"
| rvm:
- 1.8.7
- 1.9.2
- ree
- jruby
- rbx
branches:
only:
- master
- dev
env:
- GUARD_SLEEP=1
notifications:
recipients:
- thibaud@thibaud.me
- rymai@rymai.me
- michi@netzpiraten.ch
- yann.lugrin@sans-savoir.net
irc: "irc.freenode.org#guard"
|
Enable build config validation in Travis CI. | os:
- linux
- osx
language: nix
cache:
directories:
- "/nix/store"
- "$HOME/.cabal/store"
timeout: 600
before_install:
- nix-shell --run true
install:
- nix-shell --run 'cabal v2-update'
script:
- nix-shell --run 'make test'
- nix-shell --run 'make lint'
before_deploy:
- nix-shell --run 'make out/build/release/smoke'
- mkdir -p out/publish
- cp out/build/release/smoke "out/publish/smoke-${TRAVIS_TAG}-$(uname -s)-$(uname -m)"
deploy:
provider: releases
draft: true
file_glob: true
file: out/publish/*
overwrite: true
skip_cleanup: true
on:
tags: true
api_key:
secure: "dt3YESE3S86tqhWu0J8HxTTsTewcj6S3o//P9hwlFAcPUsqzlZLL9KmySnYvNQ91TuBpUu2blXVRY+CFPU59MEIXtSI4ZSHWEd9vetMdW7GcoN8HYNQapL0jEvIx1D2495jCWr6gEHERFUr6eJgI0ZasmlIPSPL5H3vFS2SxGRs="
| version: ~> 1.0
os:
- linux
- osx
language: nix
cache:
directories:
- "/nix/store"
- "$HOME/.cabal/store"
timeout: 600
before_install:
- nix-shell --run true
install:
- nix-shell --run 'cabal v2-update'
script:
- nix-shell --run 'make test'
- nix-shell --run 'make lint'
before_deploy:
- nix-shell --run 'make out/build/release/smoke'
- mkdir -p out/publish
- cp out/build/release/smoke "out/publish/smoke-${TRAVIS_TAG}-$(uname -s)-$(uname -m)"
deploy:
provider: releases
draft: true
file_glob: true
file: out/publish/*
overwrite: true
skip_cleanup: true
on:
tags: true
api_key:
secure: "dt3YESE3S86tqhWu0J8HxTTsTewcj6S3o//P9hwlFAcPUsqzlZLL9KmySnYvNQ91TuBpUu2blXVRY+CFPU59MEIXtSI4ZSHWEd9vetMdW7GcoN8HYNQapL0jEvIx1D2495jCWr6gEHERFUr6eJgI0ZasmlIPSPL5H3vFS2SxGRs="
|
Remove Oracle JDK 6 from CI | language: java
jdk:
- oraclejdk6
- oraclejdk7
- oraclejdk8
script: mvn clean verify
| language: java
jdk:
- oraclejdk7
- oraclejdk8
script: mvn clean verify
|
Add cache and build steps | language: node_js
node_js:
- "6"
before_deploy:
- npm run-script predeploy
- LAST_COMMIT=$(git log -1 --pretty=format:'%h <%an> - %s')
- echo "Deploying changes from $LAST_COMMIT"
- node_modules/gh-pages/bin/gh-pages -d dist/ -m "Updates from $LAST_COMMIT"
deploy:
provider: pages
github_token: $GITHUB_TOKEN
skip_cleanup: true
local_dir: dist
on:
branch: master | language: node_js
node_js:
- "6"
cache:
directories:
- "node_modules"
after_success:
- npm build
before_deploy:
- npm run-script predeploy
- LAST_COMMIT=$(git log -1 --pretty=format:'%h <%an> - %s')
- echo "Deploying changes from $LAST_COMMIT"
- node_modules/gh-pages/bin/gh-pages -d dist/ -m "Updates from $LAST_COMMIT"
deploy:
provider: pages
github_token: $GITHUB_TOKEN
skip_cleanup: true
local_dir: dist
on:
branch: master |
Update Travis build script with newer Android emulator | sudo: false
language: android
android:
components:
- tools
- build-tools-25.0.0
- android-25
- extra-google-google_play_services
- extra-android-support
- extra
jdk:
- oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-25 ANDROID_ABI=armeabi-v7a
before_install:
- echo yes | android update sdk --all --filter build-tools-25.0.0 --no-ui --force
before_script:
- echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew clean check :demo:connectedAndroidTest | sudo: false
language: android
android:
components:
- tools
- build-tools-25.0.0
- android-25
- extra-google-google_play_services
- extra-android-support
- extra
jdk:
- oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-25 ANDROID_ABI=armeabi-v7a
before_install:
- echo yes | android update sdk --all --filter build-tools-25.0.0 --no-ui --force
before_script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew clean check :demo:connectedAndroidTest |
Stop testing on ruby 1.9.3 | language: ruby
rvm:
- 1.9.3
- 2.0.0
deploy:
edge: true
provider: chef-supermarket
user_id: criteo
cookbook_category: Package Management
client_key: .travis/client.pem
on:
tags: true
all_branches: true
before_deploy:
- openssl aes-256-cbc -K $encrypted_31f7c76bb631_key -iv $encrypted_31f7c76bb631_iv
-in .travis/client.pem.enc -out .travis/client.pem -d
| language: ruby
rvm:
- 2.0.0
deploy:
edge: true
provider: chef-supermarket
user_id: criteo
cookbook_category: Package Management
client_key: .travis/client.pem
on:
tags: true
all_branches: true
before_deploy:
- openssl aes-256-cbc -K $encrypted_31f7c76bb631_key -iv $encrypted_31f7c76bb631_iv
-in .travis/client.pem.enc -out .travis/client.pem -d
|
Set quiet flag for conda install | language: python
sudo: false
python:
- "2.7"
- "3.6"
install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION nose numpy matplotlib bokeh pandas scipy jupyter ipython param flake8 mock filelock
- source activate test-environment
- pip install coveralls
- pip install git+https://github.com/ioam/holoviews.git
- conda install -c conda-forge iris cartopy xarray geopandas numpy
- python setup.py install
script:
- nosetests --with-doctest --with-coverage --cover-package=geoviews
- flake8 --ignore=E,W . --exclude=./doc
after_success: coveralls
| language: python
sudo: false
python:
- "2.7"
- "3.6"
install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION nose numpy matplotlib bokeh pandas scipy jupyter ipython param flake8 mock filelock
- source activate test-environment
- pip install coveralls
- pip install git+https://github.com/ioam/holoviews.git
- conda install -c conda-forge iris cartopy xarray geopandas numpy --quiet
- python setup.py install
script:
- nosetests --with-doctest --with-coverage --cover-package=geoviews
- flake8 --ignore=E,W . --exclude=./doc
after_success: coveralls
|
Stop using Lerna to bootstrap regenerator-* packages before Travis CI tests. | before_install:
- npm install lerna@2.11.0
install:
- npm run bootstrap
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
sudo: false
| install:
- npm install
- npm install packages/regenerator-*
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
sudo: false
|
Allow HHVM build to fail | sudo: false
language: php
php:
- hhvm
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
env:
- SYMFONY_VERSION=2.4.*
- SYMFONY_VERSION=2.5.*
- SYMFONY_VERSION=2.6.*
- SYMFONY_VERSION=2.7.*
before_script:
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
- mysql -e "create database symfony;"
- mysql -e "set global wait_timeout=600"
- rm composer.lock # Prevent dependency problems
- travis_retry composer require "symfony/symfony:${SYMFONY_VERSION}"
script:
- phpunit --coverage-clover coverage.xml
after_success:
- php vendor/bin/coveralls
matrix:
fast_finish: true
| sudo: false
language: php
php:
- hhvm
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
env:
- SYMFONY_VERSION=2.4.*
- SYMFONY_VERSION=2.5.*
- SYMFONY_VERSION=2.6.*
- SYMFONY_VERSION=2.7.*
before_script:
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
- mysql -e "create database symfony;"
- mysql -e "set global wait_timeout=600"
- rm composer.lock # Prevent dependency problems
- travis_retry composer require "symfony/symfony:${SYMFONY_VERSION}"
script:
- phpunit --coverage-clover coverage.xml
after_success:
- php vendor/bin/coveralls
matrix:
fast_finish: true
allow_failure:
- php: hhvm
|
Update from Hackage at 2017-02-23T19:18:58Z | homepage: http://github.com/erikcharlebois/elf
changelog-type: ''
hash: ee799ef0a50951dfd101fafee1b1d1816d272720e6d660afcdf499ff9b12d873
test-bench-deps: {}
maintainer: Erik Charlebois <erikcharlebois@gmail.com>
synopsis: Parser for ELF object format.
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=2 && <5'
binary: -any
all-versions:
- '0.1'
- '0.2'
- '0.22'
- '0.23'
- '0.24'
- '0.25'
- '0.26'
- '0.27'
author: Erik Charlebois
latest: '0.27'
description-type: haddock
description: Parser for ELF object format.
license-name: BSD3
| homepage: https://github.com/wangbj/elf
changelog-type: ''
hash: fcdf84ed8cbd195c07267ee5cadfe1fce72a56f78d3cfe3c6a517da78bfc3810
test-bench-deps: {}
maintainer: Baojun Wang <wangbj@gmail.com>
synopsis: Parser for ELF object format.
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=2 && <5'
binary: -any
all-versions:
- '0.1'
- '0.2'
- '0.22'
- '0.23'
- '0.24'
- '0.25'
- '0.26'
- '0.27'
- '0.28'
author: Erik Charlebois
latest: '0.28'
description-type: haddock
description: Parser for ELF object format.
license-name: BSD3
|
Update build script for Travis CI | language: csharp
solution: "./Extension Library/Extension Library.sln"
mono: none
install:
- nuget restore "./Extension Library/Extension Library.sln"
- nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner
# script:
# - xbuild /p:Configuration=Release '.\Extension Library\Extension Library.sln'
# - mono ./testrunner/xunit.runners.1.9.2/tools/xunit.console.clr4.exe ./Extension-Library.Tests/bin/Release/MyProject.Tests.dll
branches:
only:
- master | language: csharp
solution: "./Extension Library/Extension Library.sln"
mono: none
# install:
# - nuget restore "./Extension Library/Extension Library.sln"
# - nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner
# script:
# - xbuild /p:Configuration=Release '.\Extension Library\Extension Library.sln'
# - mono ./testrunner/xunit.runners.1.9.2/tools/xunit.console.clr4.exe ./Extension-Library.Tests/bin/Release/MyProject.Tests.dll
branches:
only:
- master |
Configure Travis CI build to push to Artifactory OSS | language: groovy
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- chmod +x gradlew
- openssl aes-256-cbc -K $encrypted_bb9481c64672_key -iv $encrypted_bb9481c64672_iv -in secrets.properties.enc -out secrets.properties -d
- mvn install:install-file -Dfile=libs/github-api-1.77-SNAPSHOT/github-api-1.77-SNAPSHOT.jar -DpomFile=libs/github-api-1.77-SNAPSHOT/pom.xml -DgroupId=org.kohsuke -DartifactId=github-api -Dversion=1.77-SNAPSHOT -Dpackaging=jar
install: ./gradlew assemble --stacktrace
| language: groovy
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- chmod +x gradlew
- openssl aes-256-cbc -K $encrypted_bb9481c64672_key -iv $encrypted_bb9481c64672_iv -in secrets.properties.enc -out secrets.properties -d
- mvn install:install-file -Dfile=libs/github-api-1.77-SNAPSHOT/github-api-1.77-SNAPSHOT.jar -DpomFile=libs/github-api-1.77-SNAPSHOT/pom.xml -DgroupId=org.kohsuke -DartifactId=github-api -Dversion=1.77-SNAPSHOT -Dpackaging=jar
install: ./gradlew assemble --stacktrace
after_success: ./gradlew artifactoryPublish
|
Test UDP6 control socket with B2BUA as well now that it's supported. | language: python
python:
- "2.7"
before_install:
- sh -x ./install_depends/opensips.sh
script:
sh -x ./test_opensips.sh
env:
- MM_TYPE=opensips RTPPC_TYPE=udp
- MM_TYPE=opensips RTPPC_TYPE=udp6
- MM_TYPE=opensips RTPPC_TYPE=unix
- MM_TYPE=b2bua RTPPC_TYPE=udp
- MM_TYPE=b2bua RTPPC_TYPE=unix
- MM_TYPE=b2bua RTPPC_TYPE=cunix
| language: python
python:
- "2.7"
before_install:
- sh -x ./install_depends/opensips.sh
script:
sh -x ./test_opensips.sh
env:
- MM_TYPE=opensips RTPPC_TYPE=udp
- MM_TYPE=opensips RTPPC_TYPE=udp6
- MM_TYPE=opensips RTPPC_TYPE=unix
- MM_TYPE=b2bua RTPPC_TYPE=udp
- MM_TYPE=b2bua RTPPC_TYPE=udp6
- MM_TYPE=b2bua RTPPC_TYPE=unix
- MM_TYPE=b2bua RTPPC_TYPE=cunix
|
Make Travis CI run build on JRuby 9000 | sudo: false
cache: bundler
language: ruby
bundler_args: --without local_development
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- rbx-2
matrix:
allow_failures:
- rvm: jruby-19mode
- rvm: rbx-2
notifications:
recipients:
- timo.roessner@googlemail.com
- matijs@matijs.net
- emil.rehnberg@gmail.com
irc: "irc.freenode.org#reek"
| sudo: false
cache: bundler
language: ruby
bundler_args: --without local_development
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- jruby-head
- rbx-2
matrix:
allow_failures:
- rvm: jruby-19mode
- rvm: jruby-head
- rvm: rbx-2
notifications:
recipients:
- timo.roessner@googlemail.com
- matijs@matijs.net
- emil.rehnberg@gmail.com
irc: "irc.freenode.org#reek"
|
Remove Travis os: linux as recommended by Travis Support | sudo: required
language: ruby
bundler_args: --without benchmarks development
# Temporary workaround for broken Rubygems on Travis
before_install:
- gem update --system 2.4.8
- gem --version
- bash .travis_setup.sh
os:
- linux
addons:
hosts:
- mysql2gem.example.com
rvm:
- 2.3.0
- 2.2
- 2.1
- 2.0.0
- 1.9.3
- 1.8.7
- ree
- rbx-2
- ruby-head
matrix:
include:
- rvm: 2.0.0
env: DB=mariadb55
addons:
mariadb: 5.5
hosts:
- mysql2gem.example.com
- rvm: 2.0.0
env: DB=mariadb10.0
addons:
mariadb: 10.0
hosts:
- mysql2gem.example.com
- rvm: 2.0.0
env: DB=mariadb10.1
addons:
mariadb: 10.1
hosts:
- mysql2gem.example.com
- rvm: 2.0.0
env: DB=mysql57
- rvm: 2.0.0
env: DB=mysql55
os: osx
allow_failures:
- rvm: ruby-head
| sudo: required
language: ruby
bundler_args: --without benchmarks development
# Temporary workaround for broken Rubygems on Travis
before_install:
- gem update --system 2.4.8
- gem --version
- bash .travis_setup.sh
addons:
hosts:
- mysql2gem.example.com
rvm:
- 2.3.0
- 2.2
- 2.1
- 2.0.0
- 1.9.3
- 1.8.7
- ree
- rbx-2
- ruby-head
matrix:
include:
- rvm: 2.0.0
env: DB=mariadb55
addons:
mariadb: 5.5
hosts:
- mysql2gem.example.com
- rvm: 2.0.0
env: DB=mariadb10.0
addons:
mariadb: 10.0
hosts:
- mysql2gem.example.com
- rvm: 2.0.0
env: DB=mariadb10.1
addons:
mariadb: 10.1
hosts:
- mysql2gem.example.com
- rvm: 2.0.0
env: DB=mysql57
- rvm: 2.0.0
env: DB=mysql55
os: osx
allow_failures:
- rvm: ruby-head
|
Fix Cloudant plan from "shared" to "Shared" | ---
declared-services:
talent-manager-db:
label: cloudantNoSQLDB
plan: shared
personality-insights-talent-manager:
label: personality_insights
plan: "IBM Watson Personality Insights Monthly Plan"
applications:
- disk_quota: 1024M
host: talent-manager
name: talent-manager
path: ./webStarterApp.war
instances: 1
memory: 512M
services:
- talent-manager-db
- personality-insights-talent-manager
| ---
declared-services:
talent-manager-db:
label: cloudantNoSQLDB
plan: Shared
personality-insights-talent-manager:
label: personality_insights
plan: "IBM Watson Personality Insights Monthly Plan"
applications:
- disk_quota: 1024M
host: talent-manager
name: talent-manager
path: ./webStarterApp.war
instances: 1
memory: 512M
services:
- talent-manager-db
- personality-insights-talent-manager
|
Drop old Go versions to fix Travis CI tests. | language: go
sudo: false
go:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
- master
install:
- go get -v github.com/qedus/osmpbf
script:
- make init
- make race
- make cover
- make bench
after_success:
- go get -u github.com/mattn/goveralls
- export PATH=$PATH:$HOME/gopath/bin
- goveralls -coverprofile=profile.cov -service=travis-ci
| language: go
sudo: false
go:
- 1.9.x
- 1.10.x
- master
install:
- go get -v github.com/qedus/osmpbf
script:
- make init
- make race
- make cover
- make bench
after_success:
- go get -u github.com/mattn/goveralls
- export PATH=$PATH:$HOME/gopath/bin
- goveralls -coverprofile=profile.cov -service=travis-ci
|
Build scala separately on Travis. | language: java
jdk:
- oraclejdk8
services:
- mongodb
addons:
postgresql: "9.3"
install:
- sh -c 'mvn -B -q install -DskipTests=true'
before_script:
- mysql -u root -e "source travis/mysql.sql"
- psql -U postgres -f travis/postgresql.sql
- psql -c 'create extension postgis;' -d querydsl -U postgres
- ./travis/cubrid.sh
- ./travis/firebird.sh
script:
- sh -c 'mvn -B test -Pall,travis,examples'
| language: java
jdk:
- oraclejdk8
services:
- mongodb
addons:
postgresql: "9.3"
env:
matrix:
- MODULE=!querydsl-scala
- MODULE=querydsl-scala
install:
- mvn -B -q install -DskipTests=true
before_script:
- mysql -u root -e "source travis/mysql.sql"
- psql -U postgres -f travis/postgresql.sql
- psql -c 'create extension postgis;' -d querydsl -U postgres
- ./travis/cubrid.sh
- ./travis/firebird.sh
script: mvn -B test -Pall,travis,examples --projects ${MODULE} jacoco:report
sudo: required
|
Move JRUBY_OPTS to global env | language: ruby
sudo: false
before_install:
- gem update --system 2.6.10
- gem --version
- gem install bundler --version 1.14.3 --no-rdoc --no-ri
- bundle --version
install: bundle _1.14.3_ install --without development doc
script: bundle _1.14.3_ exec rake
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.3
- 2.4.0
matrix:
fast_finish: true
include:
# Include JRuby first because it takes the longest
- rvm: jruby-9.1.7.0
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
# Only run RuboCop and Yardstick metrics on the latest Ruby
- rvm: 2.4.0
env: SUITE="rubocop"
- rvm: 2.4.0
env: SUITE="yardstick"
branches:
only:
- master
| language: ruby
sudo: false
before_install:
- gem update --system 2.6.10
- gem --version
- gem install bundler --version 1.14.3 --no-rdoc --no-ri
- bundle --version
install: bundle _1.14.3_ install --without development doc
script: bundle _1.14.3_ exec rake
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
rvm:
# Include JRuby first because it takes the longest
- jruby-9.1.7.0
- 2.0.0
- 2.1
- 2.2
- 2.3.3
- 2.4.0
matrix:
fast_finish: true
include:
# Only run RuboCop and Yardstick metrics on the latest Ruby
- rvm: 2.4.0
env: SUITE="rubocop"
- rvm: 2.4.0
env: SUITE="yardstick"
branches:
only:
- master
|
Allow unresolved dependencies (dbus on macos) | matrix:
include:
- os: osx
osx_image: xcode9.2
language: node_js
node_js: "9"
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- os: linux
language: node_js
node_js: "6"
script:
- npm test
- npm run build:dist
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
npm run build:linux && npm run build:windows
else
npm run build:macos
fi
cache:
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
| matrix:
include:
- os: osx
osx_image: xcode9.2
language: node_js
node_js: "9"
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true
- os: linux
language: node_js
node_js: "6"
script:
- npm test
- npm run build:dist
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
npm run build:linux && npm run build:windows
else
npm run build:macos
fi
cache:
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
|
Change Travis-CI ruby target to 2.2.5 and 2.3.1 | language: ruby
cache: bundler
sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1 | language: ruby
cache: bundler
sudo: false
rvm:
- 2.2.5
- 2.3.1
|
Remove npm deployment from Travis | language: node_js
node_js:
- '4.0'
- '8.0'
after_script: bash <(curl -s https://codecov.io/bash)
deploy:
- provider: npm
email: tituswormer@gmail.com
api_key:
secure: ckZSdQwfzyGtWCukRsbdLapWWQ2sGLLa2n6OX2tJO9lrd78ZIOIhfD/sjiuBZgRpHjib4fLdFQaifmV7gySYhIYZ70orAgpuUBtZG9bOqsb1Lk4Mdtb2VAGxYxKs1utpxSzQEsKjyA4rD+DVpp1jZ/A26ipAfKo/scj2PSZwGy8=
on:
tags: true
node: '4.0'
- provider: releases
api_key:
secure: PqrmrL8bDZSl/L2vgUF6fyeIBKjvQzG4HP2UfdjaBouk9V9zzQjFYz+9qbt5hdoUeDev8hHaBbWnSuj9xY89yog5IkohHwWW85TXpyFipG7FNGBxZH3GUwlQCzYGOPVqXfk12rWx2CsKs27r4jdo2GhbyifHT5EpzvzW9r2d/T0=
file:
- "fault.js"
- "fault.min.js"
on:
tags: true
node: '8.0'
| language: node_js
node_js:
- '4.0'
- '8.0'
after_script: bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
api_key:
secure: PqrmrL8bDZSl/L2vgUF6fyeIBKjvQzG4HP2UfdjaBouk9V9zzQjFYz+9qbt5hdoUeDev8hHaBbWnSuj9xY89yog5IkohHwWW85TXpyFipG7FNGBxZH3GUwlQCzYGOPVqXfk12rWx2CsKs27r4jdo2GhbyifHT5EpzvzW9r2d/T0=
file:
- "fault.js"
- "fault.min.js"
on:
tags: true
node: '8.0'
|
Remove autocomplete-plus install from TravisCI setup | language: objective-c
notifications:
email:
on_success: never
on_failure: change
env:
- APM_TEST_PACKAGES="autocomplete-plus"
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
| language: objective-c
notifications:
email:
on_success: never
on_failure: change
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
|
Add CI to PyPI using Travis on tagged builds | sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
script: nosetests
| sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
script: nosetests
deploy:
provider: pypi
user: 'pennappslabs'
password:
secure: FGWvqYOqUVd8pAQdEOfV7fP8/52OrJO35wdi3qUW3ZsbFENHHUcQTQd87ccBKQwiHbfwv/B7x1v0L+PMyool9waytzYUFW1LJjcDpmCTQ2fhmmqTTyFF04WAeqI7KOjHhWBCT+Yn8Ch5P8dqVCyxSvw+UZjoHazk/67mVqHXkQ4=
distributions: sdist bdist_wheel
on:
tags: true
repo: pennlabs/penn-sdk-python
|
Check both Gradle and Ant build process for CI | language: java
script:
- ant jar
- bash sample/test-sample.sh
sudo: false
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
- openjdk6
notifications:
email:
on_success: change
on_failure: change
| language: java
sudo: false
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
- openjdk6
script:
- ./gradlew clean
- ./gradlew assemble
- ./gradlew check
- ./gradlew jacocoTestReport
- ant jar
- bash sample/test-sample.sh
notifications:
email:
on_success: change
on_failure: change
|
Add a note for sudo | language:
android
git:
submodules: false
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
- wget http://dl.google.com/android/ndk/android-ndk-$NDK_VERSION-linux-x86_64.bin
- chmod +x android-ndk-$NDK_VERSION-linux-x86_64.bin
- ./android-ndk-$NDK_VERSION-linux-x86_64.bin | egrep -v ^Extracting
- export ANDROID_NDK_HOME=`pwd`/android-ndk-$NDK_VERSION
- export PATH=${PATH}:${ANDROID_NDK_HOME}
android:
components:
- platform-tools
- tools
- build-tools-22.0.1
- android-22
- extra-android-support
- extra-android-m2repository
- sys-img-x86_64-android-22
script:
- gradle packar -PPACKAGE_VERSION=5.5.5
| env:
global:
- NDK_VERSION=r10e
sudo: false
language:
android
jdk:
- oraclejdk8
git:
submodules: false
android:
components:
- platform-tools
- tools
- build-tools-22.0.1
- android-22
- extra-android-support
- extra-android-m2repository
- sys-img-x86_64-android-22
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
- wget http://dl.google.com/android/ndk/android-ndk-$NDK_VERSION-linux-x86_64.bin
- chmod +x android-ndk-$NDK_VERSION-linux-x86_64.bin
- ./android-ndk-$NDK_VERSION-linux-x86_64.bin | egrep -v ^Extracting
- export ANDROID_NDK_HOME=`pwd`/android-ndk-$NDK_VERSION
- export PATH=${PATH}:${ANDROID_NDK_HOME}
script:
- gradle packar -PPACKAGE_VERSION=5.5.5
|
Remove Travis failure exemption for Ruby 2.1.0 | rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
script:
- bundle exec rspec
- bundle exec rubocop
matrix:
allow_failures:
- rvm: 2.1.0
| rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
script:
- bundle exec rspec
- bundle exec rubocop
|
Enable CI build for this repository | sudo: false
language: node_js
node_js:
- 'iojs'
- '0.12'
- '0.10'
before_script:
- 'npm install -g bower grunt-cli'
- 'bower install'
| language: node_js
install:
- npm install
script:
- grunt
cache:
directories:
- "node_modules" |
Remove most tests from Travis | language: php
os: linux
dist: bionic
jobs:
include:
- php: 5.5.9
env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"'
dist: trusty
- php: 5.5
dist: trusty
- php: 5.6
dist: xenial
- php: 7.0
dist: xenial
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
- php: 8.0snapshot
- php: hhvm-3.18
dist: trusty
allow_failures:
- php: 5.5.9
env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"'
- php: 8.0snapshot
- php: hhvm-3.18
fast_finish: true
install:
- travis_retry composer update --no-interaction $COMPOSER_FLAGS
- travis_retry composer bin phpunit update --no-interaction --no-progress
script:
- make test
- |
if [[ $TRAVIS_PHP_VERSION = 7.2* ]]; then
make build -j 4
fi
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: php
os: linux
dist: trusty
jobs:
include:
- php: 5.5.9
env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"'
- php: hhvm-3.18
allow_failures:
- php: 5.5.9
env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"'
- php: hhvm-3.18
fast_finish: true
install:
- travis_retry composer update --no-interaction $COMPOSER_FLAGS
- travis_retry composer bin phpunit update --no-interaction --no-progress
script:
- make test
|
Disable 1.8.7 build (syntax errors) | language: ruby
rvm:
- 1.9.3
- 1.9.2
- 1.8.7
| language: ruby
rvm:
- 1.9.3
- 1.9.2
|
Make notifications quieter (Travis CI) | sudo: false
language: rust
cache:
- cargo
install:
- "script/bootstrap"
script:
- "script/cibuild"
rust:
- nightly
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev
- texinfo
- graphviz
notifications:
email:
on_success: always
on_failure: always
irc:
channels:
- "irc.mozila.org#xt-editor"
nick: xt-travis
on_success: always
on_failure: always
use_notice: true
skip_join: false
| sudo: false
language: rust
cache:
- cargo
install:
- "script/bootstrap"
script:
- "script/cibuild"
rust:
- nightly
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev
- texinfo
- graphviz
notifications:
email:
on_success: change
on_failure: always
irc:
channels:
- "irc.mozila.org#xt-editor"
nick: xt-travis
on_success: change
on_failure: always
use_notice: true
skip_join: false
|
Add missing deps and increment version | {% set version = "0.1.1" %}
package:
name: thermofun
version: {{ version }}
source:
url: https://github.com/thermomod/thermofun/archive/v{{ version }}.tar.gz
sha256: 1115b1dd2945a8789c41dafab67c9adee111d6dd292b6aa44eab2b4ba11c92ca
build:
number: 0
# skip: True # [win and vc<15]
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake>=3.13
- ninja
- pybind11
host:
- boost
run:
- boost
- python
test:
files:
- test/
requires:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake
- ninja
about:
home: https://thermohub.org/thermofun/thermofun/
license: LGPL-3.0
license_family: LGPL
license_file: COPYING
summary: Standalone library for calculating temperature and pressure corrections of thermodynamic data for substances and reactions.
doc_url: https://thermohub.org/thermofun/thermofun/
dev_url: https://github.com/thermomod/thermofun
extra:
recipe-maintainers:
- gdmiron
- allanleal
| {% set version = "0.1.2" %}
package:
name: thermofun
version: {{ version }}
source:
url: https://github.com/thermomod/thermofun/archive/v{{ version }}.tar.gz
sha256: 1115b1dd2945a8789c41dafab67c9adee111d6dd292b6aa44eab2b4ba11c92ca
build:
number: 0
# skip: True # [win and vc<15]
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake>=3.13
- ninja
- pybind11>=2.3.0
- nlohmann_json>=3.6.1
host:
- boost
run:
- boost
- python
test:
files:
- test/
requires:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake
- ninja
about:
home: https://thermohub.org/thermofun/thermofun/
license: LGPL-3.0
license_family: LGPL
license_file: COPYING
summary: Standalone library for calculating temperature and pressure corrections of thermodynamic data for substances and reactions.
doc_url: https://thermohub.org/thermofun/thermofun/
dev_url: https://github.com/thermomod/thermofun
extra:
recipe-maintainers:
- gdmiron
- allanleal
|
Remove delayed expansion from PATH | version: "{build}"
platform:
- x86
- x64
clone_folder: c:\gopath\src\github.com\vlifesystems\rulehuntersrv
environment:
GOPATH: c:\gopath
install:
# pre-installed MinGW at C:\MinGW is 32bit only
# but MSYS2 at C:\msys64 has mingw64
- IF "%PLATFORM%" == "x86" set PATH="C:\mingw\bin;!PATH!"
- IF "%PLATFORM%" == "x64" set PATH="C:\msys64\mingw64\bin;!PATH!"
- echo %PATH%
- go version
- go env
build_script:
- go get -v -t ./...
test_script:
- go test -v ./...
| version: "{build}"
platform:
- x86
- x64
clone_folder: c:\gopath\src\github.com\vlifesystems\rulehuntersrv
environment:
GOPATH: c:\gopath
install:
# pre-installed MinGW at C:\MinGW is 32bit only
# but MSYS2 at C:\msys64 has mingw64
- IF "%PLATFORM%" == "x86" set PATH="C:\mingw\bin;%PATH%"
- IF "%PLATFORM%" == "x64" set PATH="C:\msys64\mingw64\bin;%PATH%"
- echo %PATH%
- go version
- go env
build_script:
- go get -v -t ./...
test_script:
- go test -v ./...
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.