Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Fix permission for nightly build | name: Nightly Build
on:
# https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#scheduled-events
schedule:
- cron: "30 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Git
shell: bash
run: bash ./config/deploy-nightly.sh setup ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 14
cache: 'npm'
- name: Install dependencies
run: |
npm config set package-lock false
npm install
- name: Deploy
shell: bash
run: bash ./config/deploy-nightly.sh build
| name: Nightly Build
on:
# https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#scheduled-events
schedule:
- cron: "30 0 * * *"
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Git
shell: bash
run: bash ./config/deploy-nightly.sh setup ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 14
cache: 'npm'
- name: Install dependencies
run: |
npm config set package-lock false
npm install
- name: Deploy
shell: bash
run: bash ./config/deploy-nightly.sh build
|
Stop running tests while they don't work | general:
artifacts:
- "dist"
machine:
services:
- docker
dependencies:
override:
- echo "Skipped"
test:
override:
- ./create_binary.sh
- sudo tests/mainline.sh
| general:
artifacts:
- "dist"
machine:
services:
- docker
dependencies:
override:
- echo "Skipped"
test:
override:
- ./create_binary.sh
|
Disable host key checking for whole 10.0.0.0 net | ---
- name: Main build script
hosts: all
sudo: yes
vars:
ssh_ip_mask: "10.0.0.*"
tasks:
- include: tasks/base.yaml
- include: tasks/puppet.yaml
- include: tasks/docker.yaml
- include: tasks/cloud_archive.yaml
- include: tasks/ssh_conf.yaml
| ---
- name: Main build script
hosts: all
sudo: yes
vars:
ssh_ip_mask: "10.*.*.*"
tasks:
- include: tasks/base.yaml
- include: tasks/puppet.yaml
- include: tasks/docker.yaml
- include: tasks/cloud_archive.yaml
- include: tasks/ssh_conf.yaml
|
Update from Hackage at 2020-08-26T10:17:31Z | homepage: https://github.com/nikita-volkov/template-haskell-compat-v0208
changelog-type: ''
hash: ffab0f18db8d72b9bdf664422b163cfe122ba5c09b6760f8e7ccb3947e52d60b
test-bench-deps: {}
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
synopsis: A backwards compatibility layer for Template Haskell newer than 2.8
changelog: ''
basic-deps:
base: '>=4.6 && <5'
template-haskell: '>=2.8 && <3'
all-versions:
- '0.1'
- 0.1.1
- 0.1.1.1
- 0.1.2
- 0.1.2.1
- 0.1.3
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: 0.1.3
description-type: haddock
description: ''
license-name: MIT
| homepage: https://github.com/nikita-volkov/template-haskell-compat-v0208
changelog-type: ''
hash: b2a8d8bb0a255c7467e260dc789aff2d0c6bcbbcc74ac5f350b78a80fe5af17c
test-bench-deps: {}
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
synopsis: A backwards compatibility layer for Template Haskell newer than 2.8
changelog: ''
basic-deps:
base: '>=4.6 && <5'
template-haskell: '>=2.8 && <3'
all-versions:
- '0.1'
- 0.1.1
- 0.1.1.1
- 0.1.2
- 0.1.2.1
- 0.1.3
- 0.1.4
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: 0.1.4
description-type: haddock
description: ''
license-name: MIT
|
Check every file except JSON for apache license link. | language: golang
go:
- "1.14"
before_script:
- go install golang.org/x/tools/cmd/goimports
script:
- go test -v ./...
- >
echo "Checking goimports..." && (
if [[ -n $(goimports -l internal cmd) ]]; then
goimports -d internal cmd
echo 'Please run `goimports -w cmd internal`.'
false
fi
)
- >
echo "Checking go mod..." && (
go mod tidy
git diff --quiet || (
git diff go.mod go.sum
echo 'Please run `go mod tidy`.'
false
)
)
| language: golang
go:
- "1.14"
before_script:
- go install golang.org/x/tools/cmd/goimports
script:
- go test -v ./...
- >
echo "Checking goimports..." && (
if [[ -n $(goimports -l internal cmd) ]]; then
goimports -d internal cmd
echo 'Please run `goimports -w cmd internal`.'
false
fi
)
- >
echo "Checking go mod..." && (
go mod tidy
git diff --quiet || (
git diff go.mod go.sum
echo 'Please run `go mod tidy`.'
false
)
)
- >
echo "Checking for license headers..." && (
FILES=$(grep -rL 'https://www.apache.org/licenses/LICENSE-2.0' internal cmd)
if [[ -n ${FILES} ]]; then
echo "The following files are missing the Apache header:\n${FILES}"
false
fi
)
|
Add valgrind installation to TravisCI test. | # Travis-CI Build for libadt
# see travis-ci.org for details
language: c
compiler:
- gcc-4.9
- clang
os:
- linux
env:
global:
- SECRET_TOKEN=rPPjmuNMjbdspnrrTxqf
branches:
only:
- master
before_script:
- make clean
script:
- make
- make tests
- make vg_tests
after_success:
- bash <(curl -s https://codecov.io/bash)
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- build-essential
alternatives:
- alternative:
name: gcc
link: /usr/bin/gcc
path: /usr/bin/gcc-4.9
priority: 50
| # Travis-CI Build for libadt
# see travis-ci.org for details
language: c
compiler:
- gcc-4.9
- clang
os:
- linux
env:
global:
- SECRET_TOKEN=rPPjmuNMjbdspnrrTxqf
branches:
only:
- master
before_script:
- make clean
script:
- make
- make tests
- make vg_tests
after_success:
- bash <(curl -s https://codecov.io/bash)
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- build-essential
- valgrind
alternatives:
- alternative:
name: gcc
link: /usr/bin/gcc
path: /usr/bin/gcc-4.9
priority: 50
|
Use JDK8 for tut in Travis, hopefully. | sudo: false
language: ruby
rvm: 2.2
env:
global:
- secure: "fYE4XBc2dUJxu51JfH8Mj6WDN5qy3xGkn4PrXF0I2rcoBpU8kGEjIpmbirh3yjykFX4VlMbyL4bO9rRAu/twwtMu0IEsrPWnzcTdjz6yvqAyIlbcOMpvSzUIOSbi2XtVP0QzC6BcQ4AV2gGgXONC8O3vEd1vW3U2FysyI4d5HBE="
install:
- bundle install
- curl -s https://raw.githubusercontent.com/paulp/sbt-extras/master/sbt -o sbt
- chmod +x sbt
script:
- ./sbt run
- bundle exec jekyll build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
branches:
except:
- master
deploy:
- provider: script
script: ./deploy.sh
skip_cleanup: true
on:
branch: development
| sudo: false
language: ruby
rvm: 2.2
env:
global:
- secure: "fYE4XBc2dUJxu51JfH8Mj6WDN5qy3xGkn4PrXF0I2rcoBpU8kGEjIpmbirh3yjykFX4VlMbyL4bO9rRAu/twwtMu0IEsrPWnzcTdjz6yvqAyIlbcOMpvSzUIOSbi2XtVP0QzC6BcQ4AV2gGgXONC8O3vEd1vW3U2FysyI4d5HBE="
jdk:
- oraclejdk8
install:
- bundle install
- curl -s https://raw.githubusercontent.com/paulp/sbt-extras/master/sbt -o sbt
- chmod +x sbt
script:
- ./sbt run
- bundle exec jekyll build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
branches:
except:
- master
deploy:
- provider: script
script: ./deploy.sh
skip_cleanup: true
on:
branch: development
|
Remove expired rbx targets from Travis CI | language: ruby
rvm:
# TODO reenable ruby-head when issues sorted out
# - ruby-head
- jruby-head
# - "1.8.7"
- "1.9.3"
# - jruby-18mode # JRuby in 1.8 mode
- jruby-19mode # JRuby in 1.9 mode
# - rbx-18mode
- rbx-19mode
# uncomment this line if your project needs to run something other than `rake`:
# script: bundle exec rspec spec | language: ruby
rvm:
# TODO reenable ruby-head when issues sorted out
# - ruby-head
- jruby-head
# - "1.8.7"
- "1.9.3"
# - jruby-18mode # JRuby in 1.8 mode
- jruby-19mode # JRuby in 1.9 mode
# - rbx-18mode
# - rbx-19mode
# uncomment this line if your project needs to run something other than `rake`:
# script: bundle exec rspec spec |
Update build tools to sdk 24 | language: android
sudo: required
android:
components:
- tools
- build-tools-23.0.3
- android-23
- extra
before_install:
- git clone https://github.com/urho3d/android-ndk.git $HOME/android-ndk-root
- export ANDROID_NDK_HOME=$HOME/android-ndk-root
before_script:
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
| language: android
sudo: required
android:
components:
- tools
- build-tools-24.0.0
- android-24
- extra
before_install:
- git clone https://github.com/urho3d/android-ndk.git $HOME/android-ndk-root
- export ANDROID_NDK_HOME=$HOME/android-ndk-root
before_script:
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
|
Make Travis use the Makefile | language: python
sudo: false
python:
- "2.7"
install:
- pip install rply
- pip install coveralls
script:
coverage run test.py
after_success:
coveralls
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b81f9ec6e179a91aaca0
on_success: change
on_failure: always
on_start: false
| language: python
sudo: false
python:
- "2.7"
install:
- pip install rply
- pip install coveralls
script:
make coverage
after_success:
coveralls
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b81f9ec6e179a91aaca0
on_success: change
on_failure: always
on_start: false
|
Build on Travis CI with latest Node.js 6. | 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
| sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
- '6'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
|
Update to latest Travis CI config | sudo: false
language: c
branches:
except:
- /^[0-9]+\.[0-9]+\.[0-9]$/
matrix:
include:
- os: linux
language: python
python: "2.6"
- os: linux
language: python
python: "2.7"
- os: linux
language: python
python: "3.2"
- os: linux
language: python
python: "3.3"
- os: linux
language: python
python: "3.6"
- os: linux
language: python
python: "pypy"
script:
- python run.py deps
- python run.py ci
| sudo: false
language: c
branches:
except:
- /^[0-9]+\.[0-9]+\.[0-9]$/
matrix:
include:
- os: linux
dist: trusty
language: python
python: "2.6"
- os: linux
dist: bionic
language: python
python: "2.7"
- os: linux
dist: trusty
language: python
python: "3.2"
- os: linux
dist: trusty
language: python
python: "3.3"
- os: linux
dist: bionic
language: python
python: "3.7"
- os: linux
dist: xenial
language: python
python: "pypy"
script:
- python run.py deps
- python run.py ci
|
Remove PHP 5.3 support as it is way past EOL | language: php
matrix:
include:
- php: 5.3
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: hhvm
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
# required to test HHVM
# see https://travis-ci.org/php-amqplib/php-amqplib/jobs/259347861
dist: trusty
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
script:
- vendor/bin/phpunit -d zend.enable_gc=0 --coverage-text --coverage-clover=coverage.clover
after_script:
- if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi
services:
rabbitmq
| language: php
matrix:
include:
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: hhvm
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
# required to test HHVM
# see https://travis-ci.org/php-amqplib/php-amqplib/jobs/259347861
dist: trusty
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
script:
- vendor/bin/phpunit -d zend.enable_gc=0 --coverage-text --coverage-clover=coverage.clover
after_script:
- if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi
services:
rabbitmq
|
Disable 3.3 until Twisted setup.py works. | language: python
env:
- TWISTED=Twisted==12.0 RUNTESTS=trial
- TWISTED=Twisted==12.1 RUNTESTS=trial
- TWISTED=Twisted==12.2 RUNTESTS=trial
- TWISTED=Twisted==12.3 RUNTESTS=trial
- TWISTED=Twisted==13.0 RUNTESTS=trial
- TWISTED=Twisted==13.1 RUNTESTS=trial
- TWISTED=Twisted==13.2 RUNTESTS=trial
matrix:
include:
python:
- 3.3
env:
- TWISTED=git+https://github.com/twisted/twisted.git RUNTESTS="python -m unittest discover"
python:
- 2.6
- 2.7
- pypy
install:
- python setup.py --version
- pip install -q --no-use-wheel $TWISTED --use-mirrors
- python setup.py -q install
script: $RUNTESTS crochet.tests
notifications:
email: false
| language: python
env:
- TWISTED=Twisted==12.0 RUNTESTS=trial
- TWISTED=Twisted==12.1 RUNTESTS=trial
- TWISTED=Twisted==12.2 RUNTESTS=trial
- TWISTED=Twisted==12.3 RUNTESTS=trial
- TWISTED=Twisted==13.0 RUNTESTS=trial
- TWISTED=Twisted==13.1 RUNTESTS=trial
- TWISTED=Twisted==13.2 RUNTESTS=trial
#matrix:
# include:
# python:
# - 3.3
# env:
# - TWISTED=git+https://github.com/twisted/twisted.git RUNTESTS="python -m unittest discover"
python:
- 2.6
- 2.7
- pypy
install:
- python setup.py --version
- pip install -q --no-use-wheel $TWISTED --use-mirrors
- python setup.py -q install
script: $RUNTESTS crochet.tests
notifications:
email: false
|
Switch Windows CI builds from windows-gnu to windows-msvc. | language: rust
rust:
- stable
- nightly
os:
- linux
- osx
- windows
env:
matrix:
- RELEASE=
- RELEASE=--release
before_script:
# rustfmt may not always be available in nightly
- if [[ "$TRAVIS_RUST_VERSION" != *nightly* ]]; then rustup component add rustfmt; fi
script:
# We cannot run `cargo test` with the mp4parse_fallible feature enabled
# (see comment where the feature is defined in mp4parse_capi/Cargo.toml),
# but we can at least check for changes behind features that would break the
# build.
- cargo check --all --verbose $RELEASE --tests --all-features
- cargo test --all --verbose $RELEASE
- cargo doc --package mp4parse_capi
# The `false` after `echo` is necessary to avoid false negatives due to `echo` returning success
- if [[ "$TRAVIS_RUST_VERSION" != *nightly* ]]; then cargo fmt -- --check || (echo "Please reformat your code with 'cargo fmt' (version $(cargo fmt -- --version))"; false); fi
| language: rust
rust:
- stable
- nightly
os:
- linux
- osx
- windows
env:
matrix:
- RELEASE=
- RELEASE=--release
install:
# rustfmt may not always be available in nightly
- if [[ "$TRAVIS_RUST_VERSION" != *nightly* ]]; then rustup component add rustfmt; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then T=x86_64-pc-windows-msvc; rustup target add $T; TARGET=--target=$T; fi
script:
# We cannot run `cargo test` with the mp4parse_fallible feature enabled
# (see comment where the feature is defined in mp4parse_capi/Cargo.toml),
# but we can at least check for changes behind features that would break the
# build.
- cargo check --all --verbose $RELEASE --tests --all-features
- cargo test --all --verbose $RELEASE $TARGET
- cargo doc --package mp4parse_capi
# The `false` after `echo` is necessary to avoid false negatives due to `echo` returning success
- if [[ "$TRAVIS_RUST_VERSION" != *nightly* ]]; then cargo fmt -- --check || (echo "Please reformat your code with 'cargo fmt' (version $(cargo fmt -- --version))"; false); fi
|
Add TMPDIR env variable to Travis file | language: python
python:
- "2.6"
- "2.7"
- "3.4"
matrix:
allow_failures:
- python: "2.7"
- python: "3.4"
fast_finish: true
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install stomp.py
- pip install python-daemon
- pip install python-ldap
- pip install dirq
- pip install unittest2
# command to run tests, e.g. python setup.py test
script:
- export PYTHONPATH=$PYTHONPATH:`pwd -P`
- cd test
#- unit2 discover
# Just run test_brokers for the moment until other tests are worked on
- unit2 test_brokers
| language: python
python:
- "2.6"
- "2.7"
- "3.4"
matrix:
allow_failures:
- python: "2.7"
- python: "3.4"
fast_finish: true
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install stomp.py
- pip install python-daemon
- pip install python-ldap
- pip install dirq
- pip install unittest2
before_script:
- export TMPDIR=$PWD/tmp
# command to run tests, e.g. python setup.py test
script:
- export PYTHONPATH=$PYTHONPATH:`pwd -P`
- cd test
- unit2 discover
|
Allow nightly builds to fail | language: rust
rust:
- stable
- beta
- nightly
sudo: false
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script:
- travis-cargo build
- travis-cargo test
- travis-cargo doc
after_success:
- git config user.name "Travis-CI Doc Bot"
- git config user.email "willusher.life@gmail.com"
- travis-cargo --only stable doc-upload
env:
global:
secure: Tcwn04OZmCAntcLiAMoOJwgIW6r55veMD3d4Yy+qco6KE8FCnYww8zsp1vb4BeRe6asVxsPxJgP2EZeoDdPayZqTAgCw7AVVL1umlhik8XN86cm/BcTDbu7azF8PS0LFh7HaAEarRYBlBn7mFpLZwKjoGGoMxwsKsbmdnCZz9Yk=
| language: rust
sudo: false
rust:
- stable
matrix:
allow_failures:
- rust: nightly
include:
- rust: beta
script:
- travis-cargo build
- travis-cargo test
- travis-cargo doc
- rust: nightly
script:
- travis-cargo build
- travis-cargo test
- travis-cargo doc
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script:
- travis-cargo build
- travis-cargo test
- travis-cargo doc
after_success:
- git config user.name "Travis-CI Doc Bot"
- git config user.email "willusher.life@gmail.com"
- travis-cargo --only stable doc-upload
env:
global:
secure: Tcwn04OZmCAntcLiAMoOJwgIW6r55veMD3d4Yy+qco6KE8FCnYww8zsp1vb4BeRe6asVxsPxJgP2EZeoDdPayZqTAgCw7AVVL1umlhik8XN86cm/BcTDbu7azF8PS0LFh7HaAEarRYBlBn7mFpLZwKjoGGoMxwsKsbmdnCZz9Yk=
|
Fix builds on 5.4 5.5 | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
install:
- travis_retry composer self-update
- travis_retry composer --version
- travis_retry composer update --prefer-dist --no-interaction
script:
- sh ./maketests.sh
- php vendor/bin/codecept run | language: php
matrix:
include:
- php: '5.4'
dist: precise
- php: '5.5'
dist: precise
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
install:
- travis_retry composer self-update
- travis_retry composer --version
- travis_retry composer update --prefer-dist --no-interaction
script:
- sh ./maketests.sh
- php vendor/bin/codecept run
|
Install last Riak DB to fix Travis. This is a temporal fix. | language: ruby
rvm:
- 1.9.3
- 2.0.0
services:
- riak
before_install:
- gem install dep
- ulimit -n 4096
install:
- dep install
| language: ruby
rvm:
- 1.9.3
- 2.0.0
before_install:
- curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add -
- sudo bash -c "echo deb http://apt.basho.com $(lsb_release -sc) main > /etc/apt/sources.list.d/basho.list"
- sudo apt-get update
- gem install dep
- ulimit -n 4096
install:
- yes n | sudo apt-get install riak
- sudo service riak start
- riak version
- dep install
|
Use the standard Jade Travis configuration | sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
| language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
after_success:
- npm run coverage
- npm i coveralls
- cat ./coverage/lcov.info | coveralls
notifications:
email:
on_success: never
|
Test setting URL for coveralls | sudo: required
services:
- docker
env:
- DOCKER_COMPOSE_VERSION=1.11.2
language: python
python:
- "3.4"
install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- sudo docker --version
- sudo docker-compose --version
before_script:
- ./csu start
script:
- ./csu test
- ./csu test_backwards
- ./csu style
after_script:
- docker-compose run django /docker_venv/bin/coveralls
# Stop email notifications but post to organisation Slack channel
notifications:
email: false
slack:
rooms: deptfunstuff:abJKvzApk5SKtcEyAgtswXAv
on_success: change
on_failure: change
| sudo: required
services:
- docker
env:
- DOCKER_COMPOSE_VERSION=1.11.2
language: python
python:
- "3.4"
install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- sudo docker --version
- sudo docker-compose --version
before_script:
- ./csu start
script:
- ./csu test
- ./csu test_backwards
- ./csu style
after_script:
- docker-compose run django /docker_venv/bin/coveralls --coveralls_url https://coveralls.io/github/uccser/cs-unplugged
# Stop email notifications but post to organisation Slack channel
notifications:
email: false
slack:
rooms: deptfunstuff:abJKvzApk5SKtcEyAgtswXAv
on_success: change
on_failure: change
|
Add libpq-dev to Travis CI packages. | language: go
go:
- tip
sudo: required
dist: trusty
addons:
apt:
packages:
- python3
- python3-coverage
- python3-psycopg2
- python3-numpy
- python3-matplotlib
install:
- go get github.com/olt/libpq
- go get github.com/DATA-DOG/go-sqlmock
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
before_script:
- go vet $GOPATH/src/github.com/seadsystem/Backend/DB/landingzone/...
script:
- cd $GOPATH/src/github.com/seadsystem/Backend/DB/landingzone; go install
- cd $GOPATH/src/github.com/seadsystem/Backend/DB/api; ./test_url_parser.py
- cd $GOPATH/src/github.com/seadsystem/Backend/DB/api; ./test_db.py
after_success:
- cd $GOPATH/src/github.com/seadsystem/Backend; go test github.com/seadsystem/Backend/DB/landingzone/...
- cd $GOPATH/src/github.com/seadsystem/Backend/DB/landingzone; ./test-coverage.sh
| language: go
go:
- tip
sudo: required
dist: trusty
addons:
apt:
packages:
- python3
- python3-coverage
- libpq-dev
- python3-psycopg2
- python3-numpy
- python3-matplotlib
install:
- go get github.com/olt/libpq
- go get github.com/DATA-DOG/go-sqlmock
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
before_script:
- go vet $GOPATH/src/github.com/seadsystem/Backend/DB/landingzone/...
script:
- cd $GOPATH/src/github.com/seadsystem/Backend/DB/landingzone; go install
- cd $GOPATH/src/github.com/seadsystem/Backend/DB/api; ./test_url_parser.py
- cd $GOPATH/src/github.com/seadsystem/Backend/DB/api; ./test_db.py
after_success:
- cd $GOPATH/src/github.com/seadsystem/Backend; go test github.com/seadsystem/Backend/DB/landingzone/...
- cd $GOPATH/src/github.com/seadsystem/Backend/DB/landingzone; ./test-coverage.sh
|
Remove node 0.8 from Travis config. | language: node_js
node_js:
- "0.8"
- "0.10"
before_script:
- npm install -g grunt-cli
| language: node_js
node_js:
- "0.10"
before_script:
- npm install -g grunt-cli
|
Add most recent Python versions in Travis CI | sudo: false
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
install:
- pip install .
- pip install -r test_requirements.txt
script:
- nosetests
| sudo: false
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
install:
- pip install .
- pip install -r test_requirements.txt
script:
- nosetests
|
Update the version of ruby used to build project in TravisCI. | # Lock down dist to ensure that builds run on a distribution that supports oraclejdk8
dist: trusty
language: ruby
jdk:
- oraclejdk8
rvm:
- 2.3.1
install:
- rvm use 2.3.1
- gem install bundler
- bundle install
script: buildr clean package
git:
depth: 10
| # Lock down dist to ensure that builds run on a distribution that supports oraclejdk8
dist: trusty
language: ruby
jdk:
- oraclejdk8
rvm:
- 2.6.6
install:
- rvm use 2.3.1
- gem install bundler
- bundle install
script: buildr clean package
git:
depth: 10
|
Add node.js versions for Travis-ci | language: "node_js"
node_js:
- "0.4"
- "0.6"
- "0.8"
- "0.10"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-coverage-to-coveralls"
| language: "node_js"
node_js:
- "0.4"
- "0.6"
- "0.8"
- "0.10"
- "0.12"
- "4.0"
- "4.1"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-coverage-to-coveralls"
|
Build minimal versions in Travis | sudo: false
language: rust
rust:
- nightly
- stable
- 1.15.1
- beta
script:
- cargo test
| sudo: false
language: rust
rust:
- stable
- 1.15.1
- beta
script:
- cargo test
matrix:
include:
- rust: nightly
script:
- cargo test
- cargo update -Z minimal-versions && cargo build
|
Allow stables and betas to fail the build | language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly | language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: stable
- rust: beta
# stables and betas are allowed to fail because the project used #![feature] |
Allow CI failures for ruby-head | language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
- jruby-head
before_script: git checkout master
script: bundle exec rake ci:metrics -t
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
- jruby-head
allow_failures:
- ruby-head
before_script: git checkout master
script: bundle exec rake ci:metrics -t
|
Switch to trusty for testing | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/cookstyle --version
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/bin/chef exec delivery local all
| sudo: required
dist: trusty
addons:
apt:
sources:
- chef-stable-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
script:
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/cookstyle --version
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/bin/chef exec delivery local all
|
Change branch name to main. | name: Publish Release
on:
workflow_dispatch: {}
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
say_hello:
runs-on: ubuntu-latest
steps:
- run: |
echo "Hello 123!"
echo "- in 234!"
| name: Publish Release
on:
workflow_dispatch: {}
push:
branches:
- main
pull_request:
branches:
- main
jobs:
say_hello:
runs-on: ubuntu-latest
steps:
- run: |
echo "Hello 123!"
echo "- in 234!"
|
Add description to Jekyll config | full_rebuild: true
title: vlau.me
url: http://vlau.me
description: ''
permalink: /:title
include:
- '_data'
exclude:
- 'node_modules'
- '*.sublime-workspace'
gems:
- jekyll-sitemap
kramdown:
input: GFM
auto_ids: false
sass:
style: compressed
color:
text: ffe0e7
background: 28143d
ui: 8f2400
author:
mail: 'phrudloff@gmail.com'
website: 'http://hey.kleinfreund.de'
# compress.html by Anatol Broder (http://jch.penibelst.de)
compress_html:
clippings: all
comments: ["<!--", "-->"]
endings: all
ignore:
envs: [local]
defaults:
-
scope:
path: ""
values:
layout: "default"
-
scope:
path: "redirects"
values:
layout: "redirect"
| full_rebuild: true
title: vlau.me
url: http://vlau.me
description: 'vlau.me is a searchable link collection for my fellow Computer Science and Media students at Bauhaus-Univerität Weimar.'
permalink: /:title
include:
- '_data'
exclude:
- 'node_modules'
- '*.sublime-workspace'
gems:
- jekyll-sitemap
kramdown:
input: GFM
auto_ids: false
sass:
style: compressed
color:
text: ffe0e7
background: 28143d
ui: 8f2400
author:
mail: 'phrudloff@gmail.com'
website: 'http://hey.kleinfreund.de'
# compress.html by Anatol Broder (http://jch.penibelst.de)
compress_html:
clippings: all
comments: ["<!--", "-->"]
endings: all
ignore:
envs: [local]
defaults:
-
scope:
path: ""
values:
layout: "default"
-
scope:
path: "redirects"
values:
layout: "redirect"
|
Replace markdown rendering engine (redcarpet->kramdown) | # Site settings
# Build settings
markdown: redcarpet
redcarpet:
extensions: ["no_intra_emphasis", "tables", "fenced_code_blocks", "autolink", "strikethrough", "with_toc_data"] | # Site settings
# Build settings
markdown: kramdown
redcarpet:
extensions: ["no_intra_emphasis", "tables", "fenced_code_blocks", "autolink", "strikethrough", "with_toc_data"]
|
Add option to useStudyID option to docker invocation of multifactor risk service | ie:
build: .
ports:
- "3001"
links:
- mongodb:mongo
command: ./server -huddle ./configs/multifactor_huddle_config.json
endpoint:
build: ../ie-ccda-endpoint
ports:
- "3000:3000"
links:
- ie
mongodb:
image: mongo
volumes:
- /data/db:/data/db
ports:
- "27017"
multifactorriskservice:
build: ../multifactorriskservice
ports:
- "9000"
links:
- mongodb:mongo
- ie
command: ./multifactorriskservice -redcap https://your_redcap_server/redcap/api -token your_redcap_api_token -fhir http://ie:3001
nginx:
build: ../nginx
ports:
- "443:443"
links:
- ie
command: /bin/bash -c "envsubst < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf '$$IE_PORT_3001_TCP_ADDR:$$IE_PORT_3001_TCP_PORT' && nginx -g 'daemon off;'"
| ie:
build: .
ports:
- "3001"
links:
- mongodb:mongo
command: ./server -huddle ./configs/multifactor_huddle_config.json
endpoint:
build: ../ie-ccda-endpoint
ports:
- "3000:3000"
links:
- ie
mongodb:
image: mongo
volumes:
- /data/db:/data/db
ports:
- "27017"
multifactorriskservice:
build: ../multifactorriskservice
ports:
- "9000"
links:
- mongodb:mongo
- ie
command: ./multifactorriskservice -redcap https://your_redcap_server/redcap/api -token your_redcap_api_token -fhir http://ie:3001 -useStudyID
nginx:
build: ../nginx
ports:
- "443:443"
links:
- ie
command: /bin/bash -c "envsubst < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf '$$IE_PORT_3001_TCP_ADDR:$$IE_PORT_3001_TCP_PORT' && nginx -g 'daemon off;'"
|
Make sure httpd is ON and configured to start on boot | ---
- name: install apache2 packages
yum: pkg={{ item }} state=installed
with_items:
- httpd
- httpd-devel
sudo: true
- name: change port on Apache2 config
lineinfile: dest=/etc/httpd/conf/httpd.conf regexp="^Listen " insertafter="^Listen " line="Listen {{ http_port }}"
sudo: true
notify:
- restart httpd
- name: set up vhosts include directory
command: mkdir -p /etc/httpd/vhosts creates=/etc/httpd/vhosts
sudo: true
- name: add vhosts include file
template: src=redhat_apache_vhosts_conf.j2 dest=/etc/httpd/conf.d/vhosts.conf
sudo: true
- name: add vhosts file
template: src=apache_vhost.j2 dest=/etc/httpd/vhosts/{{ webserver_hostname }}.conf
sudo: true
notify:
- restart httpd
| ---
- name: install apache2 packages
yum: pkg={{ item }} state=installed
with_items:
- httpd
- httpd-devel
sudo: true
- name: change port on Apache2 config
lineinfile: dest=/etc/httpd/conf/httpd.conf regexp="^Listen " insertafter="^Listen " line="Listen {{ http_port }}"
sudo: true
notify:
- restart httpd
- name: set up vhosts include directory
command: mkdir -p /etc/httpd/vhosts creates=/etc/httpd/vhosts
sudo: true
- name: add vhosts include file
template: src=redhat_apache_vhosts_conf.j2 dest=/etc/httpd/conf.d/vhosts.conf
sudo: true
- name: add vhosts file
template: src=apache_vhost.j2 dest=/etc/httpd/vhosts/{{ webserver_hostname }}.conf
sudo: true
notify:
- restart httpd
# Make sure httpd is ON and configured to start on boot
- service: name=httpd state=started enabled=yes
|
Add coverage output on PR | name: test
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Poetry
uses: snok/install-poetry@v1.1.6
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Install library
run: poetry install --no-interaction
- name: Run tests
run: |
poetry run pytest
| name: test
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Poetry
uses: snok/install-poetry@v1.1.6
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Install library
run: poetry install --no-interaction
- name: Run tests
run: |
poetry run pytest --cov=accloudtant --cov-report term-missing:skip-covered
|
Build with Node.js 16 on GitHub Actions. | name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 15.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm install --no-package-lock
- name: npm install nyc, prove, codecov
run: npm install -g nyc prove codecov
- name: npm test
run: nyc npm test
env:
CI: true
- name: generate codecov report
run: nyc report --reporter=text-lcov > coverage.lcov
- name: ship coverage to codecov
run: codecov
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
| name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm install --no-package-lock
- name: npm install nyc, prove, codecov
run: npm install -g nyc prove codecov
- name: npm test
run: nyc npm test
env:
CI: true
- name: generate codecov report
run: nyc report --reporter=text-lcov > coverage.lcov
- name: ship coverage to codecov
run: codecov
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
|
Fix prettier version in pre-commit | aliases:
- &python_settings
types: [python]
exclude: >
(?x)^(
.+/migrations/.+|
)$
repos:
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- <<: *python_settings
id: isort
- repo: https://github.com/python/black
rev: 19.3b0
hooks:
- <<: *python_settings
id: black
language_version: python3.7
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.8
hooks:
- <<: *python_settings
id: flake8
- repo: https://github.com/prettier/prettier
rev: 1.18.2
hooks:
- id: prettier
files: 'frontend/.*\.(js|jsx|ts|tsx)$'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
- id: end-of-file-fixer
files: '^.*\.(py|mjml|js|jsx|tf|tfvars|conf)$'
- id: file-contents-sorter
files: "^requirements(-test)?.in$"
- repo: local
hooks:
- id: eslint
name: eslint
types: [file]
files: 'frontend/.*\.(js|jsx|ts|tsx)$'
entry: bash -c 'cd frontend && yarn precommit-lint "$@"'
language: system
| aliases:
- &python_settings
types: [python]
exclude: >
(?x)^(
.+/migrations/.+|
)$
repos:
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- <<: *python_settings
id: isort
- repo: https://github.com/python/black
rev: 19.3b0
hooks:
- <<: *python_settings
id: black
language_version: python3.7
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.8
hooks:
- <<: *python_settings
id: flake8
- repo: https://github.com/prettier/prettier
rev: 1.19.1
hooks:
- id: prettier
files: 'frontend/.*\.(js|jsx|ts|tsx)$'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
- id: end-of-file-fixer
files: '^.*\.(py|mjml|js|jsx|tf|tfvars|conf)$'
- id: file-contents-sorter
files: "^requirements(-test)?.in$"
- repo: local
hooks:
- id: eslint
name: eslint
types: [file]
files: 'frontend/.*\.(js|jsx|ts|tsx)$'
entry: bash -c 'cd frontend && yarn precommit-lint "$@"'
language: system
|
Update from Hackage at 2019-11-26T16:17:40Z | homepage: ''
changelog-type: markdown
hash: 62e6d7bb4937b58b6b9c2096e35cf9ff8aa24ba1e401d1dd7c97f866935d0786
test-bench-deps: {}
maintainer: maintainer@obsidian.systems
synopsis: Dependent map that uses semigroup mappend
changelog: |
# Revision history for dependent-monoidal-map
basic-deps:
dependent-sum: ! '>=0.6.2 && <0.7'
constraints-extras: ! '>=0.3.0 && <0.4'
base: ! '>=4.9 && <4.13'
dependent-map: ! '>=0.3 && <0.4'
constraints: ! '>=0.10.1 && <0.11'
dependent-sum-aeson-orphans: ! '>=0.2.1 && <0.3'
aeson: ! '>=1.4.4 && <1.5'
all-versions:
- 0.1.0.0
- 0.1.1.0
author: Obsidian Systems LLC
latest: 0.1.1.0
description-type: haddock
description: Data.Dependent.Map variant that appends conflicting entries when merging
maps instead of discarding one side of the conflict.
license-name: BSD-3-Clause
| homepage: ''
changelog-type: markdown
hash: 0e9a6bc4a7b060e47d65c7d04669abce9275ace1fe6877921294757454ea3948
test-bench-deps: {}
maintainer: maintainer@obsidian.systems
synopsis: Dependent map that uses semigroup mappend
changelog: |
# Revision history for dependent-monoidal-map
basic-deps:
dependent-sum: ! '>=0.6.2 && <0.7'
constraints-extras: ! '>=0.3.0 && <0.4'
base: ! '>=4.9 && <4.13'
dependent-map: ! '>=0.3 && <0.4'
constraints: ! '>=0.10.1 && <0.11'
dependent-sum-aeson-orphans: ! '>=0.2.1 && <0.3'
aeson: ! '>=1.4 && <1.5'
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.1.1.1
author: Obsidian Systems LLC
latest: 0.1.1.1
description-type: haddock
description: Data.Dependent.Map variant that appends conflicting entries when merging
maps instead of discarding one side of the conflict.
license-name: BSD-3-Clause
|
Update from Hackage at 2019-05-02T18:35:57Z | homepage: http://moire.be/haskell/
changelog-type: ''
hash: 679c16468fb03c7251acc97898f6fcebe06bbb549d0d2a272742370873781309
test-bench-deps: {}
maintainer: bkomuves (plus) hackage (at) gmail (dot) com
synopsis: Layout and render text with TrueType fonts using OpenGL
changelog: ''
basic-deps:
OpenGL: ! '>=3'
base: ! '>=4 && <5'
filepath: -any
containers: ! '>=0.5'
stb-truetype: ! '>=0.1.4'
all-versions:
- 0.1.0.0
- 0.2.0.0
- 0.2.0.1
author: Balazs Komuves
latest: 0.2.0.1
description-type: haddock
description: |-
This is a library to render text with OpenGL.
TrueType (and OpenType) fonts are supported; glyph rendering
is via @stb_truetype@. The rendered glyphs are stored in
OpenGL textures (built up lazily).
A simple typesetting\/layouting engine is included.
license-name: BSD-3-Clause
| homepage: http://moire.be/haskell/
changelog-type: ''
hash: b65823651b4cbf5d59f35b05b52f611cf8f1e61f05c90c0aadddd8de95536e81
test-bench-deps: {}
maintainer: bkomuves (plus) hackage (at) gmail (dot) com
synopsis: Layout and render text with TrueType fonts using OpenGL
changelog: ''
basic-deps:
OpenGL: ! '>=3'
base: ! '>=4 && <5'
filepath: -any
containers: ! '>=0.5'
stb-truetype: ! '>=0.1.4'
all-versions:
- 0.1.0.0
- 0.2.0.0
- 0.2.0.1
- 0.3.0.0
author: Balazs Komuves
latest: 0.3.0.0
description-type: haddock
description: |-
This is a library to render text with OpenGL.
TrueType (and OpenType) fonts are supported; glyph rendering
is via @stb_truetype@. The rendered glyphs are stored in
OpenGL textures (built up lazily).
A simple typesetting\/layouting engine is included.
license-name: BSD-3-Clause
|
Configure CircleCI to run eclint | ---
version: 2
_job: &job
docker:
- image: debian:stretch
steps:
- checkout
- run:
name: Install system dependencies
command: apt update -y && apt install -y libfontconfig1 make perl-doc wget
- restore_cache:
key: v1-{{ checksum "packages.txt" }}
- run:
name: Install minimal TeXLive
command: ./bin/install-texlive
- run:
name: Install package dependencies
command: ./bin/install-packages packages.txt
- save_cache:
key: v1-{{ checksum "packages.txt" }}
paths:
- ~/.texlive
- /srv/texlive
- run:
name: Add TeXLive to PATH
command: echo 'export PATH="/srv/texlive/bin/x86_64-linux:${PATH}"' >>$BASH_ENV
- run:
name: Compile document
command: make
jobs:
pdflatex:
<<: *job
environment:
LATEX: pdflatex
lualatex:
<<: *job
environment:
LATEX: lualatex
xelatex:
<<: *job
environment:
LATEX: xelatex
workflows:
version: 2
build:
jobs:
- pdflatex
- lualatex
- xelatex
| ---
version: 2
_job: &job
docker:
- image: debian:stretch
steps:
- checkout
- run:
name: Install system dependencies
command: apt update -y && apt install -y libfontconfig1 make perl-doc wget
- restore_cache:
key: v1-{{ checksum "packages.txt" }}
- run:
name: Install minimal TeXLive
command: ./bin/install-texlive
- run:
name: Install package dependencies
command: ./bin/install-packages packages.txt
- save_cache:
key: v1-{{ checksum "packages.txt" }}
paths:
- ~/.texlive
- /srv/texlive
- run:
name: Add TeXLive to PATH
command: echo 'export PATH="/srv/texlive/bin/x86_64-linux:${PATH}"' >>$BASH_ENV
- run:
name: Compile document
command: make
jobs:
lint:
docker:
- image: circleci/node:latest
steps:
- checkout
- run:
name: Install dependencies
command: npm ci
- run: make lint
pdflatex:
<<: *job
environment:
LATEX: pdflatex
lualatex:
<<: *job
environment:
LATEX: lualatex
xelatex:
<<: *job
environment:
LATEX: xelatex
workflows:
version: 2
build:
jobs:
- lint
- pdflatex
- lualatex
- xelatex
|
Split install into it's own step. | version: 2
jobs:
test:
docker:
- image: circleci/node:4-browsers
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: npm config set "//registry.npmjs.org/:_authToken" $NPM_AUTH
- run: make test
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- node_modules
publish:
docker:
- image: circleci/node:4-browsers
steps:
- attach_workspace: { at: . }
- run: npm publish .
workflows:
version: 2
test_and_publish:
jobs:
- test
- publish:
requires:
- test
filters:
tags:
only: /[0-9]+(\.[0-9]+)*(-.+)?/
branches:
only: master
| version: 2
jobs:
test:
docker:
- image: circleci/node:4-browsers
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: npm config set "//registry.npmjs.org/:_authToken" $NPM_AUTH
- run: make install
- run: make test
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- node_modules
publish:
docker:
- image: circleci/node:4-browsers
steps:
- attach_workspace: { at: . }
- run: npm publish .
workflows:
version: 2
test_and_publish:
jobs:
- test
- publish:
requires:
- test
filters:
tags:
only: /[0-9]+(\.[0-9]+)*(-.+)?/
branches:
only: master
|
Add libcurl3 because the system one may require a differen OpenSSL version | # Might be necessary to bundle Python - to be investigated
app: KiCad
binpatch: true
ingredients:
packages:
- kicad
- kicad-library
dist: trusty
sources:
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
ppas:
- js-reynaud/kicad-4
script:
- # Workaround until
- # AppRun.c exports rather than just sets environment variables
- cat > ./AppRun <<\EOF
- #!/bin/sh
- HERE="$(dirname "$(readlink -f "${0}")")"
- export LD_LIBRARY_PATH="${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib/:"${HERE}"/lib/:$LD_LIBRARY_PATH
- cd "${HERE}/usr"
- exec "./bin/kicad" "$@"
- EOF
- chmod a+x ./AppRun
| # Might be necessary to bundle Python - to be investigated
app: KiCad
binpatch: true
ingredients:
packages:
- kicad
- kicad-library
- libcurl3
dist: trusty
sources:
- deb http://archive.ubuntu.com/ubuntu/ trusty main universe
ppas:
- js-reynaud/kicad-4
script:
- # Workaround until
- # AppRun.c exports rather than just sets environment variables
- cat > ./AppRun <<\EOF
- #!/bin/sh
- HERE="$(dirname "$(readlink -f "${0}")")"
- export LD_LIBRARY_PATH="${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib/:"${HERE}"/lib/:$LD_LIBRARY_PATH
- cd "${HERE}/usr"
- exec "./bin/kicad" "$@"
- EOF
- chmod a+x ./AppRun
|
Use dev server instead of gunicorn for local docker env | web:
build: .
env_file: docker-local.env
links:
- mongo
ports:
- "8000:8000"
mongo:
image: mongo:3.2
| web:
build: .
env_file: docker-local.env
links:
- mongo
ports:
- "8000:8000"
command: "python manage.py server"
mongo:
image: mongo:3.2
|
Use redis ran by champaign with an external link | processor:
build: .
volumes:
- .:/myapp
ports:
- "3000:3000"
external_links:
- champaign_db_1
environment:
PG_USERNAME: postgres
PG_HOST: champaign_db_1
env_file:
- env.yml
db:
image: postgres
ports:
- "5432"
environment:
POSTGRES_DB: champaign
| processor:
build: .
volumes:
- .:/myapp
ports:
- "3000"
external_links:
- champaign_db_1
- champaign_redis_1
environment:
PG_USERNAME: postgres
PG_HOST: champaign_db_1
env_file:
- env.yml
|
Add MVCC for nested-tx support. | #original_development:
# adapter: sqlite3
# database: db/development.sqlite3
# pool: 5
# timeout: 5000
development:
adapter: h2
database: mem:development
pool: 50
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
#test:
# adapter: sqlite3
# database: db/test.sqlite3
# pool: 5
# timeout: 5000
#production:
# adapter: sqlite3
# database: db/production.sqlite3
# pool: 5
# timeout: 5000
| #original_development:
# adapter: sqlite3
# database: db/development.sqlite3
# pool: 5
# timeout: 5000
development:
adapter: h2
database: mem:development;MVCC=TRUE
pool: 50
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
#test:
# adapter: sqlite3
# database: db/test.sqlite3
# pool: 5
# timeout: 5000
#production:
# adapter: sqlite3
# database: db/production.sqlite3
# pool: 5
# timeout: 5000
|
Refactor setup st2 WF in st2ci to include examples on launchdev | version: '2.0'
st2ci.setup_st2:
description: Setup a running instance of StackStorm from git repo.
type: direct
input:
- host
- repo
- repo_branch
- repo_dir
- debug
output:
clone_path: <% $.clone_path %>
task-defaults:
on-error:
- teardown: <% not $.debug %>
- fail: <% $.debug %>
tasks:
clone_repo:
action: st2cd.git_clone
input:
hosts: <% $.host %>
repo: <% $.repo %>
branch: <% $.repo_branch %>
target: <% $.repo_dir %>/st2_<% $.repo_branch %>
publish:
clone_path: <% $.clone_repo.get($.host).stdout %>
on-success:
- install
install:
action: st2ci.install_st2
input:
hosts: <% $.host %>
repo: <% $.clone_path %>
on-success:
- start_service
start_service:
action: core.remote
input:
hosts: <% $.host %>
cmd: <% $.clone_path %>/tools/launchdev.sh startclean
# Declare error handler(s) here
teardown:
action: st2ci.teardown_st2
input:
host: <% $.host %>
repo: <% $.clone_path %>
on-complete:
- fail
| version: '2.0'
st2ci.setup_st2:
description: Setup a running instance of StackStorm from git repo.
type: direct
input:
- host
- repo
- repo_branch
- repo_dir
- debug
output:
clone_path: <% $.clone_path %>
task-defaults:
on-error:
- teardown: <% not $.debug %>
- fail: <% $.debug %>
tasks:
clone_repo:
action: st2cd.git_clone
input:
hosts: <% $.host %>
repo: <% $.repo %>
branch: <% $.repo_branch %>
target: <% $.repo_dir %>/st2_<% $.repo_branch %>
publish:
clone_path: <% $.clone_repo.get($.host).stdout %>
on-success:
- install
install:
action: st2ci.install_st2
input:
hosts: <% $.host %>
repo: <% $.clone_path %>
on-success:
- start_service
start_service:
action: core.remote
input:
hosts: <% $.host %>
cmd: <% $.clone_path %>/tools/launchdev.sh startclean -x
# Declare error handler(s) here
teardown:
action: st2ci.teardown_st2
input:
host: <% $.host %>
repo: <% $.clone_path %>
on-complete:
- fail
|
Add Docker privileged mode for CircleCI | ---
driver:
name: docker
driver_config:
require_chef_omnibus: true
provisioner:
name: chef_zero
platforms:
- name: ubuntu-14.04
- name: debian-7.8
- name: centos-7.0
suites:
- name: package
run_list:
- recipe[mono4]
attributes:
mono4:
install_method: package
- name: source
run_list:
- recipe[mono4]
attributes:
mono4:
install_method: source
| ---
driver:
name: docker
driver_config:
require_chef_omnibus: true
privileged: true
provisioner:
name: chef_zero
platforms:
- name: ubuntu-14.04
- name: debian-7.8
- name: centos-7.0
suites:
- name: package
run_list:
- recipe[mono4]
attributes:
mono4:
install_method: package
- name: source
run_list:
- recipe[mono4]
attributes:
mono4:
install_method: source
|
Add GraphViz for PlantUML usage in AsciiDoc | os: linux
language: java
install: true
script:
- sudo apt-get update && sudo apt-get install oracle-java8-installer
- java -version
- ./gradlew jenkinsBuild
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:
- oraclejdk8
| os: linux
language: java
install: true
script:
- sudo apt-get update && sudo apt-get install oracle-java8-installer graphviz
- java -version
- ./gradlew jenkinsBuild
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:
- oraclejdk8
|
Drop testing under Python 2.6 for Travis CI (no longer supported). | # Configuration file to run tests on Travis-CI via GitHub notifications
# See http://travis-ci.org/
language: python
python:
- "2.6"
- "2.7"
install:
- "pip install ."
script:
# Run the Python unit tests
- "python setup.py test"
# Run the example scripts
- "cd examples/"
- ./run_examples.sh
| # Configuration file to run tests on Travis-CI via GitHub notifications
# See http://travis-ci.org/
language: python
python:
- "2.7"
install:
- "pip install ."
script:
# Run the Python unit tests
- "python setup.py test"
# Run the example scripts
- "cd examples/"
- ./run_examples.sh
|
Revert "Try getting tests to run on CI" | language: ruby
rvm:
- 2.0.0
- 2.1.2
gemfile:
- gemfiles/rails_3.gemfile
- gemfiles/rails_4.gemfile
script: "bundle exec rake test"
| language: ruby
rvm:
- 2.0.0
- 2.1.2
gemfile:
- gemfiles/rails_3.gemfile
- gemfiles/rails_4.gemfile
|
Remove failing "stable" nodejs compile * Can't compile sqlite | language: node_js
node_js:
- "stable"
- "14"
- "12"
- "10"
os: linux
dist: xenial
env:
- CXX=g++-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9 | language: node_js
node_js:
- "14"
- "12"
- "10"
os: linux
dist: xenial
env:
- CXX=g++-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9 |
Add ruby 2.1.0 as well | language: ruby
rvm:
- 1.9.3
- 2.0.0
env:
- DB=sqlite
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rake db:test:prepare
- bundle exec rspec spec/
before_script:
bundler_args: --binstubs=./bundler_stubs
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
env:
- DB=sqlite
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rake db:test:prepare
- bundle exec rspec spec/
before_script:
bundler_args: --binstubs=./bundler_stubs
|
Add Google Play Services to ci | language: android
android:
components:
- platform-tools
- build-tools-23.0.2
- android-23
- extra-android-m2repository
before_script:
- chmod +x gradlew
script:
./gradlew build | language: android
android:
components:
- platform-tools
- build-tools-23.0.2
- android-23
- extra-android-m2repository
- extra-google-m2repository
before_script:
- chmod +x gradlew
script:
./gradlew build |
Set python 3.3.5 in Travis. | language: python
python:
- "3.3"
install:
- pip install flake8
- pip install pep257
script:
- flake8 . --max-line-length=80 --ignore=F403
- pep257 . --ignore=D202
notifications:
email: false
| language: python
python:
- "3.3.5"
install:
- pip install flake8
- pip install pep257
script:
- flake8 . --max-line-length=80 --ignore=F403
- pep257 . --ignore=D202
notifications:
email: false
|
Include errbot in virtual environment for testing. | # Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
- image: circleci/python:3.6.1
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
pip install -r test_requirements.txt
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}
# run tests!
# this example uses Django's built-in test-runner
# other common Python testing frameworks include pytest and nose
# https://pytest.org
# https://nose.readthedocs.io
- run:
name: run tests
command: |
. venv/bin/activate
#python manage.py test
pytest test_err-stackstorm.py
- store_artifacts:
path: test-reports
destination: test-reports
| # Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
- image: circleci/python:3.6.1
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install errbot
errbot --init
pip install -r requirements.txt
pip install -r test_requirements.txt
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}
# run tests!
- run:
name: run tests
command: |
. venv/bin/activate
pytest test_err-stackstorm.py
- store_artifacts:
path: test-reports
destination: test-reports
|
Install ARCH on Travis through conda | language: python
python:
- 2.7
- 3.4
notifications:
email:
on_success: change
on_failure: always
# whitelist
branches:
only:
- master
sudo: false
# Setup anaconda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- export PATH=/home/travis/miniconda2/bin:$PATH
- conda update --yes conda
# Install packages
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib nose seaborn
- pip install git+https://github.com/bashtage/arch.git
- python setup.py build
# Run test
script:
- nosetests
# Calculate coverage
after_success:
- coveralls --config_file .coveragerc | language: python
python:
- 2.7
- 3.4
notifications:
email:
on_success: change
on_failure: always
# whitelist
branches:
only:
- master
sudo: false
# Setup anaconda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- export PATH=/home/travis/miniconda2/bin:$PATH
- conda update --yes conda
# Install packages
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib nose seaborn
- conda install -c https://conda.binstar.org/bashtage arch
# - pip install git+https://github.com/bashtage/arch.git
# - python setup.py build
# Run test
script:
- nosetests
# Calculate coverage
after_success:
- coveralls --config_file .coveragerc |
Test on recent Ruby releases | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
matrix:
allow_failures:
- rvm: 1.9.2
- rvm: rbx-19mode
- rvm: ruby-head
| language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx-19mode
- ruby-head
matrix:
allow_failures:
- rvm: 1.9.2
- rvm: rbx-19mode
- rvm: ruby-head
|
Test to fix Travis with development dependencies | bundler_args: "--without development"
script: "bundle exec rake spec"
rvm:
- 1.8.7-p334
- 1.9.2
- 1.9.3
- ruby-head
- ree
- jruby
gemfile:
- gemfiles/actionpack-3.0.x.gemfile
- gemfiles/actionpack-3.1.x.gemfile
| # bundler_args: "--without development"
script: "bundle exec rake spec"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- ruby-head
- ree
- jruby
gemfile:
- gemfiles/actionpack-3.0.x.gemfile
- gemfiles/actionpack-3.1.x.gemfile
|
Build docs on PHP 5.6 only | language: php
matrix:
fast_finish: true
include:
- php: 5.3.3
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
env: CHECK_LINKS=true
- php: 7
- php: hhvm
allow_failures:
- php: 7
before_install:
- composer selfupdate
install:
- if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi
- travis_retry composer install --no-interaction --prefer-source
script:
- if [[ "$CHECK_LINKS" == "true" ]]; then cd docs && make linkcheck && cd ..; fi
- vendor/bin/phpdoc -d src -t docs-api
- vendor/bin/phpunit --coverage-text
| language: php
matrix:
fast_finish: true
include:
- php: 5.3.3
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
env: CHECK_LINKS=true BUILD_DOCS=true
- php: 7
- php: hhvm
allow_failures:
- php: 7
before_install:
- composer selfupdate
install:
- if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi
- travis_retry composer install --no-interaction --prefer-source
script:
- if [[ "$CHECK_LINKS" == "true" ]]; then cd docs && make linkcheck && cd ..; fi
- if [[ "$BUILD_DOCS" == "true" ]]; then vendor/bin/phpdoc -d src -t docs-api; fi
- vendor/bin/phpunit --coverage-text
|
Update Travis CI build (script) | language: cpp
compiler:
- gcc
- clang
addons:
apt:
packages:
- cmake
- libboost-dev
- libboost-filesystem-dev
- libboost-program-options-dev
- libboost-regex-dev
- libcrypto++-dev
- libboost-date-time-dev
script: cd i2pd/build && cmake ../ && make
notifications:
email:
- anonimal@i2pmail.org
| language: cpp
compiler:
- gcc
- clang
addons:
apt:
packages:
- cmake
- libboost-dev
- libboost-filesystem-dev
- libboost-program-options-dev
- libboost-regex-dev
- libcrypto++-dev
- libboost-date-time-dev
script: cd anonimal/i2pd/build && cmake ../ && make
notifications:
email:
- anonimal@i2pmail.org
|
Add scala 2.11.7 to Travis | language: scala
scala:
- 2.10.4
env:
- SBT_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256M -XX:MaxPermSize=512M"
| language: scala
scala:
- 2.10.4
- 2.11.7
env:
- SBT_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256M -XX:MaxPermSize=512M"
|
Add support for Java 12 | language: java
matrix:
include:
- jdk: oraclejdk8
- jdk: openjdk8
- jdk: oraclejdk9
- jdk: openjdk9
- jdk: oraclejdk10
- jdk: openjdk10
- jdk: oraclejdk11
- jdk: openjdk11
- jdk: oraclejdk12
- jdk: openjdk12
allow_failures:
- jdk: oraclejdk9
- jdk: oraclejdk10
script: mvn clean install
after_success:
- ./after-success.sh
| language: java
matrix:
include:
- jdk: oraclejdk8
- jdk: openjdk8
- jdk: oraclejdk9
- jdk: openjdk9
- jdk: oraclejdk10
- jdk: openjdk10
- jdk: oraclejdk11
- jdk: openjdk11
- jdk: oraclejdk12
- jdk: openjdk12
allow_failures:
- jdk: oraclejdk9
- jdk: oraclejdk10
- jdk: oraclejdk12
script: mvn clean install
after_success:
- ./after-success.sh
|
Use openjdk11 for Travis CI | language: java
jdk:
- oraclejdk8
after_success:
- mvn clean verify coveralls:report
| language: java
jdk:
- openjdk11
after_success:
- mvn clean verify coveralls:report
|
Change the current directory after rebuilding node-sass | language: go
go:
- master
before_install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- cd static && npm rebuild node-sass --force
script:
- make
| language: go
go:
- master
before_install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- cd static && npm rebuild node-sass --force && cd ..
script:
- make
|
Fix Ubuntu zulu OpenJDK installation | ---
- name: Add Zulu.org JDK repository key
apt_key: keyserver=keyserver.ubuntu.com key=0x219BD9C9
when: corda_java == "openjdk"
- name: Add Zulu.org JDK repository
apt_repository:
repo: http://repos.azulsystems.com/ubuntu stable main
state: present
when: corda_java == "openjdk"
- name: Update APT cache
apt: update_cache=yes
- name: Install os packages
apt: pkg="{{ item }}" state=present
with_items:
- ntp
- name: Install OpenJDK (Zulu build)
apt: pkg="{{ item }}" state=present
when: corda_java == "openjdk"
with_items:
- zulu-8
- name: Install LXML (required for Maven Central download)
apt: pkg=python-lxml state=present
when: corda_source == "maven"
| ---
- name: Add Zulu.org JDK repository key
apt_key: keyserver=keyserver.ubuntu.com id=0x219BD9C9
when: corda_java == "openjdk"
- name: Add Zulu.org JDK repository
apt_repository:
repo: deb http://repos.azulsystems.com/ubuntu stable main
state: present
when: corda_java == "openjdk"
- name: Update APT cache
apt: update_cache=yes
- name: Install os packages
apt: pkg="{{ item }}" state=present
with_items:
- ntp
- name: Install OpenJDK (Zulu build)
apt: pkg="{{ item }}" state=present
when: corda_java == "openjdk"
with_items:
- zulu-8
- name: Install LXML (required for Maven Central download)
apt: pkg=python-lxml state=present
when: corda_source == "maven"
|
Install curl for rvm (again) | sudo: required
dist: trusty
language: node_js
node_js:
- "6"
python:
- "3.4"
before_install:
- hash -r
- rvm install 2.4.1
- sudo apt-get -y install python3-pip python-dev
cache:
directories:
- node_modules
install:
- bundle install
- npm install
- pip3 install -r demo/requirements.txt
before_script:
- npm run build
- make & # Run the python demo server in the background
| sudo: required
dist: trusty
language: node_js
node_js:
- "6"
python:
- "3.4"
before_install:
- sudo apt-get install curl -y
- rvm install 2.4.1
- sudo apt-get -y install python3-pip python-dev
cache:
directories:
- node_modules
install:
- bundle install
- npm install
- pip3 install -r demo/requirements.txt
before_script:
- npm run build
- make & # Run the python demo server in the background
|
Add cache and install Yarn | language: php
php: 7.1
sudo: false
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
- yarn install
- yarn production
script:
- vendor/bin/phpspec run --verbose
- vendor/bin/parallel-lint --exclude vendor .
- vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/test-reporter
addons:
code_climate:
repo_token: $CODE_CLIMATE_TOKEN
| language: php
php: 7.1
sudo: false
cache:
yarn: true
directories:
- node_modules
- vendor
before_install:
# Repo for newer Node.js versions
- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
# Repo for Yarn
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
- yarn install
- yarn production
script:
- vendor/bin/phpspec run --verbose
- vendor/bin/parallel-lint --exclude vendor .
- vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
after_script:
- vendor/bin/test-reporter
addons:
code_climate:
repo_token: $CODE_CLIMATE_TOKEN
|
Add Ruby 2.1.3 to Travis support | # Not using to test compilation of go component of project because it requires
# xcodebuild which is not available in the ubuntu environment travis-ci
# provides.
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
gemfile: rubygem/Gemfile
script: make rubygem/lib/zeus/version.rb && cd rubygem && bundle exec rspec spec
| # Not using to test compilation of go component of project because it requires
# xcodebuild which is not available in the ubuntu environment travis-ci
# provides.
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.1.3
gemfile: rubygem/Gemfile
script: make rubygem/lib/zeus/version.rb && cd rubygem && bundle exec rspec spec
|
Test on `io.js` `v1.7` and `v1.8` | language: node_js
node_js:
- "iojs-v1.6"
- "iojs-v1.5"
- "iojs-v1.4"
- "iojs-v1.3"
- "iojs-v1.2"
- "iojs-v1.1"
- "iojs-v1.0"
- "0.12"
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
matrix:
fast_finish: true
allow_failures:
- node_js: "iojs-v1.4"
- node_js: "iojs-v1.3"
- node_js: "iojs-v1.2"
- node_js: "iojs-v1.1"
- node_js: "iojs-v1.0"
- node_js: "0.11"
- node_js: "0.9"
- node_js: "0.8"
- node_js: "0.6"
- node_js: "0.4"
sudo: false
| language: node_js
node_js:
- "iojs-v1.8"
- "iojs-v1.7"
- "iojs-v1.6"
- "iojs-v1.5"
- "iojs-v1.4"
- "iojs-v1.3"
- "iojs-v1.2"
- "iojs-v1.1"
- "iojs-v1.0"
- "0.12"
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
matrix:
fast_finish: true
allow_failures:
- node_js: "iojs-v1.6"
- node_js: "iojs-v1.5"
- node_js: "iojs-v1.4"
- node_js: "iojs-v1.3"
- node_js: "iojs-v1.2"
- node_js: "iojs-v1.1"
- node_js: "iojs-v1.0"
- node_js: "0.11"
- node_js: "0.9"
- node_js: "0.8"
- node_js: "0.6"
- node_js: "0.4"
sudo: false
|
Use production's PostgreSQL version in CI | language: ruby
dist: bionic
cache: bundler
services:
- postgresql
- elasticsearch
addons:
postgresql: "10"
apt:
packages:
- postgresql-10
- postgresql-client-10
chrome: stable
bundler_args: '--without development'
env:
global:
- DATABASE_URL=postgres://postgres@localhost/timeoverflow_test
- CC_TEST_REPORTER_ID=025bc15a0fa9afa52d86ee24fea845cf1d363f48a466bcf2cef8ab80c29acb28
before_install:
- gem install bundler:1.17.3
before_script:
- bundle exec rake db:setup
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
# allow elasticsearch to be ready - https://docs.travis-ci.com/user/database-setup/#ElasticSearch
- sleep 10
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
| language: ruby
dist: bionic
cache: bundler
services:
- postgresql
- elasticsearch
addons:
postgresql: "9.4"
apt:
packages:
- postgresql-9.4
- postgresql-client-9.4
chrome: stable
bundler_args: '--without development'
env:
global:
- DATABASE_URL=postgres://postgres@localhost/timeoverflow_test
- CC_TEST_REPORTER_ID=025bc15a0fa9afa52d86ee24fea845cf1d363f48a466bcf2cef8ab80c29acb28
before_install:
- gem install bundler:1.17.3
before_script:
- bundle exec rake db:setup
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
# allow elasticsearch to be ready - https://docs.travis-ci.com/user/database-setup/#ElasticSearch
- sleep 10
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
Drop node 4 and 5 | language: node_js
node_js:
- '4'
- '5'
- '6'
- '7'
- '8'
- stable
sudo: false
services:
- mysql
before_install:
# use Travis CI default MySQL acount
- export DB_HOST=localhost
- export DB_USER=travis
- export DB_PWD=''
# package-lock.json was introduced in npm@5
- if [[ `node -v` != v9* ]]; then npm install -g npm@5; fi
- npm install -g greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
| language: node_js
node_js:
- '6'
- '7'
- '8'
- stable
sudo: false
services:
- mysql
before_install:
# use Travis CI default MySQL acount
- export DB_HOST=localhost
- export DB_USER=travis
- export DB_PWD=''
# package-lock.json was introduced in npm@5
- if [[ `node -v` != v9* ]]; then npm install -g npm@5; fi
- npm install -g greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
|
Stop testing on ancient node versions | language: node_js
node_js:
- 0.6
- 0.8
- 0.9
| language: node_js
node_js:
- 0.8
- "0.10"
- "0.11"
|
Use Travis CI container infrastructure | language: python
python:
- 2.7
- 3.3
- 3.4
- pypy
- pypy3
install:
- python setup.py install
- pip install coverage coveralls
script:
- coverage run --source=signxml ./test/test.py
# - coverage report --show-missing
after_success:
- coveralls
matrix:
allow_failures:
- python: pypy3
| language: python
python:
- 2.7
- 3.3
- 3.4
- pypy
- pypy3
install:
- python setup.py install
- pip install coverage coveralls
script:
- coverage run --source=signxml ./test/test.py
# - coverage report --show-missing
after_success:
- coveralls
matrix:
allow_failures:
- python: pypy3
sudo: false
|
Remove support for deprecated node versions | language: node_js
node_js:
- "12.14.0"
- "8.16.2"
- "6.14.4"
- "4.9.1"
| language: node_js
node_js:
- node # Current stable
- lts/* # Most recent LTS
- 10
- 8
|
Install dev dependencies as part of CI run. | language: python
python:
- 2.6
- 2.7
script:
- "python setup.py test"
- coverage run setup.py test
- coverage report -m
| language: python
python:
- 2.6
- 2.7
before_install:
- pip install -r requirements-dev.txt --use-mirrors
script:
- python setup.py test
- coverage run setup.py test
- coverage report -m
|
Enable Python3.2 environment on TravisCI | language: python
sudo: false
python:
- 3.4
env:
matrix:
- TOXENV="py26"
- TOXENV="py27"
- TOXENV="py33"
- TOXENV="py34"
- TOXENV="pypy"
- TOXENV="pypy3"
install: pip install tox
script: tox -e $TOXENV
| language: python
sudo: false
python:
- 3.4
env:
matrix:
- TOXENV="py26"
- TOXENV="py27"
- TOXENV="py32"
- TOXENV="py33"
- TOXENV="py34"
- TOXENV="pypy"
- TOXENV="pypy3"
install: pip install tox
script: tox -e $TOXENV
|
Remove iojs for now due to node-gyp problem. Drop 0.10, too old. | language: node_js
node_js:
- "0.12"
- "0.10"
- iojs
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| language: node_js
node_js:
- "0.12"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Increase timeout of jupyter notebook test | language: python
cache: pip
python:
- "2.7"
- "3.5.1"
# command to install dependencies
install:
- pip install --upgrade pip setuptools wheel
- pip install -r requirements.txt --only-binary=numpy,scipy
- pip install jupyter
- pip install atari_py
- pip install hacking
- git clone https://github.com/mgbellemare/Arcade-Learning-Environment.git
- cd Arcade-Learning-Environment
- cmake -DUSE_SDL=OFF -DUSE_RLGLUE=OFF -DBUILD_EXAMPLES=OFF
- make
- python setup.py install
- cd ..
- python setup.py develop
before_script:
- "export DISPLAY=:99.0"
- sh -e /etc/init.d/xvfb start
- sleep 3
# command to run tests
script:
- flake8 chainerrl
- flake8 tests
- flake8 examples
- nosetests -a '!gpu,!slow' -x tests
- ./test_examples.sh -1
- if [[ $TRAVIS_PYTHON_VERSION == 3.5.1 ]]; then jupyter nbconvert --to notebook --execute examples/quickstart/quickstart.ipynb --ExecutePreprocessor.timeout=300; fi
| language: python
cache: pip
python:
- "2.7"
- "3.5.1"
# command to install dependencies
install:
- pip install --upgrade pip setuptools wheel
- pip install -r requirements.txt --only-binary=numpy,scipy
- pip install jupyter
- pip install atari_py
- pip install hacking
- git clone https://github.com/mgbellemare/Arcade-Learning-Environment.git
- cd Arcade-Learning-Environment
- cmake -DUSE_SDL=OFF -DUSE_RLGLUE=OFF -DBUILD_EXAMPLES=OFF
- make
- python setup.py install
- cd ..
- python setup.py develop
before_script:
- "export DISPLAY=:99.0"
- sh -e /etc/init.d/xvfb start
- sleep 3
# command to run tests
script:
- flake8 chainerrl
- flake8 tests
- flake8 examples
- nosetests -a '!gpu,!slow' -x tests
- ./test_examples.sh -1
- if [[ $TRAVIS_PYTHON_VERSION == 3.5.1 ]]; then jupyter nbconvert --to notebook --execute examples/quickstart/quickstart.ipynb --ExecutePreprocessor.timeout=600; fi
|
Set core.autoCRLF -> true so Windows stops failing lint | # https://docs.microsoft.com/vsts/pipelines/languages/javascript
pool:
vmImage: "vs2017-win2016"
strategy:
maxParallel: 3
matrix:
node_10_x:
node_version: "10.x"
node_8_x:
node_version: "8.x"
node_6_x:
node_version: "6.x"
steps:
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
displayName: "Install Node.js"
- script: git config --global user.email test@example.com
- script: git config --global user.name "Tester McPerson"
- script: npm -g i npm@latest --loglevel warn
- script: npm -g i yarn@latest
- script: npm ci
- script: npm run ci
| # https://docs.microsoft.com/vsts/pipelines/languages/javascript
pool:
vmImage: "vs2017-win2016"
strategy:
maxParallel: 3
matrix:
node_10_x:
node_version: "10.x"
node_8_x:
node_version: "8.x"
node_6_x:
node_version: "6.x"
steps:
- task: NodeTool@0
inputs:
versionSpec: $(node_version)
displayName: "Install Node.js"
- script: |
git config --global core.autocrlf true
git config --global user.email test@example.com
git config --global user.name "Tester McPerson"
displayName: "Configure git"
- script: npm config set loglevel warn
- script: npm -g i npm@latest
- script: npm -g i yarn@latest
- script: npm ci
- script: npm run ci
|
Revert "Exclude v3.3 from config_dev." | exclude:
- release-scripts
- LICENSE
- Makefile
- README.md
- RELEASING.md
- BUILDING_CALICO.md
- CONTRIBUTING_DOCS.md
- CONTRIBUTING_CODE.md
- DOC_STYLE_GUIDE.md
- hack
- calico_node
- v1.5
- v1.6
- v2.0
- v2.1
- v2.2
- v2.3
- v2.4
- v2.5
- v2.6
- v3.0
- v3.1
- v3.2
- v3.3
| exclude:
- release-scripts
- LICENSE
- Makefile
- README.md
- RELEASING.md
- BUILDING_CALICO.md
- CONTRIBUTING_DOCS.md
- CONTRIBUTING_CODE.md
- DOC_STYLE_GUIDE.md
- hack
- calico_node
- v1.5
- v1.6
- v2.0
- v2.1
- v2.2
- v2.3
- v2.4
- v2.5
- v2.6
- v3.0
- v3.1 |
Use solarized light for syntax highlight | baseURL: https://gaston.life/
enableGitInfo: true
params:
toc: true
taxonomies:
category: categories
related:
threshold: 80
includeNewer: true
toLower: true
indices:
- name: categories
weight: 100
- name: date
pattern: 200601
width: 50
| baseURL: https://gaston.life/
enableGitInfo: true
params:
toc: true
taxonomies:
category: categories
markup:
highlight:
style: solarized-light
related:
threshold: 80
includeNewer: true
toLower: true
indices:
- name: categories
weight: 100
- name: date
pattern: 200601
width: 50
|
Update CIFS Documents Provider to 1.3.0 (6) | Categories:
- Connectivity
- System
License: MIT
AuthorName: Atsushi Wada
AuthorWebSite: https://www.wa2c.com/wp/
WebSite: https://github.com/wa2c/cifs-documents-provider/wiki
SourceCode: https://github.com/wa2c/cifs-documents-provider
IssueTracker: https://github.com/wa2c/cifs-documents-provider/issues
AutoName: CIFS Documents Provider
RepoType: git
Repo: https://github.com/wa2c/cifs-documents-provider
Builds:
- versionName: 1.2.1
versionCode: 5
commit: Ver.1.2.1a
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk
- update-alternatives --auto java
gradle:
- yes
AutoUpdateMode: Version Ver\.%v
UpdateCheckMode: Tags
CurrentVersion: 1.2.1
CurrentVersionCode: 5
| Categories:
- Connectivity
- System
License: MIT
AuthorName: Atsushi Wada
AuthorWebSite: https://www.wa2c.com/wp/
WebSite: https://github.com/wa2c/cifs-documents-provider/wiki
SourceCode: https://github.com/wa2c/cifs-documents-provider
IssueTracker: https://github.com/wa2c/cifs-documents-provider/issues
AutoName: CIFS Documents Provider
RepoType: git
Repo: https://github.com/wa2c/cifs-documents-provider
Builds:
- versionName: 1.2.1
versionCode: 5
commit: Ver.1.2.1a
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk
- update-alternatives --auto java
gradle:
- yes
- versionName: 1.3.0
versionCode: 6
commit: f3492110445505b7bf00d16930e110dcf52190da
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk
- update-alternatives --auto java
gradle:
- yes
AutoUpdateMode: Version Ver\.%v
UpdateCheckMode: Tags
CurrentVersion: 1.3.0
CurrentVersionCode: 6
|
Exclude tests from Codacy check. | ---
exclude_paths:
- "api-java/src/test/**/*.*"
- "client/src/test/**/*.*"
| ---
exclude_paths:
- "api-java/src/test/**/*.*"
- "client/src/test/**/*.*"
- "firebase-endpoint/src/test/**/*.*"
|
Move texto do enumeration de points kind para locale | pt-BR:
enumerations:
week_days:
monday: 'Segunda-feira'
tuesday: 'Terça-feira'
wednesday: 'Quarta-feira'
thursday: 'Quinta-feira'
friday: 'Sexta-feira'
saturday: 'Sábado'
sunday: 'Domingo'
worker_kind:
pf: 'Pessoa física'
pj: 'Pessoa jurídica'
| pt-BR:
enumerations:
week_days:
monday: 'Segunda-feira'
tuesday: 'Terça-feira'
wednesday: 'Quarta-feira'
thursday: 'Quinta-feira'
friday: 'Sexta-feira'
saturday: 'Sábado'
sunday: 'Domingo'
worker_kind:
pf: 'Pessoa física'
pj: 'Pessoa jurídica'
points_kind:
entry: "chegada"
start_interval: "saída para intervalo"
end_interval: "chegada do intervalo"
leave: "saída"
start_extra_time: "início das horas extras"
leave_extra_time: "saída das horas extras"
|
Update PyUp configuration for pip-tools | # PyUp config
# https://pyup.io/docs/bot/config/
# Check dependencies in _only_ requirements-app, and open PRs with PyUp prefix.
search: False
schedule: "every week on sunday"
requirements:
- requirements-app.txt:
update: all
pin: True
- requirements-dev.txt:
update: False
pin: True
- requirements.txt:
update: False
pr_prefix: "PyUp - "
| # PyUp config
# https://pyup.io/docs/bot/config/
# Check dependencies in _only_ requirements-app, and open PRs with PyUp prefix.
search: False
schedule: "every week on sunday"
requirements:
- requirements.in:
update: all
pin: True
- requirements-dev.in:
update: False
pin: True
- requirements.txt:
update: False
- requirements-dev.txt:
update: False
pr_prefix: "PyUp - "
|
Add brew-cask for brew upgrade | ---
# Here we describe every software we may want to install
- hosts: all
vars:
oh_my_zsh_theme: agnoster
roles:
- role: osxc.packages
brew_taps:
- caskroom/fonts
- motemen/ghq
- peco/peco
brew_packages:
- cask
- ghq
- git
- go
- hub
- peco
- tig
- wget
cask_packages:
- alfred
- atom
- darteditor
- dropbox
- fluid
- font-sauce-code-powerline
- heroku-toolbelt
- iterm2
- karabiner
- sizeup
- unity
- xquartz
- role: hnakamur.oh-my-zsh
- role: hnakamur.anyenv
anyenv_rbenv_version: "2.1.2"
anyenv_rbenv_global_gems:
- bundler
anyenv_ndenv_version: "v0.10"
anyenv_ndenv_global_packages:
- cordova
- gulp
- ionic
- ios-sim
- yo
| ---
# Here we describe every software we may want to install
- hosts: all
vars:
oh_my_zsh_theme: agnoster
roles:
- role: osxc.packages
brew_taps:
- caskroom/fonts
- motemen/ghq
- peco/peco
brew_packages:
- brew-cask
- ghq
- git
- go
- hub
- peco
- tig
- wget
cask_packages:
- alfred
- atom
- darteditor
- dropbox
- fluid
- font-sauce-code-powerline
- heroku-toolbelt
- iterm2
- karabiner
- sizeup
- unity
- xquartz
- role: hnakamur.oh-my-zsh
- role: hnakamur.anyenv
anyenv_rbenv_version: "2.1.2"
anyenv_rbenv_global_gems:
- bundler
anyenv_ndenv_version: "v0.10"
anyenv_ndenv_global_packages:
- cordova
- gulp
- ionic
- ios-sim
- yo
|
Extend CI no output timeout | version: 2
jobs:
test:
docker:
- image: circleci/golang:1.12
environment:
GO111MODULE: 'on'
GOPROXY: https://proxy.golang.org
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run: go test -race -v ./...
workflows:
version: 2
test:
jobs:
- test
| version: 2
jobs:
test:
docker:
- image: circleci/golang:1.12
environment:
GO111MODULE: 'on'
GOPROXY: https://proxy.golang.org
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run:
command: go test -race -v ./...
no_output_timeout: 20m
workflows:
version: 2
test:
jobs:
- test
|
Revert "Revert "Temporarily nerf nbgitpuller to debug"" | jupyterhub:
auth:
type: google
admin:
users:
# infrastructure
- rylo
- yuvipanda
- felder
# List of other admin users
# Professor
- mahoneymw
# GSIs
- krinsman
- theisen
# UGSI
- wqixuan
singleuser:
memory:
guarantee: 512M
limit: 1G
image:
name: gcr.io/ucb-datahub-2018/stat89a-user-image
storage:
type: hostPath
defaultUrl: "/lab"
lifecycleHooks:
postStart:
exec:
command: ["gitpuller", "https://gitlab.com/stat-89a/spring-2020/spring_2020.git", "master", "STAT\ 89A\ 2020"]
| jupyterhub:
auth:
type: google
admin:
users:
# infrastructure
- rylo
- yuvipanda
- felder
# List of other admin users
# Professor
- mahoneymw
# GSIs
- krinsman
- theisen
# UGSI
- wqixuan
singleuser:
memory:
guarantee: 512M
limit: 1G
image:
name: gcr.io/ucb-datahub-2018/stat89a-user-image
storage:
type: hostPath
defaultUrl: "/lab"
# lifecycleHooks:
# postStart:
# exec:
# command: ["gitpuller", "https://gitlab.com/stat-89a/spring-2020/spring_2020.git", "master", "STAT\ 89A\ 2020"]
|
Use lua-testing-extra image instead of lua-testing to run CI tests | tests:
stage: test
image: registry.gitlab.com/craigbarnes/dockerfiles/lua-testing
script:
- make -j`nproc` local-libgumbo
- make build-all USE_LOCAL_LIBGUMBO=1 DEBUG=1
- make check-all USE_LOCAL_LIBGUMBO=1
# - make clean check-luarocks-make LUAROCKS=luarocks-5.3
# - make check-luarocks-build LUAROCKS=luarocks-5.3
- make coverage.txt USE_LOCAL_LIBGUMBO=1
- sed -n '/^File *Hits .*Coverage$/,/^Total.*%$/p' coverage.txt
- luacov-coveralls-5.3 -t "$COVERALLS_TOKEN"
pages-test:
stage: test
image: quay.io/craigbarnes/pandoc
except: [master]
script:
- git fetch --tags
- make -j`nproc` docs dist
- make check-dist
pages:
stage: deploy
image: quay.io/craigbarnes/pandoc
artifacts: {paths: [public]}
only: [master]
script:
- git fetch --tags
- make -j`nproc` docs dist
- make check-dist
| tests:
stage: test
image: registry.gitlab.com/craigbarnes/dockerfiles/lua-testing-extra
script:
- make -j`nproc` local-libgumbo
- make build-all USE_LOCAL_LIBGUMBO=1 DEBUG=1
- make check-all USE_LOCAL_LIBGUMBO=1
# - make clean check-luarocks-make LUAROCKS=luarocks-5.3
# - make check-luarocks-build LUAROCKS=luarocks-5.3
- make coverage.txt USE_LOCAL_LIBGUMBO=1
- sed -n '/^File *Hits .*Coverage$/,/^Total.*%$/p' coverage.txt
- luacov-coveralls-5.3 -t "$COVERALLS_TOKEN"
pages-test:
stage: test
image: quay.io/craigbarnes/pandoc
except: [master]
script:
- git fetch --tags
- make -j`nproc` docs dist
- make check-dist
pages:
stage: deploy
image: quay.io/craigbarnes/pandoc
artifacts: {paths: [public]}
only: [master]
script:
- git fetch --tags
- make -j`nproc` docs dist
- make check-dist
|
Build in parallel and RPM validation | stages:
- build
- publish
.build:
stage: build
allow_failure: true
image: "coderus/sailfishos-platform-sdk:${SFOS_VERSION}"
artifacts:
paths:
- "output/*"
script:
- sudo mkdir output
- mkdir ~/build
- cp -r * ~/build
- pushd ~/build
- mb2 -t SailfishOS-$SFOS_VERSION-armv7hl build
- popd
- sudo cp -v ~/build/RPMS/* output
- rm -rf ~/build/*
- cp -r * ~/build
- pushd ~/build
- mb2 -t SailfishOS-$SFOS_VERSION-i486 build
- popd
- sudo cp -v ~/build/RPMS/* output
- rm -rf ~/build/*
- cp -r * ~/build
- pushd ~/build
- mb2 -t SailfishOS-$SFOS_VERSION-aarch64 build
- popd
- sudo cp -v ~/build/RPMS/* output
- ls -la output
only:
- merge_requests
- tags
tags:
- docker
build:
extends: .build
variables:
SFOS_VERSION: "3.4.0.24"
publish:
image: inetprocess/gitlab-release
stage: publish
only:
- tags
dependencies:
- build
script:
- gitlab-release --message 'Release $CI_COMMIT_TAG' output/*
| stages:
- build
- test
- publish
.build:
stage: build
variables:
ARCH: armv7hl
SFOS_VERSION: "3.4.0.24"
image: coderus/sailfishos-platform-sdk:${SFOS_VERSION}
artifacts:
paths:
- "output/*"
script:
- mkdir output
- mkdir ~/build
- cp -r * ~/build
- pushd ~/build
- mb2 -t SailfishOS-$SFOS_VERSION-$ARCH build
- popd
- cp -v ~/build/RPMS/* output
only:
- merge_requests
- tags
build_armv7hl:
extends: .build
build_i486:
extends: .build
variables:
ARCH: i486
build_aarch64:
extends: .build
variables:
ARCH: aarch64
test:validate-rpms:
stage: test
image: registry.gitlab.com/whisperfish/sailo-rs/rpm-validator:latest
allow_failure: true
needs:
- build_armv7hl
- build_i486
- build_aarch64
script:
- rpmvalidation.sh output/*.rpm
only:
- merge_requests
- tags
publish:
image: inetprocess/gitlab-release
stage: publish
needs:
- build_armv7hl
- build_i486
- build_aarch64
only:
- tags
script:
- gitlab-release --message 'Release $CI_COMMIT_TAG' output/*
|
Install latest mongodb (3.2) on Debian | ---
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
- name: Add MongoDB apt key
apt_key: id=7F0CEB10
url=http://docs.mongodb.org/10gen-gpg-key.asc
tags:
- install
- mongodb
- deps
- name: Add MongoDB repository (Ubuntu)
apt_repository: repo='deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen'
state=present
update_cache=yes
when: ansible_lsb.id == "Ubuntu"
tags:
- install
- mongodb
- deps
- name: Add MongoDB repository (Debian)
apt_repository: repo='deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen'
state=present
update_cache=yes
when: ansible_lsb.id == "Debian"
tags:
- install
- mongodb
- deps
- name: Install MongoDB
apt: pkg=mongodb-org
state=latest
tags:
- install
- mongodb
- deps
- name: Make sure MongoDB is running
service: name=mongod
state=started
tags:
- install
- mongodb
- deps
| ---
- name: Add MongoDB apt key (Ubuntu)
apt_key: id=7F0CEB10
keyserver=hkp://keyserver.ubuntu.com
when: ansible_lsb.id == "Ubuntu"
tags:
- install
- mongodb
- deps
- name: Add MongoDB apt key (Debian)
apt_key: id=EA312927
keyserver=hkp://keyserver.ubuntu.com
when: ansible_lsb.id == "Debian"
tags:
- install
- mongodb
- deps
- name: Add MongoDB repository (Ubuntu)
apt_repository: repo='deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen'
state=present
update_cache=yes
when: ansible_lsb.id == "Ubuntu"
tags:
- install
- mongodb
- deps
- name: Add MongoDB repository (Debian)
apt_repository: repo='deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 main'
state=present
update_cache=yes
when: ansible_lsb.id == "Debian"
tags:
- install
- mongodb
- deps
- name: Install MongoDB
apt: pkg={{ item }}
state=latest
with_items:
- mongodb-org
- libsnappy1
tags:
- install
- mongodb
- deps
- name: Make sure MongoDB is running
service: name=mongod
state=started
tags:
- install
- mongodb
- deps
|
Update RTD to use python3.8 instead of python3.7. | # Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: false
python:
version: 3.7
install:
- requirements: requirements_docs.txt
- requirements: requirements.txt
- method: setuptools
path: .
| # Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: false
python:
version: 3.8
install:
- requirements: requirements_docs.txt
- requirements: requirements.txt
- method: setuptools
path: .
|
Change to port 5000 and remove volume mount | version: '2'
services:
unfurl:
container_name: unfurl
build:
context: ./
dockerfile: Dockerfile
# Match the port defined in unfurl.ini
ports:
- "3000:3000"
volumes:
- ./unfurl.ini:/unfurl/unfurl.ini:ro
restart: unless-stopped
| version: '2'
services:
unfurl:
container_name: unfurl
build:
context: ./
dockerfile: Dockerfile
# Match the port defined in unfurl.ini
ports:
- "5000:5000"
restart: unless-stopped
|
Add a weekly scheduled run to the Azure pipelines | # https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops#passing-parameters
trigger:
- main
variables:
MKL_NUM_THREADS: 1
NUMEXPR_NUM_THREADS: 1
OMP_NUM_THREADS: 1
VML_NUM_THREADS: 1
OPENBLAS_NUM_THREADS: 1
PYTHONHASHSEED: 0 # Ensure tests are correctly gathered by xdist
SETUPTOOLS_USE_DISTUTILS: "stdlib"
USE_MATPLOTLIB: true
jobs:
- template: tools/ci/azure/azure_template_windows.yml
parameters:
name: Windows
vmImage: windows-latest
- template: tools/ci/azure/azure_template_posix.yml
parameters:
name: macOS
vmImage: macOS-latest
- template: tools/ci/azure/azure_template_posix.yml
parameters:
name: Linux
vmImage: ubuntu-latest
| # https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops#passing-parameters
trigger:
- main
schedules:
- cron: "0 6 * * 1" # Each Monday at 06:00 UTC
displayName: Weekly scheduled run
branches:
include: [main, maintenance/0.13.x]
always: true
variables:
MKL_NUM_THREADS: 1
NUMEXPR_NUM_THREADS: 1
OMP_NUM_THREADS: 1
VML_NUM_THREADS: 1
OPENBLAS_NUM_THREADS: 1
PYTHONHASHSEED: 0 # Ensure tests are correctly gathered by xdist
SETUPTOOLS_USE_DISTUTILS: "stdlib"
USE_MATPLOTLIB: true
jobs:
- template: tools/ci/azure/azure_template_windows.yml
parameters:
name: Windows
vmImage: windows-latest
- template: tools/ci/azure/azure_template_posix.yml
parameters:
name: macOS
vmImage: macOS-latest
- template: tools/ci/azure/azure_template_posix.yml
parameters:
name: Linux
vmImage: ubuntu-latest
|
Update to reflect actual license now as MIT. | {% set version = "23.0.0" %}
package:
name: setuptools
version: {{ version }}
source:
fn: setuptools-{{ version }}.tar.gz
url: https://pypi.io/packages/source/s/setuptools/setuptools-{{ version }}.tar.gz
md5: 100a90664040f8ff232fbac02a4c5652
patches:
# modify setuptools to barf if used in conda build (encourage people to add all deps in meta.yaml)
- nodownload.patch
# Don't install certifi or wincertstore
- setup.patch
build:
number: 0
entry_points:
- easy_install = setuptools.command.easy_install:main
requirements:
build:
- python
run:
- python
test:
commands:
- easy_install --help
imports:
- setuptools
- easy_install
- pkg_resources
about:
home: https://pypi.python.org/pypi/setuptools
license: PSF or ZPL
license_family: PSF
summary: Download, build, install, upgrade, and uninstall Python packages
description: |
Setuptools is a fully-featured, actively-maintained, and stable library
designed to facilitate packaging Python projects.
doc_url: http://pythonhosted.org/setuptools/
dev_url: https://github.com/pypa/setuptools
extra:
recipe-maintainers:
- jakirkham
- msarahan
| {% set version = "23.0.0" %}
package:
name: setuptools
version: {{ version }}
source:
fn: setuptools-{{ version }}.tar.gz
url: https://pypi.io/packages/source/s/setuptools/setuptools-{{ version }}.tar.gz
md5: 100a90664040f8ff232fbac02a4c5652
patches:
# modify setuptools to barf if used in conda build (encourage people to add all deps in meta.yaml)
- nodownload.patch
# Don't install certifi or wincertstore
- setup.patch
build:
number: 0
entry_points:
- easy_install = setuptools.command.easy_install:main
requirements:
build:
- python
run:
- python
test:
commands:
- easy_install --help
imports:
- setuptools
- easy_install
- pkg_resources
about:
home: https://pypi.python.org/pypi/setuptools
license: MIT
license_family: MIT
summary: Download, build, install, upgrade, and uninstall Python packages
description: |
Setuptools is a fully-featured, actively-maintained, and stable library
designed to facilitate packaging Python projects.
doc_url: http://pythonhosted.org/setuptools/
dev_url: https://github.com/pypa/setuptools
extra:
recipe-maintainers:
- jakirkham
- msarahan
|
Update image used in build pipeline | pool:
vmImage: vs2017-win2016
variables:
BuildConfiguration: Release
TestProjects: test/**/*.[Tt]ests.csproj
PackProjects: src/IronVelocity.csproj
steps:
- task: DotNetCoreCLI@2
displayName: Build
inputs:
command: build
arguments: --configuration $(BuildConfiguration)
- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: test
nobuild: true
projects: $(TestProjects)
arguments: --configuration $(BuildConfiguration)
- task: DotNetCoreCLI@2
displayName: Package
inputs:
command: pack
nobuild: true
packDirectory: $BUILD_ARTIFACTSTAGINGDIRECTORY
packagesToPack: $(PackProjects)
arguments: --configuration $(BuildConfiguration)
| pool:
vmImage: windows-latest
variables:
BuildConfiguration: Release
TestProjects: test/**/*.[Tt]ests.csproj
PackProjects: src/IronVelocity.csproj
steps:
- task: DotNetCoreCLI@2
displayName: Build
inputs:
command: build
arguments: --configuration $(BuildConfiguration)
- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: test
nobuild: true
projects: $(TestProjects)
arguments: --configuration $(BuildConfiguration)
- task: DotNetCoreCLI@2
displayName: Package
inputs:
command: pack
nobuild: true
packDirectory: $BUILD_ARTIFACTSTAGINGDIRECTORY
packagesToPack: $(PackProjects)
arguments: --configuration $(BuildConfiguration)
|
Use task caching for elm tests | ---
platform: linux
image_resource:
type: docker-image
source:
repository: concourse/atc-ci-elm
inputs:
- name: concourse
run:
path: concourse/ci/scripts/atc-elm
| ---
platform: linux
image_resource:
type: docker-image
source:
repository: concourse/atc-ci-elm
caches:
- path: concourse/src/github.com/concourse/atc/web/elm/elm-stuff
- path: concourse/src/github.com/concourse/atc/web/elm/tests/elm-stuff
inputs:
- name: concourse
run:
path: concourse/ci/scripts/atc-elm
|
Remove 4.9 pinning of gcc. | sudo: required
python: 3.6
language: C
matrix:
include:
- compiler: gcc
before_script:
- export CC=gcc-4.9
script:
- ./configure
- make parser
- make check
- python3 setup.py module
- python3 setup.py test
- compiler: gcc
before_script:
- export CC=gcc-4.9
script:
- ./configure --with-valgrind
- make parser
- make memcheck
- python3 setup.py module
- python3 setup.py test
- compiler: clang
before_script:
- export CC=clang
script:
- ./configure
- make parser
- make check
- python3 setup.py module
- python3 setup.py test
- language: objective-c
os: osx
compiler: clang
before_install:
- brew update
- brew install bison; brew link bison --force
- brew install python3
before_script:
- export CC=clang
script:
- ./configure
- make parser
- make check
- python3 setup.py module
- python3 setup.py test
- compiler: conda
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- bash Miniconda3-latest-Linux-x86_64.sh -b
- export PATH=$HOME/miniconda3/bin:$PATH
- conda install --yes conda-build
- conda update --yes -n base conda
script:
- conda build .conda/libndtypes
- conda build .conda/ndtypes
| sudo: required
python: 3.6
language: C
matrix:
include:
- compiler: gcc
script:
- ./configure
- make parser
- make check
- python3 setup.py module
- python3 setup.py test
- compiler: gcc
script:
- ./configure --with-valgrind
- make parser
- make memcheck
- python3 setup.py module
- python3 setup.py test
- compiler: clang
before_script:
- export CC=clang
script:
- ./configure
- make parser
- make check
- python3 setup.py module
- python3 setup.py test
- language: objective-c
os: osx
compiler: clang
before_install:
- brew update
- brew install bison; brew link bison --force
- brew install python3
before_script:
- export CC=clang
script:
- ./configure
- make parser
- make check
- python3 setup.py module
- python3 setup.py test
- compiler: conda
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- bash Miniconda3-latest-Linux-x86_64.sh -b
- export PATH=$HOME/miniconda3/bin:$PATH
- conda install --yes conda-build
- conda update --yes -n base conda
script:
- conda build .conda/libndtypes
- conda build .conda/ndtypes
|
Add Prompt for set Repo Base URL | # requires variables:
# - ambari_repo_base_url
# - ambari_version
- hosts: ambari-server ambari-agent
become: true
tasks:
- include_tasks: ../roles/ambari-common/tasks/install-repo-{{ ansible_os_family }}.yml
- hosts: ambari-server
become: true
tasks:
- include_tasks: ../roles/ambari-server/tasks/install-{{ ansible_os_family }}.yml
- import_tasks: ../roles/ambari-server/tasks/setup.yml
- import_tasks: ../roles/ambari-server/tasks/start.yml
- hosts: ambari-agent
become: true
tasks:
- include_tasks: ../roles/ambari-agent/tasks/install-{{ ansible_os_family }}.yml
- import_tasks: ../roles/ambari-agent/tasks/setup.yml
- import_tasks: ../roles/ambari-agent/tasks/start.yml
| # requires variables:
# - ambari_repo_base_url
# - ambari_version
- hosts: ambari-server ambari-agent
become: true
vars_prompt:
- name: "ambari_repo_base_url"
prompt: "Set ambari repo base url"
private: no
tasks:
- include_tasks: ../roles/ambari-common/tasks/install-repo-{{ ansible_os_family }}.yml
- hosts: ambari-server
become: true
tasks:
- include_tasks: ../roles/ambari-server/tasks/install-{{ ansible_os_family }}.yml
- import_tasks: ../roles/ambari-server/tasks/setup.yml
- import_tasks: ../roles/ambari-server/tasks/start.yml
- hosts: ambari-agent
become: true
tasks:
- include_tasks: ../roles/ambari-agent/tasks/install-{{ ansible_os_family }}.yml
- import_tasks: ../roles/ambari-agent/tasks/setup.yml
- import_tasks: ../roles/ambari-agent/tasks/start.yml
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.