Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Remove obsolete PhantomJS install step | ---
language: node_js
node_js:
- "4"
sudo: false
addons:
chrome: stable
cache:
directories:
- node_modules
env:
- EMBER_TRY_SCENARIO=default
- EMBER_TRY_SCENARIO=ember-1.13
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- npm config set spin false
- npm install -g bower
- bower --version
- npm install phantomjs-prebuilt
- node_modules/phantomjs-prebuilt/bin/phantomjs --version
install:
- npm install
- bower install
script:
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
- ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
| ---
language: node_js
node_js:
- "4"
sudo: false
addons:
chrome: stable
cache:
directories:
- node_modules
env:
- EMBER_TRY_SCENARIO=default
- EMBER_TRY_SCENARIO=ember-1.13
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- npm config set spin false
- npm install -g bower
- bower --version
install:
- npm install
- bower install
script:
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
- ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
|
Remove hhvm as before-install is not compatible | language: php
php: [5.3.3, 5.3, 5.4, 5.5, hhvm]
env:
- LIBRABBITMQ_VERSION=master
- LIBRABBITMQ_VERSION=v0.5.0
services: [rabbitmq]
before_script:
- sh -c "git clone git://github.com/alanxz/rabbitmq-c.git"
- sh -c "cd rabbitmq-c && git checkout ${LIBRABBITMQ_VERSION}"
- sh -c "cd rabbitmq-c && git submodule init && git submodule update"
- sh -c "cd rabbitmq-c && autoreconf -i && ./configure && make && sudo make install"
- echo "extension=amqp.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer selfupdate
- composer install --prefer-source
- sh -c "sudo ./tests/bin/prepare_rabbit.sh"
| language: php
php: [5.3.3, 5.3, 5.4, 5.5]
env:
- LIBRABBITMQ_VERSION=master
- LIBRABBITMQ_VERSION=v0.5.0
services: [rabbitmq]
before_script:
- sh -c "git clone git://github.com/alanxz/rabbitmq-c.git"
- sh -c "cd rabbitmq-c && git checkout ${LIBRABBITMQ_VERSION}"
- sh -c "cd rabbitmq-c && git submodule init && git submodule update"
- sh -c "cd rabbitmq-c && autoreconf -i && ./configure && make && sudo make install"
- echo "extension=amqp.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer selfupdate
- composer install --prefer-source
- sh -c "sudo ./tests/bin/prepare_rabbit.sh"
|
Update install URL for cover tool | language: go
go:
- 1.4
sudo: false
env:
global:
- PATH="$HOME/gopath/bin:$HOME/bin:$PATH"
services:
- rabbitmq
before_install:
- go get github.com/hamfist/deppy
- go get github.com/golang/lint/golint
- go get code.google.com/p/go.tools/cmd/cover
- go install -a -race std
install:
- deppy restore
before_script:
- cp config/worker.json.example config/worker.json
script:
- make test
- make test-race
- make save
- git diff --exit-code
- git diff --cached --exit-code
| language: go
go:
- 1.4
sudo: false
env:
global:
- PATH="$HOME/gopath/bin:$HOME/bin:$PATH"
services:
- rabbitmq
before_install:
- go get github.com/hamfist/deppy
- go get github.com/golang/lint/golint
- go get golang.org/x/tools/cmd/cover
- go install -a -race std
install:
- deppy restore
before_script:
- cp config/worker.json.example config/worker.json
script:
- make test
- make test-race
- make save
- git diff --exit-code
- git diff --cached --exit-code
|
Use lvg module, no need to create physical volume | ---
- name: "Install LVM2"
become: yes
yum:
name: lvm2
state: present
- name: "Test if physical volume is present"
become: yes
shell: "pvdisplay {{ dm_device }}"
ignore_errors: true
register: pv_exist
| ---
- name: "devicemapper: Install LVM2"
become: yes
yum:
name: lvm2
state: present
- name: "devicemapper: Create volume group"
become: yes
lvg:
vg: docker
pvs: "{{ dm_device }}"
state: present
|
Debug that failing site install | language: php
php:
- 5.3
- 5.4
branches:
only:
- master
install:
- curl http://getcomposer.org/installer | php
- php composer.phar install --dev
- sudo apt-get update > /dev/null
- sudo apt-get --quiet=2 install php5-cgi php5-curl php5-gd php5-sqlite > /dev/null
- pear channel-discover pear.drush.org
- pear install drush/drush
- phpenv rehash
- drush --quiet dl drupal --drupal-project-rename
before_script:
# Setup a stock Drupal 7 install to test api abilities.
- drush --quiet --yes --root=$PWD/drupal site-install --db-url=sqlite://db.sqlite
- drush --quiet --yes --root=$PWD/drupal runserver :8888 > /dev/null 2>&1 &
- sleep 4s
# Replace DRUPALROOT in our behat file with the current path.
- export DRUPALROOT="$PWD/drupal"
- sed -i 's#|DRUPALROOT|#'"$DRUPALROOT"'#g' behat.yml.dist
script:
- vendor/bin/behat -fprogress --tags=~api
- vendor/bin/behat -fprogress --profile=api --tags=api
| language: php
php:
- 5.3
- 5.4
branches:
only:
- master
install:
- curl http://getcomposer.org/installer | php
- php composer.phar install --dev
- sudo apt-get update > /dev/null
- sudo apt-get --quiet=2 install php5-cgi php5-curl php5-gd php5-sqlite > /dev/null
- pear channel-discover pear.drush.org
- pear install drush/drush
- phpenv rehash
- drush --quiet dl drupal --drupal-project-rename
before_script:
# Setup a stock Drupal 7 install to test api abilities.
- drush --debug --yes --root=$PWD/drupal site-install --db-url=sqlite://db.sqlite
- drush --quiet --yes --root=$PWD/drupal runserver :8888 > /dev/null 2>&1 &
- sleep 4s
# Replace DRUPALROOT in our behat file with the current path.
- export DRUPALROOT="$PWD/drupal"
- sed -i 's#|DRUPALROOT|#'"$DRUPALROOT"'#g' behat.yml.dist
script:
- vendor/bin/behat -fprogress --tags=~api
- vendor/bin/behat -fprogress --profile=api --tags=api
|
Update node version specificity of "4" | language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4.0"
- "iojs"
after_success:
- npm run coverage
- npm i coveralls
- cat ./coverage/lcov.info | coveralls
notifications:
email:
on_success: never
| language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
- "iojs"
after_success:
- npm run coverage
- npm i coveralls
- cat ./coverage/lcov.info | coveralls
notifications:
email:
on_success: never
|
Revert "Remove the Splunk lens entirely for better error" | language: ruby
rvm:
- 1.8.7
# - 1.9.3
script: 'rake spec'
before_install:
- sudo add-apt-repository -y ppa:raphink/augeas
- sudo apt-get update -qq
- sudo apt-get install -qq libaugeas0 libaugeas-dev
- sudo rm -f /usr/share/augeas/lenses/dist/splunk.aug
env:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="3.3"
gemfile: .gemfile
notifications:
email: false
| language: ruby
rvm:
- 1.8.7
# - 1.9.3
script: 'rake spec'
before_install:
- sudo add-apt-repository -y ppa:raphink/augeas
- sudo apt-get update -qq
- sudo apt-get install -qq libaugeas0 libaugeas-dev
- sudo chmod -r /usr/share/augeas/lenses/dist/splunk.aug
env:
- PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION="3.3"
gemfile: .gemfile
notifications:
email: false
|
Convert to Travis CI's container-based infrastructure. | language: node_js
node_js:
- "0.10"
- "0.12"
- iojs
script: "npm run-script test-cover"
after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls"
| language: node_js
node_js:
- "0.10"
- "0.12"
- iojs
script: "npm run-script test-cover"
after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls"
sudo: false
|
Update Apkpurer to 3.0 (3) | AntiFeatures:
- NonFreeNet
Categories:
- Internet
- Connectivity
- System
License: MIT
AuthorName: Clone Conflict
AuthorEmail: cloneconf@gmail.com
SourceCode: https://github.com/cloneconf/Apkpurer
IssueTracker: https://github.com/cloneconf/Apkpurer/issues
Name: Apkpurer
AutoName: Apkpurer
RepoType: git
Repo: https://github.com/cloneconf/Apkpurer
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk
- update-alternatives --auto java
gradle:
- yes
- versionName: '2.0'
versionCode: 2
commit: f683e4c1b8f0e04a7e96127f63329fcbc858156c
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk
- update-alternatives --auto java
gradle:
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: '2.0'
CurrentVersionCode: 2
| AntiFeatures:
- NonFreeNet
Categories:
- Internet
- Connectivity
- System
License: MIT
AuthorName: Clone Conflict
AuthorEmail: cloneconf@gmail.com
SourceCode: https://github.com/cloneconf/Apkpurer
IssueTracker: https://github.com/cloneconf/Apkpurer/issues
Name: Apkpurer
AutoName: Apkpurer
RepoType: git
Repo: https://github.com/cloneconf/Apkpurer
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk
- update-alternatives --auto java
gradle:
- yes
- versionName: '2.0'
versionCode: 2
commit: f683e4c1b8f0e04a7e96127f63329fcbc858156c
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk
- update-alternatives --auto java
gradle:
- yes
- versionName: '3.0'
versionCode: 3
commit: c2fae7dd4ef5f61bce7ddc483acc753bf904b5f2
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y openjdk-11-jdk
- update-alternatives --auto java
gradle:
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: '3.0'
CurrentVersionCode: 3
|
Use latest Java8 in Travis | language: java
jdk:
- oraclejdk8
sudo: false
| language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
cache:
directories:
- $HOME/.m2/repository/io
- $HOME/.m2/repository/it
- $HOME/.m2/repository/org
- $HOME/.m2/repository/mysql
sudo: false
|
Use Ruby 2.3.1 on Travis | ---
language: ruby
sudo: false
rvm: 2
cache:
bundler: true
directories:
- bower_components
- node_modules
before_install:
- gem install bundler
- nvm install
- 'echo ''gem: --no-document'' > ~/.gemrc'
before_script:
- npm install
| ---
language: ruby
sudo: false
rvm: 2.3.1
cache:
bundler: true
directories:
- bower_components
- node_modules
before_install:
- gem install bundler
- nvm install
- 'echo ''gem: --no-document'' > ~/.gemrc'
before_script:
- npm install
|
Test against Ruby 2.2.5 and 2.3.1 | language: ruby
sudo: false
before_install:
- gem install bundler -v '~> 1.11'
rvm:
- 2.0.0
- 2.1.10
- 2.2.4
- 2.3.0
gemfile:
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
| language: ruby
sudo: false
before_install:
- gem install bundler -v '~> 1.11'
rvm:
- 2.0.0
- 2.1.10
- 2.2.5
- 2.3.1
gemfile:
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
|
Test build on new Ruby version 2.5 | language: ruby
sudo: false
rvm:
- 2.4.0
- 2.3.3
- 2.2.6
- 2.1.10
- jruby-9.1.7.0
env:
global:
- PARSE_HOST=https://parse-ruby-client-server.herokuapp.com
- PARSE_HOST_PATH=/parse
- secure: Y73am8+24a68YjhF52hl4WafB1RUMsWDjVowMQzfirUdJDpcaje3Ax08J2CzZbEFQ6D30DpgrZNsIKxvX63WHW4EfEljMw6VZZdZmEzUSNkYWGDsk4H2DloVgqfBuucMIk3vGPIJqZbeABR99voOX6PngQC/kmcvI/srC92YhJk=
- secure: VXNSetQFaM0Ix9RnxevvnmpHdsIXG0dDn8n39jepwpSeOTn9pGUKDHoZvyg+bKTgYWo5sxwND0XDxhsmTwHyhUVwmXRxayWz0BSOiA6YVtcA9+99o7emCEuggl3jrVzmNWAzbO0cZqbe3dhnT2YQyCPUXGTLlRJ484q4PB3y+6A=
| language: ruby
sudo: false
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
- jruby-9.1.7.0
env:
global:
- PARSE_HOST=https://parse-ruby-client-server.herokuapp.com
- PARSE_HOST_PATH=/parse
- secure: Y73am8+24a68YjhF52hl4WafB1RUMsWDjVowMQzfirUdJDpcaje3Ax08J2CzZbEFQ6D30DpgrZNsIKxvX63WHW4EfEljMw6VZZdZmEzUSNkYWGDsk4H2DloVgqfBuucMIk3vGPIJqZbeABR99voOX6PngQC/kmcvI/srC92YhJk=
- secure: VXNSetQFaM0Ix9RnxevvnmpHdsIXG0dDn8n39jepwpSeOTn9pGUKDHoZvyg+bKTgYWo5sxwND0XDxhsmTwHyhUVwmXRxayWz0BSOiA6YVtcA9+99o7emCEuggl3jrVzmNWAzbO0cZqbe3dhnT2YQyCPUXGTLlRJ484q4PB3y+6A=
|
Add Stack Overflow username variable | title: Spine Event Engine
description: CQRS/ES framework for modern could applications
baseurl:
githuburl: https://github.com/SpineEventEngine/SpineEventEngine.github.io/
core_java_repo: https://github.com/SpineEventEngine/core-java
base_repo: https://github.com/SpineEventEngine/base
web_repo: https://github.com/SpineEventEngine/web
gcloud_java_repo: https://github.com/SpineEventEngine/gcloud-java
money_repo: https://github.com/SpineEventEngine/money
twitter_username: SpineEngine
github_username: SpineEventEngine
gitter_username: SpineEventEngine
google_analytics_tag: UA-71822190-1
# Gems
plugins: [jekyll-paginate]
# Conversion
markdown: kramdown
highlighter: rouge
excerpt_separator: <!--more-->
sass:
style: compressed
# Outputting
paginate: 5
paginate_path: "/blog/page:num/"
kramdown:
input: GFM
hard_wrap: false
parse_block_html: true
| title: Spine Event Engine
description: CQRS/ES framework for modern could applications
baseurl:
githuburl: https://github.com/SpineEventEngine/SpineEventEngine.github.io/
core_java_repo: https://github.com/SpineEventEngine/core-java
base_repo: https://github.com/SpineEventEngine/base
web_repo: https://github.com/SpineEventEngine/web
gcloud_java_repo: https://github.com/SpineEventEngine/gcloud-java
money_repo: https://github.com/SpineEventEngine/money
twitter_username: SpineEngine
github_username: SpineEventEngine
gitter_username: SpineEventEngine
stackoverflow_username: SpineEngine
google_analytics_tag: UA-71822190-1
# Gems
plugins: [jekyll-paginate]
# Conversion
markdown: kramdown
highlighter: rouge
excerpt_separator: <!--more-->
sass:
style: compressed
# Outputting
paginate: 5
paginate_path: "/blog/page:num/"
kramdown:
input: GFM
hard_wrap: false
parse_block_html: true
|
Make sure to bootstrap carthage before running script | language: objective-c
osx_image: xcode8
script:
- xcodebuild clean build test -project SwiftyJSONModel.xcodeproj -scheme SwiftyJSONModel -sdk iphonesimulator
notifications:
email: true
| language: objective-c
osx_image: xcode8
before_install:
- brew update
- brew upgrade xctool
- brew install carthage
- carthage bootstrap --verbose
script:
- xcodebuild clean build test -project SwiftyJSONModel.xcodeproj -scheme SwiftyJSONModel -sdk iphonesimulator
notifications:
email: true
|
Use a PPA that actually exists? | sudo: false
# Travis only supports one language per project, so we need to put something
# here. node_js is as good as any other I suppose.
language: node_js
node_js:
- "0.10"
sudo: true
# Install package dependencies. See
# http://docs.travis-ci.com/user/installing-dependencies/
# gulp: required for JS testing
before_install:
- npm install -g gulp
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
install:
sudo apt-get install rust-nightly
# Define the list of directories to execute tests in.
env:
- TEST_DIR=js
- TEST_DIR=go
- TEST_DIR=ruby
- TEST_DIR=rust
# Test script to run. This is called once for each TEST_DIR value above.
script: ./run_tests.sh
| sudo: false
# Travis only supports one language per project, so we need to put something
# here. node_js is as good as any other I suppose.
language: node_js
node_js:
- "0.10"
sudo: true
# Install package dependencies. See
# http://docs.travis-ci.com/user/installing-dependencies/
# gulp: required for JS testing
before_install:
- npm install -g gulp
- yes | sudo add-apt-repository ppa:jonathonf/rustlang
- sudo apt-get update
install:
sudo apt-get install rust-nightly
# Define the list of directories to execute tests in.
env:
- TEST_DIR=js
- TEST_DIR=go
- TEST_DIR=ruby
- TEST_DIR=rust
# Test script to run. This is called once for each TEST_DIR value above.
script: ./run_tests.sh
|
Drop old req. on bokeh | build:
image: bjodah/bjodahimg16dev:v1.3
environment:
- CPLUS_INCLUDE_PATH=/opt/boost_1_65_0/include
- LIBRARY_PATH=/opt/boost_1_65_0/lib
- LD_LIBRARY_PATH=/opt/boost_1_65_0/lib
commands:
- python2 -m pip install --ignore-installed --no-deps quantities==0.12.1 # https://github.com/python-quantities/python-quantities/issues/122
- python3 -m pip install --ignore-installed --no-deps quantities==0.12.1
- PYCVODES_LAPACK=lapack,blas ./scripts/ci.sh chempy
- (cd examples/; python -m pip install --force bokeh==0.11.1; for f in bokeh_*.py; do python -m bokeh html $f; done)
- ./scripts/prepare_deploy.sh
- PATH=/opt/miniconda3/bin:$PATH conda config --add channels bjodah # sym, pyodesys, pyneqsys
- PATH=/opt/miniconda3/bin:$PATH conda build conda-recipe
- bash -c '[[ $(python setup.py --version) =~ ^[0-9]+.* ]]'
- if grep "DO-NOT-MERGE!" -R . --exclude ".drone.yml"; then exit 1; fi
deploy:
rsync:
host: hera.physchem.kth.se
user: chempy
port: 22
source: deploy/
target: ~
recursive: true
delete: false
| build:
image: bjodah/bjodahimg16dev:v1.3
environment:
- CPLUS_INCLUDE_PATH=/opt/boost_1_65_0/include
- LIBRARY_PATH=/opt/boost_1_65_0/lib
- LD_LIBRARY_PATH=/opt/boost_1_65_0/lib
commands:
- python2 -m pip install --ignore-installed --no-deps quantities==0.12.1 # https://github.com/python-quantities/python-quantities/issues/122
- python3 -m pip install --ignore-installed --no-deps quantities==0.12.1
- PYCVODES_LAPACK=lapack,blas ./scripts/ci.sh chempy
- (cd examples/; for f in bokeh_*.py; do python -m bokeh html $f; done)
- ./scripts/prepare_deploy.sh
- PATH=/opt/miniconda3/bin:$PATH conda config --add channels bjodah # sym, pyodesys, pyneqsys
- PATH=/opt/miniconda3/bin:$PATH conda build conda-recipe
- bash -c '[[ $(python setup.py --version) =~ ^[0-9]+.* ]]'
- if grep "DO-NOT-MERGE!" -R . --exclude ".drone.yml"; then exit 1; fi
deploy:
rsync:
host: hera.physchem.kth.se
user: chempy
port: 22
source: deploy/
target: ~
recursive: true
delete: false
|
Update codeclimate test coverage reporter | language: node_js
node_js:
- "8"
after_success: npm run report-coverage
before_script:
- 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:
- npm test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT | language: node_js
node_js:
- "8"
after_success: npm run report-coverage
before_script:
- 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:
- npm test
after_script:
- export CC_TEST_REPORTER_ID=a4a5234a5623ca4cbde912c8d34281ecccf1454d45297257b53272e1fd812dd2 ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT |
Update from Hackage at 2016-06-01T07:22:12+0000 | homepage: ''
changelog-type: ''
hash: 46b5592d3424c0e4429abec3260eb761ca29aa956827e6d32c3931809f9fbf59
test-bench-deps: {}
maintainer: sgschlesinger@gmail.com
synopsis: Generalized the Prelude more functionally.
changelog: ''
basic-deps:
base: ! '>=4.9 && <4.10'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
author: Samuel Schlesinger
latest: '0.1.0.2'
description-type: haddock
description: Generalized Prelude
license-name: MIT
| homepage: ''
changelog-type: ''
hash: fb83bb2af4e052c18135edaf3dbe934e6fd1129b9dba1dbf04759d119ebf92ab
test-bench-deps: {}
maintainer: sgschlesinger@gmail.com
synopsis: Generalized the Prelude more functionally.
changelog: ''
basic-deps:
base: ! '>=4.9 && <4.10'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
author: Samuel Schlesinger
latest: '0.1.0.3'
description-type: haddock
description: Generalized Prelude
license-name: MIT
|
Update from Hackage at 2020-04-30T16:58:37Z | homepage: ''
changelog-type: ''
hash: 11b6e738e9b5a4a901d5218440ed70ef3bc2d9f225d416c02fa57092e40253ae
test-bench-deps: {}
maintainer: david.darais@gmail.com
synopsis: basic orders
changelog: ''
basic-deps:
base: ==4.6.*
containers: ==0.5.*
all-versions:
- 0.1.0.0
author: David Darais
latest: 0.1.0.0
description-type: haddock
description: support for partial orders and other stuffs
license-name: BSD-3-Clause
| homepage: ''
changelog-type: ''
hash: 5251d17b30a8c112f723f3ce1108d7982fa77d4ae40940aa27b79f444b7a9ec6
test-bench-deps: {}
maintainer: david.darais@gmail.com
synopsis: basic orders
changelog: ''
basic-deps:
base: '>=4.6 && <5'
containers: '>=0.5 && <1'
all-versions:
- 0.1.0.0
author: David Darais
latest: 0.1.0.0
description-type: haddock
description: support for partial orders and other stuffs
license-name: BSD-3-Clause
|
Change path to include 3.5 directory. | ---
templatelink: "https://raw.githubusercontent.com/openshift/openshift-ansible-contrib/master/reference-architecture/azure-ansible/azuredeploy.json"
numberofnodes: 3
image: "rhel"
mastervmsize: "Standard_DS3_v2"
infranodesize: "Standard_DS3_v2"
nodevmsize: "Standard_DS12_v2"
location: "westus"
openshiftsdn: "redhat/openshift-ovs-multitenant"
metrics: true
logging: true
opslogging: false
| ---
templatelink: "https://raw.githubusercontent.com/openshift/openshift-ansible-contrib/master/reference-architecture/azure-ansible/3.5/azuredeploy.json"
numberofnodes: 3
image: "rhel"
mastervmsize: "Standard_DS3_v2"
infranodesize: "Standard_DS3_v2"
nodevmsize: "Standard_DS12_v2"
location: "westus"
openshiftsdn: "redhat/openshift-ovs-multitenant"
metrics: true
logging: true
opslogging: false
|
Test fail because not update wafip_state variable | -
Update database values and create journal.
## !python {model: account.journal, search: "[('journal_class_id.code','=','FVE'), ('company_id','=',ref('l10n_ar_invoice.com_ivari'))]"}: |
-
!python {model: res.company, id: l10n_ar_invoice.com_ivari}: |
self
journal = self.env['account.journal'].search([('journal_class_id.code','=','FVE'), ('company_id','=',self.id)])
journal.get_wsafip_state()
journal.get_wsafip_items_generated()
if journal.wsafip_state == 'unsync':
wiz = self.env['l10n_ar_wsafip_fe.query_invoices'].create({
'journal_id': journal.id,
'first_invoice_number': journal.sequence_id.number_next,
'last_invoice_number': journal.wsafip_items_generated,
'update_invoices': True,
'update_sequence': True,
'update_domain': 'by number',
'create_invoices': False,
})
wiz.execute()
assert journal.wsafip_state == 'connected', 'Server is not connected'
assert journal.wsafip_items_generated >= 0, 'Trouble getting number of items'
| -
Update database values and create journal.
## !python {model: account.journal, search: "[('journal_class_id.code','=','FVE'), ('company_id','=',ref('l10n_ar_invoice.com_ivari'))]"}: |
-
!python {model: res.company, id: l10n_ar_invoice.com_ivari}: |
self
journal = self.env['account.journal'].search([('journal_class_id.code','=','FVE'), ('company_id','=',self.id)])
journal.get_wsafip_state()
journal.get_wsafip_items_generated()
if journal.wsafip_state == 'unsync':
wiz = self.env['l10n_ar_wsafip_fe.query_invoices'].create({
'journal_id': journal.id,
'first_invoice_number': journal.sequence_id.number_next,
'last_invoice_number': journal.wsafip_items_generated,
'update_invoices': True,
'update_sequence': True,
'update_domain': 'by number',
'create_invoices': False,
})
wiz.execute()
del journal._cache['wsafip_state']
assert journal.wsafip_state in ('connected',), 'Server is not connected'
assert journal.wsafip_items_generated >= 0, 'Trouble getting number of items'
|
Update from Hackage at 2017-05-09T05:00:39Z | homepage: https://github.com/athanclark/websockets-simple#readme
changelog-type: ''
hash: b06f411b320800b8f170cf5cd4c5a2dc966f9d6ed0d9c7785e638c59bf46a62d
test-bench-deps: {}
maintainer: athan.clark@gmail.com
synopsis: Simpler interface to the websockets api
changelog: ''
basic-deps:
exceptions: -any
bytestring: -any
wai-transformers: -any
stm: -any
base: ! '>=4.8 && <5'
monad-control: -any
async: -any
websockets: ! '>=0.11'
aeson: -any
all-versions:
- '0.0.1'
- '0.0.2'
- '0.0.2.1'
- '0.0.2.2'
author: Athan Clark
latest: '0.0.2.2'
description-type: markdown
description: ! '# websockets-simple
'
license-name: BSD3
| homepage: https://github.com/athanclark/websockets-simple#readme
changelog-type: ''
hash: eb0372ab61a2172ca027aa262225dc20a50ca7b7684c8b468d9440b8894c7b72
test-bench-deps: {}
maintainer: athan.clark@gmail.com
synopsis: Simpler interface to the websockets api
changelog: ''
basic-deps:
exceptions: -any
bytestring: -any
wai-transformers: -any
stm: -any
base: ! '>=4.8 && <5'
every: ! '>=0.0.1'
monad-control: -any
async: -any
websockets: ! '>=0.11'
aeson: -any
all-versions:
- '0.0.1'
- '0.0.2'
- '0.0.2.1'
- '0.0.2.2'
- '0.0.3'
author: Athan Clark
latest: '0.0.3'
description-type: markdown
description: ! '# websockets-simple
'
license-name: BSD3
|
Update from Hackage at 2019-08-29T05:50:11Z | homepage: https://github.com/jfischoff/pg-transact#readme
changelog-type: ''
hash: 76608ef69260766ab9056b29cb01f2c94b59f8186469c0a15cdd25f0557391af
test-bench-deps:
exceptions: -any
bytestring: -any
tmp-postgres: -any
base: -any
hspec: -any
postgresql-simple: -any
hspec-discover: -any
pg-transact: -any
maintainer: jonathangfischoff@gmail.com
synopsis: Another postgresql-simple transaction monad
changelog: ''
basic-deps:
exceptions: -any
bytestring: -any
base: ! '>=4.7 && <5'
monad-control: -any
postgresql-simple: -any
transformers: -any
all-versions:
- 0.1.0.0
- 0.1.0.1
author: Jonathan Fischoff
latest: 0.1.0.1
description-type: markdown
description: ! '# pg-transact
'
license-name: BSD-3-Clause
| homepage: https://github.com/jfischoff/pg-transact#readme
changelog-type: ''
hash: 46ca141d842446fc781aaeb81e1396b3b56a96c26f1bd90031248e2212944763
test-bench-deps:
exceptions: -any
bytestring: -any
tmp-postgres: -any
base: -any
hspec: -any
postgresql-simple: -any
hspec-discover: -any
pg-transact: -any
maintainer: jonathangfischoff@gmail.com
synopsis: Another postgresql-simple transaction monad
changelog: ''
basic-deps:
exceptions: -any
bytestring: -any
base: ! '>=4.7 && <5'
monad-control: -any
postgresql-simple: -any
transformers: -any
all-versions:
- 0.1.0.0
- 0.1.0.1
- 0.1.2.0
author: Jonathan Fischoff
latest: 0.1.2.0
description-type: markdown
description: |
# pg-transact
license-name: BSD-3-Clause
|
Change IP addresses in homeassistant | - platform: androidtv
name: FireTV
host: 192.168.0.82
- platform: yamaha_musiccast
host: 192.168.0.80
| - platform: androidtv
name: FireTV
host: 192.168.0.2
- platform: yamaha_musiccast
host: 192.168.0.180
|
Revise the download URL of the VS 2017 installer | version: '{build}'
image: Visual Studio 2017
configuration:
- Release
environment:
PYTHON: C:\Python36-x64
install:
- cmd: >-
curl -O https://download.visualstudio.microsoft.com/download/pr/100473929/045b56eb413191d03850ecc425172a7d/vs_Community.exe
vs_Community.exe modify --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community" --add Microsoft.VisualStudio.Workload.Python --quiet --wait
%PYTHON%\python -m pip install -U pip
%PYTHON%\python -m pip install -r ManualGenerator\requirements.txt
before_build:
- cmd: nuget restore
build:
parallel: true
verbosity: minimal
after_build:
- cmd: >-
xcopy ThScoreFileConverter\bin\%CONFIGURATION% publish /e /i /q
xcopy ManualGenerator\_build\html publish\doc /e /i /q
xcopy template publish\template /e /i /q
artifacts:
- path: publish
name: ThScoreFileConverter
deploy:
provider: GitHub
auth_token:
secure: XBLZ1KuCOmvayGOFMZwYC+QyZxCmr0og6vKt53trP9I3WgF77pN+aVZvim2UP2Dm
description: ''
on:
appveyor_repo_tag: true
| version: '{build}'
image: Visual Studio 2017
configuration:
- Release
environment:
PYTHON: C:\Python36-x64
install:
- cmd: >-
curl -LO https://aka.ms/vs/15/release/vs_community.exe
vs_community.exe modify --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community" --add Microsoft.VisualStudio.Workload.Python --quiet --wait
%PYTHON%\python -m pip install -U pip
%PYTHON%\python -m pip install -r ManualGenerator\requirements.txt
before_build:
- cmd: nuget restore
build:
parallel: true
verbosity: minimal
after_build:
- cmd: >-
xcopy ThScoreFileConverter\bin\%CONFIGURATION% publish /e /i /q
xcopy ManualGenerator\_build\html publish\doc /e /i /q
xcopy template publish\template /e /i /q
artifacts:
- path: publish
name: ThScoreFileConverter
deploy:
provider: GitHub
auth_token:
secure: XBLZ1KuCOmvayGOFMZwYC+QyZxCmr0og6vKt53trP9I3WgF77pN+aVZvim2UP2Dm
description: ''
on:
appveyor_repo_tag: true
|
Use ErrorAndContinue for Appveyor tests | build_script:
msbuild nunit.sln /p:Configuration=Release /t:Rebuild
test_script:
- build /t:TestAll /p:Configuration=Release /p:ResultFormat=nunit2
# - ps: $wc = New-Object 'System.Net.WebClient'
# - ps: $dir = "bin\Release\Results"
# - ps: $uri = "https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)"
# - ps: foreach($item in (dir $dir "*.xml")) { $wc.UploadFile($uri, $item.FullName) }
| build_script:
msbuild nunit.sln /p:Configuration=Release /t:Rebuild
test_script:
- build /t:TestAll /p:Configuration=Release /p:ResultFormat=nunit2 /p:ContinueOnFailure=ErrorAndContinue
# - ps: $wc = New-Object 'System.Net.WebClient'
# - ps: $dir = "bin\Release\Results"
# - ps: $uri = "https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)"
# - ps: foreach($item in (dir $dir "*.xml")) { $wc.UploadFile($uri, $item.FullName) }
|
Call pytest as a Python module on AppVeyor | environment:
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
install:
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install pytest"
- "%PYTHON%\\python.exe -m pip install -r requirements-dev.txt"
build: off
test_script:
- "pytest"
after_test:
- "%PYTHON%\\python.exe setup.py bdist_wheel -d dist"
artifacts:
- path: "dist\\*"
| environment:
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
install:
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install -r requirements-dev.txt"
build: off
test_script:
- "%PYTHON%\\python.exe -m pytest"
after_test:
- "%PYTHON%\\python.exe setup.py bdist_wheel -d dist"
artifacts:
- path: "dist\\*"
|
Update from Forestry.io - Updated tele.md | ---
label: artwork
hide_body: false
is_partial: false
fields:
- name: date
default: 2016-06-01 03:40:12 +0000
label: Date
type: datetime
hidden: false
- name: featuredimage
default: "/uploads/600-6.jpg"
label: Featuredimage
type: file
hidden: false
- name: title
default: hola victor
label: Title
type: text
hidden: false
- name: type
default: artwork
label: Type
type: text
hidden: false
pages:
- content/artwork/sonambulo.md
- content/artwork/presencia.md
- content/artwork/tele.md
- content/artwork/stand-by.md
- content/artwork/opaco.md
- content/artwork/umbral.md
- content/artwork/canal.md
- content/artwork/prueba.md
- content/artwork/moneda.md
- content/artwork/fe.md
| ---
label: artwork
hide_body: false
is_partial: false
fields:
- name: date
default: 2016-06-01 03:40:12 +0000
label: Date
type: datetime
hidden: false
- name: featuredimage
default: "/uploads/600-6.jpg"
label: Featuredimage
type: file
hidden: false
- name: title
default: hola victor
label: Title
type: text
hidden: false
- name: type
default: artwork
label: Type
type: text
hidden: false
pages:
- content/artwork/al-interior.md
- content/artwork/sonambulo.md
- content/artwork/presencia.md
- content/artwork/tele.md
- content/artwork/stand-by.md
- content/artwork/opaco.md
- content/artwork/umbral.md
- content/artwork/canal.md
- content/artwork/prueba.md
- content/artwork/moneda.md
- content/artwork/fe.md
|
Remove Python 3.10 for now | name: CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, 3.9, 3.10-dev]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-python@v2.2.2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev-requirements.txt
pip install -e .
- name: Lint with flake8
run: |
flake8 phial/ tests/ examples/
- name: Lint with mypy
run: |
mypy phial tests stubs examples --strict-optional --disallow-untyped-defs --disallow-incomplete-defs --disallow-untyped-decorators --no-implicit-optional --disallow-subclassing-any
- name: Test with pytest
run: |
pytest tests -v
- name: Build docs
run: |
python -msphinx -M html "docs/source" "build/"
| name: CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-python@v2.2.2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev-requirements.txt
pip install -e .
- name: Lint with flake8
run: |
flake8 phial/ tests/ examples/
- name: Lint with mypy
run: |
mypy phial tests stubs examples --strict-optional --disallow-untyped-defs --disallow-incomplete-defs --disallow-untyped-decorators --no-implicit-optional --disallow-subclassing-any
- name: Test with pytest
run: |
pytest tests -v
- name: Build docs
run: |
python -msphinx -M html "docs/source" "build/"
|
Set Style/TrailingCommaInLiteral EnforcedStyleForMultiline to comma | Style/Documentation:
Enabled: false
LineLength:
Max: 130
Metrics/MethodLength:
Max: 15
Lint/AssignmentInCondition:
Enabled: false
| Style/Documentation:
Enabled: false
LineLength:
Max: 130
Metrics/MethodLength:
Max: 15
Lint/AssignmentInCondition:
Enabled: false
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
|
Make py.test on Travis-CI more verbose. | language: python
python:
- "2.7"
- "3.3"
- "3.4"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libhdf5-serial-dev
install:
- pip install cython numpy numexpr
- pip install -r requirements.txt
- pip install coveralls
script: py.test --cov psyrun
after_success: coveralls
| language: python
python:
- "2.7"
- "3.3"
- "3.4"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libhdf5-serial-dev
install:
- pip install cython numpy numexpr
- pip install -r requirements.txt
- pip install coveralls
script: py.test -v --cov psyrun
after_success: coveralls
|
Remove explicit NPM package versions from TravisCI config | language: node_js
node_js:
- 0.8
script: "npm install component@0.13.0 sinon@1.6.0 && npm test"
| language: node_js
node_js:
- 0.8
script: "npm install component sinon && npm test"
|
Allow PHP 7 and nightly failures | language: php
php:
- nightly
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3.3
- hhvm
before_script:
# - curl -s http://getcomposer.org/installer | php
# - php composer.phar install --dev --no-interaction
- composer install --dev --no-interaction || echo "no php-cs-fixer"
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover=coverage/coverage.xml --configuration=tests/phpunit.xml
after_script:
- php vendor/bin/coveralls
| language: php
php:
- nightly
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3.3
- hhvm
before_script:
# - curl -s http://getcomposer.org/installer | php
# - php composer.phar install --dev --no-interaction
- composer install --dev --no-interaction || echo "no php-cs-fixer"
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover=coverage/coverage.xml --configuration=tests/phpunit.xml
after_script:
- php vendor/bin/coveralls
matrix:
allow_failures:
- php: nightly
- php: 7.0
|
Disable chat services: Slack, Gitter | language: c++
# command to install dependencies
before_install:
- sudo add-apt-repository -y ppa:octave/stable
- sudo apt-get update -qq
- sudo apt-get install octave
script:
- cd test && ./runtests
notifications:
slack: matlab2tikz:wYUo2SR1k94tb0166bVXAqX0
hipchat: f4c2c5f87adc85025545e5b59b3fbe@Matlab2tikz
webhooks:
urls:
- https://webhooks.gitter.im/e/eb74a6e982908d4ce209
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false | language: c++
# command to install dependencies
before_install:
- sudo add-apt-repository -y ppa:octave/stable
- sudo apt-get update -qq
- sudo apt-get install octave
script:
- cd test && ./runtests
notifications:
hipchat: f4c2c5f87adc85025545e5b59b3fbe@Matlab2tikz
|
Modify test to see if script will pass. | sudo: required
language: python
services:
- docker
before_install:
- docker build -t forresta/docka-docka-docka docka-project/
- docker run -d -p 127.0.0.0:80:5000 forresta/docka-docka-docka
- docker ps -a
- docker run forresta/docka-docka-docka /bin/sh -c "curl 127.0.0.1:80"
script:
- python app.py
- curl 0.0.0.0:5000
| sudo: required
language: python
services:
- docker
before_install:
- docker build -t forresta/docka-docka-docka docka-project/
- docker run -d -p 127.0.0.0:80:5000 forresta/docka-docka-docka
- docker ps -a
script:
- echo 'script test'
|
Disable nginx on Travis CI for now | language: csharp
solution: FastCGI.sln
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y nginx
install:
- nuget restore FastCGI.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release /p:TargetFrameworkVersion="v4.5" /p:ToolsVersion="4.0" FastCGI.sln
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./FastCGI.Tests/bin/Release/FastCGI.Tests.dll
| language: csharp
solution: FastCGI.sln
install:
- nuget restore FastCGI.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release /p:TargetFrameworkVersion="v4.5" /p:ToolsVersion="4.0" FastCGI.sln
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./FastCGI.Tests/bin/Release/FastCGI.Tests.dll
|
Test against more versions of node | language: node_js
node_js:
- "iojs-v1.7"
- "iojs-v1.6"
- "iojs-v1.5"
- "iojs-v1.4"
- "iojs-v1.3"
- "iojs-v1.2"
- "iojs-v1.1"
- "iojs-v1.0"
- "0.12"
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6'
sudo: false
matrix:
fast_finish: true
allow_failures:
- node_js: "iojs-v1.5"
- node_js: "iojs-v1.4"
- node_js: "iojs-v1.3"
- node_js: "iojs-v1.2"
- node_js: "iojs-v1.1"
- node_js: "iojs-v1.0"
- node_js: "0.11"
- node_js: "0.8"
- node_js: "0.9"
- node_js: "0.6"
- node_js: "0.4"
| language: node_js
node_js:
- "v5.1"
- "v5.0"
- "v4.2"
- "v4.1"
- "v4.0"
- "iojs-v1.7"
- "iojs-v1.6"
- "iojs-v1.5"
- "iojs-v1.4"
- "iojs-v1.3"
- "iojs-v1.2"
- "iojs-v1.1"
- "iojs-v1.0"
- "0.12"
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi'
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi'
sudo: false
matrix:
fast_finish: true
allow_failures:
- node_js: "0.6"
- node_js: "0.4"
|
Use openjdk8 instead of oraclejdk8 on TravisCI | language: java
# Enable container-based infrastructure
# see http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2/repository
- $HOME/.m2/wrapper
install:
- ./mvnw -version
# license plugin requires full git history
- git fetch --unshallow
script:
- ./mvnw clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
# - cd $HOME/build/srcdeps
# - git clone https://github.com/ppalaga/srcdeps-maven.git
# - cd srcdeps-maven
# - git checkout -b 180603-hash
# - ./mvnw clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
| language: java
# Enable container-based infrastructure
# see http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
jdk:
- openjdk8
cache:
directories:
- $HOME/.m2/repository
- $HOME/.m2/wrapper
install:
- ./mvnw -version
# license plugin requires full git history
- git fetch --unshallow
script:
- ./mvnw clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
# - cd $HOME/build/srcdeps
# - git clone https://github.com/ppalaga/srcdeps-maven.git
# - cd srcdeps-maven
# - git checkout -b 180603-hash
# - ./mvnw clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
|
Remove coverage-send (buggy) from Travis build | sudo: required
dist: trusty
language: bash
services: docker
env:
matrix:
- TARGET_OS=linux TARGET_ARCH=amd64 TARGETS="build validate coverage-send"
- TARGET_OS=darwin TARGET_ARCH=amd64 TARGETS="build-x"
- TARGET_OS=windows TARGET_ARCH=amd64 TARGETS="build-x"
script:
- USE_CONTAINER=true make "$TARGETS"
- "[[ \"$(find bin -type f -name docker-machine*)\" != \"\" ]]" | sudo: required
dist: trusty
language: bash
services: docker
env:
matrix:
- TARGET_OS=linux TARGET_ARCH=amd64 TARGETS="build validate"
- TARGET_OS=darwin TARGET_ARCH=amd64 TARGETS="build-x"
- TARGET_OS=windows TARGET_ARCH=amd64 TARGETS="build-x"
script:
- USE_CONTAINER=true make "$TARGETS"
- "[[ \"$(find bin -type f -name docker-machine*)\" != \"\" ]]"
|
Test on latest version of Rubinius | language: ruby
rvm:
- 2.0.0
- 1.9.3
- jruby-19mode
- rbx-19mode
| language: ruby
rvm:
- 2.0.0
- 1.9.3
- jruby-19mode
- rbx-2.1.1 |
Remove 1.8.7 test from Travis CI config | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- jruby
- ree | language: ruby
notifications:
disabled: true
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby
- ree |
Make command used to run tests as in other packages | language: php
php:
- 7.1
services:
- mysql
before_install:
- composer self-update
install: composer install --dev
before_script:
- mysql -u root -e 'create database activecollab_database_object_test'
script: vendor/bin/phpunit
| language: php
php:
- 7.1
services:
- mysql
before_install:
- composer self-update
install: composer install --dev
before_script:
- mysql -u root -e 'create database activecollab_database_object_test'
script: php vendor/bin/phpunit
|
Adjust Travis CI config to run `pytest` now | language: python
python:
- "3.6"
addons:
postgresql: "9.6"
apt:
packages:
- language-pack-de
services:
- redis-server
install:
- "pip install --upgrade pip"
- "pip install --upgrade pytest"
before_script:
- psql -U postgres -c "CREATE DATABASE byceps_test;"
- psql -U postgres -c "CREATE ROLE byceps_test WITH LOGIN PASSWORD 'test';"
script:
- "python setup.py test"
dist: trusty
sudo: false
notifications:
email: false
| language: python
python:
- "3.6"
addons:
postgresql: "9.6"
apt:
packages:
- language-pack-de
services:
- redis-server
install:
- "pip install --upgrade pip"
- "pip install --upgrade pytest"
before_script:
- psql -U postgres -c "CREATE DATABASE byceps_test;"
- psql -U postgres -c "CREATE ROLE byceps_test WITH LOGIN PASSWORD 'test';"
script:
- "pytest"
dist: trusty
sudo: false
notifications:
email: false
|
Enable testing on CPython 3.10 | os: linux
dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.7
- 3.8
- 3.9
- pypy
- pypy3
jobs:
include:
- python: 2.7
env: PYTEST_ADDOPTS='--cov mpmath'
- python: 3.6
env: PYTEST_ADDOPTS='--cov mpmath'
before_install:
- pip install -U --force-reinstall setuptools
install:
- pip install -U -e .[develop]
script:
# Guard against invalid escapes in strings, like '\s'.
- python -We:invalid -m compileall -f mpmath -q
- pycodestyle
- py.test
after_success: test -n "${PYTEST_ADDOPTS}" && codecov
notifications:
email: false
| os: linux
dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.7
- 3.8
- 3.9
- 3.10-dev
- pypy
- pypy3
jobs:
include:
- python: 2.7
env: PYTEST_ADDOPTS='--cov mpmath'
- python: 3.6
env: PYTEST_ADDOPTS='--cov mpmath'
before_install:
- pip install -U --force-reinstall setuptools
install:
- pip install -U -e .[develop]
script:
# Guard against invalid escapes in strings, like '\s'.
- python -We:invalid -m compileall -f mpmath -q
- pycodestyle
- py.test
after_success: test -n "${PYTEST_ADDOPTS}" && codecov
notifications:
email: false
|
Set a test code coverage floor of 89% for our Travis build. | language: python
python:
- "2.7"
install:
- "pip install -U pip --use-mirrors"
- "pip install -U -r requirements-test.txt coverage --use-mirrors"
script: nosetests -v --with-coverage --cover-erase --cover-inclusive --cover-branches --cover-package=coal
| language: python
python:
- "2.7"
install:
- "pip install -U pip --use-mirrors"
- "pip install -U -r requirements-test.txt coverage --use-mirrors"
script: nosetests -v --with-coverage --cover-erase --cover-inclusive --cover-branches --cover-package=coal --cover-min-percentage=89
|
Remove items already present, add Jasmine-Node | language: php
php:
- 5.5
- 5.4
before_install:
- sudo apt-get update -qq
install:
- sudo apt-get install -y git-core, pylint, php5-cli, nodejs
before_script:
- make dev
script: ./run-tests
| language: php
php:
- 5.5
- 5.4
before_install:
- sudo apt-get update -qq
install:
# PHP-CLI, Git & NodeJS are pre-installed, no need to include them
- sudo apt-get install -y pylint
- npm install jasmine-node
before_script:
- make dev
script: ./run-tests
|
Use cp instead of ln | language: node_js
node_js:
- "0.10"
addons:
hosts:
- local.generatortest.com
before_install:
- rvm use 1.9.3
- gem install bundler
- echo "Install NPM dependencies"
- npm install -g bower
- npm install
- echo "Mock test project"
- $PWD/bin/mock
- echo "Copy mock project to /vagrant for end-user tests"
- sudo cp -R $PWD/temp /vagrant
- sudo mkdir -p /vagrant/bower_components
- echo "Symlinking local Genesis WordPress as dependency"
- sudo rm -rf /vagrant/bower_components/genesis-skeleton
- sudo ln -s $PWD /vagrant/bower_components/genesis-skeleton
- echo "Install Composer dependencies"
- echo "Provision server"
- sudo $PWD/temp/bin/provision -e stage=localhost
- curl -sS https://getcomposer.org/installer | php
install:
- php composer.phar install --dev
script:
- ./vendor/bin/phpunit
- npm test
| language: node_js
node_js:
- "0.10"
addons:
hosts:
- local.generatortest.com
before_install:
- rvm use 1.9.3
- gem install bundler
- echo "Install NPM dependencies"
- npm install -g bower
- npm install
- echo "Mock test project"
- $PWD/bin/mock
- echo "Copy mock project to /vagrant for end-user tests"
- sudo cp -R $PWD/temp /vagrant
- echo "Symlinking local Genesis WordPress as dependency"
- sudo rm -rf /vagrant/bower_components/genesis-skeleton
- sudo cp -R $PWD /vagrant/bower_components/genesis-skeleton
- echo "Install Composer dependencies"
- echo "Provision server"
- sudo $PWD/temp/bin/provision -e stage=localhost
- curl -sS https://getcomposer.org/installer | php
install:
- php composer.phar install --dev
script:
- ./vendor/bin/phpunit
- npm test
|
Add CodeClimate code coverage to Travis CI | language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
install:
- composer install --prefer-source
script: phpunit
notifications:
email:
on_success: never
on_failure: change
| language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
install:
- composer install --prefer-source
addons:
code_climate:
repo_token: e9d8026b4a1ca0f1c3577c3772bbe9d8d337f0cb2ee50642d2047efa8a148327
script: phpunit
after_script:
- vendor/bin/test-reporter
notifications:
email:
on_success: never
on_failure: change
|
Change the complier to gcc 4.8 to support C++11 standard. | language: cpp
compiler:
- g++
before_script:
- mkdir build
- cd build
- cmake ..
script: make
| language: cpp
compiler:
- gcc
- clang
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- clang
before_script:
- mkdir build
- cd build
- cmake ..
script: make
|
Use newer Ubuntu on Travis | language: node_js
node_js:
- 10
sudo: required
services:
- docker
env:
- DOCKER_COMPOSE_VERSION=1.18.0
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
script:
- yarn run lint
- yarn run test
after_script:
- yarn run report-coverage
| language: node_js
node_js:
- 10
sudo: required
services:
- docker
dist: focal
env:
- DOCKER_COMPOSE_VERSION=1.18.0
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
script:
- yarn run lint
- yarn run test
after_script:
- yarn run report-coverage
|
Test against latest stable Ruby versions | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.1
| language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
|
Add Ruby 2.3 ruby to Travis | language: ruby
rvm:
- 2.2.2
- 2.1.6
- 2.0.0
| language: ruby
rvm:
- 2.3.0
- 2.2.2
- 2.1.6
- 2.0.0
|
Update Scala build to latest 2.12. | language: scala
scala:
- 2.12.3
jdk:
- openjdk8
env:
- SBT="./sbt"
sudo: false
script:
- $SBT compile
- scripts/publishAndTag 'slamdata/sbt-slamdata'
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
| language: scala
scala:
- 2.12.8
jdk:
- openjdk8
env:
- SBT="./sbt"
sudo: false
script:
- $SBT compile
- scripts/publishAndTag 'slamdata/sbt-slamdata'
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
Use PHPunit from vendor folder | git:
depth: 3
language: php
sudo: false
php:
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
env:
- DB=sqlite
- DB=mysql
- DB=postgres
matrix:
fast_finish: true
before_script:
- if [[ $TRAVIS_PHP_VERSION != 7.x ]]; then phpenv config-rm xdebug.ini; fi
- phpenv config-add tests/php.ini
- composer install
- npm install
script:
- ./node_modules/.bin/jshint assets/js/{core,components}
- phpunit -c tests/units.$DB.xml
- phpunit tests/configtest
| git:
depth: 3
language: php
sudo: false
php:
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
env:
- DB=sqlite
- DB=mysql
- DB=postgres
matrix:
fast_finish: true
before_script:
- if [[ $TRAVIS_PHP_VERSION != 7.x ]]; then phpenv config-rm xdebug.ini; fi
- phpenv config-add tests/php.ini
- composer install
- npm install
script:
- ./node_modules/.bin/jshint assets/js/{core,components}
- ./vendor/bin/phpunit -c tests/units.$DB.xml
- ./vendor/bin/phpunit tests/configtest
|
Remove clang from Travis build to avoid double Coverity runs | # Travis CI integration -- https://travis-ci.org/troglobit/libuev
language: c
compiler:
- gcc
- clang
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "ikQcWMCLFoxq0+wMiqrNT5HRn0d4e3AxuF8VzNUNFrk6jUvHIufC/OKvr8VWPTjCaAQXZjWfdQAAARUXzJV10WZ7xpiv5qt4bt26Qih2AwMPMJeUOYrqXgQqhTPBp05iLYpo4ybICteXRI3zKKUA1wkdDC0jyu3rl+Fbveekbe0="
addons:
coverity_scan:
project:
name: "troglobit/libuev"
description: "libuEv | Simple event loop for Linux"
notification_email: troglobit@gmail.com
build_command: "make"
branch_pattern: dev
script: make
| # Travis CI integration -- https://travis-ci.org/troglobit/libuev
language: c
compiler:
- gcc
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "ikQcWMCLFoxq0+wMiqrNT5HRn0d4e3AxuF8VzNUNFrk6jUvHIufC/OKvr8VWPTjCaAQXZjWfdQAAARUXzJV10WZ7xpiv5qt4bt26Qih2AwMPMJeUOYrqXgQqhTPBp05iLYpo4ybICteXRI3zKKUA1wkdDC0jyu3rl+Fbveekbe0="
addons:
coverity_scan:
project:
name: "troglobit/libuev"
description: "libuEv | Simple event loop for Linux"
notification_email: troglobit@gmail.com
build_command: "make"
branch_pattern: dev
script: make
|
Add more node runtimes to the test matrix. | sudo: false
language: node_js
branches:
except:
- gh-pages
node_js:
- '0.12'
- '0.11'
- '0.10'
- '0.8'
- '0.6'
- iojs
- iojs-v1.0.2
notifications:
hipchat:
rooms:
secure: AFbi3+f9C3UV5WmWpxDVZKU+7eEbaR6Kh6fRSx0yEeaihToGEjg1dlFSJXlkq1ok5CyKn/JfEMpCtMbu4V6fqf0Qbc2lvClD0S5VaE01F5a3gKW00fXMaHM6HXkRptYdDmnxjO7HWMZwEngYXAnSnQ0mpMsyF7GHVeEJ6G0+0JE=
| sudo: false
language: node_js
branches:
except:
- gh-pages
node_js:
- '6.1'
- '6.0'
- '5'
- '4'
- '0.12'
- '0.11'
- '0.10'
- '0.8'
- '0.6'
- node
- iojs
notifications:
hipchat:
rooms:
secure: AFbi3+f9C3UV5WmWpxDVZKU+7eEbaR6Kh6fRSx0yEeaihToGEjg1dlFSJXlkq1ok5CyKn/JfEMpCtMbu4V6fqf0Qbc2lvClD0S5VaE01F5a3gKW00fXMaHM6HXkRptYdDmnxjO7HWMZwEngYXAnSnQ0mpMsyF7GHVeEJ6G0+0JE=
|
Switch to Trusty for the TravisCI builds | sudo: false
cache: bundler
language: ruby
rvm:
- jruby-9.0.1.0
- 2.0.0
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head
- rbx-3
env:
global:
- JRUBY_OPTS='--debug' # get more accurate coverage data in JRuby
matrix:
- 'TASK=spec'
- 'TASK=ascii_spec'
- 'TASK=internal_investigation'
matrix:
allow_failures:
- rvm: ruby-head
- rvm: rbx-3
fast_finish: true
before_install:
- gem update --remote bundler
- gem update --system
- rvm @global do gem uninstall bundler -a -x
- rvm @global do gem install bundler -v 1.13.7
install:
- bundle install --retry=3
script:
- ruby .travis.rb
addons:
code_climate:
repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f
| sudo: false
cache: bundler
language: ruby
dist: trusty
rvm:
- jruby-9.0.1.0
- 2.0.0
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head
- rbx-3
env:
global:
- JRUBY_OPTS='--debug' # get more accurate coverage data in JRuby
matrix:
- 'TASK=spec'
- 'TASK=ascii_spec'
- 'TASK=internal_investigation'
matrix:
allow_failures:
- rvm: ruby-head
- rvm: rbx-3
fast_finish: true
before_install:
- gem update --remote bundler
- gem update --system
- rvm @global do gem uninstall bundler -a -x
- rvm @global do gem install bundler -v 1.13.7
install:
- bundle install --retry=3
script:
- ruby .travis.rb
addons:
code_climate:
repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f
|
Switch back to stable ChefDK builds for testing | sudo: required
dist: trusty
# install the pre-release chef-dk. Use chef-stable-trusty to install the stable release
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
script: KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
matrix:
include:
- before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/cookstyle --version
- /opt/chefdk/embedded/bin/foodcritic --version
- script:
- /opt/chefdk/bin/chef exec rake
env: UNIT_AND_LINT=1
| sudo: required
dist: trusty
# install the pre-release chef-dk. Use chef-stable-trusty to install the stable release
addons:
apt:
sources:
- chef-stable-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
script: KITCHEN_LOCAL_YAML=.kitchen.docker.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE}
matrix:
include:
- before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/cookstyle --version
- /opt/chefdk/embedded/bin/foodcritic --version
- script:
- /opt/chefdk/bin/chef exec rake
env: UNIT_AND_LINT=1
|
Reduce LineLength and exclude test/ | LineLength:
Max: 150
SpecialGlobalVars:
Enabled: false
| AllCops:
Exclude:
- 'test/**/*'
LineLength:
Max: 100
SpecialGlobalVars:
Enabled: false
|
Update buildkite plugin docker-compose to v2.2.1 | steps:
- label: ":shell: Shellcheck"
plugins:
shellcheck#v1.0.1:
files: hooks/**
- label: ":sparkles:"
plugins:
plugin-linter#v2.0.0:
id: docker
- label: ":docker: :hammer:"
plugins:
docker-compose#v2.2.0:
run: tests
| steps:
- label: ":shell: Shellcheck"
plugins:
shellcheck#v1.0.1:
files: hooks/**
- label: ":sparkles:"
plugins:
plugin-linter#v2.0.0:
id: docker
- label: ":docker: :hammer:"
plugins:
docker-compose#v2.2.1:
run: tests
|
Add platform build to github actions | name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- ballerina
- buildpack
- cordova
- elixir
- go
- java
- lua
- nodejs
- perl
- php
- play
- pypy
- python
- ruby
- scratch
- static
steps:
- uses: actions/checkout@v2
- run: make test platform=${{ matrix.platform }}
shell: bash
# deploy:
# if: github.event_name != 'pull_request'
# needs: [test]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
| name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- ballerina
- buildpack
- cordova
- elixir
- go
- java
- lua
- nodejs
- perl
- php
- play
- python
- ruby
- scratch
- static
steps:
- uses: actions/checkout@v2
- run: make test platform=${{ matrix.platform }}
shell: bash
- uses: docker/login-action@v1
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- run: |
ref="${GITHUB_REF##*/}"
img="tsuru/${{ matrix.platform }}"
tags="${img}:${ref}"
if [[ ${ref} == "master" ]] || [[ ${ref} == "main" ]]; then
tags="${img}:latest"
elif [[ ${ref} =~ ${{ matrix.platform }}-([0-9.]+) ]]; then
tags=${img}:${BASH_REMATCH[1]},${img}:latest
fi
echo "::set-output name=tag::${tags}"
if: github.event_name != 'pull_request'
id: tags
shell: bash
- uses: docker/build-push-action@v2
if: github.event_name != 'pull_request' && steps.tags.outputs.tag != ''
with:
context: ./${{ matrix.platform }}
push: true
tags: ${{ steps.tags.outputs.tag }}
|
Fix github Release workflow step | name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile and run Kotlin
run: |
kotlinc src/swot -include-runtime -d swot.jar
java -jar swot.jar
- name: Move the 'latest' tag to the head commit
run: |
git tag latest
git push origin latest -f
- name: Release swot.txt
uses: softprops/action-gh-release@v1
with:
files: out/artifacts/swot.txt
tag_name: latest
body: ${{ github.event.head_commit.message }}
| name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile and run Kotlin
run: |
kotlinc src/main/kotlin/swot -include-runtime -d swot.jar
java -jar swot.jar
- name: Move the 'latest' tag to the head commit
run: |
git tag latest
git push origin latest -f
- name: Release swot.txt
uses: softprops/action-gh-release@v1
with:
files: out/artifacts/swot.txt
tag_name: latest
body: ${{ github.event.head_commit.message }}
|
Remove Twitter and GitHub links | title: lightalytics
author: Rod Light
email: rod.light@lightalytics.com
description: >
lightalytics
twitter_username: lightalytics
github_username: lightalytics
google_analytics: "UA-93077459-1"
theme: minima
exclude:
- Gemfile
- Gemfile.lock
- README.md
- LICENSE*
- Makefile
baseurl: ""
| title: lightalytics
author: Rod Light
email: rod.light@lightalytics.com
description: >
lightalytics
google_analytics: "UA-93077459-1"
theme: minima
exclude:
- Gemfile
- Gemfile.lock
- README.md
- LICENSE*
- Makefile
baseurl: ""
|
Use Go 1.12 base image to build | version: 2
jobs:
build:
docker:
- image: quay.io/cybozu/golang:1.11-bionic
working_directory: /work
steps:
- checkout
- run: go get -v -t -d ./...
- run: test -z "$(gofmt -s -l . | tee /dev/stderr)"
- run: golint -set_exit_status ./...
- run: go build ./...
- run: go test -race -v ./...
- run: go vet ./...
| version: 2
jobs:
build:
docker:
- image: quay.io/cybozu/golang:1.12-bionic
working_directory: /work
steps:
- checkout
- run: go get -v -t -d ./...
- run: test -z "$(gofmt -s -l . | tee /dev/stderr)"
- run: golint -set_exit_status ./...
- run: go build ./...
- run: go test -race -v ./...
- run: go vet ./...
|
Remove support for Puppet 2.7 | ---
language: ruby
bundler_args: --without system_tests --jobs 3 --retry 3
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
sudo: false
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes"
notifications:
email: false
| ---
language: ruby
bundler_args: --without system_tests --jobs 3 --retry 3
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
sudo: false
matrix:
fast_finish: true
include:
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes"
notifications:
email: false
|
Test different build configurations on Travis. | language: go
sudo: required
dist: trusty
go:
- 1.5
- 1.6
- tip
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
- go test -race -v . -tags "libsqlite3"
| language: go
sudo: required
dist: trusty
env:
- GOTAGS=
- GOTAGS=libsqlite3
- GOTAGS=trace
- GOTAGS=libsqlite3 trace
go:
- 1.5
- 1.6
- tip
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
- go test -race -v . -tags "$GOTAGS"
|
Remove jruby and add jruby-head on Travis | language: ruby
script:
- "rake test"
- "gem build arel.gemspec"
rvm:
- rbx
- jruby
- 2.0.0
- 2.1
- ruby-head
matrix:
allow_failures:
- rvm: rbx
notifications:
email: false
irc:
- "irc.freenode.org#rails-contrib"
| language: ruby
script:
- "rake test"
- "gem build arel.gemspec"
rvm:
- rbx
- jruby-head
- 2.0.0
- 2.1
- ruby-head
matrix:
allow_failures:
- rvm: rbx
notifications:
email: false
irc:
- "irc.freenode.org#rails-contrib"
|
Remove go1.4 support. Because bufio.Reader.Discard is undefined. | language: go
sudo: false
branches:
only:
- master
go:
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- $HOME/gopath/bin/goveralls -service=travis-ci
| language: go
sudo: false
branches:
only:
- master
go:
- 1.5
- 1.6
- 1.7
- 1.8
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- $HOME/gopath/bin/goveralls -service=travis-ci
|
Kill 3.4 support and add 3.7 to CI. | sudo: false
language: python
python:
- "3.4"
- "3.5"
- "3.6"
cache:
pip: true
install:
- python3 setup.py install
- pip install flake8 codecov coverage
script:
- flake8
- coverage run setup.py test
after_success:
- codecov
| sudo: false
dist: xenial # Required for python 3.7
language: python
python:
- "3.5"
- "3.6"
- "3.7"
cache:
pip: true
install:
- python3 setup.py install
- pip install flake8 codecov coverage
script:
- flake8
- coverage run setup.py test
after_success:
- codecov
|
Revert "Update Travis config to latest. Update Travis config to use latest v4 and latest v6 ." | sudo: false
language: node_js
node_js:
- "4"
- "6"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
after_success:
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
| sudo: true
env:
- NODE_VERSION="4.4"
- NODE_VERSION="6.3"
os:
- osx
before_install:
- brew update
- brew install libusb
- brew install nvm
- export NVM_DIR=~/.nvm
- source $(brew --prefix nvm)/nvm.sh
- nvm install $NODE_VERSION
- node --version
- npm --version
- npm update -g npm
- npm install -g bob coveralls --loglevel error
- npm install
script:
- bob build
after_success:
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls
|
Build with nodejs stable versions | language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq wget gzip curl
| language: node_js
node_js:
- "0.8"
- "0.10"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq wget gzip curl
|
Add IPython and mysql-python to required Travis packages. | language: python
python:
- "2.7"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "git clone https://github.com/pydata/pandas.git && cd pandas && python setup.py develop && cd .." # Temporary until v0.14 release
- "pip install coverage MySQLdb"
- "pip install ."
# command to run tests
script:
- nosetests --with-cover --cover-package=query
| language: python
python:
- "2.7"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "git clone https://github.com/pydata/pandas.git && cd pandas && python setup.py develop && cd .." # Temporary until v0.14 release
- "pip install nose coverage mysql-python ipython" # Extras needed for testing
- "pip install ."
# command to run tests
script:
- nosetests --with-cover --cover-package=query
|
Use Node 4.4.7 on Travis | git:
depth: 10
branches:
only:
- master
env:
global:
- ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4
compiler: clang
matrix:
include:
- os: linux
env: NODE_VERSION=4
sudo: false
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
- npm install -g npm
- script/bootstrap
- script/build --create-debian-package --create-rpm-package --compress-artifacts
script: true
cache:
directories:
- electron
- node_modules
- apm/node_modules
- script/node_modules
- ~/.atom/compile-cache
notifications:
email:
on_success: never
on_failure: change
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- fakeroot
- gcc-multilib
- git
- libgnome-keyring-dev
- rpm
| git:
depth: 10
branches:
only:
- master
env:
global:
- ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4
compiler: clang
matrix:
include:
- os: linux
env: NODE_VERSION=4.4.7
sudo: false
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
- npm install -g npm
- script/bootstrap
- script/build --create-debian-package --create-rpm-package --compress-artifacts
script: true
cache:
directories:
- electron
- node_modules
- apm/node_modules
- script/node_modules
- ~/.atom/compile-cache
notifications:
email:
on_success: never
on_failure: change
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- fakeroot
- gcc-multilib
- git
- libgnome-keyring-dev
- rpm
|
Remove Ruby 2.1.0 in favor of 2.1.1 | language: ruby
rvm:
- "2.1.1"
- "2.1.0"
- "2.0.0"
- "1.9.3"
- "1.9.2"
- jruby-19mode
| language: ruby
rvm:
- "2.1.1"
- "2.0.0"
- "1.9.3"
- "1.9.2"
- jruby-19mode
|
Extend test scripts for Travis CI | language: python
python:
- "2.7"
branches:
only:
- master
- develop
install:
- pip install flake8
script:
- flake8 --ignore=E501,E265,E266,E402,E722 .
| language: python
python:
- "2.7"
branches:
only:
- master
- develop
install:
- pip install --upgrade pip
- pip install -r requirements.txt
script:
# Run Python linting / https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
- flake8 --ignore=E501,E265,E266,E402,E722 .
# Make sure that the README is formatted properly
- python setup.py check --restructuredtext --strict --metadata
# Run reStructuredText linter
- rst-lint README.md CONTRIBUTING.md CHANGELOG.md LICENSE
# Run build and test
- python setup.py build
- python setup.py test
|
Add code coverage task to Travis | language: node_js
node_js:
- "node"
| language: node_js
node_js:
- "node"
after_success:
- bash <(curl -s https://codecov.io/bash)
|
Clean up Travis config and check formatting | language: rust
rust:
- stable
- beta
script:
- cargo test --all
cache: cargo
matrix:
include:
- rust: nightly-2018-08-24
before_script:
- rustup component add rustfmt-preview
- rustup component add clippy-preview
script:
- cd testing && cargo test --no-default-features --features with-rocket
| language: rust
rust:
- stable
- beta
cache: cargo
matrix:
include:
- rust: nightly-2018-08-24
script:
- cd testing && cargo test --no-default-features --features with-rocket
before_script:
- rustup component add rustfmt-preview
script:
- cargo test --all
- if [[ "${TRAVIS_RUST_VERSION}" == stable ]]; then
cargo fmt -- --check;
fi
|
Update Travis CI environment to use LLVM 3.5 | language: cpp
compiler:
- gcc
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main' >> /etc/apt/sources.list"
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install -qq llvm-3.4-dev
- sudo apt-get install -qq openjdk-7-jdk
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- export "JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/"
script:
- make check LLVM_CONFIG=llvm-config-3.4
| language: cpp
compiler:
- gcc
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main' >> /etc/apt/sources.list"
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install -qq llvm-3.5-dev
- sudo apt-get install -qq openjdk-7-jdk
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- export "JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/"
script:
- make check LLVM_CONFIG=llvm-config-3.4
|
Add node 4 and remove old node versions from test | language: node_js
node_js:
- '0.12'
- '0.10'
- iojs
script:
- npm run test-travis
after_script:
- 'npm install codeclimate-test-reporter && cat coverage/lcov.info | codeclimate'
env:
global:
- secure: SqgCU5ugyYmoyCd5jyaoWDw3bWtl9bvbretQMmQRQtRVdzVR/2tOaf19D2vMoDFcNZCPIklmjHPldxpF6sQ/1OVM3ZyNQXu9WUUMuQE/VGSzNPYUFnXeH2gdBOKY2O2Cwptsb2Xm2BRD0nPaMC57X/obE6O/Pm9U827mEWvnsqo=
| language: node_js
node_js:
- '4'
- '0.12'
script:
- npm run test-travis
after_script:
- 'npm install codeclimate-test-reporter && cat coverage/lcov.info | codeclimate'
env:
global:
- secure: SqgCU5ugyYmoyCd5jyaoWDw3bWtl9bvbretQMmQRQtRVdzVR/2tOaf19D2vMoDFcNZCPIklmjHPldxpF6sQ/1OVM3ZyNQXu9WUUMuQE/VGSzNPYUFnXeH2gdBOKY2O2Cwptsb2Xm2BRD0nPaMC57X/obE6O/Pm9U827mEWvnsqo=
|
Remove yarn cache from Travis | language: node_js
node_js:
- 'lts/*'
cache:
yarn: true
directories:
- node_modules
script:
- npm run lint
- npm run test
| language: node_js
node_js:
- 'lts/*'
cache:
directories:
- node_modules
script:
- npm run lint
- npm run test
|
Work around bug in old rvm regarding ruby-2.0.0-preview1. | language: ruby
rvm:
- 1.9.3
- ruby-2.0.0-preview2
- rbx-19mode
branches:
only:
- master
services:
- redis-server
notifications:
email: false
script:
- bundle exec rake test
before_script:
- psql -c 'create database ontohub_test;' -U postgres
- sudo apt-add-repository ppa:hets/hets
- sudo apt-add-repository "deb http://archive.canonical.com/ubuntu precise partner"
- sudo apt-get update
- sudo apt-get -y install hets-core subversion
- sudo ln -s /lib/x86_64-linux-gnu/libpng12.so.0 /lib/x86_64-linux-gnu/libpng14.so.14
- sudo hets -update
| language: ruby
rvm:
- 1.9.3
- ruby-2.0.0-preview1
- rbx-19mode
branches:
only:
- master
services:
- redis-server
notifications:
email: false
script:
- bundle exec rake test
before_script:
- psql -c 'create database ontohub_test;' -U postgres
- sudo apt-add-repository ppa:hets/hets
- sudo apt-add-repository "deb http://archive.canonical.com/ubuntu precise partner"
- sudo apt-get update
- sudo apt-get -y install hets-core subversion
- sudo ln -s /lib/x86_64-linux-gnu/libpng12.so.0 /lib/x86_64-linux-gnu/libpng14.so.14
- sudo hets -update
|
Use Xenial for Linux builds | language: cpp
script:
- mkdir -p build
- cd build
- cmake ..
- cmake --build . --config Release
- ctest --config Release
addons:
apt:
packages:
- libmpg123-dev
- librtaudio-dev
- libsndfile1-dev
homebrew:
packages:
- libsndfile
- mpg123
- rt-audio
matrix:
include:
- os: linux
- os: osx
| language: cpp
script:
- mkdir -p build
- cd build
- cmake ..
- cmake --build . --config Release
- ctest --config Release
addons:
apt:
packages:
- libmpg123-dev
- librtaudio-dev
- libsndfile1-dev
homebrew:
packages:
- libsndfile
- mpg123
- rt-audio
matrix:
include:
- os: linux
dist: xenial
- os: osx
|
Set correct prefix. Fix broken layout | # Production settings
baseurl: "/"
url: "https://microservices-demo.github.io"
deploy_doc_url_prefix: https://microservices-demo.github.io/microservices-demo
main_url_prefix: https://microservices-demo.github.io
# Build settings
markdown: kramdown
exclude:
- Gemfile
- Gemfile.lock
| # Production settings
baseurl: ""
deploy_doc_url_prefix: https://microservices-demo.github.io/microservices-demo
main_url_prefix: https://microservices-demo.github.io
# Build settings
markdown: kramdown
exclude:
- Gemfile
- Gemfile.lock
|
Add eigen and boost as runtime deps. | {% set version = "2.0" %}
package:
name: pagmo
version: {{ version }}
source:
url: https://github.com/esa/pagmo2/archive/v{{ version }}.tar.gz
sha256: 022af6bad2f1d083c2cacf4b121722541df80b6f168519a8eba0709cef02163a
build:
number: 0
skip: true # [(win and py27) or win32]
requirements:
build:
- toolchain
- cmake
- eigen
- nlopt
- boost-cpp 1.63.*
run:
- nlopt
test:
commands:
- test -f $PREFIX/include/pagmo/pagmo.hpp # [unix]
- if not exist %LIBRARY_INC%\\pagmo\\pagmo.hpp exit 1 # [win]
about:
home: https://github.com/esa/pagmo2
license: GPL v3 and LGPL v3
license_file: COPYING.lgpl3
summary: 'A C++ / Python platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model'
extra:
recipe-maintainers:
- bluescarni
- darioizzo
| {% set version = "2.0" %}
package:
name: pagmo
version: {{ version }}
source:
url: https://github.com/esa/pagmo2/archive/v{{ version }}.tar.gz
sha256: 022af6bad2f1d083c2cacf4b121722541df80b6f168519a8eba0709cef02163a
build:
number: 0
skip: true # [(win and py27) or win32]
requirements:
build:
- toolchain
- cmake
- eigen
- nlopt
- boost-cpp 1.63.*
run:
- eigen
- nlopt
- boost-cpp 1.63.*
test:
commands:
- test -f $PREFIX/include/pagmo/pagmo.hpp # [unix]
- if not exist %LIBRARY_INC%\\pagmo\\pagmo.hpp exit 1 # [win]
about:
home: https://github.com/esa/pagmo2
license: GPL v3 and LGPL v3
license_file: COPYING.lgpl3
summary: 'A C++ / Python platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model'
extra:
recipe-maintainers:
- bluescarni
- darioizzo
|
Add flake8 exit failure to workflow | name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-testing.txt -c constraints-Django32.txt
- name: Format style check with 'autopep8'
run: |
pip install autopep8
autopep8 --exit-code --global-config .flake8 helpdesk
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 helpdesk --count --show-source --statistics --exit-zero
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# flake8 . --count --exit-zero --max-complexity=10 --statistics
- name: Sort style check with 'isort'
run: |
isort --line-length=120 --src helpdesk . --check
- name: Test with pytest
run: |
pip install pytest
cd ${GITHUB_WORKSPACE} && python quicktest.py
env:
DJANGO_SETTINGS_MODULE: helpdesk.settings
| name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-testing.txt -c constraints-Django32.txt
- name: Format style check with 'autopep8'
run: |
pip install autopep8
autopep8 --exit-code --global-config .flake8 helpdesk
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 helpdesk --count --show-source --statistics --exit-zero --max-complexity=20
- name: Sort style check with 'isort'
run: |
isort --line-length=120 --src helpdesk . --check
- name: Test with pytest
run: |
pip install pytest
cd ${GITHUB_WORKSPACE} && python quicktest.py
env:
DJANGO_SETTINGS_MODULE: helpdesk.settings
|
Fix wrong use of a variable in after_build script | version: '{build}'
branches:
only:
- master
image: Visual Studio 2015
configuration:
- Release
environment:
PYTHON: C:\Python35-x64
install:
- cmd: >-
%PYTHON%\python -m pip install -U pip
%PYTHON%\python -m pip install -r ManualGenerator\requirements.txt
before_build:
- cmd: nuget restore
build:
parallel: true
verbosity: minimal
after_build:
- cmd: >-
xcopy ThScoreFileConverter\bin\$(configuration) publish /e /i /q
xcopy ManualGenerator\_build\html publish\doc /e /i /q
xcopy template publish\template /e /i /q
artifacts:
- path: publish
name: ThScoreFileConverter
| version: '{build}'
branches:
only:
- master
image: Visual Studio 2015
configuration:
- Release
environment:
PYTHON: C:\Python35-x64
install:
- cmd: >-
%PYTHON%\python -m pip install -U pip
%PYTHON%\python -m pip install -r ManualGenerator\requirements.txt
before_build:
- cmd: nuget restore
build:
parallel: true
verbosity: minimal
after_build:
- cmd: >-
xcopy ThScoreFileConverter\bin\%CONFIGURATION% publish /e /i /q
xcopy ManualGenerator\_build\html publish\doc /e /i /q
xcopy template publish\template /e /i /q
artifacts:
- path: publish
name: ThScoreFileConverter
|
Bring back the test script | os: Visual Studio 2015
platform:
- x64
environment:
nodejs_version: "6"
cache:
- node_modules
- '%USERPROFILE%\.electron'
branches:
only:
- master
- /^__release-.*/
skip_tags: true
version: "{build}"
install:
- npm install -g npm
- ps: $fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
- ps: $fileContent += $env:PRIVATE_KEY.Replace(' ', "`n")
- ps: $fileContent += "`n-----END RSA PRIVATE KEY-----`n"
- ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
- git submodule update --init --recursive
- ps: Install-Product node $env:nodejs_version
- npm install
build_script:
- npm run lint
- npm run build:prod
on_success:
- npm run publish
| os: Visual Studio 2015
platform:
- x64
environment:
nodejs_version: "6"
cache:
- node_modules
- '%USERPROFILE%\.electron'
branches:
only:
- master
- /^__release-.*/
skip_tags: true
version: "{build}"
install:
- npm install -g npm
- ps: $fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
- ps: $fileContent += $env:PRIVATE_KEY.Replace(' ', "`n")
- ps: $fileContent += "`n-----END RSA PRIVATE KEY-----`n"
- ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
- git submodule update --init --recursive
- ps: Install-Product node $env:nodejs_version
- npm install
build_script:
- npm run lint
- npm run build:prod
test_script:
- npm test
on_success:
- npm run publish
|
Add missing wildcard when searching for unit result files | environment:
ELM_VERSION: "0.18.0"
matrix:
- nodejs_version: "4.6"
platform:
- x64
matrix:
fast_finish: true
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:Platform
- node --version
- npm --version
- npm install -g elm@%ELM_VERSION%
- npm install
test_script:
- npm run test-ci
after_test:
- ps: |
$wc = New-Object 'System.Net.WebClient'
Get-ChildItem ./test-result -Name -Recurse '-tests.xml' |
Foreach-Object {
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
}
build: off
| environment:
ELM_VERSION: "0.18.0"
matrix:
- nodejs_version: "4.6"
platform:
- x64
matrix:
fast_finish: true
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:Platform
- node --version
- npm --version
- npm install -g elm@%ELM_VERSION%
- npm install
test_script:
- npm run test-ci
after_test:
- ps: |
$wc = New-Object 'System.Net.WebClient'
Get-ChildItem ./test-result -Name -Recurse '*-tests.xml' |
Foreach-Object {
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
}
build: off
|
Use Rust 1.11 rather than 1.8 for builds | version: '0.1.0-RC0-b{build}'
platform:
- x86
install:
# Installing Rust distribution
- choco install --yes --x86 --version=1.8 rust
- SET PATH=%PATH%;C:\Program Files (x86)\Rust stable GNU 1.8\bin
- rustc -V
- cargo -V
# Installing InnoSetup
- choco install --yes InnoSetup
- set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
test_script:
- cargo test --verbose
build_script:
- cargo build --verbose --release
- iscc installer/FlightVars.iss /DPWD=%CD% /DAppVersion=%APPVEYOR_BUILD_VERSION%
artifacts:
- path: installer/*.exe
deploy:
description: 'FlightVars plugin for FSX/P3D'
provider: GitHub
auth_token:
secure: 4QP9Hc3xgTn+8pJQTfK7Ooq4quBsecJX84qgBqnta3EnbeNTiEDCrDCJ2KNHn1vZ
draft: false
prerelease: true
on:
appveyor_repo_tag: true # deploy on tag push only
| version: '0.1.0-RC0-b{build}'
platform:
- x86
install:
# Installing Rust distribution
- choco install --yes --x86 --version=1.11 rust
- SET PATH=%PATH%;C:\Program Files (x86)\Rust stable GNU 1.11\bin
- rustc -V
- cargo -V
# Installing InnoSetup
- choco install --yes InnoSetup
- set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
test_script:
- cargo test --verbose
build_script:
- cargo build --verbose --release
- iscc installer/FlightVars.iss /DPWD=%CD% /DAppVersion=%APPVEYOR_BUILD_VERSION%
artifacts:
- path: installer/*.exe
deploy:
description: 'FlightVars plugin for FSX/P3D'
provider: GitHub
auth_token:
secure: 4QP9Hc3xgTn+8pJQTfK7Ooq4quBsecJX84qgBqnta3EnbeNTiEDCrDCJ2KNHn1vZ
draft: false
prerelease: true
on:
appveyor_repo_tag: true # deploy on tag push only
|
Use MSVC 2015 in Appveyor | version: "{build}"
platform: x64
branches:
only:
- master
clone_depth: 10
skip_tags: true
install:
- ps: Install-Product node 12
- npm run prepare
- npm install
- npm run lint
- npm run test
build: off
test: off
deploy: off
| version: "{build}"
image: Visual Studio 2015
platform: x64
branches:
only:
- master
clone_depth: 10
skip_tags: true
install:
- ps: Install-Product node 12
- npm run prepare
- npm install
- npm run lint
- npm run test
build: off
test: off
deploy: off
|
Use local bower in Travis CI | language: node_js
node_js:
- '0.10'
before_script:
- npm install -g grunt-cli
- npm install
- bower install
script: grunt -v
branches:
except:
- gh-pages | language: node_js
node_js:
- '0.10'
before_script:
- npm install -g grunt-cli
- npm install
- ./node_modules/.bin/bower install
script: grunt -v
branches:
except:
- gh-pages |
Remove exposed port for Redis | version: '3.4'
services:
web_prod:
restart: always
build:
context: .
dockerfile: Dockerfile.prod
env_file: .env.prod
environment:
POSTGRES_PORT: 5433
volumes:
- type: volume
source: web-media
target: /app/media
volume:
nocopy: true
- type: volume
source: web-static
target: /app/static
expose:
- "8080"
stdin_open: true
tty: true
depends_on:
- db_prod
- cache_prod
nginx:
restart: always
build:
context: .
dockerfile: config/nginx/Dockerfile
image: nginx/latest
ports:
- "81:80"
volumes:
- web-static:/srv/static
- web-media:/srv/media
- web-files:/srv/files
- web-releases:/srv/releases
depends_on:
- web_prod
db_prod:
restart: always
image: postgres:12
ports:
- 5433:5432
volumes:
- postgresql:/var/lib/postgresql/data
env_file: .env.prod
cache_prod:
restart: always
image: redis:latest
expose:
- "6379"
volumes:
- redisdata:/data
volumes:
postgresql:
web-media:
web-static:
web-files:
web-releases:
redisdata:
| version: '3.4'
services:
web_prod:
restart: always
build:
context: .
dockerfile: Dockerfile.prod
env_file: .env.prod
environment:
POSTGRES_PORT: 5432
volumes:
- type: volume
source: web-media
target: /app/media
volume:
nocopy: true
- type: volume
source: web-static
target: /app/static
expose:
- "8080"
stdin_open: true
tty: true
depends_on:
- db_prod
- cache_prod
nginx:
restart: always
build:
context: .
dockerfile: config/nginx/Dockerfile
image: nginx/latest
ports:
- "81:80"
volumes:
- web-static:/srv/static
- web-media:/srv/media
- web-files:/srv/files
- web-releases:/srv/releases
depends_on:
- web_prod
db_prod:
restart: always
image: postgres:12
ports:
- 5433:5432
volumes:
- postgresql:/var/lib/postgresql/data
env_file: .env.prod
cache_prod:
restart: always
image: redis:latest
volumes:
- redisdata:/data
volumes:
postgresql:
web-media:
web-static:
web-files:
web-releases:
redisdata:
|
Move deps to satisfy pub | name: angular_quill
description: Angular dart component for the Quill rich text editor
version: 0.0.1
homepage: https://github.com/adamlofts/angular_quill
author: Adam Lofts <adam.lofts@gmail.com>
environment:
sdk: '>=1.23.0 <2.0.0'
dependencies:
angular2: ^3.0.0
func: ^1.0.0
js: ^0.6.1
dev_dependencies:
angular_test: ^1.0.0-beta+2
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
test: ^0.12.0
pageloader: ^2.2.6
transformers:
- angular2:
entry_points: example/main.dart
- angular2/transform/reflection_remover:
$include: test/**_test.dart
- test/pub_serve:
$include: test/**_test.dart
- dart_to_js_script_rewriter
# Uncomment the following in sdk 1.24+ to make pub serve
# use dartdevc (webdev.dartlang.org/tools/dartdevc).
web:
compiler:
debug: dartdevc
| name: angular_quill
description: Angular dart component for the Quill rich text editor
version: 0.0.2
homepage: https://github.com/adamlofts/angular_quill
author: Adam Lofts <adam.lofts@gmail.com>
environment:
sdk: '>=1.23.0 <2.0.0'
dependencies:
angular2: ^3.0.0
func: ^1.0.0
js: ^0.6.1
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
pageloader: ^2.2.6
dev_dependencies:
angular_test: ^1.0.0-beta+2
test: ^0.12.0
transformers:
- angular2:
entry_points: example/main.dart
- angular2/transform/reflection_remover:
$include: test/**_test.dart
- test/pub_serve:
$include: test/**_test.dart
- dart_to_js_script_rewriter
# Uncomment the following in sdk 1.24+ to make pub serve
# use dartdevc (webdev.dartlang.org/tools/dartdevc).
web:
compiler:
debug: dartdevc
|
Update codecov/codecov-action action to v3 | name: build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Java ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: ${{ matrix.java-version }}
- name: Run tests
run: mvn -e test -Dmaven.wagon.http.ssl.insecure=${{ matrix.java-version == 9 || matrix.java-version == 10 }}
coverage:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create code coverage report
run: mvn -e test jacoco:report
- name: Upload code coverage report
uses: codecov/codecov-action@v2
with:
files: ./**/target/site/jacoco/jacoco.xml
name: codecov
| name: build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Java ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: ${{ matrix.java-version }}
- name: Run tests
run: mvn -e test -Dmaven.wagon.http.ssl.insecure=${{ matrix.java-version == 9 || matrix.java-version == 10 }}
coverage:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create code coverage report
run: mvn -e test jacoco:report
- name: Upload code coverage report
uses: codecov/codecov-action@v3
with:
files: ./**/target/site/jacoco/jacoco.xml
name: codecov
|
Set MR number in changelog | ---
title: Allow date parameters on Issues and Notes API for group owners
merge_request:
author: Florent Dubois
type: fixed
| ---
title: Allow date parameters on Issues and Notes API for group owners
merge_request: 21342
author: Florent Dubois
type: fixed
|
Add jq package to utils role | ---
packages:
- apg #random password generator
- at
- bmon
- build-essential
- byobu #For remove-old-kernels
- cloc #Count lines of code
- git
- git-extras
- gnupg
- gparted
- htop
- incron
- iotop
- lftp
- lnav
- most
- mtr
- multitail
- ncdu
- openssl
- pandoc
- preload
- pv
- pydf
- qalc
- renameutils
- ranger
- rsync
- screenfetch
- task-spooler
- texlive-fonts-recommended #for pandoc to pdf
- tig
- tlp
- tlp-rdw
- tmux
- tree
- undistract-me
- xclip
- clipit
- silversearcher-ag
- vim-gtk
- curl
- libimage-exiftool-perl
packages_arch:
- openssh
- cronie
packages_debian:
- anacron
- aptitude
- openssh-client
- openssh-server
| ---
packages:
- apg #random password generator
- jq
- at
- bmon
- build-essential
- byobu #For remove-old-kernels
- cloc #Count lines of code
- git
- git-extras
- gnupg
- gparted
- htop
- incron
- iotop
- lftp
- lnav
- most
- mtr
- multitail
- ncdu
- openssl
- pandoc
- preload
- pv
- pydf
- qalc
- renameutils
- ranger
- rsync
- screenfetch
- task-spooler
- texlive-fonts-recommended #for pandoc to pdf
- tig
- tlp
- tlp-rdw
- tmux
- tree
- undistract-me
- xclip
- clipit
- silversearcher-ag
- vim-gtk
- curl
- libimage-exiftool-perl
packages_arch:
- openssh
- cronie
packages_debian:
- anacron
- aptitude
- openssh-client
- openssh-server
|
Add CRON and workflow_dispatch events | name: CI
on:
push:
pull_request:
jobs:
build-and-test:
name: Build and Test (Python ${{ matrix.python-version }} on ${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- macos-latest
- windows-latest
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install Tox and any other packages
run: pip install tox tox-gh-actions
- name: Build package and run tests with tox
# XXX: Remove `-e py3-ci` and rely on the settings in tox.ini as soon as
# https://github.com/ymyzk/tox-gh-actions/issues/44 is resolved.
run: tox -e py3-ci
| name: CI
on:
push:
pull_request:
# Run CI once a week even without code changes to ensure tests pass with updated dependencies.
schedule:
- cron: '0 0 * * 5'
# Allow triggering a CI run from the web UI.
workflow_dispatch:
jobs:
build-and-test:
name: Build and Test (Python ${{ matrix.python-version }} on ${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- macos-latest
- windows-latest
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install Tox and any other packages
run: pip install tox tox-gh-actions
- name: Build package and run tests with tox
# XXX: Remove `-e py3-ci` and rely on the settings in tox.ini as soon as
# https://github.com/ymyzk/tox-gh-actions/issues/44 is resolved.
run: tox -e py3-ci
|
Add readline-dev as a build dependency | packages:
gdbm:
gdbm-dev:
dependencies:
- gdbm-headers
- gdbm
gdbm-headers:
gdbm-doc:
version: 1.13
builddependencies:
sources:
- https://ftp.gnu.org/pub/gnu/gdbm/gdbm-{{.Version}}.tar.gz
script:
- |
{{extract "gdbm" "gz"}}
{{configure "gdbm" "--enable-libgdbm-compat"}}
$(MAKE) -C gdbm
$(MAKE) -C gdbm DESTDIR=$(shell pwd)/out/gdbm install
{{pkmv "usr/include" "gdbm" "gdbm-headers"}}
{{pkmv "usr/share" "gdbm" "gdbm-doc"}}
| packages:
gdbm:
gdbm-dev:
dependencies:
- gdbm-headers
- gdbm
gdbm-headers:
gdbm-doc:
version: 1.13
builddependencies:
- readline-dev
sources:
- https://ftp.gnu.org/pub/gnu/gdbm/gdbm-{{.Version}}.tar.gz
script:
- |
{{extract "gdbm" "gz"}}
{{configure "gdbm" "--enable-libgdbm-compat"}}
$(MAKE) -C gdbm
$(MAKE) -C gdbm DESTDIR=$(shell pwd)/out/gdbm install
{{pkmv "usr/include" "gdbm" "gdbm-headers"}}
{{pkmv "usr/share" "gdbm" "gdbm-doc"}}
|
Use a better Slack notification step. | box: blisteringherb/scholarship@0.0.6
build:
# The steps that will be executed on build
steps:
- script:
name: Install MongoDB
code: |-
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo service mongod status
- script:
name: Update Composer
code: sudo composer self-update
- leipert/composer-install@0.0.1
- script:
name: install php mongo extension
code: sudo apt-get install php5-mongo
- script:
name: phpunit
code: |-
cp .env.example .env
php artisan migrate
php artisan db:seed
vendor/bin/phpunit
deploy:
steps:
- bundle-install
- script:
name: write private key env var
code: |-
export CAP_PRIVATE_KEY=`mktemp`
echo -e $WERCKER_APP_KEY_PRIVATE > $CAP_PRIVATE_KEY
- cap
after-steps:
- iansmith9876/pretty-slack-notify:
team: dosomething
token: $SLACK_TOKEN
channel: $SLACK_ROOM
username: george
- script:
name: Run Runscope tests
code: curl $RUNSCOPE_TRIGGER_URL
| box: blisteringherb/scholarship@0.0.6
build:
# The steps that will be executed on build
steps:
- script:
name: Install MongoDB
code: |-
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo service mongod status
- script:
name: Update Composer
code: sudo composer self-update
- leipert/composer-install@0.0.1
- script:
name: install php mongo extension
code: sudo apt-get install php5-mongo
- script:
name: phpunit
code: |-
cp .env.example .env
php artisan migrate
php artisan db:seed
vendor/bin/phpunit
deploy:
steps:
- bundle-install
- script:
name: write private key env var
code: |-
export CAP_PRIVATE_KEY=`mktemp`
echo -e $WERCKER_APP_KEY_PRIVATE > $CAP_PRIVATE_KEY
- cap
after-steps:
- sherzberg/slack-notify:
subdomain: dosomething
token: $SLACK_TOKEN
channel: $SLACK_ROOM
- script:
name: Run Runscope tests
code: curl $RUNSCOPE_TRIGGER_URL
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.