Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Remove osx for now (Travis builds fail). | language: cpp
os:
- linux
- osx
sudo: false
notifications:
email:
on_success: change # [always|never|change] # default: change
on_failure: always # [always|never|change] # default: always
script:
- mkdir build
- pushd build
- cmake .. -DCMAKE_BUILD_TYPE=RELEASE || exit 1
- cmake --build . -- -j2 || exit 1
- popd
- cp build/lily .
- python ./pre-commit-hook.py --verbose || exit 1
| language: cpp
os:
- linux
sudo: false
notifications:
email:
on_success: change # [always|never|change] # default: change
on_failure: always # [always|never|change] # default: always
script:
- mkdir build
- pushd build
- cmake .. -DCMAKE_BUILD_TYPE=RELEASE || exit 1
- cmake --build . -- -j2 || exit 1
- popd
- cp build/lily .
- python ./pre-commit-hook.py --verbose || exit 1
|
Allow GHC 7.8 build to fail | # explicitly request container-based infrastructure
sudo: false
matrix:
include:
- env: GHCVER=7.8.4 STACK_YAML=stack-7.8.yaml
addons:
apt:
sources:
- hvr-ghc
packages:
- ghc-7.8.4
- env: GHCVER=7.10.2 STACK_YAML=stack.yaml
addons:
apt:
sources:
- hvr-ghc
packages:
- ghc-7.10.2
- env: GHCVER=head STACK_YAML=stack-head.yaml
addons:
apt:
sources:
- hvr-ghc
packages:
- ghc-head
allow_failures:
- env: GHCVER=head STACK_YAML=stack-head.yaml
cache:
directories:
- $HOME/.stack/
before_install:
# ghc
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
# stack
- mkdir -p ~/.local/bin
- export PATH=~/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
- stack --no-terminal --skip-ghc-check setup
- stack --no-terminal --skip-ghc-check test --only-snapshot
script:
- stack --no-terminal --skip-ghc-check test
| # explicitly request container-based infrastructure
sudo: false
matrix:
include:
- env: GHCVER=7.8.4 STACK_YAML=stack-7.8.yaml
addons:
apt:
sources:
- hvr-ghc
packages:
- ghc-7.8.4
- env: GHCVER=7.10.2 STACK_YAML=stack.yaml
addons:
apt:
sources:
- hvr-ghc
packages:
- ghc-7.10.2
- env: GHCVER=head STACK_YAML=stack-head.yaml
addons:
apt:
sources:
- hvr-ghc
packages:
- ghc-head
allow_failures:
- env: GHCVER=7.8.4 STACK_YAML=stack-7.8.yaml
- env: GHCVER=head STACK_YAML=stack-head.yaml
cache:
directories:
- $HOME/.stack/
before_install:
# ghc
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
# stack
- mkdir -p ~/.local/bin
- export PATH=~/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
- stack --no-terminal --skip-ghc-check setup
- stack --no-terminal --skip-ghc-check test --only-snapshot
script:
- stack --no-terminal --skip-ghc-check test
|
Fix coveralls SNIMissingWarning on Travis | language: node_js
# 4.3.2 is what AWS Lambda currently uses
node_js:
- "5"
- "4.3.2"
python:
- "2.7"
before_install:
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
- gem install coveralls-lcov
- pip install --user pytest pytest-cov coveralls flake8 virtualenv
- pip install --user -r requirements.txt
script:
- npm test
- npm run lint
- npm run pytest
- npm run pylint
# For code coverage:
after_success:
- coveralls-lcov -v -n coverage/lcov.info > coverage/coveralls.json
- coveralls --merge=coverage/coveralls.json
| language: node_js
# 4.3.2 is what AWS Lambda currently uses
node_js:
- "5"
- "4.3.2"
python:
- "2.7"
before_install:
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
- gem install coveralls-lcov
- pip install --user pytest pytest-cov coveralls flake8 virtualenv urllib3[secure]
- pip install --user -r requirements.txt
script:
- npm test
- npm run lint
- npm run pytest
- npm run pylint
# For code coverage:
after_success:
- coveralls-lcov -v -n coverage/lcov.info > coverage/coveralls.json
- coveralls --merge=coverage/coveralls.json
|
Update Travis node version to match package.json | language: node_js
node_js:
- "6.2.2"
branches:
only:
- master
| language: node_js
node_js:
- "6.11.1"
branches:
only:
- master
|
Add Node 6 to Travis | language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
| language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
- "6.0.0"
- "6"
|
Update Bundler because Travis won't. >:( | language: ruby
sudo: false
cache: bundler
rvm:
- 2.0.0
script: bundle exec rspec
before_install:
- gem update --system
services:
- redis-server
notifications:
email: false
webhooks:
urls:
- http://util.perceptes.com:8080/travis
| language: ruby
sudo: false
cache: bundler
rvm:
- 2.0.0
script: bundle exec rspec
before_install:
- gem update --system
- gem update bundler
services:
- redis-server
notifications:
email: false
webhooks:
urls:
- http://util.perceptes.com:8080/travis
|
Update Better schedule to 1.4 (7) | AntiFeatures:
- NonFreeNet
Categories:
- Internet
- Science & Education
License: GPL-3.0-or-later
AuthorName: Vít Skalický
AuthorEmail: vit.skalicky@email.cz
SourceCode: https://github.com/vitSkalicky/lepsi-rozvrh
IssueTracker: https://github.com/vitSkalicky/lepsi-rozvrh/issues
AutoName: Better schedule
RepoType: git
Repo: https://github.com/vitSkalicky/lepsi-rozvrh.git
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
gradle:
- yes
- versionName: '1.1'
versionCode: 2
commit: v1.1
subdir: app
gradle:
- yes
- versionName: 1.3.2
versionCode: 6
commit: v1.3.2
subdir: app
gradle:
- yes
scanignore:
- app/build.gradle
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
UpdateCheckIgnore: beta preview
CurrentVersion: 1.3.2
CurrentVersionCode: 6
| AntiFeatures:
- NonFreeNet
Categories:
- Internet
- Science & Education
License: GPL-3.0-or-later
AuthorName: Vít Skalický
AuthorEmail: vit.skalicky@email.cz
SourceCode: https://github.com/vitSkalicky/lepsi-rozvrh
IssueTracker: https://github.com/vitSkalicky/lepsi-rozvrh/issues
AutoName: Better schedule
RepoType: git
Repo: https://github.com/vitSkalicky/lepsi-rozvrh.git
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
gradle:
- yes
- versionName: '1.1'
versionCode: 2
commit: v1.1
subdir: app
gradle:
- yes
- versionName: 1.3.2
versionCode: 6
commit: v1.3.2
subdir: app
gradle:
- yes
scanignore:
- app/build.gradle
- versionName: '1.4'
versionCode: 7
commit: v1.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
UpdateCheckIgnore: beta preview
CurrentVersion: '1.4'
CurrentVersionCode: 7
|
Test gem under ruby 2.3.0 | language: ruby
sudo: false
rvm:
- "1.9.3"
- "2.1"
- "2.2"
| language: ruby
sudo: false
rvm:
- "1.9.3"
- "2.1"
- "2.2"
- "2.3.0"
|
Add Node 7 to testing environments | language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
- "6.0.0"
- "6"
| language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
- "6.0.0"
- "6"
- "7.0.0"
- "7"
|
Update uuid dependency for ubuntu | language: node_js
node_js:
- "0.10"
script:
- npm test
| language: node_js
node_js:
- "0.10"
before_install:
- sudo apt-get update
- sudo apt-get install uuid-dev
script:
- npm test
|
Upgrade PHP test environment to PHP 5.4. | language: php
install:
- pear install package.xml
php:
- 5.2
script: phpunit tests/
| language: php
php:
- '5.4'
install:
- pear install package.xml
script: phpunit tests/
|
Use Xcode 7.1 for tests | language: objective-c
osx_image: xcode7
install:
- gem install xcpretty
script:
- set -o pipefail && xcodebuild -project Bond.xcodeproj -scheme Bond -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.0' test | xcpretty
- set -o pipefail && xcodebuild -project Bond.xcodeproj -scheme BondOSX -sdk macosx test | xcpretty
- set -o pipefail && xcodebuild -project Bond.xcodeproj -scheme BondtvOS -sdk appletvos build | xcpretty
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: objective-c
osx_image: xcode7.1
install:
- gem install xcpretty
script:
- set -o pipefail && xcodebuild -project Bond.xcodeproj -scheme Bond -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.0' test | xcpretty
- set -o pipefail && xcodebuild -project Bond.xcodeproj -scheme BondOSX -sdk macosx test | xcpretty
- set -o pipefail && xcodebuild -project Bond.xcodeproj -scheme BondtvOS -sdk appletvos build | xcpretty
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Update Travis CI build matrix | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- 2.2.2
branches:
only:
- master
before_install:
- gem update --system
- gem update bundler
script: "bundle exec rake spec"
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.4
- 2.3.0
branches:
only:
- master
before_install:
- gem update --system
- gem update bundler
script: "bundle exec rake spec"
|
Update Chrome configuration for switch to Xenial | dist: xenial
addons:
chrome: stable
services:
- xvfb
language: python
python:
- '3.7'
before_install:
- wget https://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo mv chromedriver /usr/local/bin
- sudo chmod a+x /usr/local/bin/chromedriver
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run --source=flash setup.py test
after_success: coveralls
deploy:
- provider: cloudfoundry
edge: true
api: https://api.run.pez.pivotal.io
username: $CF_USERNAME
password: $CF_PASSWORD
organization: pivot-jsharpe
space: flash
manifest: manifest.yml
| dist: xenial
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
services:
- xvfb
language: python
python:
- '3.7'
before_install:
- wget https://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo mv chromedriver /usr/local/bin
- sudo chmod a+x /usr/local/bin/chromedriver
install:
- pip install -r requirements.txt
- pip install coveralls
script: coverage run --source=flash setup.py test
after_success: coveralls
deploy:
- provider: cloudfoundry
edge: true
api: https://api.run.pez.pivotal.io
username: $CF_USERNAME
password: $CF_PASSWORD
organization: pivot-jsharpe
space: flash
manifest: manifest.yml
|
Fix JAVA_HOME path for Travis CI | language: cpp
compiler:
- gcc
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -qq openjdk-7-jdk libzip-dev
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- export "JAVA_HOME=/usr/lib/jvm/java-7-openjdk/"
script:
- make check
| language: cpp
compiler:
- gcc
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -qq openjdk-7-jdk libzip-dev
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- export "JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/"
script:
- make check
|
Fix typo in Travis config | language: cpp
compiler:
- g++
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -yqq g++-4.8 gcc-4.8 valgrind
- export CXX="g++-4.8"
- export CC="g++-4.8"
script: mkdir build && cd build && cmake .. && make && ./test/test-driver &&
valgrind --error-exitcode=1 ./test/test-driver
| language: cpp
compiler:
- g++
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -yqq g++-4.8 gcc-4.8 valgrind
- export CXX="g++-4.8"
- export CC="gcc-4.8"
script: mkdir build && cd build && cmake .. && make && ./test/test-driver &&
valgrind --error-exitcode=1 ./test/test-driver
|
Add lms-preview to nginx for suclass | - hosts: ~tag_Name_{{machine}}_{{ env }}
pre_tasks:
- fail: msg="This playbook only runnable on 'app' machines"
when: "'app' not in machine"
sudo: True
vars:
secure_dir: '../../../edx-secret/ansible'
local_dir: '../../../edx-secret/ansible/local'
not_prod: false
vars_files:
- "{{ secure_dir }}/vars/common/edxapp.yml"
- "{{ secure_dir }}/vars/edxapp_{{ env }}_vars.yml"
- "{{ secure_dir }}/vars/edxapp_prod_users.yml"
- "{{ secure_dir }}/vars/shib_{{ env }}_vars.yml"
roles:
- common
- supervisor
- role: user
tags: users
- role: nginx
nginx_sites:
- lms
- cms
- verify
nginx_template_directory: "{{local_dir}}/nginx/templates/"
nginx_default_sites:
- lms
tags: nginx
- edxapp
- apache
- shibboleth
| - hosts: ~tag_Name_{{machine}}_{{ env }}
pre_tasks:
- fail: msg="This playbook only runnable on 'app' machines"
when: "'app' not in machine"
sudo: True
vars:
secure_dir: '../../../edx-secret/ansible'
local_dir: '../../../edx-secret/ansible/local'
not_prod: false
vars_files:
- "{{ secure_dir }}/vars/common/edxapp.yml"
- "{{ secure_dir }}/vars/edxapp_{{ env }}_vars.yml"
- "{{ secure_dir }}/vars/edxapp_prod_users.yml"
- "{{ secure_dir }}/vars/shib_{{ env }}_vars.yml"
roles:
- common
- supervisor
- role: user
tags: users
- role: nginx
nginx_sites:
- lms
- cms
- lms-preview
- verify
nginx_template_directory: "{{local_dir}}/nginx/templates/"
nginx_default_sites:
- lms
tags: nginx
- edxapp
- apache
- shibboleth
|
Add ddcctl to CI, bump Xcode version | name: Build
on: push
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
formula: [btag, mmkcmd, monkeys-audio, synconv]
os: [macos-10.15]
xcode: ['11.4.1']
head: [false]
include:
- formula: tinyemu
os: macos-10.15
xcode: '11.4.1'
head: true
steps:
- uses: actions/checkout@v2
- run: sudo xcode-select --switch /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
- run: brew install --verbose ./${{ matrix.formula }}.rb
if: ${{ !matrix.head }}
- run: brew install --verbose --HEAD ./${{ matrix.formula }}.rb
if: ${{ matrix.head }}
| name: Build
on: push
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
formula: [btag, mmkcmd, monkeys-audio, synconv]
os: [macos-10.15]
xcode: ['12.1']
head: [false]
include:
- formula: ddcctl
os: macos-10.15
xcode: '12.1'
head: true
- formula: tinyemu
os: macos-10.15
xcode: '12.1'
head: true
steps:
- uses: actions/checkout@v2
- run: sudo xcode-select --switch /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
- run: brew install --verbose ./${{ matrix.formula }}.rb
if: ${{ !matrix.head }}
- run: brew install --verbose --HEAD ./${{ matrix.formula }}.rb
if: ${{ matrix.head }}
|
Update to ruby 2.7.2 on Travsi CI | anguage: ruby
rvm:
- 2.6.5
services:
- postgresql
before_script:
- psql -c 'create database database_test;' -U postgres
| anguage: ruby
rvm:
- 2.7.2
services:
- postgresql
before_script:
- psql -c 'create database database_test;' -U postgres
|
Disable Node 0.6 on Travis CI. | language: "node_js"
node_js:
- "0.10"
- "0.8"
- "0.6"
- "0.4"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-cov-to-coveralls"
| language: "node_js"
node_js:
- "0.10"
- "0.8"
# - "0.6"
- "0.4"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-cov-to-coveralls"
|
Update rubies to be tested by TravisCI | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.2.2
- 2.3.0
before_install: gem install bundler -v 1.10.6
| language: ruby
rvm:
- 2.2.2
- 2.3.0
- 2.3.3
before_install: gem install bundler -v 1.10.6
|
Fix error in Ruby 2.2 build | language: ruby
sudo: false
cache: bundler
notifications:
webhooks: https://www.travisbuddy.com
on_success: never
before_install:
# Install Code Climate test reporter
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-head
gemfile:
- gemfiles/redis_3_x.gemfile
- gemfiles/redis_4_x.gemfile
before_script: ./cc-test-reporter before-build
# Pipe the coverage data to Code Climate if tests pass
after_script:
- ./cc-test-reporter after-build --exit-code $EXIT_CODE
- ./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.json
- if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then ./cc-test-reporter upload-coverage; fi # Upload coverage/codeclimate.json
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
exclude:
- rvm: 2.1
gemfile: gemfiles/redis_4_x.gemfile
| language: ruby
sudo: false
cache: bundler
notifications:
webhooks: https://www.travisbuddy.com
on_success: never
before_install:
# Install Code Climate test reporter
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-head
gemfile:
- gemfiles/redis_3_x.gemfile
- gemfiles/redis_4_x.gemfile
before_script: ./cc-test-reporter before-build
# Pipe the coverage data to Code Climate if tests pass
after_script:
- ./cc-test-reporter after-build --exit-code $EXIT_CODE
- ./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.json
- if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then ./cc-test-reporter upload-coverage; fi # Upload coverage/codeclimate.json
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
exclude:
- rvm: 2.1
gemfile: gemfiles/redis_4_x.gemfile
- rvm: 2.2
gemfile: gemfiles/redis_4_x.gemfile
|
Update Travis dist to xenial. | sudo: false
language: python
cache: pip
dist: trusty
python:
- 3.7
services:
- postgresql
- docker
addons:
postgresql: 9.6
apt:
packages:
- postgresql-9.6-postgis-2.3
branches:
only:
- master
env:
global:
- SECRET_KEY="SecretKeyForTravisCI"
- DATABASE_URL="postgis://postgres@localhost:5432/travis_ci_test"
before_install:
- docker build -t dbcawa/oim-cms .
install:
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install -r requirements.txt
before_script:
- psql -U postgres -c "create database travis_ci_test;"
- psql -U postgres -d travis_ci_test -c "create extension postgis;"
- python manage.py migrate --noinput
script:
- python manage.py test
| sudo: false
language: python
cache: pip
dist: xenial
python:
- 3.7
services:
- postgresql
- docker
addons:
postgresql: 9.6
apt:
packages:
- postgresql-9.6-postgis-2.3
branches:
only:
- master
env:
global:
- SECRET_KEY="SecretKeyForTravisCI"
- DATABASE_URL="postgis://postgres@localhost:5432/travis_ci_test"
before_install:
- docker build -t dbcawa/oim-cms .
install:
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install -r requirements.txt
before_script:
- psql -U postgres -c "create database travis_ci_test;"
- psql -U postgres -d travis_ci_test -c "create extension postgis;"
- python manage.py migrate --noinput
script:
- python manage.py test
|
Remove the deprecated sudo option and run on the latest version | language: php
php:
- 7.1
- 7.2
- nightly
matrix:
allow_failures:
- php: nightly
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
install:
- composer self-update --snapshot
- composer update $COMPOSER_OPTS
script:
- vendor/bin/phpunit
- vendor/bin/composer-require-checker
- vendor/bin/phpstan analyse --level=max src commands tests
- vendor/bin/phpcbf --standard=PSR1,PSR2,PSR12 src commands tests
- bin/sonos
jobs:
include:
- stage: coverage
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
- bash <(curl -s https://codecov.io/bash)
git:
depth: 5
dist: trusty
sudo: false
| language: php
php:
- 7.1
- 7.2
- nightly
matrix:
allow_failures:
- php: nightly
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
install:
- composer self-update --snapshot
- composer update $COMPOSER_OPTS
script:
- vendor/bin/phpunit
- vendor/bin/composer-require-checker
- vendor/bin/phpstan analyse --level=max src commands tests
- vendor/bin/phpcbf --standard=PSR1,PSR2,PSR12 src commands tests
- bin/sonos
jobs:
include:
- stage: coverage
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
- bash <(curl -s https://codecov.io/bash)
git:
depth: 5
group: travis_latest
|
Add the latest ruby versions | language: ruby
rvm:
- "1.9.3"
- "2.0"
- "2.1"
- "ruby-head"
- "jruby"
| language: ruby
rvm:
- "1.9.3"
- "2.0"
- "2.1"
- "2.2"
- "2.3"
- "ruby-head"
- "jruby"
|
Fix license acceptance for kitchen | addons:
apt:
sources:
- chef-current-xenial
packages:
- chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
env:
- CHEF_LICENSE=accept
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
- INSTANCE=default-fedora-28
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
env:
- UNIT_AND_LINT=1
- CHEF_LICENSE=accept
| addons:
apt:
sources:
- chef-current-xenial
packages:
- chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
env:
- CHEF_LICENSE=accept
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
- INSTANCE=default-fedora-28
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: CHEF_LICENSE=accept KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
env:
- UNIT_AND_LINT=1
- CHEF_LICENSE=accept
|
Remove hhvm completely as not officially supported | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
allow_failures:
php: 7.0
php: hhvm
cache:
directories:
- $HOME/.composer/cache
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_success:
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
matrix:
fast_finish: true
allow_failures:
php: 7.0
cache:
directories:
- $HOME/.composer/cache
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_success:
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
|
Add Ruby versions & sudo false | language: ruby
rvm:
- 2.2.2
| language: ruby
rvm:
- 2.0.0
- 2.1.3
- 2.1.5
- 2.1.6
- 2.2.0
- 2.2.1
- 2.2.2
sudo: false
|
Remove 1.8 since server code needed for testing | language: go
sudo: false
go:
- 1.10.x
- 1.9.x
- 1.8.x
install:
- go get -t ./...
- go get github.com/nats-io/gnatsd
- go get github.com/mattn/goveralls
- go get github.com/wadey/gocovmerge
- go get -u honnef.co/go/tools/cmd/megacheck
- go get -u github.com/client9/misspell/cmd/misspell
before_script:
- $(exit $(go fmt ./... | wc -l))
- go vet ./...
- misspell -error -locale US .
- megacheck -ignore "$(cat staticcheck.ignore)" ./...
script:
- go test -i -race ./...
- if [[ "$TRAVIS_GO_VERSION" == 1.9.* ]]; then ./scripts/cov.sh TRAVIS; else go test -v -race ./...; fi
| language: go
sudo: false
go:
- 1.10.x
- 1.9.x
install:
- go get -t ./...
- go get github.com/nats-io/gnatsd
- go get github.com/mattn/goveralls
- go get github.com/wadey/gocovmerge
- go get -u honnef.co/go/tools/cmd/megacheck
- go get -u github.com/client9/misspell/cmd/misspell
before_script:
- $(exit $(go fmt ./... | wc -l))
- go vet ./...
- misspell -error -locale US .
- megacheck -ignore "$(cat staticcheck.ignore)" ./...
script:
- go test -i -race ./...
- if [[ "$TRAVIS_GO_VERSION" == 1.9.* ]]; then ./scripts/cov.sh TRAVIS; else go test -v -race ./...; fi
|
Remove HHVM test target from Travis CI | language: php
php:
- 5.6
- 7.0
- 7.1
- hhvm
env:
- LARAVEL_VERSION=5.2
- LARAVEL_VERSION=5.3
- LARAVEL_VERSION=5.4
cache:
directories:
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini || true
before_script:
- chmod +x scripts/change-laravel-version.sh && bash scripts/change-laravel-version.sh
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: vendor/bin/phpspec run --format=pretty
notifications:
slack:
secure: MT5eWBoLLafyRTdFVyig9A/kw68UuKxSiFwFfsd7RaJwJlnR31rfw3oTS6/74Fkr7UQNOclUGSxbX10iIkR9I0ktMayMSDrnDZXNLs3Zn5ciGRjo9zIQ+gw0eqmU1hHyVXvG7pSwoLjqihlkO9J6K/1bUhTaHT+OXvKXZOqJ3Os=
| language: php
php:
- 5.6
- 7.0
- 7.1
env:
- LARAVEL_VERSION=5.2
- LARAVEL_VERSION=5.3
- LARAVEL_VERSION=5.4
cache:
directories:
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini || true
before_script:
- chmod +x scripts/change-laravel-version.sh && bash scripts/change-laravel-version.sh
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: vendor/bin/phpspec run --format=pretty
notifications:
slack:
secure: MT5eWBoLLafyRTdFVyig9A/kw68UuKxSiFwFfsd7RaJwJlnR31rfw3oTS6/74Fkr7UQNOclUGSxbX10iIkR9I0ktMayMSDrnDZXNLs3Zn5ciGRjo9zIQ+gw0eqmU1hHyVXvG7pSwoLjqihlkO9J6K/1bUhTaHT+OXvKXZOqJ3Os=
|
Use the new TravisCI infrastructure for faster tests | language: ruby
bundler_args: --without profile
notifications:
irc: "irc.freenode.org#axlsx"
email:
recipients:
- digital.ipseity@gmail.com
on_success: always
rvm:
- 1.9.2
- 1.9.3
- 2.0
- 2.1
- 2.2
- rbx
- jruby-19mode
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
before_install:
- gem install nokogiri -- --with-cflags='--std=gnu99'
| language: ruby
sudo: false
cache: bundler
bundler_args: --without profile
notifications:
irc: "irc.freenode.org#axlsx"
email:
recipients:
- digital.ipseity@gmail.com
on_success: always
rvm:
- 1.9.2
- 1.9.3
- 2.0
- 2.1
- 2.2
- rbx
- jruby-19mode
- ruby-head
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
before_install:
- gem install nokogiri -- --with-cflags='--std=gnu99'
|
Use Travis's new container-based infrastructure. | language: ruby
addons:
postgresql: '9.3'
before_script:
- psql -c 'CREATE DATABASE pg_audit_log_test;' -U postgres
rvm:
- "1.9"
- "2.0"
- "2.1"
- "2.2"
#- jruby-19mode
- rbx-2.2
env:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 4.1.0"
- RAILS_VERSION="~> 4.0.0"
- RAILS_VERSION="~> 3.2.0"
matrix:
allow_failures:
- env: RAILS_BRANCH="master"
| language: ruby
sudo: false
addons:
postgresql: '9.3'
before_script:
- psql -c 'CREATE DATABASE pg_audit_log_test;' -U postgres
rvm:
- "1.9"
- "2.0"
- "2.1"
- "2.2"
#- jruby-19mode
- rbx-2.2
env:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 4.1.0"
- RAILS_VERSION="~> 4.0.0"
- RAILS_VERSION="~> 3.2.0"
matrix:
allow_failures:
- env: RAILS_BRANCH="master"
|
Install OpenFisca-Core in develop mode for Travis. | language: python
python: "2.7"
virtualenv:
system_site_packages: true
before_install:
- sudo add-apt-repository ppa:pylab/stable -y # For SciPY
- sudo apt-get update -qq
- sudo apt-get install -qq python-scipy
install:
- pip install flake8 # Not yet available in Debian stable
- pip install .
script: make test
| language: python
python: "2.7"
virtualenv:
system_site_packages: true
before_install:
- sudo add-apt-repository ppa:pylab/stable -y # For SciPY
- sudo apt-get update -qq
- sudo apt-get install -qq python-scipy
install:
- pip install flake8 # Not yet available in Debian stable
- pip install -e .
script: make test
|
Revert "removed ruby 1.8.6 from CI due to Rack 1.2.2 not being compatible" | script: "rake test:live"
rvm:
- 1.8.7
- 1.9.1
- 1.9.2
- jruby
- rbx
- ree
- ruby-head
| script: "rake test:live"
rvm:
- 1.8.6
- 1.8.7
- 1.9.1
- 1.9.2
- jruby
- rbx
- ree
- ruby-head
|
Change go version 1.4.1 -> 1.4.2 in build matrix | sudo: false
language: go
go:
- 1.3.3
- 1.4.1
- tip
env:
global:
- secure: "PXt6fucUeI+eToxV+6lxwVZQWRZ/QLe/rexgPHUMBHcuevQFjRPZ3lcSCcKr9onLkb7REdDZj4Pct2zojPHtzvLV6QBl8LOF0QiGF+NmIZqhJMcJsEU476hKMuxotPMj6zKVhbRFKp/K7NmzezhMbkJembZhA4CMIZf+Buu6cqs="
before_install:
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- go get github.com/mattn/goveralls
script:
- go get -d -t -v ./...
- go build -v ./...
- go test -v ./...
- diff <(gofmt -d .) <("")
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash test-coverage.sh; fi
after_failure: failure
notifications:
email:
recipients:
- jonathan.lawlor@gmail.com
on_success: change
on_failure: always
| sudo: false
language: go
go:
- 1.3.3
- 1.4.2
- tip
env:
global:
- secure: "PXt6fucUeI+eToxV+6lxwVZQWRZ/QLe/rexgPHUMBHcuevQFjRPZ3lcSCcKr9onLkb7REdDZj4Pct2zojPHtzvLV6QBl8LOF0QiGF+NmIZqhJMcJsEU476hKMuxotPMj6zKVhbRFKp/K7NmzezhMbkJembZhA4CMIZf+Buu6cqs="
before_install:
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- go get github.com/mattn/goveralls
script:
- go get -d -t -v ./...
- go build -v ./...
- go test -v ./...
- diff <(gofmt -d .) <("")
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash test-coverage.sh; fi
after_failure: failure
notifications:
email:
recipients:
- jonathan.lawlor@gmail.com
on_success: change
on_failure: always
|
Add testing on Python 3 | env:
matrix:
- TRAVIS_PYTHON_VERSION="2.7"
global:
secure: gsF0tK0qZ1jFk/fjBdwYDMmAmedXFxd0jtFlroEU2vpozsR+a9VKtTCBMOfbP9sLPIDNpoKCbYdfGw91rH4+27fen1o5AIvomTeLcyGbsMxmfDEr0o/WCcx144EWZHi/x5D1QTr0ph3c0QOG8RfJCaWjjKc7cR3MAWVGEjko8og=
os:
- linux
- osx
sudo: required
before_install:
- echo "Build on $TRAVIS_OS_NAME"
- if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
- source .ci/travis/install_python.sh
- pip install -r requirements.txt
- conda info -a
- conda build -q -c csdms .conda
- pip install coveralls
- source .ci/travis/install_dakota.sh
- dakota --version
- conda install -q -c csdms hydrotrend
install:
- conda install -q -c csdms dakotathon --use-local
script:
- nosetests --with-doctest --with-coverage --cover-package=dakotathon
after_success:
- coveralls --verbose
- bash .ci/travis/deploy_to_anaconda.sh
| env:
matrix:
- TRAVIS_PYTHON_VERSION="2.7"
- TRAVIS_PYTHON_VERSION="3.5"
global:
secure: gsF0tK0qZ1jFk/fjBdwYDMmAmedXFxd0jtFlroEU2vpozsR+a9VKtTCBMOfbP9sLPIDNpoKCbYdfGw91rH4+27fen1o5AIvomTeLcyGbsMxmfDEr0o/WCcx144EWZHi/x5D1QTr0ph3c0QOG8RfJCaWjjKc7cR3MAWVGEjko8og=
os:
- linux
- osx
sudo: required
before_install:
- echo "Build on $TRAVIS_OS_NAME"
- if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
- source .ci/travis/install_python.sh
- pip install -r requirements.txt
- conda info -a
- conda build -q -c csdms .conda
- pip install coveralls
- source .ci/travis/install_dakota.sh
- dakota --version
- conda install -q -c csdms hydrotrend
install:
- conda install -q -c csdms dakotathon --use-local
script:
- nosetests --with-doctest --with-coverage --cover-package=dakotathon
after_success:
- coveralls --verbose
- bash .ci/travis/deploy_to_anaconda.sh
|
Remove deprecated clippy option from CI | language: rust
matrix:
include:
- rust: stable
- rust: beta
- rust: nightly
- rust: 1.17.0
script: cargo check
- rust: 1.21.0
- rust: nightly
env: CLIPPY
script: |
if rustup component add clippy-preview; then
cargo clippy -- -Dclippy
fi
script:
- cargo build
- cargo test
| language: rust
matrix:
include:
- rust: stable
- rust: beta
- rust: nightly
- rust: 1.17.0
script: cargo check
- rust: 1.21.0
- rust: nightly
env: CLIPPY
script: |
if rustup component add clippy-preview; then
cargo clippy
fi
script:
- cargo build
- cargo test
|
Disable Nightwatch in Travis config | sudo: required
language: node_js
services:
- docker
node_js:
- "0.12.7"
- "stable"
addons:
apt:
packages:
- google-chrome-stable
- xvfb
before_install:
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- docker-compose up -d
script:
- "npm run lint"
- "npm test"
- "npm run nightwatch"
matrix:
allow_failures:
- node_js: "stable"
| sudo: required
language: node_js
services:
- docker
node_js:
- "0.12.7"
- "stable"
addons:
apt:
packages:
- google-chrome-stable
- xvfb
before_install:
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- docker-compose up -d
script:
- "npm run lint"
- "npm test"
# - "npm run nightwatch"
matrix:
allow_failures:
- node_js: "stable"
|
Use absolute path to sdkmanager. | language: android
jdk:
- oraclejdk8
android:
components:
- tools
- build-tools-26.0.2
- platform-tools
- tools # Running this twice get's you the latest build tools
before_install:
- touch /home/travis/.android/repositories.cfg
install:
- echo yes | sdkmanager "tools"
- echo yes | sdkmanager "platforms;android-26" # Latest platform required by SDK tools
- echo yes | sdkmanager "extras;android;m2repository"
- echo yes | sdkmanager "extras;google;m2repository"
- echo yes | sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2"
- echo yes | sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2"
script:
- ./gradlew build
licenses:
# - 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
# - 'google-gdk-license-.+'
- '.+'
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
| language: android
jdk:
- oraclejdk8
android:
components:
- tools
- build-tools-26.0.2
- platform-tools
- tools # Running this twice get's you the latest build tools
before_install:
- touch /home/travis/.android/repositories.cfg
install:
- echo yes | $ANDROID_HOME/tools/bin/sdkmanager "tools"
- echo yes | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-26" # Latest platform required by SDK tools
- echo yes | $ANDROID_HOME/tools/bin/sdkmanager "extras;android;m2repository"
- echo yes | $ANDROID_HOME/tools/bin/sdkmanager "extras;google;m2repository"
- echo yes | $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2"
- echo yes | $ANDROID_HOME/tools/bin/sdkmanagersdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2"
script:
- ./gradlew build
licenses:
# - 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
# - 'google-gdk-license-.+'
- '.+'
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
|
Replace Java 15 with Java 16 in Travis CI. | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
sudo: false
cache:
directories:
- $HOME/.m2
jdk:
- openjdk8
- openjdk11
- openjdk15
- openjdk-ea
| # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
sudo: false
cache:
directories:
- $HOME/.m2
jdk:
- openjdk8
- openjdk11
- openjdk16
- openjdk-ea
|
Add python test target 3.6 | language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
install: python setup.py -q install
script:
- python setup.py test
notifications:
email:
on_success: change
on_failure: always
recipients:
- grauwoelfchen@gmail.com
| language: python
python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
install: python setup.py -q install
script:
- python setup.py test
notifications:
email:
on_success: change
on_failure: always
recipients:
- grauwoelfchen@gmail.com
|
Refactor to use less code | ---
- name: Install Vim
homebrew:
name: vim
state: latest
tags:
- brew
- name: Create Dirctory ~/.vim/bundle
file:
name: ~/.vim/bundle
state: directory
- name: Create Dirctory ~/.vim/backups
file:
name: ~/.vim/backups
state: directory
- name: Create Dirctory ~/.vim/swaps
file:
name: ~/.vim/swaps
state: directory
- name: Create Dirctory ~/.vim/undo
file:
name: ~/.vim/undo
state: directory
- name: Install NeoBundle for managing vim packages
git:
repo: https://github.com/Shougo/neobundle.vim.git
dest: ~/.vim/bundle/neobundle.vim
- name: Install ~/.vimrc
copy:
src: vimrc
dest: ~/.vimrc
| ---
- name: Install Vim
homebrew:
name: vim
state: latest
tags:
- brew
- name: Create Directory
file:
name: "{{ item }}"
state: directory
with_items:
- ~/.vim/bundle
- ~/.vim/backups
- ~/.vim/swaps
- ~/.vim/undo
- name: Install NeoBundle for managing vim packages
git:
repo: https://github.com/Shougo/neobundle.vim.git
dest: ~/.vim/bundle/neobundle.vim
- name: Install ~/.vimrc
copy:
src: vimrc
dest: ~/.vimrc
|
Modify heap size for Travis | language: scala
jdk: oraclejdk8
scala:
- 2.12.3
env:
global:
_JAVA_OPTIONS=-Xmx3000
script:
- sbt ++$TRAVIS_SCALA_VERSION -J-Xmx3000m test
# Use container-based infrastructure
sudo: false
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
#Testing build script | language: scala
jdk: oraclejdk8
scala:
- 2.12.3
env:
global:
_JAVA_OPTIONS=-Xmx2500
script:
- sbt ++$TRAVIS_SCALA_VERSION -J-Xmx2500m test
# Use container-based infrastructure
sudo: false
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
#Testing build script |
Add encrypted credentials for testing on Travis CI | language: node_js
node_js:
- "0.10"
| language: node_js
node_js:
- '0.10'
env:
global:
secure: lMMzNhMw7H5+FNxRO0PQ8cKQa3QQtIxkygSrWy90Typ89ZvWFOoHz4q+QUggZcg2RvTWOpHvFuZSFz4ndr1VVtFNM7Sn8MEec7Xfqntpojw3F3QJVaLcIkpY95G6HCDh0ZXoKnHBYxCOamWaopScRXRuYl6q/+liSdDRNfABX5g=
|
Remove python 3.4, add python 3.8 | language: python
cache: pip
matrix:
include:
- python: "2.7"
env: TOXENV=py27
- python: "3.4"
env: TOXENV=py34
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
dist: xenial
sudo: required
- env: TOXENV=flake8
- env: TOXENV=isort
install:
- "travis_retry pip install setuptools --upgrade"
- "pip install tox"
script:
- tox
after_script:
- cat .tox/$TOXENV/log/*.log
| language: python
cache: pip
matrix:
include:
- python: "2.7"
env: TOXENV=py27
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.8"
env: TOXENV=py38
- python: "3.7"
env: TOXENV=py37
dist: xenial
sudo: required
- env: TOXENV=flake8
- env: TOXENV=isort
install:
- "travis_retry pip install setuptools --upgrade"
- "pip install tox"
script:
- tox
after_script:
- cat .tox/$TOXENV/log/*.log
|
Update from Hackage at 2015-08-01T14:38:42+0000 | homepage: https://github.com/bacher09/hostandport
changelog-type: ''
hash: 5ad1783e80502877a1de17cb92308dd9e0cc003a1302c5d4c09103b1c98bd627
test-bench-deps:
HostAndPort: -any
base: ! '>=4.5 && <5'
hspec: -any
doctest: -any
maintainer: slava@bacher09.org
synopsis: Parser host and port pairs like localhost:22
changelog: ''
basic-deps:
base: ! '>=4.5 && <5'
parsec: ! '>=3.1'
all-versions:
- '0.1.0'
author: Slava Bacherikov
latest: '0.1.0'
description-type: haddock
description: ! 'Simple parser for parsing host and port pairs.
Host can be either ipv4, ipv6 or domain name and port are
optional.
IPv6 address should be surrounded by square brackets.
Examples:
* localhost
* localhost:8080
* 127.0.0.1
* 127.0.0.1:8080
* [::1]
* [::1]:8080'
license-name: MIT
| homepage: https://github.com/bacher09/hostandport
changelog-type: ''
hash: 05f537153a06c34ad232bba6ca73ed20453fa73d1c8b28f7c695da3941ab0b00
test-bench-deps:
HostAndPort: -any
base: ! '>=4.5 && <5'
hspec: -any
criterion: -any
doctest: -any
maintainer: slava@bacher09.org
synopsis: Parser for host and port pairs like localhost:22
changelog: ''
basic-deps:
base: ! '>=4.5 && <5'
parsec: ! '>=3.1'
all-versions:
- '0.1.0'
- '0.2.0'
author: Slava Bacherikov
latest: '0.2.0'
description-type: markdown
description: ! 'HostAndPort
===========
[]
(https://travis-ci.org/bacher09/hostandport)
Simple Haskell library for parsing connection strings that contain
host and port info. For more info see package [documentation][docs].
License
-------
MIT
[docs]: https://hackage.haskell.org/package/HostAndPort-0.1.0/docs/Network-HostAndPort.html
'
license-name: MIT
|
Use debug builds in Travis. | language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository --yes ppa:kalakris/cmake
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- sudo apt-get update -qq
- sudo apt-get install cmake -y
- sudo apt-get install qt5-default -y
script: cmake . -Dbuild_tests=ON && make && make test
| language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository --yes ppa:kalakris/cmake
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- sudo apt-get update -qq
- sudo apt-get install cmake qt5-default -y
script: cmake . -Denable_tests=ON -DCMAKE_BUILD_TYPE=Debug && make && make test
|
Bring back the example on Travis too. | language: rust
before_install:
- sudo apt-get install -y libfuse-dev
script:
- cargo build
- cargo run --bin=day2
- cargo run --bin=day3
- cargo run --bin=day4
# - cargo run --bin=day5
- cargo run --bin=day6
- cargo run --bin=day7
- cargo run --bin=day9
- cargo run --bin=day10
# - cargo run --bin=day11
- cargo run --bin=day12
- cargo run --bin=day13
- cargo run --bin=day14
- cargo run --bin=day17
# - cargo run --bin=day18
- cargo run --bin=day21
services:
- redis-server
| language: rust
before_install:
- sudo apt-get install -y libfuse-dev
script:
- cargo build
- cargo run --bin=day2
- cargo run --bin=day3
- cargo run --bin=day4
# - cargo run --bin=day5
- cargo run --bin=day6
- cargo run --bin=day7
- cargo run --bin=day9
- cargo run --bin=day10
- cargo run --bin=day11
- cargo run --bin=day12
- cargo run --bin=day13
- cargo run --bin=day14
- cargo run --bin=day17
# - cargo run --bin=day18
- cargo run --bin=day21
services:
- redis-server
|
Build branches other than master | language: python
python:
- 3.5
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=lxml23
install:
- pip install -U tox
script:
- tox
branches:
only:
- master
notifications:
email:
- stix-commits-list@lists.mitre.org
| language: python
python:
- 3.5
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=lxml23
install:
- pip install -U tox
script:
- tox
notifications:
email:
- stix-commits-list@lists.mitre.org
|
Increase the number of news posts shown in homepage to 5. | markdown: kramdown
pygments: false
safe: true
exclude:
# we generate those files ourselves
- "*.css"
- "*.js"
# permalinks
permalink: pretty
# server
source: ./source/
destination: ./_site/
port: 8000
baseurl: /
# custom variables
version:
short: 1.7.1
long: 1.7.1.0
hash: "9ae7b7c"
url: "http://mpc-hc.org"
trac_url: "https://trac.mpc-hc.org/"
intertrac: "https://trac.mpc-hc.org/intertrac/%23"
rss_limit: 10
news_limit: 4
| markdown: kramdown
pygments: false
safe: true
exclude:
# we generate those files ourselves
- "*.css"
- "*.js"
# permalinks
permalink: pretty
# server
source: ./source/
destination: ./_site/
port: 8000
baseurl: /
# custom variables
version:
short: 1.7.1
long: 1.7.1.0
hash: "9ae7b7c"
url: "http://mpc-hc.org"
trac_url: "https://trac.mpc-hc.org/"
intertrac: "https://trac.mpc-hc.org/intertrac/%23"
rss_limit: 10
news_limit: 5
|
Remove baseurl (not necessary anymore) | ### your site title here
title: Paulo Diovani
description: A personal blog about romance, technology and tabletop games
repository: github.com/paulodiovani/blog.diovani.com
baseurl: /blog.diovani.com # name of the repository
social:
email: paulo AT diovani DOT com
linkedin: linkedin.com/in/paulodiovani
twitter: paulodiovani
github: github.com/paulodiovani
highlighter: rouge
markdown: kramdown
### exclude the instructions / write-up in the README.md
# Tracker
#analytics: UA-83979019-1
# Comments
#disqus-shortname: webjeda-demo
#optimization
#compress.html
compress_html:
clippings: [html, div, p, ul, td, h1, h2, h3, h4,link, meta, footer, nav, img, header, hr, br, head, style, li, ul, ol, time, main, script, title]
comments: ["<!-- ", " -->"]
endings: [all]
ignore:
envs: [local]
blanklines: false
profile: false
startings: []
sass:
style: compressed
exclude:
- README.md
gems: [jekyll-seo-tag, jekyll-paginate]
| ### your site title here
title: Paulo Diovani
description: A personal blog about romance, technology and tabletop games
repository: github.com/paulodiovani/blog.diovani.com
social:
email: paulo AT diovani DOT com
linkedin: linkedin.com/in/paulodiovani
twitter: paulodiovani
github: github.com/paulodiovani
highlighter: rouge
markdown: kramdown
### exclude the instructions / write-up in the README.md
# Tracker
#analytics: UA-83979019-1
# Comments
#disqus-shortname: webjeda-demo
#optimization
#compress.html
compress_html:
clippings: [html, div, p, ul, td, h1, h2, h3, h4,link, meta, footer, nav, img, header, hr, br, head, style, li, ul, ol, time, main, script, title]
comments: ["<!-- ", " -->"]
endings: [all]
ignore:
envs: [local]
blanklines: false
profile: false
startings: []
sass:
style: compressed
exclude:
- README.md
gems: [jekyll-seo-tag, jekyll-paginate]
|
Fix removal of curl and jdk packages. | ---
- name: Remove package 'curl'
yum: name=curl state=absent
when: curl_installed|success
ignore_errors: yes
sudo: yes
- name: Remove package 'java-1.7.0-openjdk'
yum: pkg=java-1.7.0-openjdk state=absent
when: java_installed|success
ignore_errors: yes
sudo: yes
| ---
- name: Remove package 'curl'
yum: name=curl state=absent
when: not curl_install|skipped
ignore_errors: yes
sudo: yes
- name: Remove package 'java-1.7.0-openjdk'
yum: pkg=java-1.7.0-openjdk state=absent
when: not java_install|skipped
ignore_errors: yes
sudo: yes
|
Update TravisCI to use goclean script. | language: go
go: release
install: go get -d -t -v ./...
| language: go
go: release
before_install:
- gocleandeps=c16c849abae90c23419d
- git clone https://gist.github.com/$gocleandeps.git
- goclean=71d0380287747d956a26
- git clone https://gist.github.com/$goclean.git
install:
- go get -d -t -v ./...
- bash $gocleandeps/gocleandeps.sh
script:
- export PATH=$PATH:$HOME/gopath/bin
- bash $goclean/goclean.sh
after_success:
- goveralls -coverprofile=repo.cov -service=travis-ci
|
Use bundle exec for now | services:
- elasticsearch
before_script:
- bin/rake app:db:create
- bin/rake app:index:reset
rvm:
- 2.1.2
env:
- "GEM=ar:mysql2"
- "GEM=ar:postgresql"
| services:
- elasticsearch
before_script:
- bundle exec rake app:db:create
- bundle exec rake app:index:reset
rvm:
- 2.1.2
env:
- "GEM=ar:mysql2"
- "GEM=ar:postgresql"
|
Remove debug output in Travis build | language: php
matrix:
fast_finish: true
include:
- php: 5.6
env: DB=sqlite
- php: 5.6
env: DB=mysql
# - php: 5.6
# env: DB=pgsql
- php: 5.5
env: DB=sqlite
cache:
directories:
- $HOME/.composer/cache
before_install:
- cd ..
- git clone https://github.com/neos/flow-development-distribution.git -b 2.3
- cd flow-development-distribution
install:
- composer install
- rm -rf Packages/Framework
- mv ../flow-development-collection Packages/Framework
before_script:
- echo 'date.timezone = "Antarctica/Troll"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- rm Configuration/Routes.yaml
- cp Configuration/Settings.yaml.example Configuration/Settings.yaml
- Build/BuildEssentials/TravisCi/SetupDatabase.sh
- cp Configuration/Settings.yaml Configuration/Testing/
- FLOW_CONTEXT=Testing ./flow configuration:show --type Settings --path TYPO3.Flow.persistence.backendOptions
script:
- bin/phpunit -c Build/BuildEssentials/PhpUnit/UnitTests.xml
- bin/phpunit --stop-on-failure -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml --testsuite "Framework tests"
| language: php
matrix:
fast_finish: true
include:
- php: 5.6
env: DB=sqlite
- php: 5.6
env: DB=mysql
# - php: 5.6
# env: DB=pgsql
- php: 5.5
env: DB=sqlite
cache:
directories:
- $HOME/.composer/cache
before_install:
- cd ..
- git clone https://github.com/neos/flow-development-distribution.git -b 2.3
- cd flow-development-distribution
install:
- composer install
- rm -rf Packages/Framework
- mv ../flow-development-collection Packages/Framework
before_script:
- echo 'date.timezone = "Antarctica/Troll"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- rm Configuration/Routes.yaml
- cp Configuration/Settings.yaml.example Configuration/Settings.yaml
- Build/BuildEssentials/TravisCi/SetupDatabase.sh
- cp Configuration/Settings.yaml Configuration/Testing/
script:
- bin/phpunit -c Build/BuildEssentials/PhpUnit/UnitTests.xml
- bin/phpunit --stop-on-failure -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml --testsuite "Framework tests"
|
Set DATABASE_URL environment variable for Travis builds | language: python
python:
- "2.7"
# command to install dependencies
install: "pip install --use-mirrors -q -r requirements.txt"
# command to run tests
script: python manage.py test
| language: python
python:
- "2.7"
# Environment variables to use
env:
- DATABASE_URL=sqlite:///test.db
# command to install dependencies
install: "pip install --use-mirrors -q -r requirements.txt"
# command to run tests
script: python manage.py test
|
Add Python 3.4 builds in Travis CI config | language: python
env:
TRAVISBUG="#1027"
matrix:
exclude:
- env: TRAVISBUG="#1027"
include:
- python: "2.7"
env: BUILDENV=precise
- python: "2.7"
env: BUILDENV=latest
- python: "pypy"
env: BUILDENV=latest
allow_failures:
- python: "pypy"
env: BUILDENV=latest
install:
- pip install -r .travis/requirements-$BUILDENV.txt
- pip install .
script:
- trial scrapyd
notifications:
irc:
channels:
- "irc.freenode.org#scrapy"
use_notice: true
skip_join: true
| language: python
env:
TRAVISBUG="#1027"
matrix:
exclude:
- env: TRAVISBUG="#1027"
include:
- python: "2.7"
env: BUILDENV=precise
- python: "2.7"
env: BUILDENV=latest
- python: "3.4"
env: BUILDENV=latest
- python: "pypy"
env: BUILDENV=latest
allow_failures:
- python: "pypy"
env: BUILDENV=latest
- python: "3.4"
env: BUILDENV=latest
install:
- pip install -r .travis/requirements-$BUILDENV.txt
- pip install .
script:
- trial scrapyd
notifications:
irc:
channels:
- "irc.freenode.org#scrapy"
use_notice: true
skip_join: true
|
Support Node 7 and 8 | language: node_js
dist: trusty
sudo: required
cache:
apt: true
yarn: true
ccache: true
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-6', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev']
env: CCOMPILER='gcc-6' CXXCOMPILER='g++-6'
branches:
except:
- /^v[0-9]/
node_js:
- "6"
before_install: yarn global add greenkeeper-lockfile@1
install: yarn
before_script: greenkeeper-lockfile-update
script: make test
after_script: greenkeeper-lockfile-upload
| language: node_js
dist: trusty
sudo: required
cache:
apt: true
yarn: true
ccache: true
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-6', 'gcc-6', 'build-essential', 'git', 'wget', 'cmake3', 'pkg-config', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'libboost-all-dev', 'lua5.2', 'liblua5.2-dev', 'libtbb-dev']
env: CPP=cpp-6 CC=gcc-6 CXX=g++-6
branches:
except:
- /^v[0-9]/
node_js:
- "6"
- "7"
- "8"
before_install: yarn global add greenkeeper-lockfile@1
install: yarn
before_script: greenkeeper-lockfile-update
script: make test
after_script: greenkeeper-lockfile-upload
|
Remove Rubinius and 1.8.7 from Travis CI requirements | language: ruby
rvm:
- "1.8.7"
- "1.9.3"
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
before_script:
- npm install
- rake initialize
- rake setup
script: bundle exec rake test:unit
| language: ruby
rvm:
- "1.9.3"
- jruby-19mode
before_script:
- npm install
- rake initialize
- rake setup
script: bundle exec rake test:unit
|
Fix gdal_version hieradata for CI agents | ---
mongodb::server::version: '3.2.7'
mongodb::server::development: true
mongodb::server::replicaset_members:
"%{::hostname}":
clamav::use_service: false
govuk_ci::agent::postgresql::mapit_role_password: 'mapit'
govuk_ci::agent::postgresql::email_alert_api_role_password: 'email-alert-api'
govuk_ci::agent::gdal_version: "%{hiera('govuk::apps::mapit::gdal_version')}"
postgresql::globals::version: '9.3'
govuk_postgresql::server::enable_collectd: false
govuk_mysql::server::innodb_flush_log_at_trx_commit: 2
govuk_mysql::server::innodb_buffer_pool_size_proportion: 0.05
govuk_mysql::server::query_cache_size: 0
icinga::client::check_cputype::cputype: 'intel'
lv:
data:
pv: '/dev/sdb1'
vg: 'jenkins'
docker:
pv: '/dev/sdc1'
vg: 'data'
mount:
/var/lib/jenkins:
disk: '/dev/mapper/jenkins-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
/var/lib/docker:
disk: '/dev/mapper/data-docker'
govuk_lvm: 'docker'
mountoptions: 'defaults'
| ---
mongodb::server::version: '3.2.7'
mongodb::server::development: true
mongodb::server::replicaset_members:
"%{::hostname}":
clamav::use_service: false
govuk_ci::agent::postgresql::mapit_role_password: 'mapit'
govuk_ci::agent::postgresql::email_alert_api_role_password: 'email-alert-api'
govuk_ci::agent::gdal_version: "1.11.5"
postgresql::globals::version: '9.3'
govuk_postgresql::server::enable_collectd: false
govuk_mysql::server::innodb_flush_log_at_trx_commit: 2
govuk_mysql::server::innodb_buffer_pool_size_proportion: 0.05
govuk_mysql::server::query_cache_size: 0
icinga::client::check_cputype::cputype: 'intel'
lv:
data:
pv: '/dev/sdb1'
vg: 'jenkins'
docker:
pv: '/dev/sdc1'
vg: 'data'
mount:
/var/lib/jenkins:
disk: '/dev/mapper/jenkins-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
/var/lib/docker:
disk: '/dev/mapper/data-docker'
govuk_lvm: 'docker'
mountoptions: 'defaults'
|
Revert "Version bump to 0.0.6" | ---
:minor: 0
:patch: 4
:major: 0
<<<<<<< HEAD:VERSION.yml
:minor: 0
:patch: 6
=======
>>>>>>> 3b38f14... Version bump to 0.1.0:VERSION.yml
| ---
:minor: 0
:patch: 4
:major: 0
<<<<<<< HEAD:VERSION.yml
<<<<<<< HEAD:VERSION.yml
:minor: 0
:patch: 6
=======
>>>>>>> 3b38f14... Version bump to 0.1.0:VERSION.yml
=======
:minor: 1
:patch: 0
>>>>>>> 3a30f21... Version bump to 0.0.6:VERSION.yml
|
Use Xcode 9.1 image with Travis | language: objective-c
osx_image: xcode9
env:
- LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
before_install:
- pod repo update
- gem install xcpretty -N
script: "./Tests/travis.sh"
notifications:
slack:
secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe9NetzyNqWVN6URRFdcjvSnpah1kg2gGhIdkT5gvBT8HcP8OS6x/2lMFQsOhuA0mMoJ3tK3vhve10s3Mt8JvWqnEI3OmnDF/Yx7FN0sGiTskLYvi7jCzLY1QNqdg52VTsNI=
| language: objective-c
osx_image: xcode9.1
env:
- LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
before_install:
- pod repo update
- gem install xcpretty -N
script: "./Tests/travis.sh"
notifications:
slack:
secure: Bgfiib7NP2/98fjJvW+PraQQFnj5X23+Zmvy9XqIe9NetzyNqWVN6URRFdcjvSnpah1kg2gGhIdkT5gvBT8HcP8OS6x/2lMFQsOhuA0mMoJ3tK3vhve10s3Mt8JvWqnEI3OmnDF/Yx7FN0sGiTskLYvi7jCzLY1QNqdg52VTsNI=
|
Rename parameter as jekyll recommended | # Site settings
title: "Ilios"
email: support@iliosproject.org
description: Curriculum Management for the Health Professions
baseurl: ""
url: "https:/iliosproject.org"
github_username: ilios
# Build settings
markdown: kramdown
exclude: [Gemfile, Gemfile.lock, LICENSE]
gems:
- jekyll-mentions
- jekyll-redirect-from
links:
- title: Home
url: /
| # Site settings
title: "Ilios"
email: support@iliosproject.org
description: Curriculum Management for the Health Professions
baseurl: ""
url: "https:/iliosproject.org"
github_username: ilios
# Build settings
markdown: kramdown
exclude: [Gemfile, Gemfile.lock, LICENSE]
plugins:
- jekyll-mentions
- jekyll-redirect-from
links:
- title: Home
url: /
|
Set token to correct config bit | language: node_js
node_js:
- "0.12"
cache:
directories:
- node_modules
before_install:
- npm install -g grunt-cli karma
- npm install coveralls
before_script:
- jspm config endpoints.github.auth $GITHUBTOKEN
- jspm install
after_success:
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
| language: node_js
node_js:
- "0.12"
cache:
directories:
- node_modules
before_install:
- npm install -g grunt-cli karma
- npm install coveralls
before_script:
- jspm config registries.github.auth $GITHUBTOKEN
- jspm install
after_success:
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
|
Remove the node_modules on start of CI testing |
stages:
- build
- test
before_script:
- echo 'drop database if exists irida_test; create database irida_test' | mysql -u test -ptest
- echo 'db.dropDatabase()' | mongo test
- pushd lib
- ./install-libs.sh
- popd
- rm -rf /tmp/irida/*
service_job:
#running service layer tests
script:
- mvn clean verify -Pservice_testing
stage: test
ui_job:
#running ui tests
script:
- xvfb-run --auto-servernum --server-num=1 mvn clean verify -Pui_testing -Dwebdriver.chrome.driver=./src/main/webapp/node_modules/chromedriver/lib/chromedriver/chromedriver
stage: test
rest_job:
#running rest api tests
script:
- mvn clean verify -Prest_testing
stage: test
galaxy_job:
#lastly, run all tests involving Galaxy
script:
- "scripts/galaxy-docker.sh"
stage: test
build-docs_job:
script: "scripts/build-docs.sh"
stage: build
cache:
untracked: true
paths:
- src/main/webapp/node
- src/main/webapp/node_modules
- src/main/webapp/resources/bower_components
|
stages:
- build
- test
before_script:
- echo 'drop database if exists irida_test; create database irida_test' | mysql -u test -ptest
- echo 'db.dropDatabase()' | mongo test
- pushd lib
- ./install-libs.sh
- popd
- rm -rf /tmp/irida/*
- rm -rf src/main/webapp/node_modules/*
service_job:
#running service layer tests
script:
- mvn clean verify -Pservice_testing
stage: test
ui_job:
#running ui tests
script:
- xvfb-run --auto-servernum --server-num=1 mvn clean verify -Pui_testing -Dwebdriver.chrome.driver=./src/main/webapp/node_modules/chromedriver/lib/chromedriver/chromedriver
stage: test
rest_job:
#running rest api tests
script:
- mvn clean verify -Prest_testing
stage: test
galaxy_job:
#lastly, run all tests involving Galaxy
script:
- "scripts/galaxy-docker.sh"
stage: test
build-docs_job:
script: "scripts/build-docs.sh"
stage: build
cache:
untracked: true
paths:
- src/main/webapp/node
- src/main/webapp/node_modules
- src/main/webapp/resources/bower_components
|
Set the CXX_CALCULATOR_SERVER variable in CI. | before_script:
# Report the versions of varioius software, to make diagnosing problems
# easier:
- ghc --version
- cabal --version
- capnp --version
- stylish-haskell --version
- hlint --version
# Update the hackage databse:
- cabal update
test:alltests:
image: zenhack/haskell-capnp-ci
variables:
CXX_CALCULATOR_CLIENT: /usr/local/bin/c++-calculator-client
script:
# First build the code generator plugin.
- cabal new-build capnpc-haskell
# Then, regenerate the schema modules, and make sure they're in-sync
# with what was committed. This is also necessary to generate the
# Schema modules used by the test suite, which are not committed.
- ./scripts/regen.sh
- git diff --exit-code
# Now build everything else (incl. examples):
- cabal new-build all
# ...run the tests. We use new-run so we can pass rts options
# to the test binary -- these tell it to parallelize the tests.
- cabal new-run test:tests -- +RTS -N
# Linting:
- ./scripts/hlint.sh
# Run stylish-haskell, and fail if it changes anything:
- ./scripts/format.sh
- git diff --exit-code
| before_script:
# Report the versions of varioius software, to make diagnosing problems
# easier:
- ghc --version
- cabal --version
- capnp --version
- stylish-haskell --version
- hlint --version
# Update the hackage databse:
- cabal update
test:alltests:
image: zenhack/haskell-capnp-ci
variables:
CXX_CALCULATOR_CLIENT: /usr/local/bin/c++-calculator-client
CXX_CALCULATOR_SERVER: /usr/local/bin/c++-calculator-server
script:
# First build the code generator plugin.
- cabal new-build capnpc-haskell
# Then, regenerate the schema modules, and make sure they're in-sync
# with what was committed. This is also necessary to generate the
# Schema modules used by the test suite, which are not committed.
- ./scripts/regen.sh
- git diff --exit-code
# Now build everything else (incl. examples):
- cabal new-build all
# ...run the tests. We use new-run so we can pass rts options
# to the test binary -- these tell it to parallelize the tests.
- cabal new-run test:tests -- +RTS -N
# Linting:
- ./scripts/hlint.sh
# Run stylish-haskell, and fail if it changes anything:
- ./scripts/format.sh
- git diff --exit-code
|
Add console cleanup to CI |
stages:
- build
- unit_test
- functional_test
build_job:
stage: build
artifacts:
paths:
- build/bin/
- build/test/
expire_in: 3d
script:
- ./waf configure clean build
only:
- master
unit_test_job:
stage: unit_test
script:
- ./waf test
dependencies:
- build_job
only:
- master
hello_world_job:
stage: functional_test
script:
- build/bin/HelloWorld &
- export HELLO_PID=$!
- sleep 5
- kill $HELLO_PID
- cat profiles.json
dependencies:
- build_job
only:
- master
profile_job:
stage: functional_test
script:
- ./waf profile
dependencies:
- build_job
only:
- master
|
stages:
- build
- unit_test
- functional_test
build_job:
stage: build
artifacts:
paths:
- build/bin/
- build/test/
expire_in: 3d
script:
- ./waf configure clean build
only:
- master
unit_test_job:
stage: unit_test
script:
- ./waf test
dependencies:
- build_job
only:
- master
hello_world_job:
stage: functional_test
script:
- build/bin/IpcConsoleCleanup console
- build/bin/HelloWorld &
- export HELLO_PID=$!
- sleep 5
- kill $HELLO_PID
- cat profiles.json
dependencies:
- build_job
only:
- master
profile_job:
stage: functional_test
script:
- ./waf profile
dependencies:
- build_job
only:
- master
|
Update description with equivalent html tag name | # Dependencies
markdown: redcarpet
highlighter: pygments
# Permalinks
permalink: pretty
relative_permalinks: true
# Setup
title: Andrew Gurung
tagline: 'Portfolio'
description: '<software-developer> A Journey Through Front End Web Development. Follow <a href="https://twitter.com/andrewgurung" target="_blank">@andrewgurung</a>.'
url: http://andrewgurung.github.io
baseurl: /
author:
name: 'Andrew Gurung'
url: https://twitter.com/andrewgurung
paginate: 5
# Custom vars
version: 1.0.0
github:
repo: https://github.com/andrewgurung/
| # Dependencies
markdown: redcarpet
highlighter: pygments
# Permalinks
permalink: pretty
relative_permalinks: true
# Setup
title: Andrew Gurung
tagline: 'Portfolio'
description: '<software-developer> A Journey Through Front End Web Development. Follow <a href="https://twitter.com/andrewgurung" target="_blank">@andrewgurung</a>.'
url: http://andrewgurung.github.io
baseurl: /
author:
name: 'Andrew Gurung'
url: https://twitter.com/andrewgurung
paginate: 5
# Custom vars
version: 1.0.0
github:
repo: https://github.com/andrewgurung/
|
Revert "Forced update of JDK8 in linux builds in order to avoid bugs causing crash during testing in jdk1.8.0_31" | # Use docker-based build environment (instead of openvz)
sudo: false
# Force the update of the JDK8 installation due to bugs in jdk1.8.0_31
addons:
apt:
packages:
- oracle-java8-installer
# Select JDKs >= Java 6 for testing
language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
# Test execution
install: true
script: "mvn -e clean compile test"
| # Use docker-based build environment (instead of openvz)
sudo: false
# Select JDKs >= Java 6 for testing
language: java
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
# Test execution
install: true
script: "mvn -e clean compile test"
|
Update from Hackage at 2015-07-28T09:19:12+0000 | homepage: https://github.com/audreyt/MoeDict.hs
changelog-type: ''
hash: 80c9b5fdac8d6ace4be20ccbcecc49ff7ff1da08b74ec78327bedaef183714ca
test-bench-deps: {}
maintainer: audreyt@audreyt.org
synopsis: Utilities working with MoeDict.tw JSON dataset
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=2 && <5'
unordered-containers: -any
text: -any
containers: -any
aeson: -any
all-versions:
- '0.0.1'
- '0.0.2'
author: Audrey Tang
latest: '0.0.2'
description-type: haddock
description: Utilities working with MoeDict.tw JSON dataset
license-name: PublicDomain
| homepage: https://github.com/audreyt/MoeDict.hs
changelog-type: ''
hash: 6c7d220bbb7a75a08c17cd6b63a925bd6769328e12b0e78955c47234a58682a8
test-bench-deps: {}
maintainer: audreyt@audreyt.org
synopsis: Utilities working with MoeDict.tw JSON dataset
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=2 && <5'
unordered-containers: -any
text: -any
containers: -any
aeson: -any
all-versions:
- '0.0.1'
- '0.0.2'
- '0.0.3'
author: Audrey Tang
latest: '0.0.3'
description-type: haddock
description: Utilities working with MoeDict.tw JSON dataset
license-name: PublicDomain
|
Exclude package-lock.json from build dir | assets:
digest: true
compression: true
source_maps: false
precompile: [
avatar-180.jpg,
avatar-196.jpg,
avatar-300.jpg,
moon.svg,
moon-dark.svg
]
author: Alex Gibson
domain: https://alxgbsn.co.uk
url: https://alxgbsn.co.uk
exclude:
- config.rb
- node_modules
- script
- Gemfile
- Gemfile.lock
- package.json
- travis.yml
- vendor
feed:
path: /feed/index.xml
highlighter: rouge
markdown: kramdown
paginate: 10
paginate_path: 'archive/:num/'
permalink: /:year/:month/:day/:title/
plugins:
- jekyll-assets
- jekyll-feed
- jekyll-paginate
rdiscount extensions: [smart]
title: Alex Gibson, Front End Developer
| assets:
digest: true
compression: true
source_maps: false
precompile: [
avatar-180.jpg,
avatar-196.jpg,
avatar-300.jpg,
moon.svg,
moon-dark.svg
]
author: Alex Gibson
domain: https://alxgbsn.co.uk
url: https://alxgbsn.co.uk
exclude:
- config.rb
- node_modules
- script
- Gemfile
- Gemfile.lock
- package-lock.json
- package.json
- travis.yml
- vendor
feed:
path: /feed/index.xml
highlighter: rouge
markdown: kramdown
paginate: 10
paginate_path: 'archive/:num/'
permalink: /:year/:month/:day/:title/
plugins:
- jekyll-assets
- jekyll-feed
- jekyll-paginate
rdiscount extensions: [smart]
title: Alex Gibson, Front End Developer
|
Update site pages (disabled About page) | # Permalinks
permalink: pretty
# Setup
title: M4M Geek Blog
tagline: Blog by M4M developers
url: https://move4mobile.github.io
paginate: 1
baseurl: ""
# Assets
#
# We specify the directory for Jekyll so we can use @imports.
sass:
sass_dir: _sass
style: :compressed
# About/contact
author:
name: Michael Schilling
url: https://twitter.com/mschilling
email: mschilling@move4mobile.com
# Custom vars
version: 1.0.0
github:
repo: github.com/move4mobile/move4mobile.github.io
# This is the list of pages to include in the header of the website.
pages_list:
About: '/about/'
Archive: '/archive/'
Feed: '/atom.xml'
# Gems
gems:
- jekyll-paginate
- jekyll-gist
| # Permalinks
permalink: pretty
# Setup
title: M4M Geek Blog
tagline: Blog by M4M developers
url: https://move4mobile.github.io
paginate: 1
baseurl: ""
# Assets
#
# We specify the directory for Jekyll so we can use @imports.
sass:
sass_dir: _sass
style: :compressed
# About/contact
author:
name: Michael Schilling
url: https://twitter.com/mschilling
email: mschilling@move4mobile.com
# Custom vars
version: 1.0.0
github:
repo: github.com/move4mobile/move4mobile.github.io
# This is the list of pages to include in the header of the website.
pages_list:
# About: '/about/'
Archief: '/archive/'
Feed: '/atom.xml'
# Gems
gems:
- jekyll-paginate
- jekyll-gist
|
Add NodeJS 6 to the set of versions to test | sudo: false
os:
- linux
- osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
- TRAVIS_NODE_VERSION="0.10"
- TRAVIS_NODE_VERSION="0.12"
- TRAVIS_NODE_VERSION="iojs"
- TRAVIS_NODE_VERSION="4"
language: cpp
install:
- rm -rf ~/.nvm
- git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`)
- source ~/.nvm/nvm.sh
- nvm install $TRAVIS_NODE_VERSION
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
- $CXX --version
- npm install
- npm install -g grunt-cli
script: npm test
| sudo: false
os:
- linux
- osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
- TRAVIS_NODE_VERSION="0.10"
- TRAVIS_NODE_VERSION="0.12"
- TRAVIS_NODE_VERSION="iojs"
- TRAVIS_NODE_VERSION="4"
- TRAVIS_NODE_VERSION="6"
language: cpp
install:
- rm -rf ~/.nvm
- git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`)
- source ~/.nvm/nvm.sh
- nvm install $TRAVIS_NODE_VERSION
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
- $CXX --version
- npm install
- npm install -g grunt-cli
script: npm test
|
Include Django 2.1 in matrix testing | language: python
python:
- 2.7
- 3.5
- 3.6
install:
- pip install ${DJANGO}
- pip install -r requirements.txt
- pip install -r optional-requirements.txt
script: python manage.py test
env:
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.9,<1.10"
- DJANGO="Django>=1.10,<1.11"
- DJANGO="Django>=1.11,<1.12"
- DJANGO="Django>=2.0,<2.1"
matrix:
exclude:
- python: 2.7
env: DJANGO="Django>=2.0,<2.1" | language: python
python:
- 2.7
- 3.5
- 3.6
install:
- pip install ${DJANGO}
- pip install -r requirements.txt
- pip install -r optional-requirements.txt
script: python manage.py test
env:
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.9,<1.10"
- DJANGO="Django>=1.10,<1.11"
- DJANGO="Django>=1.11,<1.12"
- DJANGO="Django>=2.0,<2.1"
- DJANGO="Django>=2.1,<2.2"
matrix:
exclude:
- python: 2.7
env: DJANGO="Django>=2.0,<2.1"
- python: 2.7
env: DJANGO="Django>=2.1,<2.2"
|
Revert "Travis: allow ruby-head to fail since it's outdated" | sudo: false
language: ruby
rvm:
- 2.1.8
- 2.2.4
- 2.3.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
install:
- git clone https://github.com/ruby/mspec.git ../mspec
script:
- ../mspec/bin/mspec
branches:
only:
- master
- /^try/
notifications:
email:
on_success: change
on_failure: change
| sudo: false
language: ruby
rvm:
- 2.1.8
- 2.2.4
- 2.3.0
- ruby-head
install:
- git clone https://github.com/ruby/mspec.git ../mspec
script:
- ../mspec/bin/mspec
branches:
only:
- master
- /^try/
notifications:
email:
on_success: change
on_failure: change
|
Use Bionic instead of Xenial in Travis | language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
install:
- pip install -r requirements.txt
script:
- pylint --output-format colorized --reports no setup.py expect_exception tests && python -m unittest --verbose tests.expect_exception_test
| dist: bionic
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
install:
- pip install -r requirements.txt
script:
- pylint --output-format colorized --reports no setup.py expect_exception tests && python -m unittest --verbose tests.expect_exception_test
|
Drop end of life python versions and add support for latest Python 3 versions | # Config file for automatic testing at travis-ci.org
language: python
python:
- "3.4"
- "3.3"
- "2.7"
- "2.6"
- "pypy"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements.txt
# command to run tests, e.g. python setup.py test
script: python setup.py test
| # Config file for automatic testing at travis-ci.org
language: python
dist: xenial
python:
- "3.8"
- "3.7"
- "3.6"
- "3.5"
- "2.7"
- "pypy"
- "pypy3"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements.txt
# command to run tests, e.g. python setup.py test
script: python setup.py test
|
Add ClusterIP as type as proposed to avoid that OpenShift Online switches to LoadBalancer which is not allowed on AWS. OBST-28 | apiVersion: v1
kind: Service
metadata:
name: springboot-rest
spec:
ports:
- protocol: TCP
port: 8080
targetPort: 8080
| apiVersion: v1
kind: Service
metadata:
name: springboot-rest
spec:
ports:
- protocol: TCP
port: 8080
targetPort: 8080
type: ClusterIP
|
Update Mastercom Workbook to 5.0 (500) | AntiFeatures:
- NonFreeNet
Categories:
- Science & Education
- Internet
License: GPL-3.0-or-later
AuthorName: Stypox
AuthorEmail: stypox@pm.me
SourceCode: https://github.com/Stypox/mastercom-workbook
IssueTracker: https://github.com/Stypox/mastercom-workbook/issues
Changelog: https://github.com/Stypox/mastercom-workbook/releases
AutoName: Mastercom Workbook
RepoType: git
Repo: https://github.com/Stypox/mastercom-workbook
Builds:
- versionName: '3.2'
versionCode: 302
commit: v3.2
subdir: app
gradle:
- yes
- versionName: '4.0'
versionCode: 400
commit: v4.0
subdir: app
gradle:
- yes
- versionName: '4.1'
versionCode: 401
commit: v4.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags .*[0-9]$
CurrentVersion: '4.1'
CurrentVersionCode: 401
| AntiFeatures:
- NonFreeNet
Categories:
- Science & Education
- Internet
License: GPL-3.0-or-later
AuthorName: Stypox
AuthorEmail: stypox@pm.me
SourceCode: https://github.com/Stypox/mastercom-workbook
IssueTracker: https://github.com/Stypox/mastercom-workbook/issues
Changelog: https://github.com/Stypox/mastercom-workbook/releases
AutoName: Mastercom Workbook
RepoType: git
Repo: https://github.com/Stypox/mastercom-workbook
Builds:
- versionName: '3.2'
versionCode: 302
commit: v3.2
subdir: app
gradle:
- yes
- versionName: '4.0'
versionCode: 400
commit: v4.0
subdir: app
gradle:
- yes
- versionName: '4.1'
versionCode: 401
commit: v4.1
subdir: app
gradle:
- yes
- versionName: '5.0'
versionCode: 500
commit: v5.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags .*[0-9]$
CurrentVersion: '5.0'
CurrentVersionCode: 500
|
Update Travis config for Android SDK installation. | language: java
jdk: oraclejdk7
before_install:
# Install base Android SDK
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 libreadline6-dev:i386 libncurses5-dev:i386; fi
- wget -O android-sdk.tgz http://dl.google.com/android/android-sdk_r22.0.4-linux.tgz
- tar xzf android-sdk.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# Install required Android components.
# Note that the command below only accepts the first license. This is actually convenient, since
# it prevents the installation of the ATOM and MIPS emulator images.
- echo yes | android update sdk --filter platform-tools,build-tools-18.0.0,android-17,android-16,extra-android-support,extra-google-m2repository,extra-android-m2repository --no-ui --force
install:
- TERM=dumb ./gradlew tasks
- mvn install
script:
- TERM=dumb ./gradlew build
- mvn install
| language: java
jdk: oraclejdk7
before_install:
# Install base Android SDK
- sudo apt-get install -qq libstdc++6:i386 lib32z1
- export COMPONENTS=build-tools-18.0.0,android-17,android-16,extra-android-support,extra-google-m2repository,extra-android-m2repository
- curl -L https://raw.github.com/embarkmobile/android-sdk-installer/master/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS
- source ~/.android-sdk-installer/env
install:
- TERM=dumb ./gradlew tasks
- mvn install
script:
- TERM=dumb ./gradlew build
- mvn install
|
Update rubygems at start of CI | language: ruby
# cache: bundler
# We would like to enable travis' bundler cache (cache: bundler) but for some reason
# travis installs our bundle under the test directory (test/vendor/bundle/*) and, as a
# result, travis tries to run all of the tests of all of our dependencies!
# TODO: There's probably a way to configure the bundle path
before_install:
- gem update bundler
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
gemfile:
- test/gemfiles/Gemfile.rails-3.2.x
- test/gemfiles/Gemfile.rails-4.0.x
- test/gemfiles/Gemfile.rails-4.1.x
- test/gemfiles/Gemfile.rails-4.2.x
- test/gemfiles/Gemfile.rails-5.0.x
matrix:
exclude:
- rvm: 2.1.9
gemfile: test/gemfiles/Gemfile.rails-5.0.x
- rvm: 2.2.5
gemfile: test/gemfiles/Gemfile.rails-3.2.x
- rvm: 2.3.1
gemfile: test/gemfiles/Gemfile.rails-3.2.x
fast_finish: true
sudo: false
| language: ruby
# cache: bundler
# We would like to enable travis' bundler cache (cache: bundler) but for some reason
# travis installs our bundle under the test directory (test/vendor/bundle/*) and, as a
# result, travis tries to run all of the tests of all of our dependencies!
# TODO: There's probably a way to configure the bundle path
before_install:
- gem update --system
- gem update bundler
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
gemfile:
- test/gemfiles/Gemfile.rails-3.2.x
- test/gemfiles/Gemfile.rails-4.0.x
- test/gemfiles/Gemfile.rails-4.1.x
- test/gemfiles/Gemfile.rails-4.2.x
- test/gemfiles/Gemfile.rails-5.0.x
matrix:
exclude:
- rvm: 2.1.9
gemfile: test/gemfiles/Gemfile.rails-5.0.x
- rvm: 2.2.5
gemfile: test/gemfiles/Gemfile.rails-3.2.x
- rvm: 2.3.1
gemfile: test/gemfiles/Gemfile.rails-3.2.x
fast_finish: true
sudo: false
|
Use more recent version of MongoDB | language: python
python: 2.7
sudo: false
install:
- pip install -e .[dev]
services:
- mongodb
script:
- trial benchmark
| language: python
python: 2.7
sudo: false
install:
- pip install -e .[dev]
addons:
apt:
sources:
- mongodb-upstart
- mongodb-3.0-precise
packages:
- mongodb-org-server
- mongodb-org-shell
before_script:
- "until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done"
script:
- trial benchmark
|
Drop go 1.5 from the builds | language: go
go:
- 1.5
- 1.6
matrix:
- fast_finish: true
install:
- export GOPATH=$HOME/gopath
- export PATH=$PATH:$HOME/gopath/bin
- make clean
script:
- export GOPATH=$HOME/gopath
- export PATH=$HOME/gopath/bin:$PATH
- make build
- make test
| language: go
go:
- 1.6
matrix:
- fast_finish: true
install:
- export GOPATH=$HOME/gopath
- export PATH=$PATH:$HOME/gopath/bin
- make clean
script:
- export GOPATH=$HOME/gopath
- export PATH=$HOME/gopath/bin:$PATH
- make build
- make test
|
Add LUA_PC=luajit LUA="luajit -joff" to Travis build matrix | language: c
compiler:
- clang
- gcc
env:
- LUA_PC=lua5.1 PACKAGES="lua5.1 liblua5.1-dev"
- LUA_PC=lua5.2 PACKAGES="lua5.2 liblua5.2-dev"
- LUA_PC=luajit PACKAGES="luajit libluajit-5.1-dev" PPA=mwild1/ppa
before_install:
- if test -n "${PPA}"; then sudo add-apt-repository -y "ppa:${PPA}"; fi
- sudo apt-get update -qq
install:
- sudo apt-get -y install pkg-config ${PACKAGES}
- git clone git://github.com/google/gumbo-parser.git
- cd gumbo-parser
- sh autogen.sh
- ./configure --prefix=/usr
- make
- sudo make install
- cd ..
- sudo ldconfig
script:
- make env
- make check
- make check-install
branches:
only:
- master
notifications:
email:
on_success: change
on_failure: always
| language: c
compiler:
- clang
- gcc
env:
- LUA_PC=lua5.1 PACKAGES="lua5.1 liblua5.1-dev"
- LUA_PC=lua5.2 PACKAGES="lua5.2 liblua5.2-dev"
- LUA_PC=luajit PACKAGES="luajit libluajit-5.1-dev"
- LUA_PC=luajit PACKAGES="luajit libluajit-5.1-dev" LUA="luajit -joff"
before_install:
- test luajit = ${LUA_PC} && sudo add-apt-repository -y ppa:mwild1/ppa || :
- sudo apt-get update -qq
install:
- sudo apt-get -y install pkg-config ${PACKAGES}
- git clone git://github.com/google/gumbo-parser.git
- cd gumbo-parser
- sh autogen.sh
- ./configure --prefix=/usr
- make
- sudo make install
- cd ..
- sudo ldconfig
script:
- make env
- make check
- make check-install
branches:
only:
- master
notifications:
email:
on_success: change
on_failure: always
|
Remove 'sudo'; It's over use | language: php
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
sudo: required
before_install: chmod a+x ./phpunit.phar
script: sudo ./phpunit.phar AdderTest
| language: php
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
sudo: required
before_install: chmod a+x ./phpunit.phar
script: ./phpunit.phar AdderTest
|
Correct bad paths in code coverage upload | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
install:
- composer install --prefer-source
after_script:
- bash -c '[[ -f "build/logs/clover.xml" ]] && wget https://scrutinizer-ci.com/ocular.phar'
- bash -c '[[ -f "build/logs/clover.xml" ]] && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml'
sudo: false
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
install:
- composer install --prefer-source
after_script:
- bash -c '[[ -f "build/clover.xml" ]] && wget https://scrutinizer-ci.com/ocular.phar'
- bash -c '[[ -f "build/clover.xml" ]] && php ocular.phar code-coverage:upload --format=php-clover build/clover.xml'
sudo: false
|
Use Xcode 11 on CI | language: ruby
cache:
directories:
- bundle
rvm:
- 2.6.0
- 2.5.3
script:
- bundle exec rake spec
| language: ruby
cache:
directories:
- bundle
os: osx
osx_image: xcode11
rvm:
- 2.6.0
- 2.5.3
script:
- bundle exec rake spec
|
Update notebook recipe to version 4.4.1 | {% set version = "4.3.2" %}
package:
name: notebook
version: {{ version }}
source:
fn: notebook-{{ version }}.tar.gz
url: https://pypi.io/packages/source/n/notebook/notebook-{{ version }}.tar.gz
sha256: fc77edf4ec295542172aa66a3e9d527e75038fcaadd3ed20afbf8596e5629aa9
build:
script: pip install --no-deps .
number: 0
entry_points:
- jupyter-notebook = notebook.notebookapp:main
- jupyter-nbextension = notebook.nbextensions:main
- jupyter-serverextension = notebook.serverextensions:main
requirements:
build:
- python
- pip
run:
- ipykernel
- ipython_genutils
- jinja2
- jupyter_core
- jupyter_client
- nbconvert
- nbformat
- python
- terminado
- tornado >=4
- traitlets
test:
commands:
- jupyter notebook -h
- jupyter nbextension -h
- jupyter serverextension -h
imports:
- notebook
about:
home: http://jupyter.org
license: BSD 3-clause
summary: A web-based notebook environment for interactive computing
| {% set version = "4.4.1" %}
package:
name: notebook
version: {{ version }}
source:
fn: notebook-{{ version }}.tar.gz
url: https://pypi.io/packages/source/n/notebook/notebook-{{ version }}.tar.gz
sha256: dfadef2babd7c04c6c257df7d07d7ba587e503dbb4e4c95305f9a95b8d3a9765
build:
script: pip install --no-deps .
number: 0
entry_points:
- jupyter-notebook = notebook.notebookapp:main
- jupyter-nbextension = notebook.nbextensions:main
- jupyter-serverextension = notebook.serverextensions:main
requirements:
build:
- python
- pip
run:
- ipykernel
- ipython_genutils
- jinja2
- jupyter_core
- jupyter_client
- nbconvert
- nbformat
- python
- terminado
- tornado >=4
- traitlets
test:
commands:
- jupyter notebook -h
- jupyter nbextension -h
- jupyter serverextension -h
imports:
- notebook
about:
home: http://jupyter.org
license: BSD 3-clause
summary: A web-based notebook environment for interactive computing
|
Deploy to the github pages | language: node_js
node_js:
- "0.11"
before_install:
- bundle install
- npm install -g grunt-cli
- npm install -g bower
- bower install
install:
- npm install
script:
- grunt build
| language: node_js
node_js:
- '0.11'
before_install:
- bundle install
- npm install -g grunt-cli
- npm install -g bower
- bower install
install:
- npm install
script:
- grunt build
after_success:
- cd dist
- git add -A
- git commit -m 'Update'
- '[ "$TRAVIS_BRANCH" == "master" ] && [ $GH_TOKEN ] && git push --quiet https://$GH_TOKEN@github.com/ashphy/jsonpath-online-evaluator.git gh-pages 2> /dev/null'
env:
global:
secure: JTAInbRSvDsG+FIAW8eRmXKtUg2zMkozDShB216vtMabtjE8Phnmj8fAlFx+sRbGHbmi33iCa/YrquHEgj3tTqLUJPqIvAeKlkBmnAZhpfqfkuUifsjRpfC5S0Noq/TIH4Fi8xYO4LUmXmhaFHQDfT869FBZ2Y5jRytBbGXvIeA=
|
Remove ruby-head and mri-1.9.2 from matrix | language: ruby
script: 'bundle exec rake ci'
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
notifications:
irc:
channels:
- irc.freenode.org#rom-rb
on_success: never
on_failure: change
| language: ruby
script: 'bundle exec rake ci'
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- jruby-head
- rbx-19mode
notifications:
irc:
channels:
- irc.freenode.org#rom-rb
on_success: never
on_failure: change
|
Clean up nvm node versions | ---
nodejs_nvm_ver: "0.29.0"
nodejs_nvm_install_url: "https://raw.githubusercontent.com/creationix/nvm/v{{nodejs_nvm_ver}}/install.sh"
nodejs_nvm_install_script: "{{home_dir}}/tmp/install.sh"
nodejs_default_ver: "6.5"
nodejs_versions:
- "0.10"
- "0.12"
- "4.6"
- "6.5"
nodejs_versions_to_remove:
- "0.10.43"
- "0.12.12"
- "4.2.4"
- "5.9.1"
- "5.10.1"
- "5.12.0"
nodejs_npm_packages:
- bower
- coffee
- coffeelint
- cult
- eslint
- grunt
- grunt-cli
- gulp
- jshint
- jsxhint
- yo
| ---
nodejs_nvm_ver: "0.29.0"
nodejs_nvm_install_url: "https://raw.githubusercontent.com/creationix/nvm/v{{nodejs_nvm_ver}}/install.sh"
nodejs_nvm_install_script: "{{home_dir}}/tmp/install.sh"
nodejs_default_ver: "6.9"
nodejs_versions:
- "6.9"
nodejs_versions_to_remove:
- "0.10.43"
- "0.12.12"
- "0.10.44"
- "0.10.45"
- "0.10.46"
- "0.10.47"
- "0.10.48"
- "0.12.13"
- "0.12.14"
- "0.12.15"
- "0.12.16"
- "0.12.17"
- "0.12.18"
- "4.6.2"
- "4.2.4"
- "5.9.1"
- "5.10.1"
- "5.12.0"
- "6.5.0"
nodejs_npm_packages:
- bower
- coffee
- coffeelint
- cult
- eslint
- grunt
- grunt-cli
- gulp
- jshint
- jsxhint
- yo
|
Remove connectedCheck from Travis script | language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-24.0.2
- android-25
- extra-android-m2repository
script:
- ./gradlew build connectedCheck | language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-24.0.2
- android-25
- extra-android-m2repository
script:
- ./gradlew check -PdisablePreDex --continue --stacktrace |
Update Travis CI to test latest point releases. | rvm:
- 2.0.0
- 2.1.2
- 2.2.0
| rvm:
- 2.0.0
- 2.1.5
- 2.2.1
|
Remove PHP 5.5 from Travis for now. | language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: phpunit | language: php
php:
- 5.6
- 7.0
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: phpunit
|
Fix typo on release note for bug/1226003 | ---
features:
- |
Floating IP can be released when it is disassociated from a server.
"Release Floating IP" checkbox is now available in "Disassociate
Floating IP" form.
upgrade:
- |
``simple_ip_management`` setting in ``HORIZON_CONFIG`` was dropped.
This actually has no meaning after nova-network support was dropped in Pike.
If you use this setting to hide ``Disaccoaite Floating IP`` button in the
instance table, use the policy file instead.
| ---
features:
- |
Floating IP can be released when it is disassociated from a server.
"Release Floating IP" checkbox is now available in "Disassociate
Floating IP" form.
upgrade:
- |
``simple_ip_management`` setting in ``HORIZON_CONFIG`` was dropped.
This actually has no meaning after nova-network support was dropped in Pike.
If you use this setting to hide ``Disassociate Floating IP`` button in the
instance table, use the policy file instead.
|
Create permalinks for section headers | site_name: lcobucci/jwt
theme: readthedocs
nav:
- Intro:
- 'index.md'
- 'installation.md'
- Usage:
- 'configuration.md'
- 'issuing-tokens.md'
- 'parsing-tokens.md'
- 'validating-tokens.md'
- Guides:
- 'extending-the-library.md'
- 'upgrading.md'
markdown_extensions:
- admonition
| site_name: lcobucci/jwt
theme: readthedocs
nav:
- Intro:
- 'index.md'
- 'installation.md'
- Usage:
- 'configuration.md'
- 'issuing-tokens.md'
- 'parsing-tokens.md'
- 'validating-tokens.md'
- Guides:
- 'extending-the-library.md'
- 'upgrading.md'
markdown_extensions:
- admonition
- toc:
permalink: true
|
Use Kramdown instead of Redcarpet | title: Joe Duffy's Blog
url: http://joeduffyblog.com
description: Adventures in the high-tech underbelly
email: joeduffy@acm.org
highlighter: pygments
markdown: redcarpet
excerpt_separator: "\n\n"
permalink: /:year/:month/:day/:title/
timezone: America/Los_Angeles
paginate: 15
safe: true
lsi: false
exclude: [.gitignore, CNAME, Dockerfile, README.md]
| title: Joe Duffy's Blog
url: http://joeduffyblog.com
description: Adventures in the high-tech underbelly
email: joeduffy@acm.org
highlighter: pygments
markdown: kramdown
excerpt_separator: "\n\n"
permalink: /:year/:month/:day/:title/
timezone: America/Los_Angeles
paginate: 15
safe: true
lsi: false
exclude: [.gitignore, CNAME, Dockerfile, README.md]
|
Use new CDN bucket URL for remote libraries | name: Nasjonal Turbase
description: 'Dokumentasjon for Nasjonal Turbase'
cdn: http://cdn.turistforeningen.no
terms: https://docs.google.com/document/d/13aB_C9CGDYYUvfbVgSwjpHnzoUx2uR2NmeEvk7OGnZU/pub
ga_id: UA-45821478-1
encoding: UTF-8
relative_permalinks: false
permalink: /nyheter/:year/:month/:day/:title/
excerpt_separator: <!--more-->
markdown: redcarpet
highlighter: true
timezone: NO
safe: true
gems:
- jekyll-mentions
- jemoji
- jekyll-redirect-from
- jekyll-sitemap
| name: Nasjonal Turbase
description: 'Dokumentasjon for Nasjonal Turbase'
cdn: https://s3-eu-west-1.amazonaws.com/turistforeningen
terms: https://docs.google.com/document/d/13aB_C9CGDYYUvfbVgSwjpHnzoUx2uR2NmeEvk7OGnZU/pub
ga_id: UA-45821478-1
encoding: UTF-8
relative_permalinks: false
permalink: /nyheter/:year/:month/:day/:title/
excerpt_separator: <!--more-->
markdown: redcarpet
highlighter: true
timezone: NO
safe: true
gems:
- jekyll-mentions
- jemoji
- jekyll-redirect-from
- jekyll-sitemap
|
Drop obsolete Image.derivatives in favour of File.derivatives | ##
# Copyright (c) 2011-2012 Sprymix Inc.
# All rights reserved.
#
# See LICENSE for details.
##
%SCHEMA metamagic.caos.backends.yaml.schemas.Semantics
%IMPORT metamagic.utils.fs.file AS file
---
links:
derivatives:
properties:
name: str
concepts:
Image:
extends: file.File
links:
derivatives:
Image:
mapping: "1*"
ImageContainer:
abstract: True
links:
images:
Image:
mapping: "**"
Video:
extends: file.File
| ##
# Copyright (c) 2011-2013 Sprymix Inc.
# All rights reserved.
#
# See LICENSE for details.
##
%SCHEMA metamagic.caos.backends.yaml.schemas.Semantics
%IMPORT metamagic.utils.fs.file AS file
---
concepts:
Image:
extends: file.File
ImageContainer:
abstract: True
links:
images:
Image:
mapping: "**"
Video:
extends: file.File
|
Add manual trigger for the bot | name: Bot schedule
on:
schedule:
- cron: "0 */12 * * *"
jobs:
bot:
runs-on: ubuntu-latest
steps:
- name: Run bot
run: docker run -it ${{ github.repository_owner }}/rol-automizer -u ${{ secrets.ROL_USERNAME }} -p ${{ secrets.ROL_PASSWORD }}
| name: Bot schedule
on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
inputs: {}
jobs:
bot:
runs-on: ubuntu-latest
steps:
- name: Run bot
run: docker run -it ${{ github.repository_owner }}/rol-automizer -u ${{ secrets.ROL_USERNAME }} -p ${{ secrets.ROL_PASSWORD }}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.