doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
27dc28bf-73f2-42d1-aad5-e7c875d4e732 | {
"language": "YAML"
} | ```yaml
language: java
sudo: required
env:
- jdk_target=oraclejdk8
- jdk_target=openjdk8
before_install:
- if [["$jdk_target" == "openjdk8"]]; then sudo add-apt-repository ppa:openjdk-r/ppa -y; fi
- if [["$jdk_target" == "oraclejdk8"]]; then sudo add-apt-repository ppa:webupd8team/java -y; fi
- sudo apt-get update -qq
install:
- if [["$jdk_target" == "openjdk8"]]; then sudo apt-get install openjdk-8 -y; fi
- if [["$jdk_target" == "openjdk8"]]; then sudo apt-get install openjfx -y; fi
- if [["$jdk_target" == "oraclejdk8"]]; then sudo apt-get install --no-install-recommends oracle-java8-installer -y; fi
before_script:
- jdkswitcher use $jdk_target
- git submodule update --init --recursive
- chmod +x mvn
script:
- mvn clean install -DskipTests=true -Dgpg.skip=true
- mvn clean test -Dgpg.skip=true
cache:
directories:
- ${HOME}/.m2
```
Improve and refine Travis-CI configuration | ```yaml
language: java
os: linux
sudo: required
matrix:
include:
- jdk: oraclejdk7
env: jdk=oraclejdk7 custom_jdk=false
- jdk: openjdk7
env: jdk=openjdk7 custom_jdk=false
- env: jdk=oraclejdk8 custom_jdk=true
- env: jdk=openjdk8 custom_jdk=true
before_install:
- if [["$jdk" == "openjdk8"]]; then sudo add-apt-repository ppa:openjdk-r/ppa -y; fi
- if [["$jdk" == "oraclejdk8"]]; then sudo add-apt-repository ppa:webupd8team/java -y; fi
- sudo apt-get update -qq -y
install:
- if [["$jdk" == "openjdk8"]]; then sudo apt-get install openjdk-8 -y; fi
- if [["$jdk" == "openjdk8"]]; then sudo apt-get install openjfx -y; fi
- if [["$jdk" == "oraclejdk8"]]; then sudo apt-get install --no-install-recommends oracle-java8-installer -y; fi
before_script:
- if [["$custom_jdk" == "true"]]; then jdkswitcher use $jdk_target && jdkswitcher home; fi
- git submodule update --init --recursive
- chmod +x mvn
script:
- mvn clean install -DskipTests=true -Dgpg.skip=true
- mvn clean test -Dgpg.skip=true
cache:
directories:
- ${HOME}/.m2
``` |
f0201da3-083a-4c3c-8feb-a229afc20169 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- openjdk8
- openjdk11
- oraclejdk8
install: /bin/true
script: mvn install
after_success:
- bash <(curl -s https://codecov.io/bash)
```
Add back --quiet and a comment about codecov uploader | ```yaml
language: java
jdk:
- openjdk8
- openjdk11
- oraclejdk8
install: /bin/true
script: mvn install --quiet
after_success:
# https://docs.codecov.io/docs/about-the-codecov-bash-uploader
- bash <(curl -s https://codecov.io/bash)
``` |
6c6f6c8a-000d-41b1-8626-9baca7f9c6c9 | {
"language": "YAML"
} | ```yaml
homepage: https://github.com/andrewthad/non-empty-containers#readme
changelog-type: ''
hash: 9c2e0c5af093f9d88994ec426c5c0554579ffaea6640d5c562441dd4c1128de2
test-bench-deps: {}
maintainer: andrew.thaddeus@gmail.com
synopsis: ''
changelog: ''
basic-deps:
base: ! '>=4.11 && <5'
containers: ! '>=0.5.10 && <0.7'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
author: Andrew Martin
latest: '0.1.1.0'
description-type: markdown
description: ! '# non-empty-containers
'
license-name: BSD3
```
Update from Hackage at 2018-08-27T12:11:46Z | ```yaml
homepage: https://github.com/andrewthad/non-empty-containers#readme
changelog-type: ''
hash: 8e12edba9288f8c5e53c8ad4003dace546fcc5a7e9828a88b614c3049924a13a
test-bench-deps: {}
maintainer: andrew.thaddeus@gmail.com
synopsis: ''
changelog: ''
basic-deps:
semigroupoids: ! '>=5.2.0 && <6.0'
base: ! '>=4.11 && <5'
containers: ! '>=0.5.10 && <0.7'
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.1.2.0'
author: Andrew Martin
latest: '0.1.2.0'
description-type: markdown
description: ! '# non-empty-containers
'
license-name: BSD3
``` |
83ee7568-ee9b-472d-92c7-f34bcaabb8d3 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 0.10
- 4
services:
- redis
```
Drop support of node@0.10 and cover node@5 | ```yaml
sudo: false
language: node_js
node_js:
- 4.0
- 4
- 5
services:
- redis
``` |
ad3ab5e3-5fe7-4a63-a944-ea2298260007 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 1.9.2
- 1.8.7
bundler_args: --without development
before_script:
- "mysql -e 'create database one_click_test;' > /dev/null"
- "bundle exec rake oco:generate_config db:migrate"
- "bundle exec rake oco:install_wkhtmltopdf"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: bundle exec cucumber --require features features/association_founding/accepting_a_founding_member_invitation.feature
branches:
only:
- master
- v1.x
notifications:
recipients:
- alerts@oneclickorgs.com
irc: "irc.freenode.net#oneclickorgs"
```
Revert "Travis: Restrict tests for debugging." | ```yaml
language: ruby
rvm:
- 1.9.2
- 1.8.7
bundler_args: --without development
before_script:
- "mysql -e 'create database one_click_test;' > /dev/null"
- "bundle exec rake oco:generate_config db:migrate"
- "bundle exec rake oco:install_wkhtmltopdf"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: bundle exec rake spec cucumber
branches:
only:
- master
- v1.x
notifications:
recipients:
- alerts@oneclickorgs.com
irc: "irc.freenode.net#oneclickorgs"
``` |
c2df96f8-8794-49fc-908c-49bfeca798bf | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.6
- 7.0
- 7.1
- hhvm
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- composer self-update
install:
- composer install
```
Swap over to project phpunit rather than relying on Travis' global version | ```yaml
language: php
php:
- 5.6
- 7.0
- 7.1
- hhvm
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- composer self-update
install:
- composer install
script:
- ./vendor/bin/phpunit
``` |
2b4b3d22-f91c-4e83-8c44-4f185cc4a3eb | {
"language": "YAML"
} | ```yaml
os: linux
dist: xenial
language: python
jobs:
include:
- name: 3.6 Metrics
python: 3.6
env: TOXENV=py36-metrics
- name: 3.6 Metrics API
python: 3.6
env: TOXENV=py36-metrics_api
- name: 3.7 Metrics
python: 3.7
env: TOXENV=py37-metrics
- name: 3.7 Metrics API
python: 3.7
env: TOXENV=py37-metrics_api
- name: 3.8 Metrics
python: 3.8
env: TOXENV=py38-metrics
- name: 3.8 Metrics API
python: 3.8
env: TOXENV=py38-metrics_api
install:
- pip install -r requirements.txt
- pip install tox
- augur configure generate
script:
- tox
```
Update Travis CI build command | ```yaml
os: linux
dist: xenial
language: python
jobs:
include:
- name: 3.6 Metrics
python: 3.6
env: TOXENV=py36-metrics
- name: 3.6 Metrics API
python: 3.6
env: TOXENV=py36-metrics_api
- name: 3.7 Metrics
python: 3.7
env: TOXENV=py37-metrics
- name: 3.7 Metrics API
python: 3.7
env: TOXENV=py37-metrics_api
- name: 3.8 Metrics
python: 3.8
env: TOXENV=py38-metrics
- name: 3.8 Metrics API
python: 3.8
env: TOXENV=py38-metrics_api
install:
- pip install .[dev]
- augur configure generate
script:
- tox
``` |
7c5794c6-228c-478c-a9ef-cb01ecea71b4 | {
"language": "YAML"
} | ```yaml
language: c
compiler: gcc
script:
- scons mode=debug
- scons -c; scons mode=release
- ./tesstest
- scons -c; scons mode=release32
- ./tesstest
- cd cookbook; make all
```
Install missing libs in Travis config | ```yaml
language: c
compiler: gcc
install:
- sudo apt-get install matplotlib numpy
# For cross-compiling 32bit binaries (mode=release32)
- sudo apt-get install libc6-dev-i386
script:
- scons mode=debug
- scons -c; scons mode=release
- ./tesstest
- scons -c; scons mode=release32
- ./tesstest
- cd cookbook; make all
``` |
7ef9a0c0-75c0-4bf6-9dc1-103db3aa2363 | {
"language": "YAML"
} | ```yaml
language: c
compiler:
- gcc
before_install: sudo apt-get install check doxygen splint
script: ./autogen.sh && ./configure && make check
notifications:
email:
recipients:
- quarterback-devel@lists.fedorahosted.org
```
Deal with /dev/shm issue on Travis builders | ```yaml
language: c
compiler:
- gcc
before_install: sudo apt-get install check doxygen splint
install:
# Deal with issue on Travis builders
# https://github.com/travis-ci/travis-cookbooks/issues/155
- "sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm"
script: ./autogen.sh && ./configure && make check
notifications:
email:
recipients:
- quarterback-devel@lists.fedorahosted.org
``` |
9e134a6a-6a36-4fe8-810d-27b47096743b | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.4.0
- 2.2
- 2.0
env:
global:
- ETCD_VERSION=v3.1.6
install:
- bundle install
- wget https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz -O etcd.tar.gz --no-check-certificate
- tar zxvf etcd.tar.gz
- export PATH=$PATH:etcd-$ETCD_VERSION-linux-amd64
script: bundle exec rspec
```
Build etcdv3 with version 3.2 | ```yaml
language: ruby
rvm:
- 2.4.0
- 2.2
- 2.0
env:
global:
- ETCD_VERSION=v3.2.0
install:
- bundle install
- wget https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz -O etcd.tar.gz --no-check-certificate
- tar zxvf etcd.tar.gz
- export PATH=$PATH:etcd-$ETCD_VERSION-linux-amd64
script: bundle exec rspec
``` |
6eb69478-98f0-4481-9cf3-282394e448ec | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
virtualenv:
system_site_packages: true
# command to prepare the system to install prerequisites or dependencies
before_install:
- sudo apt-get -qq update
- sudo apt-get install -qq libhdf5-serial-dev python-h5py
- sudo apt-get install -qq libatlas-dev libatlas-base-dev gfortran
- sudo apt-get install -qq python-numpy python-scipy
- sudo apt-get install -qq python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly
# command to install dependencies
#install:
# - "pip install -r requirements.txt --use-mirrors"
- python setup.py install
# command to run tests
script:
- py.test tests --ignore tests/sandbox
# - "python setup.py test"
```
Add matplotlib dependency in Travis | ```yaml
language: python
python:
- "2.6"
- "2.7"
virtualenv:
system_site_packages: true
# command to prepare the system to install prerequisites or dependencies
before_install:
- sudo apt-get -qq update
- sudo apt-get install -qq libhdf5-serial-dev python-h5py
- sudo apt-get install -qq libatlas-dev libatlas-base-dev gfortran
- sudo apt-get install -qq python-numpy python-scipy python-matplotlib
- sudo apt-get install -qq python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly
# command to install dependencies
#install:
# - "pip install -r requirements.txt --use-mirrors"
- python setup.py install
# command to run tests
script:
- py.test tests --ignore tests/sandbox
# - "python setup.py test"
``` |
9644915a-d8a8-40ab-a7fe-e5db6418c920 | {
"language": "YAML"
} | ```yaml
# http://about.travis-ci.org/docs/user/build-configuration/
before_script: "git submodule update --init"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-19mode
matrix:
allow_failures:
- rvm: 1.8.7
notifications:
recipients:
- nesquena@gmail.com```
Update Travis CI Ruby versions | ```yaml
# http://about.travis-ci.org/docs/user/build-configuration/
before_script: "git submodule update --init"
rvm:
- 2.0.0
- 2.1.6
- 2.2.2
notifications:
recipients:
- nesquena@gmail.com``` |
117f3512-6557-4d61-9719-7ab7d77817b9 | {
"language": "YAML"
} | ```yaml
language: cpp
sudo: false
compiler:
- clang
- gcc
addons:
apt:
sources:
- boost-latest
- ubuntu-toolchain-r-test
packages:
- cmake
- libboost-all-dev
- g++-4.8
env:
- CXX=g++-4.8
before_install:
- mkdir ~/cmake_tmp
- cd ~/cmake_tmp
- wget --no-check-certificate http://www.cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz -O cmake3.tar.gz
- tar xf cmake3.tar.gz -C . --strip-components=1
- export PATH=~/cmake_tmp/bin:$PATH
- cd -
before_script:
- export CXX=g++4.8
- CC='gcc-4.8' CXX='g++-4.8' cmake -G"Unix Makefiles"
- touch configure
- chmod +x configure
notifications:
email: false
```
Define env vars only for compiler = gcc | ```yaml
language: cpp
sudo: false
matrix:
include:
- compiler: clang
- compiler: gcc
env:
- CC='gcc-4.8' CXX='g++4.8'
addons:
apt:
sources:
- boost-latest
- ubuntu-toolchain-r-test
packages:
- cmake
- libboost-all-dev
- g++-4.8
before_install:
- mkdir ~/cmake_tmp
- cd ~/cmake_tmp
- wget --no-check-certificate http://www.cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz -O cmake3.tar.gz
- tar xf cmake3.tar.gz -C . --strip-components=1
- export PATH=~/cmake_tmp/bin:$PATH
- cd -
before_script:
- cmake -G"Unix Makefiles"
- touch configure
- chmod +x configure
notifications:
email: false
``` |
8743425c-a762-476b-9be5-dca58a3672e1 | {
"language": "YAML"
} | ```yaml
language: node_js
sudo: false
node_js:
- node
- iojs
- 6
- 5
- 4
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
matrix:
fast_finish: true
```
Remove io.js support as it has merged back into node.js | ```yaml
language: node_js
sudo: false
node_js:
- node
- 6
- 5
- 4
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
matrix:
fast_finish: true
``` |
33742c1f-971c-4ab1-ad72-71ee92881d4c | {
"language": "YAML"
} | ```yaml
language: scala
scala:
- 2.12.8
jdk:
- oraclejdk11
- openjdk8
- openjdk11
script:
- sbt ++$TRAVIS_SCALA_VERSION clean compile test
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
branches:
only:
- master
```
Update command to avoid failure when no files are found | ```yaml
language: scala
scala:
- 2.12.8
jdk:
- oraclejdk11
- openjdk8
- openjdk11
script:
- sbt ++$TRAVIS_SCALA_VERSION clean compile test
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm -f
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm -f
branches:
only:
- master
``` |
7bfb31fc-476d-49f7-9605-0568d833019e | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
script: "npm test"
before_script:
- "./test/hosts.sh"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq graphicsmagick
notifications:
irc: "chat.freenode.net#pump.io"
```
Install a C++-11-compatible compiler in CI | ```yaml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
script: "npm test"
before_script:
- "./test/hosts.sh"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq graphicsmagick
notifications:
irc: "chat.freenode.net#pump.io"
``` |
a2dc2183-7f25-4657-93c9-e11b8d8d1d82 | {
"language": "YAML"
} | ```yaml
language: objective-c
osx_image: xcode8.2
env:
- TOOLCHAINS=swift
script:
- swift package fetch
- swift test
#xcode_project: TypedOperation.xcodeproj
# xcode_scheme: "SwiftParse"
# xcode_sdk: iphonesimulator10.0
# script: xcodebuild test -scheme "SwiftParse" -sdk iphonesimulator -destination "name=iPhone SE"
```
Use Xcode 11.2 image on Travis CI | ```yaml
language: objective-c
osx_image: xcode11.2
env:
- TOOLCHAINS=swift
script:
- swift package fetch
- swift test
#xcode_project: TypedOperation.xcodeproj
# xcode_scheme: "SwiftParse"
# xcode_sdk: iphonesimulator10.0
# script: xcodebuild test -scheme "SwiftParse" -sdk iphonesimulator -destination "name=iPhone SE"
``` |
40aa8303-ca8f-4953-aac9-51b260679c28 | {
"language": "YAML"
} | ```yaml
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
services: mongodb
script:
- bundle exec rubocop
- bundle exec rake
```
Test against latest Ruby 2.1 version | ```yaml
rvm:
- 2.1
- 2.0.0
- 1.9.3
services: mongodb
script:
- bundle exec rubocop
- bundle exec rake
``` |
666849ea-bf96-4c79-a1e7-07a56713ce12 | {
"language": "YAML"
} | ```yaml
language: cpp
matrix:
include:
- compiler: gcc4
sudo: required
env:
- COMPILER=g++
- STD=c++11
- compiler: clang34
sudo: required
env:
- COMPILER=clang++
- STD=c++11
- compiler: gcc5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- COMPILER=g++-5
- STD=c++1z
- compiler: clang38
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
env:
- COMPILER=clang++-3.8
- STD=c++1z
script:
- $COMPILER --version
- make CXX=$COMPILER STD=$STD
- ./all_tests.out
```
Build on dist: trusty for GCC 4.8 and Clang 3.4 | ```yaml
language: cpp
matrix:
include:
- compiler: gcc4
dist: trusty
sudo: false
env:
- COMPILER=g++
- STD=c++11
- compiler: clang34
dist: trusty
sudo: false
env:
- COMPILER=clang++
- STD=c++11
- compiler: gcc5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- COMPILER=g++-5
- STD=c++1z
- compiler: clang38
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
env:
- COMPILER=clang++-3.8
- STD=c++1z
script:
- $COMPILER --version
- make CXX=$COMPILER STD=$STD
- ./all_tests.out
``` |
e9810757-696d-4824-928c-fc5d851dd624 | {
"language": "YAML"
} | ```yaml
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
after_success:
- npm run coverage
- npm i codecov
- codecov -f coverage/coverage.json
notifications:
email:
on_success: never
```
Remove Node 0.10 and 0.12 support | ```yaml
language: node_js
sudo: false
node_js:
- "4"
- "6"
after_success:
- npm run coverage
- npm i codecov
- codecov -f coverage/coverage.json
notifications:
email:
on_success: never
``` |
e365df83-0b45-4dcb-8ac9-8bc53b24acaf | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
before_install:
- sudo add-apt-repository ppa:kristinn-l/plaso-dev -y
- sudo apt-get update -q
- sudo apt-get install binplist, libbde-python, libesedb-python, libevt-python, libevtx-python, libewf-python, libfwsi-python, liblnk-python, libmsiecf-python, libolecf-python, libqcow-python, libregf-python, libsmdev-python, libsmraw-python, libvhdi-python, libvmdk-python, libvshadow-python, ipython, python-bencode, python-construct, python-dateutil, python-dfvfs, python-dpkt, python-hachoir-core, python-hachoir-metadata, python-hachoir-parser, python-protobuf, python-psutil, python-pyparsing, python-six, python-yaml, python-tz, pytsk3
script:
- ./run_tests.py
```
Fix for Travis CI test configuration. | ```yaml
language: python
python:
- "2.7"
before_install:
- sudo add-apt-repository ppa:kristinn-l/plaso-dev -y
- sudo apt-get update -q
- sudo apt-get install binplist libbde-python libesedb-python libevt-python libevtx-python libewf-python libfwsi-python liblnk-python libmsiecf-python libolecf-python libqcow-python libregf-python libsmdev-python libsmraw-python libvhdi-python libvmdk-python libvshadow-python ipython python-bencode python-construct python-dateutil python-dfvfs python-dpkt python-hachoir-core python-hachoir-metadata python-hachoir-parser python-protobuf python-psutil python-pyparsing python-six python-yaml python-tz pytsk3
script:
- ./run_tests.py
``` |
d7c9e32c-6708-4705-9134-af2083190a16 | {
"language": "YAML"
} | ```yaml
dist: xenial
language: java
install: true
script:
- sudo apt-get update
- sudo apt-get install graphviz
- java -version
- ./gradlew buildCI --scan
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/
jdk:
- openjdk8
- oraclejdk8
- oraclejdk9
```
Remove oraclejdk8 from Travis CI build | ```yaml
dist: xenial
language: java
install: true
script:
- sudo apt-get update
- sudo apt-get install graphviz
- java -version
- ./gradlew buildCI --scan
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/
jdk:
- openjdk8
- oraclejdk9
``` |
d3a68850-6ea0-4bec-88cc-e2914f247dce | {
"language": "YAML"
} | ```yaml
language: erlang
notifications:
email: erlang.docsh@gmail.com
sudo: required
services:
- docker
otp_release:
- 21.1
- 20.3
- 19.3
script:
- ./rebar3 ct
```
Test on 22.1, drop 19.3 | ```yaml
language: erlang
notifications:
email: erlang.docsh@gmail.com
sudo: required
services:
- docker
otp_release:
- 22.1
- 21.1
- 20.3
script:
- ./rebar3 ct
``` |
6b5ef7d5-1c95-4478-8aaf-0a2d34cb162e | {
"language": "YAML"
} | ```yaml
---
language: ruby
cache: bundler
bundler_args: --without development
script:
- "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
rvm:
- 1.9.3
- 2.0.0
env:
- PUPPET_GEM_VERSION="~> 3.5.1"
- PUPPET_GEM_VERSION="~> 3.8.4"
- PUPPET_GEM_VERSION="~> 4.3.1"
notifications:
email: false
```
Test against the latest versions of puppet | ```yaml
---
language: ruby
cache: bundler
bundler_args: --without development
script:
- "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
rvm:
- 1.9.3
- 2.0.0
env:
- PUPPET_GEM_VERSION="~> 3.5.1"
- PUPPET_GEM_VERSION="~> 3.8.6"
- PUPPET_GEM_VERSION="~> 4.4.0"
notifications:
email: false
``` |
6bc7d260-c2e7-47d7-9675-47670441fb8d | {
"language": "YAML"
} | ```yaml
name: Idris 2 CI
on:
push:
branches:
- '*'
tags:
- '*'
pull_request:
branches:
- master
env:
MSYS2_PATH_TYPE: inherit
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install MSYS2
uses: eine/setup-msys2@v0
with:
update: true
install: make mingw-w64-x86_64-clang tar
- name: Get Chez Scheme
run: |
git clone --depth 1 https://github.com/cisco/ChezScheme
- name: Configure and Build Chez Scheme
run: msys2do cd ChezScheme; ./configure --threads; make; cd ..
shell: cmd
- name: Set Path
run: |
$chez="$(pwd)\ChezScheme\ta6nt\bin\ta6nt"
echo "::add-path::$chez"
echo "::set-env name=SCHEME::scheme"
- name: Test Scheme
run: scheme.exe --version
- name: Bootstrap
run: msys2do make bootstrap
shell: cmd```
Improve the name of the job | ```yaml
name: Windows CI
on:
push:
branches:
- '*'
tags:
- '*'
pull_request:
branches:
- master
env:
MSYS2_PATH_TYPE: inherit
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install MSYS2
uses: eine/setup-msys2@v0
with:
update: true
install: make mingw-w64-x86_64-clang tar
- name: Get Chez Scheme
run: |
git clone --depth 1 https://github.com/cisco/ChezScheme
- name: Configure and Build Chez Scheme
run: msys2do cd ChezScheme; ./configure --threads; make; cd ..
shell: cmd
- name: Set Path
run: |
$chez="$(pwd)\ChezScheme\ta6nt\bin\ta6nt"
echo "::add-path::$chez"
echo "::set-env name=SCHEME::scheme"
- name: Test Scheme
run: scheme.exe --version
- name: Bootstrap
run: msys2do make bootstrap
shell: cmd``` |
ce777ec8-83eb-4830-bb29-7d060373dd5a | {
"language": "YAML"
} | ```yaml
name: End-to-end tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
end-to-end:
runs-on: ubuntu-16.04
name: Cypress run
env:
CI: 1
steps:
- uses: actions/checkout@v1
- uses: cypress-io/github-action@v1
with:
start: npm start
- uses: actions/upload-artifact@v1
if: failure()
with:
name: cypress-screenshots
path: test/cypress/screenshots
- uses: actions/upload-artifact@v1
if: always()
with:
name: cypress-videos
path: test/cypress/videos
```
Update Cypress CI action to v2 | ```yaml
name: End-to-end tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
end-to-end:
runs-on: ubuntu-16.04
name: Cypress run
env:
CI: 1
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run end-to-end tests
uses: cypress-io/github-action@v2
with:
start: npm start
- name: Upload screenshots
uses: actions/upload-artifact@v1
if: failure()
with:
name: cypress-screenshots
path: test/cypress/screenshots
- name: Upload videos
uses: actions/upload-artifact@v1
if: always()
with:
name: cypress-videos
path: test/cypress/videos
``` |
755851b1-8f3a-4bc4-8bb7-a336ac497249 | {
"language": "YAML"
} | ```yaml
homepage: http://twitter.com/khibino/
changelog-type: ''
hash: 57da137994dc235beb6f33d99595855842be998c629217ec379bbb12a313ba3c
test-bench-deps: {}
maintainer: ex8k.hibino@gmail.com
synopsis: Compatibility of TimeLocale between old-locale and time-1.5
changelog: ''
basic-deps:
base: <5
time: <1.5
old-locale: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: Kei Hibino
latest: '0.1.0.1'
description-type: haddock
description: This package contains wrapped name module for TimeLocale.
license-name: BSD3
```
Update from Hackage at 2015-06-23T00:39:56+0000 | ```yaml
homepage: http://twitter.com/khibino/
changelog-type: ''
hash: cc93a8abb3062c24f3b4b0da545593bed01bb4b2eb651516542ab16467f21db5
test-bench-deps: {}
maintainer: ex8k.hibino@gmail.com
synopsis: Compatibility of TimeLocale between old-locale and time-1.5
changelog: ''
basic-deps:
base: <5
time: <1.5
old-locale: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.1.0'
author: Kei Hibino
latest: '0.1.1.0'
description-type: haddock
description: This package contains wrapped name module for TimeLocale.
license-name: BSD3
``` |
cf522368-aaab-429e-b93e-cea82417d184 | {
"language": "YAML"
} | ```yaml
---
- name: Setup Polka
hosts:
- tom-work
connection: local
gather_facts: false
roles:
- package
- bash
- tmux
- git
- go
- ack
- vim
- ruby
- python
- ansible
- nvim
```
Use fae instead of polka for tmux and package | ```yaml
---
- name: Setup Polka
hosts:
- tom-work
connection: local
gather_facts: false
roles:
- bash
- git
- go
- ack
- vim
- ruby
- python
- ansible
- nvim
# - tmux
# - package
``` |
f9bdbefd-d959-4b33-8fec-c3051fa9e311 | {
"language": "YAML"
} | ```yaml
name: go_test
on: [push, pull_request]
jobs:
go_test:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17
uses: actions/setup-go@v2
with:
go-version: 1.17
id: go
- name: Check out code
uses: actions/checkout@v3
- name: Get dependencies
run: |
go mod download
- name: Build
run: |
go build ./...
- name: Test
run: |
go test ./...
```
Support for testing on multiple operating systems | ```yaml
name: go_test
on: [push, pull_request]
jobs:
go_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- name: Set up Go 1.17
uses: actions/setup-go@v2
with:
go-version: 1.17
id: go
- name: Check out code
uses: actions/checkout@v3
- name: Get dependencies
run: |
go mod download
- name: Build
run: |
go build ./...
- name: Test
run: |
go test ./...
``` |
88560f48-765d-4e6f-9aa1-ee9c3f53a573 | {
"language": "YAML"
} | ```yaml
bundle_cache: &bundle_cache
bundle_cache:
folder: /usr/local/bundle
fingerprint_script:
- echo $CIRRUS_OS
- ruby -v
- cat Gemfile
- cat *.gemspec
install_script: bundle update
test_task:
container:
matrix:
image: ruby:2.4
image: ruby:2.5
<<: *bundle_cache
environment:
CODECOV_TOKEN: ENCRYPTED[cdad391413f3dda9fa77999200291c100829553d0ecf1b27ee4eb66affdb01f8eb8f0a3780c1ae3d3ac955c0d6bbe172]
test_script: bundle exec rake
```
Add Ruby 2.6 and 2.7 for CI | ```yaml
bundle_cache: &bundle_cache
bundle_cache:
folder: /usr/local/bundle
fingerprint_script:
- echo $CIRRUS_OS
- ruby -v
- cat Gemfile
- cat *.gemspec
install_script: bundle update
test_task:
container:
matrix:
image: ruby:2.4
image: ruby:2.5
image: ruby:2.6
image: ruby:2.7
<<: *bundle_cache
environment:
CODECOV_TOKEN: ENCRYPTED[cdad391413f3dda9fa77999200291c100829553d0ecf1b27ee4eb66affdb01f8eb8f0a3780c1ae3d3ac955c0d6bbe172]
test_script: bundle exec rake
``` |
47a92eba-8db6-4456-9738-b726deefb2ca | {
"language": "YAML"
} | ```yaml
---
name: oq-role
'on':
schedule:
- cron: "0 4 * * *"
jobs:
molecule:
name: Molecule
runs-on: ubuntu-18.04
strategy:
matrix:
distro:
- centos8
- centos7
- ubuntu1804
- ubuntu2004
env:
working-directory: ./ansible/oqengine
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install test dependencies.
run: pip3 install molecule[docker,ansible,lint]
- name: Run Molecule tests.
run: molecule test
working-directory: ${{env.working-directory}}
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}
```
Add debian10 for oq ansible role | ```yaml
---
name: oq-role
'on':
schedule:
- cron: "0 4 * * *"
jobs:
molecule:
name: Molecule
runs-on: ubuntu-18.04
strategy:
matrix:
distro:
- centos8
- centos7
- ubuntu1804
- ubuntu2004
- debian10
env:
working-directory: ./ansible/oqengine
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install test dependencies.
run: pip3 install molecule[docker,ansible,lint]
- name: Run Molecule tests.
run: molecule test
working-directory: ${{env.working-directory}}
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}
``` |
18be85ae-fe08-4fe0-8ad8-4ca4814b267e | {
"language": "YAML"
} | ```yaml
freebsd_instance:
image: freebsd-11-2-release-amd64
# Test FreeBSD in a full VM on cirrus-ci.com. Test the i686 target too, in the
# same VM. The binary will be built in 32-bit mode, but will execute on a
# 64-bit kernel and in a 64-bit environment. Our tests don't execute any of
# the system's binaries, so the environment shouldn't matter.
task:
name: FreeBSD 11.2
cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cat Cargo.lock || echo ""
# Install Rust
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile=minimal --default-toolchain 1.36.0
- $HOME/.cargo/bin/rustup target add i686-unknown-freebsd
amd64_test_script:
- . $HOME/.cargo/env
- cargo test
i386_test_script:
- . $HOME/.cargo/env
- cargo test --target i686-unknown-freebsd
before_cache_script: rm -rf $CARGO_HOME/registry/index
```
Use fetch instead of curl during CI on FreeBSD | ```yaml
freebsd_instance:
image: freebsd-11-2-release-amd64
# Test FreeBSD in a full VM on cirrus-ci.com. Test the i686 target too, in the
# same VM. The binary will be built in 32-bit mode, but will execute on a
# 64-bit kernel and in a 64-bit environment. Our tests don't execute any of
# the system's binaries, so the environment shouldn't matter.
task:
name: FreeBSD 11.2
cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cat Cargo.lock || echo ""
# Install Rust
setup_script:
- fetch https://sh.rustup.rs -o rustup.sh
- sh rustup.sh -y --profile=minimal --default-toolchain 1.36.0
- $HOME/.cargo/bin/rustup target add i686-unknown-freebsd
amd64_test_script:
- . $HOME/.cargo/env
- cargo test
i386_test_script:
- . $HOME/.cargo/env
- cargo test --target i686-unknown-freebsd
before_cache_script: rm -rf $CARGO_HOME/registry/index
``` |
44984a8a-7ce3-4a37-a5a3-67ab39fa7c02 | {
"language": "YAML"
} | ```yaml
---
language: ruby
sudo: false
dist: trusty
bundler_args: --without development
cache: bundler
before_install:
- PATH=$(npm bin):$PATH # needed to install phantomjs via npm
- if [ $(phantomjs --version) != '2.1.1' ]; then npm install phantomjs-prebuilt@2.1; fi
- gem update --system # use the very latest Rubygems
- gem install bundler # use the very latest Bundler
script:
- bundle exec rake
- bundle exec rake docs:build
rvm:
- jruby-9.1.12.0
- 2.2.7
- 2.3.4
- 2.4.1
gemfile:
- gemfiles/rails_42.gemfile
- gemfiles/rails_50.gemfile
- gemfiles/rails_51.gemfile
env:
global:
- JRUBY_OPTS="-J-Xmx1024m --dev --debug"
- JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom"
- COVERAGE=true
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-9.1.12.0
gemfile: gemfiles/rails_50.gemfile
- rvm: jruby-9.1.12.0
gemfile: gemfiles/rails_51.gemfile
```
Move all jruby builds to allow_failures | ```yaml
---
language: ruby
sudo: false
dist: trusty
bundler_args: --without development
cache: bundler
before_install:
- PATH=$(npm bin):$PATH # needed to install phantomjs via npm
- if [ $(phantomjs --version) != '2.1.1' ]; then npm install phantomjs-prebuilt@2.1; fi
- gem update --system # use the very latest Rubygems
- gem install bundler # use the very latest Bundler
script:
- bundle exec rake
- bundle exec rake docs:build
rvm:
- jruby-9.1.12.0
- 2.2.7
- 2.3.4
- 2.4.1
gemfile:
- gemfiles/rails_42.gemfile
- gemfiles/rails_50.gemfile
- gemfiles/rails_51.gemfile
env:
global:
- JRUBY_OPTS="-J-Xmx1024m --dev --debug"
- JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom"
- COVERAGE=true
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-9.1.12.0
gemfile: gemfiles/rails_42.gemfile
- rvm: jruby-9.1.12.0
gemfile: gemfiles/rails_50.gemfile
- rvm: jruby-9.1.12.0
gemfile: gemfiles/rails_51.gemfile
``` |
0b026ff9-6619-4728-a754-af5b5dcb8382 | {
"language": "YAML"
} | ```yaml
language: ruby
sudo: false
cache: bundler
bundler_args: --without kitchen_common kitchen_vagrant
rvm:
- 1.9.3
- 2.0.0
script:
- bundle exec rake travis
```
Test on modern ruby releases | ```yaml
language: ruby
sudo: false
cache: bundler
bundler_args: --without kitchen_common kitchen_vagrant
rvm:
- 2.0
- 2.1
- 2.2
script:
- bundle exec rake travis
``` |
df1c76f8-2bce-4606-83ab-9a272c392545 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
- "3.5"
# command to install dependencies
before_install: ./configure
install: make
# command to run tests
script:
make test
addons:
apt:
packages:
- nginx```
Comment out python 2.7 in this repo. | ```yaml
language: python
python:
- "3.5"
# - "2.7"
# command to install dependencies
before_install: ./configure
install: make
# command to run tests
script:
make test
addons:
apt:
packages:
- nginx``` |
f60da127-31f5-4f23-aab0-d913055b5528 | {
"language": "YAML"
} | ```yaml
language: go
go: 1.4
env:
- PATH=$HOME/gopath/bin:$PATH
install:
# Install SDL2.
# Travis CI uses Ubuntu 12.04 which doesn't have libsdl2.
# We use SDL2-2.0.1, the minimum version with SDL_WINDOW_ALLOW_HIGHDPI.
- wget https://www.libsdl.org/release/SDL2-2.0.1.tar.gz
- tar -xzf SDL2-2.0.1.tar.gz
- (cd SDL2-2.0.1 && ./configure -q && make -s -j3 && sudo make install)
# Install go tools used by gok.sh
- go get golang.org/x/tools/cmd/vet
- go get github.com/golang/lint/golint
- go get -d -v ./... && go build -v ./...
script: ./gok.sh
```
Disable Travis CI email notifications. | ```yaml
language: go
go: 1.4
notifications:
email: false
env:
- PATH=$HOME/gopath/bin:$PATH
install:
# Install SDL2.
# Travis CI uses Ubuntu 12.04 which doesn't have libsdl2.
# We use SDL2-2.0.1, the minimum version with SDL_WINDOW_ALLOW_HIGHDPI.
- wget https://www.libsdl.org/release/SDL2-2.0.1.tar.gz
- tar -xzf SDL2-2.0.1.tar.gz
- (cd SDL2-2.0.1 && ./configure -q && make -s -j3 && sudo make install)
# Install go tools used by gok.sh
- go get golang.org/x/tools/cmd/vet
- go get github.com/golang/lint/golint
- go get -d -v ./... && go build -v ./...
script: ./gok.sh
``` |
0b8165dd-c14f-4ead-8687-af132c701c94 | {
"language": "YAML"
} | ```yaml
# Dependencies
markdown: redcarpet
pygments: true
# Permalinks
permalink: pretty
# Setup
title: Donald McKendrick
tagline: 'Developer and Entrepreneur'
description: 'Developer at <a href="http://floatapp.com" target="_blank">Float</a> and aspiring entrepreneur.'
url: http://donaldmckendrick.com
author:
name: 'Donald McKendrick'
url: https://twitter.com/deardonald
paginate: 5
# Custom vars
# version: 2.0.0
# github:
# repo: https://github.com/poole/hyde```
Update employment history in config | ```yaml
# Dependencies
markdown: redcarpet
pygments: true
# Permalinks
permalink: pretty
# Setup
title: Donald McKendrick
tagline: 'CTO and Entrepreneur'
description: 'CTO at <a href="http://www.storeluv.com" target="_blank">StoreLuv</a> and aspiring entrepreneur.'
url: http://donaldmckendrick.com
author:
name: 'Donald McKendrick'
url: https://twitter.com/deardonald
paginate: 5
# Custom vars
# version: 2.0.0
# github:
# repo: https://github.com/poole/hyde
``` |
88ebfde1-a971-46b0-8169-636caa1c41e5 | {
"language": "YAML"
} | ```yaml
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then composer require satooshi/php-coveralls:1.* squizlabs/php_codesniffer:2.* -n ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '5.6' ]]; then composer install -n ; fi
script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then phpunit --coverage-clover clover.xml ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '5.6' ]]; then phpunit ; fi
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then vendor/bin/phpcs ; fi
after_script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then php vendor/bin/coveralls --coverage_clover=clover.xml -v ; fi
notifications:
slack: slimphp:0RNzx2JuhkAqIf0MXcUZ0asT```
Test with PHP 7.1 but allow failures | ```yaml
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
allow_failures:
- php: 7.1
before_script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then composer require satooshi/php-coveralls:1.* squizlabs/php_codesniffer:2.* -n ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '5.6' ]]; then composer install -n ; fi
script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then phpunit --coverage-clover clover.xml ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '5.6' ]]; then phpunit ; fi
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then vendor/bin/phpcs ; fi
after_script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then php vendor/bin/coveralls --coverage_clover=clover.xml -v ; fi
notifications:
slack: slimphp:0RNzx2JuhkAqIf0MXcUZ0asT``` |
8cf34784-7d84-496a-92d6-c25a07bd44fa | {
"language": "YAML"
} | ```yaml
language: objective-c
osx_image: beta-xcode6.3
before_install:
- brew install gawk
- bash linter.sh
- sudo gem install cocoaseeds
install:
- seed install
script:
- xctool -project Allkdic.xcodeproj -scheme Allkdic CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO build test -parallelize
```
Use Xcode 7 in Travis | ```yaml
language: objective-c
osx_image: xcode7
before_install:
- brew install gawk
- bash linter.sh
- sudo gem install cocoaseeds
install:
- seed install
script:
- xctool -project Allkdic.xcodeproj -scheme Allkdic CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO build test -parallelize
``` |
e4c0f945-34e7-498a-ad31-41602f36dc05 | {
"language": "YAML"
} | ```yaml
language: python
python: "2.7"
services:
- redis-server
- mysql
- postgresql
env:
- TOXENV=py27
install:
- pip install tox coveralls
before_script:
- mysql -e 'create database test;'
script: tox
after_success:
if [ "$TOXENV" == "py27" ]; then coveralls; fi
```
Add a hack to fix Travis | ```yaml
language: python
python: "2.7"
services:
- redis-server
- mysql
- postgresql
env:
- TOXENV=py27
install:
- pip install tox coveralls
before_script:
- mysql -e 'create database test;'
- sudo rm -f /etc/boto.cfg
script: tox
after_success:
if [ "$TOXENV" == "py27" ]; then coveralls; fi
``` |
8e737586-fe8f-4234-9cdf-51b91c508b85 | {
"language": "YAML"
} | ```yaml
rvm:
- 2.2.2
cache: bundler
addons:
code_climate:
repo_token: 1f9743a554140a590819de5967c4411398a22e31f2d5d439127cdbf33c72a6ab
```
Add geckodriver to Travis yml. Nathan Pannell | ```yaml
rvm:
- 2.2.2
cache: bundler
before_script:
- if [ "${$TRAVIS_OS_NAME}" = "linux" ]; then
wget https://github.com/mozilla/geckodriver/releases/geckodriver-v0.11.1-linux64.tar.gz -O /tmp/geckodriver.tar.gz;
fi
- if [ "${$TRAVIS_OS_NAME}" = "osx" ]; then
wget https://github.com/mozilla/geckodriver/releases/geckodriver-v0.11.1-macos.tar.gz -O /tmp/geckodriver.tar.gz;
fi
- tar -xzvf /tmp/geckodriver.tar.gz
- export PATH=$PATH:$PWD
addons:
code_climate:
repo_token: 1f9743a554140a590819de5967c4411398a22e31f2d5d439127cdbf33c72a6ab
``` |
aae52d60-3880-4bef-99a3-9179d3223959 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
addons:
firefox: latest
cache:
directories:
- $HOME/.m2
- node
- node_modules
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x24 +extension RANDR"
- export DISPLAY=:99
- "wget https://github.com/mozilla/geckodriver/releases/download/v0.15.0/geckodriver-v0.15.0-linux64.tar.gz"
- mkdir geckodriver
- tar -xzf geckodriver-v0.15.0-linux64.tar.gz -C geckodriver
- "wget -q http://selenium-release.storage.googleapis.com/3.3/selenium-server-standalone-3.3.1.jar"
- "java -Dwebdriver.gecko.driver=$PWD/geckodriver/geckodriver -jar selenium-server-standalone-3.3.1.jar &"
- sleep 5
install: /bin/true
script: mvn verify -B -Djava.util.logging.config.file="src/test/resources/logging.properties"
after_success:
- bash <(curl -s https://codecov.io/bash)
```
Update Selenium and Firefox to fix IT | ```yaml
language: java
jdk:
- oraclejdk8
addons:
firefox: latest
cache:
directories:
- $HOME/.m2
- node
- node_modules
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x24 +extension RANDR"
- export DISPLAY=:99
- "wget https://github.com/mozilla/geckodriver/releases/download/v0.19.0/geckodriver-v0.19.0-linux64.tar.gz"
- mkdir geckodriver
- tar -xzf geckodriver-v0.19.0-linux64.tar.gz -C geckodriver
- "wget -q https://selenium-release.storage.googleapis.com/3.6/selenium-server-standalone-3.6.0.jar"
- "java -Dwebdriver.gecko.driver=$PWD/geckodriver/geckodriver -jar selenium-server-standalone-3.6.0.jar &"
- sleep 5
install: /bin/true
script: mvn verify -B -Djava.util.logging.config.file="src/test/resources/logging.properties"
after_success:
- bash <(curl -s https://codecov.io/bash)
``` |
57a33458-6725-4b9e-a655-a8e7b56686bd | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.1
- 3.2
env:
- TIMEZONE=UTC
install:
- pip install nose
- pip install .
script: make test
```
Remove TIMEZONE environment setting from Travis CI test | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.1
- 3.2
install:
- pip install nose
- pip install .
script: make test
``` |
725ebcbe-4417-4a24-9b95-7206ee0c89a6 | {
"language": "YAML"
} | ```yaml
language: ruby
os:
- linux
- osx
rvm:
- 2.0.0-p598
- 2.1.5
- 2.2.2
- ruby-head
install:
- git clone https://github.com/ruby/mspec.git ../mspec
script:
- ../mspec/bin/mspec
matrix:
exclude:
- os: osx
rvm: ruby-head
branches:
only:
- master
```
Disable OS X on Travis as it slows the build considerably | ```yaml
language: ruby
rvm:
- 2.0.0-p598
- 2.1.5
- 2.2.2
- ruby-head
install:
- git clone https://github.com/ruby/mspec.git ../mspec
script:
- ../mspec/bin/mspec
branches:
only:
- master
``` |
ceac55af-cf07-4ffb-933b-4b8985c9c0e9 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.6
- 7.0
before_script:
- composer validate
- composer update
```
Add coverage support to TravisCI | ```yaml
language: php
php:
- 5.6
- 7.0
before_script:
- composer validate
- composer update
script:
- vendor/bin/phpunit --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --repository="g/ntd/silverstripe-autotoc" --format=php-clover coverage.clover
``` |
5da7e77e-566a-4bb8-ae91-d8b7138890ad | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 10
- 11
- 12
after_success:
- bash <(curl -s https://codecov.io/bash)
```
Test using multiple languages in Travis CI | ```yaml
matrix:
include:
- language: python
python:
- "2.7"
- language: node_js
node_js:
- 10
after_success:
- bash <(curl -s https://codecov.io/bash)
``` |
b9b90b15-f6cb-41b2-8431-9b4bef50ae94 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
sudo: false
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist
- if [ -f vendor/bin/coveralls ]; then ln -s vendor/bin/coveralls vendor/bin/php-coveralls; fi
before_script:
- mkdir -p build/logs
script:
- ./vendor/bin/parallel-lint src tests
- ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs src tests --standard=psr12 -sp
after_success:
- travis_retry php vendor/bin/php-coveralls
```
Fix the statement to correctly link coveralls to php-coveralls | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
sudo: false
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist
- if [ -f vendor/bin/coveralls ]; then ln -s coveralls vendor/bin/php-coveralls; fi
before_script:
- mkdir -p build/logs
script:
- ./vendor/bin/parallel-lint src tests
- ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs src tests --standard=psr12 -sp
after_success:
- travis_retry php vendor/bin/php-coveralls
``` |
e8f51245-7b15-41b2-9a54-5db32cc76d66 | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
before_install:
- "sudo apt-get update -qq"
- "sudo apt-get install -qq python-numpy python-scipy python-nose python-matplotlib ipython libasound2 libasound2-plugins libasound-dev alsa-base"
- "sudo ldconfig"
- "pip install spectrum"
- "pip install pyaudio"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- "python setup.py build_ext --inplace"
script:
- "python setup.py test"
```
Install portaudio but install pyaudio from pip | ```yaml
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
before_install:
- "sudo apt-get update -qq"
- "sudo apt-get install -qq python-numpy python-scipy python-nose python-matplotlib ipython libasound2 libasound2-plugins libasound-dev alsa-base portaudio"
- "sudo ldconfig"
- "pip install spectrum"
- "pip install pyaudio"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- "python setup.py build_ext --inplace"
script:
- "python setup.py test"
``` |
81ebc132-2278-4910-becc-63443ab67822 | {
"language": "YAML"
} | ```yaml
language: rust
sudo: false
os:
- linux
- osx
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
env:
global:
- RUSTFLAGS="-C link-dead-code"
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev
- libiberty-dev
# This is the default and is redundant. Added for reference.
script:
- cargo build --verbose
- cargo test --verbose
after_success: |
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz &&
cd kcov-master &&
mkdir build &&
cd build &&
cmake .. &&
make &&
make install DESTDIR=../../kcov-build &&
cd ../.. &&
rm -rf kcov-master &&
for file in target/debug/examplerust-*[^\.d]; do mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
bash <(curl -s https://codecov.io/bash) &&
echo "Uploaded code coverage"
```
Replace exmaple package name for codecov. | ```yaml
language: rust
sudo: false
os:
- linux
- osx
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
env:
global:
- RUSTFLAGS="-C link-dead-code"
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev
- libiberty-dev
# This is the default and is redundant. Added for reference.
script:
- cargo build --verbose
- cargo test --verbose
after_success: |
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz &&
cd kcov-master &&
mkdir build &&
cd build &&
cmake .. &&
make &&
make install DESTDIR=../../kcov-build &&
cd ../.. &&
rm -rf kcov-master &&
for file in target/debug/gruff-*[^\.d]; do mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
bash <(curl -s https://codecov.io/bash) &&
echo "Uploaded code coverage"
``` |
69c3abfa-7dbb-4c06-a970-f5b3d12be4f3 | {
"language": "YAML"
} | ```yaml
language: go
sudo: false
go:
- tip
- 1.8.x
- 1.7.x
- 1.6.x
install:
- go get -t ./...
before_script:
- $(exit $(go fmt ./... | wc -l))
- go vet ./...
script:
- go test -v -i -race ./...
```
Remove go vet from Travis for now | ```yaml
language: go
sudo: false
go:
- tip
- 1.9.x
- 1.8.x
- 1.7.x
install:
- go get -t ./...
before_script:
- $(exit $(go fmt ./... | wc -l))
script:
- go test -v -race ./...
``` |
3e0227f2-3de5-4457-96a1-56caff56bc9b | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- '9'
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
directories:
- node_modules
before_install:
- npm prune
- npm install -g npm
# # encrypted environment variables are not available for pull requests from forks
# before_deploy:
# - git config user.name "Travis CI"
# - git config user.email "notifications@travis-ci.org"
# - git checkout master
# - git status
# - openssl aes-256-cbc -K $encrypted_449662e2943f_key -iv $encrypted_449662e2943f_iv
# -in ./.travis/deploy_key.enc -out ./.travis/deploy_key -d
# - eval "$(ssh-agent -s)" # start the ssh agent
# - chmod 600 .travis/deploy_key
# - ssh-add .travis/deploy_key
# - git remote add deploy git@github.com:${TRAVIS_REPO_SLUG}.git
# deploy:
# provider: script
# script: .travis/deploy.sh
# # Warning: there is an unencrypted private key in the working directory.
# # Do not deploy it anywhere.
# skip_cleanup: true
# on:
# branch: master
```
Install latest npm and modules in Travis | ```yaml
language: node_js
node_js:
- '9'
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
directories:
- node_modules
before_install:
- npm prune
- npm install -g npm
- npm install
# # encrypted environment variables are not available for pull requests from forks
# before_deploy:
# - git config user.name "Travis CI"
# - git config user.email "notifications@travis-ci.org"
# - git checkout master
# - git status
# - openssl aes-256-cbc -K $encrypted_449662e2943f_key -iv $encrypted_449662e2943f_iv
# -in ./.travis/deploy_key.enc -out ./.travis/deploy_key -d
# - eval "$(ssh-agent -s)" # start the ssh agent
# - chmod 600 .travis/deploy_key
# - ssh-add .travis/deploy_key
# - git remote add deploy git@github.com:${TRAVIS_REPO_SLUG}.git
# deploy:
# provider: script
# script: .travis/deploy.sh
# # Warning: there is an unencrypted private key in the working directory.
# # Do not deploy it anywhere.
# skip_cleanup: true
# on:
# branch: master
``` |
29e813dc-fc40-4956-b7a6-cf30e310d60c | {
"language": "YAML"
} | ```yaml
# Site Configs
name: Ionic Framework
description: The official Ionic Framework blog
url: http://ionicframework.com/blog
markdown: redcarpet
pygments: true
permalink: /blog/:title
paginate: 5
paginate_path: "blog/page:num"
# Default news if the page didnt enter news
news: Check out our <a href="/docs/guide/">Guide</a>, which covers all the basics of setting up.
# Latest Version Config
latest_download: http://code.ionicframework.com/1.0.0-beta.1/ionic-v1.0.0-beta.1.zip
latest_version: 1.0.0-beta.1 "actinium"
latest_release_date: 2014-03-25
# Which version of AngularJS the latest build includes
included_angular_version: 1.2.12
# Which active Cordova version we recommend
recommended_cordova_version: 3.3.1
# the primary plunkr to fork
code_sample_base_url: http://plnkr.co/edit/vD0O9M?p=preview
```
Exclude node_modules and scss from jekyll build | ```yaml
# Site Configs
name: Ionic Framework
description: The official Ionic Framework blog
url: http://ionicframework.com/blog
markdown: redcarpet
pygments: true
permalink: /blog/:title
paginate: 5
paginate_path: "blog/page:num"
# Default news if the page didnt enter news
news: Check out our <a href="/docs/guide/">Guide</a>, which covers all the basics of setting up.
exclude: [node_modules, scss]
# Latest Version Config
latest_download: http://code.ionicframework.com/1.0.0-beta.1/ionic-v1.0.0-beta.1.zip
latest_version: 1.0.0-beta.1 "actinium"
latest_release_date: 2014-03-25
# Which version of AngularJS the latest build includes
included_angular_version: 1.2.12
# Which active Cordova version we recommend
recommended_cordova_version: 3.3.1
# the primary plunkr to fork
code_sample_base_url: http://plnkr.co/edit/vD0O9M?p=preview
``` |
a300ba73-5a46-4567-9155-f5d91101f157 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk7
before_script:
- "echo $JAVA_OPTS"
- "echo $MAVEN_OPTS"
- "export JAVA_OPTS=-Xmx2g"
- "export MAVEN_OPTS=-Xmx2g"
install: mvn -q install -DskipTests=true
```
Update to experiment with heap sizes | ```yaml
language: java
jdk:
- oraclejdk7
before_script:
- "echo $JAVA_OPTS"
- "echo $MAVEN_OPTS"
install: mvn install -DskipTests=true
``` |
c54cdd03-4553-4b53-a23a-9cb67c0d9af1 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "4.2"
before_script:
- npm install -g grunt-cli
script: grunt test```
Install bower before running test script | ```yaml
language: node_js
node_js:
- "4.2"
before_script:
- npm install -g grunt-cli
- nom install -g bower
script: grunt test``` |
230e7773-a055-434e-bb87-88259a919192 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.11"
- "0.10"
before_script:
- npm install -g grunt-cli
```
Add support for iojs and node 0.12 | ```yaml
language: node_js
node_js:
- iojs
- "0.12"
- "0.11"
- "0.10"
before_script:
- npm install -g grunt-cli
``` |
14c7ad5c-c7ce-467c-acdf-caee7ac89243 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.7
- 3.2
install:
- pip install jsonschema
script:
- python setup.py test
```
Test more Python versions with Travis. | ```yaml
language: python
python:
- "pypy"
- 2.6
- 2.7
- 3.3
- 3.4
env:
- JSONSCHEMA="jsonschema"
matrix:
include:
- python: "3.2"
env: JSONSCHEMA="jsonschema==2.3.0"
install:
- pip install $JSONSCHEMA
script:
- python setup.py test
``` |
8c778c81-ce3f-450f-b3c6-c497d41b8cdd | {
"language": "YAML"
} | ```yaml
# Jekyll configuration precedence:
# 1. Gruntfile task
# 2. config.build.yml
# 3. config.yml
name: "Richard Westenra | Web designer & front-end developer"
description: "I make websites, data-visualisations, and interactive webapps."
author:
name: Richard Westenra
email: rjwestenra@gmail.com
# Grunt handles images and assets.
exclude: ['img', 'css', 'js', 'fonts',
'**.png', '**.jpg', '**.jpeg', '**.gif', '**.webp', '**.svg',
'**.ico', 'node_modules']
include: ['.htaccess','**.ico','sitemap.xml', 'CNAME']
# _config.build.yml sets future and show_drafts to false on `grunt build`
future: true
show_drafts: true
# Markdown library
markdown: redcarpet
# extensions: ['fenced_code_blocks', 'smart']
pygments: true
permalink: :title/
relative_permalinks: false
liveUrl: "http://richardwestenra.com/"```
Update default homepage meta description | ```yaml
# Jekyll configuration precedence:
# 1. Gruntfile task
# 2. config.build.yml
# 3. config.yml
name: "Richard Westenra | Web designer & front-end developer"
description: "London-based web developer with a passion for making beautiful websites, interactive webapps & data-vis. This is my portfolio & blog."
author:
name: Richard Westenra
email: rjwestenra@gmail.com
# Grunt handles images and assets.
exclude: ['img', 'css', 'js', 'fonts',
'**.png', '**.jpg', '**.jpeg', '**.gif', '**.webp', '**.svg',
'**.ico', 'node_modules']
include: ['.htaccess','**.ico','sitemap.xml', 'CNAME']
# _config.build.yml sets future and show_drafts to false on `grunt build`
future: true
show_drafts: true
# Markdown library
markdown: redcarpet
# extensions: ['fenced_code_blocks', 'smart']
pygments: true
permalink: :title/
relative_permalinks: false
liveUrl: "http://richardwestenra.com/"``` |
a3926b7a-7f4c-45df-b852-63a190f82b18 | {
"language": "YAML"
} | ```yaml
language: php
dist: trusty
php:
- '7.2'
- '7.3'
- '7.4'
- 'nightly'
matrix:
include:
- php: '7.2'
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
- travis_retry wget https://scrutinizer-ci.com/ocular.phar
- mkdir -p build/logs
script:
- vendor/bin/phpstan --level=max analyse src tests
- vendor/bin/phpunit --coverage-clover=build/logs/clover.xml
- vendor/bin/phpcs --standard=PSR2 src
after_script:
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
```
Revert nightly until we can update PHPUnit | ```yaml
language: php
dist: trusty
php:
- '7.2'
- '7.3'
- '7.4'
matrix:
include:
- php: '7.2'
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
- travis_retry wget https://scrutinizer-ci.com/ocular.phar
- mkdir -p build/logs
script:
- vendor/bin/phpstan --level=max analyse src tests
- vendor/bin/phpunit --coverage-clover=build/logs/clover.xml
- vendor/bin/phpcs --standard=PSR2 src
after_script:
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
``` |
3b6b26bd-8ff7-4c3e-98b7-4fdf0ea8a845 | {
"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 edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Red Butte Garden
email: contact@redbuttegarden.org
description: The official website of Red Butte Garden
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://redbuttegarden.org" # the base hostname & protocol for your site, e.g. http://example.com
#twitter_username: jekyllrb
#github_username: jekyll
# Build settings
markdown: kramdown
theme: minima
gems:
- jekyll-feed
- jekyll-last-modified-at
exclude:
- Gemfile
- Gemfile.lock
- .travis.yml
timezone: America/Denver
permalink: pretty
```
Set different permalink style for blog posts. | ```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 edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Red Butte Garden
email: contact@redbuttegarden.org
description: The official website of Red Butte Garden
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://redbuttegarden.org" # the base hostname & protocol for your site, e.g. http://example.com
#twitter_username: jekyllrb
#github_username: jekyll
# Build settings
markdown: kramdown
theme: minima
gems:
- jekyll-feed
- jekyll-last-modified-at
exclude:
- Gemfile
- Gemfile.lock
- .travis.yml
timezone: America/Denver
permalink: pretty
defaults:
-
scope:
path: ""
type: "posts"
values:
permalink: :title
``` |
b76f9e13-752e-47ba-92c2-37b3e6c96215 | {
"language": "YAML"
} | ```yaml
safe: true
markdown: kramdown
pygments: true
permalink: /:title.html
default_theme: yandex
default_width: 792
default_lang: ru
default_body_class: list
author:
name: Yours Truly
# url: http://example.com/
company:
name: Яндекс
url: http://yandex.ru/
progress: true
```
Rename jekyll option, since now we have to | ```yaml
safe: true
markdown: kramdown
highlighter: true
permalink: /:title.html
default_theme: yandex
default_width: 792
default_lang: ru
default_body_class: list
author:
name: Yours Truly
# url: http://example.com/
company:
name: Яндекс
url: http://yandex.ru/
progress: true
``` |
5790dcf3-f2e1-4976-ac34-8dc939e25cdf | {
"language": "YAML"
} | ```yaml
language: python
python:
- "2.6"
- "2.7"
env:
# - DJANGO_VERSION="Django==1.2"
- DJANGO_VERSION="Django==1.3"
- DJANGO_VERSION="git+git://github.com/django/django.git@master#egg=django==1.4c1"
# command to install dependencies
install: pip install mock==0.7.2 $DJANGO --use-mirrors
# command to run tests
script: python runtests.py
```
Correct the environment variable name of Django | ```yaml
language: python
python:
- "2.6"
- "2.7"
env:
# - DJANGO="Django==1.2"
- DJANGO="Django==1.3"
- DJANGO="git+git://github.com/django/django.git@master#egg=django==1.4c1"
# command to install dependencies
install: pip install mock==0.7.2 $DJANGO --use-mirrors
# command to run tests
script: python runtests.py
``` |
5ff7cb2d-2c05-4a72-879a-9f96701b32ee | {
"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 edit after that. If you find
# yourself editing these this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
# Build settings
title: RiiConnect24
defaults:
-
scope:
path: "" # an empty string here means all files in the project
values:
layout: "default"
# Sites have their own title to show.
title: "RiiConnect24"
markdown: kramdown
plugins:
- jekyll-sitemap
```
Add social and email to config | ```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 edit after that. If you find
# yourself editing these this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
# Build settings
title: RiiConnect24
email: support@riiconnect24.net
url: "https://rc24.xyz/"
# Social
githubUsername: RiiConnect24
twitterUsername: RiiConnect24
facebookUsername: RiiConnect24
defaults:
-
scope:
path: "" # an empty string here means all files in the project
values:
layout: "default"
# Sites have their own title to show.
title: "RiiConnect24"
markdown: kramdown
plugins:
- jekyll-sitemap
``` |
8fde066b-dbeb-4dcc-b5dd-4c98412cf31d | {
"language": "YAML"
} | ```yaml
---
language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
- node
- iojs
sudo: false
script:
- npm test
- npm run lint
```
Configure Travis CI to test on newer Node.js | ```yaml
---
language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
- '4'
- '5'
- '6'
sudo: false
script:
- npm test
- npm run lint
``` |
b4b718f5-a1c4-4e7f-815e-8902b7d297b7 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
- "4.0"
```
Disable the notification of TravisCI. | ```yaml
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
- "4.0"
notifications:
email: false
``` |
825af9ed-0f11-400e-ad1f-a4ddde7d1a27 | {
"language": "YAML"
} | ```yaml
title: Dinosaurs Are Forever
description: code, music, creation
meta_description: "The Personal Blog of Chris J Arges"
baseurl: ""
url: "http://chrisarges.net"
github_username: arges
# Build settings
markdown: kramdown
theme: jekyll-theme-minimal
gems:
- jekyll-feed
- jekyll-paginate
exclude:
- Gemfile
- Gemfile.lock
disqus:
shortname: chrisarges-net
google_analytics: UA-36012839-2
```
Switch to original theme, use https. | ```yaml
title: Dinosaurs Are Forever
description: code, music, creation
meta_description: "The Personal Blog of Chris J Arges"
baseurl: ""
url: "https://chrisarges.net"
github_username: arges
# Build settings
markdown: kramdown
theme: minima
gems:
- jekyll-feed
- jekyll-paginate
exclude:
- Gemfile
- Gemfile.lock
disqus:
shortname: chrisarges-net
google_analytics: UA-36012839-2
``` |
c00a3322-c46e-4265-a2a8-dea96a8d5089 | {
"language": "YAML"
} | ```yaml
dist: trusty
sudo: required
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=lint
- python: "2.7"
env: TOXENV=py27
- python: "3.5"
env: TOXENV=py35
# - python: "3.6"
# env: TOXENV=py36
cache:
directories:
- $HOME/.cache/pip
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y swig3.0 libjack-jackd2-dev portaudio19-dev sox
- sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
- pip install pyaudio
- sudo apt-get install -y libatlas-base-dev
- git clone --branch v1.1.0 https://github.com/Kitt-AI/snowboy.git /tmp/snowboy
- cd /tmp/snowboy/swig/Python && make && cd -
- mv /tmp/snowboy/swig/Python snowboydetect
- touch snowboydetect/__init__.py
install: pip install -U tox coveralls
language: python
script: tox
after_success: coveralls
```
Change snowboy make for py3 | ```yaml
dist: trusty
sudo: required
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=lint
- python: "2.7"
env: TOXENV=py27
- python: "3.5"
env: TOXENV=py35
# - python: "3.6"
# env: TOXENV=py36
cache:
directories:
- $HOME/.cache/pip
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y swig3.0 libjack-jackd2-dev portaudio19-dev sox
- sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
- pip install pyaudio
- sudo apt-get install -y libatlas-base-dev
- git clone --branch v1.1.0 https://github.com/Kitt-AI/snowboy.git /tmp/snowboy
- if [[ TOXENV == py3. ]]; then sed -i s/python-config/python3-config/g /tmp/snowboy/swig/Python/Makefile; fi
- cd /tmp/snowboy/swig/Python && make && cd -
- mv /tmp/snowboy/swig/Python snowboydetect
- touch snowboydetect/__init__.py
install: pip install -U tox coveralls
language: python
script: tox
after_success: coveralls
``` |
40b70375-6027-411c-afa4-8bc1bfda5be4 | {
"language": "YAML"
} | ```yaml
language: ruby
cache: bundler
sudo: false
dist: precise
branches:
only: master
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
before_install: ruby -e "File.write('Gemfile.lock', File.read('Gemfile.lock').split('BUNDLED WITH').first)"
```
Remove deprecated Travis CI option | ```yaml
language: ruby
cache: bundler
dist: precise
branches:
only: master
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
before_install: ruby -e "File.write('Gemfile.lock', File.read('Gemfile.lock').split('BUNDLED WITH').first)"
``` |
80090df7-e626-48e0-bc58-ab5508f6de84 | {
"language": "YAML"
} | ```yaml
# Site settings
title: Markus Kauppila
email: markus.kauppila@gmail.com
description: > # this means to ignore newlines until "baseurl:"
About software craftmanship and creating software for iOS.
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://yourdomain.com" # the base hostname & protocol for your site
twitter_username: markuskauppila
github_username: mkauppila
paginate: 10
sass:
sass_dir: _sass # make sure @import works
# Build settings
markdown: kramdown
```
Delete description from the config | ```yaml
# Site settings
title: Markus Kauppila
email: markus.kauppila@gmail.com
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://yourdomain.com" # the base hostname & protocol for your site
twitter_username: markuskauppila
github_username: mkauppila
paginate: 10
sass:
sass_dir: _sass # make sure @import works
# Build settings
markdown: kramdown
``` |
318ff564-f9bc-402c-815b-934194e54d85 | {
"language": "YAML"
} | ```yaml
sudo: required
dist: trusty
language: cpp
script:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER ..
- cmake --build .
- ctest --versbose
matrix:
include:
- os: linux
compiler: g++
env: COMPILER=g++-6 BUILD=Debug ARCH=64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- os: linux
compiler: g++
env: COMPILER=g++-6 BUILD=Release ARCH=64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- os: linux
compiler: g++
env: COMPILER=g++-5 BUILD=Debug ARCH=64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- os: linux
compiler: g++
env: COMPILER=g++-5 BUILD=Release ARCH=64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
```
Use the latest Trusty image | ```yaml
sudo: required
dist: trusty
group: edge
language: cpp
script:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER ..
- cmake --build .
- ctest --versbose
matrix:
include:
- os: linux
compiler: g++
env: COMPILER=g++-6 BUILD=Debug ARCH=64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- os: linux
compiler: g++
env: COMPILER=g++-6 BUILD=Release ARCH=64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- os: linux
compiler: g++
env: COMPILER=g++-5 BUILD=Debug ARCH=64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- os: linux
compiler: g++
env: COMPILER=g++-5 BUILD=Release ARCH=64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
``` |
c4aed8a3-7c8c-4b32-bbac-0312d7a0b9f1 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
- hhvm
install:
- composer selfupdate
- composer install
before_script:
- mysql -e 'create database `test`;'
- mysql --default-character-set=utf8 test < test/test.sql
```
Test on PHP and HHVM nightly builds | ```yaml
language: php
php:
- 7
- 5.6
- 5.5
- 5.4
- 5.3
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: 7
- php: hhvm-nightly
install:
- composer selfupdate
- composer install
before_script:
- mysql -e 'create database `test`;'
- mysql --default-character-set=utf8 test < test/test.sql
``` |
a2c3d9f6-99b7-4a0a-b6fb-1aa5f398f68e | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5.1'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
```
Test with latest Node.js 5 on Travis CI. | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
``` |
40326413-70e8-4baa-bc3a-a854ec8d225c | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- '0.12'
after_success:
- npm run coveralls
```
Update node_js versions and coverage services | ```yaml
sudo: false
language: node_js
cache:
directories:
- node_modules
node_js:
- '0.10'
- '0.12'
- '4.0'
- '4.1'
before_script:
- npm prune
after_success:
- npm run codecov
``` |
3495c2f4-4e1e-42a8-a3eb-28fb42258492 | {
"language": "YAML"
} | ```yaml
language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failure:
- rust: nightly```
Test on OSX and Linux | ```yaml
language: rust
rust:
- stable
- beta
- nightly
os:
- linux
- osx
matrix:
allow_failure:
- rust: nightly
``` |
7bbf458c-08ed-4b67-95eb-27bf3d40d437 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.1.1
- 2.0.0
script:
- 'echo "Checking code style" && ./bin/phare'
- 'echo "Running specs" && bundle exec rake spec'
notifications:
hipchat:
rooms:
secure: "OjYHtwmsG6bDC8mewX85yulCKxsVpvGiic32e6lDRq2TYmMtot/atOQaZ16YlMMN0CQqiJ8jfpil3HWCSK1iPZxSLHzCEu//bL6uoDJdPc/oXNV2BPAj0CxyHiJPpV3gdgdnZBbYGNdDPtjxo8FuZnM+cWIDl3yW0Y2rQkE7u0k="
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Build</a>/<a href="%{compare_url}">Changes</a>)'
format: 'html'
```
Update Ruby version with the latests for Travis check | ```yaml
language: ruby
rvm:
- 2.3.1
- 2.2
- 2.1
- 2.0
script:
- 'echo "Checking code style" && ./bin/phare'
- 'echo "Running specs" && bundle exec rake spec'
notifications:
hipchat:
rooms:
secure: "OjYHtwmsG6bDC8mewX85yulCKxsVpvGiic32e6lDRq2TYmMtot/atOQaZ16YlMMN0CQqiJ8jfpil3HWCSK1iPZxSLHzCEu//bL6uoDJdPc/oXNV2BPAj0CxyHiJPpV3gdgdnZBbYGNdDPtjxo8FuZnM+cWIDl3yW0Y2rQkE7u0k="
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Build</a>/<a href="%{compare_url}">Changes</a>)'
format: 'html'
``` |
f28d0cb1-c582-441c-bf34-df3ae050b9ce | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 6
cache:
directories:
- node_modules
script:
- npm test
- npm run coverage
- npm run build
after_success: 'npm run coveralls'```
Use latest LTS Node.js release | ```yaml
language: node_js
node_js:
- lts/*
cache:
directories:
- node_modules
script:
- npm test
- npm run coverage
- npm run build
after_success: 'npm run coveralls'``` |
ec06f025-337e-4bd7-b579-bcfa6c704ca5 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- ruby-head
- jruby-head
- 2.1.1
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-19mode
- jruby-18mode
- rbx-2.1.1
- rbx-2.0.0
- 1.8.7
matrix:
allow_failures:
- rvm: 1.8.7
- rvm: jruby-18mode
```
Add rbx-2.0.0 to allowed failures | ```yaml
language: ruby
rvm:
- ruby-head
- jruby-head
- 2.1.1
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-19mode
- jruby-18mode
- rbx-2.1.1
- rbx-2.0.0
- 1.8.7
matrix:
allow_failures:
- rvm: rbx-2.0.0
- rvm: 1.8.7
- rvm: jruby-18mode
``` |
1b15af62-c86b-4be3-acad-3d0d0c1df858 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
branches:
only:
- master
- develop
install: ./gradlew assemble -P -PsonatypeUsername=argius -PsonatypePassword=
script: ./gradlew test -P -PsonatypeUsername=argius -PsonatypePassword=
```
Update Travis-CI to correct an error | ```yaml
language: java
jdk:
- oraclejdk8
branches:
only:
- master
- develop
install: ./gradlew assemble -P -PsonatypeUsername=argius -PsonatypePassword=""
script: ./gradlew test -P -PsonatypeUsername=argius -PsonatypePassword=""
``` |
c60d60cf-4d33-4cb9-a222-ae770f357fd9 | {
"language": "YAML"
} | ```yaml
---
language: ruby
sudo: false
cache: bundler
before_install: "gem install bundler -v '< 2.0'"
bundler_args: --without yard benchmarks
script: "bundle exec rake ci"
rvm:
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.1.5.0
- jruby-head
- truffleruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.5.0
- rvm: truffleruby
fast_finish: true
branches:
only: master
notifications:
email: false
```
Change to stop caching bundler | ```yaml
---
language: ruby
sudo: false
before_install: "gem install bundler -v '< 2.0'"
bundler_args: --without yard benchmarks
script: "bundle exec rake ci"
rvm:
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.1.5.0
- jruby-head
- truffleruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.5.0
- rvm: truffleruby
fast_finish: true
branches:
only: master
notifications:
email: false
``` |
d6f0c0a1-fad7-4dc7-86be-a4431f76fd7d | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
- travis_retry composer require satooshi/php-coveralls --dev
script:
- mkdir -p build/logs
- ./vendor/bin/parallel-lint src test
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs src --standard=psr2 -sp
after_script:
- php vendor/bin/coveralls
```
Stop doing lint with Travis | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
- travis_retry composer require satooshi/php-coveralls --dev
script:
- mkdir -p build/logs
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs src --standard=psr2 -sp
after_script:
- php vendor/bin/coveralls
``` |
33ce71a0-eb45-4bdb-87d1-5474de05b6dd | {
"language": "YAML"
} | ```yaml
language: ruby
sudo: false
rvm:
- "1.9"
- "2.0"
- "2.1"
- "2.2"
- jruby-19mode
- rbx-2
install:
- bundle install --retry=3
env:
- ACTIVE_RECORD_BRANCH="master"
- ACTIVE_RECORD_VERSION="~> 4.2.0"
- ACTIVE_RECORD_VERSION="~> 4.1.0"
- ACTIVE_RECORD_VERSION="~> 4.0.0"
- ACTIVE_RECORD_VERSION="~> 3.2.0"
- ACTIVE_RECORD_VERSION="~> 3.1.0"
- ACTIVE_RECORD_VERSION="~> 3.0.0"
matrix:
allow_failures:
- env: ACTIVE_RECORD_BRANCH="master"
exclude:
- env: ACTIVE_RECORD_BRANCH="master"
rvm: "1.9"
- env: ACTIVE_RECORD_BRANCH="master"
rvm: "2.0"
- env: ACTIVE_RECORD_BRANCH="master"
rvm: "2.1"
- env: ACTIVE_RECORD_BRANCH="master"
rvm: jruby-19mode
```
Add Active Record 5 to Travis CI | ```yaml
language: ruby
sudo: false
rvm:
- "1.9"
- "2.0"
- "2.1"
- "2.2"
- jruby-19mode
- rbx-2
install:
- bundle install --retry=3
env:
- ACTIVE_RECORD_BRANCH="master"
- ACTIVE_RECORD_VERSION="~> 5.0.0"
- ACTIVE_RECORD_VERSION="~> 4.2.0"
- ACTIVE_RECORD_VERSION="~> 4.1.0"
- ACTIVE_RECORD_VERSION="~> 4.0.0"
- ACTIVE_RECORD_VERSION="~> 3.2.0"
- ACTIVE_RECORD_VERSION="~> 3.1.0"
- ACTIVE_RECORD_VERSION="~> 3.0.0"
matrix:
allow_failures:
- env: ACTIVE_RECORD_BRANCH="master"
exclude:
- env: ACTIVE_RECORD_BRANCH="master"
rvm: "1.9"
- env: ACTIVE_RECORD_BRANCH="master"
rvm: "2.0"
- env: ACTIVE_RECORD_BRANCH="master"
rvm: "2.1"
- env: ACTIVE_RECORD_BRANCH="master"
rvm: jruby-19mode
- env: ACTIVE_RECORD_VERSION="~> 5.0.0"
rvm: "1.9"
- env: ACTIVE_RECORD_VERSION="~> 5.0.0"
rvm: "2.0"
- env: ACTIVE_RECORD_VERSION="~> 5.0.0"
rvm: "2.1"
- env: ACTIVE_RECORD_VERSION="~> 5.0.0"
rvm: jruby-19mode
``` |
a5b9ae9c-0c6c-4b9a-944d-bab233bd6889 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.1.1
- 2.1.0
- 2.0.0
```
Remove 2.1.0 from Travis CI list | ```yaml
language: ruby
rvm:
- 2.1.1
- 2.0.0
``` |
20dab11a-5fee-472f-b042-f0d5b0191ffc | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- '0.10'
notifications:
irc:
channels:
- chat.freenode.net#hawkular
on_success: change
before_install:
- 'npm install -g bower gulp typescript'
script:
- 'npm install'
- 'bower install'
- 'gulp'```
Enable container-based infrastructure for Travis builds. | ```yaml
sudo: false
language: node_js
node_js:
- '0.10'
notifications:
irc:
channels:
- chat.freenode.net#hawkular
on_success: change
before_install:
- 'npm install -g bower gulp typescript'
script:
- 'npm install'
- 'bower install'
- 'gulp'
``` |
606c7435-04ad-465e-affd-129bad64a9b0 | {
"language": "YAML"
} | ```yaml
language: objective-c
osx_image: xcode7.3
branches:
only:
- master
- /^deploy-.*$/
install:
- tar -xzf lame-3.99.5.tar.gz
script:
- cd lame-3.99.5 && ../build_ios.sh
```
Add deploy on tag from Travis to github release | ```yaml
language: objective-c
osx_image: xcode7.3
install: tar -xzf lame-3.99.5.tar.gz
script: cd lame-3.99.5 && ../build_ios.sh
deploy:
provider: releases
file: build/libmp3lame.a
skip_cleanup: true
on:
tags: true
api-key:
secure: A3q+C1rrw2yXX/CzV/Utxcg2dKzPCQKDgg/MEWZ8K6/s6C8kRsbgv3YsM+iZpcUlw+ekUjIRUsQqDaBD5U36Avl3Mbdv3qIzHIH/dPRMdYSROaEzTv3BoqTBErOFwxLqEninqqRpTm2vO4bGdKemnN2O8Qe8XmU4h+ZvBPmWsqs=
``` |
3b0e817f-ca8d-46a1-8dcf-d81c5cb41455 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "5"
before_install:
- rvm install 2.3.1
install:
- bundle install
- npm install -g lodash marked varstream node-gyp
- npm install -g gulp-cli
- npm install
script: bundle exec middleman build --clean
after_success: npm run stage```
Deploy to S3 with Travis | ```yaml
language: node_js
node_js:
- "5"
python:
- "3.5"
cache: pip
install:
# Install any dependencies required for building your site here.
# `awscli` is required for invalidation of CloudFront distributions.
- pip install awscli
before_install:
- rvm install 2.3.1
install:
- bundle install
- npm install -g lodash marked varstream node-gyp
- npm install -g gulp-cli
- npm install
# Run twice to remove assets generated but not revved
# TODO: Split the removal out into a separate task
script:
- bundle exec middleman build --clean
- bundle exec middleman build --clean
# Deploy changes to master
deploy:
on:
branch: master
provider: s3
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
bucket: simplebitdesign.com
skip_cleanup: true
local_dir: public
cache_control: "max-age=21600"
acl: public_read
# Deploy every push from a release branch
deploy:
on:
branch: /^(?i:release)-.*$/
provider: s3
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
bucket: dev.simplebitdesign.com
skip_cleanup: true
local_dir: public
acl: public_read
after_deploy:
# Allow `awscli` to make requests to CloudFront.
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && aws configure set preview.cloudfront true
# Invalidate every HTML object in the targeted distribution.
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/**/*.html"``` |
e9315d9a-d245-4db6-b04b-2d2d7c398c52 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 0.10
env:
matrix:
- BROWSER=chrome BVER=stable
- BROWSER=chrome BVER=beta
- BROWSER=chrome BVER=unstable
# - BROWSER=firefox BVER=stable
# - BROWSER=firefox BVER=beta
# - BROWSER=firefox BVER=aurora
before_install:
- mkdir -p .travis
- curl -s https://codeload.github.com/rtc-io/webrtc-testing-on-travis/tar.gz/master | tar -xz --strip-components=1 --directory .travis
- ./.travis/setup.sh
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
notifications:
email:
- damon.oehlman@nicta.com.au
irc: irc.freenode.org#rtc.io
```
Move to using saucelabs again for testing | ```yaml
language: node_js
node_js:
- 0.10
notifications:
email:
- damon.oehlman@nicta.com.au
irc: irc.freenode.org#rtc.io
env:
global:
- secure: Xo5DDUYF9ieE9uzku88im0W/iQrDM/XMxdr4SsXQwVy+v6Y7gMQwPnIlBicgitq7B1ZoVnSrPO0XkNSsj2RYgPUDKLJzQPozp5LiiDOydBC2CpCr6DFlinovwQdm8U64zvvh8m8DIH8Ow1BZmfqHo616DBV1LRToXpMl/fj9+0w=
- secure: P120lzsmhYQZdFz6/sIDjeDpjJH7D8rID1JIf6AEfBbQ94urY5iJ15awQFp7G2b268ekHbyz0LwTgXVakf/WcclUNCPQxPj8wlRbdDE0zL6nmfMWyoM/gGnTrPjtfoONn1e9DIpNqIc/AXI+abcuaio+8OmkBfxAJvIcX5nB6iI=
``` |
0288ea31-5917-4a7f-8141-30e2129859f2 | {
"language": "YAML"
} | ```yaml
before_install:
- sudo add-apt-repository --yes ppa:kubuntu-ppa/backports
- sudo apt-get update -qq
- sudo apt-get install cmake
sudo: true
language: rust
rust: nightly
```
Test on nightly, beta and stable | ```yaml
before_install:
- sudo add-apt-repository --yes ppa:kubuntu-ppa/backports
- sudo apt-get update -qq
- sudo apt-get install cmake
sudo: true
language: rust
rust:
- nightly
- beta
- stable
``` |
11a723fe-4d5f-4e1e-ad59-c67d9a23df10 | {
"language": "YAML"
} | ```yaml
os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode8.2
script:
- eval "$(curl -sL https://swift.vapor.sh/ci)"
- eval "$(curl -sL https://swift.vapor.sh/codecov)"
```
Use Xcode 9.1 image for tests | ```yaml
os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode9.1
script:
- eval "$(curl -sL https://swift.vapor.sh/ci)"
- eval "$(curl -sL https://swift.vapor.sh/codecov)"
``` |
0badcf97-057c-459b-9144-6ddce379a258 | {
"language": "YAML"
} | ```yaml
sudo: false
language: node_js
node_js:
- 'iojs'
- '0.12'
- '0.10'
```
Test on `stable` instead of `iojs` | ```yaml
sudo: false
language: node_js
node_js:
- 'stable'
- '0.12'
- '0.10'
``` |
9c092680-36c0-4bb4-8c97-68c3fec7d640 | {
"language": "YAML"
} | ```yaml
language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
```
Make Travis build javadoc and source packages | ```yaml
language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
script: mvn install
``` |
86ec82bd-e560-4ab6-a77c-7fb0af38c38c | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.6
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- JEKYLL_ENV=production
before_install:
- gem update --system
- gem install bundler
# install:
# - bundle install
# script:
# - rake
cache:
bundler: true
directories:
- $TRAVIS_BUILD_DIR/.jekyll-cache
branches:
only:
- master
notifications:
email:
on_success: never
on_failure: change
```
Add apt package to Travis CI environment | ```yaml
language: ruby
rvm:
- 2.6
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- JEKYLL_ENV=production
before_install:
- gem update --system
- gem install bundler
# install:
# - bundle install
# script:
# - rake
addons:
apt:
packages:
- libcurl4-openssl-dev
cache:
bundler: true
directories:
- $TRAVIS_BUILD_DIR/.jekyll-cache
branches:
only:
- master
notifications:
email:
on_success: never
on_failure: change
``` |
a1558197-0658-42a2-943c-693aefeb5982 | {
"language": "YAML"
} | ```yaml
sudo: false
language: java
jdk: openjdk7
script:
- mvn clean deploy
- cd java-sdk/
- mvn site site:deploy
```
Build only develop branch in Travis | ```yaml
sudo: false
language: java
jdk: openjdk7
script:
- mvn clean deploy
- cd java-sdk/
- mvn site site:deploy
branches:
only:
- develop
``` |
5aae03ce-d7da-42c1-a5e6-c679878815e8 | {
"language": "YAML"
} | ```yaml
sudo: false
language: ruby
rvm:
- 2.3.1
before_install: gem install bundler -v 1.12.5
```
Update Travis CI notification settings. | ```yaml
sudo: false
language: ruby
rvm:
- 2.3.1
before_install: gem install bundler -v 1.12.5
notifications:
email:
on_success: never
on_failure: change
``` |
4ffffa78-a070-475d-a43b-eb72e0aa22af | {
"language": "YAML"
} | ```yaml
language: objective-c
xcode_project: Project/NSData+GZIP.xcodeproj
matrix:
include:
- xcode_scheme: Tests OS X
xcode_sdk: macosx
- xcode_scheme: Tests iOS
xcode_sdk: iphonesimulator
osx_image: xcode7
sudo: false
cache: bundler
```
Update Travis CI image to Xcode8 | ```yaml
language: objective-c
xcode_project: Project/NSData+GZIP.xcodeproj
matrix:
include:
- xcode_scheme: Tests OS X
xcode_sdk: macosx
- xcode_scheme: Tests iOS
xcode_sdk: iphonesimulator
osx_image: xcode8
sudo: false
cache: bundler
``` |
9c9da064-a4de-4a5f-bef2-b91ac4277f88 | {
"language": "YAML"
} | ```yaml
language: php
env:
global:
- COMPOSER_ROOT_VERSION="4.2.x-dev"
matrix:
include:
- php: 5.6
env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1
- php: 7.0
env: DB=PGSQL PHPUNIT_TEST=1
- php: 7.1
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.2
env: DB=MYSQL PHPUNIT_TEST=1
before_script:
- phpenv rehash
- phpenv config-rm xdebug.ini
- composer validate
- composer require --no-update silverstripe/recipe-cms:1.0.x-dev
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.0.x-dev; fi
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
- if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs --standard=vendor/silverstripe/framework/phpcs.xml.dist src/ tests/ ; fi
after_success:
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
```
Update branch alias in Travis configuration | ```yaml
language: php
env:
global:
- COMPOSER_ROOT_VERSION="4.x-dev"
matrix:
include:
- php: 5.6
env: DB=MYSQL PHPCS_TEST=1 PHPUNIT_TEST=1
- php: 7.0
env: DB=PGSQL PHPUNIT_TEST=1
- php: 7.1
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.2
env: DB=MYSQL PHPUNIT_TEST=1
before_script:
- phpenv rehash
- phpenv config-rm xdebug.ini
- composer validate
- composer require --no-update silverstripe/recipe-cms:1.0.x-dev
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.0.x-dev; fi
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
- if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs --standard=vendor/silverstripe/framework/phpcs.xml.dist src/ tests/ ; fi
after_success:
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
``` |
f3613d67-3124-46df-b057-548f6031b7ca | {
"language": "YAML"
} | ```yaml
before_script:
- "sh -e /etc/init.d/xvfb start"
- "bundle exec rake db:create db:migrate"
script: "DISPLAY=:99.0 bundle exec rspec ./**/spec"
notifications:
email:
- parndt@gmail.com
- ugis.ozolss@gmail.com
irc:
- "irc.freenode.org#refinerycms"
env:
- DB=postgres
- DB=mysql
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx
# - jruby```
Print out the ruby version we're using. | ```yaml
before_script:
- "ruby --version"
- "sh -e /etc/init.d/xvfb start"
- "bundle exec rake db:create db:migrate"
script: "DISPLAY=:99.0 bundle exec rspec ./**/spec"
notifications:
email:
- parndt@gmail.com
- ugis.ozolss@gmail.com
irc:
- "irc.freenode.org#refinerycms"
env:
- DB=postgres
- DB=mysql
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx
# - jruby``` |
1fb09c43-75ee-43d9-93e6-0720dab529ac | {
"language": "YAML"
} | ```yaml
script: "bundle exec rake db:migrate test"
rvm:
- 1.8.7
- 1.9.2
- jruby
- rbx
- ree
env: "RAILS_ENV=test"
```
Use db:schema:load task instead of db:migrate | ```yaml
script: "bundle exec rake db:schema:load test"
rvm:
- 1.8.7
- 1.9.2
- jruby
- rbx
- ree
env: "RAILS_ENV=test"
``` |
85551a62-8081-46af-b708-554663fb6281 | {
"language": "YAML"
} | ```yaml
language: python
dist: xenial
sudo: true
python:
- 3.6
- 3.7
install:
- pip install pipenv black
- pipenv install --dev
script:
- flake8 --version
- flake8 graphql tests
- black --version
- black graphql tests --check
- mypy --version
- mypy graphql
- pytest --version
- pytest --cov-report term-missing --cov=graphql
after_success:
- codecov
```
Replace pipenv with poetry in Travis config as well | ```yaml
language: python
dist: xenial
sudo: true
python:
- 3.6
- 3.7
install:
- pip install poetry
- poetry install
script:
- flake8 --version
- flake8 graphql tests
- black --version
- black graphql tests --check
- mypy --version
- mypy graphql
- pytest --version
- pytest --cov-report term-missing --cov=graphql
after_success:
- codecov
``` |
2e2a907d-6519-4f24-b328-85e423519b43 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "0.10"
- "0.8"
- "0.6"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" = "0.6" ] && npm conf set strict-ssl false || true'
```
Test in node 0.11 too | ```yaml
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.8"
- "0.6"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" = "0.6" ] && npm conf set strict-ssl false || true'
``` |
49ae6fce-6217-4ad6-9cc3-0ff1a4ff5e38 | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- 2.4.4
- 2.5.1
- jruby-9.2.0.0
- ruby-head
- jruby-head
before_install:
- gem update --system
env:
global:
- JRUBY_OPTS=--dev
script:
- bundle exec rake ${TEST_SUITE:-test}
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.2.0.0
- env: TEST_SUITE=templates:test
include:
- env: TEST_SUITE=templates:test
rvm: 2.5.1
```
Drop Ruby 2.4 support for Rails 6 | ```yaml
language: ruby
rvm:
- 2.5.3
- 2.6.1
- jruby-9.2.0.0
- ruby-head
- jruby-head
before_install:
- gem update --system
env:
global:
- JRUBY_OPTS=--dev
script:
- bundle exec rake ${TEST_SUITE:-test}
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.2.0.0
- env: TEST_SUITE=templates:test
include:
- env: TEST_SUITE=templates:test
rvm: 2.6.1
``` |
91482860-7c17-4c62-be8f-477d62f32e75 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
env:
- DJANGO=Django==1.4.20
- DJANGO=Django==1.5.12
- DJANGO=Django==1.6.11
- DJANGO=Django==1.7.7
- DJANGO=Django==1.8
matrix:
exclude:
- python: 3.2
env: DJANGO=Django==1.4.20
- python: 3.3
env: DJANGO=Django==1.4.20
- python: 2.6
env: DJANGO=Django==1.7.7
- python: 2.6
env: DJANGO=Django==1.8
install:
- pip install -q $DJANGO
- pip install coveralls
- python setup.py -q install
before_script:
- rm -rf build
script:
- coverage run --source=registration setup.py test
after_success:
- coveralls --verbose
```
Test against Python 3.4 and latest Django releases | ```yaml
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
env:
- DJANGO=Django==1.4.20
- DJANGO=Django==1.5.12
- DJANGO=Django==1.6.11
- DJANGO=Django==1.7.8
- DJANGO=Django==1.8.1
matrix:
exclude:
- python: 3.2
env: DJANGO=Django==1.4.20
- python: 3.3
env: DJANGO=Django==1.4.20
- python: 3.4
env: DJANGO=Django==1.4.20
- python: 2.6
env: DJANGO=Django==1.7.8
- python: 2.6
env: DJANGO=Django==1.8.1
install:
- pip install -q $DJANGO
- pip install coveralls
- python setup.py -q install
before_script:
- rm -rf build
script:
- coverage run --source=registration setup.py test
after_success:
- coveralls --verbose
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.