Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Test DuckDB using GitHub actions | name: CI tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
misc:
name: Misc tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
run: mvn -B package -DskipTests=true
- name: Verify
run: mvn -B verify -DskipTests=true
- name: Misc Tests
run: mvn -B '-Dtest=!sqlancer.dbms.**' test
sqlite:
name: SQLite Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
run: mvn -B package -DskipTests=true
- name: SQLite Tests
run: |
mvn -Dtest=TestSQLitePQS test
mvn -Dtest=TestSQLite3 test
| name: CI tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
misc:
name: Misc tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
run: mvn -B package -DskipTests=true
- name: Verify
run: mvn -B verify -DskipTests=true
- name: Misc Tests
run: mvn -B '-Dtest=!sqlancer.dbms.**' test
sqlite:
name: SQLite Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
run: mvn -B package -DskipTests=true
- name: SQLite Tests
run: |
mvn -Dtest=TestSQLitePQS test
mvn -Dtest=TestSQLite3 test
duckdb:
name: DuckDB Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
run: mvn -B package -DskipTests=true
- name: DuckDB Tests
run: mvn -Dtest=TestDuckDB test
|
Remove stuff for downloading Maven 3.5.0 from Travis config; according to Travis, Maven 3.5.x is the default now. | sudo: false
language: java
jdk:
- oraclejdk8
before_install:
- MVN_VERSION=3.5.0
- wget https://archive.apache.org/dist/maven/maven-3/${MVN_VERSION}/binaries/apache-maven-${MVN_VERSION}-bin.zip
- unzip -qq apache-maven-${MVN_VERSION}-bin.zip
- export M2_HOME=$PWD/apache-maven-${MVN_VERSION}
- export PATH=$M2_HOME/bin:$PATH
install: mvn -B install -U -DskipTests=true -am -pl caliper
script: mvn -B verify -U -Dmaven.javadoc.skip=true -am -pl caliper
cache:
directories:
- $HOME/.m2
branches:
only:
- master
- /^release.*$/
| sudo: false
language: java
jdk:
- oraclejdk8
install: mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn install -U -DskipTests=true -am -pl caliper
script: mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn verify -U -Dmaven.javadoc.skip=true -am -pl caliper
cache:
directories:
- $HOME/.m2
branches:
only:
- master
- /^release.*$/
|
Add runAsUser to demo example | apiVersion: v1
kind: Pod
metadata:
labels:
name: blog
name: blog-pod
spec:
containers:
- name: git-sync
image: gcr.io/google_containers/git-sync
imagePullPolicy: Always
volumeMounts:
- name: markdown
mountPath: /git
env:
- name: GIT_SYNC_REPO
value: https://github.com/GoogleCloudPlatform/kubernetes.git
- name: GIT_SYNC_DEST
value: git
- name: hugo
image: gcr.io/google_containers/hugo
imagePullPolicy: Always
volumeMounts:
- name: markdown
mountPath: /src
- name: html
mountPath: /dest
env:
- name: HUGO_SRC
value: /src/git-sync/demo/blog
- name: HUGO_BUILD_DRAFT
value: "true"
- name: HUGO_BASE_URL
value: example.com
- name: nginx
image: nginx
volumeMounts:
- name: html
mountPath: /usr/share/nginx/html
ports:
- containerPort: 80
volumes:
- name: markdown
emptyDir: {}
- name: html
emptyDir: {}
| apiVersion: v1
kind: Pod
metadata:
labels:
name: blog
name: blog-pod
spec:
containers:
- name: git-sync
image: gcr.io/google_containers/git-sync
imagePullPolicy: Always
volumeMounts:
- name: markdown
mountPath: /git
env:
- name: GIT_SYNC_REPO
value: https://github.com/GoogleCloudPlatform/kubernetes.git
- name: GIT_SYNC_DEST
value: git
- name: hugo
image: gcr.io/google_containers/hugo
imagePullPolicy: Always
securityContext:
runAsUser: 0
volumeMounts:
- name: markdown
mountPath: /src
- name: html
mountPath: /dest
env:
- name: HUGO_SRC
value: /src/git-sync/demo/blog
- name: HUGO_BUILD_DRAFT
value: "true"
- name: HUGO_BASE_URL
value: example.com
- name: nginx
image: nginx
volumeMounts:
- name: html
mountPath: /usr/share/nginx/html
ports:
- containerPort: 80
volumes:
- name: markdown
emptyDir: {}
- name: html
emptyDir: {}
|
Add a set of tests | - name: install cpanminus
apt: name=cpanminus state=present
- name: install make
apt: name=make
- name: install deployka Perl module
cpanm: name=git://github.com/alexclear/de-ployka.git
| - name: install cpanminus
apt: name=cpanminus state=present
- name: install make
apt: name=make
- name: install deployka Perl module
cpanm: name=git://github.com/alexclear/de-ployka.git
- name: delete config from a previous test run
file: dest=/etc/deployka.yml state=absent
- name: invoke the tool without params
shell: /root/de-ployka/tool
register: result
failed_when: result.rc == 0
- name: invoke the tool with params, save a config, perform a deploy
shell: /root/de-ployka/tool --application /root/de-ployka/testwebapp/target/testwebapp-1.war --action deploy --user tomcat --password passw0rd --host localhost --port 8080 --timeout 50
- name: check if the app is deployed
shell: /root/de-ployka/tool --action check
- name: stop the app
shell: /root/de-ployka/tool --action stop
- name: check if the app is stopped
shell: /root/de-ployka/tool --action check
register: result
failed_when: result.rc == 0
- name: start the app
shell: /root/de-ployka/tool --action start
- name: check if the app is started
shell: /root/de-ployka/tool --action check
- name: undeploy the app
shell: /root/de-ployka/tool --action undeploy
- name: check if the app is undeployed
shell: /root/de-ployka/tool --action check
register: result
failed_when: result.rc == 0
#- name: try to start the app
# shell: /root/de-ployka/tool --action start
# register: result
# failed_when: result.rc == 0
|
Add pre_task to clear apt cache | ---
- hosts: all
sudo: true
vars:
git_install_from_source: true
git_install_from_source_force_update: true
git_version: 2.9.3
curl_configure_flags:
- disable-shared
- with-ssl
install_ivm: true
install_iojs: true
node_version: 7.9.0
node_versions:
- 1.0.0
- 2.0.0
- 3.0.0
- 4.0.0
- 5.0.0
- 6.0.0
- 7.0.0
node_packages:
- grunt
tasks:
- name: Install dependencies.
package:
name:: "{{ item }}"
state: installed
with_items:
- curl
- git
- git-svn
- rsync
- openssh-server
- openssh-client
- python
- python-dev
- unzip
- tar
- gtar
- gzip
- wget
- gettext-devel
- expat-devel
- curl-devel
- zlib-devel
- perl-devel
- openssl-devel
- subversion-perl
- make
- libcurl4-gnutls-dev
- libexpat1-dev
- gettext
- libssl-dev
- build-essential
- zip
- sudo
failed_when: false
roles:
- geerlingguy.git
- fubarhouse.curl
- role_under_test
| ---
- hosts: all
sudo: true
vars:
git_install_from_source: true
git_install_from_source_force_update: true
git_version: 2.9.3
curl_configure_flags:
- disable-shared
- with-ssl
install_ivm: true
install_iojs: true
node_version: 7.9.0
node_versions:
- 1.0.0
- 2.0.0
- 3.0.0
- 4.0.0
- 5.0.0
- 6.0.0
- 7.0.0
node_packages:
- grunt
pre_tasks:
- name: Update apt cache.
apt:
update_cache: yes
cache_valid_time: 600
when: ansible_os_family == 'Debian'
changed_when: false
failed_when: false
tasks:
- name: Install dependencies.
package:
name:: "{{ item }}"
state: installed
with_items:
- curl
- git
- git-svn
- rsync
- openssh-server
- openssh-client
- python
- python-dev
- unzip
- tar
- gtar
- gzip
- wget
- gettext-devel
- expat-devel
- curl-devel
- zlib-devel
- perl-devel
- openssl-devel
- subversion-perl
- make
- libcurl4-gnutls-dev
- libexpat1-dev
- gettext
- libssl-dev
- build-essential
- zip
- sudo
failed_when: false
roles:
- geerlingguy.git
- fubarhouse.curl
- role_under_test
|
Update from Hackage at 2020-08-09T11:05:16Z | homepage: ''
changelog-type: markdown
hash: 305770dfe76319749f704a1f23240f806d22905dae1aa54e6d57dc747662dae0
test-bench-deps: {}
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
synopsis: ! 'swap and assoc: Symmetric and Semigroupy Bifunctors'
changelog: |
## 1.0.1
- Add `Assoc Const` and `Tagged` instances
basic-deps:
base: ! '>=4.3 && <4.15'
tagged: ! '>=0.8.6 && <0.9'
bifunctors: ! '>=5.5.5 && <5.6'
all-versions:
- '1'
- 1.0.1
author: Oleg Grenrus <oleg.grenrus@iki.fi>
latest: 1.0.1
description-type: haddock
description: |-
Provides generalisations of
@swap :: (a,b) -> (b,a)@ and
@assoc :: ((a,b),c) -> (a,(b,c))@
to
@Bifunctor@s supporting similar operations (e.g. @Either@, @These@).
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: 0be532f389dcaf4969c9e1066e1dca41b08ca4272d1b88450f552281d93106cb
test-bench-deps: {}
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
synopsis: 'swap and assoc: Symmetric and Semigroupy Bifunctors'
changelog: |
## 1.0.2
- Add 'Swap' instances for more n-tuples
## 1.0.1
- Add `Assoc Const` and `Tagged` instances
basic-deps:
base: '>=4.3 && <4.15'
tagged: '>=0.8.6 && <0.9'
bifunctors: '>=5.5.5 && <5.6'
all-versions:
- '1'
- 1.0.1
- 1.0.2
author: Oleg Grenrus <oleg.grenrus@iki.fi>
latest: 1.0.2
description-type: haddock
description: |-
Provides generalisations of
@swap :: (a,b) -> (b,a)@ and
@assoc :: ((a,b),c) -> (a,(b,c))@
to
@Bifunctor@s supporting similar operations (e.g. @Either@, @These@).
license-name: BSD-3-Clause
|
Create workflow to copy PR template onto Dependabot PRs | name: Copy PR template to Dependabot PRs
on:
pull_request_target:
types: [opened]
jobs:
copy_pr_template:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- name: Fetch PR template
id: fetch-pr-template
uses: juliangruber/read-file-action@v1
with:
path: .github/pull_request_template.md
- name: Create comment
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.number }}
body: ${{ steps.fetch-pr-template.outputs.content }}
| name: Copy PR template to Dependabot PRs
on:
pull_request_target:
types: [opened]
permissions:
contents: read
pull-requests: write
jobs:
copy_pr_template:
name: Copy PR template to Dependabot PR
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- name: Post PR template as a comment
uses: actions/github-script@v6
with:
script: |
const fs = require('fs')
const body = [
"pull_request_template.md",
".github/pull_request_template.md",
"docs/pull_request_template.md",
].
filter(path => fs.existsSync(path)).
map(path => fs.readFileSync(path)).
join("\n")
if (body !== "") {
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body
})
}
|
Enforce consistent indentation for arrays | Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Metrics/LineLength:
Max: 100
Severity: refactor
Metrics/ModuleLength:
Exclude:
- 'spec/**/*'
Style/ConditionalAssignment:
EnforcedStyle: assign_inside_condition
IncludeTernaryExpressions: false
Style/Documentation:
Enabled: false
Style/EmptyMethod:
EnforcedStyle: expanded
Style/FrozenStringLiteralComment:
Enabled: false
Style/ParenthesesAroundCondition:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Exclude:
- 'Gemfile'
Style/SymbolArray:
EnforcedStyle: brackets
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
| Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
Layout/IndentArray:
EnforcedStyle: consistent
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Metrics/LineLength:
Max: 100
Severity: refactor
Metrics/ModuleLength:
Exclude:
- 'spec/**/*'
Style/ConditionalAssignment:
EnforcedStyle: assign_inside_condition
IncludeTernaryExpressions: false
Style/Documentation:
Enabled: false
Style/EmptyMethod:
EnforcedStyle: expanded
Style/FrozenStringLiteralComment:
Enabled: false
Style/ParenthesesAroundCondition:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Exclude:
- 'Gemfile'
Style/SymbolArray:
EnforcedStyle: brackets
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
|
Test for header site name in the config | name: JstHack BLog
author: Cosmin Haims
description: UI & UX | Product Design | Front-End Dev
meta_description: "Cosmin Haims's personal blog about product design, ui, user experience, and fron-end development. "
markdown: kramdown
highlighter: pygments
logo: true
paginate: 15
baseurl: /
domain_name: 'http://jsthack.github.io'
google_analytics: 'UA-XXXXXXXX-X'
plugins: [jekyll-paginate]
# Details for the RSS feed generator
url: 'blog url'
author: 'Cosmin Haims'
| name: </JstHack>
author: Cosmin Haims
description: UI & UX | Product Design | Front-End Dev
meta_description: "Cosmin Haims's personal blog about product design, ui, user experience, and fron-end development. "
markdown: kramdown
highlighter: pygments
logo: true
paginate: 15
baseurl: /
domain_name: 'http://jsthack.github.io'
google_analytics: 'UA-XXXXXXXX-X'
plugins: [jekyll-paginate]
# Details for the RSS feed generator
url: 'blog url'
author: 'Cosmin Haims'
|
Change highlighter from pygments to rouge | highlighter: pygments
permalink: /post/:title
exclude: ['Gemfile','Gemfile.lock','Rakefile','.git']
paginate: 4
| highlighter: rouge
permalink: /post/:title
exclude: ['Gemfile','Gemfile.lock','Rakefile','.git']
paginate: 4
|
Remove Class/Module length restrictions from tests | Metrics/AbcSize:
Max: 20
Exclude:
- lib/mdn_query/traverse_dom.rb
Metrics/CyclomaticComplexity:
Max: 10
Exclude:
- lib/mdn_query/traverse_dom.rb
Metrics/MethodLength:
CountComments: false
Max: 25
Exclude:
- lib/mdn_query/traverse_dom.rb
Metrics/PerceivedComplexity:
Max: 10
Exclude:
- lib/mdn_query/traverse_dom.rb
| Metrics/ClassLength:
CountComments: false
Max: 100
Exclude:
- test/**/*.rb
Metrics/ModuleLength:
CountComments: false
Max: 100
Exclude:
- test/**/*.rb
Metrics/AbcSize:
Max: 20
Exclude:
- lib/mdn_query/traverse_dom.rb
Metrics/CyclomaticComplexity:
Max: 10
Exclude:
- lib/mdn_query/traverse_dom.rb
Metrics/MethodLength:
CountComments: false
Max: 25
Exclude:
- lib/mdn_query/traverse_dom.rb
Metrics/PerceivedComplexity:
Max: 10
Exclude:
- lib/mdn_query/traverse_dom.rb
|
Update eslint config to use modules |
---
root: true
extends: eslint:recommended
env:
node: true
mocha: true
browser: true
rules:
quotes: 0
indent: 0
require-jsdoc: 0
eqeqeq: 0
no-invalid-this: 0
default-case: 0
no-nested-ternary: 0
no-underscore-dangle: 0
func-style: 0
new-cap: 0
callback-return: 0
no-loop-func: 0
strict: 0
semi: [1, "always"]
space-before-function-paren: [1, "never"]
space-before-blocks: [1, "always"]
keyword-spacing: [1, {"before": true, "after": true, "overrides": {}}]
no-sequences: 2
dot-notation: 1
dot-location: [2, "property"]
curly: 2
no-case-declarations: 0
no-console: 0
global-require: 2
no-path-concat: 2
|
---
root: true
extends: eslint:recommended
env:
mocha: true
browser: true
es6: true
parserOptions:
ecmaVersion: 6
sourceType: "module"
rules:
quotes: 0
indent: 0
require-jsdoc: 0
eqeqeq: 0
no-invalid-this: 0
default-case: 0
no-nested-ternary: 0
no-underscore-dangle: 0
func-style: 0
new-cap: 0
callback-return: 0
no-loop-func: 0
strict: 0
semi: [1, "always"]
space-before-function-paren: [1, "never"]
space-before-blocks: [1, "always"]
keyword-spacing: [1, {"before": true, "after": true, "overrides": {}}]
no-sequences: 2
dot-notation: 1
dot-location: [2, "property"]
curly: 2
no-case-declarations: 0
no-console: 0
global-require: 2
no-path-concat: 2
|
Upgrade black in pre-commit config | repos:
- repo: https://github.com/pycqa/isort
rev: 5.6.4
hooks:
- id: isort
args: ['--profile', 'black', '--filter-files']
- repo: https://github.com/psf/black
rev: '21.7b0' # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
- repo: https://github.com/pycqa/flake8
rev: '3.9.2' # pick a git hash / tag to point to
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear==21.4.3]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.12.0
hooks:
- id: eslint
files: \.(js|ts|vue)?$
types: [file]
additional_dependencies:
- eslint@7.32.0
- eslint-config-standard-with-typescript
- eslint-plugin-html
- eslint-plugin-import
- eslint-plugin-node
- eslint-plugin-promise
- eslint-plugin-vue
- prettier
- eslint-plugin-prettier
- eslint-config-standard
exclude: ^.*/migrations/.*$
| repos:
- repo: https://github.com/pycqa/isort
rev: 5.6.4
hooks:
- id: isort
args: ['--profile', 'black', '--filter-files']
- repo: https://github.com/psf/black
rev: '22.3.0' # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
- repo: https://github.com/pycqa/flake8
rev: '3.9.2' # pick a git hash / tag to point to
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear==21.4.3]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.12.0
hooks:
- id: eslint
files: \.(js|ts|vue)?$
types: [file]
additional_dependencies:
- eslint@7.32.0
- eslint-config-standard-with-typescript
- eslint-plugin-html
- eslint-plugin-import
- eslint-plugin-node
- eslint-plugin-promise
- eslint-plugin-vue
- prettier
- eslint-plugin-prettier
- eslint-config-standard
exclude: ^.*/migrations/.*$
|
Add local_timezone var, not more hardcoded imezone | # Copyright 2018, TCMC
#
# 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.
# Ubuntu and CentOS common book ([Ubuntu|Centos].yml)
- name: common - include common book
include: "{{ ansible_distribution }}.yml"
# Common Settings
- name: timesync - Setting timezone to America/Toronto
timezone:
name: America/Toronto
- name: mlocate - updating root file system list
command: 'updatedb'
| # Copyright 2018, TCMC
#
# 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.
# Ubuntu and CentOS common book ([Ubuntu|Centos].yml)
- name: common - include common book
include: "{{ ansible_distribution }}.yml"
# Common Settings
- name: timesync - Setting timezone to America/Toronto
timezone:
name: '{{ local_timezone }}'
when: local_timezone is defined
- name: mlocate - updating root file system list
command: 'updatedb'
|
Use `cabal build` instead of `make` for AppVeyor | install:
# Using '-y' and 'refreshenv' as a workaround to:
# https://github.com/haskell/cabal/issues/3687
- choco install -y ghc --version 8.0.2
- refreshenv
# See http://help.appveyor.com/discussions/problems/6312-curl-command-not-found#comment_42195491
# NB: Do this after refreshenv, otherwise it will be clobbered!
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
- curl -o cabal.zip --progress-bar https://www.haskell.org/cabal/release/cabal-install-1.24.0.0/cabal-install-1.24.0.0-x86_64-unknown-mingw32.zip
- 7z x -bd cabal.zip
- cabal --version
- cabal update
build_script:
- cabal sandbox init
- cabal install Cabal
- make
| install:
# Using '-y' and 'refreshenv' as a workaround to:
# https://github.com/haskell/cabal/issues/3687
- choco install -y ghc --version 8.0.2
- refreshenv
# See http://help.appveyor.com/discussions/problems/6312-curl-command-not-found#comment_42195491
# NB: Do this after refreshenv, otherwise it will be clobbered!
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
- curl -o cabal.zip --progress-bar https://www.haskell.org/cabal/release/cabal-install-1.24.0.0/cabal-install-1.24.0.0-x86_64-unknown-mingw32.zip
- 7z x -bd cabal.zip
- cabal --version
- cabal update
build_script:
- cabal sandbox init
- cabal install Cabal
- cabal build
|
Update Open Chaos Chess to 1.6.0 (27) | Categories:
- Games
License: GPL-3.0-or-later
AuthorName: CorruptedArk
SourceCode: https://github.com/CorruptedArk/open-chaos-chess
IssueTracker: https://github.com/CorruptedArk/open-chaos-chess/issues
Changelog: https://github.com/CorruptedArk/open-chaos-chess/releases
AutoName: Open Chaos Chess
RepoType: git
Repo: https://github.com/CorruptedArk/open-chaos-chess
Builds:
- versionName: 1.5.4
versionCode: 22
commit: v1.5.4
subdir: app
gradle:
- yes
- versionName: 1.5.7
versionCode: 25
commit: v1.5.7
subdir: app
gradle:
- yes
- versionName: 1.5.8
versionCode: 26
commit: v1.5.8
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.5.8
CurrentVersionCode: 26
| Categories:
- Games
License: GPL-3.0-or-later
AuthorName: CorruptedArk
SourceCode: https://github.com/CorruptedArk/open-chaos-chess
IssueTracker: https://github.com/CorruptedArk/open-chaos-chess/issues
Changelog: https://github.com/CorruptedArk/open-chaos-chess/releases
AutoName: Open Chaos Chess
RepoType: git
Repo: https://github.com/CorruptedArk/open-chaos-chess
Builds:
- versionName: 1.5.4
versionCode: 22
commit: v1.5.4
subdir: app
gradle:
- yes
- versionName: 1.5.7
versionCode: 25
commit: v1.5.7
subdir: app
gradle:
- yes
- versionName: 1.5.8
versionCode: 26
commit: v1.5.8
subdir: app
gradle:
- yes
- versionName: 1.6.0
versionCode: 27
commit: v1.6.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.6.0
CurrentVersionCode: 27
|
Copy across the keys and what not instead of trying to generate them | ---
- name: Install openvpn
yum: name=openvpn state=present
when: ansible_os_family == "RedHat"
tags:
- openvpn
- packages
- stat: path=/etc/openvpn/ta.key get_md5=no
register: ta_key
- name: Generate HMAC handshake protection key
command: openvpn --genkey --secret /etc/openvpn/ta.key
when: ta_key.stat.exists == False
tags:
- openvpn
- stat: path=ca /etc/openvpn/ca.crt get_md5=no
register: ca_crt
- name: Create ca and server keys
shell: "source /etc/easy-rsa/vars && /etc/easy-rsa/clean-all && /etc/easy-rsa/build-ca && /etc/easy-rsa/build-key-server {{ server }}"
- name: Move across openvpn server config
template: src=server.conf.j2 dest=/etc/openvpn/server.conf
tags:
- openvpn
- config_files
- name: Start our openvpn service
service: name=openvpn@server.service state=started enabled=yes
when: ansible_os_family == "RedHat"
tags:
- openvpn
- services
| ---
- name: Install openvpn
yum: name=openvpn state=present
when: ansible_os_family == "RedHat"
tags:
- openvpn
- packages
- stat: path=/etc/openvpn/ta.key get_md5=no
register: ta_key
- name: Generate HMAC handshake protection key
command: openvpn --genkey --secret /etc/openvpn/ta.key
when: ta_key.stat.exists == False
tags:
- openvpn
- stat: path=ca /etc/openvpn/ca.crt get_md5=no
register: ca_crt
- name: Create ca and server keys
shell: "source /etc/easy-rsa/vars && /etc/easy-rsa/clean-all && /etc/easy-rsa/build-ca && /etc/easy-rsa/build-key-server {{ server }}"
- name: Copy across CA cert
copy: src=../files/ca.crt dest=/etc/openvpn/ca.crt
- name: Copy across server cert
copy: "src=../files/{{ server }}.crt dest=/etc/openvpn/{{ server }}.crt"
- name: Copy across server key
copy: "src=../files/{{ server }}.key dest=/etc/openvpn/{{ server }}.key"
- name: Copy across our dh
copy: src=../files/dh2048.pem dest=/etc/openvpn/dh2048.pem
- name: Move across openvpn server config
template: src=server.conf.j2 dest=/etc/openvpn/server.conf
tags:
- openvpn
- config_files
- name: Start our openvpn service
service: name=openvpn@server.service state=started enabled=yes
when: ansible_os_family == "RedHat"
tags:
- openvpn
- services
|
Update from Hackage at 2018-09-09T23:33:46Z | homepage: ''
changelog-type: markdown
hash: 12163de652fe73651c639b2a7626366b5b8eb95af679b5705e355c5403305519
test-bench-deps: {}
maintainer: vanessa.mchale@iohk.io
synopsis: Geometry on a sphere
changelog: ! "# spherical\n\n## 0.1.2.0\n\n * Expose `bonne` projection\n\n## 0.1.1.0\n\n
\ * Expose `distance` function\n\n## 0.1.0.0\n\nInitial release\n"
basic-deps:
composition-prelude: -any
base: ! '>=4.3 && <5'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.1.2.0'
author: Vanessa McHale
latest: '0.1.2.0'
description-type: markdown
description: ! '# spherical
A library for working with geometry on the surface of the sphere, mainly for use
in GIS.
'
license-name: BSD3
| homepage: ''
changelog-type: markdown
hash: b90e45826e1cf6b13719fd060d72d0a24c5aaaaab6f93e6edf0ede3cba54a0a7
test-bench-deps: {}
maintainer: vanessa.mchale@iohk.io
synopsis: Geometry on a sphere
changelog: ! "# spherical\n\n## 0.1.2.1\n\n * Fix `sinc`\n\n## 0.1.2.0\n\n * Expose
`bonne` projection\n\n## 0.1.1.0\n\n * Expose `distance` function\n\n## 0.1.0.0\n\nInitial
release\n"
basic-deps:
composition-prelude: -any
base: ! '>=4.3 && <5'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.1.2.0'
- '0.1.2.1'
author: Vanessa McHale
latest: '0.1.2.1'
description-type: markdown
description: ! '# spherical
A library for working with geometry on the surface of the sphere, mainly for use
in GIS.
'
license-name: BSD3
|
Update from Hackage at 2020-08-04T07:57:46Z | homepage: ''
changelog-type: ''
hash: ed164058f459589e304a02625d5bbbbf112209c76ebfee0f4b531bddceae25af
test-bench-deps: {}
maintainer: m.farkasdyck@gmail.com
synopsis: Functors from products of Haskell and its dual to Haskell
changelog: ''
basic-deps:
base: '>=4.9 && <5'
tagged: '>=0.8.6 && <0.9'
dual: '>=0.1.1 && <0.2'
transformers: '>=0.5.3 && <0.6'
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.1.2.0
- 0.1.3.0
- 0.1.3.1
- 0.1.4.0
- 0.1.5.0
- 0.1.6.0
- 0.1.7.0
author: M Farkas-Dyck
latest: 0.1.7.0
description-type: haddock
description: ''
license-name: BSD-3-Clause
| homepage: ''
changelog-type: ''
hash: a30bc74fed43e7a696208f98ae07fbc2d204aff8195f2d2694560b0127d3e48f
test-bench-deps: {}
maintainer: m.farkasdyck@gmail.com
synopsis: Functors from products of Haskell and its dual to Haskell
changelog: ''
basic-deps:
base: '>=4.9 && <5'
tagged: '>=0.8.6 && <0.9'
dual: '>=0.1.1 && <0.2'
transformers: '>=0.5.3 && <0.6'
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.1.2.0
- 0.1.3.0
- 0.1.3.1
- 0.1.4.0
- 0.1.5.0
- 0.1.6.0
- 0.1.7.1
author: M Farkas-Dyck
latest: 0.1.7.1
description-type: haddock
description: ''
license-name: BSD-3-Clause
|
Test with Node.js version 8 instead of 7 | # http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "7"
version: "{build}-{branch}"
init:
- git config --global core.longpaths true
clone_depth: 1
matrix:
fast_finish: true
cache:
- node_modules
install:
- ps: Install-Product node $env:nodejs_version
- appveyor DownloadFile "http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick-binaries/1.3.24/GraphicsMagick-1.3.24-Q16-win64-dll.exe?r=&ts=1470470434&use_mirror=kent"
- GraphicsMagick-1.3.24-Q16-win64-dll.exe /SP /VERYSILENT /NORESTART /NOICONS /DIR=%CD%\gm
- set PATH=%CD%\gm;%PATH%
- npm install
test_script:
- node --version
- npm --version
- gm version
- npm run lint
- npm test
build: off
| # http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
version: "{build}-{branch}"
init:
- git config --global core.longpaths true
clone_depth: 1
matrix:
fast_finish: true
cache:
- node_modules
install:
- ps: Install-Product node $env:nodejs_version
- appveyor DownloadFile "http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick-binaries/1.3.24/GraphicsMagick-1.3.24-Q16-win64-dll.exe?r=&ts=1470470434&use_mirror=kent"
- GraphicsMagick-1.3.24-Q16-win64-dll.exe /SP /VERYSILENT /NORESTART /NOICONS /DIR=%CD%\gm
- set PATH=%CD%\gm;%PATH%
- npm install
test_script:
- node --version
- npm --version
- gm version
- npm run lint
- npm test
build: off
|
Add CircleCI workflow for PHP 7.4 | version: 2.1
orbs:
bedrock:
executors:
php-73:
docker:
- image: 'circleci/php:7.3-stretch'
php-72:
docker:
- image: 'circleci/php:7.2-stretch'
php-71:
docker:
- image: 'circleci/php:7.1-stretch'
jobs:
build-php:
parameters:
executor:
type: executor
executor: << parameters.executor >>
steps:
- run: php -v
- checkout
- restore_cache:
keys:
- composer-v1-{{ checksum "composer.lock" }}
- composer-v1-
- run: composer install -n --prefer-dist
- run: composer test
- save_cache:
key: composer-v1-{{ checksum "composer.lock" }}
paths:
- vendor
workflows:
build:
jobs:
- bedrock/build-php:
name: build-php-73
executor: bedrock/php-73
- bedrock/build-php:
name: build-php-72
executor: bedrock/php-72
- bedrock/build-php:
name: build-php-71
executor: bedrock/php-71
| version: 2.1
orbs:
bedrock:
executors:
php-74:
docker:
- image: 'circleci/php:7.4-stretch'
php-73:
docker:
- image: 'circleci/php:7.3-stretch'
php-72:
docker:
- image: 'circleci/php:7.2-stretch'
php-71:
docker:
- image: 'circleci/php:7.1-stretch'
jobs:
build-php:
parameters:
executor:
type: executor
executor: << parameters.executor >>
steps:
- run: php -v
- checkout
- restore_cache:
keys:
- composer-v1-{{ checksum "composer.lock" }}
- composer-v1-
- run: composer install -n --prefer-dist
- run: composer test
- save_cache:
key: composer-v1-{{ checksum "composer.lock" }}
paths:
- vendor
workflows:
build:
jobs:
- bedrock/build-php:
name: build-php-74
executor: bedrock/php-74
- bedrock/build-php:
name: build-php-73
executor: bedrock/php-73
- bedrock/build-php:
name: build-php-72
executor: bedrock/php-72
- bedrock/build-php:
name: build-php-71
executor: bedrock/php-71
|
Add a comment about what the cron syntax means. | # Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.9
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
- image: postgres:9.6
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_DB: password
#### TEMPLATE_NOTE: go expects specific checkout path representing url
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /go/src/github.com/grafeas/grafeas/
steps:
- checkout
# specify any bash command here prefixed with `run: `
- run: make build; make test
workflows:
version: 2
commit:
jobs:
- build
nightly:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
jobs:
- build
| # Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.9
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
- image: postgres:9.6
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_DB: password
#### TEMPLATE_NOTE: go expects specific checkout path representing url
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /go/src/github.com/grafeas/grafeas/
steps:
- checkout
# specify any bash command here prefixed with `run: `
- run: make build; make test
workflows:
version: 2
commit:
jobs:
- build
nightly:
triggers:
- schedule:
# Every day at midnight.
cron: "0 0 * * *"
filters:
branches:
only:
- master
jobs:
- build
|
Use Pypi and bump to 0.15.0 | package:
name: cyrasterize
version: 0.1.4
source:
fn: cyrasterize-0.1.4.zip
url: https://github.com/menpo/cyrasterize/archive/windows_fixes.zip
#url: https://pypi.python.org/packages/source/c/cyrasterize/cyrasterize-0.1.4.tar.gz
#md5: 67e5cd526c60833c37f67f31e1d63481
patches:
- windows_setup.patch
requirements:
build:
- python
- distribute
- numpy
- cython
- glew
- glfw3
- msinttypes
run:
- python
- numpy
test:
imports:
- cyrasterize
about:
home: https://github.com/menpo/cyrasterize/
license: BSD
| package:
name: cyrasterize
version: 0.1.5
source:
fn: cyrasterize-0.1.5.tar.gz
url: https://pypi.python.org/packages/source/c/cyrasterize/cyrasterize-0.1.5.tar.gz
md5: 33dcc76dbeb639112c7936711122ec2f
patches:
- windows_setup.patch
requirements:
build:
- python
- distribute
- numpy
- cython
- glew
- glfw3
- msinttypes
run:
- python
- numpy
test:
imports:
- cyrasterize
about:
home: https://github.com/menpo/cyrasterize/
license: BSD
|
Update automated tests to use environment vars | name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
env:
CI: true
| name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
env:
CI: true
ICOMFORT_USERNAME: ${{ secrets.ICOMFORT_USERNAME }}
ICOMFORT_PASSWORD: ${{ secrets.ICOMFORT_PASSWORD }}
ICOMFORT_GATEWAY_SERIAL: ${{ secrets.ICOMFORT_GATEWAY_SERIAL }}
|
Update from Hackage at 2017-11-15T22:53:17Z | homepage: ''
changelog-type: ''
hash: 39af0885c6c0d54d0be3b4bb6ada184e88e47cb2e887f62b6e72aa6b2666bf31
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Categorical types and classes
changelog: ''
basic-deps:
base: ! '>=4.10 && <5'
all-versions:
- '0.1.0.0'
author: M Farkas-Dyck
latest: '0.1.0.0'
description-type: haddock
description: ''
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: c3f6ce695350a61ef7bd43ff0480216ff5dfcbf9e33503369a2cf500c956563e
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Categorical types and classes
changelog: ''
basic-deps:
base: ! '>=4.10 && <5'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: M Farkas-Dyck
latest: '0.1.0.1'
description-type: haddock
description: ''
license-name: BSD3
|
Update from Hackage at 2016-04-28T06:47:29+0000 | homepage: http://github.com/cutsea110/heredoc.git
changelog-type: ''
hash: 8fcacc14d160a9d00140a8be3d217be6763ccd75b234a5a6307853c2eae5af98
test-bench-deps:
base: -any
text: ! '>=1.2.2.1'
doctest: ! '>=0.11.0'
heredocs: -any
maintainer: cutsea110@gmail.com
synopsis: heredocument
changelog: ''
basic-deps:
base: ! '>=4.8 && <4.9'
text: ! '>=1.2.2.1'
parsec: ! '>=3.1.9'
doctest: ! '>=0.11.0'
template-haskell: ! '>=2.10.0.0'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.1.2.0'
author: cutsea110
latest: '0.1.2.0'
description-type: haddock
description: heredocument
license-name: BSD3
| homepage: http://github.com/cutsea110/heredoc.git
changelog-type: ''
hash: c6f5305c86365e5af841406fd2349dc999dce9261e1622cdfbf566cf2de19c75
test-bench-deps:
base: -any
text: ! '>=1.2.2.1'
doctest: ! '>=0.11.0'
heredocs: -any
maintainer: cutsea110@gmail.com
synopsis: heredocument
changelog: ''
basic-deps:
base: ! '>=4.8 && <4.9'
text: ! '>=1.2.2.1'
parsec: ! '>=3.1.9'
doctest: ! '>=0.11.0'
template-haskell: ! '>=2.10.0.0'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.1.2.0'
- '0.1.2.1'
author: cutsea110
latest: '0.1.2.1'
description-type: haddock
description: heredocument
license-name: BSD3
|
Change nltk model to be downloaded | machine:
python:
version: 2.7.9
dependencies:
pre:
- pip install python-coveralls
- pip install --upgrade setuptools
- sh mecab_install.sh
test:
pre:
- python -m nltk.downloader maxent_treebank_pos_tagger punkt stopwords
- nosetests tests/scripts_test.py:ScriptsTestCase.test_mobileclick_download_training_data
override:
- nosetests -v --with-coverage --with-xunit --xunit-file=$CIRCLE_TEST_REPORTS/nosetests.xml
post:
- coveralls
general:
artifacts:
- "runs"
| machine:
python:
version: 2.7.9
dependencies:
pre:
- pip install python-coveralls
- pip install --upgrade setuptools
- sh mecab_install.sh
test:
pre:
- sh nltk_download.sh
- nosetests tests/scripts_test.py:ScriptsTestCase.test_mobileclick_download_training_data
override:
- nosetests -v --with-coverage --with-xunit --xunit-file=$CIRCLE_TEST_REPORTS/nosetests.xml
post:
- coveralls
general:
artifacts:
- "runs"
|
Add sudo to rm command | machine:
python:
version: 2.7.3
services:
- docker
dependencies:
pre:
- git clone -b v0.23.4 https://github.com/libgit2/libgit2.git --single-branch
- cd libgit2/ && mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local && sudo cmake --build . --target install
- go get -t -d -v ./...
- go build -v
test:
override:
- go test -v -race ./...
deployment:
prod:
branch: master
commands:
- rm -R libgit2/build/
- docker build --rm=false -t gamebuildr/gogeta .
- docker tag gamebuildr/gogeta gcr.io/gamebuildr-151415/gamebuildr-gogeta
- sudo /opt/google-cloud-sdk/bin/gcloud docker push gcr.io/gamebuildr-151415/gamebuildr-gogeta
| machine:
python:
version: 2.7.3
services:
- docker
dependencies:
pre:
- git clone -b v0.23.4 https://github.com/libgit2/libgit2.git --single-branch
- cd libgit2/ && mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local && sudo cmake --build . --target install
- go get -t -d -v ./...
- go build -v
test:
override:
- go test -v -race ./...
deployment:
prod:
branch: master
commands:
- sudo rm -R libgit2/build/
- docker build --rm=false -t gamebuildr/gogeta .
- docker tag gamebuildr/gogeta gcr.io/gamebuildr-151415/gamebuildr-gogeta
- sudo /opt/google-cloud-sdk/bin/gcloud docker push gcr.io/gamebuildr-151415/gamebuildr-gogeta
|
Fix GitHub actions workflow syntax | on:
pull_request:
branches: [ master ]
paths:
- '**.c'
- '**.h'
jobs:
fuzz:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'jansson'
dry-run: false
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'jansson'
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v1
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts
| on:
pull_request:
branches: [ master ]
paths:
- '**.c'
- '**.h'
jobs:
fuzz:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'jansson'
dry-run: false
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'jansson'
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v1
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts
|
Fix ability to provide own tls certificate for ingress. | {{- if .Values.ingress.enabled }}
{{- range .Values.ingress.secrets }}
apiVersion: v1
kind: Secret
metadata:
name: longhorn
namespace: {{ include "release_namespace" . }}
labels: {{- include "longhorn.labels" . | nindent 4 }}
app: longhorn
type: kubernetes.io/tls
data:
tls.crt: {{ .certificate | b64enc }}
tls.key: {{ .key | b64enc }}
---
{{- end }}
{{- end }}
| {{- if .Values.ingress.enabled }}
{{- range .Values.ingress.secrets }}
apiVersion: v1
kind: Secret
metadata:
name: {{ .name }}
namespace: {{ include "release_namespace" $ }}
labels: {{- include "longhorn.labels" $ | nindent 4 }}
app: longhorn
type: kubernetes.io/tls
data:
tls.crt: {{ .certificate | b64enc }}
tls.key: {{ .key | b64enc }}
---
{{- end }}
{{- end }}
|
Use weird danger token separation | machine:
node:
version: 7
deployment:
staging:
branch: master
owner: artsy
commands:
- NODE_ENV=production make deploy env=staging
dependencies:
override:
- yarn install
test:
override:
- "npm run danger"
- yarn test:
parallel: true | machine:
node:
version: 7
deployment:
staging:
branch: master
owner: artsy
commands:
- NODE_ENV=production make deploy env=staging
dependencies:
override:
- yarn install
test:
override:
- "DANG=811cbbb6dff14fe34cc7f ER_TOKEN=7e0778afdd8b1508764 DANGER_GITHUB_API_TOKEN=${DANG}${ER_TOKEN} npm run danger"
- yarn test:
parallel: true |
Create workshop folder for user stack | - name: Create the workshop folder
file:
path: "{{ BASE }}/workshop"
state: directory
mode: 0755
- name: Clone all workshop git repos from github
become: true
become_user: stack
git:
repo: "https://github.com/{{ item }}"
dest: "{{ BASE }}/workshop/{{ item | basename }}"
with_items:
- afrittoli/cross_service_tempest_plugins
- afrittoli/designate-tempest-plugin
- afrittoli/heat-tempest-plugin
- openstack/tempest-plugin-cookiecutter
- name: Touch a .clean file to mark the image as new
file:
path: "{{ BASE }}/workshop/.clean"
state: touch
| - name: Create the workshop folder
become: true
file:
path: "{{ BASE }}/workshop"
state: directory
mode: 0755
owner: stack
- name: Clone all workshop git repos from github
become: true
become_user: stack
git:
repo: "https://github.com/{{ item }}"
dest: "{{ BASE }}/workshop/{{ item | basename }}"
with_items:
- afrittoli/cross_service_tempest_plugins
- afrittoli/designate-tempest-plugin
- afrittoli/heat-tempest-plugin
- openstack/tempest-plugin-cookiecutter
- name: Touch a .clean file to mark the image as new
file:
path: "{{ BASE }}/workshop/.clean"
state: touch
|
Update the CHANGELOG when push-server is promoted to stable | product_key: push-jobs-server
# Slack channel in Chef Software slack to send notifications about build failures, etc
slack:
notify_channel: chef-server-notify
github:
maintainer_group: chef/sustaining-eng-team
merge_actions:
built_in:bump_version:
ignore_labels: "Version: Skip Bump"
built_in:update_changelog:
ignore_labels: "Changelog: Skip Update"
built_in:trigger_omnibus_release_build:
ignore_labels: "Omnibus: Skip Build"
only_if: built_in:bump_version
| product_key: push-jobs-server
# Slack channel in Chef Software slack to send notifications about build failures, etc
slack:
notify_channel: chef-server-notify
github:
maintainer_group: chef/sustaining-eng-team
merge_actions:
built_in:bump_version:
ignore_labels: "Version: Skip Bump"
built_in:update_changelog:
ignore_labels: "Changelog: Skip Update"
built_in:trigger_omnibus_release_build:
ignore_labels: "Omnibus: Skip Build"
only_if: built_in:bump_version
artifact_actions:
promoted_to_stable:
built_in:rollover_changelog:
|
Include https for base site protocol | # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: Waveform Playlist
email: naomiaro@gmail.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "naomiaro.github.io" # the base hostname & protocol for your site
twitter_username: naomiaro
github_username: naomiaro
# Build settings
markdown: kramdown
collections:
examples:
output: true
output_ext: html
| # Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
title: Waveform Playlist
email: naomiaro@gmail.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://naomiaro.github.io" # the base hostname & protocol for your site
twitter_username: naomiaro
github_username: naomiaro
# Build settings
markdown: kramdown
collections:
examples:
output: true
output_ext: html
|
Use old version for linux on CI | os:
- osx
- linux
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- npm install
script:
- npm test --silent | language: node_js
node_js:
- "5.10"
os:
- osx
- linux
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CODE_VERSION="1.0.0"
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- npm install
script:
- npm test --silent |
Fix merge conflict. Let's merge this huge PR. What could possibly go wrong. | name: qt5_win
channels:
- conda-forge
dependencies:
- alabaster=0.7.11
- colorama
- ipykernel=4.9.0
- ipython=6.5.0
- jupyter=1.0.0
- nbformat
- pyopencl=2018.2.2
- scipy=1.2.0
- hdf5=1.10.4
- h5py=2.9.0
- lxml=4.3.0
- twisted=18.9.0
- sphinx=1.8.4
- pytest=4.2.0
- cython=0.29.4
- sip
- numba=0.39
- numpy=1.16.4
- setuptools=44.0.0
- numpy=1.14.2
- pip:
- matplotlib==2.2.3
- bumps==0.7.11
- pyinstaller==3.3.1
- periodictable==1.5.0
- xhtml2pdf==0.2.3
- ../../../PyQt5_commercial-5.12.2-5.12.3-cp35.cp36.cp37.cp38-none-win_amd64.whl
- qt5reactor==0.5
- qtconsole
- tinycc==1.1
| name: qt5_win
channels:
- conda-forge
dependencies:
- alabaster
- colorama
- ipykernel
- ipython
- jupyter
- nbformat
- pyopencl=2018.2.2
- scipy=1.2.0
- hdf5=1.10.4
- h5py=2.9.0
- lxml=4.3.0
- twisted=18.9.0
- sphinx=1.8.4
- pytest=4.2.0
- cython=0.29.4
- sip
- numba=0.39
- setuptools=44.0.0
- numpy=1.14.2
- pip:
- matplotlib==2.2.3
- bumps==0.7.11
- pyinstaller==3.3.1
- periodictable==1.5.0
- xhtml2pdf==0.2.3
- ../../../PyQt5_commercial-5.12.2-5.12.3-cp35.cp36.cp37.cp38-none-win_amd64.whl
- qt5reactor==0.5
- qtconsole
- tinycc==1.1
|
Use built-in Rubocop GitHub Actions formatter | name: CI
on: [push, pull_request]
jobs:
test:
name: >-
Test (${{ matrix.ruby }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
gemfile: [Gemfile]
ruby:
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- jruby
- truffleruby
include:
- ruby: 2.5
gemfile: gemfiles/rubyracer
- ruby: jruby
gemfile: gemfiles/rubyrhino
- ruby: 2.5
gemfile: gemfiles/alaska
alaska: 1
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
ALASKA: ${{ matrix.alaska}}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake spec
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: lautis/rubocop-action@master
name: Lint
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
| name: CI
on: [push, pull_request]
jobs:
test:
name: >-
Test (${{ matrix.ruby }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
gemfile: [Gemfile]
ruby:
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- jruby
- truffleruby
include:
- ruby: 2.5
gemfile: gemfiles/rubyracer
- ruby: jruby
gemfile: gemfiles/rubyrhino
- ruby: 2.5
gemfile: gemfiles/alaska
alaska: 1
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
ALASKA: ${{ matrix.alaska}}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake spec
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
bundler-cache: true
- run: bundle exec rubocop --format github
|
Update actions/checkout action to v3 | name: Test on push and PR
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- run: npm run build --if-present
- run: npm test | name: Test on push and PR
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- run: npm run build --if-present
- run: npm test |
Fix extractor test singleton strategy | name: test.extractor
id: test.extractor
description: Example extractor plugin
components:
- id: daemon
type: cmd
command: ./extractor.py
type: singleton
timeout: 1m
- id: extractor
type: extractor
name: Example extractor
command: test.extractor/daemon
extractor: extractor
schema: schema
- id: widget
type: widget
params:
- name: color
- name: q
type: query
| name: test.extractor
id: test.extractor
description: Example extractor plugin
components:
- id: daemon
type: cmd
command: ./extractor.py
strategy: singleton
timeout: 1m
- id: extractor
type: extractor
name: Example extractor
command: test.extractor/daemon
extractor: extractor
schema: schema
- id: widget
type: widget
params:
- name: color
- name: q
type: query
|
Change version of latest-build to 0.2.x | version: 0.2.{build}
pull_requests:
do_not_increment_build_number: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
skip_tags: true
before_build:
- nuget restore
platform:
- Any CPU
configuration:
- Release
build:
project: ReportUnit.sln
parallel: true
verbosity: quiet
after_build:
- nunit3-console .\ReportUnitTest\bin\Release\ReportUnitTest.dll --result=ReportUnitTestResults.xml;format=AppVeyor
artifacts:
- path: ReportUnit\bin\Release
name: ReportUnit-$(appveyor_build_version)
type: zip
deploy:
- provider: GitHub
tag: latest-build
release: reportunit-latest-build
auth_token:
secure: aF0fLLmz97WNRikUBXRnLxJVJIn7sb7+h0uUH21d4S6zdAB0lfv3JGE5xPbcmUl6
artifact: ReportUnit-$(appveyor_build_version)
draft: false
prerelease: false
force_update: true | version: 0.2.{build}
pull_requests:
do_not_increment_build_number: true
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
skip_tags: true
before_build:
- nuget restore
platform:
- Any CPU
configuration:
- Release
build:
project: ReportUnit.sln
parallel: true
verbosity: quiet
after_build:
- nunit3-console .\ReportUnitTest\bin\Release\ReportUnitTest.dll --result=ReportUnitTestResults.xml;format=AppVeyor
artifacts:
- path: ReportUnit\bin\Release
name: ReportUnit-0.2.x
type: zip
deploy:
- provider: GitHub
tag: latest-build
release: reportunit-latest-build
auth_token:
secure: aF0fLLmz97WNRikUBXRnLxJVJIn7sb7+h0uUH21d4S6zdAB0lfv3JGE5xPbcmUl6
artifact: ReportUnit-0.2.x
draft: false
prerelease: false
force_update: true |
Use Open JDK 7 on Travis | language: java
sudo: false
install: true
script: mvn install -Prelease -Dgpg.skip=true
| language: java
sudo: false
install: true
jdk: openjdk7
script: mvn install -Prelease -Dgpg.skip=true
|
Drop Python 2.5 from the Travis builds, since it isn't working anyway | language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
script:
- python tests.py
| language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
script:
- python tests.py
|
Use version-pinned MySQL8 (known issue). | branches:
except:
- /^stage.*$/
sudo: required
services:
- docker
env:
global:
- DOCKER_CLIENT_TIMEOUT: 120
- COMPOSE_HTTP_TIMEOUT: 120
- MATLAB_UID: 2000
- MATLAB_GID: 2000
- MINIO_VER: RELEASE.2019-09-26T19-42-35Z
slim: &slim
stage: Slim9.9
os: linux
language: shell
script:
- license=MATLAB_LICENSE_${MATLAB_VERSION}
- export MATLAB_LICENSE=$(eval echo "\$$license")
- docker-compose -f LNX-docker-compose.yml up --exit-code-from app
jobs:
include:
- <<: *slim
env:
- MATLAB_VERSION: R2019a
- MYSQL_TAG: 8.0
- <<: *slim
env:
- MATLAB_VERSION: R2019a
- MYSQL_TAG: 5.7
- <<: *slim
env:
- MATLAB_VERSION: R2019a
- MYSQL_TAG: 5.6
- <<: *slim
env:
- MATLAB_VERSION: R2018b
- MYSQL_TAG: 5.7
- <<: *slim
env:
- MATLAB_VERSION: R2016b
- MYSQL_TAG: 5.7 | branches:
except:
- /^stage.*$/
sudo: required
services:
- docker
env:
global:
- DOCKER_CLIENT_TIMEOUT: 120
- COMPOSE_HTTP_TIMEOUT: 120
- MATLAB_UID: 2000
- MATLAB_GID: 2000
- MINIO_VER: RELEASE.2019-09-26T19-42-35Z
slim: &slim
stage: Slim9.9
os: linux
language: shell
script:
- license=MATLAB_LICENSE_${MATLAB_VERSION}
- export MATLAB_LICENSE=$(eval echo "\$$license")
- docker-compose -f LNX-docker-compose.yml up --exit-code-from app
jobs:
include:
- <<: *slim
env:
- MATLAB_VERSION: R2019a
- MYSQL_TAG: 8.0.18
- <<: *slim
env:
- MATLAB_VERSION: R2019a
- MYSQL_TAG: 5.7
- <<: *slim
env:
- MATLAB_VERSION: R2019a
- MYSQL_TAG: 5.6
- <<: *slim
env:
- MATLAB_VERSION: R2018b
- MYSQL_TAG: 5.7
- <<: *slim
env:
- MATLAB_VERSION: R2016b
- MYSQL_TAG: 5.7 |
Add databases to Travis config | language: ruby
rvm:
- 2.2
- 2.3
- 2.4
- jruby
cache: bundler
branches:
only:
- master
| language: ruby
rvm:
- 2.2
- 2.3
- 2.4
- jruby
cache: bundler
services:
- mysql
- postgresql
|
Stop limiting tests to develop branch. | language: python
python:
- "2.6"
- "2.7"
before_install:
- export DJANGO_SETTINGS_MODULE=celery_haystack.test_settings
install:
- pip install -e .
- pip install -r requirements/$HAYSTACK.txt Django==$DJANGO
before_script:
- flake8 celery_haystack --ignore=E501
script:
- coverage run --branch --source=celery_haystack `which django-admin.py` test celery_haystack
- coverage report --omit=celery_haystack/test*
env:
- DJANGO=1.3.7 HAYSTACK=v1
- DJANGO=1.3.7 HAYSTACK=v2
- DJANGO=1.4.5 HAYSTACK=v1
- DJANGO=1.4.5 HAYSTACK=v2
- DJANGO=1.5 HAYSTACK=v1
- DJANGO=1.5 HAYSTACK=v2
branches:
only:
- develop
| language: python
python:
- "2.6"
- "2.7"
before_install:
- export DJANGO_SETTINGS_MODULE=celery_haystack.test_settings
install:
- pip install -e .
- pip install -r requirements/$HAYSTACK.txt Django==$DJANGO
before_script:
- flake8 celery_haystack --ignore=E501
script:
- coverage run --branch --source=celery_haystack `which django-admin.py` test celery_haystack
- coverage report --omit=celery_haystack/test*
env:
- DJANGO=1.3.7 HAYSTACK=v1
- DJANGO=1.3.7 HAYSTACK=v2
- DJANGO=1.4.5 HAYSTACK=v1
- DJANGO=1.4.5 HAYSTACK=v2
- DJANGO=1.5 HAYSTACK=v1
- DJANGO=1.5 HAYSTACK=v2
|
Update from Hackage at 2022-04-28T08:50:02Z | homepage: https://github.com/aesiniath/unbeliever#readme
changelog-type: ''
hash: a7c41188e560c6f2f38ad21a2b697aa4bd2d7a0062d66798601fa78884d7eaaa
test-bench-deps: {}
maintainer: Andrew Cowie <istathar@gmail.com>
synopsis: Interoperability with Wai/Warp
changelog: ''
basic-deps:
warp: -any
bytestring: -any
wai: -any
http2: -any
base: '>=4.11 && <5'
safe-exceptions: -any
core-text: -any
async: -any
core-telemetry: '>=0.1.8'
vault: -any
core-program: -any
mtl: -any
http-types: -any
core-data: -any
all-versions:
- 0.1.1.0
author: Andrew Cowie <istathar@gmail.com>
latest: 0.1.1.0
description-type: haddock
description: |-
This is part of a library to help build command-line programs, both tools and
longer-running daemons.
This package in particular adds wrappers around the __wai__ (Web Application
Interface) and __warp__ (Web Server to facilitate integrating this commonly
used webserver combination with the Program monad from __core-program__.
license-name: MIT
| homepage: https://github.com/aesiniath/unbeliever#readme
changelog-type: ''
hash: df6e5f99b8d8474b781707d4e220d9628fc63214a15336e38ef9b9ee647b77c6
test-bench-deps: {}
maintainer: Andrew Cowie <istathar@gmail.com>
synopsis: Interoperability with Wai/Warp
changelog: ''
basic-deps:
warp: -any
bytestring: -any
wai: -any
http2: -any
base: '>=4.11 && <5'
safe-exceptions: -any
core-text: -any
async: -any
core-telemetry: '>=0.2.0'
vault: -any
core-program: '>=0.4.6'
mtl: -any
http-types: -any
core-data: -any
all-versions:
- 0.1.1.0
- 0.1.1.3
author: Andrew Cowie <istathar@gmail.com>
latest: 0.1.1.3
description-type: haddock
description: |-
This is part of a library to help build command-line programs, both tools and
longer-running daemons.
This package in particular adds wrappers around the __wai__ (Web Application
Interface) and __warp__ (Web Server) to facilitate integrating this commonly
used webserver combination with the Program monad from __core-program__.
license-name: MIT
|
Clean up old CircleCI environment work arounds | machine:
environment:
GO15VENDOREXPERIMENT: 1
GOROOT: "/home/ubuntu/go"
PATH: "/home/ubuntu/go/bin:$PATH"
dependencies:
cache_directories:
- "/home/ubuntu/go"
pre:
- mkdir -p /home/ubuntu/go
test:
override:
- go version
- go test ./...
general:
branches:
ignore:
- gh-pages
| machine:
environment:
GO15VENDOREXPERIMENT: 1
test:
override:
- go version
- go test ./...
general:
branches:
ignore:
- gh-pages
|
Set light locker as screen locker | ---
- name: Ensure that xfce config directory exists
file:
path: "{{ ansible_user_dir }}/.config/xfce4/xfconf/xfce-perchannel-xml/"
owner: "{{ ansible_user_id }}"
state: directory
mode: 0700
tags:
- xfce
- name: Copy xfce config files
copy:
src: "{{ item }}"
dest: "{{ ansible_user_dir }}/.config/xfce4/xfconf/xfce-perchannel-xml/"
with_fileglob:
- dot.config/xfce4/xfconf/xfce-perchannel-xml/*
tags:
- xfce
- name: Ensure ~/.themes exists
file:
path: "{{ ansible_user_dir }}/.themes"
owner: "{{ ansible_user_id }}"
state: directory
mode: 0700
tags:
- xfce
- name: Install theme
git:
repo: https://github.com/dar5hak/Numix-Holo.git
dest: "{{ ansible_user_dir }}/.themes/Numix-Holo"
tags:
- xfce
| ---
- name: Ensure that xfce config directory exists
file:
path: "{{ ansible_user_dir }}/.config/xfce4/xfconf/xfce-perchannel-xml/"
owner: "{{ ansible_user_id }}"
state: directory
mode: 0700
tags:
- xfce
- name: Copy xfce config files
copy:
src: "{{ item }}"
dest: "{{ ansible_user_dir }}/.config/xfce4/xfconf/xfce-perchannel-xml/"
with_fileglob:
- dot.config/xfce4/xfconf/xfce-perchannel-xml/*
tags:
- xfce
- name: Ensure ~/.themes exists
file:
path: "{{ ansible_user_dir }}/.themes"
owner: "{{ ansible_user_id }}"
state: directory
mode: 0700
tags:
- xfce
- name: Install theme
git:
repo: https://github.com/dar5hak/Numix-Holo.git
dest: "{{ ansible_user_dir }}/.themes/Numix-Holo"
tags:
- xfce
- name: Set light locker as screen locker
command: xfconf-query -c xfce4-session -p /general/LockCommand -s "light-locker-command -l" --create -t string
tags:
- xfce
|
Add vmware and lxc to python3 checks | sudo: false
language: python
python:
- "2.7"
addons:
apt:
sources:
- deadsnakes
packages:
- python2.4
- python2.6
- python3.5
before_install:
- git config user.name "ansible"
- git config user.email "ansible@ansible.com"
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then git rebase $TRAVIS_BRANCH; fi;
install:
- pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible
- pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing
script:
- python2.4 -m compileall -fq -x 'cloud/|monitoring/zabbix.*\.py|/dnf\.py|/layman\.py|/maven_artifact\.py|clustering/(consul.*|znode)\.py|notification/pushbullet\.py|database/influxdb/influxdb.*\.py' .
- python2.6 -m compileall -fq .
- python2.7 -m compileall -fq .
- python3.4 -m compileall -fq system/at.py
- python3.5 -m compileall -fq system/at.py
- ansible-validate-modules .
#- ./test-docs.sh extras
| sudo: false
language: python
python:
- "2.7"
addons:
apt:
sources:
- deadsnakes
packages:
- python2.4
- python2.6
- python3.5
before_install:
- git config user.name "ansible"
- git config user.email "ansible@ansible.com"
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then git rebase $TRAVIS_BRANCH; fi;
install:
- pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible
- pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing
script:
- python2.4 -m compileall -fq -x 'cloud/|monitoring/zabbix.*\.py|/dnf\.py|/layman\.py|/maven_artifact\.py|clustering/(consul.*|znode)\.py|notification/pushbullet\.py|database/influxdb/influxdb.*\.py' .
- python2.6 -m compileall -fq .
- python2.7 -m compileall -fq .
- python3.4 -m compileall -fq system/at.py cloud/vmware cloud/lxc
- python3.5 -m compileall -fq system/at.py cloud/vmware cloud/lxc
- ansible-validate-modules .
#- ./test-docs.sh extras
|
Fix the PullApprove approve_regex to cover more cases | approve_by_comment: true
approve_regex: ^LGTM
reject_regex: ^Rejected
reset_on_push: true
reviewers:
teams:
- image-spec-maintainers
name: default
required: 2
| approve_by_comment: true
approve_regex: '^(Approved|lgtm|LGTM|:shipit:|:star:|:\+1:|:ship:)'
reject_regex: ^Rejected
reset_on_push: true
reviewers:
teams:
- image-spec-maintainers
name: default
required: 2
|
Update from Hackage at 2017-04-21T10:08:26Z | homepage: https://bitbucket.org/merijnv/posix-pty
changelog-type: ''
hash: e63386021ec29d44457a6c6324808870ebdc4cf875d9131a4e592b5213863c05
test-bench-deps: {}
maintainer: Merijn Verstraaten <merijn@inconsistent.nl>
synopsis: Pseudo terminal interaction with subprocesses.
changelog: ''
basic-deps:
bytestring: ! '>=0.10'
unix: ! '>=2.6'
base: ! '>=4 && <5'
process: ! '>=1.2'
all-versions:
- '0.2.1'
author: Merijn Verstraaten
latest: '0.2.1'
description-type: haddock
description: ! 'This package simplifies the creation of subprocesses that interact
with
their parent via a pseudo terminal (see @man pty@).'
license-name: BSD3
| homepage: https://bitbucket.org/merijnv/posix-pty
changelog-type: ''
hash: c814bcbe882faca6e0ff7651c88001021c62fff960300dc35ac612835626a51c
test-bench-deps:
bytestring: -any
base: -any
process: -any
posix-pty: -any
maintainer: Merijn Verstraaten <merijn@inconsistent.nl>
synopsis: Pseudo terminal interaction with subprocesses.
changelog: ''
basic-deps:
bytestring: ! '>=0.10'
unix: ! '>=2.6'
base: ! '>=4 && <5'
process: ! '>=1.2'
all-versions:
- '0.2.1'
- '0.2.1.1'
author: Merijn Verstraaten
latest: '0.2.1.1'
description-type: haddock
description: ! 'This package simplifies the creation of subprocesses that interact
with
their parent via a pseudo terminal (see @man pty@).'
license-name: BSD3
|
Set ENV vars required to run tests | name: Docker Image CI rubocop-211208 branch
on:
workflow_dispatch:
push:
branches: [ rubocop-211208 ]
pull_request:
branches: [ rubocop-211208 ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag temp:$(date +%s)
| name: Docker Image CI rubocop-211208 branch
on:
workflow_dispatch:
push:
branches: [ rubocop-211208 ]
pull_request:
branches: [ rubocop-211208 ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag temp:$(date +%s)
env:
SERVER_PRODUCTION: www.nothing.fish
HOST_PORT: 80
|
Add ansible-lint to python packages | ---
python_brew_packages:
- name: python
- name: python3
python_packages:
- pip
- virtualenv
- virtualenvwrapper
- boto
- awscli
- neovim
python_pyenv_install_cmd: "CFLAGS=\"-I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include\" LDFLAGS=\"-L$(brew --prefix openssl)/lib -L/usr/local/opt/sqlite/lib\" pyenv install"
python_use_pyenv: False
python_pyenv_versions:
- 3.3.6
- 3.5.1
| ---
python_brew_packages:
- name: python
- name: python3
python_packages:
- pip
- virtualenv
- virtualenvwrapper
- boto
- awscli
- neovim
- ansible-lint
python_pyenv_install_cmd: "CFLAGS=\"-I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include\" LDFLAGS=\"-L$(brew --prefix openssl)/lib -L/usr/local/opt/sqlite/lib\" pyenv install"
python_use_pyenv: False
python_pyenv_versions:
- 3.3.6
- 3.5.1
|
Print coverage report to send to Codacy | language: python
python:
- "2.7"
before_install:
- sudo add-apt-repository ppa:git-core/ppa -y
- sudo apt-get update
- sudo apt-get install git
install: "pip install -r requirements-test.txt"
script:
- export PATH="$PATH:$TRAVIS_BUILD_DIR/bin"
# setup git
- git --version
- git config --global user.email "Brickstertwo@users.noreply.github.com"
- git config --global user.name "Marcus Rosenow"
# test
- nosetests --with-coverage --cover-branches --cover-erase --cover-inclusive
- coverage xml --include=bin/* --omit=*/__init__.py,*/utils/* -o coverage.xml
# upload coverage report
# secure environment variables aren't available for PRs from other repositories
- if [[ ! -z "$CODACY_PROJECT_TOKEN" ]]; then python-codacy-coverage -r coverage.xml; fi
| language: python
python:
- "2.7"
before_install:
- sudo add-apt-repository ppa:git-core/ppa -y
- sudo apt-get update
- sudo apt-get install git
install: "pip install -r requirements-test.txt"
script:
- export PATH="$PATH:$TRAVIS_BUILD_DIR/bin"
# setup git
- git --version
- git config --global user.email "Brickstertwo@users.noreply.github.com"
- git config --global user.name "Marcus Rosenow"
# test
- nosetests --with-coverage --cover-branches --cover-erase --cover-inclusive
- coverage report --include=bin/* --omit=*/__init__.py,*/utils/*
- coverage xml --include=bin/* --omit=*/__init__.py,*/utils/* -o coverage.xml
# upload coverage report
# secure environment variables aren't available for PRs from other repositories
- if [[ ! -z "$CODACY_PROJECT_TOKEN" ]]; then python-codacy-coverage -r coverage.xml; fi
|
Add 2.0 branches to Travis | language: java
jdk:
- openjdk6
before_script:
- git submodule update --init --recursive
- ant jar
- ant -f src/main/integrator.xml strict
script: ant test integration-test
env: CLASSPATH=src/main/lib/xercesImpl.jar:src/main/lib/xml-apis.jar:src/main/lib/resolver.jar:src/main/lib/commons-codec-1.4.jar:src/main/lib/icu4j.jar:src/main/lib/saxon/saxon9-dom.jar:src/main/lib/saxon/saxon9.jar:target/classes:src/main/:src/main/lib/:src/main/lib/dost.jar
branches:
only:
- /^(develop|hotfix\/.*)$/ | language: java
jdk:
- openjdk6
before_script:
- git submodule update --init --recursive
- ant jar
- ant -f src/main/integrator.xml strict
script: ant test integration-test
env: CLASSPATH=src/main/lib/xercesImpl.jar:src/main/lib/xml-apis.jar:src/main/lib/resolver.jar:src/main/lib/commons-codec-1.4.jar:src/main/lib/icu4j.jar:src/main/lib/saxon/saxon9-dom.jar:src/main/lib/saxon/saxon9.jar:target/classes:src/main/:src/main/lib/:src/main/lib/dost.jar
branches:
only:
- /^(v2\/)?(develop|hotfix\/.*)$/ |
Add nvm init to Travis conf. | sudo: true
env:
- NODE_VERSION="0.10"
- NODE_VERSION="0.11"
- NODE_VERSION="0.12"
- NODE_VERSION="iojs"
os:
- osx
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
- brew update
- brew install libusb
- brew install nvm
- nvm install $NODE_VERSION
- node --version
- npm install
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: true
env:
- NODE_VERSION="0.10"
- NODE_VERSION="0.11"
- NODE_VERSION="0.12"
- NODE_VERSION="iojs"
os:
- osx
before_install:
- brew update
- brew install libusb
- brew install nvm
- export NVM_DIR=~/.nvm
- source $(brew --prefix nvm)/nvm.sh
- nvm install $NODE_VERSION
- node --version
- npm --version
- npm update -g npm
- npm install -g bob coveralls --loglevel error
- npm install
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Use "trusty" container for Travis-CI | # Travis CI config
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/migrating-from-legacy/
sudo: false
language: node_js
matrix:
include:
- node_js: 6
- node_js: 8
- node_js: 10
script:
- npm run lint
- npm run coverage
after_success:
# send code-coverage data to Codacy
- cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .
# send code-coverage data to Coveralls
- cat ./coverage/lcov.info | node_modules/coveralls/bin/coveralls.js
| # Travis CI config
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/migrating-from-legacy/
dist: trusty
sudo: false
language: node_js
matrix:
include:
- node_js: 6
- node_js: 8
- node_js: 10
script:
- npm run lint
- npm run coverage
after_success:
# send code-coverage data to Codacy
- cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .
# send code-coverage data to Coveralls
- cat ./coverage/lcov.info | node_modules/coveralls/bin/coveralls.js
|
Add PHP 7.2 to the test matrix | language: php
cache:
directories:
- vendor
matrix:
# mark as finished before allow_failures are run
fast_finish: true
include:
- php: 5.6
env: CONFIG="phpunit.xml" COVERGAGE="all"
- php: 7.0
env: CONFIG="phpunit.xml" COVERGAGE="all"
- php: 7.1
env: CONFIG="phpunit.xml" COVERGAGE="all"
# test only master (+ pull requests)
branches:
only:
- master
# install dependencies
install:
- travis_wait composer install
# execute phpunit as the script command
script:
- ./vendor/bin/phpunit -d memory_limit=-1 --colors -c $CONFIG --coverage-clover=coverage.xml
# disable mail notifications
notification:
email: false
# reduce depth (history) of git checkout
git:
depth: 30
# we don't need sudo
sudo: false
# send coverage to codecov.io
after_success:
- bash <(curl -s https://codecov.io/bash) -F $COVERGAGE
| language: php
cache:
directories:
- vendor
matrix:
# mark as finished before allow_failures are run
fast_finish: true
include:
- php: 5.6
env: CONFIG="phpunit.xml" COVERGAGE="all"
- php: 7.0
env: CONFIG="phpunit.xml" COVERGAGE="all"
- php: 7.1
env: CONFIG="phpunit.xml" COVERGAGE="all"
- php: 7.2
env: CONFIG="phpunit.xml" COVERGAGE="all"
# test only master (+ pull requests)
branches:
only:
- master
# install dependencies
install:
- travis_wait composer install
# execute phpunit as the script command
script:
- ./vendor/bin/phpunit -d memory_limit=-1 --colors -c $CONFIG --coverage-clover=coverage.xml
# disable mail notifications
notification:
email: false
# reduce depth (history) of git checkout
git:
depth: 30
# we don't need sudo
sudo: false
# send coverage to codecov.io
after_success:
- bash <(curl -s https://codecov.io/bash) -F $COVERGAGE
|
Add Ruby 2.2 and 2.5 testing in Travis | language: ruby
cache: bundler
dist: trusty
sudo: false
# Early warning system to catch if Rubygems breaks something
before_install:
- gem update --system
- gem uninstall bundler -a -x
- gem install bundler
- rm -f .bundle/config
rvm:
- 2.3.5
- 2.4.2
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
script: bundle exec rake spec
branches:
only:
- master
| language: ruby
cache: bundler
dist: xenial
sudo: false
# Early warning system to catch if Rubygems breaks something
before_install:
- gem --version
- rvm @global do gem uninstall bundler -a -x -I || true
- gem install bundler --no-document
- bundle --version
- rm -f .bundle/config
matrix:
include:
- rvm: 2.2.10
- rvm: 2.3.8
- rvm: 2.4.5
- rvm: 2.5.3
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
script: bundle exec rake spec
branches:
only:
- master
|
Build with latest Node.js 4 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
|
Remove script definition for clean CI | sudo: required
services:
- docker
before_install:
- docker build -t zosconnectforswift .
- docker run zosconnectforswift /bin/sh -c "swift test"
script:
- swift test
| sudo: required
services:
- docker
before_install:
- docker build -t zosconnectforswift .
- docker run zosconnectforswift /bin/sh -c "swift test"
|
Fix Travis CI conf: use 'lein test' | language: clojure
before_install:
- sudo apt-get purge nodejs npm
- sudo apt-get install -y python-software-properties
- sudo add-apt-repository -y ppa:chris-lea/node.js
- sudo apt-get update
- sudo apt-get install -y nodejs
- sudo npm install -g jshint
script: lein with-profile dev midje && lein uberjar
jdk:
- oraclejdk8
- openjdk11
| language: clojure
before_install:
- sudo apt-get purge nodejs npm
- sudo apt-get install -y python-software-properties
- sudo add-apt-repository -y ppa:chris-lea/node.js
- sudo apt-get update
- sudo apt-get install -y nodejs
- sudo npm install -g jshint
script: lein test && lein uberjar
jdk:
- oraclejdk8
- openjdk11
|
Add Redmine3.2.0 to test target | language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
env:
- TARGET=redmine REDMINE_VERSION=2.5.3
- TARGET=plugin REDMINE_VERSION=2.5.3
- TARGET=redmine REDMINE_VERSION=2.6.7
- TARGET=plugin REDMINE_VERSION=2.6.7
- TARGET=redmine REDMINE_VERSION=3.0.5
- TARGET=plugin REDMINE_VERSION=3.0.5
- TARGET=redmine REDMINE_VERSION=3.1.1
- TARGET=plugin REDMINE_VERSION=3.1.1
matrix:
allow_failures:
- rvm: 2.2
env: TARGET=redmine REDMINE_VERSION=2.5.3
- rvm: 2.2
env: TARGET=plugin REDMINE_VERSION=2.5.3
before_install: sh travis/before_install.sh
script: sh travis/exec_test.sh
| language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
env:
- TARGET=redmine REDMINE_VERSION=2.5.3
- TARGET=plugin REDMINE_VERSION=2.5.3
- TARGET=redmine REDMINE_VERSION=2.6.7
- TARGET=plugin REDMINE_VERSION=2.6.7
- TARGET=redmine REDMINE_VERSION=3.0.5
- TARGET=plugin REDMINE_VERSION=3.0.5
- TARGET=redmine REDMINE_VERSION=3.1.1
- TARGET=plugin REDMINE_VERSION=3.1.1
- TARGET=redmine REDMINE_VERSION=3.2.0
- TARGET=plugin REDMINE_VERSION=3.2.0
matrix:
allow_failures:
- rvm: 2.2
env: TARGET=redmine REDMINE_VERSION=2.5.3
- rvm: 2.2
env: TARGET=plugin REDMINE_VERSION=2.5.3
before_install: sh travis/before_install.sh
script: sh travis/exec_test.sh
|
Build with recent version of node | language: node_js
node_js:
- "0.10"
- "iojs-v1.4.3"
after_script: ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js ; rm -rf ./coverage
| language: node_js
node_js:
- "5.1.0"
after_script: ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js ; rm -rf ./coverage
|
Upgrade pg version, add coveralls | language: python
python:
- "2.7"
env:
- PGVERSION=9.1
sudo: required
cache: pip
install: ./bin/travis-install-dependencies
script: ./bin/travis-run-tests | language: python
python:
- "2.7"
env:
- PGVERSION=9.2
sudo: required
cache: pip
install:
- ./bin/travis-install-dependencies
- pip install coveralls
script: ./bin/travis-run-tests
after_success:
- coveralls |
Update TravisCI irc notification to don't join + notice | language: python
python:
- "2.7"
install:
- "pip install twisted"
- "pip install requests"
- "pip install python-dateutil"
- "pip install feedparser"
script: trial plugins
notifications:
irc: "irc.chalmers.it#platinumshrimp"
| language: python
python:
- "2.7"
install:
- "pip install twisted"
- "pip install requests"
- "pip install python-dateutil"
- "pip install feedparser"
script: trial plugins
notifications:
irc:
channels:
- "irc.chalmers.it#platinumshrimp"
use_notice: true
skip_join: true
|
Make use of the handy scripts for Travis as well. | language: cpp
os:
- linux
- osx
osx_image: xcode8.3
# Use Ubuntu 14.04 LTS (Trusty) as the Linux testing environment.
sudo: required
dist: trusty
# We check out glslang and SPIRV-Tools at specific revisions to avoid test output mismatches
env:
- GLSLANG_REV=9c6f8cc29ba303b43ccf36deea6bb38a304f9b92 SPIRV_TOOLS_REV=e28edd458b729da7bbfd51e375feb33103709e6f
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python3; fi
- git clone https://github.com/KhronosGroup/glslang.git glslang
- git clone https://github.com/KhronosGroup/SPIRV-Tools SPIRV-Tools
- git clone https://github.com/KhronosGroup/SPIRV-Headers.git SPIRV-Tools/external/spirv-headers
script:
- git -C glslang checkout $GLSLANG_REV
- git -C SPIRV-Tools checkout $SPIRV_TOOLS_REV
- cd glslang && cmake . && make -j2 && cd ..
- cd SPIRV-Tools && cmake . && make -j2 && cd ..
- make -j2
- PATH=./glslang/StandAlone:./SPIRV-Tools/tools:$PATH
- ./test_shaders.py shaders
- ./test_shaders.py --msl shaders-msl
- ./test_shaders.py --hlsl shaders-hlsl
- ./test_shaders.py shaders --opt
- ./test_shaders.py --msl shaders-msl --opt
- ./test_shaders.py --hlsl shaders-hlsl --opt
| language: cpp
os:
- linux
- osx
osx_image: xcode8.3
# Use Ubuntu 14.04 LTS (Trusty) as the Linux testing environment.
sudo: required
dist: trusty
# We check out glslang and SPIRV-Tools at specific revisions to avoid test output mismatches
env:
- PROFILE=plain
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python3; fi
- ./checkout_glslang_spirv_tools.sh
script:
- make -j2
- ./test_shaders.sh
|
Test against node 0.8 again. | language: node_js
node_js:
- "0.10"
- "0.11"
| language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"
before_install:
- "npm install -g npm"
|
Remove not needed flag -i | language: android
android:
components:
- build-tools-23.0.1
- android-23
- extra-android-support
- extra-google-m2repository
- extra-android-m2repository
script:
- ./gradlew build -i | language: android
android:
components:
- build-tools-23.0.1
- android-23
- extra-android-support
- extra-google-m2repository
- extra-android-m2repository
script:
- ./gradlew build |
Use Xcode 7.3 on Travis CI | language: objective-c
osx_image: xcode7
before_install:
- if test -z $(brew list | grep -i xcproj); then brew install xcproj; fi
- export LANG=en_US.UTF-8
install:
- bundle install --without development --deployment --jobs=3 --retry=3
- bundle exec pod install
script:
- xctool -workspace NEUPagingSegmentedControl.xcworkspace -scheme NEUPagingSegmentedControl-iOS -sdk iphonesimulator clean build
- xctool -workspace NEUPagingSegmentedControl.xcworkspace -scheme Example -sdk iphonesimulator clean build
notifications:
email: false
| language: objective-c
osx_image: xcode7.3
before_install:
- if test -z $(brew list | grep -i xcproj); then brew install xcproj; fi
- export LANG=en_US.UTF-8
install:
- bundle install --without development --deployment --jobs=3 --retry=3
- bundle exec pod install
script:
- xctool -workspace NEUPagingSegmentedControl.xcworkspace -scheme NEUPagingSegmentedControl-iOS -sdk iphonesimulator clean build
- xctool -workspace NEUPagingSegmentedControl.xcworkspace -scheme Example -sdk iphonesimulator clean build
notifications:
email: false
|
Remove Travis matrix to avoid test conflicts | language: ruby
rvm:
- 2.1.1
- 2.0.0
notifications:
email: false
env:
global:
secure: FC19i/qIjqV7dzd8bZS+yc5HC3XbssU/lBn7+pNsfhsXZp2FpZ4u3v2HPCRZPZ7IsCpsLtUraq6rub290dXecEr1gzSwmaMdfvJz8f2lr1YR58BF9xnTwBUinZOcv9auhWHwCzYRQMHyILUa2NvmVqq0QzYbWVa9X1gwejqyoaQ=
matrix:
secure: EX0FinqK+va3hTUWNVk7HeFIZqwC0OFlmvW7GX+vJ//vs1Bvsqxqbo1bdqwieMVYxcRwt9cOZU8QapPPc4+v7Awo7ASCgNUo4Y7yrIkjfQdY6b2UyPo6yJw7+Mcyj9gej5hD0mBm+E/KCvvirVfDXfWedPy3Z1FovK1sVW9RqPs=
| language: ruby
rvm:
- 2.0.0
notifications:
email: false
env:
global:
secure: FC19i/qIjqV7dzd8bZS+yc5HC3XbssU/lBn7+pNsfhsXZp2FpZ4u3v2HPCRZPZ7IsCpsLtUraq6rub290dXecEr1gzSwmaMdfvJz8f2lr1YR58BF9xnTwBUinZOcv9auhWHwCzYRQMHyILUa2NvmVqq0QzYbWVa9X1gwejqyoaQ=
matrix:
secure: EX0FinqK+va3hTUWNVk7HeFIZqwC0OFlmvW7GX+vJ//vs1Bvsqxqbo1bdqwieMVYxcRwt9cOZU8QapPPc4+v7Awo7ASCgNUo4Y7yrIkjfQdY6b2UyPo6yJw7+Mcyj9gej5hD0mBm+E/KCvvirVfDXfWedPy3Z1FovK1sVW9RqPs=
|
Update node version for Travis CI. | language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- "0.10"
- "0.11"
- "0.12"
- "iojs"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- ./node_modules/.bin/gulp tsd
- ./node_modules/.bin/gulp browserify-test
| language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- "4.1"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- ./node_modules/.bin/gulp tsd
- ./node_modules/.bin/gulp browserify-test
|
Remove pre ya_kansuji gem installation. | ---
sudo: false
language: ruby
cache: bundler
rvm:
- jruby-9.1
- jruby
- "2.0.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- ruby-head
before_install:
- type bundle || gem install bundler
- gem install --pre ya_kansuji # TODO: remove
| ---
sudo: false
language: ruby
cache: bundler
rvm:
- jruby-9.1
- jruby
- "2.0.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- ruby-head
before_install:
- type bundle || gem install bundler
|
Remove python 3.6 from tests. It _should_ be redundant | stages:
- test
- build
before_script:
- ./scripts/get-ci-version
python3.4:
image: python:3.4-alpine
stage: test
script:
- pip install -e .[test]
- pylint --errors-only fwgen
- PYTHONPATH=. pytest --cov=fwgen -vv
tags:
- docker
python3.6:
image: python:3.6-alpine
stage: test
script:
- pip install -e .[test]
- pylint --errors-only fwgen
- PYTHONPATH=. pytest --cov=fwgen -vv
tags:
- docker
dist:
image: python:3.4-alpine
stage: build
script:
- pip install wheel
- python setup.py bdist_wheel
artifacts:
paths:
- dist/*.whl
tags:
- docker
| stages:
- test
- build
before_script:
- ./scripts/get-ci-version
python3.4:
image: python:3.4-alpine
stage: test
script:
- pip install -e .[test]
- pylint --errors-only fwgen
- PYTHONPATH=. pytest --cov=fwgen -vv
tags:
- docker
dist:
image: python:3.4-alpine
stage: build
script:
- pip install wheel
- python setup.py bdist_wheel
artifacts:
paths:
- dist/*.whl
tags:
- docker
|
Update actions/setup-node action to v3 | name: Node.js v16 CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v16
uses: actions/setup-node@v2
with:
node-version: '16.x'
- run: npm ci
- run: npm run lint
- run: npm test
| name: Node.js v16 CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v16
uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm ci
- run: npm run lint
- run: npm test
|
Update docker image used by CI so that a newer version of Chrome is used to run the tests | ---
image: gebish/ci:v4
variables:
GRADLE_USER_HOME: .gradle-home
check:
stage: build
cache:
key: "$CI_JOB_NAME"
paths:
- .gradle-home
artifacts:
when: always
expire_in: 4 weeks
paths:
- build/reports
script:
- Xvfb :99 -screen 1 1280x1024x16 -nolisten tcp -fbdir /var/run > /dev/null 2>&1 &
- export DISPLAY=:99
- export FIREFOX_VERSION=53.0.3
- ./gradlew --no-daemon check | ---
image: gebish/ci:v5
variables:
GRADLE_USER_HOME: .gradle-home
check:
stage: build
cache:
key: "$CI_JOB_NAME"
paths:
- .gradle-home
artifacts:
when: always
expire_in: 4 weeks
paths:
- build/reports
script:
- Xvfb :99 -screen 1 1280x1024x16 -nolisten tcp -fbdir /var/run > /dev/null 2>&1 &
- export DISPLAY=:99
- export FIREFOX_VERSION=53.0.3
- ./gradlew --no-daemon check |
Add pdf tools (we need pdftohtml) | # .gitlab-ci.yml -- configures gitlab.com CI system
#
# The MIT Licence (MIT)
#
# Copyright (c) 2016 Samuel Sirois (sds) <samuel@sirois.info>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
# THE USE OR OTHER DEALINGS IN THE SOFTWARE.
before_script:
- apt-get update -qq && apt-get install -y -qq shunit2 xsltproc
stages:
- test
- deploy
check:
stage: test
script:
- make check
build-example-artifacts:
stage: deploy
script:
- make build-example-artifacts
artifacts:
paths:
- artifacts/
| # .gitlab-ci.yml -- configures gitlab.com CI system
#
# The MIT Licence (MIT)
#
# Copyright (c) 2016 Samuel Sirois (sds) <samuel@sirois.info>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
# THE USE OR OTHER DEALINGS IN THE SOFTWARE.
before_script:
- apt-get update -qq && apt-get install -y -qq shunit2 xsltproc poppler-utils
stages:
- test
- deploy
check:
stage: test
script:
- make check
build-example-artifacts:
stage: deploy
script:
- make build-example-artifacts
artifacts:
paths:
- artifacts/
|
Exclude 'valid_docs' rule because still Swiftlint v0.6.0 has problems on the rule. | disabled_rules:
- force_cast
- line_length
- variable_name_min_length
- trailing_whitespace
- nesting
- opening_brace
excluded:
- Sources/Container.Arguments.swift
- Sources/SynchronizedResolver.Arguments.swift
- Sources/Resolvable.swift
- Tests
- Sample-iOS.playground
- Carthage
| disabled_rules:
- force_cast
- line_length
- variable_name_min_length
- trailing_whitespace
- nesting
- opening_brace
- valid_docs
excluded:
- Sources/Container.Arguments.swift
- Sources/SynchronizedResolver.Arguments.swift
- Sources/Resolvable.swift
- Tests
- Sample-iOS.playground
- Carthage
|
Update get fetch hook to 'go get -u' | run.config:
engine: golang
engine.config:
runtime: go-1.8
package: 'github.com/hasit/healthyrepo'
fetch: 'go get'
build: 'go build'
web.api:
start: healthyrepo | run.config:
engine: golang
engine.config:
runtime: go-1.8
package: 'github.com/hasit/healthyrepo'
fetch: 'go get -u'
build: 'go build'
web.api:
start: healthyrepo |
Add Python3 wallaby unit tests | - project:
check:
jobs:
- oslo.versionedobjects-src-grenade-multinode
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-lower-constraints-jobs
- openstack-python3-victoria-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
- job:
name: oslo.versionedobjects-src-grenade-multinode
parent: grenade-multinode
voting: false
irrelevant-files:
- ^(test-|)requirements.txt$
- ^setup.cfg$
required-projects:
- opendev.org/openstack/oslo.versionedobjects
| - project:
check:
jobs:
- oslo.versionedobjects-src-grenade-multinode
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-lower-constraints-jobs
- openstack-python3-wallaby-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
- job:
name: oslo.versionedobjects-src-grenade-multinode
parent: grenade-multinode
voting: false
irrelevant-files:
- ^(test-|)requirements.txt$
- ^setup.cfg$
required-projects:
- opendev.org/openstack/oslo.versionedobjects
|
Use medium agents for the more resource intensive builds | steps:
- label: ":eslint: Lint"
command:
- "yarn install"
- "yarn lint"
plugins:
- docker#v3.0.1:
image: "node:10"
- label: ":karma: Tests"
command:
# Install chrome
- "echo '--- Installing Chrome'"
- "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -"
- "sh -c 'echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'"
- "apt-get update"
- "apt-get install -y google-chrome-stable"
# Run tests
- "echo '--- Fetching Dependencies'"
- "./scripts/fetch-develop.deps.sh --depth 1"
- "yarn install"
- "echo '+++ Running Tests'"
- "yarn test"
env:
CHROME_BIN: "/usr/bin/google-chrome-stable"
plugins:
- docker#v3.0.1:
image: "node:10"
propagate-environment: true
| steps:
- label: ":eslint: Lint"
command:
- "yarn install"
- "yarn lint"
plugins:
- docker#v3.0.1:
image: "node:10"
- label: ":karma: Tests"
agents:
# We use a medium sized instance instead of the normal small ones because
# webpack loves to gorge itself on resources.
queue: "medium"
command:
# Install chrome
- "echo '--- Installing Chrome'"
- "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -"
- "sh -c 'echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'"
- "apt-get update"
- "apt-get install -y google-chrome-stable"
# Run tests
- "echo '--- Fetching Dependencies'"
- "./scripts/fetch-develop.deps.sh --depth 1"
- "yarn install"
- "echo '+++ Running Tests'"
- "yarn test"
env:
CHROME_BIN: "/usr/bin/google-chrome-stable"
plugins:
- docker#v3.0.1:
image: "node:10"
propagate-environment: true
|
Update Dice Gainz to 1.0.1 (2) | Categories:
- Sports & Health
License: GPL-3.0-or-later
SourceCode: https://github.com/ramzan/dicegainz
IssueTracker: https://github.com/ramzan/dicegainz/issues
AutoName: Dice Gainz
RepoType: git
Repo: https://github.com/ramzan/dicegainz
Builds:
- versionName: 1.0.0
versionCode: 1
commit: v1.0.0
subdir: app
gradle:
- yes
MaintainerNotes: |-
Summary and Description are maintained by upstream using
fastlane in the source repo
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.0
CurrentVersionCode: 1
| Categories:
- Sports & Health
License: GPL-3.0-or-later
SourceCode: https://github.com/ramzan/dicegainz
IssueTracker: https://github.com/ramzan/dicegainz/issues
AutoName: Dice Gainz
RepoType: git
Repo: https://github.com/ramzan/dicegainz
Builds:
- versionName: 1.0.0
versionCode: 1
commit: v1.0.0
subdir: app
gradle:
- yes
- versionName: 1.0.1
versionCode: 2
commit: v1.0.1
subdir: app
gradle:
- yes
MaintainerNotes: |-
Summary and Description are maintained by upstream using
fastlane in the source repo
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.1
CurrentVersionCode: 2
|
Update WebCall to 0.9.72 (72) | Categories:
- Internet
License: GPL-3.0-only
AuthorName: Timur
AuthorEmail: timur@timur.mobi
AuthorWebSite: https://timur.mobi
SourceCode: https://github.com/mehrvarz/webcall-android
IssueTracker: https://github.com/mehrvarz/webcall-android/issues
AutoName: WebCall
RepoType: git
Repo: https://github.com/mehrvarz/webcall-android.git
Builds:
- versionName: 0.9.71
versionCode: 71
commit: 217e7dce805007a284995d5c63548ac1d3bf060a
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 0.9.71
CurrentVersionCode: 71
| Categories:
- Internet
License: GPL-3.0-only
AuthorName: Timur
AuthorEmail: timur@timur.mobi
AuthorWebSite: https://timur.mobi
SourceCode: https://github.com/mehrvarz/webcall-android
IssueTracker: https://github.com/mehrvarz/webcall-android/issues
AutoName: WebCall
RepoType: git
Repo: https://github.com/mehrvarz/webcall-android.git
Builds:
- versionName: 0.9.71
versionCode: 71
commit: 217e7dce805007a284995d5c63548ac1d3bf060a
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
- versionName: 0.9.72
versionCode: 72
commit: 6aebd97b27280e98ee558d7669615edbdd851550
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 0.9.72
CurrentVersionCode: 72
|
Add consul domain to registry stub | properties:
diego:
stager:
docker_registry_url: "http://docker_registry.service.consul:8080"
garden-linux:
insecure_docker_registry_list: ["10.244.2.6:8080"]
executor:
allow_privileged: true
| properties:
diego:
stager:
docker_registry_url: "http://docker_registry.service.consul:8080"
garden-linux:
insecure_docker_registry_list: ["10.244.2.6:8080"]
executor:
allow_privileged: true
consul:
domain: consul
|
Revert "Don't test on OpenJDK" | language: java
jdk:
- oraclejdk8
- oraclejdk7
install: mvn install -Dgpg.skip=true -DskipTests=true -Dmaven.javadoc.skip=true -B -V
before_script: export TESTNG_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.4.0:exec)
script: mvn -f pom-test.xml test -B
| language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
install: mvn install -Dgpg.skip=true -DskipTests=true -Dmaven.javadoc.skip=true -B -V
before_script: export TESTNG_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.4.0:exec)
script: mvn -f pom-test.xml test -B |
Add pycodestyle to Travis test | language: python
python:
- 3.6
install:
- pip install -r requirements.txt
script:
- python -m unittest calibrate.py
| language: python
python:
- 3.6
install:
- pip install -r requirements.txt
- pip install pycodestyle
script:
- python -m unittest calibrate.py
- pycodestyle .
|
Put PyPI install on schedule | name: Test PyPI install
on: push
# on:
# schedule:
# # * is a special character in YAML so you have to quote this string
# - cron: '0 0 * * 3'
jobs:
test-installation:
name: Test PyPI install (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: [3.6, 3.7, 3.8]
steps:
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
pip install --upgrade pip
pip install pymagicc --pre
- name: Checkout repository
uses: actions/checkout@v2
- name: Test installation
run: |
python scripts/test_install.py
| name: Test PyPI install
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * 3'
jobs:
test-installation:
name: Test PyPI install (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: [3.6, 3.7, 3.8]
steps:
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
pip install --upgrade pip
pip install pymagicc --pre
- name: Checkout repository
uses: actions/checkout@v2
- name: Test installation
run: |
python scripts/test_install.py
|
Remove fast_finish to avoid multiple build notifications from Travis | sudo: false
language: ruby
cache: bundler
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head
gemfile:
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
before_install: gem install bundler -v 1.15.3
before_script:
- psql -c 'CREATE DATABASE activerecord_where_assoc' -U postgres
- mysql -e 'CREATE DATABASE activerecord_where_assoc'
script:
- DB=mysql bundle exec rake test
- DB=pg bundle exec rake test
- DB=sqlite3 bundle exec rake test
- bundle exec rake coveralls:push
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
| sudo: false
language: ruby
cache: bundler
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head
gemfile:
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
before_install: gem install bundler -v 1.15.3
before_script:
- psql -c 'CREATE DATABASE activerecord_where_assoc' -U postgres
- mysql -e 'CREATE DATABASE activerecord_where_assoc'
script:
- DB=mysql bundle exec rake test
- DB=pg bundle exec rake test
- DB=sqlite3 bundle exec rake test
- bundle exec rake coveralls:push
matrix:
# fast_finish makes Travis send multiple notification email when things fail.
# https://github.com/travis-ci/travis-ci/issues/1696
# fast_finish: true
allow_failures:
- rvm: ruby-head
|
Fix test path for reals | language: csharp
solution: "./Fibonacci/Fibonacci.sln"
install:
- travis_retry nuget restore -source "https://www.nuget.org/api/v2" ./Fibonacci/Fibonacci.sln
script:
- xbuild ./Fibonacci/Fibonacci.sln
- mono ./Fibonacci/packages/xunit.runner.console*/tools/xunit.console.exe ./Fibonacci/Fibonacci.Test/bin/Debug/Fibonacci.Tests.dll
| language: csharp
solution: "./Fibonacci/Fibonacci.sln"
install:
- travis_retry nuget restore -source "https://www.nuget.org/api/v2" ./Fibonacci/Fibonacci.sln
script:
- xbuild ./Fibonacci/Fibonacci.sln
- mono ./Fibonacci/packages/xunit.runner.console*/tools/xunit.console.exe ./Fibonacci/Fibonacci.Tests/bin/Debug/Fibonacci.Tests.dll
|
Stop testing Python 3.2 (not supported). | language: python
python:
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.2"
install:
- "echo 'No dependencies :)'"
# command to run tests
script:
- "git submodule init"
- "git submodule update"
- "nosetests"
| language: python
python:
- "2.4"
- "2.5"
- "2.6"
- "2.7"
install:
- "echo 'No dependencies :)'"
# command to run tests
script:
- "git submodule init"
- "git submodule update"
- "nosetests"
|
Put allow failures under matrix | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- nightly
allow_failures:
- php: nightly
- php: 5.4
install:
- composer install
before_install:
- composer self-update
sudo: false
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- nightly
matrix:
allow_failures:
- php: nightly
- php: 5.4
install:
- composer install
before_install:
- composer self-update
sudo: false
|
Revert "add test that was lost in merge" | sudo: false
language: java
addons:
apt_packages:
- python-pip
- python-virtualenv
- python-dev
- libffi-dev
- python-swiftclient
jdk:
- oraclejdk8
script:
- mvn test
- ./src/test/resources/run-swift-tests.sh
- ./src/test/resources/run-swiftclient-python-tests.sh
- ./src/test/resources/run-swiftclient-tests.sh
| sudo: false
language: java
addons:
apt_packages:
- python-pip
- python-virtualenv
- python-dev
- libffi-dev
- python-swiftclient
jdk:
- oraclejdk8
script:
- mvn test
- ./src/test/resources/run-swift-tests.sh
- ./src/test/resources/run-swiftclient-python-tests.sh
|
Remove composer self-update call in Travis | language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
- vendor
git:
depth: 1
env:
global:
- PHPUNIT_VERSION="^5.4"
matrix:
fast_finish: true
include:
- php: 5.6
env:
- COMPOSER_FLAGS="--prefer-stable"
- php: 7
- php: hhvm
allow_failures:
- php: hhvm
before_script:
- travis_retry composer self-update --quiet
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
- travis_retry composer require phpunit/phpunit:${PHPUNIT_VERSION}
script:
- vendor/bin/phpunit
after_script:
- bash -c '[[ -f "build/logs/clover.xml" ]] && wget https://scrutinizer-ci.com/ocular.phar'
- bash -c '[[ -f "build/logs/clover.xml" ]] && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml'
| language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
- vendor
git:
depth: 1
env:
global:
- PHPUNIT_VERSION="^5.4"
matrix:
fast_finish: true
include:
- php: 5.6
env:
- COMPOSER_FLAGS="--prefer-stable"
- php: 7
- php: hhvm
allow_failures:
- php: hhvm
before_script:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
- travis_retry composer require phpunit/phpunit:${PHPUNIT_VERSION}
script:
- vendor/bin/phpunit
after_script:
- bash -c '[[ -f "build/logs/clover.xml" ]] && wget https://scrutinizer-ci.com/ocular.phar'
- bash -c '[[ -f "build/logs/clover.xml" ]] && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml'
|
Drop support for node versions < 6 | language: node_js
node_js:
- "6"
- "5"
- "4"
- "node"
script: "npm run coveralls" | language: node_js
node_js:
- "10"
- "9"
- "8"
- "6"
- "node"
script: "npm run coveralls" |
Use correct syntax for node versions for Travis CI config. | language: node_js
node_js:
- 0.6
- 0.8
- 0.10
- 0.11
| language: node_js
node_js:
- "0.6"
- "0.8"
- "0.10"
- "0.11"
|
Build with Node.js 16 on Travis CI. | language: node_js
node_js:
- '12'
- '14'
- '15'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test
| language: node_js
node_js:
- '12'
- '14'
- '16'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test
|
Update Travis for newer Django versions. | language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO=1.4.8
- DJANGO=1.5.4
install:
- pip install -q Django==$DJANGO --use-mirrors
- pip install -q . --use-mirrors
- pip install -q mock --use-mirrors
- pip install -q pep8 --use-mirrors
before_script:
- "pep8 --exclude=migrations --ignore=E501,E225 eveigb"
script:
- python setup.py test | language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO=1.4.12
- DJANGO=1.5.7
- DJANGO=1.6.4
install:
- pip install -q Django==$DJANGO --use-mirrors
- pip install -q . --use-mirrors
- pip install -q mock --use-mirrors
- pip install -q pep8 --use-mirrors
before_script:
- "pep8 --exclude=migrations --ignore=E501,E225 eveigb"
script:
- python setup.py test
|
Fix build on trusty Fix dependencies for OSX Re-add environments | # Use container system
sudo: false
# Add APT dependencies
addons:
apt:
packages:
- git
- pkg-config
- libssl-dev
# Cache OpenSSL build
cache:
directories:
- $HOME/build/dependencies/openssl-*
# Build matrix
language: c
os:
- linux
- osx
compiler:
- gcc
- clang
dist:
- trusty
- precise
# TODO: Re-enable once Travis upgraded to OpenSSL >= 1.0.2
#env:
# - ENFORCE_OPENSSL=0
# - ENFORCE_OPENSSL=1
# Make dependencies
install:
- ./make-dependencies.sh
# Set environment vars
before_script:
- export PKG_CONFIG_PATH=${HOME}/build/prefix/lib/pkgconfig:${PKG_CONFIG_PATH}
- export LD_LIBRARY_PATH=${HOME}/build/prefix/lib:${LD_LIBRARY_PATH}
- export PATH=${HOME}/build/prefix/bin:${PATH}
# Install library and run tests
script:
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=${HOME}/build/prefix ..
- make install
- echo TODO: make test
# - make test
| # Use container system
sudo: false
# Cache OpenSSL build
cache:
directories:
- $HOME/build/dependencies/openssl-*
# Build matrix
language: c
os:
- linux
- osx
compiler:
- gcc
- clang
matrix:
include:
- os: linux
dist: trusty
env:
- ENFORCE_OPENSSL=0
- ENFORCE_OPENSSL=1
# Linux dependencies
addons:
apt:
packages:
- git
- pkg-config
- libssl-dev
# OSX dependencies
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install git pkg-config openssl; fi
# Make dependencies
install:
- ./make-dependencies.sh
# Set environment vars
before_script:
- export PKG_CONFIG_PATH=${HOME}/build/prefix/lib/pkgconfig:${PKG_CONFIG_PATH}
- export LD_LIBRARY_PATH=${HOME}/build/prefix/lib:${LD_LIBRARY_PATH}
- export PATH=${HOME}/build/prefix/bin:${PATH}
# Install library and run tests
script:
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=${HOME}/build/prefix ..
- make install
- echo TODO: make test
# - make test
|
Stop using removed --use-mirrors option for pip when installing tox | language: python
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
- TOX_ENV=pep8
- TOX_ENV=pylint
- TOX_ENV=coverage
# commands to install dependencies
install:
- pip install tox --use-mirrors
# commands to run
script:
- tox -e $TOX_ENV
after_success:
- if [ "-x$TOX_ENV" = "xcoverage" ]; then coveralls; fi | language: python
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
- TOX_ENV=pep8
- TOX_ENV=pylint
- TOX_ENV=coverage
# commands to install dependencies
install:
- pip install tox
# commands to run
script:
- tox -e $TOX_ENV
after_success:
- if [ "-x$TOX_ENV" = "xcoverage" ]; then coveralls; fi
|
Use old stable, previous stable, and current stable | language: ruby
rvm:
- 2.1.7
before_install: gem install bundler -v 1.11.2
| language: ruby
rvm:
- 2.1.8
- 2.2.4
- 2.3.0
before_install: gem install bundler
script: bundle exec rake
notifications:
email:
recipients:
- transit-it@admin.umass.edu
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.