Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Change feature requests to use feature-unconfirmed label | name: Feature request
description: Suggest a feature for one of our libraries.
labels: [feature]
body:
- type: dropdown
attributes:
label: Core Library
multiple: true
options:
- "MSAL.js v2 (@azure/msal-browser)"
- "MSAL.js v1 (@azure/msal or msal)"
- "MSAL Node (@azure/msal-node)"
- "Passport Azure AD (passport-azure-ad)"
- "ADAL Node (adal-node)"
- "ADAL.js (adal.js)"
validations:
required: true
- type: dropdown
attributes:
label: Wrapper Library
multiple: true
options:
- "MSAL Angular (@azure/msal-angular)"
- "MSAL React (@azure/msal-react)"
- "MSAL Node Extensions (@azure/msal-node-extensions)"
- "ADAL Angular (adal-angular)"
- "Not Applicable"
validations:
required: true
- type: textarea
attributes:
label: Description
description: "Please briefly describe the feature you are requesting."
validations:
required: true
- type: dropdown
attributes:
label: Source
description: "Are you an internal or external customer?"
options:
- Internal (Microsoft)
- External (Customer)
validations:
required: true
| name: Feature request
description: Suggest a feature for one of our libraries.
labels: [feature-unconfirmed, question]
body:
- type: dropdown
attributes:
label: Core Library
multiple: true
options:
- "MSAL.js v2 (@azure/msal-browser)"
- "MSAL.js v1 (@azure/msal or msal)"
- "MSAL Node (@azure/msal-node)"
- "Passport Azure AD (passport-azure-ad)"
- "ADAL Node (adal-node)"
- "ADAL.js (adal.js)"
validations:
required: true
- type: dropdown
attributes:
label: Wrapper Library
multiple: true
options:
- "MSAL Angular (@azure/msal-angular)"
- "MSAL React (@azure/msal-react)"
- "MSAL Node Extensions (@azure/msal-node-extensions)"
- "ADAL Angular (adal-angular)"
- "Not Applicable"
validations:
required: true
- type: textarea
attributes:
label: Description
description: "Please briefly describe the feature you are requesting."
validations:
required: true
- type: dropdown
attributes:
label: Source
description: "Are you an internal or external customer?"
options:
- Internal (Microsoft)
- External (Customer)
validations:
required: true
|
Set "XDEBUG_CONFIG" and "PHP_IDE_CONFIG" environment variables | ---
- name: Set name of directory for XDebug
set_fact:
cikit_php_xdebug: "xdebug-{{ php.xdebug }}"
- name: Download XDebug
get_url:
url: "https://xdebug.org/files/{{ cikit_php_xdebug }}.tgz"
dest: "/tmp/{{ cikit_php_xdebug }}.tgz"
- name: Unarchive XDebug
shell: "tar -xf /tmp/{{ cikit_php_xdebug }}.tgz -C /tmp/"
args:
# Unarchive module does not work properly in Ansible 2.1.1.0.
warn: no
- include_tasks: fixtures/compile.yml name="XDebug" dir="/tmp/{{ cikit_php_xdebug }}"
| ---
- name: Set name of directory for XDebug
set_fact:
cikit_php_xdebug: "xdebug-{{ php.xdebug }}"
- name: Download XDebug
get_url:
url: "https://xdebug.org/files/{{ cikit_php_xdebug }}.tgz"
dest: "/tmp/{{ cikit_php_xdebug }}.tgz"
- name: Unarchive XDebug
shell: "tar -xf /tmp/{{ cikit_php_xdebug }}.tgz -C /tmp/"
args:
# Unarchive module does not work properly in Ansible 2.1.1.0.
warn: no
- include_tasks: fixtures/compile.yml name="XDebug" dir="/tmp/{{ cikit_php_xdebug }}"
- name: Set environment variable
lineinfile:
dest: /etc/bash.bashrc
line: 'export {{ item.key }}="{{ item.value }}"'
regexp: "{{ item.value | regex_escape }}"
insertbefore: BOF
with_dict:
XDEBUG_CONFIG: "idekey={{ php.extensions.xdebug.config.idekey }}"
PHP_IDE_CONFIG: "serverName={{ ansible_fqdn }}"
|
Update from Forestry.io - Updated Forestry configuration | ---
label: Posts
hide_body: false
is_partial: false
fields:
- type: text
default: post
label: Layout
name: layout
hidden: true
- type: textarea
name: summary
label: Summary
- type: select
config:
source:
type: simple
options:
- tutorials
- research
- tools
- ai
label: Category
name: categories
- type: text
name: keywords
label: Keywords
- type: tag_list
name: tags
label: Tags
pages:
- _posts/test.md
- _posts/2018-06-10-chatbots-a-different-approach-for-messaging.md
| ---
label: Posts
hide_body: false
is_partial: false
fields:
- type: text
default: post
label: Layout
name: layout
hidden: true
- type: textarea
name: summary
label: Summary
description: Meta description
config:
required: true
- type: select
config:
source:
type: simple
options:
- tutorials
- research
- tools
- ai
label: Category
name: categories
- type: text
name: keywords
label: Keywords
- type: tag_list
name: tags
label: Tags
pages:
- _posts/test.md
- _posts/2018-06-10-chatbots-a-different-approach-for-messaging.md
|
Add date l10n (and Show Product translation) | tl:
views:
button:
create: "Likhain"
link:
back: "Bumalik"
product:
header:
new: "Bagong Produkto"
activerecord:
models:
product: "Produkto"
attributes:
product:
name: "Pangalan"
description: "Paglalarawan"
cost: "Presyo"
stock: "Dami"
errors:
template:
header:
one: "May isang mali na humahadlang sa pag-save ng %{model}"
other: "May %{count} mali na humahadlang sa pag-save ng %{model}"
messages:
blank: "Dapat ipuno ang %{attribute}"
errors:
format: "%{message}" | tl:
date:
formats:
default: "%Y-%m-%d"
short: "%b %d"
long: "ika-%d ng %B, %Y"
day_names: [Linggo, Lunes, Martes, Miyerkules, Huwebes, Biyernes, Sabado]
abbr_day_names: [Lin, Lun, Mar, Mye, Huw, Bye, Sab]
# Don't forget the nil at the beginning; there's no such thing as a 0th month
# Also, the line below is a single line
month_names: [~, Enero, Pebrero, Marso, Abril, Mayo, Hunyo, Hulyo, Agosto, Setyembre, Oktubre, Nobyembre, Disyembre]
abbr_month_names: [~, Ene, Peb, Mar, Abr, May, Hun, Hul, Ago, Set, Okt, Nob, Dis]
time:
formats:
default: "ika-%d ng %B, %Y %I:%M:%S %p"
short: "%d %b %H:%M"
long: "ika-%d ng %B, %Y %I:%M %p"
am: "AM"
pm: "PM"
views:
button:
create: "Likhain"
link:
back: "Bumalik"
product:
header:
new: "Bagong Produkto"
show: "Detalye ng Produkto"
activerecord:
models:
product: "Produkto"
attributes:
product:
name: "Pangalan"
description: "Paglalarawan"
cost: "Presyo"
stock: "Dami"
errors:
template:
header:
one: "May isang mali na humahadlang sa pag-save ng %{model}"
other: "May %{count} mali na humahadlang sa pag-save ng %{model}"
messages:
blank: "Dapat ipuno ang %{attribute}"
errors:
format: "%{message}" |
Update renovatebot/github-action action to v34.24.0 | name: Renovate-Dry-Run
on:
workflow_dispatch:
inputs:
pac_to_use:
description: "Name of the workflow secret to use"
type: string
required: true
branch:
description: "Branch that renovate should operate on"
type: string
required: true
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Renovate-dry-run
uses: renovatebot/github-action@v34.23.2
with:
configurationFile: renovate.json
token: ${{secrets.$inputs.pac_to_use}}
env:
LOG_LEVEL: "debug"
RENOVATE_DRY_RUN: "full"
RENOVATE_BASE_BRANCHES: ${{inputs.branch}}
RENOVATE_REPOSITORIES: "TNG/JGiven"
| name: Renovate-Dry-Run
on:
workflow_dispatch:
inputs:
pac_to_use:
description: "Name of the workflow secret to use"
type: string
required: true
branch:
description: "Branch that renovate should operate on"
type: string
required: true
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Renovate-dry-run
uses: renovatebot/github-action@v34.24.0
with:
configurationFile: renovate.json
token: ${{secrets.$inputs.pac_to_use}}
env:
LOG_LEVEL: "debug"
RENOVATE_DRY_RUN: "full"
RENOVATE_BASE_BRANCHES: ${{inputs.branch}}
RENOVATE_REPOSITORIES: "TNG/JGiven"
|
Add example for dvsim invocation | # Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
name: Test Triage
description: Issue to track regression failure triaging.
title: "[test-triage] "
labels: ["Component:TestTriage"]
body:
- type: dropdown
id: hierarchy
attributes:
label: Hierarchy of regression failure
description: What hierarchy level is the regression failure?
options:
- Block level
- Chip Level
validations:
required: true
- type: textarea
id: description
attributes:
label: Failure Description
description: A description of the test failure
placeholder: >
Example: UVM_FATAL @ 1.270237 us: (mem_bkdr_util.sv:480) [mem_bkdr_util[Rom]] file test_rom_sim_dv.scr.39.vmem could not be opened for r mode
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
value: |
- Commit hash where failure was observed
- dvsim invocation command to reproduce the failure, inclusive of build and run seeds
- Kokoro build number if applicable
validations:
required: true
- type: textarea
id: related-tests
attributes:
label: Tests with similar or related failures
value: |
- [ ] Test_name_1
- [ ] Test_name_2
| # Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
name: Test Triage
description: Issue to track regression failure triaging.
title: "[test-triage] "
labels: ["Component:TestTriage"]
body:
- type: dropdown
id: hierarchy
attributes:
label: Hierarchy of regression failure
description: What hierarchy level is the regression failure?
options:
- Block level
- Chip Level
validations:
required: true
- type: textarea
id: description
attributes:
label: Failure Description
description: A description of the test failure
placeholder: >
Example: UVM_FATAL @ 1.270237 us: (mem_bkdr_util.sv:480) [mem_bkdr_util[Rom]] file test_rom_sim_dv.scr.39.vmem could not be opened for r mode
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
value: |
- Commit hash where failure was observed
- dvsim invocation command to reproduce the failure, inclusive of build and run seeds:
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i {TEST_NAME} --fixed-seed {FAILING_SEED} --build-seed {BUILD_SEED} --waves -v h
- Kokoro build number if applicable
validations:
required: true
- type: textarea
id: related-tests
attributes:
label: Tests with similar or related failures
value: |
- [ ] Test_name_1
- [ ] Test_name_2
|
Handle a missing jenkins plugins configuration gracefully | - name: DOWNLOAD | CREATE PLUGIN CACHE DIRECTORY
# =====================================================================
sudo: No
delegate_to: 127.0.0.1
action: file
args:
path: "{{download_cache}}/jenkins/jenkins-plugin-{{item.name}}/"
state: "directory"
with_items: jenkins_plugins
- name: DOWNLOAD | PLUGINS
# =====================================================================
sudo: No
delegate_to: 127.0.0.1
action: get_url
args:
url: "{{jenkins_plugin_download_url}}/{{item.name}}/{{item.version}}/{{item.name}}.hpi"
dest: "{{download_cache}}/jenkins/jenkins-plugin-{{item.name}}/{{item.name}}-{{item.version}}.hpi"
when: item.enabled
with_items: jenkins_plugins
| - name: DOWNLOAD | CREATE PLUGIN CACHE DIRECTORY
# =====================================================================
sudo: No
delegate_to: 127.0.0.1
action: file
args:
path: "{{download_cache}}/jenkins/jenkins-plugin-{{item.name}}/"
state: "directory"
with_items: "{{jenkins_plugins}}"
- name: DOWNLOAD | PLUGINS
# =====================================================================
sudo: No
delegate_to: 127.0.0.1
action: get_url
args:
url: "{{jenkins_plugin_download_url}}/{{item.name}}/{{item.version}}/{{item.name}}.hpi"
dest: "{{download_cache}}/jenkins/jenkins-plugin-{{item.name}}/{{item.name}}-{{item.version}}.hpi"
when: item.enabled
with_items: "{{jenkins_plugins}}"
|
Update ansible script to use version 6.5 GA | ---
dynatrace_server_installer_bitsize: 64
dynatrace_server_linux_install_dir: /opt
dynatrace_server_linux_installer_file_name: dynatrace-server-linux-x86.jar
dynatrace_server_linux_installer_file_url: "http://downloads.dynatracesaas.com/6.3/{{ dynatrace_server_linux_installer_file_name }}"
dynatrace_server_collector_port: 6698
dynatrace_server_do_pwh_connection: no
dynatrace_server_pwh_connection_hostname: localhost
dynatrace_server_pwh_connection_port: 5432
dynatrace_server_pwh_connection_dbms: postgresql
dynatrace_server_pwh_connection_database: dynatrace
dynatrace_server_pwh_connection_username: dynatrace
dynatrace_server_pwh_connection_password: dynatrace
dynatrace_server_owner: dynatrace
dynatrace_server_group: dynatrace
dynatrace_server_role_name: Dynatrace.Dynatrace-Server
dynatrace_server_pwh_url: https://localhost:8021/rest/management/pwhconnection/config.json
dynatrace_server_user: "admin"
dynatrace_server_password: "admin"
| ---
dynatrace_server_installer_bitsize: 64
dynatrace_server_linux_install_dir: /opt
dynatrace_server_linux_installer_file_name: dynatrace-server-6.5.0.1289-linux-x86.jar
dynatrace_server_linux_installer_file_url: "https://files.dynatrace.com/downloads/OnPrem/dynaTrace/6.5/6.5.0.1289/{{ dynatrace_server_linux_installer_file_name }}"
dynatrace_server_collector_port: 6699
dynatrace_server_do_pwh_connection: no
dynatrace_server_pwh_connection_hostname: localhost
dynatrace_server_pwh_connection_port: 5432
dynatrace_server_pwh_connection_dbms: postgresql
dynatrace_server_pwh_connection_database: dynatrace
dynatrace_server_pwh_connection_username: dynatrace
dynatrace_server_pwh_connection_password: dynatrace
dynatrace_server_owner: dynatrace
dynatrace_server_group: dynatrace
dynatrace_server_role_name: Dynatrace.Dynatrace-Server
dynatrace_server_pwh_url: https://localhost:8021/rest/management/pwhconnection/config.json
dynatrace_server_user: "admin"
dynatrace_server_password: "admin"
|
Update from Hackage at 2022-05-15T08:42:32Z | homepage: https://github.com/jwiegley/bindings-dsl
changelog-type: ''
hash: b486a4a93e614111b637c6ff7e719c19f3f7d921cbf50930e112e3948246e688
test-bench-deps: {}
maintainer: John Wiegley <johnw@newartisans.com>
synopsis: Project bindings-* raw interface to gpgme
changelog: ''
basic-deps:
base: ! '>=3 && <5'
bindings-DSL: ! '>=1.0.16 && <1.1'
all-versions:
- '0.1'
- 0.1.1
- 0.1.2
- 0.1.3
- 0.1.4
- 0.1.6
- 0.1.7
author: Maurício C. Antunes
latest: 0.1.7
description-type: haddock
description: ! 'Low level bindings to gpgme, part
of the @bindings-*@ project. See:
<https://github.com/jwiegley/bindings-dsl>
<http://www.gnupg.org/related_software/gpgme>'
license-name: BSD-3-Clause
| homepage: https://github.com/rethab/bindings-dsl
changelog-type: ''
hash: 91ce499f1fd03129663f52dfbebd843502aba77e2c52e1da44f976db64ca2fc3
test-bench-deps: {}
maintainer: Reto <rethab@protonmail.ch>
synopsis: Project bindings-* raw interface to gpgme
changelog: ''
basic-deps:
base: '>=3 && <5'
bindings-DSL: '>=1.0.16 && <1.1'
all-versions:
- '0.1'
- 0.1.1
- 0.1.2
- 0.1.3
- 0.1.4
- 0.1.6
- 0.1.7
- 0.1.8
author: Maurício C. Antunes
latest: 0.1.8
description-type: haddock
description: |-
Low level bindings to gpgme, part
of the @bindings-*@ project. See:
<https://github.com/rethab/bindings-dsl>
<http://www.gnupg.org/related_software/gpgme>
For a higher-level library, see:
<https://github.com/rethab/h-gpgme>
license-name: BSD-3-Clause
|
Update from Hackage at 2017-05-25T02:20:44Z | homepage: not yet available
changelog-type: ''
hash: 159ff3f68d9dca366bbc5a7e7f8810a95a4878abfc6d5209cb4d4ecfce1c3e9a
test-bench-deps: {}
maintainer: Hironao Komatsu <hirkmt@gmail.com>
synopsis: Image converter to 256-colored text.
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4 && <5'
terminfo: -any
Imlib: -any
all-versions:
- '0.0.1'
- '0.0.2'
author: Hironao Komatsu
latest: '0.0.2'
description-type: haddock
description: Camh is a program to display image files onto text terminals.
license-name: BSD3
| homepage: not yet available
changelog-type: ''
hash: cbff2e653a2994882f3bf324515d7ddddd95fc2c3524af8c8068daa36086fcc4
test-bench-deps: {}
maintainer: Hironao Komatsu <hirkmt@gmail.com>
synopsis: write image files onto 256(or 24bit) color terminals.
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4 && <5'
terminfo: -any
Imlib: -any
all-versions:
- '0.0.1'
- '0.0.2'
- '0.0.3'
author: Hironao Komatsu
latest: '0.0.3'
description-type: haddock
description: Camh is a program to display image files onto text terminals.
license-name: BSD3
|
Update from Hackage at 2017-07-25T22:34:32Z | homepage: https://github.com/AntonXue/SSTG#readme
changelog-type: ''
hash: 5642ecdf1d794b49508811b59c18ef44e18a2d2a119833d0052e905723215bbe
test-bench-deps:
base: -any
SSTG: -any
containers: ! '>=0.5 && <0.6'
maintainer: anton.xue@yale.edu
synopsis: STG Symbolic Execution
changelog: ''
basic-deps:
ghc: -any
base: ! '>=4.7 && <5'
SSTG: -any
containers: ==0.5.*
ghc-paths: -any
all-versions:
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
author: Anton Xue
latest: '0.1.0.3'
description-type: markdown
description: ! '# SSTG
'
license-name: BSD3
| homepage: https://github.com/AntonXue/SSTG#readme
changelog-type: ''
hash: b50824a67bd131eff5f00b1fc134f6e4312dad25953e8f38dd7ca67d35fd6223
test-bench-deps:
base: -any
SSTG: -any
containers: ! '>=0.5 && <0.6'
maintainer: anton.xue@yale.edu
synopsis: STG Symbolic Execution
changelog: ''
basic-deps:
ghc: -any
base: ! '>=4.7 && <5'
SSTG: -any
containers: ==0.5.*
ghc-paths: -any
all-versions:
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
author: Anton Xue
latest: '0.1.0.4'
description-type: markdown
description: ! '# SSTG
'
license-name: BSD3
|
Update hEARtest to 1.4 (140) | Categories:
- Sports & Health
License: GPL-3.0-only
AuthorName: woheller69
SourceCode: https://github.com/woheller69/audiometry
IssueTracker: https://github.com/woheller69/audiometry/issues
AutoName: hEARtest
RepoType: git
Repo: https://github.com/woheller69/audiometry
Builds:
- versionName: '1.2'
versionCode: 120
commit: V1.2
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 130
commit: 375603c6959d02c8b5cb2e604007ae4791d9db97
subdir: app
gradle:
- yes
AutoUpdateMode: Version V%v
UpdateCheckMode: Tags
CurrentVersion: '1.3'
CurrentVersionCode: 130
| Categories:
- Sports & Health
License: GPL-3.0-only
AuthorName: woheller69
SourceCode: https://github.com/woheller69/audiometry
IssueTracker: https://github.com/woheller69/audiometry/issues
AutoName: hEARtest
RepoType: git
Repo: https://github.com/woheller69/audiometry
Builds:
- versionName: '1.2'
versionCode: 120
commit: V1.2
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 130
commit: 375603c6959d02c8b5cb2e604007ae4791d9db97
subdir: app
gradle:
- yes
- versionName: '1.4'
versionCode: 140
commit: 462b5eb98ee4743749f4080d1766dade5273855b
subdir: app
gradle:
- yes
AutoUpdateMode: Version V%v
UpdateCheckMode: Tags
CurrentVersion: '1.4'
CurrentVersionCode: 140
|
Use PAT for update assets manifest | name: Update assets-manifest
on:
workflow_run:
workflows: ["Urlaubsverwaltung CI"]
branches: ["dependabot/npm_and_yarn/**"]
types:
- completed
workflow_dispatch:
jobs:
build:
name: Update assets-manifest
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Cache npm dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install node and npm
run: ./mvnw --batch-mode frontend:install-node-and-npm
- name: Install npm dependencies and build
run: |
npm ci
npm run build
- name: Assets-Manifest commit
run: |
git config --local user.name "Tobias Schneider[bot]"
git config --local user.email schneider@synyx.de
git diff --quiet --name-only src/main/webapp/WEB-INF/assets-manifest.json || (git add src/main/webapp/WEB-INF/assets-manifest.json; git commit -m "[dependabot skip] Adapt assets-manifest")
- name: Assets-Manifest push
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
| name: Update assets-manifest
on:
workflow_run:
workflows: ["Urlaubsverwaltung CI"]
branches: ["dependabot/npm_and_yarn/**"]
types:
- completed
workflow_dispatch:
jobs:
build:
name: Update assets-manifest
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Cache npm dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install node and npm
run: ./mvnw --batch-mode frontend:install-node-and-npm
- name: Install npm dependencies and build
run: |
npm ci
npm run build
- name: Assets-Manifest commit
run: |
git config --local user.name "Tobias Schneider[bot]"
git config --local user.email schneider@synyx.de
git diff --quiet --name-only src/main/webapp/WEB-INF/assets-manifest.json || (git add src/main/webapp/WEB-INF/assets-manifest.json; git commit -m "[dependabot skip] Adapt assets-manifest")
- name: Assets-Manifest push
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.AM_PAT }}
branch: ${{ github.ref }}
|
Allow failing build for 5.4 and 5.5 | language: php
php:
- "5.5"
- "5.4"
- "5.3"
services:
- mysql
- memcached
- elasticsearch
- redis-server
before_script:
- tests/travis/install-php-runkit.sh
- tests/travis/install-php-svm.sh
- printf "\n" | pecl install imagick
- pecl install stats
- pecl install gearman
- sh -c "if [ `php-config --vernum` -ge 50500 ]; then printf "yes\n" | pecl install apcu-beta; fi"
- phpenv config-add tests/travis/php.ini
- phpenv config-add tests/travis/php-$TRAVIS_PHP_VERSION.ini
- composer self-update
- composer install --dev
- scripts/cm.php app generate-config-local tests/travis/config.json
- scripts/cm.php app set-deploy-version
script: phpunit --debug
notifications:
email: false
| language: php
php:
- 5.3
- 5.4
- 5.5
services:
- mysql
- memcached
- elasticsearch
- redis-server
before_script:
- tests/travis/install-php-runkit.sh
- tests/travis/install-php-svm.sh
- printf "\n" | pecl install imagick
- pecl install stats
- pecl install gearman
- sh -c "if [ `php-config --vernum` -ge 50500 ]; then printf "yes\n" | pecl install apcu-beta; fi"
- phpenv config-add tests/travis/php.ini
- phpenv config-add tests/travis/php-$TRAVIS_PHP_VERSION.ini
- composer self-update
- composer install --dev
- scripts/cm.php app generate-config-local tests/travis/config.json
- scripts/cm.php app set-deploy-version
script: phpunit --debug
matrix:
allow_failures:
- php: 5.4
- php: 5.5
notifications:
email: false
|
Convert sample config to YAML too | <?php
/*
* general-example:
* Example values for the "general" config file.
*
* Configuration parameters, in PHP syntax. Configuration parameters are set
* using the PHP define('OPTION_...', '...') function. Both perl and PHP code
* parse this properly, so you can use comments and conditionals and whatnot,
* but unless essential it's better to keep it simple....
*
* Copy this file to one called "general" in the same directory. Or
* have multiple config files and use a symlink to change between them.
*
* Copyright (c) 2010 UK Citizens Online Democracy. All rights reserved.
*
*/
define( 'OPTION_MZALENDO_DB_HOST', 'localhost' );
define( 'OPTION_MZALENDO_DB_PORT', '5432' );
define( 'OPTION_MZALENDO_DB_USER', '' );
define( 'OPTION_MZALENDO_DB_NAME', '' );
define( 'OPTION_MZALENDO_DB_PASS', '' );
define( 'OPTION_STAGING', 1 );
define( 'OPTION_TIME_ZONE', 'Europe/London' );
define( 'OPTION_DJANGO_SECRET_KEY', 'abcabc');
define( 'OPTION_MAPIT_URL', 'http://kenya.mapit.mysociety.org' );
?>
| # general-example:
# Example values for the "general" config file.
#
# Configuration parameters, in YAML syntax.
#
# Copy this file to one called "general.yml" in the same directory. Or
# have multiple config files and use a symlink to change between them.
#
# Copyright (c) 2011 UK Citizens Online Democracy. All rights reserved.
MZALENDO_DB_HOST: 'localhost'
MZALENDO_DB_PORT: '5432'
MZALENDO_DB_USER: ''
MZALENDO_DB_NAME: ''
MZALENDO_DB_PASS: ''
STAGING: '1'
TIME_ZONE: 'Europe/London'
DJANGO_SECRET_KEY: 'abcabc'
MAPIT_URL: 'http://kenya.mapit.mysociety.org'
|
Add Ruby 2.1.0 to Travis CI mix. | language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx
| language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx
|
Add environment variable for CI | language: go
go:
- tip
install:
- go get github.com/stretchr/testify/assert
- go get github.com/codegangsta/cli
script: go test github.com/ziagrosvenor/pact-verify-cli/pact-verify && go test github.com/ziagrosvenor/pact-verify-cli/run
| language: go
go:
- tip
install:
- go get github.com/stretchr/testify/assert
- go get github.com/codegangsta/cli
script: go test $CI_TEST_DIR/pact-verify && go test $CI_TEST_DIR/run
|
Install babel-core globally for Travis | deploy:
provider: gae
keyfile: Cook AdLib-629247c92d53.json
default: true
project: cook-adlib
before_install:
- openssl aes-256-cbc -K $encrypted_b34ad3c3bd8d_key -iv $encrypted_b34ad3c3bd8d_iv
-in Cook\ AdLib-629247c92d53.json.enc -out Cook\ AdLib-629247c92d53.json -d
before_script:
- npm install -g babel-eslint
- npm install -g eslint
- npm install -g gulp
script: gulp
language: node_js
node_js:
- "4.1"
| deploy:
provider: gae
keyfile: Cook AdLib-629247c92d53.json
default: true
project: cook-adlib
before_install:
- openssl aes-256-cbc -K $encrypted_b34ad3c3bd8d_key -iv $encrypted_b34ad3c3bd8d_iv
-in Cook\ AdLib-629247c92d53.json.enc -out Cook\ AdLib-629247c92d53.json -d
before_script:
- npm install -g babel-core
- npm install -g babel-eslint
- npm install -g eslint
- npm install -g gulp
script: gulp
language: node_js
node_js:
- "4.1"
|
Test with Node.js 5.1 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
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.2'
- '5.1'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
|
Fix typo (supposed to use make, not rake) | language: node_js
node_js:
- "0.8"
- "0.10"
after_script:
- rake update-coverage
| language: node_js
node_js:
- "0.8"
- "0.10"
after_script:
- make update-coverage
|
Allow failures on Rails 5.2 running on Ruby 2.2 | # In .travis.yml
gemfile:
- gemfiles/rails_4.2.0.gemfile
- gemfiles/rails_5.0.0.gemfile
- gemfiles/rails_5.1.0.gemfile
- gemfiles/rails_5.2.0.gemfile
- gemfiles/rails_6.0.0.gemfile
language: ruby
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
matrix:
exclude:
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.2
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.3
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.4
- gemfile: gemfiles/rails_4.2.0.gemfile
rvm: 2.6
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
script:
- bundle exec rspec
| # In .travis.yml
gemfile:
- gemfiles/rails_4.2.0.gemfile
- gemfiles/rails_5.0.0.gemfile
- gemfiles/rails_5.1.0.gemfile
- gemfiles/rails_5.2.0.gemfile
- gemfiles/rails_6.0.0.gemfile
language: ruby
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
jobs:
allow_failures:
- gemfile: gemfiles/rails_5.2.0.gemfile
rvm: 2.2
exclude:
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.2
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.3
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.4
- gemfile: gemfiles/rails_4.2.0.gemfile
rvm: 2.6
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
script:
- bundle exec rspec
|
Use newer Node versions with Travis | language: node_js
node_js:
- 4
- 5
- 6
- 7
script: npm run test-coverage
| language: node_js
node_js:
- 6
- 7
- 8
- 9
script: npm run test-coverage
|
Add build on PHP 5.3.2 | language: php
before_script:
- sudo apt-get update
- sudo apt-get install -y ffmpeg libavcodec-extra-53
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
php:
- 5.3
- 5.4
| language: php
before_script:
- sudo apt-get update
- sudo apt-get install -y ffmpeg libavcodec-extra-53
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
php:
- 5.3.2
- 5.3
- 5.4
|
Add PHP 5.6 and HHVM as part of build matrix. | language: php
php:
- 5.3
- 5.4
- 5.5
services:
- riak
- mongodb
- memcached
- redis-server
before_script:
- pecl install riak
- composer self-update
- composer --prefer-source --dev install
- phpenv config-add ./Tests/travis/php.ini
script:
- ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
- ./vendor/bin/phpcs -np --extensions=php --ignore=vendor/*,Tests/* --standard=ruleset.xml .
after_script:
- php ./vendor/bin/coveralls -v
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
services:
- riak
- mongodb
- memcached
- redis-server
before_script:
- pecl install riak
- composer self-update
- composer --prefer-source --dev install
- phpenv config-add ./Tests/travis/php.ini
script:
- ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
- ./vendor/bin/phpcs -np --extensions=php --ignore=vendor/*,Tests/* --standard=ruleset.xml .
after_script:
- php ./vendor/bin/coveralls -v
matrix:
allow_failures:
- php: hhvm
|
Use NPX to run Greenkeeper with Node.js 8 | sudo: false
language: node_js
notifications:
email: false
node_js:
- 4
- 6
matrix:
fast_finish: true
script: npm run travis
before_install:
- npm i -g npm@^3.0.0
before_script:
- npm prune
after_success:
- npm run semantic-release
| sudo: false
language: node_js
notifications:
email: false
node_js:
- 4
- 6
matrix:
fast_finish: true
env:
global:
- BUILD_LEADER_ID=2
script: npm run travis
before_install:
- npm i -g npm@^3.0.0
before_script:
- npm prune
after_success:
- npm install -g npx
- npx -p node@8 npm run semantic-release
|
Update firefox installation on Travis CI | language: ruby
# This is going to enable build on VMs instead of containers
sudo: required
dist: trusty
cache:
bundler: true
directories:
- $HOME/.nvm/versions/node
rvm:
- 2.2.5
- 2.3.1
env:
- "DB=postgresql"
before_install:
- nvm install v6.7.0
- node -v
- npm -v
- npm install -g phantomjs-prebuilt
- phantomjs -v
- sudo apt-get install firefox=45.0.2+build1-0ubuntu1 -y
- firefox -v
before_script:
- mv config/symmetric-encryption.travis config/symmetric-encryption.yml
- bundle exec rake fulcrum:setup db:setup
- bundle exec rails generate symmetric_encryption:new_keys test
- phantomjs -v
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
script:
- "bundle exec rake travis"
| language: ruby
# This is going to enable build on VMs instead of containers
sudo: required
dist: trusty
cache:
bundler: true
directories:
- $HOME/.nvm/versions/node
rvm:
- 2.2.5
- 2.3.1
env:
- "DB=postgresql"
addons:
firefox: 45
before_install:
- nvm install v6.7.0
- node -v
- npm -v
- npm install -g phantomjs-prebuilt
- phantomjs -v
- firefox -v
before_script:
- mv config/symmetric-encryption.travis config/symmetric-encryption.yml
- bundle exec rake fulcrum:setup db:setup
- bundle exec rails generate symmetric_encryption:new_keys test
- phantomjs -v
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
script:
- "bundle exec rake travis"
|
Set QMAKE_CC and CXX flag for Travis builds | sudo: required
dist: trusty
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y qt5-default libqt5svg5-dev
script:
- mkdir build
- cd build
- qmake ..
- make
| sudo: required
dist: trusty
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y qt5-default libqt5svg5-dev
script:
- export QMAKE_CC=$CC
- export QMAKE_CXX=$CXX
- mkdir build
- cd build
- qmake ..
- make
|
Enable code coverage on Py2 too | language: python
sudo: false
python:
- 2.7
- 3.4
- 3.5
- 3.7-dev
- pypy
- pypy3.5
matrix:
include:
- python: 3.6
env: COVERAGE='on'
install:
- pip install -U -e .[develop]
script:
# Guard against invalid escapes in strings, like '\s'.
- python -We:invalid -m compileall -f mpmath -q
- pycodestyle
- |
if [ -n "${COVERAGE}" ]; then
py.test --cov mpmath
else
py.test
fi
after_success: test -n "${COVERAGE}" && codecov
notifications:
email: false
| language: python
sudo: false
python:
- 2.7
- 3.4
- 3.5
- 3.7-dev
- pypy
- pypy3.5
matrix:
include:
- python: 2.7
env: COVERAGE='on'
- python: 3.6
env: COVERAGE='on'
install:
- pip install -U -e .[develop]
script:
# Guard against invalid escapes in strings, like '\s'.
- python -We:invalid -m compileall -f mpmath -q
- pycodestyle
- |
if [ -n "${COVERAGE}" ]; then
py.test --cov mpmath
else
py.test
fi
after_success: test -n "${COVERAGE}" && codecov
notifications:
email: false
|
Write NPM token to ~/.npmrc | language: node_js
node_js:
- node
services:
- docker
addons:
sauce_connect: true
before_install:
- docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-tag-1.37.33-64bit bash
before_script:
- python -m SimpleHTTPServer &
script:
- docker exec -it emscripten make
- node test-browser/runner --file full.html --browser chrome --browser safari --browser firefox
- node test-browser/runner --file lite.html --browser chrome --browser safari --browser firefox
- node test-browser/runner --file fabric.html --browser chrome --browser safari --browser firefox --browser MicrosoftEdge --browser "internet explorer"
before_deploy:
- rvm $(travis_internal_ruby) do ruby -S gem install octokit git
deploy:
provider: script
script: rvm $(travis_internal_ruby) do ruby -rubygems deploy.rb
skip_cleanup: true
on:
tags: true
| language: node_js
node_js:
- node
services:
- docker
addons:
sauce_connect: true
before_install:
- docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-tag-1.37.33-64bit bash
before_script:
- python -m SimpleHTTPServer &
script:
- docker exec -it emscripten make
- node test-browser/runner --file full.html --browser chrome --browser safari --browser firefox
- node test-browser/runner --file lite.html --browser chrome --browser safari --browser firefox
- node test-browser/runner --file fabric.html --browser chrome --browser safari --browser firefox --browser MicrosoftEdge --browser "internet explorer"
before_deploy:
- rvm $(travis_internal_ruby) do ruby -S gem install octokit git
- printf "//registry.npmjs.org/:_authToken=%s\n" "$NPM_TOKEN" >> ~/.npmrc
deploy:
provider: script
script: rvm $(travis_internal_ruby) do ruby -rubygems deploy.rb
skip_cleanup: true
on:
tags: true
|
Add CI build with memfd feature | language: rust
sudo: false
rust:
- nightly
os:
- linux
- osx
env:
- FEATURES="unstable"
- FEATURES="unstable force-inprocess"
notifications:
webhooks: http://build.servo.org:54856/travis
script:
- cargo build --features "$FEATURES"
- cargo test --features "$FEATURES"
| language: rust
sudo: false
matrix:
include:
- os: linux
rust: nightly
env: FEATURES="unstable"
- os: linux
rust: nightly
env: FEATURES="unstable force-inprocess"
- os: linux
rust: nightly
env: FEATURES="unstable memfd"
- os: osx
rust: nightly
env: FEATURES="unstable"
- os: osx
rust: nightly
env: FEATURES="unstable force-inprocess"
notifications:
webhooks: http://build.servo.org:54856/travis
script:
- cargo build --features "$FEATURES"
- cargo test --features "$FEATURES"
|
Add -B -V to Maven invocation. | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
sudo: false
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
after_success:
- mvn -Ptravis-jacoco clean test jacoco:report coveralls:report
| # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
sudo: false
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
after_success:
- mvn -B -V -Ptravis-jacoco clean test jacoco:report coveralls:report
|
Add go get on TravisCI | language: go
env:
- GO111MODULE=on
go:
- "1.10.x"
- "1.11.x"
matrix:
allow_failures:
- go: tip
install:
- go build ./cmd/...
script:
- go test -race -v ./...
| language: go
env:
- GO111MODULE=on
go:
- "1.10.x"
- "1.11.x"
matrix:
allow_failures:
- go: tip
install:
- go get ./...
- go build ./cmd/...
script:
- go test -race -v ./...
|
Add bower to Travis CI | language: node_js
node_js:
- 0.10
- 0.8
before_script:
coffee -c -o . src
| language: node_js
node_js:
- 0.10
- 0.8
before_script:
coffee -c -o . src
npm install -g bower
bower install
|
Build example project in Travis | language: objective-c
cache: cocoapods
install: pod install || pod install --repo-update
xcode_workspace: Swindler.xcworkspace
xcode_scheme: Swindler
script: xcodebuild -workspace Swindler.xcworkspace -scheme Swindler build test
deploy:
- provider: script
script: bash .scripts/update-gh-pages.sh
skip_cleanup: true
on:
all_branches: true
condition: '"$TRAVIS_BRANCH" == "master" || "$TRAVIS_TAG" != ""'
| language: objective-c
cache: cocoapods
install: pod install || pod install --repo-update
xcode_workspace: Swindler.xcworkspace
xcode_scheme: Swindler
script:
- xcodebuild -workspace Swindler.xcworkspace -scheme Swindler build test
- xcodebuild -workspace Swindler.xcworkspace -scheme SwindlerExample build
deploy:
- provider: script
script: bash .scripts/update-gh-pages.sh
skip_cleanup: true
on:
all_branches: true
condition: '"$TRAVIS_BRANCH" == "master" || "$TRAVIS_TAG" != ""'
|
Switch to Travis' container-based infrastructure | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: hhvm
fast_finish: true
before_install:
- travis_retry composer self-update
install:
- composer install --prefer-source
script: phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
- php vendor/bin/test-reporter --coverage-report=coverage.clover --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
addons:
code_climate:
repo_token: 1cf55b6c7d06b84ad028ea6d0022fc5dfa2e3127832c943e7a9da7c2995eb869
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: hhvm
fast_finish: true
before_install:
- travis_retry composer self-update
install:
- composer install --prefer-source
script: phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
- php vendor/bin/test-reporter --coverage-report=coverage.clover --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
sudo: false
addons:
code_climate:
repo_token: 1cf55b6c7d06b84ad028ea6d0022fc5dfa2e3127832c943e7a9da7c2995eb869
|
Add basic testing via example/hello.py | language: python
python:
- 2.7
- 3.5
- 3.6
addons:
apt:
packages:
- libfuse-dev
install:
- python setup.py build
| language: python
python:
- 2.7
- 3.5
- 3.6
addons:
apt:
packages:
- libfuse-dev
install:
- python setup.py build
script:
- mkdir /tmp/foo
- python example/hello.py /tmp/foo
|
Fix the name of grunt module to be installed globally | language: node_js
matrix:
exclude:
- node_js: "0.12"
env:
- CC="" CXX=""
- node_js: "4.2"
env:
- CC="/usr/bin/gcc-4.8" CXX="/usr/bin/g++-4.8"
sudo: require
before_install:
- sudo rm /etc/apt/sources.list.d/*.list
- sudo apt-get install -qq python-software-properties
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -qq build-essential libudev-dev libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libical-dev libreadline-dev g++-4.8
install:
- npm install -g grunt babel mocha jshint
- npm install --unsafe-perm
| language: node_js
matrix:
exclude:
- node_js: "0.12"
env:
- CC="" CXX=""
- node_js: "4.2"
env:
- CC="/usr/bin/gcc-4.8" CXX="/usr/bin/g++-4.8"
sudo: require
before_install:
- sudo rm /etc/apt/sources.list.d/*.list
- sudo apt-get install -qq python-software-properties
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -qq build-essential libudev-dev libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libical-dev libreadline-dev g++-4.8
- npm install -g grunt-cli babel mocha jshint
install:
- npm install --unsafe-perm |
Test only on php 7.1+ | language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
env:
- COMPOSER_MEMORY_LIMIT=-1
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
email:
recipients:
- husakkristijan@gmail.com
on_success: never
on_failure: always
| language: php
php:
- 7.1
- 7.2
env:
- COMPOSER_MEMORY_LIMIT=-1
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
email:
recipients:
- husakkristijan@gmail.com
on_success: never
on_failure: always
|
Set CXX to clang++, not clang | language: cpp
sudo: false
cache:
apt: true
directories:
- external
before_install:
- eval "${MATRIX_EVAL}"
before_script:
- mkdir build
script:
- cd build
- cmake ..
- cmake --build .
# - ctest
addons:
apt:
sources: &global_apt_sources
- george-edison55-precise-backports
packages: &global_apt_packages
- cmake
- cmake-data
matrix:
include:
- os: linux
compiler: gcc
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
addons:
apt:
sources:
- *global_apt_sources
- ubuntu-toolchain-r-test
packages:
- *global_apt_packages
- g++-6
- os: linux
compiler: clang
env: MATRIX_EVAL="CC=clang-3.9 && CXX=clang-3.9"
addons:
apt:
sources:
- *global_apt_sources
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.9
packages:
- *global_apt_packages
- clang-3.9
- os: osx
osx_image: xcode8.2
| language: cpp
sudo: false
cache:
apt: true
directories:
- external
before_install:
- eval "${MATRIX_EVAL}"
before_script:
- mkdir build
script:
- cd build
- cmake ..
- cmake --build .
# - ctest
addons:
apt:
sources: &global_apt_sources
- george-edison55-precise-backports
packages: &global_apt_packages
- cmake
- cmake-data
matrix:
include:
- os: linux
compiler: gcc
env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
addons:
apt:
sources:
- *global_apt_sources
- ubuntu-toolchain-r-test
packages:
- *global_apt_packages
- g++-6
- os: linux
compiler: clang
env: MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"
addons:
apt:
sources:
- *global_apt_sources
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.9
packages:
- *global_apt_packages
- clang-3.9
- os: osx
osx_image: xcode8.2
|
Revert "Reduce Torch7 install verbosity" | # Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
language: python
python:
2.7
compiler: gcc # for Caffe
sudo: required # for Caffe
env:
global:
# Make
- NUM_THREADS=4
# Caffe
- WITH_CUDA=false
- WITH_CMAKE=false
before_install:
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- export PATH=/home/travis/miniconda/bin:$PATH
install:
# Caffe
- pushd .
- ./scripts/travis/install-caffe.sh $(pwd)/deps/caffe
# Torch
- ./scripts/travis/install-torch.sh $(pwd)/deps/torch &> $(pwd)/torch-install-log.txt || (cat $(pwd)/torch-install-log.txt && false)
# DIGITS
- sudo apt-get install graphviz
# conda (fast)
- conda install --yes gevent greenlet
# pip (slow)
- pip install -r requirements.txt
- pip install -r requirements_test.txt
before_script:
- export CAFFE_HOME=$(pwd)/deps/caffe
- source $(pwd)/deps/torch/install/bin/torch-activate
# Disable OpenMP multi-threading
- export OMP_NUM_THREADS=1
script:
./digits-test -v --with-coverage --cover-package=digits,tools,scripts
after_success:
coveralls
| # Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
language: python
python:
2.7
compiler: gcc # for Caffe
sudo: required # for Caffe
env:
global:
# Make
- NUM_THREADS=4
# Caffe
- WITH_CUDA=false
- WITH_CMAKE=false
before_install:
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- export PATH=/home/travis/miniconda/bin:$PATH
install:
# Caffe
- pushd .
- ./scripts/travis/install-caffe.sh $(pwd)/deps/caffe
# Torch
- ./scripts/travis/install-torch.sh $(pwd)/deps/torch
# DIGITS
- sudo apt-get install graphviz
# conda (fast)
- conda install --yes gevent greenlet
# pip (slow)
- pip install -r requirements.txt
- pip install -r requirements_test.txt
before_script:
- export CAFFE_HOME=$(pwd)/deps/caffe
- source $(pwd)/deps/torch/install/bin/torch-activate
# Disable OpenMP multi-threading
- export OMP_NUM_THREADS=1
script:
./digits-test -v --with-coverage --cover-package=digits,tools,scripts
after_success:
coveralls
|
Add line to install kvm | language: android
jdk: oraclejdk7
branches:
only:
- unstable
android:
components:
- build-tools-21.1.1
- android-21
- sys-img-x86-android-21
env:
global:
# install timeout in minutes
- ADB_INSTALL_TIMEOUT=8
# Create and start the emulator
before_script:
- echo no | android create avd --force -n test -t android-21 --abi default/x86
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell inout keyevent 82 &
script:
- ./gradlew connectedAndroidTest -PdisablePreDex
| language: android
jdk: oraclejdk7
branches:
only:
- unstable
android:
components:
- build-tools-21.1.1
- android-21
- sys-img-x86-android-21
env:
global:
# install timeout in minutes
- ADB_INSTALL_TIMEOUT=8
# Create and start the emulator
before_script:
- sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
- echo no | android create avd --force -n test -t android-21 --abi default/x86
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell inout keyevent 82 &
script:
- ./gradlew connectedAndroidTest -PdisablePreDex
|
Update Home Assistant to 0.102.2 for config checks in Travis CI | language: python
python:
- '3.7'
- '3.8'
env:
- GCTTS=0.4.0 HASS=0.100.0
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install yamllint
- pip3 install google-cloud-texttospeech==$GCTTS
- pip3 install homeassistant==$HASS
script:
- yamllint .
- hass -c . --script check_config
| language: python
python:
- '3.7'
- '3.8'
env:
- GCTTS=0.4.0 HASS=0.102.2
before_install:
- mv secrets_dummy.yaml secrets.yaml
install:
- pip3 install yamllint
- pip3 install google-cloud-texttospeech==$GCTTS
- pip3 install homeassistant==$HASS
script:
- yamllint .
- hass -c . --script check_config
|
Test against Ruby 2.4.0 on Travis CI | language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.2.6
- 2.3.3
before_install: gem install bundler -v 1.10.6
env:
matrix:
- RAILS_VERSION="~> 4.2"
- RAILS_VERSION="~> 5.0.0"
| language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.2.6
- 2.3.3
- 2.4.0
before_install: gem install bundler -v 1.10.6
env:
matrix:
- RAILS_VERSION="~> 4.2"
- RAILS_VERSION="~> 5.0.0"
matrix:
exclude:
- rvm: 2.4.0
env: RAILS_VERSION="~> 4.2" # Rails 4.2 depends on json gem 1.8. However it couldn't be built with Ruby 2.4.
|
Configure Travis CI to test on Node 12 and 13 | ---
language: "node_js"
node_js: [ "8", "9", "10", "11", "node" ]
script:
- "npm run test"
- "npm run lint"
- "npm run licenses"
sudo: false
| ---
language: "node_js"
node_js: [ "8", "9", "10", "11", "12", "13", "node" ]
script:
- "npm run test"
- "npm run lint"
- "npm run licenses"
sudo: false
|
Store off the artifacts in dist | machine:
services:
- docker
dependencies:
override:
- echo "Skipped"
test:
override:
- ./create_binary.sh
| general:
artifacts:
- "dist"
machine:
services:
- docker
dependencies:
override:
- echo "Skipped"
test:
override:
- ./create_binary.sh
|
Use no-ff merge for PR builds | machine:
environment:
GOPATH: $GOPATH:$HOME/jadvisor
services:
- docker
checkout:
override:
- git clone git@github.com:fabric8io/jadvisor.git $HOME/jadvisor/src/github.com/fabric8io/jadvisor
dependencies:
pre:
- go get github.com/tools/godep
override:
- cd $HOME/jadvisor/src/github.com/fabric8io/jadvisor
- make
test:
override:
- godep go test ./...
deployment:
hub:
branch: master
owner: fabric8io
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- make image release
| machine:
environment:
GOPATH: $GOPATH:$HOME/jadvisor
services:
- docker
checkout:
override:
- git clone git@github.com:fabric8io/jadvisor.git $HOME/jadvisor/src/github.com/fabric8io/jadvisor
dependencies:
pre:
- go get github.com/tools/godep
override:
- |
(cd $HOME/jadvisor/src/github.com/fabric8io/jadvisor && [[ "$CIRCLE_BRANCH" = pull/* ]] && git fetch origin $CIRCLE_BRANCH/head:$CIRCLE_BRANCH && git checkout $CIRCLE_BRANCH && git merge --no-ff master && make) || \
(cd $HOME/jadvisor/src/github.com/fabric8io/jadvisor && [[ "$CIRCLE_BRANCH" != pull/* ]] && git checkout $CIRCLE_BRANCH && make)
test:
override:
- cd $HOME/jadvisor/src/github.com/fabric8io/jadvisor && godep go test ./...
deployment:
hub:
branch: master
owner: fabric8io
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- make image release
|
Add support for Ruby 2.1 | language: ruby
rvm:
- 2.2.2
branches:
only:
- master
before_install: gem install bundler
matrix:
include:
- rvm: jruby-head
jdk: openjdk7
env: DISABLE_NOKOGIRI=1
allow_failures:
- rvm: jruby-head
jdk: openjdk7
env: DISABLE_NOKOGIRI=1
notifications:
irc:
channels:
- "chat.freenode.net#nanoc"
template:
- "%{repository}/%{branch} %{commit} %{author}: %{message}"
use_notice: true
skip_join: true
| language: ruby
rvm:
- 2.1.2
- 2.2.2
branches:
only:
- "master"
- "release-4.0.x"
before_install: gem install bundler
matrix:
include:
- rvm: jruby-head
jdk: openjdk7
env: DISABLE_NOKOGIRI=1
allow_failures:
- rvm: jruby-head
jdk: openjdk7
env: DISABLE_NOKOGIRI=1
notifications:
irc:
channels:
- "chat.freenode.net#nanoc"
template:
- "%{repository}/%{branch} %{commit} %{author}: %{message}"
use_notice: true
skip_join: true
|
Correct sourcing of coverage to top level dir | language: python
python:
- "2.6"
- "2.7"
- "nightly"
matrix:
allow_failures:
- python: "nightly"
fast_finish: true
sudo: false
cache: pip
install:
- pip install unittest2
- pip install coveralls
before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd -P)
- cd project_euler/test
script: coverage run --source="." -m unittest2 discover --buffer
after_success: coveralls
| language: python
python:
- "2.6"
- "2.7"
- "nightly"
matrix:
allow_failures:
- python: "nightly"
fast_finish: true
sudo: false
cache: pip
install:
- pip install unittest2
- pip install coveralls
before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd -P)
- cd project_euler/test
script: coverage run --source=".." -m unittest2 discover --buffer
after_success: coveralls
|
Revert "Test on Ruby 2.3, too" | language: ruby
cache: bundler
rvm:
- 2.3
- 2.2
- 2.1
- 2.0
git:
depth: 10
sudo: false
# we need a more recent cmake than travis/linux provides (at least 2.8.9):
addons:
apt:
sources:
- kalakris-cmake
packages:
- cmake
before_install:
- gem install bundler
before_script: bundle update
script: script/cibuild
| language: ruby
cache: bundler
rvm:
- 2.2
- 2.1
- 2.0
git:
depth: 10
sudo: false
# we need a more recent cmake than travis/linux provides (at least 2.8.9):
addons:
apt:
sources:
- kalakris-cmake
packages:
- cmake
before_install:
- gem install bundler
before_script: bundle update
script: script/cibuild
|
Fix Scala and Java versions in Travis config | language: scala
scala:
- 2.10.4
jdk:
- oraclejdk7
- openjdk6
- openjdk7
before_script:
# default $SBT_OPTS is irrelevant to sbt lancher
- unset SBT_OPTS
script:
- ./sbt ++$TRAVIS_SCALA_VERSION +test
| language: scala
scala:
- 2.10.4
- 2.11.2
jdk:
- oraclejdk7
# Note: not currently testing on JDK 8 internally
- oraclejdk8
- openjdk7
before_script:
# default $SBT_OPTS is irrelevant to sbt lancher
- unset SBT_OPTS
script:
- ./sbt ++$TRAVIS_SCALA_VERSION test
|
Check also that the tests pass on Python 3.3 via Travis CI. | language: python
python:
- 2.7
- 3.4
- 3.5
- pypy3
install:
- pip install flake8
- pip install coverage
- pip install coveralls
- pip install mock
- pip install nose
script:
- nosetests notify_send_tests.py --with-coverage --cover-package=notify_send --cover-erase
- flake8 --ignore=E402,E501 notify_send.py notify_send_tests.py
after_success:
- coveralls
| language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
- pypy3
install:
- pip install flake8
- pip install coverage
- pip install coveralls
- pip install mock
- pip install nose
script:
- nosetests notify_send_tests.py --with-coverage --cover-package=notify_send --cover-erase
- flake8 --ignore=E402,E501 notify_send.py notify_send_tests.py
after_success:
- coveralls
|
Add PHP 7.2/7.3 to the Travis testing matrix, allow nightly PHP builds to fail | language: php
php:
- '7.0'
- '7.1'
- nightly
before_script:
- composer require php-coveralls/php-coveralls
- composer install
- mkdir -p build/logs
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
- travis_retry php vendor/bin/coveralls -v
| language: php
php:
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- nightly
before_script:
- composer require php-coveralls/php-coveralls
- composer install
- mkdir -p build/logs
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
matrix:
fast_finish: true
allow_failures:
- php: nightly
after_success:
- bash <(curl -s https://codecov.io/bash)
- travis_retry php vendor/bin/coveralls -v
|
Add Ruby 2.1.0 to Rubies | passengers:
- dotfile
- homebrew
- vundle
- rvm
- git_repo
directory_name: "tilde"
rubies:
- ruby-1.9.3
- ruby-2.0.0
brews:
- ag
- arangodb
- chicken
- clisp
- gcc48
- git
- go
- haskell-platform
- htop-osx
- hub
- imagemagick
- leiningen
- libxml2
- ruby-1.9.2
- jq
- macvim:
- --override-system-vim
- mysql
- node
- optiPNG
- postgresql
- reattach-to-user-namespace
- redis
- rlwrap
- swi-prolog
- tig
- tmux
- tree
- wget
- zsh
repos:
"zsh-users/zsh-syntax-highlighting": "~/.zsh/plugins/zsh-syntax-highlighting"
| passengers:
- dotfile
- homebrew
- vundle
- rvm
- git_repo
directory_name: "tilde"
rubies:
- ruby-1.9.3
- ruby-2.0.0
- ruby-2.1.0
brews:
- ag
- arangodb
- chicken
- clisp
- gcc48
- git
- go
- haskell-platform
- htop-osx
- hub
- imagemagick
- leiningen
- libxml2
- ruby-1.9.2
- jq
- macvim:
- --override-system-vim
- mysql
- node
- optiPNG
- postgresql
- reattach-to-user-namespace
- redis
- rlwrap
- swi-prolog
- tig
- tmux
- tree
- wget
- zsh
repos:
"zsh-users/zsh-syntax-highlighting": "~/.zsh/plugins/zsh-syntax-highlighting"
|
Put ruby-trunk in allow_failures, tentatively | sudo: required
language: ruby
services:
- docker
before_install:
- docker images
- rake ci:docker:before_install
install:
- rake ci:docker:install
- docker images
after_install:
- rake ci:docker:install
- docker images
script: rake ci:docker:script
matrix:
include:
- name: "Ruby trunk-nightly"
env:
- ruby_version=trunk-nightly
- name: "Ruby 2.6"
env:
- ruby_version=2.6.1
- name: "Ruby 2.5"
env:
- ruby_version=2.5.3
- name: "Ruby 2.4"
env:
- ruby_version=2.4.5
- name: "Ruby 2.3"
env:
- ruby_version=2.3.8
| sudo: required
language: ruby
services:
- docker
before_install:
- docker images
- rake ci:docker:before_install
install:
- rake ci:docker:install
- docker images
after_install:
- rake ci:docker:install
- docker images
script: rake ci:docker:script
matrix:
include:
- name: "Ruby trunk-nightly"
env:
- ruby_version=trunk-nightly
- name: "Ruby 2.6"
env:
- ruby_version=2.6.1
- name: "Ruby 2.5"
env:
- ruby_version=2.5.3
- name: "Ruby 2.4"
env:
- ruby_version=2.4.5
- name: "Ruby 2.3"
env:
- ruby_version=2.3.8
allow_failures:
- name: "Ruby trunk-nightly"
|
Update Travis config to latest. Update Travis config to use latest v4 and latest v6 . | sudo: false
language: node_js
node_js:
- "4.4"
- "6.3"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
after_success:
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: false
language: node_js
node_js:
- "4"
- "6"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
after_success:
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Switch to container based infrastructure. | language: go
go:
- 1.4
env:
global:
- MYSQL_FLAVOR=MariaDB
matrix:
- MAKE_TARGET=java_vtgate_client_test
- MAKE_TARGET=unit_test_goveralls
- MAKE_TARGET=small_integration_test
- MAKE_TARGET=medium_integration_test
- MAKE_TARGET=large_integration_test
- MAKE_TARGET=queryservice_test
- MAKE_TARGET=unit_test
before_install:
- bash -v travis/dependencies.sh
- free -m
- travis_retry sudo bash -v travis/install_grpc.sh
install:
- bash -v bootstrap.sh --skip_root_installs
script:
- source dev.env
- |
travis_retry /usr/bin/time -f "CPU: %P Memory: %M kB" make build $MAKE_TARGET
| # Use container-based infrastructure (see: http://docs.travis-ci.com/user/workers/container-based-infrastructure/).
sudo: false
language: go
go:
- 1.4
addons:
apt:
packages:
# NOTE: When you add a dependency, don't forget to add comment why it's necessary.
- automake
- libtool
- memcached
- python-dev
- python-mysqldb
- python-pip
- python-virtualenv
- libssl-dev
- g++
- git
- pkg-config
# installs libaio1 which is required by MariaDB 10.0 server package
- libaio-dev
# required by travis script below to measure CPU and memory usage
- time
# TODO(mberlin): Remove this when python-mysql is installable via the "apt" addon above.
- python-dev
# Optional dependency. Without a running syslog daemon, Vitess will keep complaining that it could not log events and spam the logs.
- rsyslog
env:
global:
- MYSQL_FLAVOR=MariaDB
matrix:
- MAKE_TARGET=java_vtgate_client_test
- MAKE_TARGET=unit_test_goveralls
- MAKE_TARGET=small_integration_test
- MAKE_TARGET=medium_integration_test
- MAKE_TARGET=large_integration_test
- MAKE_TARGET=queryservice_test
- MAKE_TARGET=unit_test
before_install:
- bash -v travis/dependencies.sh
install:
- bash -v bootstrap.sh
script:
- source dev.env
- |
travis_retry /usr/bin/time -f "CPU: %P Memory: %M kB" make build $MAKE_TARGET
|
Add git user config for Travis tests. | language: python
python:
- "2.6"
- "2.7"
install:
- "pip install -r requirements.pip"
- "pip install -r requirements-dev.pip"
script:
- py.test tests/
| language: python
python:
- "2.6"
- "2.7"
install:
- "pip install -r requirements.pip"
- "pip install -r requirements-dev.pip"
before_script:
- git config --global user.email "tester@example.com"
- git config --global user.name "Testy Testerson"
script:
- py.test tests/
|
Configure Travis CI to run tests on main branches only | language: python
python:
- "3.5"
# restrict to branches
# branches:
# only:
# - master
# - develop
# command to install system dependencies
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y vlc
# command to install python dependencies
install:
- pip install -r requirements.txt
# command to run tests
script:
- ./dakara.py test
| language: python
python:
- "3.5"
# restrict to branches
branches:
only:
- master
- develop
# command to install system dependencies
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y vlc
# command to install python dependencies
install:
- pip install -r requirements.txt
# command to run tests
script:
- ./dakara.py test
|
Update distribution on Travis CI | language: python
python:
- "3.5"
- "3.6"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install coveralls"
# command to run tests
script: cd teknologr && coverage run --source members,api manage.py test
after_success:
coveralls --rcfile=../.coveragerc
#Turn off mail notification
notifications:
email: false
| dist: xenial
language: python
python:
- "3.5"
- "3.6"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install coveralls"
# command to run tests
script: cd teknologr && coverage run --source members,api manage.py test
after_success:
coveralls --rcfile=../.coveragerc
#Turn off mail notification
notifications:
email: false
|
Support for GCC and CLANG | language: c
compiler:
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libgmp3-dev libsigsegv-dev openssl libssl-dev libncurses5-dev git make exuberant-ctags
before_script:
- echo "export URBIT_HOME=`pwd`/urb" >>~/.bash_profile
- make
script: "make"
notifications:
on_success: change
on_failure: always
| language: c
compiler:
- gcc
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libgmp3-dev libsigsegv-dev openssl libssl-dev libncurses5-dev git make exuberant-ctags
before_script:
- echo "export URBIT_HOME=`pwd`/urb" >>~/.bash_profile
- make
script: "make"
notifications:
on_success: change
on_failure: always
|
Add setuptools to build package | language: python
python:
- "2.6"
- "2.7"
install:
- "pip install lxml"
- "pip install pytest"
- "pip install stdeb"
- "python setup.py develop"
- python setup.py --command-packages=stdeb.command bdist_deb
script: py.test
deploy:
provider: packagecloud
repository: "wirecurly"
username: "fedecastro"
token: "18e4aa85a6d6b92479a46a47de5fcf852c2a5b9e33f086ce"
dist: "debian/wheezy" | language: python
python:
- "2.6"
- "2.7"
install:
- "pip install lxml"
- "pip install pytest"
- "pip install setuptools"
- "pip install stdeb"
- "python setup.py develop"
- python setup.py --command-packages=stdeb.command bdist_deb
script: py.test
deploy:
provider: packagecloud
repository: "wirecurly"
username: "fedecastro"
token: "18e4aa85a6d6b92479a46a47de5fcf852c2a5b9e33f086ce"
dist: "debian/wheezy" |
Create DB within dummy app on Travis CI | language: ruby
rvm:
- 2.2.2
- 2.3.0
gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
notifications:
webhooks:
secure: QFW4WHH8A/ht3EKFbUNc7u03Ca+P6qm7ypIiXU+y8fO8fEps2/f7fTrWIUGkohShFyaaZw1/NjDWUx86LYBFfs4dYduHy8U3BSbWrS4ot4+oO9TsKdatKydTXpbvRqjgPITECmMWDoz4e7gMdZ5fGuBBdO1LQGVRr9mUXl13QU4=
| language: ruby
rvm:
- 2.2.2
- 2.3.0
gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
cache:
bundler: true
script:
- cd spec/dummy ; bundle exec rake db:create db:migrate ; cd ../.. # Running app:db:* commands causes sqlite to fail on Rails 5
- bundle exec rspec spec
notifications:
webhooks:
secure: QFW4WHH8A/ht3EKFbUNc7u03Ca+P6qm7ypIiXU+y8fO8fEps2/f7fTrWIUGkohShFyaaZw1/NjDWUx86LYBFfs4dYduHy8U3BSbWrS4ot4+oO9TsKdatKydTXpbvRqjgPITECmMWDoz4e7gMdZ5fGuBBdO1LQGVRr9mUXl13QU4=
|
FIX Use phpdbg instead of xdebug for code coverage runs | # See https://github.com/silverstripe/silverstripe-travis-support for setup details
sudo: false
language: php
env:
global:
- COMPOSER_ROOT_VERSION=4.0.x-dev
- CORE_RELEASE=master
matrix:
fast_finish: true
include:
- php: 5.6
env: DB=MYSQL PHPUNIT_TEST=1 PHPCS_TEST=1
- php: 7.0
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.1.2
env: DB=MYSQL PDO=1 PHPUNIT_COVERAGE_TEST=1
before_script:
- composer validate
- composer self-update || true
- "if [ \"$PHPCS_TEST\" = \"1\" ]; then composer require --dev squizlabs/php_codesniffer; fi"
- phpenv rehash
- "if [ \"$PHPUNIT_COVERAGE_TEST\" != \"1\" ]; then phpenv config-rm xdebug.ini; fi"
- composer validate
- composer require silverstripe/cms 4.0.x-dev
- composer install --prefer-dist
script:
- "if [ \"$PHPUNIT_TEST\" = \"1\" ]; then vendor/bin/phpunit; fi"
- "if [ \"$PHPCS_TEST\" = \"1\" ]; then composer run-script lint; fi"
- "if [ \"$PHPUNIT_COVERAGE_TEST\" = \"1\" ]; then vendor/bin/phpunit --coverage-clover=coverage.xml; fi"
after_success:
- "if [ \"$PHPUNIT_COVERAGE_TEST\" = \"1\" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi"
| # See https://github.com/silverstripe/silverstripe-travis-support for setup details
sudo: false
language: php
env:
global:
- COMPOSER_ROOT_VERSION=4.0.x-dev
- CORE_RELEASE=4
matrix:
fast_finish: true
include:
- php: 5.6
env: DB=MYSQL PHPUNIT_TEST=1 PHPCS_TEST=1
- php: 7.0
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.1
env: DB=MYSQL PDO=1 PHPUNIT_COVERAGE_TEST=1
before_script:
- composer validate
- composer self-update || true
- if [[ $PHPCS_TEST ]]; then composer require --dev squizlabs/php_codesniffer; fi
- phpenv rehash
- phpenv config-rm xdebug.ini
- composer validate
- composer require silverstripe/cms 4.0.x-dev
- composer install --prefer-dist
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPCS_TEST ]]; then composer run-script lint; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
after_success:
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
|
Use modulesync to manage meta files | ---
language: ruby
bundler_args: --without development
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
after_success:
["git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng", ".forge-releng/publish"]
env:
global:
- PUBLISHER_LOGIN=camptocamp
- secure: "TWixYitq+LE4Gj9XE+guGcm/s+FkJcJHCMJH0iYO5g55Qx0IEbRKHJKz1Tz0t/GKx7eYNl81hPwAuQPKdZeCE9gkWcxgMg96IYswzdgeXUFMWGUNfgyZhwZyFSNKuSJM7y5shmNbWE4D/rKVQDFfDCpSfB+uvjnjw9ws7rpNh90="
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 2.7"
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0"
notifications:
email: false
| ---
language: ruby
bundler_args: --without development
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
after_success:
["git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng", ".forge-releng/publish"]
env:
global:
- PUBLISHER_LOGIN=camptocamp
- secure: "TWixYitq+LE4Gj9XE+guGcm/s+FkJcJHCMJH0iYO5g55Qx0IEbRKHJKz1Tz0t/GKx7eYNl81hPwAuQPKdZeCE9gkWcxgMg96IYswzdgeXUFMWGUNfgyZhwZyFSNKuSJM7y5shmNbWE4D/rKVQDFfDCpSfB+uvjnjw9ws7rpNh90="
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0"
notifications:
email: false
|
Enable xvfb for Selenium tests | ---
language: bash
install:
- source "$PWD/lib/versions"
- rvm use "$RUBY_VERSION" --install --binary
- nvm install "$NODE_VERSION"
- git clone https://github.com/sstephenson/bats
- git clone https://github.com/vinsonchuong/bash-common-parse-options
- export PATH=$PWD/bin:$PWD/bats/bin:$PWD/bash-common-parse-options/bin:$PATH
script:
- bats spec
| ---
language: bash
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- source "$PWD/lib/versions"
- rvm use "$RUBY_VERSION" --install --binary
- nvm install "$NODE_VERSION"
- git clone https://github.com/sstephenson/bats
- git clone https://github.com/vinsonchuong/bash-common-parse-options
- export PATH=$PWD/bin:$PWD/bats/bin:$PWD/bash-common-parse-options/bin:$PATH
script:
- bats spec
|
Test only on Ruby 2.5 | language: ruby
rvm:
- 2.2.5
- 2.3.1
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
branches:
only:
- "master"
- "/^release-/"
before_install: gem install bundler
cache: bundler
sudo: false
git:
depth: 10
| language: ruby
rvm:
- 2.5
matrix:
allow_failures:
- rvm: ruby-head
branches:
only:
- "master"
- "/^release-/"
before_install: gem install bundler
cache: bundler
sudo: false
git:
depth: 10
|
Set autoname of SMS to URL Forwarder | Categories:
- Phone & SMS
License: MIT
AuthorName: Konstantin Bogomolov
AuthorWebSite: https://bogomolov.tech
SourceCode: https://github.com/bogkonstantin/android_income_sms_gateway_webhook
IssueTracker: https://github.com/bogkonstantin/android_income_sms_gateway_webhook/issues
Changelog: https://github.com/bogkonstantin/android_income_sms_gateway_webhook/releases
Name: SMS to URL Forwarder
RepoType: git
Repo: https://github.com/bogkonstantin/android_income_sms_gateway_webhook
Builds:
- versionName: 2.0.1
versionCode: 7
commit: 2.0.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 2.0.1
CurrentVersionCode: 7
| Categories:
- Phone & SMS
License: MIT
AuthorName: Konstantin Bogomolov
AuthorWebSite: https://bogomolov.tech
SourceCode: https://github.com/bogkonstantin/android_income_sms_gateway_webhook
IssueTracker: https://github.com/bogkonstantin/android_income_sms_gateway_webhook/issues
Changelog: https://github.com/bogkonstantin/android_income_sms_gateway_webhook/releases
Name: SMS to URL Forwarder
AutoName: Incoming Sms Forwarder
RepoType: git
Repo: https://github.com/bogkonstantin/android_income_sms_gateway_webhook
Builds:
- versionName: 2.0.1
versionCode: 7
commit: 2.0.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 2.0.1
CurrentVersionCode: 7
|
Add xapi to coverage check | language: python
python:
- "2.7"
env:
- TRAVIS_MODE=1
before_install:
- export DJANGO_SETTINGS_MODULE=settings
# command to install dependencies
install:
- "pip install coveralls"
- "pip install pep8"
- "pip install pylint"
- "pip install -r requirements.txt"
# command to run tests and quality checks
script:
- coverage run --source=oai,ecoapi ./manage.py test
- coverage report -m
- pep8 --config=.pep8 oai
- pylint --rcfile=.pylintrc oai --report=no
- pep8 --config=.pep8 ecoapi
- pylint --rcfile=.pylintrc ecoapi --report=no
branches:
only:
- master
- xapi
- travis
after_success: coveralls
| language: python
python:
- "2.7"
env:
- TRAVIS_MODE=1
before_install:
- export DJANGO_SETTINGS_MODULE=settings
# command to install dependencies
install:
- "pip install coveralls"
- "pip install pep8"
- "pip install pylint"
- "pip install -r requirements.txt"
# command to run tests and quality checks
script:
- coverage run --source=oai,ecoapi,xapi ./manage.py test
- coverage report -m
- pep8 --config=.pep8 oai
- pylint --rcfile=.pylintrc oai --report=no
- pep8 --config=.pep8 ecoapi
- pylint --rcfile=.pylintrc ecoapi --report=no
- pep8 --config=.pep8 xapi
- pylint --rcfile=.pylintrc xapi --report=no
branches:
only:
- master
- xapi
- travis
after_success: coveralls
|
Fix typo, its too late to be doing this | language: cpp
os:
- linux
sudo: required
dist: trusty
before_install:
- sudo install software-properties-common
- sudo add-apt-repository ppa:george-edison55/cmake-3.x
- sudo apt-get update
install:
- sudo apt-get install cmake cmake-data
script:
- mkdir build && cd build && cmake .. && cmake --build .
| language: cpp
os:
- linux
sudo: required
dist: trusty
before_install:
- sudo apt-get install software-properties-common
- sudo add-apt-repository ppa:george-edison55/cmake-3.x
- sudo apt-get update
install:
- sudo apt-get install cmake cmake-data
script:
- mkdir build && cd build && cmake .. && cmake --build .
|
Remove workaround for a fixed Travis issue | language: ruby
cache: bundler
before_install:
# Workaround for https://github.com/travis-ci/travis-ci/issues/8969
- gem update --system
rvm:
- 2.5.3
- 2.4.5
- 2.3.8
| language: ruby
cache: bundler
rvm:
- 2.5.3
- 2.4.5
- 2.3.8
|
Remove not needed JDKs and use openjdk7 as JDK version 7 | language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.1.5
- rbx-2.4.1
- jruby-18mode
- jruby-19mode
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
matrix:
exclude:
- rvm: 1.8.7
jdk: openjdk6
- rvm: 1.8.7
jdk: openjdk7
- rvm: 1.8.7
jdk: oraclejdk7
- rvm: 1.9.3
jdk: openjdk6
- rvm: 1.9.3
jdk: openjdk7
- rvm: 1.9.3
jdk: oraclejdk7
- rvm: 2.1.5
jdk: openjdk6
- rvm: 2.1.5
jdk: openjdk7
- rvm: 2.1.5
jdk: oraclejdk7
- rvm: rbx-2.4.1
jdk: openjdk6
- rvm: rbx-2.4.1
jdk: openjdk7
- rvm: rbx-2.4.1
jdk: oraclejdk7
| language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.1.5
- rbx-2.4.1
- jruby-18mode
- jruby-19mode
jdk:
- openjdk7
- oraclejdk8
matrix:
exclude:
- rvm: 1.8.7
jdk: oraclejdk8
- rvm: 1.9.3
jdk: oraclejdk8
- rvm: 2.1.5
jdk: oraclejdk8
- rvm: rbx-2.4.1
jdk: oraclejdk8
|
Add Try::Tiny in perl requirements | language: c
sudo: required
before_script:
- sudo apt-get update
- sudo apt-get install cpanminus nsis
- sudo cpanm --notest Config::AutoConf::INI ExtUtils::CBuilder File::chdir File::Basename File::Find File::Path File::Copy::Recursive IPC::Run
# Dependencies
- sh ./install-c-genericLogger.sh
- sh ./install-c-genericStack.sh
- sh ./install-c-genericHash.sh
- sh ./install-c-genericSparseArray.sh
script:
# We want to try perl standalone first
- perl CMakeObjects.PL
- rm -rf output
# ALL_IN_ONE
- cmake . -DALL_IN_ONE=ON
- make check
- make pack
- cpack -G NSIS
- make install DESTDIR=/tmp
- rm -rf output CMakeCache.txt CMakeFiles
# Not ALL_IN_ONE
- cmake .
- make check
- make pack
- cpack -G NSIS
- sudo make install
| language: c
sudo: required
before_script:
- sudo apt-get update
- sudo apt-get install cpanminus nsis
- sudo cpanm --notest Config::AutoConf::INI ExtUtils::CBuilder File::chdir File::Basename File::Find File::Path File::Copy::Recursive IPC::Run Try::Tiny
# Dependencies
- sh ./install-c-genericLogger.sh
- sh ./install-c-genericStack.sh
- sh ./install-c-genericHash.sh
- sh ./install-c-genericSparseArray.sh
script:
# We want to try perl standalone first
- perl CMakeObjects.PL
- rm -rf output
# ALL_IN_ONE
- cmake . -DALL_IN_ONE=ON
- make check
- make pack
- cpack -G NSIS
- make install DESTDIR=/tmp
- rm -rf output CMakeCache.txt CMakeFiles
# Not ALL_IN_ONE
- cmake .
- make check
- make pack
- cpack -G NSIS
- sudo make install
|
Use flake instead of pep. | language: python
python:
- "3.4"
before_install:
- sudo apt-get update
install:
- pip install -r requirements.txt
- pip install pep8
- sudo apt-get install texlive-latex-extra latexmk
script:
- pep8 --ignore=E402,E501 generate.py
#- python generate.py --help
| language: python
python:
- "3.4"
before_install:
- sudo apt-get update
install:
- pip install -r requirements.txt
- pip install flake8
- sudo apt-get install texlive-latex-extra latexmk
script:
- flake8 --ignore=E402,E501 generate.py
#- python generate.py --help
|
Update pip to latest version before installing anything | sudo: false
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy-5.3.1"
install:
- pip install -U tox codecov tox-travis
script:
- tox
after_success:
- codecov
| sudo: false
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy-5.3.1"
install:
- pip install -U pip
- pip install -U tox codecov tox-travis
script:
- tox
after_success:
- codecov
|
Add deployment of the demo site to gh-pages. | language: python
sudo: false
python:
- "3.6"
install:
- pip install -e .
script:
- make demo
| language: python
sudo: false
python:
- "3.6"
install:
- pip install -e .
script:
- make demo
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: demo/output
on:
branch: master
|
Test against ruby-head (currently 1.9.3) | rvm:
- 1.8.6
- 1.8.7
- 1.9.1
- 1.9.2
- jruby
- rbx
- ree
| rvm:
- 1.8.6
- 1.8.7
- 1.9.1
- 1.9.2
- jruby
- rbx
- ree
- ruby-head
|
Test against all 2.x stable versions | language: ruby
rvm:
- 2.0.0
- 2.1.5
- 2.2.1
- 2.2.3
notifications:
recipients:
- jakob@mentalized.net
| language: ruby
rvm:
- 2.0.0
- 2.1.7
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
notifications:
recipients:
- jakob@mentalized.net
|
Use JDK7 for CI builds | language: groovy
groovy:
- 2.4.5
jdk:
- oraclejdk8
script: ./gradlew clean build
branches:
except:
- gh-pages
notifications:
email: false
| language: groovy
groovy:
- 2.4.5
jdk:
- oraclejdk7
script: ./gradlew clean build
branches:
except:
- gh-pages
notifications:
email: false
|
Test against Node.js 5.10 and 5.11 | language: node_js
node_js:
- 4.0
- 4.1
- 4.2
- 4.3
- 4.4
- 5.0
- 5.1
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
- 5.7
- 5.8
- 5.9
before_install:
- npm install -g npm@latest
| language: node_js
node_js:
- 4.0
- 4.1
- 4.2
- 4.3
- 4.4
- 5.0
- 5.1
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
- 5.7
- 5.8
- 5.9
- 5.10
- 5.11
before_install:
- npm install -g npm@latest
|
Change Travis CI ruby version from 2.1.0 to 2.1.1 | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
|
Add "package:matcher" as a public dependency | name: petitparser
version: 1.5.3
author: Lukas Renggli <renggli@gmail.com>
description: Dynamic parser combinator framework.
homepage: https://github.com/renggli/dart-petitparser
environment:
sdk: '>=1.8.0 <2.0.0'
dev_dependencies:
browser: '>=0.10.0 <0.11.0'
test: '>=0.12.1 <0.13.0'
| name: petitparser
version: 1.5.3
author: Lukas Renggli <renggli@gmail.com>
description: Dynamic parser combinator framework.
homepage: https://github.com/renggli/dart-petitparser
environment:
sdk: ^1.8.0
dev_dependencies:
browser: ^0.10.0
matcher: ^0.12.0
test: ^0.12.0
|
Update build to use correct branch | ---
steps:
- name: ':docker: Build'
agents:
queue: builder
plugins:
docker-compose:
build: athenaeum
image-repository: us.gcr.io/pg-shared-v1/athenaeum
image-name: $BUILDKITE_BUILD_NUMBER
- wait
- name: ':jest: :scsslint:'
command: bin/test
agents:
queue: runner
plugins:
docker-compose:
run: athenaeum
- wait
- trigger: "athenaeum-main-nav"
label: ':roller_coaster: Trigger MainNav Build'
async: true
- wait
- block: 'Trigger deploy/publish'
branches: 'rebrand'
prompt: 'Choose a version bump'
fields:
- select: 'Increment'
key: 'bump-size'
hint: "MAJOR: incompatible API changes // MINOR: add backwards-compatible functionality // PATCH: backwards-compatible bug fixes"
required: true
options:
# - label: 'Major'
# value: 'major'
- label: 'Minor'
value: 'minor'
- label: 'Patch'
value: 'patch'
- block: 'Trigger custom deploy'
branches: '!rebrand'
- wait
- name: ':rocket: :s3: :npm:'
command: bin/deploy
agents:
queue: builder
plugins:
docker-compose:
run: athenaeum
- wait
- name: ':rocket: :octocat:'
command: bin/commit-tag
branches: rebrand
agents:
queue: builder
| ---
steps:
- name: ':docker: Build'
agents:
queue: builder
plugins:
docker-compose:
build: athenaeum
image-repository: us.gcr.io/pg-shared-v1/athenaeum
image-name: $BUILDKITE_BUILD_NUMBER
- wait
- name: ':jest: :scsslint:'
command: bin/test
agents:
queue: runner
plugins:
docker-compose:
run: athenaeum
- wait
- trigger: "athenaeum-main-nav"
label: ':roller_coaster: Trigger MainNav Build'
async: true
build:
branch: ${BUILDKITE_BRANCH}
- wait
- block: 'Trigger deploy/publish'
branches: 'rebrand'
prompt: 'Choose a version bump'
fields:
- select: 'Increment'
key: 'bump-size'
hint: "MAJOR: incompatible API changes // MINOR: add backwards-compatible functionality // PATCH: backwards-compatible bug fixes"
required: true
options:
# - label: 'Major'
# value: 'major'
- label: 'Minor'
value: 'minor'
- label: 'Patch'
value: 'patch'
- block: 'Trigger custom deploy'
branches: '!rebrand'
- wait
- name: ':rocket: :s3: :npm:'
command: bin/deploy
agents:
queue: builder
plugins:
docker-compose:
run: athenaeum
- wait
- name: ':rocket: :octocat:'
command: bin/commit-tag
branches: rebrand
agents:
queue: builder
|
Add dedicated flake8 pre-commit plugin | repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: flake8
- id: mixed-line-ending
args:
- --fix=no
- id: no-commit-to-branch
args:
- --branch=master
- id: trailing-whitespace
- repo: https://github.com/mwouts/jupytext
rev: v1.13.4
hooks:
- id: jupytext
args: [--sync]
| repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: mixed-line-ending
args:
- --fix=lf
- id: no-commit-to-branch
args:
- --branch=master
- id: trailing-whitespace
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.1
hooks:
- id: flake8
additional_dependencies:
- flake8-import-order
- flake8-docstrings
- repo: https://github.com/mwouts/jupytext
rev: v1.13.4
hooks:
- id: jupytext
args: [--sync]
|
Allow Rubinius to fail for now | language: ruby
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
gemfile:
- gemfiles/Gemfile.minitest-4
- gemfiles/Gemfile.minitest-5
notifications:
recipients:
- remy@rymai.me
| language: ruby
bundler_args: --without development
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
gemfile:
- gemfiles/Gemfile.minitest-4
- gemfiles/Gemfile.minitest-5
matrix:
allow_failures:
- rvm: rbx-19mode
|
Include code_climate repo_token; remove bash test | language: node_js
node_js:
- "node"
- "4.2"
script: npm run lint && npm test && test/hubot-smoke-test.bash
after_success:
- npm run report-coveralls
- if [[ "${TRAVIS_BRANCH}" = "master" && "#{TRAVIS_PULL_REQUEST}" = "false" ]]; then npm run report-cov-cc; fi
| language: node_js
node_js:
- node
- '4.2'
script: npm run lint && npm test && test/hubot-smoke-test.bash
after_success:
- npm run report-coveralls
- npm run report-cov-cc
addons:
code_climate:
repo_token:
secure: bfl+YTvfJAupb4LzqfWUKQQgh6xAQt9S5kcmFKOB9lBXK9NpVCKmfhWXgvdReumWgtBKQu1ZQF8YyJ5ucQTayad7zswEFJNEsTGaaA2XvEjrmtc2mJHN46KdYtCfphDbgebjc1TRc5rGJwn7CXVGDaNSGghzO+cxn12GNbpKieaAl4jLPVqzqBpavrlDCWU55PBJxSUrcIybuVERsndvYpEbCtv+7zdvhfjeR73lwirjuKf8fCXvi5wHLVMf+T/di9w+dCC+GbQvQ+59RZn6H8jhkOlOKhcZbZsVQOWPyc/uqyCtyyY4ouTODqj+LytXO8+DB18D15J2LGfn+wnSOnSGI0oNEn7Z7L6Kuc1X/FFxP0ip/52QNjL8C9dWMBzSUpgryRUx1YoU0nGsUK68xW0AVBmnI8aj6IevHq1Ukn+o+GJMXpan8G5h8a8VdrpabZuSIHp2Y7kcoRu5hfpNkgIgLwc9TpIUxBlAAWCMAK2XQOdcPd2lAA9dUXRVdcu9dupjZ3wtGr4ag/0Z4wcq31mKnTFjOXY4O9AEcQ3gI3gcuLg9LT3DNdFWw4JtIaAwSwD8BNO4yBHqCO4wSCKB7M4svPtL9RDXJBlJH7IjMb5B+m9vmI/BzcB4u+MR/OyykM53MnzGiGBcTHMvDI/cuut45X22iCh+At9+UPy8Xvo=
|
Test python 3.2, 3.3, 3.4 and 3.5. Test Django 1.8 | language: python
python:
- "2.7"
env:
- DJANGO_VERSION=1.6
- DJANGO_VERSION=1.7
install:
- pip install -q Django==$DJANGO_VERSION --use-mirrors
script: python tests/runtests.py
| language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
env:
- DJANGO_VERSION=1.6
- DJANGO_VERSION=1.7
- DJANGO_VERSION=1.8
install:
- pip install -q Django==$DJANGO_VERSION --use-mirrors
script: python tests/runtests.py
|
Use helper plugin when running tests on Travis | language: node_js
node_js:
- "0.10"
install:
- "bin/installDeps.sh"
- "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
before_script:
- "tests/frontend/travis/sauce_tunnel.sh"
script:
- "tests/frontend/travis/runner.sh"
env:
global:
- secure: "WMGxFkOeTTlhWB+ChMucRtIqVmMbwzYdNHuHQjKCcj8HBEPdZLfCuK/kf4rG\nVLcLQiIsyllqzNhBGVHG1nyqWr0/LTm8JRqSCDDVIhpyzp9KpCJQQJG2Uwjk\n6/HIJJh/wbxsEdLNV2crYU/EiVO3A4Bq0YTHUlbhUqG3mSCr5Ec="
- secure: "gejXUAHYscbR6Bodw35XexpToqWkv2ifeECsbeEmjaLkYzXmUUNWJGknKSu7\nEUsSfQV8w+hxApr1Z+jNqk9aX3K1I4btL3cwk2trnNI8XRAvu1c1Iv60eerI\nkE82Rsd5lwUaMEh+/HoL8ztFCZamVndoNgX7HWp5J/NRZZMmh4g="
jdk:
- oraclejdk6
notifications:
irc:
channels:
- "irc.freenode.org#etherpad-lite-dev"
| language: node_js
node_js:
- "0.10"
install:
- "bin/installDeps.sh"
- "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
- "npm install ep_test_line_attrib"
before_script:
- "tests/frontend/travis/sauce_tunnel.sh"
script:
- "tests/frontend/travis/runner.sh"
env:
global:
- secure: "WMGxFkOeTTlhWB+ChMucRtIqVmMbwzYdNHuHQjKCcj8HBEPdZLfCuK/kf4rG\nVLcLQiIsyllqzNhBGVHG1nyqWr0/LTm8JRqSCDDVIhpyzp9KpCJQQJG2Uwjk\n6/HIJJh/wbxsEdLNV2crYU/EiVO3A4Bq0YTHUlbhUqG3mSCr5Ec="
- secure: "gejXUAHYscbR6Bodw35XexpToqWkv2ifeECsbeEmjaLkYzXmUUNWJGknKSu7\nEUsSfQV8w+hxApr1Z+jNqk9aX3K1I4btL3cwk2trnNI8XRAvu1c1Iv60eerI\nkE82Rsd5lwUaMEh+/HoL8ztFCZamVndoNgX7HWp5J/NRZZMmh4g="
jdk:
- oraclejdk6
notifications:
irc:
channels:
- "irc.freenode.org#etherpad-lite-dev"
|
Remove preview license from Travis config. | language: android
android:
components:
- build-tools-21.1.1
- extra-android-m2repository
- extra-google-m2repository
- android-21
licenses:
- android-sdk-license-5be876d5
- android-sdk-preview-license-52d11cd2
branches:
except:
- gh-pages
notifications:
email: false
before_install:
- ./check-missing-assertions.sh
script:
- ./gradlew clean check
| language: android
android:
components:
- build-tools-21.1.1
- extra-android-m2repository
- extra-google-m2repository
- android-21
licenses:
- android-sdk-license-5be876d5
branches:
except:
- gh-pages
notifications:
email: false
before_install:
- ./check-missing-assertions.sh
script:
- ./gradlew clean check
|
Fix generic of static library, version 1.0.41 | language: c
sudo: required
addons:
apt:
sources:
- george-edison55-precise-backports
packages:
- cmake
- cmake-data
before_script:
- sh ./install-c-genericLogger.sh
- sh ./install-c-genericStack.sh
- sh ./install-c-genericHash.sh
- sh ./install-c-genericSparseArray.sh
- cmake .
script:
- make check
- ./output/lib/marpaWrapperTester
- ./output/lib/marpaWrapperAsfTester
- ./output/lib/marpaWrapperAsfValueTester
- ./output/lib/marpaWrapperAsfAmbiguousTester
- sudo make package
- sudo make install
| language: c
sudo: required
addons:
apt:
sources:
- george-edison55-precise-backports
packages:
- cmake
- cmake-data
before_script:
- sh ./install-c-genericLogger.sh
- sh ./install-c-genericStack.sh
- sh ./install-c-genericHash.sh
- sh ./install-c-genericSparseArray.sh
- cmake .
script:
- make check
- ./output/lib/marpaWrapperTester
- ./output/lib/marpaWrapperAsfTester
- ./output/lib/marpaWrapperAsfValueTester
- ./output/lib/marpaWrapperAsfAmbiguousTester
- ./output/lib/marpaWrapperTesterStatic
- ./output/lib/marpaWrapperAsfTesterStatic
- ./output/lib/marpaWrapperAsfValueTesterStatic
- ./output/lib/marpaWrapperAsfAmbiguousTesterStatic
- sudo make package
- sudo make install
|
Reduce testing matrix. Token limitations :( | language: python
python:
- "3.5"
env:
- GITHUB_TOKEN="16604cd895a94970ea9bf5708854c64f71072dd4"
install:
- "pip install ."
script:
- "octohatrack LABHR/octohatrack"
- "python octohatrack.py LABHR/octohatrack-rb --no-cache"
- "python octohatrack.py programminghistorian/jekyll -w"
| language: python
python:
- "3.5"
env:
- GITHUB_TOKEN="16604cd895a94970ea9bf5708854c64f71072dd4"
install:
- "pip install ."
script:
- "octohatrack LABHR/octohatrack"
- "octohatrack programminghistorian/jekyll"
|
Update Travis's dist to have newer SQlite version. | language: ruby
sudo: false
services:
- mongodb
addons:
postgresql: 9.6
gemfile:
- Gemfile
- Gemfile.rails60
- Gemfile.mongo_mapper
rvm:
- 2.5.8
- 2.6.6
- 2.7.1
before_install:
- gem install bundler
env:
global:
- DB_USER=postgres
- DB_PASS=
matrix:
- DB=sqlite3
- DB=postgresql
matrix:
fast_finish: true
exclude:
- gemfile: Gemfile.mongo_mapper
env: DB=postgresql
branches:
only:
- master
notifications:
email: false
| dist: focal
language: ruby
sudo: false
services:
- mongodb
addons:
postgresql: 9.6
gemfile:
- Gemfile
- Gemfile.rails60
- Gemfile.mongo_mapper
rvm:
- 2.5.8
- 2.6.6
- 2.7.1
before_install:
- gem install bundler
env:
global:
- DB_USER=postgres
- DB_PASS=
matrix:
- DB=sqlite3
- DB=postgresql
matrix:
fast_finish: true
exclude:
- gemfile: Gemfile.mongo_mapper
env: DB=postgresql
branches:
only:
- master
notifications:
email: false
|
Update Code Climate repo token | language: ruby
cache: bundler
rvm:
- 2.5.7
- 2.6.5
- 2.7.0
gemfile:
- gemfiles/activerecord-5.2.x.gemfile
- gemfiles/activerecord-6.0.x.gemfile
addons:
code_climate:
repo_token: 1cac54041089115a5bf218169b62c76c8b87a5896f5aa973f89637a8553c0376
matrix:
fast_finish: true
before_install:
- gem install bundler
sudo: false
| language: ruby
cache: bundler
rvm:
- 2.5.7
- 2.6.5
- 2.7.0
gemfile:
- gemfiles/activerecord-5.2.x.gemfile
- gemfiles/activerecord-6.0.x.gemfile
addons:
code_climate:
repo_token:
secure: Dn+nXUOFHTRUhYqYM1NYSxYSyoDhFaB2EHvlhBJ/FK3QxCy4a0beSLhs+YnDl8kI1DOrZQMl7HDrh9AHlfYvu5fX4zADD5g7JkTA2mIx1Rk3yazAUuy1j1ftX/UaowzoUAR5t0qwYm344Nnqoh+O1FujvWbiGVuZvWa6vfjFbXA=
matrix:
fast_finish: true
before_install:
- gem install bundler
sudo: false
|
Add more ruby versions for Travis-CI | language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
script: bundle exec rspec spec
| language: ruby
rvm:
- 1.9.3
- 1.9.2
- jruby-18mode
- jruby-19mode
- rbx-2.1.1
- ruby-head
- jruby-head
- 1.8.7
- ree
script: bundle exec rspec spec
|
Test on new Ruby versions | language: ruby
before_install: gem install bundler --version '1.8'
install: bundle install
rvm:
- 2.0
- 2.1
- 2.2
- 2.3.5
- 2.4.2
- ruby-head
- jruby-head
- rbx-2
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx-2
notifications:
slack: openfoodfacts:oicZXgD1SNoGCA6EXLK6CB7i
| language: ruby
before_install: gem install bundler --version '1.8'
install: bundle install
rvm:
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- ruby-head
- jruby-head
- rbx-2
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
notifications:
slack: openfoodfacts:oicZXgD1SNoGCA6EXLK6CB7i
|
Build with Xcode 7.2 on Travis. | # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode7.1
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail && xcodebuild test -workspace Example/BonMot.xcworkspace -scheme BonMot-Example -destination 'name=iPhone 6' ONLY_ACTIVE_ARCH=NO | xcpretty
- set -o pipefail && xcodebuild test -workspace Example/BonMot.xcworkspace -scheme BonMot-Example -destination 'name=iPhone 4s' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
| # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode7.2
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail && xcodebuild test -workspace Example/BonMot.xcworkspace -scheme BonMot-Example -destination 'name=iPhone 6' ONLY_ACTIVE_ARCH=NO | xcpretty
- set -o pipefail && xcodebuild test -workspace Example/BonMot.xcworkspace -scheme BonMot-Example -destination 'name=iPhone 4s' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
|
Add node_modules to exclude list. | # 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: TheDeepEnd
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://yourdomain.com" # the base hostname & protocol for your site
github_username: TheDeepEnd
# Build settings
markdown: kramdown
| # 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: TheDeepEnd
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://yourdomain.com" # the base hostname & protocol for your site
github_username: TheDeepEnd
# List files we want to exclude from our build
exclude: [LICENSE, package.json, README.md, node_modules]
# Build settings
markdown: kramdown
|
Use package instead of buildπ | dist: trusty
sudo: required
language: node_js
node_js:
- "6"
os:
- linux
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install
script:
- npm run lint
- npm run build
after_success:
- npm run test-coverage
- npm run report-coverage
deploy:
provider: firebase
token:
secure: ${FIREBASE_TOKEN}
on:
tags: true
skip_cleanup: true
provider: npm
email: kevin.kreuzer90@icloud.com
api_key: ${NPM_KEY}
on:
tags: true
skip_cleanup: true
| dist: trusty
sudo: required
language: node_js
node_js:
- "6"
os:
- linux
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install
script:
- npm run lint
- npm run package
after_success:
- npm run test-coverage
- npm run report-coverage
deploy:
provider: firebase
token:
secure: ${FIREBASE_TOKEN}
on:
tags: true
skip_cleanup: true
provider: npm
email: kevin.kreuzer90@icloud.com
api_key: ${NPM_KEY}
on:
tags: true
skip_cleanup: true
|
Update black version used in pre-commit | repos:
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black
# Use the latest supported version here
language_version: python3.10
exclude: ^test/scanner_files/
| repos:
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
# Use the latest supported version here
language_version: python3.10
exclude: ^test/scanner_files/
|
Revert "Add Ruby 2.3 to Travis matrix" | language: ruby
rvm:
- 2.1
- 2.2
- 2.3
before_install: gem install bundler -v 1.11.2
| language: ruby
rvm:
- 2.1.8
- 2.2.4
before_install: gem install bundler -v 1.11.2
|
Stop testing node versions pre v4 | language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
notifications:
email: false
script:
- npm run lint
- npm run test-cov
after_success:
- npm run coveralls
| language: node_js
sudo: false
node_js:
- "4"
notifications:
email: false
script:
- npm run lint
- npm run test-cov
after_success:
- npm run coveralls
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.