doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
4d7e4579-9efe-4ac3-96f3-5b91ef4fa67c | {
"language": "YAML"
} | ```yaml
---
- name: Install st2
hosts: all
roles:
- mongodb
- rabbitmq
- st2repos
- postgresql
- st2mistral
- st2
- st2web
- st2smoketests
```
Install st2 before st2mistral and st2repos after postgresql | ```yaml
---
- name: Install st2
hosts: all
roles:
- mongodb
- rabbitmq
- postgresql
- st2repos
- st2
- st2mistral
- st2web
- st2smoketests
``` |
e4c33ca8-dd2d-4d5a-97b7-1241036f5736 | {
"language": "YAML"
} | ```yaml
Categories:
- Security
License: GPL-3.0-only
SourceCode: https://github.com/beemdevelopment/Aegis
IssueTracker: https://github.com/beemdevelopment/Aegis/issues
AutoName: Aegis
RepoType: git
Repo: https://github.com/beemdevelopment/Aegis
Builds:
- versionName: '0.2'
versionCode: 3
commit: v0.2
... | ```yaml
Categories:
- Security
License: GPL-3.0-only
SourceCode: https://github.com/beemdevelopment/Aegis
IssueTracker: https://github.com/beemdevelopment/Aegis/issues
AutoName: Aegis
RepoType: git
Repo: https://github.com/beemdevelopment/Aegis
Builds:
- versionName: '0.2'
versionCode: 3
commit: v0.2
... |
356b02a1-e036-4f81-8e24-15c8ae6686ad | {
"language": "YAML"
} | ```yaml
Categories:
- Science & Education
License: BSD-3-Clause
AuthorName: ARITRA BELEL and SHOURYA S GHOSH
SourceCode: https://github.com/belelaritra/Neumorphic_Calculator
IssueTracker: https://github.com/belelaritra/Neumorphic_Calculator/issues
AutoName: Calculator
RepoType: git
Repo: https://github.com/belelari... | ```yaml
Categories:
- Science & Education
License: BSD-3-Clause
AuthorName: ARITRA BELEL and SHOURYA S GHOSH
SourceCode: https://github.com/belelaritra/Neumorphic_Calculator
IssueTracker: https://github.com/belelaritra/Neumorphic_Calculator/issues
AutoName: Calculator
RepoType: git
Repo: https://github.com/belelari... |
c8f4f889-c56c-46a9-97aa-e990d2c0528c | {
"language": "YAML"
} | ```yaml
Categories:
- System
License: GPL-3.0-only
AuthorEmail: yoshi1@tutanota.com
SourceCode: https://github.com/yoshi1123/adbio
IssueTracker: https://github.com/yoshi1123/adbio/issues
AutoName: ADBio
RequiresRoot: 'yes'
RepoType: git
Repo: https://github.com/yoshi1123/adbio.git
Builds:
- versionName: '0.1'
... | ```yaml
Categories:
- System
License: GPL-3.0-only
AuthorEmail: yoshi1@tutanota.com
SourceCode: https://github.com/yoshi1123/adbio
IssueTracker: https://github.com/yoshi1123/adbio/issues
AutoName: ADBio
RequiresRoot: 'yes'
RepoType: git
Repo: https://github.com/yoshi1123/adbio.git
Builds:
- versionName: '0.1'
... |
733a26b9-c245-4cbb-8361-6ab74f15ea17 | {
"language": "YAML"
} | ```yaml
default: &default
url: <%= "redis://:#{ENV['REDIS_PASSWD'] || 'password'}@#{ENV['REDIS_HOST'] || 'localhost'}:#{ENV['REDIS_PORT'] || '6379'}" %>
timeout: <%= ENV['REDIS_TIMEOUT'] || 15 %>
development:
<<: *default
test:
<<: *default
production:
<<: *default
```
Add support to specify a Redis database... | ```yaml
default: &default
url: <%= "redis://:#{ENV['REDIS_PASSWD'] || 'password'}@#{ENV['REDIS_HOST'] || 'localhost'}:#{ENV['REDIS_PORT'] || '6379'}/#{ENV['REDIS_DB'] || '0'}" %>
timeout: <%= ENV['REDIS_TIMEOUT'] || 15 %>
development:
<<: *default
test:
<<: *default
production:
<<: *default
``` |
8e3feb06-908c-402a-8086-f4ee56f8796f | {
"language": "YAML"
} | ```yaml
---
- name: Install InfluxDB
become: true
apt: deb=https://dl.influxdata.com/influxdb/releases/influxdb_1.0.0_amd64.deb
register: influx_installed
- name: restart influxdb
service: name=influxdb enabled=yes state=restarted
when: influx_installed.changed
- name: Set up Initial InfluxD... | ```yaml
---
- name: Install InfluxDB
become: true
apt: deb=https://dl.influxdata.com/influxdb/releases/influxdb_1.0.0_amd64.deb
register: influx_installed
- name: restart influxdb
service: name=influxdb enabled=yes state=restarted
when: influx_installed.changed
- name: Set up Initial InfluxD... |
144e043f-ff0f-479c-9687-1c609147274e | {
"language": "YAML"
} | ```yaml
name: dart_doc_syncer
version: 0.0.0
description: >
Updates a documentation repository for an angular.io Dart example based on
latest content of the raw content under public/docs/_examples in the main
angular.io repository.
author: Thibault Sottiaux <thso@google.com>
dependencies:
logging: ^0.11.2
pat... | ```yaml
name: dart_doc_syncer
version: 0.0.0
description: >
Updates a documentation repository for an angular.io Dart example based on
latest content of the raw content under public/docs/_examples in the main
angular.io repository.
author: Thibault Sottiaux <thso@google.com>
dependencies:
args: ^0.13.0
loggin... |
90a006db-47fe-4076-9bdf-dfeb6d194635 | {
"language": "YAML"
} | ```yaml
---
- debug: var=apache verbosity=1
tags: vars
- name: Include OS-specific variables.
include_vars: "{{ ansible_os_family }}.yml"
- include_tasks: setup-Debian.yml
when: ansible_os_family == 'Debian'
- include_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
- include_tasks: post-setup.ym... | ```yaml
---
- debug: var=apache verbosity=1
tags: vars
- name: Include OS-specific variables.
include_vars: "{{ ansible_os_family }}.yml"
- include_tasks: setup-Debian.yml
when: ansible_os_family == 'Debian'
- include_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
- import_tasks: post-setup.yml... |
6da846aa-7082-4016-970e-9a6ff997e285 | {
"language": "YAML"
} | ```yaml
---
label: pessoal
hide_body: false
fields:
- name: layout
label: Layout
type: text
hidden: false
default: post
- name: title
label: Title
type: text
hidden: false
default: Título
- name: date
label: Date
type: datetime
hidden: false
default: 2019-02-21 03:00:00 +0000
- name: img
label... | ```yaml
---
label: pessoal
hide_body: false
fields:
- name: layout
label: Layout
type: text
hidden: false
default: post
- name: title
label: Title
type: text
hidden: false
default: Título
- name: date
label: Date
type: datetime
hidden: false
default: 2019-02-21 03:00:00 +0000
- name: img
label... |
9b59a934-b853-4ab1-b143-54d5a687bb12 | {
"language": "YAML"
} | ```yaml
# Configuration for support-requests - https://github.com/dessant/support-requests
name: 'Support StackOverflow'
on:
issues:
types: [labeled, unlabeled, reopened]
permissions:
issues: write
jobs:
mark-support:
runs-on: ubuntu-latest
steps:
- uses: dessant/support-requests@v2
w... | ```yaml
# Configuration for support-requests - https://github.com/dessant/support-requests
name: 'Support StackOverflow'
on:
issues:
types: [labeled, unlabeled, reopened]
permissions:
issues: write
jobs:
mark-support:
runs-on: ubuntu-latest
steps:
- uses: dessant/support-requests@v2
w... |
a6aae93f-96fe-4deb-98f9-f751a196feb0 | {
"language": "YAML"
} | ```yaml
---
engines:
fixme:
enabled: true
ratings:
paths: []
exclude_paths: []
```
Enable tailor engine on code climate file | ```yaml
engines:
tailor:
enabled: true
ratings:
paths:
- "Gollum/**.swift"
exclude_paths: []
``` |
184f1c5c-cb2c-4413-907d-4ddb818206c3 | {
"language": "YAML"
} | ```yaml
checks:
argument-count:
enabled: false
complex-logic:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: false
method-count:
enabled: false
method-lines:
enabled: false
nested-control-flow:
enabled: false
return-statements:
enabled: false
simi... | ```yaml
version: "2"
checks:
argument-count:
enabled: false
complex-logic:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: false
method-count:
enabled: false
method-lines:
enabled: false
nested-control-flow:
enabled: false
return-statements:
enabled... |
463a08fc-97a1-49f3-b92d-3dd598fd2ed3 | {
"language": "YAML"
} | ```yaml
---
engines:
brakeman:
enabled: true
bundler-audit:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
fixme:
enabled: true
rubocop:
enabled: true
ratings:
paths:
- Gemfile.lock
- "**.rb"
exclude_paths:
- "spec/**/*"
```
Remove brakeman from C... | ```yaml
---
engines:
bundler-audit:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
fixme:
enabled: true
rubocop:
enabled: true
ratings:
paths:
- Gemfile.lock
- "**.rb"
exclude_paths:
- "spec/**/*"
``` |
969633cc-5dde-4399-8d9c-7c431c1f613f | {
"language": "YAML"
} | ```yaml
version: '2'
services:
app:
build:
context: ../../
expose:
- "3000"
command: npm run start
selenium:
image: selenium/standalone-chrome
expose:
- '4444'
links:
- app
tests:
extends:
service: app
links:
- selenium
command: npm run _t... | ```yaml
version: '2'
services:
app:
build:
context: ../../
expose:
- '3000'
command: npm run start
selenium:
image: selenium/standalone-chrome
expose:
- '4444'
links:
- app
tests:
extends:
service: app
links:
- selenium
command: npm run _t... |
c66c204d-e904-4bb3-b565-3a08c74ffa49 | {
"language": "YAML"
} | ```yaml
homepage: ''
changelog-type: ''
hash: 4b538cd43bc77813eb9ccd322b64ccfea20b76a995c57e52c5c59ce7a85c06ed
test-bench-deps:
base: -any
tasty-discover: -any
async: -any
tasty-quickcheck: -any
tasty: -any
opentelemetry: -any
maintainer: ethercrow@gmail.com
synopsis: ''
changelog: ''
basic-deps:
exceptio... | ```yaml
homepage: ''
changelog-type: ''
hash: ffed9f1c503ed7bf0bb24ce963ba5e4a85db0c88abeba6baaea6f0ea47d55930
test-bench-deps:
bytestring: -any
base: -any
tasty-discover: -any
async: -any
tasty-quickcheck: -any
tasty-hunit: -any
tasty: -any
opentelemetry: -any
maintainer: ethercrow@gmail.com
synopsis: ... |
46a2955f-5b52-4e30-93b7-3d71ec02f4bb | {
"language": "YAML"
} | ```yaml
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Optionally build your docs in additional formats such as PDF and ePub
formats:
- htmlzip
- pdf
# Optionally set the version of Python and requirements ... | ```yaml
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Optionally build your docs in additional formats such as PDF and ePub
formats:
- htmlzip
- pdf
# Optionally set the version of Python and requirements ... |
b828a5df-3fcc-48df-9263-f74996a1993d | {
"language": "YAML"
} | ```yaml
build:
dependencies:
before:
- find . -delete
- git clone https://github.com/octobercms/october.git .
- composer self-update
- composer install --no-interaction --prefer-source
- mkdir -p ./plugins/vojtasvoboda/cnbrates
- cd plu... | ```yaml
build:
dependencies:
before:
- find . -delete
- git clone https://github.com/octobercms/october.git .
- composer self-update
- composer install --no-interaction --prefer-source
- mkdir -p ./plugins/vojtasvoboda/cnbrates
- cd plu... |
5085297d-83ce-4a49-9a18-11510876d739 | {
"language": "YAML"
} | ```yaml
imports:
- php
build:
environment:
php: '5.6.16'
tools:
php_code_sniffer:
filter:
excluded-paths: [ spec/*, examples/* ]
config:
standard: PSR2
php_analyzer:
filter:
excluded-paths: [ spec/*, examples/* ]
php_sim:
filter:
excluded-paths: [ spec/*, examples... | ```yaml
imports:
- php
build:
environment:
php: '5.6.16'
tools:
php_code_sniffer:
filter:
paths: [ src/* ]
excluded-paths: [ spec/*, examples/* ]
config:
standard: PSR2
php_analyzer:
filter:
paths: [ src/* ]
excluded-paths: [ spec/*, examples/* ]
php_sim:
fi... |
215e5afa-7ec7-4ca0-8711-6476be013368 | {
"language": "YAML"
} | ```yaml
- clean: ['~']
- link:
~/.vim: vim
~/.vimrc: vimrc
~/.tmux.conf: tmux.conf
- link:
~/bin/astyle: work/bin/astyle
~/bin/boxes: work/bin/boxes
~/.vim/settings/work.vim: work/work.vim
~/.vim/cpp.vimrc: work/cpp.vimrc
```
Make sure the directory is created for ext links | ```yaml
- clean: ['~']
- link:
~/.vim: vim
~/.vimrc: vimrc
~/.tmux.conf: tmux.conf
- link:
~/bin/astyle:
path: work/bin/astyle
create: true
~/bin/boxes:
path: work/bin/boxes
create: true
~/.vim/settings/work.vim: work/work.vim
~/.vim/cpp.vimrc: work/cpp.vimrc... |
dbe6a1eb-ee4d-459d-8345-10773f78078c | {
"language": "YAML"
} | ```yaml
checks:
ruby:
code_rating: true
duplicate_code: true
tools:
rubocop:
use_native_config: true
filter:
excluded_paths:
- spec/*
- vendor/*
build:
environment:
ruby: 2.4.0
project_setup:
before:
- gem update --system
- gem install i18n rspec
tests:
before:
... | ```yaml
checks:
ruby:
code_rating: true
duplicate_code: true
tools:
rubocop:
use_native_config: true
filter:
excluded_paths:
- spec/*
- vendor/*
build:
environment:
ruby: 2.4.0
project_setup:
before:
- gem update --system
- gem install i18n rspec
tests:
before:
... |
42e73634-d64c-4a1c-9d7d-f17747d1ae86 | {
"language": "YAML"
} | ```yaml
# .scrutinizer.yml
tools:
external_code_coverage: false
filter:
excluded_paths:
- app/Support/Migration/*
- app/database/migrations/*
```
Extend exclude path. Trigger a new inspection. | ```yaml
# .scrutinizer.yml
tools:
external_code_coverage: false
filter:
excluded_paths:
- app/Support/Migration/*
- app/database/migrations/*
- database/migrations/*
``` |
fa50d7ea-1f81-4ad8-b054-d6008f6ae222 | {
"language": "YAML"
} | ```yaml
# Site settings
title: My labnotebook
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.
ba... | ```yaml
# Site settings
title: My labnotebook
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.
ba... |
92e0628d-2357-47e4-8b9d-aa6c6da35cec | {
"language": "YAML"
} | ```yaml
# Site settings
title: Spine Event Engine
email: spine-developers@teamdev.com
# description: > # this means to ignore newlines until "baseurl:"
#url: "http://spine3.org" # the base hostname & protocol for your site
twitter_username: SpineEngine
github_username: SpineEventEngine
# Build settings
markdown: kr... | ```yaml
# Site settings
title: Spine Event Engine
email: spine-developers@teamdev.com
# description: > # this means to ignore newlines until "baseurl:"
#url: "http://spine.io" # the base hostname & protocol for your site
twitter_username: SpineEngine
github_username: SpineEventEngine
# Build settings
markdown: kram... |
eca76876-4587-4fac-ac6e-b742a04fa77a | {
"language": "YAML"
} | ```yaml
# Site settings
title: CityCampCHA
email: brigade@openchattanooga.com
description: CityCampCHA is an unconference focused on innovation for municipal governments and community organizations. As an unconference, content for CityCampCHA is not programmed for a passive audience. Content is created and organized by... | ```yaml
# Site settings
title: CityCampCHA
email: brigade@openchattanooga.com
description: CityCampCHA is an unconference focused on innovation for municipal governments and community organizations. As an unconference, content for CityCampCHA is not programmed for a passive audience. Content is created and organized by... |
16b69e8f-cda3-47d6-bbc4-7af25468e9a1 | {
"language": "YAML"
} | ```yaml
name: www.mistriotis.com
highlighter: true
url: ""
gems: [jekyll-paginate, jekyll-gist]
paginate: 8
description: Dimitrios mistriotis personal web site.
intro: Blog posts, contact, project, CV material
logo: ''
disqus_shortname:
# url: http://gotchacode.com
#Comment out url when working locally to resolve base... | ```yaml
name: www.mistriotis.com
url: ""
gems: [jekyll-paginate, jekyll-gist]
paginate: 8
description: Dimitrios mistriotis personal web site.
intro: Blog posts, contact, project, CV material
logo: ''
disqus_shortname:
# url: http://gotchacode.com
#Comment out url when working locally to resolve base urls correctly
#u... |
4a17c1ef-d791-4b5a-bb99-f4cfcb96440b | {
"language": "YAML"
} | ```yaml
---
# Here we describe every software we may want to install
- hosts: all
roles:
- role: osxc.packages
brew_taps:
- caskroom/fonts
brew_packages:
- git
- mercurial
- zsh
- lua
- luajit
- vim # --with-lua
- macvim # --with-cscope --with-lua --override-system-vim --HEAD... | ```yaml
---
# Here we describe every software we may want to install
- hosts: all
roles:
- role: osxc.packages
brew_taps:
- caskroom/fonts
brew_packages:
- git
- mercurial
- zsh
- lua
- luajit
- vim # --with-lua
- macvim # --with-cscope --with-lua --override-system-vim --HEAD... |
20758785-94e6-4b1a-b422-0928f98f44d4 | {
"language": "YAML"
} | ```yaml
# Permalinks
#
# Use of `relative_permalinks` ensures post links from the index work properly.
permalink: pretty
relative_permalinks: true
# Setup
title: Anna Tomka
tagline: 'Web Developer'
description: 'This is a simple blog presenting short entries about web develo... | ```yaml
# Permalinks
#
# Use of `relative_permalinks` ensures post links from the index work properly.
permalink: pretty
# Setup
title: Anna Tomka
tagline: 'Web Developer'
description: 'This is a simple blog presenting short entries about web development.'
url: ... |
4fc76297-9fe8-414d-abf7-3a36f4948455 | {
"language": "YAML"
} | ```yaml
public_website_url: "https://www.moneyadviceservice.org.uk"
qa_website_url: "https://qa.test.moneyadviceservice.org.uk"
qa_partner_tools_url: "https://qa-partner-tools.test.moneyadviceservice.org.uk"
development: false
```
Change test partner tools url to preview environment | ```yaml
public_website_url: "https://www.moneyadviceservice.org.uk"
qa_website_url: 'https://qa.dev.mas.local/'
qa_partner_tools_url: 'https://preview-partner-tools.dev.mas.local/'
development: false
``` |
9a139e09-9844-464f-845b-241c2312efa3 | {
"language": "YAML"
} | ```yaml
---
platform: linux
image: docker:///cfinfrastructure/deployment
run:
path: mega-ci/scripts/ci/delete-deployments/task.sh
params:
BOSH_PASSWORD:
BOSH_DIRECTOR:
BOSH_USER:
DEPLOYMENTS_WITH_WORD:
```
Add mega-ci input to delete-deployments | ```yaml
---
platform: linux
image: docker:///cfinfrastructure/deployment
inputs:
- name: mega-ci
run:
path: mega-ci/scripts/ci/delete-deployments/task.sh
params:
BOSH_PASSWORD:
BOSH_DIRECTOR:
BOSH_USER:
DEPLOYMENTS_WITH_WORD:
``` |
af20fd02-a17e-446f-ac0b-10413827ae1b | {
"language": "YAML"
} | ```yaml
# 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 restar... | ```yaml
# 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 restar... |
303e6c4a-d5f6-43e0-af65-5b9878996018 | {
"language": "YAML"
} | ```yaml
language: php
sudo: false
before_install:
- composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source
before_script:
- bash vendor/frozzare/wp-test-suite/bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 $WP_VERSION
- git clone https://github.com/wp-papi/p... | ```yaml
language: php
sudo: false
before_install:
- composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source
before_script:
- bash vendor/frozzare/wp-test-suite/bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 $WP_VERSION
- git clone --branch=2.x https://github.... |
d00ce345-60db-4442-82b3-483aaabf5693 | {
"language": "YAML"
} | ```yaml
language: node_js
sudo: true
node_js:
- "5.0"
script: npm run build
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_curre... | ```yaml
language: node_js
sudo: true
dist: trusty
node_js:
- "5.0"
script: npm run build
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome... |
378f419b-c9dd-4a30-8d54-33183af8beb7 | {
"language": "YAML"
} | ```yaml
sudo: required
services:
- docker
script:
- if [ "true" = "${SHELLCHECK-}" ]; then shellcheck *.sh ; fi
- if [ -n "${NODE_VERSION-}" ]; then ./test-build.sh $NODE_VERSION ; fi
- if [ "true" = "${DOCTOCCHECK-}" ]; then
nvm install node &&
npm i -g doctoc &&
cp README... | ```yaml
sudo: required
services:
- docker
addons:
apt:
packages:
- docker-ce
script:
- if [ "true" = "${SHELLCHECK-}" ]; then shellcheck *.sh ; fi
- if [ -n "${NODE_VERSION-}" ]; then ./test-build.sh $NODE_VERSION ; fi
- if [ "true" = "${DOCTOCCHECK-}" ]; then
nvm install node &&... |
25780cba-dc5f-496e-a13e-6bcc9c4bf902 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
script:
- ./gradlew check
```
Use `gradlew test` instead of `gradlew check` | ```yaml
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
script:
- ./gradlew test
``` |
89ded084-5b6f-4d83-9510-d4ca9366b348 | {
"language": "YAML"
} | ```yaml
language: php
branches:
only:
- master
- develop
php:
- 7.2
before_script:
- composer self-update
- composer install --no-interaction
- npm install
script:
- mkdir build
- composer check
- grunt
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-c... | ```yaml
language: php
branches:
only:
- master
- develop
php:
- 7.2
before_script:
- composer self-update
- composer install --no-interaction
- npm install
script:
- mkdir build
- composer check
- grunt
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-c... |
dd251796-011e-4d85-828b-9527082d716a | {
"language": "YAML"
} | ```yaml
language: java
sudo: false
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
env:
- MAVEN=3.0.4
- MAVEN=3.0.5
- MAVEN=3.1.0
- MAVEN=3.1.1
- MAVEN=3.2.1
- MAVEN=3.2.2
- MAVEN=3.2.3
- MAVEN=3.2.5
- MAVEN=3.3.1
- MAVEN=3.3.3
- MAVEN=3.3.9
matrix:
exclude:
- jdk: openjdk6
... | ```yaml
language: java
sudo: false
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
env:
- MAVEN=3.0.4
- MAVEN=3.0.5
- MAVEN=3.1.0
- MAVEN=3.1.1
- MAVEN=3.2.1
- MAVEN=3.2.2
- MAVEN=3.2.3
- MAVEN=3.2.5
- MAVEN=3.3.1
- MAVEN=3.3.3
- MAVEN=3.3.9
matrix:
exclude:
- jdk: openjdk6
... |
93b39e00-728e-47a5-90d5-5d5555d05fc5 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- openjdk7
- oraclejdk7
install:
- gem install bundler
- bundle install
script: buildr clean package
```
Reduce the size of the git repository downloaded during TravisCI testing. | ```yaml
language: java
jdk:
- openjdk7
- oraclejdk7
install:
- gem install bundler
- bundle install
script: buildr clean package
git:
depth: 10
``` |
6f7fe500-9d30-429a-84a1-50934b6d21bb | {
"language": "YAML"
} | ```yaml
dist: xenial
language: generic
addons:
apt:
sources:
- debian-sid
packages:
- shellcheck
script:
- sh test.sh
```
Install shellcheck from snap store | ```yaml
dist: xenial
language: generic
addons:
snaps:
- shellcheck
script:
- sh test.sh
``` |
123f629d-a92b-409c-9ca3-c6498764f874 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- "2.0"
- "2.1"
- "2.2"
env:
- INCLUDE_LINGUIST=true
- INCLUDE_LINGUIST=false
before_install:
- if [[ "$INCLUDE_LINGUIST" == "true" ]]; then BUNDLE_GEMFILE=Gemfile.optional; sudo apt-get install libicu-dev -y; fi
```
Work around Travis bundler issue | ```yaml
language: ruby
rvm:
- "2.0"
- "2.1"
- "2.2"
env:
- INCLUDE_LINGUIST=true
- INCLUDE_LINGUIST=false
before_install:
- gem install bundler
- if [[ "$INCLUDE_LINGUIST" == "true" ]]; then BUNDLE_GEMFILE=Gemfile.optional; sudo apt-get install libicu-dev -y; fi
``` |
1a0d7199-7c7c-4b92-8dbf-360879bf1d71 | {
"language": "YAML"
} | ```yaml
language: node_js
dist: trusty
sudo: required
node_js:
- "0.10"
before_install:
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- su... | ```yaml
language: node_js
dist: trusty
sudo: required
node_js:
- "0.10"
before_install:
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- su... |
9c4a4994-0588-4178-b424-99edb3fae992 | {
"language": "YAML"
} | ```yaml
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed ... | ```yaml
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed ... |
dba9dab0-aa97-4e80-b1f0-d2441d3cc082 | {
"language": "YAML"
} | ```yaml
language: haxe
sudo: false
haxe:
- development
install:
- haxelib install hxnodejs
script:
- haxe build.hxml
```
Test yaml -> plist conversion on Travis | ```yaml
language: haxe
sudo: false
haxe:
- development
install:
- haxelib install hxnodejs
- haxelib install yaml
- haxelib git plist https://github.com/back2dos/plist
script:
- haxe build.hxml
- cd syntaxes
- haxe build.hxml
``` |
ddfd19df-42d6-4b32-b49e-ee12be75b948 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer self-update
- composer install --prefer-source
```
Remove PHP 5.3 version for testing | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer self-update
- composer install --prefer-source
``` |
aecc2eea-e82e-414f-b9a5-de4c8b1a6c09 | {
"language": "YAML"
} | ```yaml
distro: trusty
sudo: false
language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
matrix:
allow_failures:
- php: 7.3
services:
- mysql
before_script:
- npm install grunt grunt-cli grunt-contrib-jshint grunt-contrib-csslint grunt-phplint --save-dev
- mysql -u root -e "CREATE DATABASE rhymix CHARSET utf8m... | ```yaml
distro: trusty
sudo: false
language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
services:
- mysql
before_script:
- npm install grunt grunt-cli grunt-contrib-jshint grunt-contrib-csslint grunt-phplint --save-dev
- mysql -u root -e "CREATE DATABASE rhymix CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci"
- mysql ... |
699d0719-ea5e-4af0-b8f6-98968ca9dbf1 | {
"language": "YAML"
} | ```yaml
sudo: false
sudo: false```
Add v5.22 to Travis, and run in container by turning off sudo | ```yaml
sudo: false
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --quiet --inst... |
4acc73b0-3b51-4117-9852-cbd3d5c84b76 | {
"language": "YAML"
} | ```yaml
sudo: true
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "pypy"
before_install:
- sudo apt-get update -qq
- sudo apt-get install --yes openssh-server
install:
- pip install coveralls
- python setup.py install
script:
coverage run --source=executor setup.py test
after_success:
coveralls
... | ```yaml
sudo: true
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "pypy"
before_install:
- sudo apt-get update -qq
- sudo apt-get install --yes openssh-server
install:
- pip install coveralls
- python setup.py install
script:
- coverage run --source=executor setup.py test
- coverage report --fai... |
fbf21be4-298f-4817-ba06-5ff699d45d20 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- "iojs"
- "0.12"
- "0.10"
```
Upgrade supported Node.js versions to 6 and 8 | ```yaml
sudo: false
language: node_js
node_js:
- "6"
- "8"
``` |
40496c40-f55b-41ed-991f-2a98afb84ae3 | {
"language": "YAML"
} | ```yaml
sudo: false
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install: pip install tox-travis
script: tox
```
Use newer versions of pip/setuptools | ```yaml
sudo: false
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install:
- pip install -U pip
- pip install tox-travis
script: tox
``` |
0cd513f9-b395-40f5-a070-2751ab6d0215 | {
"language": "YAML"
} | ```yaml
language: node_js
cache: yarn
node_js:
- node
- "9"
- "8"
- "6"
- "4"
install:
- YARN_IGNORE_ENGINES=true yarn
git:
depth: 5
```
Remove Node.js 4 and 9 support | ```yaml
language: node_js
cache: yarn
node_js:
- node
- "8"
- "6"
git:
depth: 5
``` |
eefd26ba-6c0a-41c0-b49c-998415931d3b | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
deploy:
skip_cleanup: true
provider: script
script: ./gradlew bintrayUpload
on:
branch: production```
Add cache and change deploy strategy | ```yaml
language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
deploy:
skip_cleanup: true
provider: script
script: ./gradlew bin... |
3cbad171-729d-4ac7-813f-8f4af8eaa2dd | {
"language": "YAML"
} | ```yaml
sudo: false
language: ruby
rvm:
- 2.3.1
bundler_args: --without development doc
before_install: gem install bundler -v 1.12.5
addons:
code_climate:
repo_token: 97786ceac8f7388a6ac89408a63f98454678567c780deef82377f8e66b9f7cd6
```
Add more Ruby versions to test in TravisCI | ```yaml
sudo: false
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
- 2.3.1
bundler_args: --without development doc
before_install: gem install bundler -v 1.12.5
addons:
code_climate:
repo_token: 97786ceac8f7388a6ac89408a63f98454678567c780deef82377f8e66b9f7cd6
``` |
a875ea04-70ae-4562-b485-bf157f27f1db | {
"language": "YAML"
} | ```yaml
language: node_js
matrix:
fast_finish: true
allow_failures:
- node_js: "0.12"
node_js:
- "0.10"
- "0.12"
services:
- couchdb
env:
global:
- NODE_ENV=test
- DEBUG_LEVEL=0
- NAME=emails
- TOKEN=apptoken
before_install:
- travis_retry npm insta... | ```yaml
language: node_js
matrix:
fast_finish: true
allow_failures:
- node_js: "0.12"
node_js:
- "0.10"
- "0.12"
services:
- couchdb
env:
global:
- NODE_ENV=test
- DEBUG_LEVEL=0
- NAME=emails
- TOKEN=apptoken
before_install:
- travis_retry npm insta... |
93c75808-07b4-48ea-96cb-528bf52c0c1b | {
"language": "YAML"
} | ```yaml
before_install:
- gem update --system
env:
global:
- AWS_ACCESS_KEY_ID=foo
- AWS_SECRET_ACCESS_KEY=bar
gemfile:
- gemfiles/libxml.gemfile
- gemfiles/nokogiri.gemfile
- gemfiles/oga.gemfile
- gemfiles/ox.gemfile
- gemfiles/rexml.gemfile
language: ruby
matrix:
allow_failures:
- rvm: ru... | ```yaml
before_install:
- gem update --system
- gem install bundler
env:
global:
- AWS_ACCESS_KEY_ID=foo
- AWS_SECRET_ACCESS_KEY=bar
gemfile:
- gemfiles/libxml.gemfile
- gemfiles/nokogiri.gemfile
- gemfiles/oga.gemfile
- gemfiles/ox.gemfile
- gemfiles/rexml.gemfile
language: ruby
matrix:
allow... |
5b2f3ca6-737d-42e6-b233-1c09dc95b616 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "8"
- "7"
- "5"
- "6"
- "4"
git:
depth: 1
branches:
only:
- master
cache:
directories:
- node_modules
matrix:
fast_finish: true
before_install:
- npm i -g npm@latest
before_script:
- node --version
- npm --version
script:
- npm test
after_s... | ```yaml
language: node_js
node_js:
- "8"
- "7"
- "5"
- "6"
- "4"
git:
depth: 1
branches:
only:
- master
cache:
directories:
- $HOME/.npm
- node_modules
matrix:
fast_finish: true
before_install:
- npm i -g npm@latest
before_script:
- node --version
- npm --version
script:
- ... |
fede04be-a07d-459d-b851-d5226f47af1f | {
"language": "YAML"
} | ```yaml
branches:
except:
- rpi
- swift3
language: generic
sudo: required
env: SWIFT_VERSION=4.1
matrix:
include:
- os: linux
dist: trusty
- os: osx
osx_image: xcode9
env:
- OPENSSL_ROOT_DIR=$(brew --prefix openssl)
install:
- eval "$(curl -sL https://swiftenv.fuller.... | ```yaml
branches:
except:
- rpi
- swift3
language: generic
sudo: required
env: SWIFT_VERSION=4.1
matrix:
include:
- os: linux
dist: trusty
- os: osx
osx_image: xcode9.3
env:
- OPENSSL_ROOT_DIR=$(brew --prefix openssl)
install:
- eval "$(curl -sL https://swiftenv.fulle... |
020c205d-ceec-4238-aa34-425cef231afe | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- '2.2'
- '2.1'
- '2.0'
- 1.9.3
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y npm
install:
- gem install bundler
- bundle install
- bundle exec rake npm
```
Use nvm on Travis CI | ```yaml
sudo: false
cache: bundler
language: ruby
rvm:
- '2.2'
- '2.1'
- '2.0'
- 1.9.3
install:
- nvm install node
- node -v
- gem install bundler
- bundle install
- bundle exec rake npm
``` |
9e6c0a29-3624-4711-b4c5-e9e85943908e | {
"language": "YAML"
} | ```yaml
language: objective-c
env:
- OS=8.3
before_install:
- brew update
- bundle install
- cd Example && pod install && cd $TRAVIS_BUILD_DIR
script: rake test
```
Use new OS X image on Travis | ```yaml
language: objective-c
osx_image: beta-xcode6.3
env:
- OS=8.3
before_install:
- brew update
- bundle install
- cd Example && pod install && cd $TRAVIS_BUILD_DIR
script: rake test
``` |
c5abdd62-8355-46d7-aec2-e478047d7482 | {
"language": "YAML"
} | ```yaml
language: python
sudo: required
dist: trusty
python:
- '3.5'
before_install:
- sudo apt update && sudo apt install -y inkscape
install:
- pip install -r requirements_dev.txt
env:
- TOX_ENV=lint
- TOX_ENV=py27,stats
- TOX_ENV=py35,stats
- TOX_ENV=doc
script:
- tox -c tox.ini -e $... | ```yaml
language: python
sudo: required
dist: trusty
python:
- '3.5'
before_install:
- sudo apt update && sudo apt install -y inkscape libdbus-1-dev libdbus-glib-1-dev
env:
- TOX_ENV=lint
- TOX_ENV=py27,stats
- TOX_ENV=py35,stats
- TOX_ENV=doc
script:
- tox -c tox.ini -e $TOX_ENV
# this i... |
af589ceb-cb48-416c-92f2-09a1cbbd5a97 | {
"language": "YAML"
} | ```yaml
sudo: required
language: node_js
env:
- TEST="tests/end2end/A* tests/end2end/I* tests/end2end/L*"
- TEST="tests/end2end/Mee*"
- TEST="tests/end2end/Mi*"
- TEST="tests/end2end/R* tests/end2end/S* tests/end2end/T*"
- TEST="unit"
addons:
artifacts:
# This uploads all headless screenshots generate... | ```yaml
sudo: required
language: node_js
env:
- TEST="tests/end2end/A* tests/end2end/I* tests/end2end/L*"
- TEST="tests/end2end/Mee*"
- TEST="tests/end2end/Mi*"
- TEST="tests/end2end/R* tests/end2end/S* tests/end2end/T*"
- TEST="unit"
addons:
artifacts:
# This uploads all headless screenshots generate... |
6b84cc07-f307-4aa5-9ad4-ef6187dad579 | {
"language": "YAML"
} | ```yaml
language: php
arch:
- amd64
- arm64
os: linux
php:
- "7.2"
services:
- docker
before_install:
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD $DOCKER_REGISTRY
script:
- cd php
- ./build.sh $TRAVIS_PHP_VERSION $DOCKER_USER $DOCKER_PASSWORD $DOCKER_REGISTRY
```
Revert "Try ... | ```yaml
language: php
arch:
- amd64
- arm64
php:
- "5.6"
- "7.0"
- "7.1"
- "7.2"
- "7.3"
sudo: required
services:
- docker
before_install:
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD $DOCKER_REGISTRY
script:
- cd php
- ./build.sh $TRAVIS_PHP_VERSION $DOCKER_USER $DOCKE... |
6409eb78-4587-4de9-896e-949ee217a0bc | {
"language": "YAML"
} | ```yaml
language: objective-c
osx_image: xcode7
git:
submodules: false
before_install:
- brew update
- brew install carthage
install: script/update
script: script/test
```
Use Xcode 7.2 for CI builds. | ```yaml
language: objective-c
osx_image: xcode7.2
git:
submodules: false
before_install:
- brew update
- brew install carthage
install: script/update
script: script/test
``` |
c3fcfddd-9119-43c0-9e98-d729dd882300 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.4"
install:
- pip install .
- pip install python-dateutil
- pip install httpretty
cache:
directories:
- $HOME/.cache/pip
script: nosetests -v
branches:
only:
- dev
notifications:
email:
- urschrei@example.com
```
Use recommended setting for pip ... | ```yaml
language: python
python:
- "2.7"
- "3.4"
install:
- pip install .
- pip install python-dateutil
- pip install httpretty
cache: pip
script: nosetests -v
branches:
only:
- dev
notifications:
email:
- urschrei@example.com
``` |
e17f4edc-a2b2-4774-b3cc-379f7efa62d5 | {
"language": "YAML"
} | ```yaml
language: python
python: "2.7"
env:
- TOXENV=py27
- TOXENV=py33
# install dependencies
install:
- pip install tox --use-mirrors
- pip install .
- pip install -e .[test]
# run tests
script: tox
```
Remove deprecated --use-mirrors flag. Don't install test deps, as tox does this anyway. | ```yaml
language: python
python: "2.7"
env:
- TOXENV=py27
- TOXENV=py33
# install dependencies
install:
- pip install tox
- pip install .
# run tests
script: tox
``` |
9e3d1744-2592-4f49-a461-352c66d7cf0c | {
"language": "YAML"
} | ```yaml
# Copyright 2018 The Nomulus Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | ```yaml
# Copyright 2018 The Nomulus Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... |
58cf6600-add0-423b-ab0b-e3cd81b35516 | {
"language": "YAML"
} | ```yaml
language: objective-c
osx_image: xcode8.3
branches:
only:
- master
before_script:
- git submodule update --init --recursive
script: script/cibuild "$TRAVIS_XCODE_WORKSPACE" "$TRAVIS_XCODE_SCHEME" "$XCODE_ACTION"
xcode_workspace: Tentacle.xcworkspace
matrix:
include:
- xcode_scheme: Tentacle-OSX
... | ```yaml
language: objective-c
osx_image: xcode9
branches:
only:
- master
before_script:
- git submodule update --init --recursive
script: script/cibuild "$TRAVIS_XCODE_WORKSPACE" "$TRAVIS_XCODE_SCHEME" "$XCODE_ACTION"
xcode_workspace: Tentacle.xcworkspace
matrix:
include:
- xcode_scheme: Tentacle-OSX
... |
573021f4-cbc6-471f-af55-b67bd847abe5 | {
"language": "YAML"
} | ```yaml
addons:
apt:
sources:
- debian-sid
packages:
- gcc-arm-none-eabi
- libnewlib-dev
sudo: false
script: cd firmware/nordic_nrf51/app/ble_peripheral/ledbrick_pwm/pca10028/s110/armgcc && GNU_INSTALL_PREFIX=/usr make
language: c
```
Allow libstdc++, just to bring in newlib | ```yaml
addons:
apt:
sources:
- debian-sid
packages:
- gcc-arm-none-eabi
- libstdc++-arm-none-eabi-newlib
sudo: false
script: cd firmware/nordic_nrf51/app/ble_peripheral/ledbrick_pwm/pca10028/s110/armgcc && GNU_INSTALL_PREFIX=/usr make
language: c
``` |
fcf16aa7-ed73-440a-912f-3eeb635e5201 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.6
- 7.0
env:
global:
- DRIVER_VERSION="stable"
- ADAPTER_VERSION="^1.0.0"
services: mongodb
before_install:
- curl -sS https://getcomposer.org/installer | php
install:
- if [[ ${TRAVIS_PHP_VERSION:0:2} == "5." ]]; then yes '' | pecl -q install -f mongo-$... | ```yaml
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
env:
global:
- DRIVER_VERSION="stable"
- ADAPTER_VERSION="^1.0.0"
services: mongodb
before_install:
- curl -sS https://getcomposer.org/installer | php
install:
- if [[ ${TRAVIS_PHP_VERSION:0:2} == "5." ]]; then yes '' | pecl -... |
f61773c3-1770-4d54-80d8-74fbc97ccabe | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
env:
global:
- ES_VER=0.20.5
- ES_MAPPER_ATTACHMENTS_VER=1.6.0
- ES_TRANSPORT_THRIFT_VER=1.4.0
before_script:
- composer self-update
- composer --dev install
- ./test/bin/install_php_memcache.sh
- ./test/bin/run_elasticsearch.sh
script: phpunit -c tes... | ```yaml
language: php
php:
- 5.3
- 5.4
env:
global:
- ES_VER=0.20.5
- ES_MAPPER_ATTACHMENTS_VER=1.6.0
- ES_TRANSPORT_THRIFT_VER=1.4.0
before_script:
- composer self-update
- composer --dev --prefer-source install
- ./test/bin/install_php_memcache.sh
- ./test/bin/run_elasticsearch.sh
script... |
0c6a4945-8e44-48ce-abe3-938a490664d8 | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.7
- tip
install:
- git clone https://github.com/pote/gpm.git && cd gpm && ./configure
- cd .. && gpm/bin/gpm install && rm -rf gpm
script: go test -v ./...
```
Remove tip tests because it's been broken for some time now and should be fixed in a separate PR | ```yaml
language: go
go:
- 1.7
install:
- git clone https://github.com/pote/gpm.git && cd gpm && ./configure
- cd .. && gpm/bin/gpm install && rm -rf gpm
script: go test -v ./...
``` |
6b8d9bbb-70f2-40a4-bfba-668931c7b5a0 | {
"language": "YAML"
} | ```yaml
os:
- linux
- osx
language: go
sudo: false
go:
- tip
- 1.7
- 1.6
- 1.5
install:
- go get -v golang.org/x/exp/ebnf
- make build
script:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- make test
after_success:
- bash <(cur... | ```yaml
os:
- linux
- osx
language: go
sudo: false
go:
- tip
- 1.8
- 1.7
install:
- go get -v golang.org/x/exp/ebnf
- make build
script:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- make test
after_success:
- bash <(curl -s htt... |
5d6088a1-b048-483b-9895-5943320ec1c2 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
install:
- composer install --prefer-source -n
script:
- vendor/bin/php-cs-fixer fix -v --dry-run .
- vendor/bin/phpcs --standard=PSR2 -p --extensions=php Gass/ Tests/
- vendor/bin/phpunit -... | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: hhvm
- php: nightly
install:
- composer install --prefer-source -n
script:
- vendor/bin/php-cs-fixer fix -v --dry-run .
- vendor/bin/phpcs --standard=PSR2 -p --extensions=php Gass/... |
cff5d0c3-d6d1-4e5d-b0da-199ca88e7575 | {
"language": "YAML"
} | ```yaml
install: true
language: c
compiler: gcc
script: make all
```
Add AVR platform to compilation process | ```yaml
sudo: required
language: c
before_install:
- sudo apt-get update
install:
- sudo apt-get install gcc-avr binutils-avr avr-libc
script:
- make all
- make -f makefile-avr all
``` |
f03e33d0-26e6-419b-a7f0-2d6eedc9fa4c | {
"language": "YAML"
} | ```yaml
cache:
directories:
- node_modules
before_script:
- npm install -g gulp-cli
- npm install
script:
- gulp
addons:
browserstack:
username: SkyzohKey
acess_key:
secure: mYw0GWbvsfKkAOMv4a+sji+i8w7MJSs0FjMLeu1V93nz1YLPWmlLAEEhRVH7PI5gayWTOAxAOAxdUV03Zu0bF5P3V9AR3t8l1lHWbwiBoWryv37fK2QaHDCCptAhrk... | ```yaml
cache:
directories:
- node_modules
before_script:
- npm install -g gulp-cli
- npm install
script:
- gulp
addons:
browserstack:
username: SkyzohKey
access_key:
secure: $BROWSERSTACK_ACCESS_KEY
``` |
9f175efe-18cf-410e-9933-e187ad44accf | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
branches:
only:
- master
- development
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:... | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
branches:
only:
- master
- development
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
befo... |
036b03a4-0e0b-40dc-babd-f81a4d93b686 | {
"language": "YAML"
} | ```yaml
environment:
matrix:
- OS: unix/cygwin
- OS: win32
install:
- "C:/cygwin/setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P libcrypt-devel,mingw64-i686-libgcrypt,tcl-tk-devel,mingw64-i686-tcl,mingw64-i686-tk"
build_script:
- C:\Cygwin\bin\bash ... | ```yaml
environment:
matrix:
- OS: unix
# - OS: win32
install:
- "C:/cygwin/setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P libcrypt-devel,mingw64-i686-libgcrypt,tcl-tk-devel,mingw64-i686-tcl,mingw64-i686-tk"
build_script:
- C:\Cygwin\bin\bash -lc "c... |
51e26026-e756-4b3c-8acd-40c78558d650 | {
"language": "YAML"
} | ```yaml
# ESLint config
# http://eslint.org/docs/user-guide/configuring
# https://github.com/BigstickCarpet/eslint-config-modular
extends:
- modular/best-practices
- modular/style
- modular/es6
- modular/node
```
Mark the ESLint config as the root one for the project | ```yaml
# ESLint config
# http://eslint.org/docs/user-guide/configuring
# https://github.com/BigstickCarpet/eslint-config-modular
root: true
extends:
- modular/best-practices
- modular/style
- modular/es6
- modular/node
``` |
7e580832-73f9-46e6-9419-9179db0add8d | {
"language": "YAML"
} | ```yaml
Categories:
- Phone & SMS
License: GPL-3.0-only
AuthorName: igrmk
AuthorEmail: igrmkx@gmail.com
SourceCode: https://github.com/igrmk/smsq
IssueTracker: https://github.com/igrmk/smsq/issues
Bitcoin: 32JdGEVP42WiVxsADa3Z65qn1xe2K7Yg3S
Litecoin: MCCRrC4NcT926bDRchpKxQ5kmatzcEMaz7
AutoName: smsQ
Description: |-
... | ```yaml
Categories:
- Phone & SMS
License: GPL-3.0-only
AuthorName: igrmk
AuthorEmail: igrmkx@gmail.com
SourceCode: https://github.com/igrmk/smsq
IssueTracker: https://github.com/igrmk/smsq/issues
Bitcoin: 32JdGEVP42WiVxsADa3Z65qn1xe2K7Yg3S
Litecoin: MCCRrC4NcT926bDRchpKxQ5kmatzcEMaz7
AutoName: smsQ
Description: |-
... |
7fae9452-dc64-436b-bcd1-37b360243c68 | {
"language": "YAML"
} | ```yaml
name: Deployment
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- run: export CHROME_BIN=chromium-browser
- run: export DISPLAY=:99.0
- run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- run: sleep 5
- uses: actions/checkout@v1
- use... | ```yaml
name: Deployment
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- run: export CHROME_BIN=chromium-browser
- run: export DISPLAY=:99.0
- run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- run: sleep 5
- uses: actions/checkout@v1
- use... |
1d8c91e2-3c3d-4ba8-99a4-eef26b35a9f3 | {
"language": "YAML"
} | ```yaml
# https://github.com/helm/chart-testing-action/blob/master/README.md
name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch history
run: git fetch --prune --unshallow
- nam... | ```yaml
# https://github.com/helm/chart-testing-action/blob/master/README.md
name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch history
run: git fetch --prune --unshallow
- nam... |
09b3da71-0516-42f4-968e-bd1d3eea990d | {
"language": "YAML"
} | ```yaml
adapter: postgresql
database: sortifiable
username: sortifiable
host: localhost
encoding: utf8
min_messages: warning
```
Use TCP connections by default | ```yaml
adapter: postgresql
database: sortifiable
username: sortifiable
host: 127.0.0.1
encoding: utf8
min_messages: warning
``` |
5a7fd4be-b546-43ce-8bc9-d000dbecec09 | {
"language": "YAML"
} | ```yaml
---
### Nagios Variables ###
nagios_username: nagiosadmin
nagios_password: bb8391fe27
nagios_http_port: 80
nagios_https_port: 443
admin_name_01: nagiosadmin
admin_email_01: nagios@localhost
### NRPE variables ###
nrpe_tcp_port: 5666
# threshold for # of processes
warning_proc: 900
critical_proc: 1000
```
Cha... | ```yaml
---
### Nagios Variables ###
nagios_username: nagiosadmin
nagios_password: changeme
nagios_http_port: 80
nagios_https_port: 443
admin_name_01: nagiosadmin
admin_email_01: nagios@localhost
### NRPE variables ###
nrpe_tcp_port: 5666
# threshold for # of processes
warning_proc: 900
critical_proc: 1000
``` |
95f4541c-18b0-4fc8-9a29-f1da274accca | {
"language": "YAML"
} | ```yaml
---
galaxy_info:
author: The Galaxy Project
description: Install and manage a CloudMan image (https://wiki.galaxyproject.org/CloudMan/)
company: The Galaxy Project
license: MIT
min_ansible_version: 1.4
platforms:
- name: Ubuntu
versions:
- trusty
categories:
- system
- cloud
dependen... | ```yaml
---
galaxy_info:
author: The Galaxy Project
description: Install and manage a CloudMan image (https://wiki.galaxyproject.org/CloudMan/)
company: The Galaxy Project
license: MIT
min_ansible_version: 1.6
platforms:
- name: Ubuntu
versions:
- trusty
categories:
- system
- cloud
- clus... |
d58ea2d2-4f88-4d10-9cce-d0d0019d5b1f | {
"language": "YAML"
} | ```yaml
---
dependencies:
- { role: Aplyca.Nginx, tags: ["nginx"], when: accelerator.use_nginx }
- { role: Aplyca.Varnish, tags: ["varnish"] }
galaxy_info:
author: aplyca
description: Accelerator for Debian/Ubuntu.
company: "Aplyca SAS"
license: "license (BSD, MIT)"
min_ansible_version: 1.4
platform... | ```yaml
---
dependencies:
- { role: Aplyca.Nginx, tags: ["nginx"], when: accelerator.use_nginx }
- { role: Aplyca.Varnish, tags: ["varnish"] }
galaxy_info:
author: aplyca
description: Accelerator for Debian/Ubuntu.
company: "Aplyca SAS"
license: "license (BSD, MIT)"
min_ansible_version: 1.4
platforms:... |
8b44ebfa-055b-40c9-a3af-bf3b244088d3 | {
"language": "YAML"
} | ```yaml
############################################################################################################
# PostgreSQL
############################################################################################################
# min_messages:
# Controls which message levels are sent to the client.
# ... | ```yaml
############################################################################################################
# PostgreSQL
############################################################################################################
# min_messages:
# Controls which message levels are sent to the client.
# ... |
771807f3-34c6-4a21-a4c7-38675545ff43 | {
"language": "YAML"
} | ```yaml
uuid: a92b9b90-4b9b-4b36-96f7-55eb5bdcf510
name: badcamp-2017
mail: matt@getpantheon.com
slogan: ''
page:
403: ''
404: ''
front: /node
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en
_core:
default_config_hash: AyT9s8OUcclfALRE_imByOMgtZ19eOlqdF6zI3p7yqo
```
Update th... | ```yaml
uuid: a92b9b90-4b9b-4b36-96f7-55eb5bdcf510
name: badcamp-2017
mail: info@badcamp.net
slogan: ''
page:
403: ''
404: ''
front: /node
admin_compact_mode: false
weight_select_max: 100
langcode: en
default_langcode: en
_core:
default_config_hash: AyT9s8OUcclfALRE_imByOMgtZ19eOlqdF6zI3p7yqo
``` |
d17b4cf0-d370-45f4-b029-a882e920094d | {
"language": "YAML"
} | ```yaml
---
govuk::safe_to_reboot::can_reboot: 'careful'
govuk::safe_to_reboot::reason: 'Check for primary, reboot secondaries, step down primary, reboot primary'
lv:
mongodb:
pv: '/dev/sdb1'
vg: 'backup'
data:
pv: '/dev/sdc1'
vg: 'mongodb'
mount:
/var/lib/mongodb:
disk: '/dev/mapper/mongod... | ```yaml
---
govuk::safe_to_reboot::can_reboot: 'careful'
govuk::safe_to_reboot::reason: 'Check for primary, reboot secondaries, step down primary, reboot primary'
lv:
mongodb:
pv: '/dev/sdd1'
vg: 'backup'
data:
pv: '/dev/sdc1'
vg: 'mongodb'
mount:
/var/lib/mongodb:
disk: '/dev/mapper/mongod... |
13b916bb-fa8c-4683-9722-f125fd151e6e | {
"language": "YAML"
} | ```yaml
project: "my-gcp-project"
project_number: 0
robot:
name: ""
crd_spec_source: "robot"
```
Use crd_spec_source cloud in the mission cr | ```yaml
project: "my-gcp-project"
project_number: 0
robot:
name: ""
crd_spec_source: "cloud"
``` |
b1da24a8-e3f2-4306-94c2-7f308d31e82d | {
"language": "YAML"
} | ```yaml
---
# Tag
- name: Invoke ansible_aws_repo.py to do the {{ ansible_aws_repo_op }} for {{ ansible_aws_image }}:{{ ansible_aws_tag }}
vars:
ansible_aws_account_id: "{{ ansible_aws_instance_params.account_id }}"
script: "roles/ansible_aws/files/ansible_aws_repo_ops.py {{ ansible_aws_repo_op }}
{{ a... | ```yaml
---
- fail:
msg: "Variable {{ item }} is not defined"
when: item not in vars
with_items:
- ansible_aws_account_id
- ansible_aws_region
- ansible_aws_image
- ansible_aws_tag
# Tag
- name: Invoke ansible_aws_repo.py to do the {{ ansible_aws_repo_op }} for {{ ansible_aws_image }}:{{ ansib... |
4106e4d3-d2f4-4f81-8145-8c3658d135c6 | {
"language": "YAML"
} | ```yaml
name: "Checks the SDK only using APIs from the targeted API level"
on:
push:
branches:
- dev
- master
pull_request:
branches:
- dev
- master
jobs:
lint-api-level:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
... | ```yaml
name: "Checks the SDK only using APIs from the targeted API level"
on:
push:
branches:
- dev
- master
pull_request:
branches:
- dev
- master
jobs:
lint-api-level:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
... |
a3cc0b76-5229-430f-92e8-a01e4f9a179f | {
"language": "YAML"
} | ```yaml
before_script:
- export PATH=~/bin:/usr/local/bin:/usr/bin:/bin
- gem install --bindir ~/bin bundler
- cp config.yml.example config.yml
- bundle install
rspec:
script:
- bundle exec rspec spec
tags:
- git-annex
- ruby
except:
- tags
rubocop:
script:
- bundle exec rubocop
... | ```yaml
before_script:
- export PATH=~/bin:/usr/local/bin:/usr/bin:/bin
- apt-get install git-annex
- gem install --bindir ~/bin bundler
- cp config.yml.example config.yml
- bundle install
rspec:
script:
- bundle exec rspec spec
tags:
- ruby
except:
- tags
rubocop:
script:
- bundle ... |
b4368de4-99a8-4f60-94cb-d11335717f83 | {
"language": "YAML"
} | ```yaml
image: python:3.5
cache:
paths:
- /root/.cache
before_script:
- pip install tox
flake8:
script:
- tox -e flake8
pylint:
script:
- tox -e pylint
py27:
image: python:2.7
script:
- tox -e py27
coverage: '/\S+\.py\s+(?:\d+\s+){4}(\d+\%)/'
py35:
script:
- tox -e py35
cover... | ```yaml
image: python:3.5
cache:
paths:
- .pip
- .tox
before_script:
- pip --cache-dir=.pip install tox
flake8:
script:
- tox -e flake8
pylint:
script:
- tox -e pylint
py27:
image: python:2.7
script:
- tox -e py27
coverage: '/\S+\.py\s+(?:\d+\s+){4}(\d+\%)/'
py35:
script:
-... |
fb8e8a8f-b31a-4207-bc08-04a2ad477c04 | {
"language": "YAML"
} | ```yaml
image: continuumio/miniconda3:4.1.11
before_script:
- conda config --add channels conda-forge
- conda config --add channels defaults
- conda config --add channels r
- conda config --add channels bioconda
- conda install snakemake
stages:
- rulegraph
# DAG
rulegraph:
stage: rulegraph
scri... | ```yaml
image: continuumio/miniconda3:4.1.11
before_script:
- conda config --add channels conda-forge
- conda config --add channels defaults
- conda config --add channels r
- conda config --add channels bioconda
- conda install snakemake
stages:
- rulegraph
- run
# DAG
rulegraph:
stage: rulegr... |
b779dd70-450a-4de6-a7c9-1acfdec2729e | {
"language": "YAML"
} | ```yaml
stages:
- build
- publish
.build:
stage: build
allow_failure: true
image: "coderus/sailfishos-platform-sdk:${SFOS_VERSION}"
artifacts:
paths:
- "output/*"
script:
- sudo mkdir output
- mkdir ~/build
- cp -r * ~/build
- pushd ~/build
- mb2 -t SailfishOS-$SFOS_VERSION-... | ```yaml
stages:
- build
- test
- publish
.build:
stage: build
variables:
ARCH: armv7hl
SFOS_VERSION: "3.4.0.24"
image: coderus/sailfishos-platform-sdk:${SFOS_VERSION}
artifacts:
paths:
- "output/*"
script:
- mkdir output
- mkdir ~/build
- cp -r * ~/build
- pushd ~/buil... |
603c4aea-eb33-47d9-8e4a-b2d97508face | {
"language": "YAML"
} | ```yaml
image: caryan/pycontrol
before_script:
- pip install coveralls meta watchdog
- conda install future
- conda install -c ecpy atom
- pip install git+https://github.com/BBN-Q/QGL.git
- export PYTHONPATH=$PWD/src/python
stages:
- test
run_tests:
stage: test
script:
- cd src/python
- cover... | ```yaml
image: bjohnson/pyqgl2
before_script:
- export PYTHONPATH=$PWD/src/python
stages:
- test
run_tests:
stage: test
script:
- cd src/python
- coverage run -m unittest discover
after_script:
- coverage report -m
``` |
c01c424b-f976-4b41-853d-292c797cbcb7 | {
"language": "YAML"
} | ```yaml
image: bitnami/node:8
before_script:
- env DEBIAN_FRONTEND=noninteractive apt-get update -qq && env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq php < /dev/null > /dev/null
- npm install --quiet --global eslint stylelint; npm install --quiet --no-save --production stylelint-config-standard styleli... | ```yaml
image: jacob9230/linter
before_script:
- node -v
- npm -v
- php -v
code_quality:
script:
- stylelint "./src/assets/styles/**/*.scss"
- eslint "./src/assets/scripts/**/*.js"
- phplint "./src"
``` |
4df0d2c6-2c45-4b13-8c65-d417bb757a97 | {
"language": "YAML"
} | ```yaml
variables:
DEBIAN_FRONTEND: noninteractive
before_script:
# -
# echo "deb http://httpredir.debian.org/debian/ jessie main contrib" >
# /etc/apt/sources.list
- cat /etc/apt/sources.list
- apt-get update -y -qq
-
apt-get install -y -qq doxygen cmake libnss3-dev libev-dev
vagrant dae... | ```yaml
variables:
DEBIAN_FRONTEND: noninteractive
before_script:
# -
# echo "deb http://httpredir.debian.org/debian/ jessie main contrib" >
# /etc/apt/sources.list
- cat /etc/apt/sources.list
- apt-get update -y -qq
-
apt-get install -y -qq doxygen cmake libnss3-dev libev-dev
vagrant dae... |
2b46e22b-0515-4834-a346-402a8209e011 | {
"language": "YAML"
} | ```yaml
image: python:3.5
cache:
paths:
- /root/.cache
before_script:
- pip install tox
flake8:
script:
- tox -e flake8
pylint:
script:
- tox -e pylint
```
Update GitLab CI configuration to run unit tests | ```yaml
image: python:3.5
cache:
paths:
- /root/.cache
before_script:
- pip install tox
flake8:
script:
- tox -e flake8
pylint:
script:
- tox -e pylint
py27:
image: python:2.7
script:
- tox -e py27
py35:
script:
- tox -e py35``` |
0efb10eb-71ab-4f66-8ed7-6f3dacfebc35 | {
"language": "YAML"
} | ```yaml
before_script:
- angr-test sync hard
angr:
script: "angr-test angr"
tags:
- "angr"
fidget:
script: "angr-test fidget"
tags:
- "angr"
angrop:
script: "angr-test angrop"
tags:
- "angr"
topsecret:
script: "angr-test top-secret"
tags:
- "angr"
... | ```yaml
before_script:
- angr-test sync hard
angr:
script: "angr-test angr"
tags:
- "angr"
fidget:
script: "angr-test fidget"
tags:
- "angr"
angrop:
script: "angr-test angrop"
tags:
- "angr"
topsecret:
script: "angr-test top-secret"
tags:
- "angr"
... |
0003760d-d8b1-4e1c-a491-8d73c2dd2c71 | {
"language": "YAML"
} | ```yaml
# https://golangci-lint.run/usage/configuration/
linters:
disable:
- gofumpt
- scopelint
enable:
- gosimple
- misspell
presets:
- bugs
- format
- unused
linters-settings:
exhaustive:
default-signifies-exhaustive: true
run:
skip-dirs:
- pkg/generated
```
Check fo... | ```yaml
# https://golangci-lint.run/usage/configuration/
linters:
disable:
- gofumpt
- scopelint
enable:
- gomodguard
- gosimple
- misspell
presets:
- bugs
- format
- unused
linters-settings:
exhaustive:
default-signifies-exhaustive: true
gomodguard:
blocked:
mo... |
d9d3e368-c081-4538-934e-ba0fbda125c3 | {
"language": "YAML"
} | ```yaml
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/04-Settings
prod:
.settings:
no_script_name: false
logging_enabled: false
dev:
.settings:
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
w... | ```yaml
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/04-Settings
prod:
.settings:
no_script_name: false
logging_enabled: false
dev:
.settings:
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.