doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
7092d42d-a92b-4d1f-800a-7ebefa9b9f33 | {
"language": "YAML"
} | ```yaml
name: Robaiatul Islam, kuttumiah
markdown: kramdown
baseurl: /learning-github-pages
url: http://kuttumiah.github.io
```
Modify permalink for blog posts. | ```yaml
name: Robaiatul Islam, kuttumiah
markdown: kramdown
baseurl: /learning-github-pages
url: http://kuttumiah.github.io
permalink: /blog/:year/:month/:day/:title
``` |
faec6713-9423-4466-a68e-3f23bd00e386 | {
"language": "YAML"
} | ```yaml
theme: jekyll-theme-midnight
title: Pandentia's Site
description: Misecellaneous projects and other tidbits
show_downloads: false
```
Change the website theme (again) | ```yaml
theme: minima
title: Pandentia's Site
description: Misecellaneous projects and other tidbits
show_downloads: false
``` |
aa470d80-b159-47ac-9bd2-b9e7ec93ed3b | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.4"
before_install:
- source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
- wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
- sudo apt-get updat... | ```yaml
language: python
python:
- "2.7"
- "3.4"
before_install:
- source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
- wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
- sudo apt-get updat... |
aea92140-e04e-4096-9463-c96185937416 | {
"language": "YAML"
} | ```yaml
language: python
python:
- '2.6'
- '2.7'
- '3.3'
- pypy
install:
- pip install pep8 coveralls
script:
- python setup.py test
- python setup.py build install
- coverage erase
- nosetests --with-coverage --cover-package=flask_cors
after_success:
- pep8 flask_cors.py
- coveralls
deploy:
provider: pypi
user: wc... | ```yaml
language: python
python:
- '2.6'
- '2.7'
- '3.3'
- pypy
install:
- pip install pep8 coveralls
script:
- python setup.py test
- python setup.py build install
- coverage erase
- nosetests --with-coverage --cover-package=flask_cors
after_success:
- pep8 flask_cors.py
- coveralls
deploy:
provider: pypi
user: wc... |
efff3045-4346-447a-b82b-36fc79cd88b1 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: 7
- php: hhvm
before_script:
- composer self-update
- composer install --dev --prefer-source
script:
# Only run code coverage and CS checks on 5.6
- if [[ $TRAVIS_PHP_VERSION != '5.... | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: 7
- php: hhvm
before_script:
- composer self-update
- composer install --prefer-source
script:
# Only run code coverage and CS checks on 5.6
- if [[ $TRAVIS_PHP_VERSION != '5.6' ]];... |
a314e0c3-5de1-4543-8d54-fc05ab67c097 | {
"language": "YAML"
} | ```yaml
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '7'
- '6'
- '4'
script:
- npm test
- npm run coverage
before_script:
- npm prune
after_script:
- 'cat coverage/lcov.info | ./node_modules/.bin/coveralls' # sends the coverage report to coveralls
aft... | ```yaml
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '8'
- '7'
- '6'
script:
- npm test
- npm run coverage
before_script:
- npm prune
after_script:
- 'cat coverage/lcov.info | ./node_modules/.bin/coveralls' # sends the coverage report to coveralls
aft... |
f2e5ccc9-3875-4d89-95a4-542d92f10c5a | {
"language": "YAML"
} | ```yaml
sudo: required
services:
- docker
language: node_js
node_js:
- "stable"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
before_install:
- docker run -d --name kong-database -e "POSTGRES_USER=kong" -e "POSTGRES_DB=kong" postgres:9.4
- sleep 5
- docker run -d --name kong --lin... | ```yaml
sudo: required
services:
- docker
language: node_js
node_js:
- "stable"
- "4"
- "6"
before_install:
- docker run -d --name kong-database -e "POSTGRES_USER=kong" -e "POSTGRES_DB=kong" postgres:9.4
- sleep 5
- docker run -d --name kong --link kong-database:kong-database -e "KONG_DATA... |
d1fee644-95d0-41ae-aa33-c3ce567a6a8e | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- bash tests/before_script.sh
script:
- bash tests/script.sh
```
Add PHP nightly builds to continuous integration tests | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- nightly
matrix:
allow_failures:
- php: hhvm
- php: nightly
before_script:
- bash tests/before_script.sh
script:
- bash tests/script.sh
``` |
400d4471-530c-4add-ba2d-06db36ccc1bd | {
"language": "YAML"
} | ```yaml
language: php
php:
- hhvm
- 7
- 5.6
- 5.5
- 5.4
matrix:
fast_finish: true
before_script:
- composer self-update
- composer install -n
script:
- composer test
```
Improve build runtime by disabling Xdebug. | ```yaml
language: php
php:
- hhvm
- 7
- 5.6
- 5.5
- 5.4
matrix:
fast_finish: true
before_script:
- if [ $TRAVIS_PHP_VERSION != "hhvm" ]; then phpenv config-rm xdebug.ini ; fi
- composer self-update
- composer install -n
script:
- composer test
``` |
73508ff0-580b-4d22-9127-82f40a3b8019 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "6"
- "7"
- "8"
- "9"
- "10"
- "11"
script:
- "npm run lint"
- "npm run test-with-coverage"
after_success:
- "npm run coveralls"
sudo: false
```
Remove support for node 6 | ```yaml
language: node_js
node_js:
- "7"
- "8"
- "9"
- "10"
- "11"
script:
- "npm run lint"
- "npm run test-with-coverage"
after_success:
- "npm run coveralls"
sudo: false
``` |
2e460f8a-4a9b-4b45-8877-210c5d0429a0 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.7
before_install:
- sudo apt-get install libcairomm-1.0-dev libboost-all-dev
- wget http://www.cairographics.org/releases/py2cairo-1.10.0.tar.bz2
- tar xf py2cairo-1.10.0.tar.bz2
- cd py2cairo-1.10.0
- ./waf configure --prefix=$(python -c "import sys; print(sys.prefix)")
- ./waf bui... | ```yaml
language: python
python:
- 2.7
before_install:
- sudo apt-get install libcairomm-1.0-dev libboost-all-dev
- wget http://www.cairographics.org/releases/py2cairo-1.10.0.tar.bz2
- tar xf py2cairo-1.10.0.tar.bz2
- cd py2cairo-1.10.0
- ./waf configure --prefix=$(python -c "import sys; print(sys.prefix)")
- ./waf bui... |
21076e1f-68e4-4f7c-880c-b8ca92327ddc | {
"language": "YAML"
} | ```yaml
language: cpp
script: make
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- gcc-5
- g++-5
- clang-3.6
```
Change Travis CI config to use clang-3.7 and gcc-5 | ```yaml
language: cpp
script: make
compiler:
- clang
- gcc
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5
- compiler: clang
addons:
apt:
source... |
da68b5a2-6528-4a7c-89d5-5a418d527473 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- jruby-20mode
- jruby-19mode
- rbx
script: bundle exec rspec spec
```
Remove troublesome rubies and add REE for kicks | ```yaml
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- jruby-19mode
- ree
script: bundle exec rspec spec
``` |
a5836dbd-d1c6-41b7-ac04-29d52a306c9f | {
"language": "YAML"
} | ```yaml
language: "node_js"
node_js:
- 0.4
- 0.6
```
Test on node 0.8 using Travis CI. | ```yaml
language: "node_js"
node_js:
- 0.4
- 0.6
- 0.8
``` |
23ee6dfb-3260-4c95-b59e-28a03e21c226 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- "1.8.7"
- "1.9.2"
- "1.9.3"
script: bundle exec rspec
```
Remove test support for Ruby 1.8.7 | ```yaml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
script: bundle exec rspec
``` |
2044d023-9c89-421f-a57b-30013915a874 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
install: "pip install -r requirements.txt"
script: py.test```
Install from correct requirements file, Travis | ```yaml
language: python
python:
- "2.6"
- "2.7"
install: "pip install -r requirements_tests.txt"
script: py.test``` |
0bf47e78-605b-40a3-a694-e5bd44214a6c | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "10.11.0"
script:
- ./travis.sh
```
Use modern Yarn version on Travis CI | ```yaml
language: node_js
node_js:
- "10.11.0"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0
- export PATH=$HOME/.yarn/bin:$PATH
script:
- ./travis.sh
``` |
5fd910c9-b6f4-4a47-bb6c-dc77f40e93cf | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
# command to install dependencies
install:
# older versions of pip won't work
- sudo apt-get install libyaml-dev
- pip install nose
- pip install... | ```yaml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
# command to install dependencies
install:
# older versions of pip won't work
- sudo apt-get install libyaml-dev
- pip install nose
- pip install... |
49023939-6443-4d61-8f1f-46b29d1c1547 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.7
env:
- TOX_ENV=lint
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=py35
- TOX_ENV=py36
- TOX_ENV=py37
- TOX_ENV=pypy
- TOX_ENV=pypy3
install:
- pip install tox
script:
- tox -e $TOX_ENV
notifications:
email:
- tomaz+travisc... | ```yaml
language: python
python:
- 2.7
env:
- TOX_ENV=lint
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=py35
- TOX_ENV=py36
- TOX_ENV=py37
- TOX_ENV=pypy
- TOX_ENV=pypy3
install:
- pip install tox
script:
- tox -e $TOX_ENV
notifications:
email:
- tomaz+travisci@tomaz.me
``` |
45a60f3a-6d87-4759-845f-746f934a37b7 | {
"language": "YAML"
} | ```yaml
language: python
sudo: false
cache:
- pip
python:
- "2.7"
- "3.5"
env:
- DJANGO_VERSION=1.10.*
- DJANGO_VERSION=1.11.*
install:
- pip install -r requirements.txt
- pip uninstall -y Django
- pip install -q Django==$DJANGO_VERSION
- pip list
before_script:
- psql -c 'create database access_m... | ```yaml
language: python
sudo: false
cache:
- pip
python:
- "2.7"
- "3.5"
env:
- DJANGO_VERSION=1.10.*
- DJANGO_VERSION=1.11.*
install:
- pip install -r requirements.txt
- pip uninstall -y Django
- pip install -q Django==$DJANGO_VERSION
- pip list
before_script:
- psql -c 'create database access_m... |
79b9c8a4-e1f9-47f7-9c7c-f729c486eec0 | {
"language": "YAML"
} | ```yaml
dist: xenial
sudo: required
language: python
python:
- "3.7"
services:
- docker
env:
global:
- PREFIX=gtcg/sv-callers
- TAG=depr
matrix:
- ECHO=0 MODE=s PORT=10020 SCH=gridengine
- ECHO=0 MODE=p PORT=10021 SCH=gridengine
- ECHO=0 MODE=s PORT=10022 SCH=sl... | ```yaml
dist: xenial
sudo: required
language: python
python:
- "3.7"
services:
- docker
env:
global:
- PREFIX=gtcg/sv-callers
- TAG=1.1.2
matrix:
- ECHO=0 MODE=s PORT=10020 SCH=gridengine
- ECHO=0 MODE=p PORT=10021 SCH=gridengine
- ECHO=0 MODE=s PORT=10022 SCH=s... |
f8991af0-4663-4fb6-b2c7-f7f429376d5a | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.1.1
- 2.0.0
- 1.9.3
```
Upgrade Ruby on Travis to 2.1.2 | ```yaml
language: ruby
rvm:
- 2.1.2
- 2.0.0
- 1.9.3
``` |
8114435b-4370-4039-88d1-e285aa8d32bc | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.3.4
cache: bundler
branches:
only:
- master
install:
- bundle install
script:
- git config --global user.email "travis@travis-ci.org"
- git config --global user.name "Travis CI"
- JEKYLL_ENV=production jgd -u https://$GH_TOKEN@github.com/grab/engineering-blog.git
```
Upgrade RVM to ... | ```yaml
language: ruby
rvm:
- 2.6.1
cache: bundler
branches:
only:
- master
before_install:
- gem install bundler
install:
- bundle install
script:
- git config --global user.email "travis@travis-ci.org"
- git config --global user.name "Travis CI"
- JEKYLL_ENV=production jgd -u https://$GH_TOKEN@github.com/grab/eng... |
a6951d66-a880-4104-a321-6989485d0ffa | {
"language": "YAML"
} | ```yaml
os:
- linux
- osx
language: node_js
sudo: required
dist: trusty
osx_image: xcode9.3
env:
- SWIFT_VERSION=3.0.2
- SWIFT_VERSION=3.1
- SWIFT_VERSION=4.0.3
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
- npm install --global --no-optional dredd
script:
- swift test
- make test
```
Use Node 8... | ```yaml
os:
- linux
- osx
language: node_js
node_js: 8
sudo: required
dist: trusty
osx_image: xcode9.3
env:
- SWIFT_VERSION=3.0.2
- SWIFT_VERSION=3.1
- SWIFT_VERSION=4.0.3
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
- npm install --global --no-optional dredd
script:
- swift test
- make test
``` |
ec12e2bf-6cbb-47c2-b4b6-f1c682c6a026 | {
"language": "YAML"
} | ```yaml
language: rust
sudo: false
rust:
- stable
- beta
- nightly
notifications:
email: false
```
Make Travis run the tool | ```yaml
language: rust
sudo: false
rust:
- stable
- beta
- nightly
script:
- cargo run -- --database tests/fixtures/blackscholes.sqlite3 --table static --cores 4
notifications:
email: false
``` |
b488df05-b7b8-4d3a-a68a-0611bd2825ab | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
before_script:
- npm install -g grunt-cli
matrix:
fast_finish: true
```
Make use of Travis CI caching. | ```yaml
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
before_script:
- npm install -g grunt-cli
matrix:
fast_finish: true
cache:
directories:
- node_modules
``` |
01a71d33-f5ca-41b4-b90c-c0d7a5f0512f | {
"language": "YAML"
} | ```yaml
language: java
sudo: false
jdk:
- openjdk7
- oraclejdk7
```
Add auto-release and Oracle JDK 8 to Travis config | ```yaml
language: java
sudo: false
jdk:
- oraclejdk8
##
# When a release is tagged, push to GitHub Releases.
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file: ./build/libs/storm-websockets.jar
skip_cleanup: true
on:
tags: true
``` |
6533964a-9fc6-49cd-8fae-242fe5c1c440 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
# command to install dependencies
install:
- ./bootstrap.sh
- fab develop
# command to run tests
script: fab test
```
Switch to using python's distutils for isntalling and testing since Fabric doesn't support Python 3+ at this time... | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
# command to install dependencies
install: python setup.py install
# command to run tests
script: python setup.py test
``` |
e8991ba4-74eb-49ea-abc6-df1132b441b3 | {
"language": "YAML"
} | ```yaml
language: python
cache: pip
env:
global:
- PILLOW_VERSION=3.2.0
matrix:
include:
- python: 2.7
env: PILLOW_VERSION=2.9.0
- python: 2.7
env: PILLOW_VERSION=3.0.0
- python: 2.7
- python: 3.3
- python: 3.4
- python: 3.5
- python: 3.6
before_install:
# Dependen... | ```yaml
language: python
cache: pip
env:
global:
- PILLOW="Pillow"
matrix:
include:
- python: 2.7
- python: 3.4
env: PILLOW="Pillow==2.9.0"
- python: 3.5
env: PILLOW="Pillow==3.0.0"
- python: 3.6
before_install:
# Dependencies to build PIL
- sudo apt-get update -qq
- s... |
b5d2680e-098a-4875-85e8-bf46c5baf6b2 | {
"language": "YAML"
} | ```yaml
language: node_js
cache: yarn
node_js:
- stable
- "8"
- "6"
- "4"
install:
- YARN_IGNORE_ENGINES=true yarn
```
Rename stable to node in Travis CI Node.js versions | ```yaml
language: node_js
cache: yarn
node_js:
- node
- "8"
- "6"
- "4"
install:
- YARN_IGNORE_ENGINES=true yarn
``` |
512a1dea-2295-4ce5-bead-daf3a5263de7 | {
"language": "YAML"
} | ```yaml
language: go
services:
- rabbitmq
env:
- AMQP_URL=amqp://guest:guest@127.0.0.1:5672/ GOMAXPROCS=2
script: go test -v -tags integration ./...
before_script:
- sh -c "sleep 120 && killall -QUIT amqp.test" &
```
Test under multiple go versions | ```yaml
language: go
go:
- 1.0
- 1.1
- tip
services:
- rabbitmq
env:
- AMQP_URL=amqp://guest:guest@127.0.0.1:5672/ GOMAXPROCS=2
script: go test -v -tags integration ./...
before_script:
- sh -c "sleep 120 && killall -QUIT amqp.test" &
``` |
8ef60e94-c0b0-408a-bdcb-e3015026616a | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
env:
- PYTHONPATH='.'
branches:
only:
- master
- next
before_install:
- sudo apt-get update
- sudo apt-get install nodejs
- curl http://npmjs.org/install.sh | sh
- npm install zombie
install:
- pip install . --use-mirrors
- pip inst... | ```yaml
language: python
python:
- "2.6"
- "2.7"
env:
- PYTHONPATH='.'
branches:
only:
- master
- next
before_install:
- sudo apt-get update
- sudo apt-get install nodejs
- curl http://npmjs.org/install.sh | sh
- npm install zombie
install:
- pip install . --use-mirrors
- pip install nose
... |
4faf85af-4139-4176-b136-fea1214b2e5d | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
before_script:
- composer self-update
- composer install --dev -o
- mkdir tests/files
script: phpunit --coverage-text --coverage-clover /tmp/flysystem/coverage.xml```
Add HHMV as a test php version but allow it to fail | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- hhmv
matrix:
allow_failures:
- php: hhmv
before_script:
- composer self-update
- composer install --dev -o
- mkdir tests/files
script: phpunit --coverage-text --coverage-clover /tmp/flysystem/coverage.xml``` |
51f9986f-3cdf-4b87-8854-f7a023f3347d | {
"language": "YAML"
} | ```yaml
# .travis.yml
# Build Options
language: ruby
rvm:
- 2.3.1
before_script:
- cp .rspec.example .rspec
script:
- bundle exec thor ci:steps
# Travis-CI Configuration
cache: bundler
sudo: false # Enable containerized builds.
services:
- mongodb
addons:
apt:
sources:
- mongodb-3.0-precise
packages:
... | ```yaml
# .travis.yml
# Build Options
language: ruby
rvm:
- 2.3.1
before_script:
- cp .rspec.example .rspec
script:
- bundle exec thor ci:steps
# Travis-CI Configuration
cache: bundler
sudo: false # Enable containerized builds.
services:
- mongodb
``` |
bb9c1e9f-bd78-4354-848f-924712046629 | {
"language": "YAML"
} | ```yaml
# Not really c++, but stops travis from listing a language.
language: c++
matrix:
include:
# -----------------------------------------------------------------
# Linux hosted tests
- os: linux
dist: trusty
sudo: false
env: BAZEL=HEAD
- os: linux
dist: trusty
sudo... | ```yaml
# Not really c++, but stops travis from listing a language.
language: c++
matrix:
include:
# -----------------------------------------------------------------
# Linux hosted tests
- os: linux
dist: trusty
sudo: false
env: BAZEL=HEAD
- os: linux
dist: trusty
sudo... |
4ad3a1e3-ac04-49af-9191-1fd759409c7a | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
- '6'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
```
Build with latest Node.js 6 on Travis CI. | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
- '6'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
``` |
383cc10b-b2dd-4a98-ba5d-98409f7b49d2 | {
"language": "YAML"
} | ```yaml
language: python
python:
- '2.7'
before_install:
- openssl aes-256-cbc -K $encrypted_c50ef8f16548_key -iv $encrypted_c50ef8f16548_iv
-in uxgraph-client-secret.json.enc -out uxgraph-client-secret.json -d
deploy:
provider: gae
keyfile: "uxgraph-client-secret.json"
project: "tessa3-uxgraph"
script: "main_t... | ```yaml
language: python
python:
- '2.7'
before_install:
- openssl aes-256-cbc -K $encrypted_c50ef8f16548_key -iv $encrypted_c50ef8f16548_iv
-in uxgraph-client-secret.json.enc -out uxgraph-client-secret.json -d
deploy:
provider: gae
keyfile: "uxgraph-client-secret.json"
project: "tessa3-uxgraph"
``` |
15e52581-f133-4133-93fe-4c0417a6139c | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.1
- 1.2
- 1.3
- release
- tip
```
Add back explicit install of gocheck for Go 1.1 | ```yaml
language: go
go:
- 1.1
- 1.2
- 1.3
- release
- tip
-install:
- - go get launchpad.net/gocheck
``` |
14770f8d-c252-49f7-8fe4-2582d2f0d6af | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.2.0
- 2.1.0
```
Test on a really old Ruby version | ```yaml
language: ruby
rvm:
- 2.2.0
- 2.1.0
- 2.0.0
``` |
fbded654-dc34-450f-8f6a-3828576a90f3 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3.3
- 5.4
before_install:
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
before_script:
- composer self-update
- composer install
script:
- (cd test; phpunit -c phpunit.xml.dist)
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; then... | ```yaml
language: php
php:
- 5.3
- 5.4
before_install:
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
before_script:
- composer self-update
- composer install
script:
- (cd test; phpunit -c phpunit.xml.dist)
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; then w... |
2f5ea283-1409-4399-b2a6-9f2d46816ce5 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
- '4.1.1'
```
Enable fast containers on Travis CI | ```yaml
sudo: false
language: node_js
node_js:
- '4.1.1'
- '0.12'
- '0.11'
- '0.10'
``` |
d3340989-0f92-45a2-9a42-1507d59e9e2c | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.11"
- "0.10"
```
Update Travis CI to install Grunt before running tests. | ```yaml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm install -g grunt-cli
``` |
47ac2626-5c97-46ac-b36e-aef08c10ff2c | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
install:
- pip install coveralls --use-mirrors
# Commands to run tests.
# Force nose to process test files in alphabetical order so that
# test000.py is first (it changes sys.path which is needed for
# other tests) by explicitly ordering param... | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
install:
- pip install coveralls --use-mirrors
# Commands to run tests.
# Force nose to process test files in alphabetical order so that
# test000.py is first (it changes sys.path which is needed for
# other tests) by explicitly ordering param... |
12d16ee8-115f-4019-af8f-8e824d273fc0 | {
"language": "YAML"
} | ```yaml
# Language options
language: python
python:
- "3.6"
# Install dependencies
install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
- "pip install -r requirements/base.txt"
# Run the tests
script: coverage run -m pytest
# Assess t... | ```yaml
# Language options
language: python
python:
- "3.6"
# Install dependencies
install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
- "pip install -r requirements/base.txt"
- pip install flake8
# Run flake8 tests
before_scri... |
f3f059a2-6b3c-4497-b0c9-b74debb2f1c8 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
sudo: false
addons:
apt:
packages:
- python-numpy
- python-sphinx
install:
- pip install nose-cov python-coveralls
- pip install -r requirements.txt
# Run test
script:
- nosetests --with-cov --cov properties --cov-config .covera... | ```yaml
language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
sudo: false
addons:
apt:
packages:
- python-numpy
install:
- pip install nose-cov python-coveralls sphinx
- pip install -r requirements.txt
# Run test
script:
- nosetests --with-cov --cov properties --cov-config .coveragerc -v -s
# C... |
a4a39370-9560-4486-ab40-6fe8af3bb10c | {
"language": "YAML"
} | ```yaml
language: objective-c
before_install:
- sudo gem install cocoapods
- sudo easy_install cpp-coveralls
script:
- make coverage
after_success:
- make send-to-coveralls
```
Add upgrade xctool at build on Travis CI | ```yaml
language: objective-c
before_install:
- sudo easy_install cpp-coveralls
- sudo gem install cocoapods
- brew update
- brew upgrade xctool
script:
- make coverage
after_success:
- make send-to-coveralls
``` |
662b78ba-6171-42a7-b3d1-90d5ba699760 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c php... | ```yaml
language: php
sudo: false
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/ph... |
71fad8ff-939d-4392-ae37-457995e56deb | {
"language": "YAML"
} | ```yaml
language: php
php:
- 7.2
services:
- mysql
before_script:
- mysql -e 'create database budget_testing;'
- cp .env.travis .env
- composer install --no-interaction
- php artisan key:generate
- php artisan migrate --database=testing
jobs:
include:
- stage: test
name: "PHPUnit"
sc... | ```yaml
language: php
php:
- 7.2
services:
- mysql
before_script:
- mysql -e 'create database budget_testing;'
- cp .env.travis .env
- composer install --no-interaction
- php artisan key:generate
- php artisan migrate --database=testing
jobs:
include:
- stage: test
name: "PHPUnit"
sc... |
946db6b6-313f-4118-8af2-7b8243275413 | {
"language": "YAML"
} | ```yaml
# pulled from repo
name: "Rubocop"
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
branches: [ master ]
jobs:
rubocop:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v2
# If running on... | ```yaml
# pulled from repo
name: "Rubocop"
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
branches: [ master ]
jobs:
rubocop:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v2
# If running on... |
cabfc651-e07d-4229-8f69-945e24eed2ee | {
"language": "YAML"
} | ```yaml
name: Publish Docker image to GitHub Container Registry
on:
push:
branches:
- master
- deploy
jobs:
publish:
name: Publish Docker image to GitHub Container Registry
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@... | ```yaml
name: Publish Docker image to GitHub Container Registry
on:
push:
branches:
- master
- deploy
jobs:
publish:
name: Publish Docker image to GitHub Container Registry
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@... |
0cb4d4fd-822a-4fac-9d3f-0930861cbfd1 | {
"language": "YAML"
} | ```yaml
name: Python package
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/s... | ```yaml
name: Python package
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/s... |
5448198b-05dc-496e-a075-b270f092bd76 | {
"language": "YAML"
} | ```yaml
---
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- rbx-2
- jruby
- jruby-head
- ruby-head
matrix:
include:
- { rvm: 1.9.3, env: rack=1.4.0 }
- { rvm: 1.8.7, env: tilt=master }
- { rvm: 1.9.3, env: rack=master }
- { rvm: 1.9.3, env: tilt=master }
allow_failures:
- env: ... | ```yaml
---
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- rbx-2
- jruby
- jruby-head
- ruby-head
sudo: false
matrix:
include:
- { rvm: 1.9.3, env: rack=1.4.0 }
- { rvm: 1.8.7, env: tilt=master }
- { rvm: 1.9.3, env: rack=master }
- { rvm: 1.9.3, env: tilt=master }... |
f0f65083-a048-46e0-a427-a698990efea3 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm: 2.4.2
sudo: false
script: "./ci/buildscript"
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
deploy:
provider: heroku
app: travis-foundation-website
on: master
api_key:
secure: Rm1cRna+t7MpnxtntICizgDlY1o111R7GeAjNVbOQf4publ5coL9vC7KoKQx/cz5jeooE9Wx/4qe83/JIXdIVtAJZEcFDuEq+... | ```yaml
language: ruby
rvm: 2.4.2
sudo: false
script: "./ci/buildscript"
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
deploy:
provider: heroku
app: travis-foundation-website
on: master
api_key: $HEROKU_TOKEN
``` |
d4106255-d60c-442c-8b35-cc7ef421eb49 | {
"language": "YAML"
} | ```yaml
language: go
sudo: false
dist: trusty
env:
global:
- HUGO_BUILD_TAGS="extended"
git:
depth: false
go:
- "1.11.5"
- tip
os:
- linux
- osx
- windows
matrix:
allow_failures:
- go: tip
fast_finish: true
exclude:
- os: windows
go: tip
install:
- mkdir -p $HOME/src
- mv $HOME/gopa... | ```yaml
language: go
sudo: false
dist: trusty
env:
global:
- HUGO_BUILD_TAGS="extended"
git:
depth: false
go:
- "1.11.5"
- tip
os:
- linux
- osx
- windows
matrix:
allow_failures:
- go: tip
fast_finish: true
exclude:
- os: windows
go: tip
install:
- mkdir -p $HOME/src
- mv $TRAVIS_BU... |
3666a81d-48e2-4389-a170-8448fc4da0f5 | {
"language": "YAML"
} | ```yaml
sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=resources-17090-ubuntu-1604
... | ```yaml
sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=resources-17090-ubuntu-1604
... |
707cd1d9-d71c-4b72-bb27-36822940af3a | {
"language": "YAML"
} | ```yaml
osx_image: xcode9.2
language: objective-c
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
before_install:
- rvm list
- rvm install $(cat .ruby-version)
- brew update
- brew outdated swiftlint || brew upgrade swiftlint
# Test using Fastlane
script:
- ./fastlane/travis.sh
```
Update Tra... | ```yaml
osx_image: xcode9.3
language: objective-c
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
before_install:
- rvm list
- rvm install $(cat .ruby-version)
- brew update
- brew outdated swiftlint || brew upgrade swiftlint
# Test using Fastlane
script:
- ./fastlane/travis.sh
``` |
e40271d0-c84d-495c-b5e6-58a05e0771e1 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.3
- 1.9.2
- rbx-19mode
- ruby-head```
Add JRuby 1.9 as a supported Version | ```yaml
language: ruby
rvm:
- 1.9.3
- 1.9.2
- rbx-19mode
- ruby-head
- jruby-19mode``` |
9656af9a-87d0-43bf-9781-49c78aa6d071 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "3.3"
- "3.4"
install: "pip3 install -r requirements.txt"
script: "python3 build-assets.py all && git diff --exit-code"
```
Add -OO param to hasten it somewhat | ```yaml
language: python
python:
- "3.3"
install: "pip3 install -r requirements.txt"
script: "python3 -OO build-assets.py all && git diff --exit-code"
``` |
a9164ab8-5f14-41f8-af53-c0f2e85e5e41 | {
"language": "YAML"
} | ```yaml
dist: xenial
language: python
python:
- "3.5"
- "3.6"
- "3.7"
install:
- pip install django
script:
- ./manage.py test --verbosity=2
```
Drop support for Python 3.5. | ```yaml
dist: xenial
language: python
python:
- "3.6"
- "3.7"
install:
- pip install django
script:
- ./manage.py test --verbosity=2
``` |
ca6fc039-ac57-42e7-b663-7b42872fd572 | {
"language": "YAML"
} | ```yaml
language: android
android:
components:
- tools
- tools #Running this twice get's the latest build tools (https://github.com/codepath/android_guides/wiki/Setting-up-Travis-CI)
- platform-tools
- android-28
- android-22
- build-tools-28.0.3
- extra
- sys-img-armeabi-v7a-google_apis-22
... | ```yaml
language: android
android:
components:
- tools
- tools #Running this twice get's the latest build tools (https://github.com/codepath/android_guides/wiki/Setting-up-Travis-CI)
- platform-tools
- android-28
- android-22
- build-tools-28.0.3
- extra
- sys-img-armeabi-v7a-google_apis-22
... |
84431892-6544-4969-996f-b65d57c93518 | {
"language": "YAML"
} | ```yaml
services:
_defaults:
autowire: true
public: false
autoconfigure: true
bind:
$startSession: "%hexanet_monolog_extra.session_start%"
Hexanet\Common\MonologExtraBundle\:
resource: '../../{Logger,EventListener,Processor,Provider}'
```
Handle case where h... | ```yaml
services:
_defaults:
autowire: true
public: false
autoconfigure: true
bind:
$startSession: "%hexanet_monolog_extra.session_start%"
$session: '@?session'
Hexanet\Common\MonologExtraBundle\:
resource: '../../{Logger,EventListener,Processor,P... |
024c02d8-95e6-4863-822c-634cae530053 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "6"
branches:
only:
- master
dist: trusty
addons:
apt:
packages:
- google-chrome-stable
cache:
directories:
- node_modules
before_script:
# Chrome settings
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- npm run lint... | ```yaml
language: node_js
node_js:
- "6"
branches:
only:
- master
dist: trusty
addons:
apt:
packages:
- google-chrome-stable
cache:
directories:
- node_modules
before_script:
# Chrome settings
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- npm run lint... |
fee15d91-8008-4403-aa06-b5c9df0f3f97 | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
# doing 'tip' is not a great idea; it has previously caused things to suddenly become "broken" based on calendar date, and i don't appreciate it.
install: true # don't `go get`, please.
script:
- time ./goad init
- time ./goad test
- time ./goa... | ```yaml
language: go
go:
- 1.4
- 1.4.1
- 1.4.2
- 1.4.3
- 1.5
- 1.6
- 1.7
- 1.8
# doing 'tip' is not a great idea; it has previously caused things to suddenly become "broken" based on calendar date, and i don't appreciate it.
install: true # don't `go get`, please.
script:
- time ./goad init
- t... |
6454be58-c4e9-4115-ad62-682cdfda39a8 | {
"language": "YAML"
} | ```yaml
language: rust
matrix:
include:
- rust: nightly
script:
- cargo test
- cargo test --features preserve_order
- cargo test --features arbitrary_precision
- cargo test --features raw_value
- cargo test --features unbounded_depth
- rust: 1.15.0
script:... | ```yaml
language: rust
matrix:
include:
- rust: nightly
script:
- cargo test
- cargo test --features preserve_order
- cargo test --features arbitrary_precision
- cargo test --features raw_value
- cargo test --features unbounded_depth
- rust: 1.27.0
script:... |
04371fbd-f939-4669-a904-c145297f78ca | {
"language": "YAML"
} | ```yaml
rvm:
- 1.9.1
- 1.9.2
- 1.9.2-head
- 1.9.3-head
- ruby-head
```
Remove rubies not supported by Travis | ```yaml
rvm:
- 1.9.1
- 1.9.2
- ruby-head
``` |
3545d309-ffda-4506-9575-3fcdb4a5d99f | {
"language": "YAML"
} | ```yaml
language: php
php:
- 7.0
- 5.6
install: composer install
script: bin/phpunit tests/phpunit```
Update Travis to only test for PHP >= 7.1 | ```yaml
language: php
php:
- 7.0
- 7.1
- 7.2
install: composer install
script: bin/phpunit tests/phpunit``` |
4d9eb234-6f62-44c3-a829-79b55dae1f66 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
services:
- mongodb
- redis-server
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq sloccount
install:
- npm install -g bower
- pip install -U -r requirements/ci.txt
- cp coviolations_web/settings/local_ci.py coviolations_web/settings/local.py... | ```yaml
language: python
python:
- "2.7"
services:
- mongodb
- redis-server
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq sloccount
install:
- npm install -g bower
- pip install fabric
- fab install:ci
script:
- coverage run manage.py test violations projects tasks services app ... |
a6a51a49-bb16-4c33-bba2-eade29a2759b | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- pypy
install:
- pip install -r requirements.txt
- pip install git+https://github.com/maxmind/HTTPretty.git
- pip install pylint coveralls
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
- if [[ $TRAVIS_PYTHON_VER... | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.3
- pypy
install:
- pip install -r requirements.txt
- pip install git+https://github.com/maxmind/HTTPretty.git
- pip install pylint coveralls
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2 ipaddr; fi
- if [[ $TRAVIS_PYTHON_VERS... |
1557d8a9-b70e-4bf2-9913-ce73f21db0ef | {
"language": "YAML"
} | ```yaml
language: python
services:
- docker
cache:
pip: true
directories:
- $HOME/google-cloud-sdk/
python: '2.7'
dist: trusty
sudo: required
install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
- pip install coveralls
- $TRAVIS_BUILD_DIR/deploy/travis/install_gcloud.sh
- yes | ${HOME... | ```yaml
language: python
services:
- docker
cache:
pip: true
directories:
- $HOME/google-cloud-sdk/
python: '2.7'
dist: trusty
sudo: required
install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
- pip install coveralls
- $TRAVIS_BUILD_DIR/deploy/travis/install_gcloud.sh
- yes | ${HOME... |
7260a9b7-62ba-4edf-9572-a0f2d9eab745 | {
"language": "YAML"
} | ```yaml
language: crystal
script:
- bin/fetch-configlet
- bin/configlet .
- make test
```
Call configlet subcommand on CI | ```yaml
language: crystal
script:
- bin/fetch-configlet
- bin/configlet lint .
- make test
``` |
27aaf5cd-914c-49c0-9776-f07adf81e6cc | {
"language": "YAML"
} | ```yaml
---
# Verify this with: http://lint.travis-ci.org/
language: ruby
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test
rvm:
- 1.8.7
- 1.9.3
env:
matrix:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.1.0"
- PUPPET_VERSION="~> 3.2.... | ```yaml
---
# Verify this with: http://lint.travis-ci.org/
language: ruby
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
script: bundle exec rake test
rvm:
- 1.8.7
- 1.9.3
env:
matrix:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="~> 3.1.0"
- PUPPET_VERSION="~> 3.3.... |
d1fdde25-a32d-4e07-a971-86889b28f450 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "iojs-v1"
- "0.12"
- "0.10"
env:
- NODE_ENV=development
- NODE_ENV=production
```
Add `--production=false` to installation step | ```yaml
language: node_js
install: npm install --production=false
node_js:
- "iojs-v1"
- "0.12"
- "0.10"
env:
- NODE_ENV=development
- NODE_ENV=production
``` |
4d928920-037c-4df7-bb43-1091b3de13c3 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 7.0
- 5.6
- 5.5
- 5.4
before_script: composer install```
Test in PHP 7.1 too | ```yaml
language: php
php:
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
before_script: composer install
``` |
f3a326a9-2a55-4e9f-a3de-a2774b5b6340 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
- "0.12"
```
Update Travis to test newer Node versions | ```yaml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4.2"
- "5"
``` |
0a2f4dea-0034-4a91-bf1d-2761d801eec9 | {
"language": "YAML"
} | ```yaml
language: c
os:
- osx
- linux
install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then bash travis-linux-deps.sh; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then bash travis-osx-deps.sh; fi
before_script:
- bash travis-build-libsodium.sh
script:
- xbuild libsodium-net.sln
- nunit-console ./Tests/bin/Debug/Tes... | ```yaml
language: c
os:
- osx
- linux
env:
- TRAVIS_OS_UNAME=$(uname -s)
install:
- if [[ $TRAVIS_OS_UNAME = 'Linux' ]]; then bash travis-linux-deps.sh; fi
- if [[ $TRAVIS_OS_UNAME = 'Darwin' ]]; then bash travis-osx-deps.sh; fi
before_script:
- bash travis-build-libsodium.sh
script:
- xbuild libsodium-net.... |
32a728ad-b3ce-4114-94d8-90c678474b51 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3.0
```
Disable email notifications from Travis CI | ```yaml
language: ruby
sudo: false
cache: bundler
rvm:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3.0
notifications:
email: false
``` |
2cb5baf1-7256-4e1e-8b81-67018f4c1d25 | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.8
install:
- go get github.com/golang/lint/golint
script:
- golint -set_exit_status
- go vet $(go list ./...)
- go test $(go list ./...)
sudo: false
```
Drop Go 1.8, add 1.8.3, 1.9rc2 | ```yaml
language: go
go:
- 1.8.3
- 1.9rc2
install:
- go get github.com/golang/lint/golint
script:
- golint -set_exit_status
- go vet $(go list ./...)
- go test $(go list ./...)
sudo: false
``` |
5654619f-11a0-450b-a35d-5f52a1601f39 | {
"language": "YAML"
} | ```yaml
language: cpp
compiler:
- gcc
notifications:
slack: fallto:MlnVOMNkx8YopsaSSxqh2Rcr
before_install:
- sudo apt-get install cmake
- sudo apt-get install mercurial
- git config --global user.email "travis-ci@example.com"
- git config --global user.name "Build Server"
script: "cmake -P oo-cmake-tests.c... | ```yaml
language: cpp
compiler:
- gcc
env:
- CMAKE_DIR="v3.0" CMAKE_VERSION="3.0.1"
- CMAKE_DIR="v2.8" CMAKE_VERSION="2.8.12.2"
notifications:
slack: fallto:MlnVOMNkx8YopsaSSxqh2Rcr
before_install:
- sudo apt-get install cmake
- sudo apt-get install mercurial
- git config --global user.email "travis-ci@ex... |
046efa57-7ce8-418c-8097-7131b0790740 | {
"language": "YAML"
} | ```yaml
language: go
sudo: false
go:
- "1.7.x"
- "1.8.x"
- "1.9.x"
- "1.10.x"
- "1.11.x"
- "tip"
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- goveralls -service=travis-ci
```
Test against latest version of Go | ```yaml
language: go
sudo: false
go:
- "1.7.x"
- "1.8.x"
- "1.9.x"
- "1.10.x"
- "1.11.x"
- "1.12.x"
- "1.13.x"
- "tip"
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- goveralls -service=travis-ci
``` |
1c3865e0-a7a2-4a4c-8d62-03928ad62a31 | {
"language": "YAML"
} | ```yaml
language: node_js
addons:
chrome: stable
node_js:
- "6"
- "8"
env:
- WEBPACK_VERSION=4
- WEBPACK_VERSION=3
script: yarn lint && yarn add --dev webpack@$WEBPACK_VERSION && yarn test
```
Add Node 10 and 12 to Travis test matrix | ```yaml
language: node_js
addons:
chrome: stable
node_js:
- "6"
- "8"
- "10"
- "12"
env:
- WEBPACK_VERSION=4
- WEBPACK_VERSION=3
script: yarn lint && yarn add --dev webpack@$WEBPACK_VERSION && yarn test
``` |
f1969bb2-256f-4cfe-a266-e73aca208de8 | {
"language": "YAML"
} | ```yaml
script:
- "npm test"
notifications:
irc:
- "chat.freenode.net#sequelizejs"
language: node_js
node_js:
- "0.10"
```
Build project with multiple versions of sequelize | ```yaml
script:
- "npm test"
notifications:
irc:
- "chat.freenode.net#sequelizejs"
language: node_js
node_js:
- "0.10"
before_script:
- npm install sequelize@$(echo $SEQUELIZE)
env:
- SEQUELIZE=1.7.10
- SEQUELIZE=2.0.0-rc8
- SEQUELIZE=2.0.0
``` |
be0d77bc-3c87-4a8a-bad9-e7d5f39c23b8 | {
"language": "YAML"
} | ```yaml
language: cpp
compiler:
- gcc
before_script:
- mkdir build
- cd build
- cmake ..
script: make
```
Add boost install for Travis | ```yaml
language: cpp
compiler:
- gcc
before_script:
- sudo apt-get update -qq
- sudo apt-get install libboost-all-dev
- mkdir build
- cd build
- cmake ..
script: make
``` |
a250070b-c4e4-495e-8bc9-fec6d479a8c4 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.1.5
addons:
apt:
packages:
- xvfb
gemfile: server/Gemfile
env: NODE_VERSION=4
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- npm install electron-packag... | ```yaml
language: ruby
rvm:
- 2.1.5
addons:
apt:
packages:
- wine
gemfile: server/Gemfile
env: NODE_VERSION=4
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- npm install electron-packag... |
f5dc39b0-df2c-4eb1-a8d8-e8c5939f830a | {
"language": "YAML"
} | ```yaml
language: go
go:
- 1.2
- 1.3
- tip
```
Add 1.4 to Travis CI. | ```yaml
language: go
go:
- 1.2
- 1.3
- 1.4
- tip
``` |
f923bddf-2359-49dd-afa7-e21b33e0828f | {
"language": "YAML"
} | ```yaml
language: cpp
sudo: false
branches:
only:
- master
- develop
- release
cache:
directories:
- $HOME/cmake
env:
global:
- BUILD_DIR_NAME=build
- BUILD_TYPE='Release'
matrix:
include:
# 1 Linux GCC Builds
- os: linux
compiler: g++
env: COMPILER='g++-4.8'
... | ```yaml
language: cpp
sudo: false
branches:
only:
- master
- develop
- release
cache:
directories:
- $HOME/cmake
env:
global:
- BUILD_DIR_NAME=build
- BUILD_TYPE='Release'
matrix:
include:
- os: linux
compiler: g++
env: COMPILER='g++-4.9'
addons:
apt:
... |
6fd5eba8-c02f-4a57-ba3c-265c989a6a06 | {
"language": "YAML"
} | ```yaml
sudo: false
language: php
php:
- 5.6
- 7.0
- nightly
cache:
directories:
- ~/.composer/cache/files/
before_install:
- phpenv config-add .travis.php.ini
install:
- composer install --prefer-dist
before_script:
# Ancient make binary at TravisCI doesn't support indentation with spaces
- une... | ```yaml
sudo: false
language: php
php:
- 5.6
- 7.0
- nightly
addons:
apt:
packages: [expect]
cache:
directories:
- ~/.composer/cache/files/
before_install:
- phpenv config-add .travis.php.ini
install:
- composer install --prefer-dist
before_script:
# Ancient make binary at TravisCI doe... |
9451e787-8ea6-4515-b0dc-cf472b4313cb | {
"language": "YAML"
} | ```yaml
sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-centos-6
- INSTANCE=... | ```yaml
addons:
apt:
sources:
- chef-current-xenial
packages:
- chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
env:
- CHEF_LICENSE=accept
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-centos-6
... |
e0f27ddf-380f-40e5-b02f-74b5e3ca56bf | {
"language": "YAML"
} | ```yaml
language: php
php:
- '5.4'
- '5.6'
- '7.0'
before_install:
- nvm install 4.1.1
- nvm use 4.1.1
install:
- npm install
script:
- npm run compile --silent
- npm test --silent
sudo: false
```
Add typings to Travis build | ```yaml
language: php
php:
- '5.4'
- '5.6'
- '7.0'
before_install:
- nvm install 4.1.1
- nvm use 4.1.1
- npm install -g typings
install:
- npm install
- typings install
script:
- npm run compile --silent
- npm test --silent
sudo: false
``` |
8af96167-87c8-4554-a5ce-5d0d9d37a020 | {
"language": "YAML"
} | ```yaml
language: generic
sudo: required
dist: trusty
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
env:
- COMPILER_NAME=gcc
- CC=gcc-5
- CXX=g++-5
... | ```yaml
language: generic
matrix:
include:
- os: linux
compiler: gcc
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
env:
- COMPILER_NAME=gcc
- ... |
1f9e004b-41c7-4042-bbbe-ea142eb0af8d | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- "ruby-head"
- "ruby 2.0.0"
install: bundle install
branches:
only:
- master
```
Add the other branch to CI as well. | ```yaml
language: ruby
rvm:
- "ruby-head"
- "ruby 2.0.0"
install: bundle install
branches:
only:
- master
- new_main_loop
``` |
a52d84da-1b93-445b-a282-fe546343a12f | {
"language": "YAML"
} | ```yaml
language: php
cache:
directories:
- $HOME/.composer/cache/files
git:
depth: 1
php:
- "7.2"
- "7.3"
before_install:
- composer self-update --stable --no-interaction --no-progress
- composer require php-coveralls/php-coveralls --prefer-dist --no-interaction --no-progress
- ... | ```yaml
language: php
cache:
directories:
- $HOME/.composer/cache/files
git:
depth: 1
php:
- "7.3"
- "7.4"
before_install:
- composer self-update --stable --no-interaction --no-progress
- composer require php-coveralls/php-coveralls --prefer-dist --no-interaction --no-progress
- ... |
05171097-294a-4be8-90c6-28fdef004d62 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.5
- 5.6
# - 7.0
sudo: false
install:
- git clone https://github.com/krakjoe/pthreads.git;
pushd pthreads;
if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then
git checkout master;
else
git checkout seven;
fi;
phpize;
./configure;
make;
make ... | ```yaml
language: php
php:
- 5.5
- 5.6
# - 7.0
sudo: false
install:
- git clone https://github.com/krakjoe/pthreads.git;
pushd pthreads;
if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then
git checkout master;
else
git checkout seven;
fi;
phpize;
./configure;
make;
make ... |
f1bd9780-f2bb-4958-904c-32a5d2ba656e | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 0.8
before_script:
- npm install -g grunt-cli```
Make Travis test with NodeJS 0.10.x | ```yaml
language: node_js
node_js:
- "0.8"
- "0.10"
before_script:
- npm install -g grunt-cli``` |
292d3d85-ced4-490c-bf7e-f6730aa9b40d | {
"language": "YAML"
} | ```yaml
task:
matrix:
- name: ๐ FreeBSD 11
freebsd_instance:
image: freebsd-11-2-release-amd64
- name: ๐ FreeBSD 12
freebsd_instance:
image: freebsd-12-0-release-amd64
env:
# We use `PLUGINS_KDB` instead of `PLUGINS`, since `pkg` interprets the environment variabl... | ```yaml
task:
matrix:
- name: ๐ FreeBSD 11
freebsd_instance:
image: freebsd-11-2-release-amd64
- name: ๐ FreeBSD 12
freebsd_instance:
image: freebsd-12-0-release-amd64
env:
# We use `PLUGINS_KDB` instead of `PLUGINS`, since `pkg` interprets the environment variabl... |
5adb14c4-a840-4e6f-aa10-211ca7688461 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "pypy"
env:
- DJANGO=1.2.7
- DJANGO=1.3.1
- DJANGO=1.4.6
- DJANGO=1.5.2
- DJANGO=1.6.5
install:
- sudo apt-get install libevent-dev
- sudo pip install Django==$DJANGO --use-mirrors
- sudo pip install pep8 --use-mirrors
- sudo pip insta... | ```yaml
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "pypy"
env:
- DJANGO=1.4.6
- DJANGO=1.5.2
- DJANGO=1.6.5
install:
- sudo apt-get install libevent-dev
- sudo pip install Django==$DJANGO --use-mirrors
- sudo pip install pep8 --use-mirrors
- sudo pip install https://github.com/dcramer/pyfl... |
c84b4bb3-d8df-4b94-a1a4-21437223f392 | {
"language": "YAML"
} | ```yaml
task:
name: stable x86_64-unknown-freebsd-11
freebsd_instance:
image: freebsd-11-2-release-amd64
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y
- . $HOME/.cargo/env
- rustup default stable
test_script:
- . $HOME/.carg... | ```yaml
task:
name: stable x86_64-unknown-freebsd-11
freebsd_instance:
image: freebsd-11-3-release-amd64
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y
- . $HOME/.cargo/env
- rustup default stable
test_script:
- . $HOME/.carg... |
a950c6fa-46db-4868-b26b-357e21b51635 | {
"language": "YAML"
} | ```yaml
task:
name: Test FreeBSD
freebsd_instance:
matrix:
image_family: freebsd-11-3-snap
image_family: freebsd-12-0
update_script: pkg update -f
install_script: pkg install -y libpcap bash gsed gmake
configure_script:
- ./configure-freebsd.sh --default
build_script:
- gmake all
t... | ```yaml
task:
name: Test FreeBSD
freebsd_instance:
matrix:
image_family: freebsd-11-3-snap
image_family: freebsd-12-1-snap
update_script: pkg update -f
install_script: pkg install -y libpcap bash gsed gmake
configure_script:
- ./configure-freebsd.sh --default
build_script:
- gmake al... |
52a36f3b-c5ba-4c13-a3e6-68ebbaed6daf | {
"language": "YAML"
} | ```yaml
---
engines:
pylint:
enabled: true
python_version: 3
exclude_paths:
- tests/
- karspexet/**/migrations/**/*
- karspexet/**/test_*.py
bandit:
enabled: true
exclude_paths:
- tests/
- karspexet/**/migrations/**/*
- karspexet/**/test_*.py
eslint:
en... | ```yaml
---
engines:
prospector:
enabled: false
pylint:
enabled: true
python_version: 3
exclude_paths:
- tests/
- karspexet/**/migrations/**/*
- karspexet/**/test_*.py
bandit:
enabled: true
exclude_paths:
- tests/
- karspexet/**/migrations/**/*
- karspex... |
c039d9ad-5302-4c71-90ff-95f5a42f45ad | {
"language": "YAML"
} | ```yaml
commands:
make: !Command
description: Build rotor library
container: ubuntu
run: [cargo, build]
test: !Command
description: Run unit tests
container: ubuntu
run: [cargo, test]
cargo: !Command
description: Run any cargo command
container: ubuntu
run: [cargo]
doc: !... | ```yaml
commands:
make: !Command
description: Build rotor library
container: ubuntu
run: [cargo, build]
test: !Command
description: Run unit tests
container: ubuntu
run: [cargo, test]
cargo: !Command
description: Run any cargo command
container: ubuntu
run: [cargo]
containe... |
1d531ab8-5357-4a43-bcc9-2cc896d5b000 | {
"language": "YAML"
} | ```yaml
image:
file: .gitpod.Dockerfile
vscode:
extensions:
- muhammad-sammy.csharp
- ionide.ionide-fsharp
- christian-kohler.path-intellisense
- PKief.material-icon-theme
- zhuangtongfa.material-theme
- eamodio.gitlens
- ms-azuretools.vscode-docker
tasks:
- init: ./build.sh```
A... | ```yaml
image:
file: .gitpod.Dockerfile
vscode:
extensions:
- muhammad-sammy.csharp
- ionide.ionide-fsharp
- christian-kohler.path-intellisense
- PKief.material-icon-theme
- zhuangtongfa.material-theme
- eamodio.gitlens
- ms-azuretools.vscode-docker
tasks:
- init: ./fake.sh``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.