Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add python 3.7 to ci | language: python
cache: pip
python:
- "3.5"
- "3.6"
env:
# the Django version from requirements.txt is used
- $DENV=""
# the latest Django development version is used
- $DENV="pip install --upgrade --pre Django"
# allow the Django pre version to fail without failing the entire build
matrix:
fast_finish: true
allow_failures:
- env: $DENV="pip install --upgrade --pre Django"
install:
- pip install -U pip wheel
- pip install -r requirements.txt
- $DENV
- pip install coveralls
script:
- export PYTHONWARNINGS=all
- python src/manage.py check
- python src/manage.py test feedback
- coverage run --omit="*/migrations*" --source="." src/manage.py test feedback
after_success:
coveralls
| language: python
cache: pip
python:
- "3.5"
- "3.6"
- "3.7"
env:
# the Django version from requirements.txt is used
- $DENV=""
# the latest Django development version is used
- $DENV="pip install --upgrade --pre Django"
# allow the Django pre version to fail without failing the entire build
matrix:
fast_finish: true
allow_failures:
- env: $DENV="pip install --upgrade --pre Django"
install:
- pip install -U pip wheel
- pip install -r requirements.txt
- $DENV
- pip install coveralls
script:
- export PYTHONWARNINGS=all
- python src/manage.py check
- python src/manage.py test feedback
- coverage run --omit="*/migrations*" --source="." src/manage.py test feedback
after_success:
coveralls
|
Add 0.9.0.0 and phoenix-integration branches to Travis | language: java
notifications:
email:
recepients:
- dev@omid.incubator.apache.org
on_success: always
on_failure: always
jdk:
- oraclejdk8
branches:
only:
- master
cache:
directories:
- "~/.m2"
install: true
before_script:
# This is required to avoid failures of HBase minicluster related to Hadoop 1.x releases
- umask 022
- git config --global user.email "dev@omid.incubator.apache.org"
- git config --global user.name "Omid CI"
# Install protobuf to genearte TSO client-server protocol in each compilation
- cd ..
- wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz
- tar -xzvf protobuf-2.5.0.tar.gz
- cd protobuf-2.5.0 && ./configure --prefix=/usr && make && sudo make install
- cd ../incubator-omid
script:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ] ; then
git checkout master
&&
mvn clean cobertura:cobertura coveralls:report -Phbase-0 ;
else
git checkout -b tmp-build-branch
&&
mvn clean test -Phbase-0 ;
fi | language: java
notifications:
email:
recepients:
- dev@omid.incubator.apache.org
on_success: always
on_failure: always
jdk:
- oraclejdk8
branches:
only:
- master
- 0.9.0.0
- phoenix-integration
cache:
directories:
- "~/.m2"
install: true
before_script:
# This is required to avoid failures of HBase minicluster related to Hadoop 1.x releases
- umask 022
- git config --global user.email "dev@omid.incubator.apache.org"
- git config --global user.name "Omid CI"
# Install protobuf to genearte TSO client-server protocol in each compilation
- cd ..
- wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz
- tar -xzvf protobuf-2.5.0.tar.gz
- cd protobuf-2.5.0 && ./configure --prefix=/usr && make && sudo make install
- cd ../incubator-omid
script:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ] ; then
git checkout master
&&
mvn clean cobertura:cobertura coveralls:report -Phbase-0 ;
else
git checkout -b tmp-build-branch
&&
mvn clean test -Phbase-0 ;
fi |
Remove non-docker apt-get calls for testing | sudo: required
services: docker
os: linux
dist: xenial
before_install:
- DEBIAN_FRONTEND=noninteractive sudo -E apt-get -y -qq update
- DEBIAN_FRONTEND=noninteractive sudo -E apt-get -y -qq dist-upgrade
- docker pull ubuntu:latest
language: c
before_script:
- test -d m4 || mkdir m4
- docker run -n temp ubuntu:latest sh -c 'apt-get -qq -y update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y dist-upgrade && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install autoconf-archive automake build-essential curl gcc git lcov libcurl4-openssl-dev libdmalloc-dev libpthread-stubs0-dev libtest-pod-perl libtool perl pkg-config python-pip valgrind && pip install --upgrade pip && pip install cpp-coveralls'
script: docker run -n test temp sh -c '(cd c-tap-harness && ./bootstrap) && autoreconf -i && ./configure --enable-valgrind --enable-compiler-warnings=error --with-dmalloc --with-gcov && make distcheck'
#COPY . /root/dial-reference
addons:
apt:
packages:
- gcc
- automake
- lcov
- libtool
- libdmalloc-dev
- libcurl4-openssl-dev
- curl
- perl
- valgrind
- libtest-pod-perl
srcclr: true
| sudo: required
services: docker
os: linux
dist: xenial
before_install:
- docker pull ubuntu:latest
language: c
before_script:
- test -d m4 || mkdir m4
- docker run -n temp ubuntu:latest sh -c 'apt-get -qq -y update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y dist-upgrade && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install autoconf-archive automake build-essential curl gcc git lcov libcurl4-openssl-dev libdmalloc-dev libpthread-stubs0-dev libtest-pod-perl libtool perl pkg-config python-pip valgrind && pip install --upgrade pip && pip install cpp-coveralls'
script: docker run -n test temp sh -c '(cd c-tap-harness && ./bootstrap) && autoreconf -i && ./configure --enable-valgrind --enable-compiler-warnings=error --with-dmalloc --with-gcov && make distcheck'
#COPY . /root/dial-reference
addons:
apt:
packages:
- gcc
- automake
- lcov
- libtool
- libdmalloc-dev
- libcurl4-openssl-dev
- curl
- perl
- valgrind
- libtest-pod-perl
srcclr: true
|
Enable automated testing on PyPy 3 | language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
env:
- secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0="
install:
- pip install pytest pytest-xdist 'pytest-cov>=1.8.0' pytest-capturelog memory_profiler psutil coveralls
- pip install -e .
script:
- python -mwand.version --verbose
- py.test --cov wand --boxed --durations=20
after_success:
- coveralls
notifications:
irc:
channels:
- "ircs://ssl.ozinger.org:16667#hongminhee"
- "irc.freenode.net#wand"
on_success: change
on_failure: always
| language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
- pypy3
env:
- secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0="
install:
- pip install pytest pytest-xdist 'pytest-cov>=1.8.0' pytest-capturelog memory_profiler psutil coveralls
- pip install -e .
script:
- python -mwand.version --verbose
- py.test --cov wand --boxed --durations=20
after_success:
- coveralls
notifications:
irc:
channels:
- "ircs://ssl.ozinger.org:16667#hongminhee"
- "irc.freenode.net#wand"
on_success: change
on_failure: always
|
Test with latest Ruby version | language: ruby
sudo: false
cache: bundler
rvm:
- 2.3.3
- 2.2.6
after_success:
- bundle exec codeclimate-test-reporter
| language: ruby
sudo: false
cache: bundler
rvm:
- 2.4.1
- 2.3.3
- 2.2.6
after_success:
- bundle exec codeclimate-test-reporter
|
Remove permission change, that was not the problem | language: java
jdk:
- openjdk8
- openjdk7
- openjdk6
before_install:
- chmod +x gradlew | language: java
jdk:
- openjdk8
- openjdk7
- openjdk6 |
Update to the latest version of Foodcritic | script: "gem install foodcritic -v 1.7.0 && foodcritic -f any -t ~FC023 -t ~FC022 -t ~FC017 ."
rvm:
- 1.9.3
| script: "gem install foodcritic -v 2.0.0 && foodcritic -f any -t ~FC023 -t ~FC017 ."
rvm:
- 1.9.3
|
Use batch mode for Travis CI build. | cache:
directories:
- $HOME/.m2/repository
git:
depth: 3
jdk:
- openjdk8
- oraclejdk8
language: java
install: mvn install -DskipTests=true -Pfeature-truelicense-v1
script: mvn verify -Pfeature-truelicense-v1
| cache:
directories:
- $HOME/.m2/repository
git:
depth: 3
jdk:
- openjdk8
- oraclejdk8
language: java
install: mvn install -DskipTests=true -B -Pfeature-truelicense-v1
script: mvn verify -B -Pfeature-truelicense-v1
|
Use code coverage from PHP 5.6 test | sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: 7.0
before_script:
- travis_retry composer selfupdate
- travis_retry composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phpunit --coverage-clover=coverage.clover
after_script:
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
| sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: 7.0
before_script:
- travis_retry composer selfupdate
- travis_retry composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phpunit --coverage-clover=coverage.clover
after_script:
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi;
|
Migrate to new infrastracture on Travis | language: android
android:
components:
- build-tools-22.0.1
- android-22
- extra
script: ./gradlew test
| language: android
sudo: false
android:
components:
- build-tools-22.0.1
- android-22
- extra
script: ./gradlew test
|
Revert "try rbx 1.9 mode" | before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
rvm:
- 1.9.3
- 1.9.2
- 1.8.7
- rbx-18mode
- rbx-19mode
gemfile:
- Gemfile
- ci/Gemfile.capybara1-0
- ci/Gemfile.capybara1-1
| before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
rvm:
- 1.9.3
- 1.9.2
- 1.8.7
- rbx-18mode
gemfile:
- Gemfile
- ci/Gemfile.capybara1-0
- ci/Gemfile.capybara1-1
|
Drop CI tests for Go 1.6 and add Go 1.9 | language: go
go:
- 1.6
- 1.7
- 1.8
install:
- go get github.com/nsf/termbox-go
sudo: false
os:
- linux
- osx
| language: go
go:
- 1.7
- 1.8
- 1.9
install:
- go get github.com/nsf/termbox-go
sudo: false
os:
- linux
- osx
|
Build using current Go release. | language: go
go:
- 1.7
- tip
script: go test -v
sudo: false
| language: go
go:
- 1.8
- tip
script: go test -v
sudo: false
|
Add -t coverage.py to TravisCI config | language: python
python: 3.6
cache: pip
install:
- "pip install coveralls"
- "pip install -r requirements.txt"
before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
# - flake8 .
# - pytest --cov=artistools
- coverage run --source artistools setup.py test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
after_success:
# - codecov
- coveralls
git:
lfs_skip_smudge: false | language: python
python: 3.6
cache: pip
install:
- "pip install coveralls"
- "pip install -r requirements.txt"
before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
# - flake8 .
# - pytest --cov=artistools
- coverage run --source artistools setup.py test
- find . -name ".coverage"
- pwd
after_script:
- ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
after_success:
# - codecov
- coveralls
git:
lfs_skip_smudge: false |
Add Python3 zed unit tests | - project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-python3-yoga-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
| - project:
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-python3-zed-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
|
Make sure to apt-get update before trying to install mysql. | ---
- name: install mysql
apt: pkg=$item state=installed
with_items:
- python-mysqldb
- mysql-client
- mysql-server
- name: start the mysql service
action: service name=mysql state=started
- name: update mysql root password for all root accounts
mysql_user: name=root host=$item password=$mysql_root_password
with_items:
- $ansible_hostname
- 127.0.0.1
- ::1
- localhost
- name: copy .my.cnf file with root password credentials
template: src=root-my.cnf.j2 dest=/root/.my.cnf owner=root mode=0600
- name: delete anonymous mysql server user for hostname
action: mysql_user user='' host='$ansible_hostname' state='absent'
- name: delete anonymous mysql server user for localhost
action: mysql_user user='' state='absent'
- name: remove the mysql test database
action: mysql_db db=test state=absent
| ---
- name: install mysql
apt: pkg=$item state=installed update_cache=yes
with_items:
- python-mysqldb
- mysql-client
- mysql-server
- name: start the mysql service
action: service name=mysql state=started
- name: update mysql root password for all root accounts
mysql_user: name=root host=$item password=$mysql_root_password
with_items:
- $ansible_hostname
- 127.0.0.1
- ::1
- localhost
- name: copy .my.cnf file with root password credentials
template: src=root-my.cnf.j2 dest=/root/.my.cnf owner=root mode=0600
- name: delete anonymous mysql server user for hostname
action: mysql_user user='' host='$ansible_hostname' state='absent'
- name: delete anonymous mysql server user for localhost
action: mysql_user user='' state='absent'
- name: remove the mysql test database
action: mysql_db db=test state=absent
|
Move jupyter to host requirement | {% set name = "markdown-kernel" %}
{% set version = "0.2.0" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 6487c240a7424fb20f62aa61d0dd16971e9a757fe08d1482916560156eef7b3b
build:
number: 0
noarch: python
script:
- {{ PYTHON }} -m pip install . --no-deps -vv
- {{ PYTHON }} -m markdown_kernel.install --prefix {{ PREFIX }}
requirements:
host:
- pip
- python
- jupyter
run:
- python
- markdown
- ipykernel
test:
imports:
- markdown_kernel
commands:
- jupyter kernelspec list | grep markdown
about:
home: https://github.com/vatlab/markdown-kernel
license: BSD
license_family: BSD
license_file: LICENSE
summary: "A markdown kernel for jupyter"
doc_url: https://github.com/vatlab/markdown-kernel
dev_url: https://github.com/vatlab/markdown-kernel
extra:
recipe-maintainers:
- BoPeng
| {% set name = "markdown-kernel" %}
{% set version = "0.2.0" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 6487c240a7424fb20f62aa61d0dd16971e9a757fe08d1482916560156eef7b3b
build:
number: 0
noarch: python
script:
- {{ PYTHON }} -m pip install . --no-deps -vv
- {{ PYTHON }} -m markdown_kernel.install --prefix {{ PREFIX }}
requirements:
host:
- pip
- python
- jupyter_client
- ipykernel
run:
- python
- markdown
- jupyter_client
- ipykernel
test:
imports:
- markdown_kernel
commands:
- jupyter kernelspec list | grep markdown
about:
home: https://github.com/vatlab/markdown-kernel
license: BSD
license_family: BSD
license_file: LICENSE
summary: "A markdown kernel for jupyter"
doc_url: https://github.com/vatlab/markdown-kernel
dev_url: https://github.com/vatlab/markdown-kernel
extra:
recipe-maintainers:
- BoPeng
|
Add more aggressive filter to remove changes in some files triggering a build | imports:
- php
build:
environment:
php: '5.6.16'
tools:
php_code_sniffer:
filter:
excluded-paths: [ spec/*, examples/* ]
config:
standard: PSR2
php_analyzer:
filter:
excluded-paths: [ spec/*, examples/* ]
php_sim:
filter:
excluded-paths: [ spec/*, examples/* ]
build_failure_conditions:
- 'issues.label("coding-style").new.exists'
filter:
excluded_paths:
- docs/*
- vendor/*
| imports:
- php
build:
environment:
php: '5.6.16'
tools:
php_code_sniffer:
filter:
paths: [ src/* ]
excluded-paths: [ spec/*, examples/* ]
config:
standard: PSR2
php_analyzer:
filter:
paths: [ src/* ]
excluded-paths: [ spec/*, examples/* ]
php_sim:
filter:
paths: [ src/* ]
excluded-paths: [ spec/*, examples/* ]
build_failure_conditions:
- 'issues.label("coding-style").new.exists'
filter:
paths: [ src/* ]
excluded_paths:
- docs/*
- vendor/*
|
Use chrome beta for testing | language: node_js
dist: trusty
sudo: required
node_js:
- "0.10"
before_install:
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get -qq update
- export CHROME_BIN=google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get install -y libgif-dev nodejs mesa-utils google-chrome-stable
- glxinfo
before_script:
- "./utils/build.sh"
| language: node_js
dist: trusty
sudo: required
node_js:
- "0.10"
before_install:
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get -qq update
- export CHROME_BIN=google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get install -y libgif-dev nodejs mesa-utils google-chrome-beta
- glxinfo
before_script:
- "./utils/build.sh"
|
Remove PHP 5.3 version for testing | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer self-update
- composer install --prefer-source
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer self-update
- composer install --prefer-source
|
Remove PHP 7.3 from allowed failures list | distro: trusty
sudo: false
language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
matrix:
allow_failures:
- php: 7.3
services:
- mysql
before_script:
- npm install grunt grunt-cli grunt-contrib-jshint grunt-contrib-csslint grunt-phplint --save-dev
- mysql -u root -e "CREATE DATABASE rhymix CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci"
- mysql -u root -e "GRANT ALL PRIVILEGES ON rhymix.* TO travis@localhost"
- mysql -u root -e "UPDATE mysql.user SET Password = PASSWORD('travis') WHERE User = 'travis'; FLUSH PRIVILEGES"
- if [[ $TRAVIS_PHP_VERSION != "7.3" ]]; then phpenv config-rm xdebug.ini; fi
- wget https://codeception.com/releases/2.3.9/codecept.phar
- php -S localhost:8000 &
script:
- php codecept.phar build
- php codecept.phar run --debug --fail-fast --env travis
- grunt lint
notifications:
email: false
| distro: trusty
sudo: false
language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
services:
- mysql
before_script:
- npm install grunt grunt-cli grunt-contrib-jshint grunt-contrib-csslint grunt-phplint --save-dev
- mysql -u root -e "CREATE DATABASE rhymix CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci"
- mysql -u root -e "GRANT ALL PRIVILEGES ON rhymix.* TO travis@localhost"
- mysql -u root -e "UPDATE mysql.user SET Password = PASSWORD('travis') WHERE User = 'travis'; FLUSH PRIVILEGES"
- if [[ $TRAVIS_PHP_VERSION != "7.3" ]]; then phpenv config-rm xdebug.ini; fi
- wget https://codeception.com/releases/2.3.9/codecept.phar
- php -S localhost:8000 &
script:
- php codecept.phar build
- php codecept.phar run --debug --fail-fast --env travis
- grunt lint
notifications:
email: false
|
Add v5.22 to Travis, and run in container by turning off sudo | sudo: false
sudo: false | sudo: false
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --quiet --installdeps --notest .
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
script:
- cover -delete && cover -test
after_success:
- cover -report coveralls
|
Update bundler for older rubies? | before_install:
- gem update --system
env:
global:
- AWS_ACCESS_KEY_ID=foo
- AWS_SECRET_ACCESS_KEY=bar
gemfile:
- gemfiles/libxml.gemfile
- gemfiles/nokogiri.gemfile
- gemfiles/oga.gemfile
- gemfiles/ox.gemfile
- gemfiles/rexml.gemfile
language: ruby
matrix:
allow_failures:
- rvm: ruby-head
exclude:
- rvm: jruby-9000
gemfile: gemfiles/ox.gemfile
rvm:
- 2.1
- 2.2
- 2.3.3
- 2.4.0
- jruby-9000
- ruby-head
sudo: false
| before_install:
- gem update --system
- gem install bundler
env:
global:
- AWS_ACCESS_KEY_ID=foo
- AWS_SECRET_ACCESS_KEY=bar
gemfile:
- gemfiles/libxml.gemfile
- gemfiles/nokogiri.gemfile
- gemfiles/oga.gemfile
- gemfiles/ox.gemfile
- gemfiles/rexml.gemfile
language: ruby
matrix:
allow_failures:
- rvm: ruby-head
exclude:
- rvm: jruby-9000
gemfile: gemfiles/ox.gemfile
rvm:
- 2.1
- 2.2
- 2.3.3
- 2.4.0
- jruby-9000
- ruby-head
sudo: false
|
Revert "Try multi cpu arch (2)" | language: php
arch:
- amd64
- arm64
os: linux
php:
- "7.2"
services:
- docker
before_install:
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD $DOCKER_REGISTRY
script:
- cd php
- ./build.sh $TRAVIS_PHP_VERSION $DOCKER_USER $DOCKER_PASSWORD $DOCKER_REGISTRY
| language: php
arch:
- amd64
- arm64
php:
- "5.6"
- "7.0"
- "7.1"
- "7.2"
- "7.3"
sudo: required
services:
- docker
before_install:
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD $DOCKER_REGISTRY
script:
- cd php
- ./build.sh $TRAVIS_PHP_VERSION $DOCKER_USER $DOCKER_PASSWORD $DOCKER_REGISTRY
|
Improve role metadata for Ansible Galaxy | ---
dependencies:
- { role: Aplyca.Nginx, tags: ["nginx"], when: accelerator.use_nginx }
- { role: Aplyca.Varnish, tags: ["varnish"] }
galaxy_info:
author: aplyca
description: Accelerator for Debian/Ubuntu.
company: "Aplyca SAS"
license: "license (BSD, MIT)"
min_ansible_version: 1.4
platforms:
- name: Debian
versions:
- all
- name: Ubuntu
versions:
- all
categories:
- web
| ---
dependencies:
- { role: Aplyca.Nginx, tags: ["nginx"], when: accelerator.use_nginx }
- { role: Aplyca.Varnish, tags: ["varnish"] }
galaxy_info:
author: aplyca
description: Accelerator for Debian/Ubuntu.
company: "Aplyca SAS"
license: "license (BSD, MIT)"
min_ansible_version: 1.4
platforms:
- name: Debian
versions:
- all
- name: Ubuntu
versions:
- all
galaxy_tags:
- web
|
Change MongoDB backup LVM mount to sdd1 | ---
govuk::safe_to_reboot::can_reboot: 'careful'
govuk::safe_to_reboot::reason: 'Check for primary, reboot secondaries, step down primary, reboot primary'
lv:
mongodb:
pv: '/dev/sdb1'
vg: 'backup'
data:
pv: '/dev/sdc1'
vg: 'mongodb'
mount:
/var/lib/mongodb:
disk: '/dev/mapper/mongodb-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
/var/lib/automongodbbackup:
disk: '/dev/mapper/backup-mongodb'
govuk_lvm: 'mongodb'
mountoptions: 'defaults'
mongodb::server::replicaset_members:
- 'mongo-1.backend'
- 'mongo-2.backend'
- 'mongo-3.backend'
| ---
govuk::safe_to_reboot::can_reboot: 'careful'
govuk::safe_to_reboot::reason: 'Check for primary, reboot secondaries, step down primary, reboot primary'
lv:
mongodb:
pv: '/dev/sdd1'
vg: 'backup'
data:
pv: '/dev/sdc1'
vg: 'mongodb'
mount:
/var/lib/mongodb:
disk: '/dev/mapper/mongodb-data'
govuk_lvm: 'data'
mountoptions: 'defaults'
/var/lib/automongodbbackup:
disk: '/dev/mapper/backup-mongodb'
govuk_lvm: 'mongodb'
mountoptions: 'defaults'
mongodb::server::replicaset_members:
- 'mongo-1.backend'
- 'mongo-2.backend'
- 'mongo-3.backend'
|
Use a dev version constraint in stub_core_library. | name: stub_core_library
description: A repo-internal package for creating core library stubs.
dependencies:
args: ">=0.11.0 <0.12.0"
analyzer: ">=0.22.0 <0.23.0"
path: ">=1.1.0 <2.0.0"
| name: stub_core_library
description: A repo-internal package for creating core library stubs.
dependencies:
args: ">=0.11.0 <0.12.0"
analyzer: ">=0.22.0-dev <0.23.0"
path: ">=1.1.0 <2.0.0"
|
Rename 'Test with pytest' -> 'Run pytest' | name: Python unittest
on: [push]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
max-parallel: 3
matrix:
python-version: [3.5, 3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies for test
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run isort
run: isort -c
- name: Test with pytest
run: pytest
- name: Run code coverage
run: |
pip install codecov pytest-cov
pytest --cov=./vk
codecov
| name: Python unittest
on: [push]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
max-parallel: 3
matrix:
python-version: [3.5, 3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies for test
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run isort
run: isort -c
- name: Run pytest
run: pytest
- name: Run code coverage
run: |
pip install codecov pytest-cov
pytest --cov=./vk
codecov
|
Fix up 1.11 e2e tests | # this config file is similar to the default, except we set the cluster's
# service cidr range to be 10.0.0.0/16.
# we do this because we need a fixed/predictable clusterIP of 10.0.0.15 for the
# nginx-ingress service, in order to perform HTTP01 validations during tests.
apiVersion: kind.sigs.k8s.io/v1alpha2
kind: Config
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
# config generated by kind
apiVersion: kubeadm.k8s.io/v1alpha2
kind: MasterConfiguration
networking:
serviceSubnet: 10.0.0.0/16
kubeletConfiguration:
baseConfig:
clusterDNS:
- 10.0.0.10
| # this config file is similar to the default, except we set the cluster's
# service cidr range to be 10.0.0.0/16.
# we do this because we need a fixed/predictable clusterIP of 10.0.0.15 for the
# nginx-ingress service, in order to perform HTTP01 validations during tests.
apiVersion: kind.sigs.k8s.io/v1alpha2
kind: Config
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
# config generated by kind
apiVersion: kubeadm.k8s.io/v1alpha2
kind: MasterConfiguration
metadata:
name: config
networking:
serviceSubnet: 10.0.0.0/16
kubeletConfiguration:
baseConfig:
clusterDNS:
- 10.0.0.10
|
Add block and release step | steps:
- label: ":docker: :sbt: Run tests"
command:
- docker build --tag scala-redox:${BUILDKITE_COMMIT} -f .buildkite/Dockerfile .
- docker run -e REDOX_API_SECRET -e REDOX_API_KEY scala-redox:${BUILDKITE_COMMIT} sbt test
| steps:
- label: ":docker: :sbt: Run tests"
command:
- docker build --tag scala-redox:${BUILDKITE_COMMIT} -f .buildkite/Dockerfile .
- docker run -e REDOX_API_SECRET -e REDOX_API_KEY scala-redox:${BUILDKITE_COMMIT} sbt test
- wait
- block: ":rocket: Release"
prompt: Create a release, and push it to Sonatype and Github?
branches: "master"
- label: ":maven: :sbt: Create release"
command:
- git checkout -B ${BUILDKITE_BRANCH}
- git branch -u origin/${BUILDKITE_BRANCH}
- git config branch.${BUILDKITE_BRANCH}.remote origin
- git config branch.${BUILDKITE_BRANCH}.merge refs/heads/${BUILDKITE_BRANCH}
- git clean -df
- sbt -batch "release with-defaults skip-tests"
|
Install Bundler, then use the Gemfile(.lock). | ---
- name: Install python-apt for apt_repository.
apt: name={{ item }} state=latest
with_items:
- python-apt
- python-pycurl
sudo: yes
- name: Add the Brightbox PPA
apt_repository: repo=ppa:brightbox/ruby-ng state=present
sudo: yes
- name: Install system packages necessary for Jekyll
apt: name={{ item }} state=latest update_cache=yes
with_items:
- build-essential
- ruby2.1-dev
- nodejs
sudo: yes
- name: Install Jekyll and necessary gems
gem: name={{ item }} state=latest executable=/usr/bin/gem2.1 user_install=no
with_items:
- jekyll
- jekyll-less
- therubyracer
- execjs
- stringex
sudo: yes
| ---
- name: Install python-apt for apt_repository.
apt: name={{ item }} state=latest
with_items:
- python-apt
- python-pycurl
sudo: yes
- name: Add the Brightbox PPA
apt_repository: repo=ppa:brightbox/ruby-ng state=present
sudo: yes
- name: Install system packages necessary for Jekyll
apt: name={{ item }} state=latest update_cache=yes
with_items:
- build-essential
- ruby2.1-dev
- nodejs
sudo: yes
- name: Install bundler
gem: name=bundler state=latest
sudo: yes
- name: Install Jekyll and its dependencies
command: bundle install --gemfile=/vagrant_data/Gemfile
sudo: yes
|
Fix github action python version | name: Backend
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
checks:
name: Run tests
runs-on: ubuntu-latest
env:
DJANGO_SETTINGS_MODULE: churchill.settings.test
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Set up Python 3.9.2
uses: actions/setup-python@v1
with:
python-version: 3.9.2
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Run pytest suite
run: |
pytest --ds=churchill.settings.test --disable-warnings --create-db churchill/tests
| name: Backend
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
checks:
name: Run tests
runs-on: ubuntu-latest
env:
DJANGO_SETTINGS_MODULE: churchill.settings.test
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Set up Python 3.9.4
uses: actions/setup-python@v1
with:
python-version: 3.9.4
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Run pytest suite
run: |
pytest --ds=churchill.settings.test --disable-warnings --create-db churchill/tests
|
Add action to build all BPF permutations | name: BPF checks
on:
pull_request: {}
push:
branches:
- master
jobs:
checkpatch:
name: checkpatch
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run checkpatch.pl
uses: docker://cilium/cilium-checkpatch:5b099019bf0db775b33b3f32cd5ecea55dd15f21
coccicheck:
name: coccicheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://cilium/coccicheck:1.0
with:
entrypoint: ./contrib/coccinelle/check-cocci.sh
| name: BPF checks
on:
pull_request: {}
push:
branches:
- master
jobs:
checkpatch:
name: checkpatch
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run checkpatch.pl
uses: docker://cilium/cilium-checkpatch:5b099019bf0db775b33b3f32cd5ecea55dd15f21
coccicheck:
name: coccicheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://cilium/coccicheck:1.0
with:
entrypoint: ./contrib/coccinelle/check-cocci.sh
build_all:
name: build datapath
runs-on: ubuntu-latest
steps:
- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v2
with:
path: $HOME/.clang
key: llvm-10.0
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "10.0"
directory: $HOME/.clang
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build all BPF datapath permutations
env:
V: 0
run: |
make --quiet -C bpf build_all || (echo "Run 'make -C bpf build_all' locally to investigate build breakages"; exit 1)
|
Update latest PHP Version in AppVeyor to 7.0.5 | version: '{build}'
platform:
- x64
environment:
matrix:
- {PHP: 'php-7.0.4-nts-Win32-VC14-x86', XDEBUG: 'php_xdebug-2.4.0-7.0-vc14-nts'}
- {PHP: 'php-5.6.19-nts-Win32-VC11-x86', XDEBUG: 'php_xdebug-2.4.0-5.6-vc11-nts'}
- {PHP: 'php-5.6.19-nts-Win32-VC11-x86', XDEBUG: 'php_xdebug-2.3.3-5.6-vc11-nts'}
- {PHP: 'php-5.4.45-nts-Win32-VC9-x86', XDEBUG: 'php_xdebug-2.4.0-5.4-vc9-nts'}
- {PHP: 'php-5.4.45-nts-Win32-VC9-x86', XDEBUG: 'php_xdebug-2.3.3-5.4-vc9-nts'}
install:
- ps: . .\appveyor-install.ps1
build_script:
- npm run compile --silent
test_script:
- npm run lint --silent
- npm test --silent
| version: '{build}'
platform:
- x64
environment:
matrix:
- {PHP: 'php-7.0.5-nts-Win32-VC14-x86', XDEBUG: 'php_xdebug-2.4.0-7.0-vc14-nts'}
- {PHP: 'php-5.6.19-nts-Win32-VC11-x86', XDEBUG: 'php_xdebug-2.4.0-5.6-vc11-nts'}
- {PHP: 'php-5.6.19-nts-Win32-VC11-x86', XDEBUG: 'php_xdebug-2.3.3-5.6-vc11-nts'}
- {PHP: 'php-5.4.45-nts-Win32-VC9-x86', XDEBUG: 'php_xdebug-2.4.0-5.4-vc9-nts'}
- {PHP: 'php-5.4.45-nts-Win32-VC9-x86', XDEBUG: 'php_xdebug-2.3.3-5.4-vc9-nts'}
install:
- ps: . .\appveyor-install.ps1
build_script:
- npm run compile --silent
test_script:
- npm run lint --silent
- npm test --silent
|
Update Crowdin settings following reorg | files:
- source: /languages/YourLanguage.ts
translation: /languages/%language%.ts
- source: /crash-reporter/languages/YourLanguage.ts
translation: /crash-reporter/languages/%language%.ts
| files:
- source: /src/languages/YourLanguage.ts
translation: /src/languages/%language%.ts
- source: /src/crash-reporter/languages/YourLanguage.ts
translation: /src/crash-reporter/languages/%language%.ts
|
Update from Hackage at 2018-05-11T09:59:24Z | homepage: ''
changelog-type: ''
hash: dd0bac96583e696da84ed28aba1e44718586434de905708a4c8887fa6afae4dd
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Algebraic structures
changelog: ''
basic-deps:
base: ! '>=4.9 && <5'
util: ! '>=0.1.9 && <0.2'
all-versions:
- '0.2.0.0'
- '0.2.1.0'
- '0.2.2.0'
- '0.2.2.1'
- '0.2.3.0'
- '0.2.4.1'
author: M Farkas-Dyck
latest: '0.2.4.1'
description-type: haddock
description: ''
license-name: BSD3
| homepage: ''
changelog-type: ''
hash: b62b8f99060b514fc5828d5f15609a672e47bcb9ab834b21f27c0665b163e364
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Algebraic structures
changelog: ''
basic-deps:
base: ! '>=4.9 && <5'
util: ! '>=0.1.9 && <0.2'
all-versions:
- '0.2.0.0'
- '0.2.1.0'
- '0.2.2.0'
- '0.2.2.1'
- '0.2.3.0'
- '0.2.4.1'
- '0.2.4.2'
- '0.2.5.0'
author: M Farkas-Dyck
latest: '0.2.5.0'
description-type: haddock
description: ''
license-name: BSD3
|
Remove rubinius, since it seems to be no longer available on Travis-CI | dist: trusty
sudo: false
group: beta
language: ruby
before_install:
- gem install bundler
script:
- bundle exec rake compile || bundle exec rake compile
- bundle exec rake test
os:
- linux
- osx
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
- rbx
- system
env:
- CC=gcc
- CC=clang
matrix:
allow_failures:
- rvm: system
- os: osx
rvm: ruby-head
- rvm: rbx
- rvm: rbx-head
exclude: # ruby 2.4.2 needs build with xcode9 or later on osx
- os: osx
rvm: 2.4.2
include:
- os: osx
osx_image: xcode9.1
rvm: 2.4.2
env:
- CC=gcc
- os: osx
osx_image: xcode9.1
rvm: 2.4.2
env:
- CC=clang
after_failure:
- "find build -name mkmf.log | xargs cat"
| dist: trusty
sudo: false
group: beta
language: ruby
before_install:
- gem install bundler
script:
- bundle exec rake compile || bundle exec rake compile
- bundle exec rake test
os:
- linux
- osx
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
- system
env:
- CC=gcc
- CC=clang
matrix:
allow_failures:
- rvm: system
- os: osx
rvm: ruby-head
exclude: # ruby 2.4.2 needs build with xcode9 or later on osx
- os: osx
rvm: 2.4.2
include:
- os: osx
osx_image: xcode9.1
rvm: 2.4.2
env:
- CC=gcc
- os: osx
osx_image: xcode9.1
rvm: 2.4.2
env:
- CC=clang
after_failure:
- "find build -name mkmf.log | xargs cat"
|
Update npm to a valid version | language: node_js
node_js:
- "0.11"
- "0.10"
- "0.8"
matrix:
allow_failures:
- node_js: "0.11"
# setup links to submodules
before_install:
- npm update -g npm
- npm run-script setup
- npm install
- cd ..
- git clone https://github.com/azure/azure-sdk-tools-xplat.git
- cd azure-sdk-tools-xplat
- git checkout dev
- node scripts/link-to-sdk.js
- npm install
script:
- cd ../azure-sdk-for-node
- npm test
- cd ../azure-sdk-tools-xplat
- npm test | language: node_js
node_js:
- "0.11"
- "0.10"
- "0.8"
matrix:
allow_failures:
- node_js: "0.11"
# setup links to submodules
before_install:
- npm install -g npm@1.4.23
- npm run-script setup
- npm install
- cd ..
- git clone https://github.com/azure/azure-sdk-tools-xplat.git
- cd azure-sdk-tools-xplat
- git checkout dev
- node scripts/link-to-sdk.js
- npm install
script:
- cd ../azure-sdk-for-node
- npm test
- cd ../azure-sdk-tools-xplat
- npm test |
Update from Hackage at 2020-09-22T18:33:16Z | homepage: ''
changelog-type: markdown
hash: 912df59ab6e6bc876ae675d1daea84355e50e5d078e645080b0e2f0c15d03785
test-bench-deps:
stm: '>=2.1'
base: '>=4.12 && <4.15'
hspec: '>=2.7.4'
stm-queue: '>=0.1'
stm-actor: -any
mtl: '>=1.0'
maintainer: samuel@simspace.com
synopsis: A simplistic actor model based on STM
changelog: |
# Revision history for stm-actor
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
stm: '>=2.1'
base: '>=4.12 && <4.15'
stm-queue: '>=0.1'
mtl: '>=1.0'
transformers: '>=0.0'
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.1.1.1
- 0.1.2.1
- 0.2.0.0
author: Samuel Schlesinger
latest: 0.2.0.0
description-type: haddock
description: A simplistic actor model based on STM.
license-name: MIT
| homepage: ''
changelog-type: markdown
hash: 4618e71571848531b814c02a9daaa5b2cf4d60d7b3243ce86ed0cb435d766a6c
test-bench-deps:
stm: '>=2.1'
base: '>=4.12 && <4.15'
hspec: '>=2.7.4'
stm-queue: '>=0.1'
stm-actor: -any
mtl: '>=1.0'
maintainer: samuel@simspace.com
synopsis: A simplistic actor model based on STM
changelog: |
# Revision history for stm-actor
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
stm: '>=2.1'
base: '>=4.12 && <4.15'
stm-queue: '>=0.1'
mtl: '>=1.0'
transformers: '>=0.0'
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.1.1.1
- 0.1.2.1
- 0.2.0.0
- 0.2.0.1
author: Samuel Schlesinger
latest: 0.2.0.1
description-type: haddock
description: A simplistic actor model based on STM.
license-name: MIT
|
Remove io.js from Travis CI | language: node_js
node_js:
- "node"
- "iojs"
script:
- npm test
- npm run lint
- npm run style
| language: node_js
node_js:
- "node"
script:
- npm test
- npm run lint
- npm run style
|
Test on Node.js v0.12.x, v4.x, and v5.x | language: node_js
node_js:
- 0.12
- 4
- stable
| language: node_js
node_js:
- '5'
- '4'
- '0.12'
|
Update from Hackage at 2017-01-29T12:15:56Z | homepage: https://github.com/louispan/glaze#readme
changelog-type: ''
hash: d065cd9797d5989bb883ac366e52b081e3da8d7c533f9b1d2857109181961720
test-bench-deps: {}
maintainer: louis@pan.me
synopsis: Framework for rendering things with metadata/headers and values
changelog: ''
basic-deps:
base: <6
lens: ! '>=4 && <5'
all-versions:
- '0.2.0.0'
author: Louis Pan
latest: '0.2.0.0'
description-type: markdown
description: ! '[](https://hackage.haskell.org/package/glaze)
[](http://travis-ci.org/louispan/glaze)
Framework for rendering things (or list of things, or things that contain things)
that have metadata/header information as well as values.
'
license-name: BSD3
| homepage: https://github.com/louispan/glaze#readme
changelog-type: ''
hash: 1ac41672bcdd9e9d98098e8c008a8d5893711ea354cc59015841031a64409d97
test-bench-deps: {}
maintainer: louis@pan.me
synopsis: Framework for rendering things with metadata/headers and values
changelog: ''
basic-deps:
base: <6
lens: ! '>=4 && <5'
all-versions:
- '0.2.0.0'
- '0.2.0.1'
author: Louis Pan
latest: '0.2.0.1'
description-type: markdown
description: ! '[](https://hackage.haskell.org/package/glaze)
[](http://travis-ci.org/louispan/glaze)
Framework for rendering things (or list of things, or things that contain things)
that have metadata/header information as well as values.
'
license-name: BSD3
|
Update from Hackage at 2016-02-17T10:20:59+0000 | homepage: https://bitbucket.org/tdammers/ginger
changelog-type: ''
hash: 1b9b7f193896b18c561e96ee147822ab9bc59970201bc00220ed338fbe6850d9
test-bench-deps: {}
maintainer: tdammers@gmail.com
synopsis: An implementation of the Jinja2 template language in Haskell
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.5 && <5'
unordered-containers: ! '>=0.2.5'
text: -any
ginger: -any
filepath: ! '>=1.3'
parsec: ! '>=3.0'
data-default: ! '>=0.5'
mtl: ! '>=2.2'
transformers: ! '>=0.3'
scientific: ! '>=0.3'
aeson: -any
safe: ! '>=0.3'
vector: -any
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.1.1.1'
- '0.1.1.2'
author: Tobias Dammers
latest: '0.1.1.2'
description-type: haddock
description: ! 'Ginger is Jinja, minus the most blatant pythonisms. Wants
to be feature complete, but isn''t quite there yet.'
license-name: MIT
| homepage: https://bitbucket.org/tdammers/ginger
changelog-type: ''
hash: 2386097e36b0b71f51ee2b9191edaf7116e9ed86e239abfdc3e9bca51702594d
test-bench-deps: {}
maintainer: tdammers@gmail.com
synopsis: An implementation of the Jinja2 template language in Haskell
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.5 && <5'
unordered-containers: ! '>=0.2.5'
text: -any
ginger: -any
filepath: ! '>=1.3'
parsec: ! '>=3.0'
data-default: ! '>=0.5'
utf8-string: -any
mtl: ! '>=2.2'
transformers: ! '>=0.3'
scientific: ! '>=0.3'
http-types: -any
aeson: -any
safe: ! '>=0.3'
vector: -any
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.1.1.1'
- '0.1.1.2'
- '0.1.2.0'
author: Tobias Dammers
latest: '0.1.2.0'
description-type: haddock
description: ! 'Ginger is Jinja, minus the most blatant pythonisms. Wants
to be feature complete, but isn''t quite there yet.'
license-name: MIT
|
Add Ginkgo Dependencies for Travis CI | language: go
go:
- 1.1
- 1.2
- 1.3
install:
- go get github.com/bmizerany/assert
- go get github.com/ddollar/dist
- go get github.com/ddollar/config
- go get github.com/ddollar/go-update
- go get github.com/ViViDboarder/gotifier
- go get github.com/bgentry/speakeasy
- go get github.com/kr/binarydist
- go get github.com/kr/pretty
- go get github.com/kr/text
- go get bitbucket.org/pkg/inflect
- go get bitbucket.org/pkg/inflect
- go get bitbucket.org/kardianos/osext
| language: go
go:
- 1.1
- 1.2
- 1.3
install:
- go get github.com/bmizerany/assert
- go get github.com/ddollar/dist
- go get github.com/ddollar/config
- go get github.com/ddollar/go-update
- go get github.com/ViViDboarder/gotifier
- go get github.com/bgentry/speakeasy
- go get github.com/kr/binarydist
- go get github.com/kr/pretty
- go get github.com/kr/text
- go get bitbucket.org/pkg/inflect
- go get bitbucket.org/pkg/inflect
- go get bitbucket.org/kardianos/osext
- go get github.com/onsi/ginkgo
- go get github.com/onsi/gomega
|
Add nose as test requirement | {% set name = "sos-r" %}
{% set version = "0.19.1" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: ed48f4f32386a9b6a7e2c13056ce43d6ff151dc33afea5a6b96316b3af0df43b
build:
noarch: python
number: 0
script:
- {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv
requirements:
host:
- pip
- python >=3.6
run:
- sos-notebook >=0.19.4
- pandas
- numpy
- feather-format
- r-irkernel
- r-feather
test:
imports:
- sos_r
about:
home: https://github.com/vatlab/sos-r
license: BSD
license_family: BSD
license_file: LICENSE
summary: "SoS language module for the R programming language"
doc_url: https://vatlab.github.io/sos-docs/
dev_url: https://github.com/vatlab/sos-r
extra:
recipe-maintainers:
- BoPeng
| {% set name = "sos-r" %}
{% set version = "0.19.1" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: ed48f4f32386a9b6a7e2c13056ce43d6ff151dc33afea5a6b96316b3af0df43b
build:
noarch: python
number: 0
script:
- {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv
requirements:
host:
- pip
- python >=3.6
run:
- sos-notebook >=0.19.4
- pandas
- numpy
- feather-format
- r-irkernel
- r-feather
test:
requires:
- nose
imports:
- sos_r
about:
home: https://github.com/vatlab/sos-r
license: BSD
license_family: BSD
license_file: LICENSE
summary: "SoS language module for the R programming language"
doc_url: https://vatlab.github.io/sos-docs/
dev_url: https://github.com/vatlab/sos-r
extra:
recipe-maintainers:
- BoPeng
|
Add sneakers to background jobs | name: Background Jobs
description: Process slow tasks asynchronously to keep response times low, improve fault-tolerance and aid with horizontal scaling
projects:
- acts_as_executor
- amqp
- backburner
- backgrounded
- barttenbrinke/worker_queue
- beetle
- bj
- bunny
- cloud-crowd
- delayed_job
- delayed_job_active_record
- frenzy_bunnies
- girl_friday
- gnufied/backgroundrb
- jnstq/job_fu
- job_reactor
- kr/beanstalkd
- later
- navvy
- ncr/background-fu
- qu
- que
- quebert
- queue_classic
- rabbit_jobs
- resque
- resque-mongo
- rock-queue
- rocketjob
- runner
- seanohalpin/smqueue
- shoryuken
- sidekiq
- stalker
- starling
- sucker_punch
- workling
| name: Background Jobs
description: Process slow tasks asynchronously to keep response times low, improve fault-tolerance and aid with horizontal scaling
projects:
- acts_as_executor
- amqp
- backburner
- backgrounded
- barttenbrinke/worker_queue
- beetle
- bj
- bunny
- cloud-crowd
- delayed_job
- delayed_job_active_record
- frenzy_bunnies
- girl_friday
- gnufied/backgroundrb
- jnstq/job_fu
- job_reactor
- kr/beanstalkd
- later
- navvy
- ncr/background-fu
- qu
- que
- quebert
- queue_classic
- rabbit_jobs
- resque
- resque-mongo
- rock-queue
- rocketjob
- runner
- seanohalpin/smqueue
- shoryuken
- sidekiq
- sneakers
- stalker
- starling
- sucker_punch
- workling
|
Upgrade the version of appcache in use | repositories:
remote:
- http://repo1.maven.org/maven2
artifacts:
javax_servlet: org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0
javax_annotation: com.google.code.findbugs:jsr305:jar:2.0.1
gwt_user: com.google.gwt:gwt-user:jar:2.5.1
gwt_dev: com.google.gwt:gwt-dev:jar:2.5.1
javax_validation: javax.validation:validation-api:jar:1.0.0.GA
javax_validation_sources: javax.validation:validation-api:jar:sources:1.0.0.GA
# This dependency demonstrates that appcache can work even when caching disabled
# for the resources within the manifest. Firefox disallows no-store in Cache-control
# header.
gwt_cache_filter: org.realityforge.gwt.cache-filter:gwt-cache-filter:jar:0.3
gwt_appcache_client: org.realityforge.gwt.appcache:gwt-appcache-client:jar:1.0.2
gwt_appcache_linker: org.realityforge.gwt.appcache:gwt-appcache-linker:jar:1.0.2
gwt_appcache_server: org.realityforge.gwt.appcache:gwt-appcache-server:jar:1.0.2
| repositories:
remote:
- http://repo1.maven.org/maven2
artifacts:
javax_servlet: org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0
javax_annotation: com.google.code.findbugs:jsr305:jar:2.0.1
gwt_user: com.google.gwt:gwt-user:jar:2.5.1
gwt_dev: com.google.gwt:gwt-dev:jar:2.5.1
javax_validation: javax.validation:validation-api:jar:1.0.0.GA
javax_validation_sources: javax.validation:validation-api:jar:sources:1.0.0.GA
# This dependency demonstrates that appcache can work even when caching disabled
# for the resources within the manifest. Firefox disallows no-store in Cache-control
# header.
gwt_cache_filter: org.realityforge.gwt.cache-filter:gwt-cache-filter:jar:0.3
gwt_appcache_client: org.realityforge.gwt.appcache:gwt-appcache-client:jar:1.0.3
gwt_appcache_linker: org.realityforge.gwt.appcache:gwt-appcache-linker:jar:1.0.3
gwt_appcache_server: org.realityforge.gwt.appcache:gwt-appcache-server:jar:1.0.3
|
Use the canonical url to access maven central repository. | repositories:
remote:
- https://repo1.maven.org/maven2
artifacts:
javax_servlet: org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0
| repositories:
remote:
- https://repo.maven.apache.org/maven2
artifacts:
javax_servlet: org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0
|
Add code to allow RDP'ing into the AppVeyor build agent | version: 3.7.{build}
image: Visual Studio 2015
build_script:
- ps: .\build.ps1 -Target "Appveyor"
# disable built-in tests.
test: off
artifacts:
- path: package\*.nupkg
- path: package\*.vsix
- path: package\*.zip
deploy:
- provider: NuGet
server: https://www.myget.org/F/nunit/api/v2
api_key:
secure: wtAvJDVl2tfwiVcyLExFHLvZVfUWiQRHsfdHBFCNEATeCHo1Nd8JP642PfY8xhji
skip_symbols: true
on:
branch: master
| version: 3.7.{build}
image: Visual Studio 2015
build_script:
- ps: .\build.ps1 -Target "Appveyor"
# disable built-in tests.
test: off
artifacts:
- path: package\*.nupkg
- path: package\*.vsix
- path: package\*.zip
deploy:
- provider: NuGet
server: https://www.myget.org/F/nunit/api/v2
api_key:
secure: wtAvJDVl2tfwiVcyLExFHLvZVfUWiQRHsfdHBFCNEATeCHo1Nd8JP642PfY8xhji
skip_symbols: true
on:
branch: master
# Holds the build machine open and displays information on how to RDP into the box.
# Useful for figuring out why your builds are not working, but comment out when you are done :)
on_finish:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
Remove redundant jobs from AppVeyor | build: off
deploy: off
environment:
PATH: C:\Ruby%RUBY_VERSION%\bin;%PATH%
APPVEYOR_SAVE_CACHE_ON_ERROR: True
matrix:
- RUBY_VERSION: _trunk
- RUBY_VERSION: 26-x64
- RUBY_VERSION: 25-x64
- RUBY_VERSION: 24-x64
- RUBY_VERSION: 23-x64
- RUBY_VERSION: 23
init:
- ps: |
if ($env:RUBY_VERSION -eq '_trunk') {
$trunk_uri = 'https://ci.appveyor.com/api/projects/MSP-Greg/ruby-loco/artifacts/ruby_trunk.7z'
(New-Object Net.WebClient).DownloadFile($trunk_uri, 'C:\ruby_trunk.7z')
7z.exe x C:\ruby_trunk.7z -oC:\Ruby_trunk
}
install:
- SET RAKEOPT=-rdevkit
- gem update --system --conservative --no-document
- ruby -v
- gem -v
- bundle -v
- bundle install --path vendor\bundle --without development
test_script:
- bundle exec rake spec
matrix:
allow_failures:
- RUBY_VERSION: _trunk
cache:
# If one of the files after the right arrow changes, cache will be invalidated
- vendor\bundle -> appveyor.yml, Gemfile, nio4r.gemspec
| build: off
deploy: off
environment:
PATH: C:\Ruby%RUBY_VERSION%\bin;%PATH%
APPVEYOR_SAVE_CACHE_ON_ERROR: True
matrix:
- RUBY_VERSION: 23
- RUBY_VERSION: _trunk
init:
- ps: |
if ($env:RUBY_VERSION -eq '_trunk') {
$trunk_uri = 'https://ci.appveyor.com/api/projects/MSP-Greg/ruby-loco/artifacts/ruby_trunk.7z'
(New-Object Net.WebClient).DownloadFile($trunk_uri, 'C:\ruby_trunk.7z')
7z.exe x C:\ruby_trunk.7z -oC:\Ruby_trunk
}
install:
- gem update --system --conservative --no-document
- ruby -v
- gem -v
- bundle -v
- bundle install --path vendor\bundle --without development
test_script:
- bundle exec rake spec
matrix:
allow_failures:
- RUBY_VERSION: _trunk
cache:
# If one of the files after the right arrow changes, cache will be invalidated
- vendor\bundle -> appveyor.yml, Gemfile, nio4r.gemspec
|
Add Ruby 2.0.0, rm Ruby 1.9.2 | bundler_args: --without development
before_script: "./script/ci_setup"
script: "bundle exec rake travis"
rvm:
- 1.9.2
- 1.9.3
env:
- BUILD_TYPE=cucumber
- BUILD_TYPE=rspec | bundler_args: --without development
before_script: "./script/ci_setup"
script: "bundle exec rake travis"
rvm:
- 1.9.3
- 2.0.0
env:
- BUILD_TYPE=cucumber
- BUILD_TYPE=rspec |
Add a note on how to change TZ settings in TravisCI | language: ruby
cache: bundler
matrix:
fast_finish: true
include:
- rvm: 2.1.1
env: RUN=default
- rvm: 1.8.7
env: RUN=rspec
- rvm: 1.9.3
env: RUN=rspec
- rvm: 2.0.0
env: RUN=rspec
- rvm: rbx
env: RUN=rspec
- rvm: jruby
env: RUN=rspec
allow_failures:
- rvm: 1.8.7
- rvm: 1.9.3
- rvm: 2.0.0
- rvm: rbx
- rvm: jruby
before_install:
- git submodule update --init
script:
- "bundle exec rake $RUN"
notifications:
irc: "irc.freenode.org#opal"
| language: ruby
cache: bundler
matrix:
fast_finish: true
include:
- rvm: 2.1.1
env: RUN=default
- rvm: 1.8.7
env: RUN=rspec
- rvm: 1.9.3
env: RUN=rspec
- rvm: 2.0.0
env: RUN=rspec
- rvm: rbx
env: RUN=rspec
- rvm: jruby
env: RUN=rspec
allow_failures:
- rvm: 1.8.7
- rvm: 1.9.3
- rvm: 2.0.0
- rvm: rbx
- rvm: jruby
# Setting TimeZone. We'll need to do this in order to
# have the TZ related failures surface on Travis CI.
# http://stackoverflow.com/a/23374438/601782
before_install:
- git submodule update --init
script:
- "bundle exec rake $RUN"
notifications:
irc: "irc.freenode.org#opal"
|
Use latest Rubies for testing | sudo: false
language: ruby
rvm:
- 2.4.1
- 2.3.4
- 2.2.7
- 2.1.10
- 2.0.0
notifications:
email:
- travisci@dennmart.com
| sudo: false
language: ruby
rvm:
- 2.4.3
- 2.3.6
- 2.2.9
- 2.1.10
- 2.0.0
notifications:
email:
- travisci@dennmart.com
|
Allow same version with versioning command | name: Publish
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: version
run: |
npm --no-git-tag-version version `git describe --abbrev=0 --tags`
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
| name: Publish
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: version
run: |
npm --no-git-tag-version --allow-same-version version `git describe --abbrev=0 --tags`
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
Update from Forestry.io - Updated Forestry configuration | ---
pages:
- tool/test.md
hide_body: false
fields:
- type: text
name: title
label: Title
- type: textarea
name: description
label: Description
- type: datetime
name: date
label: Date
description: Date added to the database
- type: list
label: Tools
name: tools
config:
use_select: true
source:
type: pages
section: tools
- type: field_group_list
name: urls
label: URLs
fields:
- type: text
name: website
label: Website
- type: text
name: github
label: Github
- type: text
name: twitter
label: Twitter
| ---
pages:
- tool/test.md
hide_body: false
fields:
- type: text
name: title
label: Title
- type: textarea
name: description
label: Description
- type: datetime
name: date
label: Date
description: Date added to the database
- type: list
label: Tools
name: tools
config:
use_select: true
source:
type: simple
section: tools
options:
- content-management
- build-tool
- headless-cms
- helper
- hosting-deployment
- interaction
- static-site-generator
- theme
- type: field_group_list
name: urls
label: URLs
fields:
- type: text
name: website
label: Website
- type: text
name: github
label: Github
- type: text
name: twitter
label: Twitter
|
Add `--do-not-cache-result` flag when running PHPUnit from GitHub Actions | name: Tests
on:
push:
paths-ignore:
- 'readme.md'
- 'assets/**'
pull_request:
paths-ignore:
- 'readme.md'
- 'assets/**'
release:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
laravel: [6.*]
php: [7.2, 7.3]
fail-fast: false
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Set up PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php }}
extension: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
- name: Install dependencies
run: |
composer require "illuminate/auth:${{ matrix.laravel }}" "illuminate/cache:${{ matrix.laravel }}" "illuminate/container:${{ matrix.laravel }}" "illuminate/contracts:${{ matrix.laravel }}" "illuminate/database:${{ matrix.laravel }}" "illuminate/console:${{ matrix.laravel }}" "illuminate/events:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
- name: Run tests
run: vendor/bin/phpunit
| name: Tests
on:
push:
paths-ignore:
- 'readme.md'
- 'assets/**'
pull_request:
paths-ignore:
- 'readme.md'
- 'assets/**'
release:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
laravel: [6.*]
php: [7.2, 7.3]
fail-fast: false
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Set up PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php }}
extension: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
- name: Install dependencies
run: |
composer require "illuminate/auth:${{ matrix.laravel }}" "illuminate/cache:${{ matrix.laravel }}" "illuminate/container:${{ matrix.laravel }}" "illuminate/contracts:${{ matrix.laravel }}" "illuminate/database:${{ matrix.laravel }}" "illuminate/console:${{ matrix.laravel }}" "illuminate/events:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
- name: Run tests
run: vendor/bin/phpunit --do-not-cache-result
|
Update artifact promoter to use workload-identity | postsubmits:
# this is the github repo we'll build from; this block needs to be repeated for each repo.
kubernetes-sigs/k8s-container-image-promoter:
- name: cip-postsubmit-push-to-staging
cluster: test-infra-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-release-misc
decorate: true
branches:
- ^master$
spec:
containers:
- image: gcr.io/k8s-testimages/image-builder:v20200213-0032cdb
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-artifact-promoter
- --scratch-bucket=gs://k8s-staging-artifact-promoter-gcb
- --env-passthrough=PULL_BASE_REF
- .
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /creds/service-account.json
volumeMounts:
- name: creds
mountPath: /creds
volumes:
- name: creds
secret:
secretName: deployer-service-account
| postsubmits:
# this is the github repo we'll build from; this block needs to be repeated for each repo.
kubernetes-sigs/k8s-container-image-promoter:
- name: cip-postsubmit-push-to-staging
cluster: test-infra-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-release-misc
decorate: true
branches:
- ^master$
spec:
serviceAccountName: deployer # TODO(fejta): use pusher
containers:
- image: gcr.io/k8s-testimages/image-builder:v20200213-0032cdb
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-artifact-promoter
- --scratch-bucket=gs://k8s-staging-artifact-promoter-gcb
- --env-passthrough=PULL_BASE_REF
- .
|
Test against MSRV 1.48 rather than 1.41.1 | on: [push, pull_request]
name: CI
jobs:
clippy_rustfmt:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features
- name: Format
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
test:
name: Build & Test
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
- 1.41.1
features:
- default
- ssl
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --features ${{ matrix.features }}
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --features ${{ matrix.features }}
| on: [push, pull_request]
name: CI
jobs:
clippy_rustfmt:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features
- name: Format
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
test:
name: Build & Test
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
- 1.48
features:
- default
- ssl
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --features ${{ matrix.features }}
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --features ${{ matrix.features }}
|
Remove superfluous (?) sections of config | # .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.10"
commands:
- git fetch --unshallow
- pip install tox
- tox -e rtd
python:
install:
- method: pip
path: .
sphinx:
configuration: doc/conf.py
fail_on_warning: true
| # .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.10"
commands:
- git fetch --unshallow
- pip install tox
- tox -e rtd
|
Update from Hackage at 2018-06-07T14:52:37Z | homepage: https://github.com/andrewthad/primitive-sort
changelog-type: ''
hash: 41988da30b66173ef52a5eb702636cff26dafdbc646f44ea5b29951a83d9ba90
test-bench-deps:
tasty-smallcheck: -any
base: -any
doctest: ! '>=0.10'
primitive-sort: -any
HUnit: -any
smallcheck: -any
gauge: -any
containers: -any
ghc-prim: -any
tasty-quickcheck: -any
tasty-hunit: -any
random: -any
tasty: -any
QuickCheck: -any
primitive: -any
maintainer: andrew.thaddeus@gmail.com
synopsis: Sort primitive arrays
changelog: ''
basic-deps:
base: ! '>=0.4.9 && <5'
contiguous: ! '>=0.1 && <0.2'
ghc-prim: -any
primitive: ! '>=0.6.4.0'
all-versions:
- '0.1.0.0'
author: Andrew Martin
latest: '0.1.0.0'
description-type: markdown
description: ! '# mergesort
'
license-name: BSD3
| homepage: https://github.com/andrewthad/primitive-sort
changelog-type: ''
hash: 1c7dd5f4ce22e0b4418acd90e037e2498469fc24edccd05bcd6e5930d842242c
test-bench-deps:
tasty-smallcheck: -any
base: -any
doctest: ! '>=0.10'
primitive-sort: -any
HUnit: -any
smallcheck: -any
gauge: -any
containers: -any
ghc-prim: -any
tasty-quickcheck: -any
tasty-hunit: -any
random: -any
tasty: -any
QuickCheck: -any
primitive: -any
maintainer: andrew.thaddeus@gmail.com
synopsis: Sort primitive arrays
changelog: ''
basic-deps:
base: ! '>=0.4.9 && <5'
contiguous: ! '>=0.1 && <0.3'
ghc-prim: -any
primitive: ! '>=0.6.4.0'
all-versions:
- '0.1.0.0'
author: Andrew Martin
latest: '0.1.0.0'
description-type: markdown
description: ! '# mergesort
'
license-name: BSD3
|
Reduce the number of Firefox versions checked | ui: tape
browsers:
- name: chrome
version: 28..latest
- name: firefox
version: 13..latest
- name: ie
version: 10..latest
- name: safari
version: 6..latest
| ui: tape
browsers:
- name: chrome
version: 28..latest
- name: firefox
version: 24..latest
- name: ie
version: 10..latest
- name: safari
version: 6..latest
|
Set minimum python version to 3.6 | {% set name = "pytransform3d" %}
{% set version = "1.8" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: 4608079a30ef3f8e927f3b3aee7b58a1e47cdcd7c46be6d889d1cb0f82650baa
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- beautifulsoup4
- lxml
- matplotlib-base
- numpy
- pip
- python
- scipy
run:
- beautifulsoup4
- lxml
- matplotlib-base
- numpy
- python
- scipy
test:
imports:
- pytransform3d
about:
home: "https://github.com/rock-learning/pytransform3d"
license: "BSD-3-Clause"
license_file: "LICENSE"
summary: "3D transformations for Python"
doc_url: "https://rock-learning.github.io/pytransform3d/"
dev_url: "https://github.com/rock-learning/pytransform3d"
extra:
recipe-maintainers:
- erikmannerfelt
- AlexanderFabisch
| {% set name = "pytransform3d" %}
{% set version = "1.8" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: 4608079a30ef3f8e927f3b3aee7b58a1e47cdcd7c46be6d889d1cb0f82650baa
build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
- beautifulsoup4
- lxml
- matplotlib-base
- numpy
- pip
- python >=3.6
- scipy
run:
- beautifulsoup4
- lxml
- matplotlib-base
- numpy
- python >=3.6
- scipy
test:
imports:
- pytransform3d
about:
home: "https://github.com/rock-learning/pytransform3d"
license: "BSD-3-Clause"
license_file: "LICENSE"
summary: "3D transformations for Python"
doc_url: "https://rock-learning.github.io/pytransform3d/"
dev_url: "https://github.com/rock-learning/pytransform3d"
extra:
recipe-maintainers:
- erikmannerfelt
- AlexanderFabisch
|
Remove /nelmio from CSP report path. | nelmio_security_report:
path: /nelmio/csp/report
defaults: { _controller: nelmio_security.csp_reporter_controller:indexAction }
methods: [POST]
| nelmio_security_report:
path: /csp/report
defaults: { _controller: nelmio_security.csp_reporter_controller:indexAction }
methods: [POST]
|
Make the seed loading behave with a bit more idempotence | ---
- name: Initialize | Download seed data
get_url:
dest: '/tmp/cbioportal-seed.sql.gz'
url: '{{ seed_database }}'
- name: Initialize | Load seed data
mysql_db:
name: "{{mysql_database_name}}"
state: import
target: '/tmp/cbioportal-seed.sql.gz'
login_user: "{{mysql_database_user}}"
login_password: "{{mysql_database_password}}"
| ---
- name: Initialize | Download seed data
get_url:
dest: '/tmp/cbioportal-seed.sql.gz'
url: '{{ seed_database }}'
## Just how many mutations exactly?
- name: Retrieve stuff from mysql
command: >
mysql --user={{mysql_database_user}} --password={{mysql_database_password}} {{mysql_database_name}}
--host=localhost --batch --skip-column-names
--execute="SELECT COUNT(*) AS COUNT FROM cosmic_mutation"
register: cosmic_mutation_count
always_run: True
changed_when: False
- name: echo
debug:
var: 'cosmic_mutation_count'
## Don't reload if we have data
- name: Initialize | Load seed data
mysql_db:
name: "{{mysql_database_name}}"
state: import
target: '/tmp/cbioportal-seed.sql.gz'
login_user: "{{mysql_database_user}}"
login_password: "{{mysql_database_password}}"
when: cosmic_mutation_count.stdout == "0"
|
Update from Hackage at 2016-07-20T13:18:01+0000 | homepage: https://bitbucket.org/tdammers/string-convert
changelog-type: ''
hash: acef5d25cffde13a151ba02b1e6de1515c461dc9678664dd7f8eb13be906482c
test-bench-deps: {}
maintainer: tdammers@gmail.com
synopsis: Provide universal string conversions between any two string-like types
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.5 && <5.0'
text: -any
utf8-string: -any
all-versions:
- '0.1.0.0'
- '1.0.0'
- '2.0.0'
- '2.0.1'
author: Tobias Dammers
latest: '2.0.1'
description-type: haddock
description: ''
license-name: BSD3
| homepage: https://bitbucket.org/tdammers/string-convert
changelog-type: ''
hash: f84f86ec950de02ccb5729ec1a40c1576ba6a7875eb0749f94de59c35d45df43
test-bench-deps:
bytestring: -any
string-convert: -any
base: ! '>=4.5 && <5.0'
text: -any
utf8-string: -any
tasty-hunit: -any
tasty: -any
maintainer: tdammers@gmail.com
synopsis: Universal string conversions
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4.5 && <5.0'
text: -any
utf8-string: -any
all-versions:
- '0.1.0.0'
- '1.0.0'
- '2.0.0'
- '2.0.1'
- '3.0.1'
author: Tobias Dammers
latest: '3.0.1'
description-type: haddock
description: ! 'Provides functions and typeclasses for transparent
conversions between various string types.'
license-name: BSD3
|
Update from Hackage at 2017-11-14T07:07:26Z | homepage: ''
changelog-type: ''
hash: ea648d2bbcded61508aa2a82aa36e47abe9210302c5329020b6b086f1e60d44f
test-bench-deps:
bytestring: -any
base: ==4.*
criterion: -any
memory: -any
binary: -any
cryptonite: -any
byteable: -any
base16-bytestring: -any
maintainer: Marcus Ofenhed <marcus@conditionraise.se>
synopsis: Lazy PBKDF2 generator.
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4 && <5'
binary: -any
all-versions:
- '1.0.0'
- '1.0.1'
- '1.0.2'
- '2.1.0'
- '2.1.1'
- '2.1.2'
- '3.0.0'
- '3.1.0'
author: Marcus Ofenhed <marcus@conditionraise.se>
latest: '3.1.0'
description-type: haddock
description: ! 'A PBKDF2 generator that generates either a lazy ByteString of
PRNG data or a lazy list of strict ByteStrings.'
license-name: MIT
| homepage: ''
changelog-type: ''
hash: 2d050ddf3f9ececf831216e1e82fdee32f002ac764e29d7e38c0abd5ea5c03c7
test-bench-deps:
bytestring: -any
base: ==4.*
criterion: -any
memory: -any
binary: -any
cryptonite: -any
byteable: -any
base16-bytestring: -any
maintainer: Marcus Ofenhed <marcus@conditionraise.se>
synopsis: Lazy PBKDF2 generator.
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4 && <5'
binary: -any
all-versions:
- '1.0.0'
- '1.0.1'
- '1.0.2'
- '2.1.0'
- '2.1.1'
- '2.1.2'
- '3.0.0'
- '3.1.0'
- '3.1.1'
author: Marcus Ofenhed <marcus@conditionraise.se>
latest: '3.1.1'
description-type: haddock
description: ! 'A PBKDF2 generator that generates either a lazy ByteString or a
list of strict ByteStrings of PRNG.'
license-name: MIT
|
Update from Hackage at 2016-02-03T02:41:36+0000 | homepage: https://github.com/PolyglotSymposium/mappy
changelog-type: ''
hash: 2fbad40a00c75bb83730506aef01e936bb024ab35358c35d2c05060399ad625c
test-bench-deps:
base: -any
mappy: -any
hspec: -any
parsec: -any
containers: -any
QuickCheck: -any
maintainer: mjg.py3@gmail.com
synopsis: A functional programming language focused around maps.
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
mappy: -any
parsec: -any
containers: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.1.0'
author: Michael Gilliland
latest: '0.1.1.0'
description-type: haddock
description: Please see README.md
license-name: BSD3
| homepage: https://github.com/PolyglotSymposium/mappy
changelog-type: ''
hash: a4c2cf288c079983d6dae8fca9abfd45f0169f45f44baafd32521705dc6b787a
test-bench-deps:
base: -any
mappy: -any
hspec: -any
parsec: -any
containers: -any
QuickCheck: -any
maintainer: mjg.py3@gmail.com
synopsis: A functional programming language focused around maps.
changelog: ''
basic-deps:
haskeline: -any
base: ! '>=4.7 && <5'
mappy: -any
parsec: -any
containers: -any
ansi-terminal: -any
directory: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.1.0'
- '0.1.2.0'
author: Michael Gilliland
latest: '0.1.2.0'
description-type: haddock
description: Please see README.md
license-name: BSD3
|
Test on Python 2.7, Django 1.8 | language: python
env:
- DJANGO_VERSION=https://github.com/django/django/archive/stable/1.7.x.zip
- DJANGO_VERSION=https://github.com/django/django/archive/stable/1.8.x.zip
python:
- "2.7"
- "3.3"
- "3.4"
matrix:
exclude:
- python: "2.7"
env: DJANGO_VERSION=https://github.com/django/django/archive/stable/1.8.x.zip
install:
- pip install $DJANGO_VERSION --use-mirrors
- pip install . --use-mirrors
script:
- python setup.py test
notifications:
irc: "irc.freenode.org#mezzanine"
on_success: change
on_failure: change
| language: python
env:
- DJANGO_VERSION=https://github.com/django/django/archive/stable/1.7.x.zip
- DJANGO_VERSION=https://github.com/django/django/archive/stable/1.8.x.zip
python:
- "2.7"
- "3.3"
- "3.4"
install:
- pip install $DJANGO_VERSION --use-mirrors
- pip install . --use-mirrors
script:
- python setup.py test
notifications:
irc: "irc.freenode.org#mezzanine"
on_success: change
on_failure: change
|
Update Xcode version on ci. | language: objective-c
osx_image: xcode9.3
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE=SwiftyNotifications.xcworkspace
- FRAMEWORK_SCHEME="SwiftyNotifications"
- SDK=iphonesimulator11.3
- RUN_TESTS="YES"
- POD_LINT="NO"
matrix:
- DESTINATION="OS=11.3,name=iPhone 8"
- DESTINATION="OS=10.3.1,name=iPhone SE"
before_install:
- rm -rf /Users/travis/Library/Developer/Xcode/DerivedData/SwiftyNotifications-*/
- rvm use $RVM_RUBY_VERSION
install:
- bundle install
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
# Build Framework in Debug and Run Tests if specified
- if [ $RUN_TESTS == "YES" ]; then
travis_retry xcodebuild -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES ENABLE_TESTABILITY=YES test | xcpretty;
else
xcodebuild -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES build | xcpretty;
fi
after_success: slather
| language: objective-c
osx_image: xcode9.4
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE=SwiftyNotifications.xcworkspace
- FRAMEWORK_SCHEME="SwiftyNotifications"
- SDK=iphonesimulator11.4
- RUN_TESTS="YES"
- POD_LINT="NO"
matrix:
- DESTINATION="OS=11.4,name=iPhone 8"
- DESTINATION="OS=10.3.1,name=iPhone SE"
before_install:
- rm -rf /Users/travis/Library/Developer/Xcode/DerivedData/SwiftyNotifications-*/
- rvm use $RVM_RUBY_VERSION
install:
- bundle install
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
# Build Framework in Debug and Run Tests if specified
- if [ $RUN_TESTS == "YES" ]; then
travis_retry xcodebuild -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES ENABLE_TESTABILITY=YES test | xcpretty;
else
xcodebuild -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES build | xcpretty;
fi
after_success: slather
|
Allow 2.3 fail as it will failed currently. | language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
install:
- "travis_retry bundle config build.nokogiri --use-system-libraries"
- "travis_retry bundle install --retry 3"
script: bundle exec rake
git:
depth: 10
| language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
matrix:
allow_failures:
- rvm: 2.3
install:
- "travis_retry bundle config build.nokogiri --use-system-libraries"
- "travis_retry bundle install --retry 3"
script: bundle exec rake
git:
depth: 10
|
Update Travis to fix Google Cloud SDK issue | language: node_js
sudo: required
dist: trusty
node_js:
- '5.1'
cache:
directories:
- node_modules
before_script:
- 'export DISPLAY=:99.0'
- sh -e /etc/init.d/xvfb start
- sleep 3
- npm install -g bower gulp
- bower install
- gulp lint
before_deploy:
- openssl aes-256-cbc -K $encrypted_7ef9aab2215d_key -iv $encrypted_7ef9aab2215d_iv
-in service-account.json.enc -out service-account.json -d
- gulp
- cp app.yaml dist/app.yaml
- LAST_TAG=`git describe --abbrev=0` || LAST_TAG="develop"; echo $LAST_TAG
- DEPLOY_VERSION=${LAST_TAG//.}
deploy:
- provider: gae
skip_cleanup: true
project: gdg-es
config: dist/app.yaml
version: develop
no_promote: true
on:
branch: develop
- provider: gae
skip_cleanup: true
project: gdg-es
config: dist/app.yaml
version: $DEPLOY_VERSION
on:
branch: master
| language: node_js
sudo: required
dist: trusty
node_js:
- '5.1'
cache:
directories:
- node_modules
before_script:
- 'export DISPLAY=:99.0'
- sh -e /etc/init.d/xvfb start
- sleep 3
- npm install -g bower gulp
- bower install
- gulp lint
before_deploy:
- openssl aes-256-cbc -K $encrypted_7ef9aab2215d_key -iv $encrypted_7ef9aab2215d_iv
-in service-account.json.enc -out service-account.json -d
- gulp
- cp app.yaml dist/app.yaml
- LAST_TAG=`git describe --abbrev=0` || LAST_TAG="develop"; echo $LAST_TAG
- DEPLOY_VERSION=${LAST_TAG//.}
deploy:
- provider: gae
skip_cleanup: true
project: gdg-es
config: dist/app.yaml
version: develop
no_promote: true
on:
branch: develop
- provider: gae
skip_cleanup: true
project: gdg-es
config: dist/app.yaml
version: $DEPLOY_VERSION
on:
branch: master
# Temporal environment variable to fix Google Cloud SDK issue
# https://code.google.com/p/google-cloud-sdk/issues/detail?id=784#c6
env:
- CLOUDSDK_APP_USE_GSUTIL=1
|
Revert the build matrix logic to exclude specific macOS versions from testing | language: go
os:
- linux
- osx
go:
- 1.7.x
- 1.8.x
- 1.9.x
- tip
matrix:
include:
- os: linux
go: 1.5.x
go: 1.6.x
before_install:
- if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
script:
- while true; do echo "..."; sleep 60; done &
- go test -v -tags ci -timeout 1h ./...
- if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then $GOPATH/bin/goveralls -service=travis-ci -ignore="examples/tokens/tokens.go,examples/space/space.go"; fi
notifications:
email:
on_success: change
on_failure: always
| language: go
os:
- linux
- osx
go:
- 1.5.x
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- tip
matrix:
exclude:
- os: osx
go: 1.5.x
- os: osx
go: 1.6.x
before_install:
- if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
script:
- while true; do echo "..."; sleep 60; done &
- go test -v -tags ci -timeout 1h ./...
- if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then $GOPATH/bin/goveralls -service=travis-ci -ignore="examples/tokens/tokens.go,examples/space/space.go"; fi
notifications:
email:
on_success: change
on_failure: always
|
Correct cython version requirement for Travis CI | language: python
python:
- 2.7
install:
- pip install Cython=0.27.3
- python setup.py install
script:
- echo "No test yet"
| language: python
python:
- 2.7
install:
- pip install Cython==0.27.3
- python setup.py install
script:
- echo "No test yet"
|
Update to use containerized Travis infrastructure. | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- rbx-2
- ruby-head
before_script:
- RAILS_ENV=test bundle exec rake db:schema:load
script:
- bundle exec rake test
matrix:
allow_failures:
- rvm: rbx-2
- rvm: ruby-head
| language: ruby
sudo: false
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- rbx-2
- ruby-head
before_script:
- RAILS_ENV=test bundle exec rake db:schema:load
script:
- bundle exec rake test
matrix:
allow_failures:
- rvm: rbx-2
- rvm: ruby-head
|
Remove postgis from Travis CI due to gdal version conflicts | language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
env:
- PANDAS_VERSION=v0.12.0
- PANDAS_VERSION=v0.13.1
- PANDAS_VERSION=master
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update
- sudo apt-get install gdal-bin libgdal-dev postgis
- sudo -u postgres psql -c "drop database if exists test_geopandas"
- sudo -u postgres psql -c "create database test_geopandas"
- sudo -u postgres psql -c "create extension postgis" -d test_geopandas
install:
- pip install -r requirements.txt --use-mirrors
- pip install -r requirements.test.txt --use-mirrors
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r .requirements-2.6.txt --use-mirrors; fi
- git clone git://github.com/pydata/pandas.git
- cd pandas
- git checkout $PANDAS_VERSION
- python setup.py install
- cd ..
script:
- py.test tests --cov geopandas -v --cov-report term-missing
after_success:
- coveralls
| language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
env:
- PANDAS_VERSION=v0.12.0
- PANDAS_VERSION=v0.13.1
- PANDAS_VERSION=master
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update
- sudo apt-get install gdal-bin libgdal-dev
# - sudo -u postgres psql -c "drop database if exists test_geopandas"
# - sudo -u postgres psql -c "create database test_geopandas"
# - sudo -u postgres psql -c "create extension postgis" -d test_geopandas
install:
- pip install -r requirements.txt --use-mirrors
- pip install -r requirements.test.txt --use-mirrors
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r .requirements-2.6.txt --use-mirrors; fi
- git clone git://github.com/pydata/pandas.git
- cd pandas
- git checkout $PANDAS_VERSION
- python setup.py install
- cd ..
script:
- py.test tests --cov geopandas -v --cov-report term-missing
after_success:
- coveralls
|
Test stable and beta as well as nightly. Test serde_serialization feature. | language: rust
rust:
- nightly
notifications:
email:
- mitchell.nordine@gmail.com
os:
- linux
before_script:
- rustc --version
- cargo --version
script:
- cargo build -v
- cargo test -v
- cargo doc -v
| language: rust
rust:
- stable
- beta
- nightly
notifications:
email:
- mitchell.nordine@gmail.com
os:
- linux
before_script:
- rustc --version
- cargo --version
script:
- cargo build -v
- cargo test -v
- cargo test --features="serde_serialization" -v
- cargo doc -v
|
Use jdk8 to build, still with jdk7 compat | language: java
sudo: false
install: ""
script: ./travis.sh
jdk:
- openjdk7
| language: java
sudo: false
install: ""
script: ./travis.sh
jdk:
- oraclejdk8
|
Use the container based builds for better performance | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
before_script:
- travis_retry composer self-update
- travis_retry composer update $COMPOSER_OPTS
script:
- php vendor/bin/phpunit --coverage-text --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.4
- 5.5
- 5.6
- 7.0
- hhvm
sudo: false
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
before_script:
- travis_retry composer self-update
- travis_retry composer update $COMPOSER_OPTS
script:
- php vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
Test on Ruby 2.2, bump 2.1 to 2.1.5 | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.3
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.0
|
Replace `build` version suffix with 'dev' | language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
branches:
only:
- master
- /^release-.+$/
env:
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
before_install:
- OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download\w+:)"`
- NEW_VERSION=${OLD_VERSION%-SNAPSHOT}-build-`printf %05d $TRAVIS_BUILD_NUMBER`
- echo "Building version $NEW_VERSION"
- mvn versions:set -DnewVersion=$NEW_VERSION
script: >
mvn -e test \
-Dteavm.junit.target=target/js-tests \
-Dteavm.junit.js.runner=htmlunit \
-Dteavm.junit.js.threads=1 \
-Dteavm.junit.optimized=true \
-Dteavm.junit.minified=true
after_success: >
if [ "${TRAVIS_PULL_REQUEST:-false}" != "false" ]; then
mvn deploy --settings travis-settings.xml -P deploy-to-bintray
fi
after_script:
- rm -rf $HOME/.m2/repository/org/teavm | language: java
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
branches:
only:
- master
- /^release-.+$/
env:
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
before_install:
- OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download\w+:)"`
- NEW_VERSION=${OLD_VERSION%-SNAPSHOT}-dev-`printf %d $TRAVIS_BUILD_NUMBER`
- echo "Building version $NEW_VERSION"
- mvn versions:set -DnewVersion=$NEW_VERSION
script: >
mvn -e test \
-Dteavm.junit.target=target/js-tests \
-Dteavm.junit.js.runner=htmlunit \
-Dteavm.junit.js.threads=1 \
-Dteavm.junit.optimized=true \
-Dteavm.junit.minified=true
after_success: >
if [ "${TRAVIS_PULL_REQUEST:-false}" != "false" ]; then
mvn deploy --settings travis-settings.xml -P deploy-to-bintray
fi
after_script:
- rm -rf $HOME/.m2/repository/org/teavm |
Use the current Angular CLI in Travis. | sudo: required
dist: trusty
language: python
python:
- "3.6"
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- nvm install node
install:
- pip install -r requirements.txt
- cd web
- nvm use node
- npm install -g angular-cli
- npm install
- cd ..
script:
- mypy --ignore-missing-imports api.py
- python3 api.py &
- cd web
- ng build
- ng lint
- ng serve &
- sleep 5 # In the odd case starting server takes longer than Chrome.
- ng e2e | sudo: required
dist: trusty
language: python
python:
- "3.6"
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- nvm install node
install:
- pip install -r requirements.txt
- cd web
- nvm use node
- npm install -g @angular/cli
- npm install
- cd ..
script:
- mypy --ignore-missing-imports api.py
- python3 api.py &
- cd web
- ng build
- ng lint
- ng serve &
- sleep 5 # In the odd case starting server takes longer than Chrome.
- ng e2e |
Move to OpenJDK on Travis CI | language: java
jdk:
- oraclejdk8
# http://docs.travis-ci.com/user/caching/
cache:
directories:
- $HOME/.m2
- $HOME/.sonar/cache
addons:
# https://docs.travis-ci.com/user/sonarcloud/
sonarcloud:
organization: "marcelstoer-github"
script:
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
after_success:
- mvn clean test jacoco:report coveralls:jacoco
env:
secure: "M3lwBU5o8ZFIa9mILmKAJvQr7l/jDbP6/wa8y9fISfrFI6L439glBcKa+6ZnwA9eGw0szhGfS/f6V33j5oM8K8cTHxSsavMM1+rSCjDbUrxOX9102W7iNlprdzuhItL8hVlAUNQXwqrqrJozmHT2iioSXbNkI/eRSD7cPQ6+q1I="
| language: java
jdk:
- openjdk8
# http://docs.travis-ci.com/user/caching/
cache:
directories:
- $HOME/.m2
- $HOME/.sonar/cache
addons:
# https://docs.travis-ci.com/user/sonarcloud/
sonarcloud:
organization: "marcelstoer-github"
script:
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
after_success:
- mvn clean test jacoco:report coveralls:jacoco
env:
secure: "M3lwBU5o8ZFIa9mILmKAJvQr7l/jDbP6/wa8y9fISfrFI6L439glBcKa+6ZnwA9eGw0szhGfS/f6V33j5oM8K8cTHxSsavMM1+rSCjDbUrxOX9102W7iNlprdzuhItL8hVlAUNQXwqrqrJozmHT2iioSXbNkI/eRSD7cPQ6+q1I="
|
Add 1.8.6 to the CI matrix | rvm:
- 1.8.7
- 1.9.1
- 1.9.2
- jruby
- rbx
- ree
| rvm:
- 1.8.6
- 1.8.7
- 1.9.1
- 1.9.2
- jruby
- rbx
- ree
|
Update Travis config for modern PHP. | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- 7
before_script:
- composer self-update
- composer install
script:
- 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:
- 7.3
- 7.4
before_script:
- composer self-update
- composer install
script:
- 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
|
Disable email notifcations from Travis | language: ruby
rvm:
- 2.4
script:
- bundle exec rubocop
- bundle exec rspec
| language: ruby
rvm:
- 2.4
script:
- bundle exec rubocop
- bundle exec rspec
notifications:
email: false
|
Add OpenJDK 9 to Travis-CI build | language: java
sudo: false
matrix:
include:
- jdk: openjdk8
- jdk: oraclejdk8
- jdk: oraclejdk9
- jdk: oraclejdk10
- jdk: openjdk10
- jdk: openjdk11
- os: osx
osx_image: xcode9.2
env: JAVA_HOME=$(/usr/libexec/java_home)
script: ./build.sh -Dexist.autodeploy=off -Dtest.haltonerror=true -Dtest.haltonfailure=true clean clean-all all test
notifications:
hipchat: ec8fcfa661addc56a361a8ef536320@integrations
| language: java
sudo: false
matrix:
include:
- jdk: openjdk8
- jdk: oraclejdk8
- jdk: openjdk9
- jdk: oraclejdk9
- jdk: openjdk10
- jdk: oraclejdk10
- jdk: openjdk11
- os: osx
osx_image: xcode9.2
env: JAVA_HOME=$(/usr/libexec/java_home)
script: ./build.sh -Dexist.autodeploy=off -Dtest.haltonerror=true -Dtest.haltonfailure=true clean clean-all all test
notifications:
hipchat: ec8fcfa661addc56a361a8ef536320@integrations
|
Exclude tests only when checking for duplication | ---
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
- javascript
- python
- php
exclude_paths:
- "tests/*"
eslint:
enabled: true
fixme:
enabled: true
radon:
enabled: true
ratings:
paths:
- "**.css"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
- "**.rb"
exclude_paths:
- "**/*min.js"
- "tests/*"
| ---
engines:
csslint:
enabled: true
duplication:
enabled: true
config:
languages:
- ruby
- javascript
- python
- php
exclude_paths:
- "tests/*"
eslint:
enabled: true
fixme:
enabled: true
radon:
enabled: true
ratings:
paths:
- "**.css"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
- "**.rb"
exclude_paths:
- "**/*min.js"
|
Change highlighter attribute to pygments | # visit https://github.com/mojombo/jekyll/wiki/Configuration for more settings
paginate: 10 # pagination based on number of posts
paginate_path: "page:num"
exclude: ["README.md"] # files to exclude
highlighter: true
markdown: kramdown
defaults:
-
scope:
path: "" # empty string for all files
values:
title: dbyll
description: Stylish Jekyll Theme
author:
name: dbyll
email: dbyll@ismaildemirbilek.com
github: dbtek
twitter: dbtek
pinterest: asd123
linkedin: asd123
bio: Your stylish, minimalist theme!
email_md5: 726351295ec82e145928582f595aa3aa
rss_path: feed.xml
categories_path: categories.html
tags_path: tags.html
BASE_PATH:
| # visit https://github.com/mojombo/jekyll/wiki/Configuration for more settings
paginate: 10 # pagination based on number of posts
paginate_path: "page:num"
exclude: ["README.md"] # files to exclude
highlighter: pygments
markdown: kramdown
defaults:
-
scope:
path: "" # empty string for all files
values:
title: dbyll
description: Stylish Jekyll Theme
author:
name: dbyll
email: dbyll@ismaildemirbilek.com
github: dbtek
twitter: dbtek
pinterest: asd123
linkedin: asd123
bio: Your stylish, minimalist theme!
email_md5: 726351295ec82e145928582f595aa3aa
rss_path: feed.xml
categories_path: categories.html
tags_path: tags.html
BASE_PATH:
|
Update RTD to newer Python | ---
version: 2
sphinx:
configuration: docs/conf.py
python:
version: 3.7
install:
- method: pip
path: .
| ---
version: 2
sphinx:
configuration: docs/conf.py
python:
version: 3.9
install:
- method: pip
path: .
|
Upgrade router and registry only when these are managed | ---
# This play is called during upgrade_control_plane via post_control_plane.yml
- name: Upgrade default router and default registry
hosts: oo_first_master
roles:
- lib_utils
- openshift_facts
tasks:
- import_role:
name: openshift_hosted
tasks_from: upgrade_routers.yml
- import_role:
name: openshift_hosted
tasks_from: upgrade_registry.yml
| ---
# This play is called during upgrade_control_plane via post_control_plane.yml
- name: Upgrade default router and default registry
hosts: oo_first_master
roles:
- lib_utils
- openshift_facts
tasks:
- import_role:
name: openshift_hosted
tasks_from: upgrade_routers.yml
when: openshift_hosted_manage_router | default(True) | bool
- import_role:
name: openshift_hosted
tasks_from: upgrade_registry.yml
when: openshift_hosted_manage_registry | default(True) | bool
|
Make the Windows Actions CI more similar to ci.yml | name: windows
on: [push, pull_request]
jobs:
build:
name: >-
build (windows, ${{ matrix.ruby }})
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
ruby: [ '2.4.x', '2.5.x', '2.6.x' ]
steps:
- name: git config
run: git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 10
- name: Load ruby, update MSYS2/MinGW
uses: MSP-Greg/actions-ruby@master
with:
ruby-version: ${{ matrix.ruby }}
base: update
- name: Clone MSpec
run: git clone https://github.com/ruby/mspec.git ../mspec
- name: Run specs
env:
CHECK_LEAKS: true
run: |
# Actions uses UTF8, causes test failures, similar to normal OS setup
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
../mspec/bin/mspec -j
| name: Windows
on: [push, pull_request]
jobs:
build:
name: build (windows, ${{ matrix.ruby }})
strategy:
matrix:
ruby: [ '2.4.x', '2.5.x', '2.6.x' ]
runs-on: windows-latest
steps:
- name: git config autocrlf
run: git config --global core.autocrlf false
- uses: actions/checkout@master
- name: Load ruby, update MSYS2/MinGW
uses: MSP-Greg/actions-ruby@master
with:
ruby-version: ${{ matrix.ruby }}
base: update
- name: Clone MSpec
run: git clone https://github.com/ruby/mspec.git ../mspec
- name: Run specs
env:
CHECK_LEAKS: true
run: |
# Actions uses UTF8, causes test failures, similar to normal OS setup
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
../mspec/bin/mspec -j
|
Add support for different password algorithms | # Ansible managed file, do not edit directly
all:
upload_limit: {{ atom_app_upload_limit }}
cache_engine: {{ atom_app_cache_engine }}
{% if atom_app_cache_engine_options is defined %}
cache_engine_param:
{% for key, value in atom_app_cache_engine_options.items() %}
{{ key }}: {{ value }}
{% endfor %}
{% endif %}
read_only: {{ atom_app_read_only }}
{% if atom_app_google_maps_api_key is defined %}
google_maps_api_key: {{ atom_app_google_maps_api_key }}
{% endif %}
{% if atom_app_google_analytics_api_key is defined %}
google_analytics_api_key: {{ atom_app_google_analytics_api_key }}
{% endif %}
{% if atom_factory_user == "adLdapUser" %}
ldap_account_suffix: {{ atom_app_ldap_account_suffix }}
ldap_base_dn: {{ atom_app_ldap_base_dn }}
ldap_domain_controllers: {{ atom_app_ldap_domain_controllers }}
ldap_user_group: {{ atom_app_ldap_user_group }}
{% endif %}
{% if atom_worker_old_config|bool %}
# Gearman job server
gearman_job_server: {{ atom_app_gearman_job_server }}
{% endif %}
| # Ansible managed file, do not edit directly
all:
upload_limit: {{ atom_app_upload_limit }}
cache_engine: {{ atom_app_cache_engine }}
{% if atom_app_cache_engine_options is defined %}
cache_engine_param:
{% for key, value in atom_app_cache_engine_options.items() %}
{{ key }}: {{ value }}
{% endfor %}
{% endif %}
read_only: {{ atom_app_read_only }}
{% if atom_app_google_maps_api_key is defined %}
google_maps_api_key: {{ atom_app_google_maps_api_key }}
{% endif %}
{% if atom_app_google_analytics_api_key is defined %}
google_analytics_api_key: {{ atom_app_google_analytics_api_key }}
{% endif %}
{% if atom_factory_user == "adLdapUser" %}
ldap_account_suffix: {{ atom_app_ldap_account_suffix }}
ldap_base_dn: {{ atom_app_ldap_base_dn }}
ldap_domain_controllers: {{ atom_app_ldap_domain_controllers }}
ldap_user_group: {{ atom_app_ldap_user_group }}
{% endif %}
{% if atom_worker_old_config|bool %}
# Gearman job server
gearman_job_server: {{ atom_app_gearman_job_server }}
{% endif %}
# Password hash algorithm
password_hash_algorithm: {{ password_hash_algorithm|default('PASSWORD_ARGON21') }}
|
Include v-7 to be built and published | name: Evolene CI
on:
push:
pull_request:
branches:
- main
paths-ignore:
- '*.md'
- '*.png'
workflow_dispatch:
jobs:
Evolene:
name: Continuous Integration
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.3.4
- name: Run Evolene CI pipeline steps
shell: bash
env:
SLACK_CHANNELS: '#team-kth-webb-build'
NPM_UPDATES_AVAILABLE: True
BUILD_INFORMATION_OUTPUT_FILE: '/config/version.js'
CXXFLAGS: '--std=c++14'
run: |
${{ secrets.EVOLENE_RUN_COMMAND }}
| name: Evolene CI
on:
push:
branches:
- main
- v-7
pull_request:
branches:
- main
- v-7
paths-ignore:
- '*.md'
- '*.png'
workflow_dispatch:
jobs:
Evolene:
name: Continuous Integration
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.3.4
- name: Run Evolene CI pipeline steps
shell: bash
env:
SLACK_CHANNELS: '#team-kth-webb-build'
NPM_UPDATES_AVAILABLE: True
BUILD_INFORMATION_OUTPUT_FILE: '/config/version.js'
CXXFLAGS: '--std=c++14'
BRANCHES_SAVE_STARTING_WITH: 'refs/heads/v-7'
BRANCHES_TAG_AS_MAIN: 'True'
run: |
${{ secrets.EVOLENE_RUN_COMMAND }}
|
Add offline-friendly formats to Read the Docs | version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.9"
python:
install:
- method: pip
path: .
extra_requirements:
- doc
- cesium
sphinx:
# fail_on_warning: true # Too hard, maybe one day?
fail_on_warning: false
| version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.9"
formats:
- epub
- htmlzip
python:
install:
- method: pip
path: .
extra_requirements:
- doc
- cesium
sphinx:
# fail_on_warning: true # Too hard, maybe one day?
fail_on_warning: false
|
Update from Forestry.io - Updated Forestry configuration | ---
label: test
hide_body: true
fields:
- name: layout
type: text
config:
required: true
label: layout
default: post
- name: title
type: text
config:
required: true
min: 8
label: title
- name: tag
type: text
config:
required: true
label: tag
default: ml
| ---
label: test
hide_body: true
fields:
- name: layout
type: text
config:
required: true
label: layout
default: post
- name: title
type: text
config:
required: true
min: 8
label: title
- name: tag
type: text
config:
required: true
label: tag
default: ml
- name: content
type: textarea
default: ''
config:
required: false
wysiwyg: false
schema:
format: markdown
label: content
|
Add docker-enter to dotfiles role | ---
- name: Create ~/.bin
file: dest=~/.bin state=directory
- name: Link dotfiles
file: src={{ item }} dest=~/.{{ item | basename }} state=link
with_fileglob:
- ./conf/*
- name: Link executables
file: src={{ item }} dest=~/.bin/{{ item | basename }} state=link
with_fileglob:
- ./bin/*
| ---
- name: Create ~/.bin
file: dest=~/.bin state=directory
- name: Link dotfiles
file: src={{ item }} dest=~/.{{ item | basename }} state=link
with_fileglob:
- ./conf/*
- name: Link executables
file: src={{ item }} dest=~/.bin/{{ item | basename }} state=link
with_fileglob:
- ./bin/*
- name: Install docker-enter
get_url: |
url=https://raw.githubusercontent.com/jpetazzo/nsenter/master/docker-enter
dest=~/.bin/docker-enter
mode=0700
sha256sum=09610705fa512d6c31b82d08b8e88a8103a356a6b496199a1a31d11793d45492
|
Extend optimout for cassandra in travis | endpoints:
- localhost:9042
op_timeout: 5000000000 # 5 seconds (creating a new keyspace is very slow on travis)
dial_timeout: 3000000000 # 3 seconds
redial_interval: 60000000000 # 60 seconds
protocol_version: 4
| endpoints:
- localhost:9042
op_timeout: 10000000000 # 10 seconds (creating a new keyspace is very slow on travis)
dial_timeout: 3000000000 # 3 seconds
redial_interval: 60000000000 # 60 seconds
protocol_version: 4
|
Scale Cells in London to 111 | ---
uaa_instances: 3
nats_instances: 3
diego_api_instances: 3
cell_instances: 105
router_instances: 15
api_instances: 12
doppler_instances: 54
log_api_instances: 27
scheduler_instances: 6
cc_worker_instances: 6
cc_hourly_rate_limit: 60000
cc_staging_timeout_in_seconds: 2700
cc_maximum_health_check_timeout_in_seconds: 300
paas_region_name: london
prometheus_disk_size: 750GB
prometheus_retention_size: 700GB
| ---
uaa_instances: 3
nats_instances: 3
diego_api_instances: 3
cell_instances: 111
router_instances: 15
api_instances: 12
doppler_instances: 54
log_api_instances: 27
scheduler_instances: 6
cc_worker_instances: 6
cc_hourly_rate_limit: 60000
cc_staging_timeout_in_seconds: 2700
cc_maximum_health_check_timeout_in_seconds: 300
paas_region_name: london
prometheus_disk_size: 750GB
prometheus_retention_size: 700GB
|
Fix virtualHost entry for devcloud environments. | db:
container_name: <%= projectName %>_<%= environment %>_db
extends:
file: docker-compose.yml
service: db
volumes:
- /data/<%= projectName %>_<%= environment %>/mysql:/var/lib/mysql
<% if (cache.external) { %>
cache:
container_name: <%= projectName %>_<%= environment %>_cache
extends:
file: docker-compose.yml
service: cache
<% } %><% if (proxy.exists) { %>
proxy:
container_name: <%= projectName %>_<%= environment %>_proxy
image: phase2/varnish4
environment:
VARNISH_BACKEND_HOST: www
VIRTUAL_HOST: ${DOCKER_ENV}.atmos.ci.p2devcloud.com
links:
- www
<% } %>
www:
container_name: <%= projectName %>_<%= environment %>_www
image: <%= app.image %>
environment:
DOCROOT: /var/www/build/html
PHP_XDEBUG: "<%= debugMode %>"
PHP_XHPROF: "<%= debugMode %>"
<% if (!proxy.exists) { %>VIRTUAL_HOST: <%= virtualHost %><% } %>
links:
- db<% if (cache.external) { %><%= cache.docker.link %><% } %>
volumes:
- .:/var/www/
- /data/<%= projectName %>_<%= environment %>/files:/var/www/build/html/sites/default/files
| db:
container_name: <%= projectName %>_<%= environment %>_db
extends:
file: docker-compose.yml
service: db
volumes:
- /data/<%= projectName %>_<%= environment %>/mysql:/var/lib/mysql
<% if (cache.external) { %>
cache:
container_name: <%= projectName %>_<%= environment %>_cache
extends:
file: docker-compose.yml
service: cache
<% } %><% if (proxy.exists) { %>
proxy:
container_name: <%= projectName %>_<%= environment %>_proxy
image: phase2/varnish4
environment:
VARNISH_BACKEND_HOST: www
VIRTUAL_HOST: <%= virtualHost %>
links:
- www
<% } %>
www:
container_name: <%= projectName %>_<%= environment %>_www
image: <%= app.image %>
environment:
DOCROOT: /var/www/build/html
PHP_XDEBUG: "<%= debugMode %>"
PHP_XHPROF: "<%= debugMode %>"
<% if (!proxy.exists) { %>VIRTUAL_HOST: <%= virtualHost %><% } %>
links:
- db<% if (cache.external) { %><%= cache.docker.link %><% } %>
volumes:
- .:/var/www/
- /data/<%= projectName %>_<%= environment %>/files:/var/www/build/html/sites/default/files
|
Enforce consistency with other projects | name: Test and deploy
on:
- push
- workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
with:
ruby-version: 2.6.3
- name: Install dependencies
run: bundle install
- name: Pull worker
run: bin/pull_worker.sh
- name: Run tests
run: bundle exec rake
- name: Deploy
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
| name: Test and deploy
on:
- push
- workflow_dispatch
jobs:
test_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
with:
ruby-version: 2.6.3
- name: Install dependencies
run: bundle install
- name: Pull worker
run: bin/pull_worker.sh
- name: Run tests
run: bundle exec rake
- name: Deploy
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.