Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Switch to new container-based Travis CI infrastructure | language: ruby
rvm:
- 1.9.3
bundler_args: --jobs 7 --without docs
install: bundle install --without integration
script: bundle exec rake
| #
# Copyright © 2014 Cask Data, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed 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: ruby
rvm:
- 1.9.3
cache: bundler
sudo: false
bundler_args: --jobs 7 --without docs integration
script: bundle exec rake
|
Use the pre-release builds of chefdk | # 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/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec spec
| # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-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/rubocop --version
- /opt/chefdk/embedded/bin/rubocop
- /opt/chefdk/embedded/bin/foodcritic --version
- /opt/chefdk/embedded/bin/foodcritic . --exclude spec
- /opt/chefdk/embedded/bin/rspec spec
|
Add support for PHP 5.6. | language: php
php:
- 5.3
- 5.4
- 5.5
before_script:
- composer install --dev
- vendor/bin/phpcs --config-set encoding utf-8
script:
# Run PHP lint on all PHP files.
- find Classes/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
# Check the coding style.
- vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/Emogrifier/ Classes/
- vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/EmogrifierTests/ Tests/
# Run the unit tests.
- vendor/bin/phpunit Tests/
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
before_script:
- composer install --dev
- vendor/bin/phpcs --config-set encoding utf-8
script:
# Run PHP lint on all PHP files.
- find Classes/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
# Check the coding style.
- vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/Emogrifier/ Classes/
- vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/EmogrifierTests/ Tests/
# Run the unit tests.
- vendor/bin/phpunit Tests/
|
Use Travis "trusty" build and wildcard Ruby versions. | language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.2.6
- 2.3.3
- 2.4.0
- jruby
- rbx
cache: bundler
sudo: false
matrix:
allow_failures:
- rvm: rbx
- rvm: jruby
| language: ruby
bundler_args: --without debug
script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.2
- 2.3
- 2.4
- jruby-9
- rbx-3
cache: bundler
sudo: false
matrix:
allow_failures:
- rvm: jruby-9
- rvm: rbx-3
dist: trusty
|
Remove ruby-2.0.0 from CI because nokogiri 1.8.0 is incompatible | rvm:
- 2.0.0
- 2.3.1
- 2.3.3
notifications:
email:
on_success: change
on_failure: always
sudo: false
| rvm:
- 2.3.1
- 2.3.3
notifications:
email:
on_success: change
on_failure: always
sudo: false
|
Update Ruby version targets in Travis CI | language: ruby
rvm:
- 2.2.0
- 2.1.5
- 2.0.0
- ruby-head
- jruby-1.6.8
- rbx-2.2.10
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-1.6.8
- rvm: rbx-2.2.10
| language: ruby
rvm:
- 2.6.3
- 2.5.5
- 2.4.6
- ruby-head
- jruby-1.7.27
- jruby-9.2.7.0
- rbx-3.107
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-1.7.27
- rvm: jruby-9.2.7.0
- rvm: rbx-3.107
|
Uninstall all requirements from requirements.txt | language: "python"
python:
- 2.7
- 3.3
- pypy
virtualenv:
system_site_packages: true
before_install:
- pip freeze
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-base-dev liblapack-dev gfortran cython
- pip uninstall numpy
#- sudo apt-get install python-numpy python3-numpy
#- sudo apt-get install python-scipy python3-scipy
#- sudo apt-get install python-matplotlib
#- sudo apt-get install python-sklearn
install:
- pip install -r requirements.txt --use-mirrors
matrix:
allow_failures:
- python: 3.3
- python: pypy
script: ./testall.sh
| language: "python"
python:
- 2.7
- 3.3
- pypy
virtualenv:
system_site_packages: true
before_install:
- pip freeze
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-base-dev liblapack-dev gfortran cython
- pip uninstall -r requirements.txt -y
#- sudo apt-get install python-numpy python3-numpy
#- sudo apt-get install python-scipy python3-scipy
#- sudo apt-get install python-matplotlib
#- sudo apt-get install python-sklearn
install:
- pip install -r requirements.txt --use-mirrors
matrix:
allow_failures:
- python: 3.3
- python: pypy
script: ./testall.sh
|
Test on Ruby 2.2 and auto test on patched versions | language: ruby
rvm:
- '1.9.3'
- '2.0.0'
- '2.1.1'
# - jruby-19mode # JRuby in 1.9 mode -> Problems with bigint
# - rbx-19mode
# script: bundle exec rspec spec
script:
bundle exec rspec
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libgsl0-dev
| language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
# - jruby-19mode # JRuby in 1.9 mode -> Problems with bigint
# - rbx-19mode
# script: bundle exec rspec spec
script:
bundle exec rspec
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libgsl0-dev
|
Remove Travis run with 5.6 and old versions | language: php
php:
- 5.6
- 7.0
- 7.1
- hhvm
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
## Cache composer
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 5.6
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
script:
- vendor/bin/phpcs --standard=psr2 src/
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- |
if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
| language: php
php:
- 5.6
- 7.0
- 7.1
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
## Cache composer
cache:
directories:
- $HOME/.composer/cache
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
script:
- vendor/bin/phpcs --standard=psr2 src/
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- |
if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
|
Configure Travis CI to install Python | script: tests/tests.py
notifications:
email: false
slack:
secure: ZVtvd117VvwT8UxgAGB5UiCUzJJmdtI1QA1SCo62iz3yW2siDl7auU76Jqk4M8zHkX4NnNcWwBBUM9UwALhyr8sdLUcmN6tMlDbBPdWaI3eenTzbYuIh98wekADngSoIwtg3cOqj/OUOA/8ar5Yz8Cv7cIEjE6gURxIjFTS5Odo=
| language: python
python: "3.4"
script: tests/tests.py
notifications:
email: false
slack:
secure: ZVtvd117VvwT8UxgAGB5UiCUzJJmdtI1QA1SCo62iz3yW2siDl7auU76Jqk4M8zHkX4NnNcWwBBUM9UwALhyr8sdLUcmN6tMlDbBPdWaI3eenTzbYuIh98wekADngSoIwtg3cOqj/OUOA/8ar5Yz8Cv7cIEjE6gURxIjFTS5Odo=
|
Test against Swift 4.2 on macOS | os:
- osx
- linux
env:
- INTEGRATION_TESTS=false
- INTEGRATION_TESTS=true
language: generic
dist: trusty
osx_image: xcode9
before_install:
- python -V
- pip -V
install:
- if [ $INTEGRATION_TESTS == 'true' ]; then pip install srptools; fi
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
script:
- if [ $INTEGRATION_TESTS == 'true' ]; then make test-with-python; fi
- if [ $INTEGRATION_TESTS == 'false' ]; then make test; fi
matrix:
allow_failures:
- env: INTEGRATION_TESTS=true
include:
- os: osx
osx_image: xcode9.4
install:
- brew update
- brew upgrade swiftlint || true
script: swiftlint --strict
| os:
- osx
- linux
env:
- INTEGRATION_TESTS=false
- INTEGRATION_TESTS=true
language: generic
dist: trusty
osx_image:
- xcode9.4
- xcode10
before_install:
- python -V
- pip -V
install:
- if [ $INTEGRATION_TESTS == 'true' ]; then pip install srptools; fi
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
script:
- if [ $INTEGRATION_TESTS == 'true' ]; then make test-with-python; fi
- if [ $INTEGRATION_TESTS == 'false' ]; then make test; fi
matrix:
allow_failures:
- env: INTEGRATION_TESTS=true
exclude:
- os: linux
osx_image: xcode10
include:
- os: osx
osx_image: xcode9.4
install:
- brew update
- brew upgrade swiftlint || true
script: swiftlint --strict
|
Add unique elements to system names | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed 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.
---
driver:
name: terraform
provisioner:
name: terraform
verifier:
name: terraform
platforms:
- name: local
suites:
- name: simple_example
driver:
root_module_directory: test/fixtures/simple_example/
verifier:
color: false
systems:
- name: simple_example
backend: local
controls:
- gcloud
- name: simple_example
backend: gcp
shell: true
controls:
- gcp
| # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed 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.
---
driver:
name: terraform
provisioner:
name: terraform
verifier:
name: terraform
platforms:
- name: local
suites:
- name: simple_example
driver:
root_module_directory: test/fixtures/simple_example/
verifier:
color: false
systems:
- name: simple_example local
backend: local
controls:
- gcloud
- name: simple_example gcp
backend: gcp
shell: true
controls:
- gcp
|
Add GITHUB_TOKEN for coveralls on Github Actions | ---
name: CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version:
- 3.5
- 3.6
- 3.7
- 3.8
- pypy3
django-version:
- Django>=2.2,<3.0
- Django>=3.0,<3.1
exclude:
- python-version: 3.5
django-version: Django>=3.0,<3.1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Django
run: pip install "${{ matrix.django-version}}"
- name: Install coveralls
run: pip install coveralls
- name: Run tests
run: coverage run ./runtests.py
- name: Run coveralls
run: coveralls
pre-commit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: pre-commit/action@v2.0.0
| ---
name: CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version:
- 3.5
- 3.6
- 3.7
- 3.8
- pypy3
django-version:
- Django>=2.2,<3.0
- Django>=3.0,<3.1
exclude:
- python-version: 3.5
django-version: Django>=3.0,<3.1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Django
run: pip install "${{ matrix.django-version}}"
- name: Install coveralls
run: pip install coveralls
- name: Run tests
run: coverage run ./runtests.py
- name: Run coveralls
run: coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pre-commit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: pre-commit/action@v2.0.0
|
Test against 2.0.0 and 2.1.0 | script: "bundle exec rake spec"
language: ruby
rvm:
- 1.9.3
- ruby-head
- jruby
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby
- rvm: rbx-19mode
gemfile:
- gemfiles/rails_32.gemfile
- gemfiles/rails_40.gemfile
| script: "bundle exec rake spec"
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- ruby-head
- jruby
- rbx-19mode
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby
- rvm: rbx-19mode
gemfile:
- gemfiles/rails_32.gemfile
- gemfiles/rails_40.gemfile
|
Update Django versions in Travis config. | language: python
sudo: false
python:
- "3.5"
- "3.4"
- "3.3"
- "2.7"
env:
- DJANGO_VERSION=1.8.9
- DJANGO_VERSION=1.9.2
install:
- pip install coverage>=4.0
- pip install flake8
- pip install -q Django==$DJANGO_VERSION
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.9.2
script:
- coverage run setup.py test
- flake8 registration
- coverage report -m
| language: python
sudo: false
python:
- "3.5"
- "3.4"
- "3.3"
- "2.7"
env:
- DJANGO_VERSION=1.8.10
- DJANGO_VERSION=1.9.3
install:
- pip install coverage>=4.0
- pip install flake8
- pip install -q Django==$DJANGO_VERSION
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.9.3
script:
- coverage run setup.py test
- flake8 registration
- coverage report -m
|
Test against Ruby 2.x versions | # http://about.travis-ci.org/docs/user/build-configuration/
rvm:
- 1.9.3
- 2.0.0
- rbx-2
before_install:
- curl -L https://github.com/kr/beanstalkd/archive/v1.9.tar.gz | tar xz -C /tmp
- cd /tmp/beanstalkd-1.9/
- make
- ./beanstalkd &
- cd $TRAVIS_BUILD_DIR
- gem update --system
- gem update bundler
install:
- bundle install
matrix:
allow_failures:
- rvm: rbx-2
script:
- bundle exec rake test
gemfile: Gemfile
notifications:
recipients:
- nesquena@gmail.com
- therealdave.myron@gmail.com
| # http://about.travis-ci.org/docs/user/build-configuration/
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- rbx-2
before_install:
- curl -L https://github.com/kr/beanstalkd/archive/v1.9.tar.gz | tar xz -C /tmp
- cd /tmp/beanstalkd-1.9/
- make
- ./beanstalkd &
- cd $TRAVIS_BUILD_DIR
- gem update --system
- gem update bundler
matrix:
allow_failures:
- rvm: rbx-2
script:
- bundle exec rake test
gemfile: Gemfile
notifications:
recipients:
- nesquena@gmail.com
- therealdave.myron@gmail.com
|
Update node.js version in Travis tests env | language: node_js
node_js: 4
cache:
directories:
- test/node_modules
install:
- cd test
- npm install -g gulp-cli
- npm install
script:
- gulp eslint
| language: node_js
node_js: 6
cache:
directories:
- test/node_modules
install:
- cd test
- npm install -g gulp-cli
- npm install
script:
- gulp eslint
|
Add pure reader to Coveralls | language: python
python:
- 2.6
- 2.7
- 3.3
- pypy
before_install:
- git submodule update --init --recursive
- git clone git://github.com/maxmind/libmaxminddb
- cd libmaxminddb
- ./bootstrap
- ./configure
- make
- sudo make install
- sudo ldconfig
- cd ..
- pip install pylint
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
script:
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
- MAXMINDDB_PURE_PYTHON=1 python setup.py test
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pylint --rcfile .pylintrc maxminddb/*.py; fi
notifications:
email:
recipients:
- dev@maxmind.com
on_success: change
on_failure: always
| language: python
python:
- 2.6
- 2.7
- 3.3
- pypy
before_install:
- git submodule update --init --recursive
- git clone git://github.com/maxmind/libmaxminddb
- cd libmaxminddb
- ./bootstrap
- ./configure
- make
- sudo make install
- sudo ldconfig
- cd ..
- pip install pylint coveralls
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
script:
- CFLAGS="-Werror -Wall -Wextra" python setup.py test
- MAXMINDDB_PURE_PYTHON=1 coverage run --source=maxminddb setup.py test
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pylint --rcfile .pylintrc maxminddb/*.py; fi
after_success:
- coveralls
notifications:
email:
recipients:
- dev@maxmind.com
on_success: change
on_failure: always
|
Allow failures on OS X because of Roswell binary issue. | language: common-lisp
sudo: false
env:
global:
- PATH: ~/.roswell/bin:$PATH
- ROSWELL_INSTALL_DIR: $HOME/.roswell
matrix:
- LISP=sbcl-bin
- LISP=ccl-bin
os:
- osx
- linux
install:
- curl -L https://raw.githubusercontent.com/roswell/roswell/release/scripts/install-for-ci.sh | sh
- ros install cxxxr/lem
script:
- ros -s lem-ncurses -s lem-modeline-battery -s lem-tetris
| language: common-lisp
sudo: false
env:
global:
- PATH: ~/.roswell/bin:$PATH
- ROSWELL_INSTALL_DIR: $HOME/.roswell
matrix:
- LISP=sbcl-bin
- LISP=ccl-bin
os:
- osx
- linux
matrix:
allow_failures:
- os: osx
install:
- curl -L https://raw.githubusercontent.com/roswell/roswell/release/scripts/install-for-ci.sh | sh
- ros install cxxxr/lem
script:
- ros -s lem-ncurses -s lem-modeline-battery -s lem-tetris
|
Enable report of gogs build after failure | language: java
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
env:
global:
- GOGS_DIR=/home/travis/gogs
- JAVA_OPTS=-Xmx1024m -XX:MaxPermSize=256m
jdk:
- oraclejdk8
script: ./gradlew check --info --stacktrace --max-workers=1
after_success:
- ./gradlew jacocoTestReport coveralls
- free -mt
before_script:
- sudo service postgresql stop || true
- sudo service mysql stop || true
- sudo service memcached stop || true
- sudo service bootlogd stop || true
- sudo service elasticsearch stop || true
- sudo service mongodb stop || true
- sudo service neo4j stop || true
- sudo service cassandra stop || true
- sudo service riak stop || true
- sudo service rsync stop || true
- sudo service x11-common stop || true
before_install:
- mkdir ~/gogs && git clone https://github.com/gogits/gogs.git ~/gogs
- free -mt
after_failure:
- free -mt
| language: java
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
env:
global:
- GOGS_DIR=/home/travis/gogs
- JAVA_OPTS=-Xmx1024m -XX:MaxPermSize=256m
jdk:
- oraclejdk8
script: ./gradlew check --info --stacktrace --max-workers=1
after_success:
- ./gradlew jacocoTestReport coveralls
- free -mt
before_script:
- sudo service postgresql stop || true
- sudo service mysql stop || true
- sudo service memcached stop || true
- sudo service bootlogd stop || true
- sudo service elasticsearch stop || true
- sudo service mongodb stop || true
- sudo service neo4j stop || true
- sudo service cassandra stop || true
- sudo service riak stop || true
- sudo service rsync stop || true
- sudo service x11-common stop || true
before_install:
- mkdir ~/gogs && git clone https://github.com/gogits/gogs.git ~/gogs
- free -mt
after_failure:
- free -mt
- cat /home/travis/gogs/.gogradle/reports/test/packages/*
- cat /home/travis/gogs/.gogradle/reports/test/classes/*
- cat /home/travis/gogs/.gogradle/reports/test/index.html
|
Fix for OpenShift SDN Check | ---
os_firewall_allow:
- service: Kubernetes kubelet
port: 10250/tcp
- service: http
port: 80/tcp
- service: https
port: 443/tcp
- service: OpenShift OVS sdn
port: 4789/udp
when: openshift.node.use_openshift_sdn | bool
| ---
os_firewall_allow:
- service: Kubernetes kubelet
port: 10250/tcp
- service: http
port: 80/tcp
- service: https
port: 443/tcp
- service: OpenShift OVS sdn
port: 4789/udp
when: openshift.common.use_openshift_sdn | bool
|
Revert "Revert "Run Fog tests for Ruby 2.2.0"" | language: ruby
sudo: false
script: bundle exec rake travis
matrix:
fast_finish: true
include:
- rvm: 1.8.7
gemfile: gemfiles/Gemfile-ruby-1.8.7
- rvm: 1.9.3
gemfile: Gemfile
- rvm: 2.0.0
gemfile: Gemfile
- rvm: 2.1.0
gemfile: Gemfile
- rvm: 2.1.1
gemfile: Gemfile
- rvm: 2.1.1
gemfile: gemfiles/Gemfile-edge
- rvm: jruby-18mode
gemfile: gemfiles/Gemfile-ruby-1.8.7
- rvm: jruby-19mode
gemfile: Gemfile
- rvm: jruby-head
gemfile: Gemfile
allow_failures:
- rvm: jruby-head
notifications:
email: false
irc:
channels:
- "irc.freenode.org#ruby-fog"
template:
- "[#%{build_number}] %{message} %{build_url}"
- "[#%{build_number}] %{commit} on %{branch} by %{author}"
- "[#%{build_number}] %{compare_url}"
on_success: always
on_failure: always
use_notice: false
| language: ruby
sudo: false
script: bundle exec rake travis
matrix:
fast_finish: true
include:
- rvm: 1.8.7
gemfile: gemfiles/Gemfile-ruby-1.8.7
- rvm: 1.9.3
gemfile: Gemfile
- rvm: 2.0.0
gemfile: Gemfile
- rvm: 2.1.0
gemfile: Gemfile
- rvm: 2.1.1
gemfile: Gemfile
- rvm: 2.1.1
gemfile: gemfiles/Gemfile-edge
- rvm: 2.2.0
gemfile: Gemfile
- rvm: 2.2.0
gemfile: gemfiles/Gemfile-edge
- rvm: jruby-18mode
gemfile: gemfiles/Gemfile-ruby-1.8.7
- rvm: jruby-19mode
gemfile: Gemfile
- rvm: jruby-head
gemfile: Gemfile
allow_failures:
- rvm: jruby-head
notifications:
email: false
irc:
channels:
- "irc.freenode.org#ruby-fog"
template:
- "[#%{build_number}] %{message} %{build_url}"
- "[#%{build_number}] %{commit} on %{branch} by %{author}"
- "[#%{build_number}] %{compare_url}"
on_success: always
on_failure: always
use_notice: false
|
Build for Node 6 and 7. | language: "node_js"
node_js:
- "4"
- "5"
- "6"
| language: "node_js"
node_js:
- "6"
- "7"
|
Update list of supported rubyies | language: ruby
rvm:
- 1.9.3
- 2.0.0
script: bundle exec rspec
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
script: bundle exec rspec
|
Build latest iojs & don't build node 0.10 | language: node_js
node_js:
- iojs-v1.4.2
- "0.12"
- "0.11"
- "0.10"
after_script: ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly ./spec/**/*_spec.js -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
| language: node_js
node_js:
- iojs
- "0.12"
- "0.11"
after_script: ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly ./spec/**/*_spec.js -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
|
Test with latest Ruby versions | language: ruby
cache: bundler
sudo: false
rvm:
- 2.4.1
- 2.3.3
- 2.2.6
- jruby-9.1.7.0
after_success:
- bundle exec codeclimate-test-reporter
| language: ruby
cache: bundler
sudo: false
rvm:
- 2.4.1
- 2.3.4
- 2.2.7
- jruby-9.1.7.0
after_success:
- bundle exec codeclimate-test-reporter
|
Send test coverage to coveralls.io | language: php
# php compatibility
php: [5.6, 7.0, hhvm]
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
before_script:
- travis_retry composer self-update
- travis_retry composer update --no-interaction --prefer-stable --prefer-dist
- travis_retry composer require scrutinizer/ocular --no-interaction --prefer-dist
script:
- vendor/bin/phpcs --standard=psr2 sources/ tests/
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- if [[ $TRAVIS_PHP_VERSION == '5.6' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi
| language: php
# php compatibility
php: [5.6, 7.0, hhvm]
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
before_script:
- travis_retry composer self-update
- travis_retry composer update --no-interaction --prefer-stable --prefer-dist
- travis_retry composer require scrutinizer/ocular satooshi/php-coveralls --dev --no-interaction --prefer-dist
script:
- vendor/bin/phpcs --standard=psr2 sources/ tests/
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- if [[ $TRAVIS_PHP_VERSION == '5.6' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi
- if [[ $TRAVIS_PHP_VERSION == '5.6' ]]; then php vendor/bin/coveralls -n -v -x coverage.clover ; fi
|
Use trusty for the HHVM job on Travis | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
- nightly
matrix:
include:
- php: 5.3
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' SYMFONY_DEPRECATIONS_HELPER=weak
- php: 7.1
env: DEPENDENCIES=dev SYMFONY_DEPRECATIONS_HELPER=weak
# Test against LTS versions
- php: 7.0
env: SYMFONY_VERSION=2.8.*
allow_failures:
- php: hhvm
- php: nightly
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
install: composer update -n $COMPOSER_FLAGS
script: vendor/bin/phpunit --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover
| language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- nightly
matrix:
include:
- php: 5.3
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' SYMFONY_DEPRECATIONS_HELPER=weak
- php: 7.1
env: DEPENDENCIES=dev SYMFONY_DEPRECATIONS_HELPER=weak
- php: hhvm
dist: trusty
# Test against LTS versions
- php: 7.0
env: SYMFONY_VERSION=2.8.*
allow_failures:
- php: hhvm
- php: nightly
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
install: composer update -n $COMPOSER_FLAGS
script: vendor/bin/phpunit --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
Use copy of SWT-Demo as fixtures | language: erlang
sudo: false
env:
global:
- BASELINE=SWTDemo
matrix:
- SMALLTALK="SqueakTrunk"
- SMALLTALK="Squeak4.6"
- SMALLTALK="Squeak4.5"
addons:
apt:
packages:
# 32-bit VM
- libc6:i386
# UUIDPlugin
- libuuid1:i386
install:
- wget -q -O swtDemo.zip https://github.com/fniephaus/SWT-Demo/archive/master.zip
- unzip -q swtDemo.zip
- export PROJECT_HOME="$(pwd)/SWT-Demo-master"
- cd $HOME
- wget -q -O filetreeCI.zip https://github.com/fniephaus/filetreeCI/archive/master.zip
- unzip -q filetreeCI.zip
- cd filetreeCI-*
- export FILETREE_CI_HOME="$(pwd)"
script: $FILETREE_CI_HOME/run.sh | language: erlang
sudo: false
env:
global:
- BASELINE=SWTDemo
matrix:
- SMALLTALK="SqueakTrunk"
- SMALLTALK="Squeak4.6"
- SMALLTALK="Squeak4.5"
addons:
apt:
packages:
# 32-bit VM
- libc6:i386
# UUIDPlugin
- libuuid1:i386
install:
- wget -q -O fixtures.zip https://github.com/fniephaus/filetreeCI/archive/fixtures.zip
- unzip -q fixtures.zip
- export PROJECT_HOME="$(pwd)/filetreeCI-fixtures"
- cd $HOME
- wget -q -O filetreeCI.zip https://github.com/fniephaus/filetreeCI/archive/master.zip
- unzip -q filetreeCI.zip
- cd filetreeCI-*
- export FILETREE_CI_HOME="$(pwd)"
script: $FILETREE_CI_HOME/run.sh |
Build only on OS X now | language: c++
compiler:
- clang
- gcc
os:
- osx
env:
matrix:
- OPTIONS="-DZF_LOG_EXAMPLES:bool=ON -DZF_LOG_TESTS:bool=ON -DCMAKE_BUILD_TYPE:string=Debug"
- OPTIONS="-DZF_LOG_EXAMPLES:bool=ON -DZF_LOG_TESTS:bool=ON -DCMAKE_BUILD_TYPE:string=Release"
os:
- linux
- osx
install: true
script:
- find . -name "CMakeLists.txt" -exec sed -i .bak -e "s/VERSION 3.2/VERSION 2.8/g" {} \;
- mkdir build.make && cd build.make && cmake ${OPTIONS} .. && cmake --build . && ctest --output-on-failure
| language: c++
compiler:
- clang
- gcc
os:
- osx
env:
matrix:
- OPTIONS="-DZF_LOG_EXAMPLES:bool=ON -DZF_LOG_TESTS:bool=ON -DCMAKE_BUILD_TYPE:string=Debug"
- OPTIONS="-DZF_LOG_EXAMPLES:bool=ON -DZF_LOG_TESTS:bool=ON -DCMAKE_BUILD_TYPE:string=Release"
install: true
script:
- find . -name "CMakeLists.txt" -exec sed -i .bak -e "s/VERSION 3.2/VERSION 2.8/g" {} \;
- mkdir build.make && cd build.make && cmake ${OPTIONS} .. && cmake --build . && ctest --output-on-failure
|
Add Python 3.7 to Travis build. | branches:
only:
- develop
- /^release-.*$/
- /.*-travis$/
- master
language: python
python: 3.6
os: linux
dist: bionic # Ubuntu 18.04
before_install:
- sudo apt-get update
- sudo apt-get -y install gdal-bin
- sudo apt-get -y install libgdal-dev
- sudo apt-get -y install openmpi-bin
- sudo apt-get -y install libopenmpi-dev
- export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/include/gdal
- export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/gdal
- pip install -U pip
install:
- pip install -r requirements-test.txt
- pip install -r requirements-dev.txt
- python setup.py install
- export PYRATEPATH=$(pwd)
- export PYTHONPATH=$PYRATEPATH:$PYTHONPATH
- chmod 444 tests/test_data/small_test/tif/geo_070709-070813_unw.tif # makes the file readonly, used in a test
# command to run tests, e.g. python setup.py test
script:
- pytest --cov-report term-missing:skip-covered --cov=pyrate tests/
# cache:
# - apt
# - pip
# - $HOME/.cache/pip
| branches:
only:
- develop
- /^release-.*$/
- /.*-travis$/
- master
language: python
python:
- "3.6"
- "3.7"
os: linux
dist: bionic # Ubuntu 18.04
before_install:
- sudo apt-get update
- sudo apt-get -y install gdal-bin
- sudo apt-get -y install libgdal-dev
- sudo apt-get -y install openmpi-bin
- sudo apt-get -y install libopenmpi-dev
- export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/include/gdal
- export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/gdal
- pip install -U pip
install:
- pip install -r requirements-test.txt
- pip install -r requirements-dev.txt
- python setup.py install
- export PYRATEPATH=$(pwd)
- export PYTHONPATH=$PYRATEPATH:$PYTHONPATH
- chmod 444 tests/test_data/small_test/tif/geo_070709-070813_unw.tif # makes the file readonly, used in a test
# command to run tests, e.g. python setup.py test
script:
- pytest --cov-report term-missing:skip-covered --cov=pyrate tests/
# cache:
# - apt
# - pip
# - $HOME/.cache/pip
|
Fix YAML syntax in Travis CI config file | language: python
python:
- "2.5"
- "2.6"
- "2.7"
# command to install dependencies
install:
- "if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install mock unittest2 simplejson --use-mirrors ; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install mock unittest2 --use-mirrors ; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install mock --use-mirrors ; fi"
- "pip install -e . --use-mirrors"
# disable vagrant-based integration tests
env:
- FABTOOLS_TEST_BOXES=""
# command to run tests
script:
- "if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; python -m unittest discover ; fi
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; unit2 discover ; fi
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; unit2 discover ; fi
| language: python
python:
- "2.5"
- "2.6"
- "2.7"
# command to install dependencies
install:
- "if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install mock unittest2 simplejson --use-mirrors ; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install mock unittest2 --use-mirrors ; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install mock --use-mirrors ; fi"
- "pip install -e . --use-mirrors"
# disable vagrant-based integration tests
env:
- FABTOOLS_TEST_BOXES=""
# command to run tests
script:
- "if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; python -m unittest discover ; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; unit2 discover ; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; unit2 discover ; fi"
|
Set the version to what is defined in shell.nix. | language: node_js
node_js:
- "8.6"
# to empty the cache go to https://travis-ci.org/cosmowiki/cosmowiki/caches
cache:
directories:
- node_modules
after_success:
- chmod +x ./scripts/*.sh
- npm run build
deploy:
provider: script
script: ./scripts/deploy-to-ghpages.sh
skip_cleanup: true
branch: master
env:
global:
- GH_REF: github.com/cosmowiki/cosmowiki.git
| language: node_js
node_js:
- "6.11"
# to empty the cache go to https://travis-ci.org/cosmowiki/cosmowiki/caches
cache:
directories:
- node_modules
after_success:
- chmod +x ./scripts/*.sh
- npm run build
deploy:
provider: script
script: ./scripts/deploy-to-ghpages.sh
skip_cleanup: true
branch: master
env:
global:
- GH_REF: github.com/cosmowiki/cosmowiki.git
|
Update Travis CI node environments | language: node_js
node_js:
- "8.0"
- "7.9"
- "6.10"
- "4.8"
after_success: npm run coverage
| language: node_js
node_js:
- "12.6"
- "10.16"
- "8.16"
after_success: npm run coverage
|
Update TravisCI script for Xcode 8 | language: objective-c
xcode_project: C4iOS.xcodeproj
xcode_scheme: C4
osx_image: xcode7.3
xcode_sdk: iphonesimulator
| language: objective-c
xcode_project: C4iOS.xcodeproj
xcode_scheme: C4
osx_image: xcode8
xcode_sdk: iphonesimulator
|
Test new ruby and cache bundler. | language: ruby
bundler_args: --without yard benchmarks
script: "bundle exec rake ci"
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- ruby-head
matrix:
include:
- rvm: jruby-19mode
- rvm: jruby-20mode
- rvm: jruby-21mode
- rvm: jruby-9000
- rvm: jruby-head
- rvm: rbx-2
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
fast_finish: true
branches:
only: master
| ---
language: ruby
sudo: false
cache: bundler
bundler_args: --without yard benchmarks
script: "bundle exec rake ci"
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3
- ruby-head
matrix:
include:
- rvm: jruby-19mode
- rvm: jruby-20mode
- rvm: jruby-21mode
- rvm: jruby-9000
- rvm: jruby-head
- rvm: rbx-2
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
fast_finish: true
branches:
only: master
|
Add PHP 8.0 to the build matrix | language: php
php:
- "7.4"
- "7.3"
- "7.2"
env:
global:
# Since PHP 7.3, php-xdebug is disabled by default unless this is set.
- XDEBUG_MODE=coverage
install:
- composer install
script:
- composer test
after_success:
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/coveralls.phar
- chmod +x coveralls.phar
- ./coveralls.phar -v
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
| language: php
php:
- "8.0"
- "7.4"
- "7.3"
- "7.2"
env:
global:
# Since PHP 7.3, php-xdebug is disabled by default unless this is set.
- XDEBUG_MODE=coverage
install:
- composer install
script:
- composer test
after_success:
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/coveralls.phar
- chmod +x coveralls.phar
- ./coveralls.phar -v
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-dev"
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
|
Add XML::Twig to Travis environment via CPAN for testing only | language: java
jdk:
- oraclejdk7
- openjdk7
- openjdk6
before_script:
- ./get_deps.sh
script: ant
after_script:
- ./reg-test/reg-test.sh
| language: java
jdk:
- oraclejdk7
- openjdk7
- openjdk6
before_script:
- ./get_deps.sh
- cpanm XML::Twig
script: ant
after_script:
- ./reg-test/reg-test.sh
|
Test on mruby 1.2.0 ~ master branch | language: c
compiler:
- gcc
- clang
before_install:
- sudo apt-get -qq update
install:
- sudo apt-get -qq install rake bison git gperf
before_script:
- cd ../
- git clone https://github.com/mruby/mruby.git
- cd mruby
- cp -fp ../mruby-simplehttpserver/.travis_build_config.rb build_config.rb
script:
- make all test
| language: c
compiler:
- gcc
- clang
env:
- MRUBY_VERSION=1.2.0
- MRUBY_VERSION=1.3.0
- MRUBY_VERSION=1.4.0
- MRUBY_VERSION=master
before_install:
- sudo apt-get -qq update
install:
- sudo apt-get -qq install rake bison git gperf
script:
- rake test
|
Reorder Travis CI before_script steps. | language: java
jdk:
- oraclejdk8
env:
- NODE_VERSION="0.11"
- NODE_VERSION="0.10"
before_install:
- nvm install $NODE_VERSION
before_script:
- npm install
- sudo apt-get update -qq
- sudo apt-get install -y graphviz
script:
- npm test
| language: java
jdk:
- oraclejdk8
env:
- NODE_VERSION="0.11"
- NODE_VERSION="0.10"
before_install:
- nvm install $NODE_VERSION
before_script:
- sudo apt-get update -qq
- sudo apt-get install -y graphviz
- npm install
script:
- npm test
|
Remove meaningless configuration for Travis CI | language: ruby
rvm:
- 2.0.0
services:
- sqlite3
script: bundle exec rake spec
branches:
only:
- next
| language: ruby
rvm:
- 2.0.0
script: bundle exec rake spec
branches:
only:
- next
|
Check code format during Travis-CI tests | language: python
dist: xenial
python:
- "3.5"
- "3.6"
sudo: true
services:
- postgresql
addons:
postgresql: "10"
before_script:
- psql -c "ALTER USER travis WITH PASSWORD 'travis';"
install:
- travis_retry pip install -r requirements.txt
- travis_retry pip install coveralls
script:
- coverage run --branch --source=mygpoauth ./manage.py test
after_script:
- coveralls
env:
- DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"
| language: python
dist: xenial
python:
- "3.5"
- "3.6"
sudo: true
services:
- postgresql
addons:
postgresql: "10"
before_script:
- psql -c "ALTER USER travis WITH PASSWORD 'travis';"
install:
- travis_retry pip install -r requirements.txt
- travis_retry pip install coveralls
script:
- coverage run --branch --source=mygpoauth ./manage.py test
- make check-code-format
after_script:
- coveralls
env:
- DATABASE_URL="postgres://travis:travis@localhost/mygpo_test"
|
Install doxygen and change --depth input | language: c
os:
- linux
- osx
script:
- tools/gyp/gyp --depth=. utf8rewind.gyp
- make -j4
- make -j4 tests-rewind
- output/*/x86/Debug/tests-rewind
| language: c
os:
- linux
- osx
script:
- if [ $(uname -o) = Linux ]; then sudo apt-get install -y doxygen; fi
- tools/gyp/gyp --depth utf8rewind.gyp
- make -j4
- make -j4 tests-rewind
- output/*/x86/Debug/tests-rewind
|
Add workflow dispatch to github action | name: Code Quality
on:
push:
paths:
- "**.py"
jobs:
lint:
name: Python Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "2.7"
- name: Run flake8
uses: julianwachholz/flake8-action@v1.1.0
with:
checkName: "Python Lint"
path: ckanext
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
| name: Code Quality
on:
push:
paths:
- "**.py"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
lint:
name: Python Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "2.7"
- name: Run flake8
uses: julianwachholz/flake8-action@v1.1.0
with:
checkName: "Python Lint"
path: ckanext
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Add gloss and OpenGL extra-deps | # This file was automatically generated by stack init
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html
# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
resolver: lts-5.5
# Local packages, usually specified by relative directory name
packages:
- '.'
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
extra-deps: []
# Override default flag values for local packages and extra-deps
flags: {}
# Extra package databases containing global packages
extra-package-dbs: []
# Control whether we use the GHC we find on the path
# system-ghc: true
# Require a specific version of stack, using version ranges
# require-stack-version: -any # Default
# require-stack-version: >= 1.0.0
# Override the architecture used by stack, especially useful on Windows
# arch: i386
# arch: x86_64
# Extra directories used by stack for building
# extra-include-dirs: [/path/to/dir]
# extra-lib-dirs: [/path/to/dir]
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
| # This file was automatically generated by stack init
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html
# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
resolver: lts-5.5
# Local packages, usually specified by relative directory name
packages:
- '.'
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
extra-deps:
- gloss-1.9.4.1
- gloss-rendering-1.9.3.1
- GLUT-2.7.0.2
- OpenGL-2.12.0.1
- GLURaw-1.5.0.1
- ObjectName-1.1.0.0
- OpenGLRaw-2.5.3.0
# Override default flag values for local packages and extra-deps
flags: {}
# Extra package databases containing global packages
extra-package-dbs: []
# Control whether we use the GHC we find on the path
# system-ghc: true
# Require a specific version of stack, using version ranges
# require-stack-version: -any # Default
# require-stack-version: >= 1.0.0
# Override the architecture used by stack, especially useful on Windows
# arch: i386
# arch: x86_64
# Extra directories used by stack for building
# extra-include-dirs: [/path/to/dir]
# extra-lib-dirs: [/path/to/dir]
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
|
Remove v3.11, which doesn't seem to exist yet. | name: build
on: [push]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, 3.10, 3.11]
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Run Tests
run: |
cd test
env PYTHONPATH=.. python -m unittest --verbose all
cd ..
env PYTHONPATH=. coverage run test/all.py
| name: build
on: [push]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Run Tests
run: |
cd test
env PYTHONPATH=.. python -m unittest --verbose all
cd ..
env PYTHONPATH=. coverage run test/all.py
|
Set permissions for GH Actions | # 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.
name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 8, 11, 17 ]
experimental: [false]
# include:
# - java: 18-ea
# experimental: true
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -V apache-rat:check spotbugs:check javadoc:javadoc -Ddoclint=all package --file pom.xml --no-transfer-progress
| # 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.
name: Java CI
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 8, 11, 17 ]
experimental: [false]
# include:
# - java: 18-ea
# experimental: true
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -V apache-rat:check spotbugs:check javadoc:javadoc -Ddoclint=all package --file pom.xml --no-transfer-progress
|
Allow debug statements in insight | rules:
php.interface_has_no_interface_suffix:
enabled: false
| rules:
php.interface_has_no_interface_suffix:
enabled: false
php.debug_statements:
enabled: false
|
Set the path to the SFML include directory | install:
- sudo apt-get install libarmadillo-dev
- sudo apt-get install libgtest-dev
- wget https://www.sfml-dev.org/files/SFML-2.5.0-linux-gcc-64-bit.tar.gz
- mkdir sfml_tmp
- tar -xzvf SFML-2.5.0-linux-gcc-64-bit.tar.gz -C sfml_tmp
- bash configure.sh
- cmake . -DSFML_DIR=./sfml_tmp/SFML-2.5.0/lib/cmake/SFML
- make
| env:
global:
- CPATH=$CPATH:./sfml_tmp/SFML-2.5.0/include
install:
- sudo apt-get install libarmadillo-dev
- sudo apt-get install libgtest-dev
- wget https://www.sfml-dev.org/files/SFML-2.5.0-linux-gcc-64-bit.tar.gz
- mkdir sfml_tmp
- tar -xzvf SFML-2.5.0-linux-gcc-64-bit.tar.gz -C sfml_tmp
- bash configure.sh
- cmake . -DSFML_DIR=./sfml_tmp/SFML-2.5.0/lib/cmake/SFML
- make
|
Stop testing against ruby 2.1.10 | sudo: false
language: ruby
rvm:
- 2.1.10
- 2.2.8
- 2.3.5
- 2.4.2
- ruby-head
| sudo: false
language: ruby
rvm:
- 2.2.8
- 2.3.5
- 2.4.2
- ruby-head
|
Revert "Add Ruby 1.8.6 to Travis config" | language: ruby
rvm:
- 1.8.6
- 1.8.7
- 1.9.2
- 1.9.3
| language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
|
Test on Node 4 and 6 | language: node_js
node_js:
- "6"
- "0.10"
- "0.8"
before_install: npm i -g npm
| language: node_js
node_js:
- "6"
- "4"
cache:
directories:
- node_modules
|
Update bundler, rspec and rake. | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0
- 2.1
- 2.2
- jruby
| language: ruby
before_install:
- rvm @default,@global do gem uninstall bundler rake rspec -x
- gem install bundle --version '~> 1.11'
- gem install rake --version '~> 10.0'
- gem install rspec --version '~> 3.0'
- bundle --version
- rake --version
- rspec --version
cache: bundler
rvm:
- 1.9.2
- 1.9.3
- 2.0
- 2.1
- 2.2
- jruby
script: 'bundle exec rake'
|
Move rails master gemfile to bottom | dist: trusty
sudo: false
language: ruby
bundler_args: "--without development"
services:
- rabbitmq
rvm:
- '2.4.1'
- '2.3.4'
- '2.2.7'
gemfile:
- gemfiles/Gemfile.rails-master
- gemfiles/Gemfile.rails-5-1
- gemfiles/Gemfile.rails-5-0
- gemfiles/Gemfile.rails-4-2
script:
- bundle exec rake spec:msgr
- bundle exec rake spec:integration
jobs:
allow_failures:
- gemfile: gemfiles/Gemfile.rails-master
include:
- stage: Beta release
rvm: '2.4.1'
script: echo "Deploy to rubygems.org..."
deploy:
provider: rubygems
api_key:
secure: g8icPMdxEmbpBzSRCDmR3uB+1Zhu7tGq3h0cVbGUka2Ni1NiEiQo3LCDzbMp+L7AXH5RhdsG9FTViIAyCy9YENqZ1+jzrQGeADx0KnJZb6F81/SyumeUld0zdkzDbe1aUCJWz2WnEk12aLMPLNPRmDE7wub+od7gJEEv2SsKObo=
gem: msgr
on:
branch: master
repo: jgraichen/msgr
| dist: trusty
sudo: false
language: ruby
bundler_args: "--without development"
services:
- rabbitmq
rvm:
- '2.4.1'
- '2.3.4'
- '2.2.7'
gemfile:
- gemfiles/Gemfile.rails-5-1
- gemfiles/Gemfile.rails-5-0
- gemfiles/Gemfile.rails-4-2
- gemfiles/Gemfile.rails-master
script:
- bundle exec rake spec:msgr
- bundle exec rake spec:integration
jobs:
allow_failures:
- gemfile: gemfiles/Gemfile.rails-master
include:
- stage: Beta release
rvm: '2.4.1'
script: echo "Deploy to rubygems.org..."
deploy:
provider: rubygems
api_key:
secure: g8icPMdxEmbpBzSRCDmR3uB+1Zhu7tGq3h0cVbGUka2Ni1NiEiQo3LCDzbMp+L7AXH5RhdsG9FTViIAyCy9YENqZ1+jzrQGeADx0KnJZb6F81/SyumeUld0zdkzDbe1aUCJWz2WnEk12aLMPLNPRmDE7wub+od7gJEEv2SsKObo=
gem: msgr
on:
branch: master
repo: jgraichen/msgr
|
Configure Bundler under Travis CI. | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- ruby-head
- rbx-19mode
env:
- VERSION=5.09 CHECKSUM=9d905f9e50033c3f5be3728473cbb709a41550fb COMPILER=gcc
- VERSION=5.14 CHECKSUM=064c8f17a5f7ae1e336a9285131e046d3b2d04d7 COMPILER=gcc
- VERSION=5.17 CHECKSUM=f7e837a0d3e4f40a02ffe7da5e146b967448e0d8 COMPILER=gcc
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: rbx-19mode
branches:
only:
- master
before_script:
- travis_retry wget -q http://git.io/hwzpnA -O libmagic.sh
- sudo bash libmagic.sh
script: rake test
| language: ruby
bundler_args: --jobs 4 --retry 2
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- ruby-head
- rbx-19mode
env:
- VERSION=5.09 CHECKSUM=9d905f9e50033c3f5be3728473cbb709a41550fb COMPILER=gcc
- VERSION=5.14 CHECKSUM=064c8f17a5f7ae1e336a9285131e046d3b2d04d7 COMPILER=gcc
- VERSION=5.17 CHECKSUM=f7e837a0d3e4f40a02ffe7da5e146b967448e0d8 COMPILER=gcc
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: rbx-19mode
branches:
only:
- master
before_script:
- travis_retry wget -q http://git.io/hwzpnA -O libmagic.sh
- sudo bash libmagic.sh
script: rake test
|
Use PHP 7.4 stable in Travis | language: php
env:
global:
- SYMFONY_DEPRECATIONS_HELPER=weak
sudo: false
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.1
env: SYMFONY_REQUIRE=^4
- php: 7.2
env: SYMFONY_REQUIRE=^4
- php: 7.3
env: SYMFONY_REQUIRE=^4
- php: 7.4snapshot
env: SYMFONY_REQUIRE=^4
- php: 7.2
env: SYMFONY_REQUIRE=^5
- php: 7.3
env: SYMFONY_REQUIRE=^5
- php: 7.4
env: SYMFONY_REQUIRE=^5
- php: 8.0
before_install:
- composer req alcohol/iso4217:^4.0 --ignore-platform-req=php
before_install:
- composer self-update
install:
- composer require symfony/flex --no-update
- composer install --prefer-source
notifications:
email:
- payumsupport@forma-pro.com
| language: php
env:
global:
- SYMFONY_DEPRECATIONS_HELPER=weak
sudo: false
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.1
env: SYMFONY_REQUIRE=^4
- php: 7.2
env: SYMFONY_REQUIRE=^4
- php: 7.3
env: SYMFONY_REQUIRE=^4
- php: 7.4
env: SYMFONY_REQUIRE=^4
- php: 7.2
env: SYMFONY_REQUIRE=^5
- php: 7.3
env: SYMFONY_REQUIRE=^5
- php: 7.4
env: SYMFONY_REQUIRE=^5
- php: 8.0
before_install:
- composer req alcohol/iso4217:^4.0 --ignore-platform-req=php
before_install:
- composer self-update
install:
- composer require symfony/flex --no-update
- composer install --prefer-source
notifications:
email:
- payumsupport@forma-pro.com
|
Make matplotlib tests work with Travis | language: python
python:
- "3.4"
- "3.5"
notifications:
email: false
# https://gist.github.com/dan-blanchard/7045057
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib nose pyqt=4
- pip install flavio[sampling,plotting]
- pip install coveralls
script: nosetests --with-coverage --cover-package=flavio
after_success: coveralls
| language: python
python:
- "3.4"
- "3.5"
notifications:
email: false
# https://gist.github.com/dan-blanchard/7045057
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib nose pyqt=4
- pip install flavio[sampling,plotting]
- pip install coveralls
script: nosetests --with-coverage --cover-package=flavio
after_success: coveralls
|
Add TravisCI testing back in for Ruby1.9.3 | language: ruby
rvm:
- 2.0.0
- 2.2.3
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.2.3
|
Fix path to test-coverage script. | language: go
go:
- tip
sudo: false
install:
- go get github.com/olt/libpq
- 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
after_success:
- cd $GOPATH/src/github.com/seadsystem/Backend; ./test-coverage.sh ./DB/landingzone
| language: go
go:
- tip
sudo: false
install:
- go get github.com/olt/libpq
- 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
after_success:
- cd $GOPATH/src/github.com/seadsystem/Backend; ./DB/landingzone/test-coverage.sh ./DB/landingzone
|
Test with the latest stable version of Go too | ---
language: go
go:
- tip
before_install:
- go get github.com/mattn/goveralls
script:
- $GOPATH/bin/goveralls -service=travis-ci -package .
| ---
language: go
go:
- 1.x
- master
before_install:
- go get github.com/mattn/goveralls
script:
- $GOPATH/bin/goveralls -service=travis-ci -package .
|
Add more compiler testing for Travis CI | language: python
python:
- "2.7"
# - "3.2" # setuptools 30.0.0 (and above) dropped support for Python 3.2
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
os:
- linux
# - osx # See https://github.com/travis-ci/travis-ci/issues/4729
install:
- pip install .
script: pytest
| language: python
python:
- "2.7"
# - "3.2" # setuptools 30.0.0 (and above) dropped support for Python 3.2
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
os:
- linux
# - osx # See https://github.com/travis-ci/travis-ci/issues/4729
env:
- CXX=clang++-4.0
- CXX=g++-4.9
- CXX=g++-5
- CXX=g++-6
install:
- pip install .
script: pytest |
Test on Python 3.2 in Travis. | language: python
python:
- "2.6"
- "2.7"
- "3.3"
env:
- DJANGO_VERSION=1.6.2
- DJANGO_VERSION=1.5.5
- DJANGO_VERSION=1.4.10
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.4.10
install:
- pip install -q django==$DJANGO_VERSION coverage==3.6 --use-mirrors
- pip install -q -e . --use-mirrors
script:
- coverage run --source=django_iban ./manage.py test
- coverage report -m
after_success:
- pip install coveralls==0.1.1 --use-mirrors
- coveralls
| language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
env:
- DJANGO_VERSION=1.6.2
- DJANGO_VERSION=1.5.5
- DJANGO_VERSION=1.4.10
matrix:
exclude:
- python: "3.2"
env: DJANGO_VERSION=1.4.10
- python: "3.3"
env: DJANGO_VERSION=1.4.10
install:
- pip install -q django==$DJANGO_VERSION coverage==3.6 --use-mirrors
- pip install -q -e . --use-mirrors
script:
- coverage run --source=django_iban ./manage.py test
- coverage report -m
after_success:
- pip install coveralls==0.1.1 --use-mirrors
- coveralls
|
Check code style in Travis | sudo: false
language: rust
cache: cargo
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake
rust:
- nightly
- beta
- stable
before_script:
- |
which cargo-coveralls || cargo install cargo-travis &&
export PATH=$HOME/.cargo/bin:$PATH
script:
- cargo test
- cargo test --features serde
- cargo test --features postgres
- cargo test --features diesel
after_success:
- cargo coveralls
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE="" | sudo: false
language: rust
cache: cargo
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake
rust:
- nightly
- beta
- stable
before_script:
- |
which cargo-coveralls || cargo install cargo-travis &&
export PATH=$HOME/.cargo/bin:$PATH
script:
- cargo fmt -- --check
- cargo test
- cargo test --features serde
- cargo test --features postgres
- cargo test --features diesel
after_success:
- cargo coveralls
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE="" |
Make Travis CI test against multiple versions of vanilla libmagic. | language: go
cache:
- apt
go:
- 1.0
- 1.1
- 1.1.2
- 1.2
- tip
matrix:
allow_failures:
- go: tip
fast_finish: true
branches:
only:
- master
install: true
before_install:
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install --force-yes -y libmagic1 libmagic-dev
before_script:
- travis_retry go get -v -x github.com/kwilczynski/go-magic
script: go test -v -x ./... -run '^Test.*'
| language: go
cache:
- apt
go:
- 1.0
- 1.1
- 1.1.2
- 1.2
- tip
env:
- VERSION=5.09 CHECKSUM=9d905f9e50033c3f5be3728473cbb709a41550fb COMPILER=gcc
- VERSION=5.09 CHECKSUM=9d905f9e50033c3f5be3728473cbb709a41550fb COMPILER=clang
- VERSION=5.14 CHECKSUM=064c8f17a5f7ae1e336a9285131e046d3b2d04d7 COMPILER=gcc
- VERSION=5.14 CHECKSUM=064c8f17a5f7ae1e336a9285131e046d3b2d04d7 COMPILER=clang
- VERSION=5.17 CHECKSUM=f7e837a0d3e4f40a02ffe7da5e146b967448e0d8 COMPILER=gcc
- VERSION=5.17 CHECKSUM=f7e837a0d3e4f40a02ffe7da5e146b967448e0d8 COMPILER=clang
matrix:
allow_failures:
- go: tip
fast_finish: true
branches:
only:
- master
install: true
before_script:
- travis_retry curl -L -s http://git.io/Zey2LA > libmagic.sh
- travis_retry sudo VERSION=$VERSION CHECKSUM=$CHECKSUM CC=$COMPILER bash libmagic.sh
- travis_retry go get -v -x github.com/kwilczynski/go-magic
script: go test -v -x ./... -run '^Test.*'
|
Test with latest Node.js 5 on Travis CI. | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5.1'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
| 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
|
Fix xcpretty usage on Travis | language: objective-c
xcode_workspace: OneTimePassword.xcworkspace
xcode_scheme:
- OneTimePassword
- OneTimePasswordLegacy
osx_image: xcode7
xcode_sdk:
- iphonesimulator9.0
# Check out nested dependencies
before_install: git submodule update --init --recursive
# A custom test script is required because xctool cannot access the iOS keychain
# https://github.com/facebook/xctool/issues/269
script: xcodebuild -workspace $TRAVIS_XCODE_WORKSPACE -scheme $TRAVIS_XCODE_SCHEME -sdk $TRAVIS_XCODE_SDK build test | xcpretty -c
| language: objective-c
xcode_workspace: OneTimePassword.xcworkspace
xcode_scheme:
- OneTimePassword
- OneTimePasswordLegacy
osx_image: xcode7
xcode_sdk:
- iphonesimulator9.0
# Check out nested dependencies
before_install: git submodule update --init --recursive
# A custom test script is required because xctool cannot access the iOS keychain
# https://github.com/facebook/xctool/issues/269
script: set -o pipefail && xcodebuild -workspace $TRAVIS_XCODE_WORKSPACE -scheme $TRAVIS_XCODE_SCHEME -sdk $TRAVIS_XCODE_SDK build test | xcpretty -c
|
Update Go version in Travis CI | language: go
go:
- 1.7
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- go test -v -cover -race -coverprofile=coverage.out
after_script:
- go get github.com/mattn/goveralls
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken=$COVERALLS_TOKEN
| language: go
go:
- 1.8
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- go test -v -cover -race -coverprofile=coverage.out
after_script:
- go get github.com/mattn/goveralls
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken=$COVERALLS_TOKEN
|
Add TSLint check to Travis configuration | language: node_js
node_js:
- "node"
install:
- "npm install"
script:
- "npm test" | language: node_js
node_js:
- "node"
install:
- "npm install"
script:
- "npm test"
- "npm lint"
|
Test with ruby 2.1, use empty bundler args. | language: ruby
gemfile:
- Gemfile
rvm:
- "1.9.3"
- "2.0.0"
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- "export DISPLAY=:99.0"
- "export JASMINE_BROWSER=firefox"
before_script:
- mv .env.travis .env
- cp config/database.yml.sample config/database.yml
- rm db/seeds.rb
- mv db/seeds.travis.rb db/seeds.rb
script:
- bundle exec rake db:migrate
- bundle exec rake travis:specs
- bundle exec rake jasmine:ci
| language: ruby
gemfile:
- Gemfile
rvm:
- "1.9.3"
- "2.1.0"
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- "export DISPLAY=:99.0"
- "export JASMINE_BROWSER=firefox"
before_script:
- mv .env.travis .env
- cp config/database.yml.sample config/database.yml
- rm db/seeds.rb
- mv db/seeds.travis.rb db/seeds.rb
script:
- bundle exec rake db:migrate
- bundle exec rake travis:specs
- bundle exec rake jasmine:ci
bundler_args: ""
|
Test on node 0.8 using Travis CI. | language: "node_js"
node_js:
- 0.4
- 0.6
| language: "node_js"
node_js:
- 0.4
- 0.6
- 0.8
|
Remove 4.02 (not supported by xenctrl yet), version number | language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
sudo: required
env:
global:
- ALCOTEST_SHOW_ERRORS=1
- PACKAGE=jitsu.0.2.0
matrix:
- OCAML_VERSION=4.01
- OCAML_VERSION=4.02
| language: c
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
script: bash -ex .travis-opam.sh
sudo: required
env:
global:
- ALCOTEST_SHOW_ERRORS=1
- PACKAGE=jitsu
matrix:
- OCAML_VERSION=4.01
|
Test against Ruby v2.0.0 though allow it to fail | ---
env:
- PUPPET_VERSION=2.7.23
- PUPPET_VERSION=3.3.2
- PUPPET_VERSION=3.4.2
notifications:
email: false
rvm:
- 1.9.3
- 1.8.7
matrix:
fast_finish: true
allow_failures:
- env: PUPPET_VERSION=2.7.23
language: ruby
before_script: "gem install --no-ri --no-rdoc bundler"
script: 'bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format documentation" bundle exec rake spec'
gemfile: Gemfile
| ---
env:
- PUPPET_VERSION=2.7.23
- PUPPET_VERSION=3.3.2
- PUPPET_VERSION=3.4.2
notifications:
email: false
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
matrix:
fast_finish: true
allow_failures:
- env: PUPPET_VERSION=2.7.23
- rvm: 2.0.0
language: ruby
before_script: "gem install --no-ri --no-rdoc bundler"
script: 'bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format documentation" bundle exec rake spec'
gemfile: Gemfile
|
Fix : Restrict test to test dir | language: python
python:
- "2.7"
- "2.6"
install:
- "pip install pycurl"
- "sudo useradd shinken"
- "pip install -r requirements.txt"
- "pip install coveralls"
script: nosetests -vx --with-coverage --cover-package=module
after_success:
coveralls
notifications:
email: false
| language: python
python:
- "2.7"
- "2.6"
install:
- "pip install pycurl"
- "sudo useradd shinken"
- "pip install -r requirements.txt"
- "pip install coveralls"
script: cd test && nosetests -vx --with-coverage --cover-package=module
after_success:
coveralls
notifications:
email: false
|
Reset to Ruby 2.3.1 and 2.4.2 | language: ruby
before_install:
- gem install bundler
rvm:
- 2.4.1
- 2.3.2
- 2.2.6
- 2.1.10
env:
- RAILS_VERSION=5.0
- RAILS_VERSION=4.2
matrix:
exclude:
- env: RAILS_VERSION=5.0
rvm: 2.1.10
fast_finish: true
| language: ruby
before_install:
- gem install bundler
rvm:
- 2.4.2
- 2.3.1
- 2.2.6
- 2.1.10
env:
- RAILS_VERSION=5.0
- RAILS_VERSION=4.2
matrix:
exclude:
- env: RAILS_VERSION=5.0
rvm: 2.1.10
fast_finish: true
|
Use old version of firebase-tools until we migrate | language: node_js
sudo: false
node_js:
- 4.2.3
branches:
only:
- master
script:
- echo 0
after_success:
- $(which npm) install -g firebase-tools
- if [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then firebase deploy --non-interactive --token $FIREBASE_TOKEN; fi
| language: node_js
sudo: false
node_js:
- 4.2.3
branches:
only:
- master
script:
- echo 0
after_success:
- $(which npm) install -g firebase-tools@^2.1
- if [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then firebase deploy --non-interactive --token $FIREBASE_TOKEN; fi
|
Install Django on the Travis-CI. | language: python
python:
- 2.7
- 3.5
- 3.6
env:
matrix:
- DJANGO_VERSION="Django>=1.8,<1.9"
- DJANGO_VERSION="Django>=1.9,<1.10"
- DJANGO_VERSION="Django>=1.10,<1.11"
- DJANGO_VERSION="Django>=1.11,<2.0"
- DJANGO_VERSION="Django>=2.0,<2.1"
matrix:
exclude:
- python: 2.7
env: DJANGO_VERSION="Django>=2.0,<2.1"
- python: 3.6
env: DJANGO_VERSION="Django>=1.8,<1.9"
- python: 3.6
env: DJANGO_VERSION="Django>=1.9,<1.10"
- python: 3.6
env: DJANGO_VERSION="Django>=1.10,<1.11"
cache:
directories:
- $HOME/.cache/pip/wheels
install:
- pip install -U pip wheel setuptools
- pip install .
- pip install -r requirements/qa.txt
- pip install -r requirements/ci.txt
script:
- coverage run -m pytest
after_success:
- codecov
| language: python
python:
- 2.7
- 3.5
- 3.6
env:
matrix:
- DJANGO_VERSION="Django>=1.8,<1.9"
- DJANGO_VERSION="Django>=1.9,<1.10"
- DJANGO_VERSION="Django>=1.10,<1.11"
- DJANGO_VERSION="Django>=1.11,<2.0"
- DJANGO_VERSION="Django>=2.0,<2.1"
matrix:
exclude:
- python: 2.7
env: DJANGO_VERSION="Django>=2.0,<2.1"
- python: 3.6
env: DJANGO_VERSION="Django>=1.8,<1.9"
- python: 3.6
env: DJANGO_VERSION="Django>=1.9,<1.10"
- python: 3.6
env: DJANGO_VERSION="Django>=1.10,<1.11"
cache:
directories:
- $HOME/.cache/pip/wheels
install:
- pip install -U pip wheel setuptools
- pip install $DJANGO_VERSION
- pip install -r requirements/qa.txt
- pip install -r requirements/ci.txt
- pip install .
script:
- coverage run -m pytest
after_success:
- codecov
|
Use xcode 8.2 for CI. |
language: swift
matrix:
include:
- os: osx
osx_image: xcode8
# - os: linux
# dist: trusty
# sudo: required
script:
- swift package update
- swift build
- swift test
|
language: swift
matrix:
include:
- os: osx
osx_image: xcode8.2
# - os: linux
# dist: trusty
# sudo: required
script:
- swift package update
- swift build
- swift test
|
Enable Ruby 2.0.0 on Travis | language: ruby
rvm:
- 1.9.2
- 1.9.3
- jruby-19mode
- rbx-19mode
notifications:
recipients:
- weppos@weppos.net | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
notifications:
recipients:
- weppos@weppos.net |
Add javadoc step to CI | name: Maven CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
| name: Maven CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
- name: Run Javadoc with Maven
run: mvn --batch-mode --update-snapshots javadoc:javadoc
|
Test if adding env variables will seletc gcc9 | name: Tests
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'true'
- name: build tests and run
run: |
cd tests
mkdir build && cd build
cmake ..
make
cd ../
./build/tests -s
| name: Tests
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'true'
- name: build tests and run
env:
CC: gcc-9
CXX: g++-9
run: |
cd tests
mkdir build && cd build
cmake ..
make
cd ../
./build/tests -s
|
Add publish unit test result action | name: JDK11 Build and Test
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup timezone
uses: zcong1993/setup-timezone@f28e5fb1ca95077c81b67be53bcd1923de2175ed
with:
timezone: Europe/London
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 11
# Step that does that actual cache save and restore
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -T3 -B test --file pom.xml
| name: JDK11 Build and Test
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup timezone
uses: zcong1993/setup-timezone@f28e5fb1ca95077c81b67be53bcd1923de2175ed
with:
timezone: Europe/London
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 11
# Step that does that actual cache save and restore
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -T3 -B test --file pom.xml
- name: Publish Test Report
if: ${{ always() }}
uses: scacap/action-surefire-report@v1 |
Update Wales Office TNA Timestamp | ---
site: walesoffice
host: www.walesoffice.gov.uk
redirection_date: 27th March 2013
tna_timestamp: 20130128140946
title: Wales Office
furl: www.gov.uk/wales-office
homepage: https://www.gov.uk/government/organisations/wales-office
---
| ---
site: walesoffice
host: www.walesoffice.gov.uk
redirection_date: 27th March 2013
tna_timestamp: 20130129084240
title: Wales Office
furl: www.gov.uk/wales-office
homepage: https://www.gov.uk/government/organisations/wales-office
---
|
Remove unnecessary flake8, black is all we need | version: 2.1
orbs:
codecov: codecov/codecov@1.0.5
jobs:
unittest-lint-codecov:
parallelism: 1
working_directory: ~/repo
docker:
- image: python:3.7
steps:
- checkout
- run:
name: Black lint check
command: |
pip install black && cd swifter && black -l 120 --check .
- run:
name: Flake8 lint check
command: |
pip install flake8 && cd swifter && flake8 --max-line-length 120 .
- run:
name: Unit tests
command: |
pip install pipenv && pipenv install && pipenv install coverage && pipenv run coverage run -m unittest swifter/swifter_tests.py
- run:
name: Codecov report
command: |
coverage report -i && coverage html -i
pip install codecov && codecov --required || (sleep 5 && codecov --required) || (sleep 5 && codecov --required) || (sleep 5 && codecov --required) || (sleep 5 && codecov --required)
- store_artifacts:
path: htmlcov
workflows:
version: 2
build-and-test:
jobs:
- unittest-lint-codecov
| version: 2.1
orbs:
codecov: codecov/codecov@1.0.5
jobs:
unittest-lint-codecov:
parallelism: 1
working_directory: ~/repo
docker:
- image: python:3.7
steps:
- checkout
- run:
name: Black lint check
command: |
pip install black && cd swifter && black -l 120 --check .
- run:
name: Unit tests
command: |
pip install pipenv && pipenv install && pipenv install coverage && pipenv run coverage run -m unittest swifter/swifter_tests.py
- run:
name: Codecov report
command: |
coverage report -i && coverage html -i
pip install codecov && codecov --required || (sleep 5 && codecov --required) || (sleep 5 && codecov --required) || (sleep 5 && codecov --required) || (sleep 5 && codecov --required)
- store_artifacts:
path: htmlcov
workflows:
version: 2
build-and-test:
jobs:
- unittest-lint-codecov
|
Update from Hackage at 2018-07-27T12:18:38Z | homepage: https://github.com/nikita-volkov/url-decoders
changelog-type: ''
hash: ecc511ded427ded3147197b2e36bd77405f44ded6d62d290399a5c356c7a47d5
test-bench-deps:
rerebase: ==1.*
url-decoders: -any
criterion: ==1.1.*
quickcheck-instances: ! '>=0.3.11 && <0.4'
tasty-quickcheck: ==0.8.*
tasty-hunit: ==0.9.*
tasty: ==0.11.*
QuickCheck: ! '>=2.8.1 && <2.10'
http-types: ==0.9.*
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
synopsis: Decoders for URL-encoding (aka Percent-encoding)
changelog: ''
basic-deps:
bytestring: ! '>=0.10.8 && <0.11'
base-prelude: <2
base: <5
unordered-containers: ==0.2.*
text: ! '>=1 && <2'
binary-parser: ==0.5.*
all-versions:
- '0.2'
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: '0.2'
description-type: haddock
description: ''
license-name: MIT
| homepage: https://github.com/nikita-volkov/url-decoders
changelog-type: ''
hash: 2363e4c271d9e60ac11c5ecdf8cb6c0e30f7931cf124c5ad1c6ff964452906ec
test-bench-deps:
rerebase: ==1.*
url-decoders: -any
criterion: ==1.5.*
quickcheck-instances: ! '>=0.3.11 && <0.4'
tasty-quickcheck: ! '>=0.9 && <0.11'
tasty-hunit: ! '>=0.9 && <0.11'
tasty: ! '>=0.12 && <2'
QuickCheck: ! '>=2.8.1 && <3'
http-types: ==0.12.*
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
synopsis: Decoders for URL-encoding (aka Percent-encoding)
changelog: ''
basic-deps:
bytestring: ! '>=0.10.8 && <0.11'
base-prelude: <2
base: <5
unordered-containers: ==0.2.*
text: ! '>=1 && <2'
binary-parser: ==0.5.*
all-versions:
- '0.2'
- '0.2.1'
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: '0.2.1'
description-type: haddock
description: ''
license-name: MIT
|
Make the feed action more flexible, allow to apply potion effects | eat_food:
actions:
cast:
- class: Feed
parameters:
target: self
saturation: 1
exhaustion: false
feed: 4
| eat_food:
actions:
cast:
- class: Feed
- class: PotionEffect
parameters:
target: self
|
Use the proper column name for the value of the counters | - name: swh_archive_object_count
help: Software Heritage Archive object counters
scope: database
cluster: main
database: softwareheritage
labels:
- object_type
values:
- count
query: >-
select label as object_type, value from swh_stat_counters()
| - name: swh_archive_object_count
help: Software Heritage Archive object counters
scope: database
cluster: main
database: softwareheritage
labels:
- object_type
values:
- value
query: >-
select label as object_type, value from swh_stat_counters()
|
Decrease log volume of gdn gats | ---
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.4.0'
platform: linux
inputs:
- name: gr-release-develop
- name: gdn-linux-release
params:
LOG_LEVEL: debug
run:
path: gr-release-develop/ci/scripts/gats-gdn-linux
| ---
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.4.0'
platform: linux
inputs:
- name: gr-release-develop
- name: gdn-linux-release
params:
LOG_LEVEL: error
run:
path: gr-release-develop/ci/scripts/gats-gdn-linux
|
Change to run the makefile. | - name: Start the redash container
command: cd /opt/containers/redash && sudo make run
| - name: Build and first start of the redash container
shell: "{{ item }}"
args:
chdir: /opt/containers/redash
with_items:
- sudo make run
|
FIX path to the new Beats dashboard scripts | ---
- hosts: localhost
become: true
tasks:
- name: Load the Filebeat dashboard
command: ./import_dashboards.sh
args:
chdir: /usr/share/filebeat/kibana/
- name: Load the Metricbeat dashboard
command: ./import_dashboards.sh
args:
chdir: /usr/share/metricbeat/kibana/
- name: Load the Packetbeat dashboard
command: ./import_dashboards.sh
args:
chdir: /usr/share/packetbeat/kibana/
| ---
- hosts: localhost
become: true
tasks:
- name: Load the Filebeat dashboard
command: ./import_dashboards
args:
chdir: /usr/share/filebeat/scripts/
- name: Load the Metricbeat dashboard
command: ./import_dashboards
args:
chdir: /usr/share/metricbeat/scripts/
- name: Load the Packetbeat dashboard
command: ./import_dashboards
args:
chdir: /usr/share/packetbeat/scripts/
|
Add sources for mod_mono and libgdiplus | box: debian
build:
steps:
- script:
name: install mono
code : |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install -y mono-devel
- script:
name: run tests
code: |
. ./run.bats
| box: debian
build:
steps:
- script:
name: install mono
code : |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install -y mono-devel
- script:
name: run tests
code: |
. ./run.bats
|
Change cellar key location to make it more difficult to get to. | - &cellar_key
vnum: 8
short_description:
en: "cellar key"
keywords:
en: [ "cellar", "cell", "cellar key", "key" ]
description:
en: "A large brass key."
room: 7
load_max: 1
| - &cellar_key
vnum: 8
short_description:
en: "cellar key"
keywords:
en: [ "cellar", "cell", "cellar key", "key" ]
description:
en: "A large brass key."
room: 6
load_max: 1
|
Update pathlib2 recipe to version 2.3.0 | {% set name = "pathlib2" %}
{% set version = "2.2.1" %}
package:
name: {{ name }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
md5: 6c75bfde898b6c88627621a48ee8de14
requirements:
build:
- python
- setuptools
- six
run:
- python
- six
- scandir # [py<35]
test:
imports:
- pathlib2
about:
home: https://pypi.python.org/pypi/pathlib2/
license: MIT
summary: object-oriented filesystem paths
| {% set name = "pathlib2" %}
{% set version = "2.3.0" %}
package:
name: {{ name }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
md5: 89c90409d11fd5947966b6a30a47d18c
requirements:
build:
- python
- setuptools
- six
run:
- python
- six
- scandir # [py<35]
test:
imports:
- pathlib2
about:
home: https://pypi.python.org/pypi/pathlib2/
license: MIT
summary: object-oriented filesystem paths
|
Update from Hackage at 2017-08-01T00:29:15Z | homepage: https://github.com/verement/lmdb-simple#readme
changelog-type: ''
hash: 18805f33c6bb761bd823e0feaf943e89f4692f8d9746792afa0b5d1ad8ff4331
test-bench-deps:
lmdb-simple: -any
base: -any
hspec: -any
criterion: -any
QuickCheck: -any
maintainer: rob@mars.org
synopsis: Simple API for LMDB
changelog: ''
basic-deps:
lmdb: ! '>=0.2'
bytestring: -any
base: ! '>=4.7 && <5'
binary: ! '>=0.8'
all-versions:
- '0.1.0.0'
author: Rob Leslie
latest: '0.1.0.0'
description-type: markdown
description: ! "\nSimple Haskell API for LMDB\n===========================\n\nThis
is a simple API for the [Lightning Memory-mapped Database][LMDB].\n\n [LMDB]: https://symas.com/lightning-memory-mapped-database/\n"
license-name: BSD3
| homepage: https://github.com/verement/lmdb-simple#readme
changelog-type: ''
hash: 33449427da5cf1b62959dbdb1752c8f8b0f55f050049a3ef6dd35e18103b95e3
test-bench-deps:
lmdb-simple: -any
base: -any
hspec: -any
criterion: -any
QuickCheck: -any
maintainer: rob@mars.org
synopsis: Simple API for LMDB
changelog: ''
basic-deps:
lmdb: ! '>=0.2 && <0.3'
bytestring: ! '>=0.10 && <0.11'
base: ! '>=4.7 && <5'
binary: ! '>=0.8 && <0.9'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
author: Rob Leslie
latest: '0.2.0.0'
description-type: markdown
description: ! "\nSimple Haskell API for LMDB\n===========================\n\nThis
is a simple API for the [Lightning Memory-mapped Database][LMDB].\n\n [LMDB]: https://symas.com/lightning-memory-mapped-database/\n"
license-name: BSD3
|
Fix mirror shield offhand behavior | mirrorshield:
icon: shield:1
indestructible: true
mode: none
bound: true
keep: true
right_click: none
left_clicK: none
drop: none
block_reflect_chance: 0.75
block_chance: 1
block_fov: 0.5
block_mage_cooldown: 3000
block_cooldown: 5000
| mirrorshield:
icon: shield:1
indestructible: true
mode: none
bound: true
keep: true
right_click: none
left_click: none
drop: none
block_reflect_chance: 0.75
block_chance: 1
block_fov: 0.5
block_mage_cooldown: 3000
block_cooldown: 5000
|
Remove kernel version requirement on digitalocean | ---
- hosts: localhost
gather_facts: no
tasks:
- name: check for security
when: security_enabled is not defined or not security_enabled
fail:
msg: |
Security is not enabled. Please run `security-setup` in the root
directory and re-run this playbook with the `--extra-vars`/`-e` option
pointing to your `security.yml` (e.g., `-e @security.yml`)
# Change concurrently with the required ansible version in requirements.txt
- name: check for compatible Ansible version
when: ansible_version["string"] | version_compare("1.9.1", "<") or ansible_version["string"] | version_compare("2", ">=")
fail:
msg: |
Your version of Ansible doesn't match the required version. Please
install ansible-playbook with `pip install -r requirements.txt`.
- hosts: all
gather_facts: yes
tasks:
- name: check for compatible centos version
when: ansible_distribution_version | version_compare("7.2", "<")
fail:
msg: |
Your hosts don't appear to be running a compatible version of Centos.
Please run the playbook playbooks/upgrade-packages.yml before
continuing.
- name: check for compatible kernel version
when: ansible_kernel | version_compare("3.10.0-327", "<")
fail:
msg: |
Your hosts don't appear to be running a compatible version of the
Linux kernel. Please run the playbook playbooks/upgrade-packages.yml
before continuing.
| ---
- hosts: localhost
gather_facts: no
tasks:
- name: check for security
when: security_enabled is not defined or not security_enabled
fail:
msg: |
Security is not enabled. Please run `security-setup` in the root
directory and re-run this playbook with the `--extra-vars`/`-e` option
pointing to your `security.yml` (e.g., `-e @security.yml`)
# Change concurrently with the required ansible version in requirements.txt
- name: check for compatible Ansible version
when: >
ansible_version["string"] | version_compare("1.9.1", "<")
or ansible_version["string"] | version_compare("2", ">=")
fail:
msg: |
Your version of Ansible doesn't match the required version. Please
install ansible-playbook with `pip install -r requirements.txt`.
- hosts: all
gather_facts: yes
tasks:
- name: check for compatible centos version
when: ansible_distribution_version | version_compare("7.2", "<")
fail:
msg: |
Your hosts don't appear to be running a compatible version of Centos.
Please run the playbook playbooks/upgrade-packages.yml before
continuing.
- name: check for compatible kernel version
when: >
ansible_kernel | version_compare("3.10.0-327", "<")
and provider != "digitalocean"
and provider != "packer"
fail:
msg: |
Your hosts don't appear to be running a compatible version of the
Linux kernel. Please run the playbook playbooks/upgrade-packages.yml
before continuing.
|
Implement caching Yarn cache in GitHub Actions | # This workflow will do a clean install of node dependencies and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
on:
push:
branches: ['*']
pull_request:
branches: [main]
jobs:
lint:
name: Static code analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: yarn --immutable
env:
HUSKY: 0
- name: Run tests
run: yarn lint
unit:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: yarn --immutable
env:
HUSKY: 0
- name: Run tests
run: yarn jest
| # This workflow will do a clean install of node dependencies and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
on:
push:
branches: ['*']
pull_request:
branches: [main]
jobs:
lint:
name: Static code analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache .yarn/cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: yarn --immutable
env:
HUSKY: 0
- name: Run tests
run: yarn lint
unit:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache .yarn/cache
uses: actions/cache@v3
env:
cache-name: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: yarn --immutable
env:
HUSKY: 0
- name: Run tests
run: yarn jest
|
Add RoboFile to excluded list on Scrutinizer | filter:
excluded_paths: [tests/*]
checks:
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true
tools:
external_code_coverage:
timeout: 600
runs: 3
| filter:
excluded_paths:
- tests/*
- RoboFile.php
checks:
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true
tools:
external_code_coverage:
timeout: 600
runs: 3
|
Upgrade UAA to 71.0 to mitigate CVE-2019-3788 | ---
- type: replace
path: /releases/name=uaa
value:
name: "uaa"
version: "70.0"
url: "https://bosh.io/d/github.com/cloudfoundry/uaa-release?v=70.0"
sha1: "c23b71fb2a3d01a1f494753b7f00ae40c549838f"
| ---
- type: replace
path: /releases/name=uaa
value:
name: "uaa"
version: "71.0"
url: "https://bosh.io/d/github.com/cloudfoundry/uaa-release?v=71.0"
sha1: "5c41116e2a57a7d78a9ae4ceeb100415f949d8e3"
|
Update from Hackage at 2017-04-22T10:00:45Z | homepage: ''
changelog-type: ''
hash: f4761660702c0d077bddd3c6bce9ff23c993467d1ac6d7d7413901a6b74ce682
test-bench-deps: {}
maintainer: andres@well-typed.com
synopsis: A generic pretty-printer using generics-sop
changelog: ''
basic-deps:
base: ! '>=4.6 && <5'
pretty-show: ! '>=1.6 && <1.7'
generics-sop: ! '>=0.2 && <0.3'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.2.0.0'
author: Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com>
latest: '0.2.0.0'
description-type: haddock
description: ! 'This library contains a generic implementation of the ''prettyVal''
function from the @<https://hackage.haskell.org/package/pretty-show pretty-show>@
package. Using the pretty printer, values can easily be rendered to
strings and HTML documents in a uniform way.
This library makes use of the
@<https://hackage.haskell.org/package/generics-sop generics-sop>@ package and
is an example of a generic function defined in the SOP style.
'
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: 5bb01f756c140798f8c61435532ad8106e3308bb3ef47d02cb756b08d6c16f36
test-bench-deps: {}
maintainer: andres@well-typed.com
synopsis: A generic pretty-printer using generics-sop
changelog: ''
basic-deps:
base: ! '>=4.6 && <5'
pretty-show: ! '>=1.6 && <1.7'
generics-sop: ! '>=0.2 && <0.3'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.2.0.0'
- '0.2.0.1'
author: Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com>
latest: '0.2.0.1'
description-type: haddock
description: ! 'This library contains a generic implementation of the ''prettyVal''
function from the @<https://hackage.haskell.org/package/pretty-show pretty-show>@
package. Using the pretty printer, values can easily be rendered to
strings and HTML documents in a uniform way.
This library makes use of the
@<https://hackage.haskell.org/package/generics-sop generics-sop>@ package and
is an example of a generic function defined in the SOP style.
'
license-name: BSD3
|
Upgrade to node 7 and add yarn | ---
- name: Set up Node.js
command: bash -c "curl -sL https://deb.nodesource.com/setup_4.x | bash -"
- name: Install Node.js
apt: pkg=nodejs state=installed
- name: Install some NPM Packages
npm: name="{{ item }}" global=yes state=latest
with_items:
- bower
- gulp-cli
- grunt-cli
- webpack
- browserify
- babel-cli
| ---
- name: Set up Node.js
command: bash -c "curl -sL https://deb.nodesource.com/setup_7.x | bash -"
- name: Install Node.js
apt: pkg=nodejs state=installed
- name: Install some NPM Packages
npm: name="{{ item }}" global=yes state=latest
with_items:
- yarn
- bower
- gulp-cli
- grunt-cli
- webpack
- browserify
- babel-cli
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.