Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Change directory to docs before make html
language: python env: - 3.5 - 3.6 - 3.7 - 3.8 notifications: email: false before_install: - python --version - pip install -U pip install: - python setup.py install - pip install -r docs/doc_requirements.txt script: - pytest --cov=pubmed_parser tests/ --verbose - make html - touch _build/html/.nojekyll deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure keep-history: true on: branch: master local_dir: _build/html/ after_success: - bash <(curl -s https://codecov.io/bash)
language: python env: - 3.5 - 3.6 - 3.7 - 3.8 notifications: email: false before_install: - python --version - pip install -U pip install: - python setup.py install - pip install -r docs/doc_requirements.txt script: - pytest --cov=pubmed_parser tests/ --verbose - cd docs && make html - touch _build/html/.nojekyll deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure keep-history: true on: branch: master local_dir: _build/html/ after_success: - bash <(curl -s https://codecov.io/bash)
Change the versions we test with.
--- # Verify this with: http://lint.travis-ci.org/ language: ruby # Delete dependency locks for matrix builds. before_install: rm Gemfile.lock || true script: bundle exec rake test rvm: - 1.8.7 - 1.9.3 env: matrix: - PUPPET_VERSION="~> 2.7.0" - PUPPET_VERSION="~> 3.1.0" - PUPPET_VERSION="~> 3.2.0" - PUPPET_VERSION="~> 3.4.0"
--- # Verify this with: http://lint.travis-ci.org/ language: ruby # Delete dependency locks for matrix builds. before_install: rm Gemfile.lock || true script: bundle exec rake test rvm: - 1.9.3 env: - PUPPET_VERSION="~> 3.8.0" - PUPPET_VERSION="~> 4.9.0" matrix: allow_failures: - env: PUPPET_VERSION="~> 4.9.0"
Enable email notifications for broken oss builds
sudo: required dist: trusty language: cpp compiler: - gcc install: - ./thrift/build/deps_ubuntu_14.04.sh script: - ./thrift/build/travis/install.sh notifications: email: false
sudo: required dist: trusty language: cpp compiler: - gcc install: - ./thrift/build/deps_ubuntu_14.04.sh script: - ./thrift/build/travis/install.sh notifications: email: recipients: - thrift_oncall@fb.com on_success: never on_failure: always
Speed up composer install by downloading packages in parallel
language: php ## Run on container environment sudo: false php: - 5.6 - 7.0 - 7.1 - nightly - hhvm matrix: allow_failures: - php: [nightly, hhvm] before_install: - composer self-update install: - composer install --dev --prefer-dist --no-autoloader --no-scripts - composer dump-autoload -o -a --no-scripts script: ./vendor/bin/phpunit --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover cache: directories: - vendor - $HOME/.composer/cache
language: php ## Run on container environment sudo: false php: - 5.6 - 7.0 - 7.1 - nightly - hhvm matrix: allow_failures: - php: [nightly, hhvm] before_install: - composer self-update - composer global require hirak/prestissimo 0.3.4 install: - composer install --dev --prefer-dist --no-autoloader --no-scripts - composer dump-autoload -o -a --no-scripts script: ./vendor/bin/phpunit --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover cache: directories: - vendor - $HOME/.composer/cache
Remove truffleruby since fails sometimes
name: Development on: [push, pull_request] jobs: test: strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] ruby: [2.4, 2.5, 2.6, 2.7, jruby, truffleruby-head] gemfile: [Gemfile, Gemfile.turnip3] runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{matrix.ruby}} - uses: actions/cache@v1 with: path: vendor/bundle key: bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}-${{hashFiles('**/${{matrix.gemfile}}')}} restore-keys: | bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}-${{hashFiles('**/${{matrix.gemfile}}')}} - name: Bundle install... run: | bundle config path vendor/bundle bundle install --gemfile=${{matrix.gemfile}} - run: bundle exec rspec spec
name: Development on: [push, pull_request] jobs: test: strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] ruby: [2.4, 2.5, 2.6, 2.7, jruby] gemfile: [Gemfile, Gemfile.turnip3] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{matrix.ruby}} - uses: actions/cache@v1 with: path: vendor/bundle key: bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}-${{hashFiles('**/${{matrix.gemfile}}')}} restore-keys: | bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}-${{hashFiles('**/${{matrix.gemfile}}')}} - name: Bundle install... run: | bundle config path vendor/bundle bundle install --gemfile=${{matrix.gemfile}} - run: bundle exec rspec spec
Use correct android in Travis
language: android jdk: oraclejdk8 android: components: - extra-android-m2repository - build-tools-21.1.2 - android-19 script: - ./gradlew build
language: android jdk: oraclejdk8 android: components: - extra-android-m2repository - build-tools-21.1.2 - android-22 script: - ./gradlew build
Update nodejs versions for Travis
language: node_js node_js: - "0.12" - "0.11" - "0.10" - "0.8" - "0.6" - "iojs" - "iojs-v1.0.4"
language: node_js node_js: - "0.12" - "0.11" - "0.10" - "iojs"
Increase the build output timeout period, as two of the tests take a *long* time to complete.
language: scala scala: - 2.12.1
language: scala scala: - 2.12.1 script: travis wait 30 sbt ++$TRAVIS_SCALA_VERSION test
Install phpunit with profiling enabled
language: php dist: trusty sudo: false php: - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_script: - "cp app/config/parameters.yml{.dist,}" - "composer install --prefer-source" - "composer require --dev phpunit/phpunit" script: phpunit -c app
language: php dist: trusty sudo: false php: - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_script: - "cp app/config/parameters.yml{.dist,}" - "composer install --prefer-source" - "composer require --dev phpunit/phpunit --profile -vvv" script: phpunit -c app
Use a Travis environment with PhantomJS 2.
language: node_js node_js: - "0.10" cache: directories: - node_modules notifications: email: false sudo: false
dist: trusty language: node_js node_js: - "0.10" cache: directories: - node_modules notifications: email: false sudo: false
Make sure shaape is installed when running tests on Travis CI
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby install: - sudo apt-get install -qq graphviz - bundle install
language: ruby python: - 2.7 rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby install: - pip install shaape - sudo apt-get install -qq graphviz - bundle install
Update Travis CI with later PHP versions
language: php php: - 5.5.9 - 5.6 - 7.0 - hhvm sudo: false matrix: allow_failures: - php: hhvm install: - if [[ ${TRAVIS_PHP_VERSION} == "5.5.9" ]]; then travis_retry composer require laravel/framework; else travis_retry composer update --no-interaction --prefer-source; fi script: make test
language: php php: - 5.5.9 - 5.6 - 7.0 - 7.1 - 7.2 - hhvm - nightly sudo: false matrix: allow_failures: - php: hhvm - php: nightly install: - if [[ ${TRAVIS_PHP_VERSION} == "5.5.9" ]]; then travis_retry composer require laravel/framework; else travis_retry composer update --no-interaction --prefer-source; fi script: make test
Change kong docker image version as newer ones are broken
sudo: required services: - docker language: node_js env: global: - TEST_INTEGRATION_KONG_HOST="127.0.0.1:8001" - KONG_VERSION=0.12 matrix: - EXPERIMENTAL_USE_LOCAL_STATE=0 - EXPERIMENTAL_USE_LOCAL_STATE=1 node_js: - stable - "8" - "6" before_install: - docker run -d --name kong-database -e "POSTGRES_USER=kong" -e "POSTGRES_DB=kong" postgres:9.4 - sleep 5 - docker run --rm --link kong-database:kong-database -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=kong-database" kong:$KONG_VERSION kong migrations up - docker run -d --name kong --link kong-database:kong-database -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=kong-database" -e "KONG_ADMIN_LISTEN=0.0.0.0:8001" -p 127.0.0.1:8001:8001 -p 127.0.0.1:8000:8000 kong:$KONG_VERSION - sleep 5
sudo: required services: - docker language: node_js env: global: - TEST_INTEGRATION_KONG_HOST="127.0.0.1:8001" - KONG_VERSION=0.12.1 matrix: - EXPERIMENTAL_USE_LOCAL_STATE=0 - EXPERIMENTAL_USE_LOCAL_STATE=1 node_js: - stable - "8" - "6" before_install: - docker run -d --name kong-database -e "POSTGRES_USER=kong" -e "POSTGRES_DB=kong" postgres:9.4 - sleep 5 - docker run --rm --link kong-database:kong-database -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=kong-database" kong:$KONG_VERSION kong migrations up - docker run -d --name kong --link kong-database:kong-database -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=kong-database" -e "KONG_ADMIN_LISTEN=0.0.0.0:8001" -p 127.0.0.1:8001:8001 -p 127.0.0.1:8000:8000 kong:$KONG_VERSION - sleep 5
Put back node_modules in the cache
git: depth: 10 branches: only: - master env: global: - ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4 osx_image: xcode7.3 compiler: clang matrix: include: - os: linux env: NODE_VERSION=4 - os: osx env: ATOM_SPECS_TASK=core NODE_VERSION=4 - os: osx env: ATOM_SPECS_TASK=packages 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: script/cibuild cache: timeout: 1000 directories: - build/node_modules - apm/node_modules notifications: email: on_success: never on_failure: change addons: apt: sources: - ubuntu-toolchain-r-test packages: - build-essential - git - libgnome-keyring-dev - fakeroot - gcc-multilib
git: depth: 10 branches: only: - master env: global: - ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4 osx_image: xcode7.3 compiler: clang matrix: include: - os: linux env: NODE_VERSION=4 - os: osx env: ATOM_SPECS_TASK=core NODE_VERSION=4 - os: osx env: ATOM_SPECS_TASK=packages 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 script: script/cibuild cache: timeout: 1000 directories: - node_modules - build/node_modules - apm/node_modules notifications: email: on_success: never on_failure: change addons: apt: sources: - ubuntu-toolchain-r-test packages: - build-essential - git - libgnome-keyring-dev - fakeroot - gcc-multilib
Remove cache section for now
cache: pip: true - $HOME/Library/Caches/Homebrew matrix: include: - os: osx osx_image: xcode8.3 language: generic - os: osx osx_image: xcode8.2 language: generic - os: osx osx_image: xcode8.1 language: generic - os: osx osx_image: xcode8 language: generic - os: osx osx_image: xcode7.3 language: generic script: - brew install Formula/ocrmypdf.rb
matrix: include: - os: osx osx_image: xcode8.3 language: generic - os: osx osx_image: xcode8.2 language: generic - os: osx osx_image: xcode8.1 language: generic - os: osx osx_image: xcode8 language: generic - os: osx osx_image: xcode7.3 language: generic script: - brew install Formula/ocrmypdf.rb
Add explicit testing for Rails 4.2 and extra ruby versions
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode - rbx-2 env: - "RAILS_VERSION=3.2.0" - "RAILS_VERSION=4.0.0" - "RAILS_VERSION=4.1.0" script: bundle exec rspec spec/models before_script: - psql -c "CREATE USER cti WITH ENCRYPTED PASSWORD 'cti';" -U postgres - psql -c "CREATE DATABASE dbview_cti_test WITH OWNER cti;" -U postgres - ruby ./migrate_up.rb after_success_script: - ruby ./migrate_down.rb
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 - 2.3.0 - jruby-19mode - rbx-2 env: - "RAILS_VERSION=3.2.0" - "RAILS_VERSION=4.0.0" - "RAILS_VERSION=4.1.0" - "RAILS_VERSION=4.2.0" script: bundle exec rspec spec/models before_script: - psql -c "CREATE USER cti WITH ENCRYPTED PASSWORD 'cti';" -U postgres - psql -c "CREATE DATABASE dbview_cti_test WITH OWNER cti;" -U postgres - ruby ./migrate_up.rb after_success_script: - ruby ./migrate_down.rb
Build war and standalone in matrix build
language: groovy
language: groovy env: - BLDFILE=build.gradle - BLDFILE=standalone.gradle cache: directories: - $HOME/.gradle script: ./gradlew -b $BLDFILE
Put environment variables in one set.
language: ruby rvm: - 2.1.5 # - 2.2 # - jruby # - rbx-2 env: - PIVOTAL_TRACKER_API_TOKEN=dummy_api_token - SECRET_TOKEN=s3kr1t script: bundle exec rspec
language: ruby rvm: - 2.1.5 # - 2.2 # - jruby # - rbx-2 env: - PIVOTAL_TRACKER_API_TOKEN=dummy_api_token SECRET_TOKEN=s3kr1t script: bundle exec rspec
Rebuild packages from Fedora to match u-c
packages: - project: python-amqp buildsys-tags: cloud8s-openstack-wallaby-candidate: python-amqp-5.0.5-1.el8 - project: python-memcached buildsys-tags: cloud8s-openstack-wallaby-candidate: python-memcached-1.59-1.el8
packages: - project: python-amqp buildsys-tags: cloud8s-openstack-wallaby-candidate: python-amqp-5.0.5-1.el8 - project: python-memcached buildsys-tags: cloud8s-openstack-wallaby-candidate: python-memcached-1.59-1.el8 - project: python-pymemcache buildsys-tags: cloud8s-openstack-wallaby-candidate: python-pymemcache-3.4.0-1.el8
Use "xcode8" OS X image
language: objective-c osx_image: xcode8.0 # Important to specify the simulator SDK, otherwise Travis CI will attempt to # build for the real iPhone and fail due to code-signing issues. xcode_sdk: iphonesimulator before_install: - brew update - brew uninstall xctool && brew install --HEAD xctool xcode_project: NetworkReachability.xcodeproj xcode_scheme: NetworkReachability
language: objective-c osx_image: xcode8 # Important to specify the simulator SDK, otherwise Travis CI will attempt to # build for the real iPhone and fail due to code-signing issues. # See https://docs.travis-ci.com/user/languages/objective-c for details. xcode_sdk: iphonesimulator before_install: - brew update - brew uninstall xctool && brew install --HEAD xctool xcode_project: NetworkReachability.xcodeproj xcode_scheme: NetworkReachability
Exclude docs folder from flake8 testing.
sudo: required language: python python: "2.7" addons: apt: packages: - libffi-dev - libjpeg-dev - libssl-dev - libtiff4-dev - libxml2-dev - libxslt1-dev - zlib1g-dev services: - postgresql env: > DJANGO_SETTINGS_MODULE="conf_site.settings.travis-ci" before_install: - psql -c 'create database travis;' -U postgres install: - "pip install -r requirements/travis-ci.txt" script: - "flake8 --exclude=ansible,migrations ." - "./manage.py test"
sudo: required language: python python: "2.7" addons: apt: packages: - libffi-dev - libjpeg-dev - libssl-dev - libtiff4-dev - libxml2-dev - libxslt1-dev - zlib1g-dev services: - postgresql env: > DJANGO_SETTINGS_MODULE="conf_site.settings.travis-ci" before_install: - psql -c 'create database travis;' -U postgres install: - "pip install -r requirements/travis-ci.txt" script: - "flake8 --exclude=ansible,docs,migrations ." - "./manage.py test"
Drop support for ruby 2.1
language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 script: - bundle exec rspec - bundle exec rubocop
language: ruby rvm: - 2.2.4 - 2.3.0 script: - bundle exec rspec - bundle exec rubocop
Add puppet 3.8.5 and ruby 2.0.0 to test suite
language: ruby script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec" rvm: - 1.9.3 - 2.1.5 notifications: email: false env: - PUPPET_VERSION=3.4.3 - PUPPET_VERSION=3.7.2 - PUPPET_VERSION=3.7.5 FUTURE_PARSER=yes - PUPPET_VERSION=4.0.0 - PUPPET_VERSION=4.2.0
language: ruby script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec" rvm: - 1.9.3 - 2.0.0 - 2.1.5 notifications: email: false env: - PUPPET_VERSION=3.4.3 - PUPPET_VERSION=3.7.2 - PUPPET_VERSION=3.7.5 FUTURE_PARSER=yes - PUPPET_VERSION=3.8.5 - PUPPET_VERSION=3.8.5 FUTURE_PARSER=yes - PUPPET_VERSION=4.0.0 - PUPPET_VERSION=4.2.0
Remove support for Ubuntu 16.04 + add Ubuntu FIPS
--- project-name: chef-server config: omnibus/omnibus.rb install-dir: /opt/opscode test-path: omnibus/omnibus-test.sh fips-platforms: - el-*-x86_64 builder-to-testers-map: el-7-x86_64: - el-7-x86_64 - el-8-x86_64 - amazon-2-x86_64 sles-12-x86_64: - sles-12-x86_64 - sles-15-x86_64 ubuntu-16.04-x86_64: - ubuntu-16.04-x86_64 - ubuntu-18.04-x86_64 - ubuntu-20.04-x86_64
--- project-name: chef-server config: omnibus/omnibus.rb install-dir: /opt/opscode test-path: omnibus/omnibus-test.sh fips-platforms: - el-*-x86_64 - ubuntu-*-x86_64 builder-to-testers-map: el-7-x86_64: - el-7-x86_64 - el-8-x86_64 - amazon-2-x86_64 sles-12-x86_64: - sles-12-x86_64 - sles-15-x86_64 ubuntu-18.04-x86_64: - ubuntu-18.04-x86_64 - ubuntu-20.04-x86_64
Update Helmet version to 5.1.1
title: Helmet short_description: Express.js security with HTTP headers description: Helmet helps you secure your Express.js apps by setting various HTTP headers. It's not a silver bullet, but it can help! helmet_version: "5.1.0" baseurl: "" url: "https://helmetjs.github.io" markdown: CommonMarkGhPages commonmark: options: ["UNSAFE", "FOOTNOTES"]
title: Helmet short_description: Express.js security with HTTP headers description: Helmet helps you secure your Express.js apps by setting various HTTP headers. It's not a silver bullet, but it can help! helmet_version: "5.1.1" baseurl: "" url: "https://helmetjs.github.io" markdown: CommonMarkGhPages commonmark: options: ["UNSAFE", "FOOTNOTES"]
Add clarification on newrelic role
--- # This playbook configures newrelic monitoring service - name: add newrelic repo key apt_key: url: https://download.newrelic.com/548C16BF.gpg id: 548C16BF state: present become: yes - name: add newrelic repo apt_repository: repo: 'deb http://apt.newrelic.com/debian/ newrelic non-free' state: present become: yes - name: install newrelic apt: pkg=newrelic-sysmond state=present update_cache=yes cache_valid_time=3600 become: yes - name: set license key shell: nrsysmond-config --set license_key={{newrelic_license_key}} become: yes - name: stop newrelic if already running shell: /etc/init.d/newrelic-sysmond stop become: yes ignore_errors: yes - name: start newrelic shell: /etc/init.d/newrelic-sysmond start become: yes
--- # This playbook configures newrelic monitoring service - name: add newrelic repo key apt_key: url: https://download.newrelic.com/548C16BF.gpg id: 548C16BF state: present become: yes - name: add newrelic repo apt_repository: repo: 'deb http://apt.newrelic.com/debian/ newrelic non-free' state: present become: yes - name: install newrelic apt: pkg=newrelic-sysmond state=present update_cache=yes cache_valid_time=3600 become: yes - name: set newrelic license key shell: nrsysmond-config --set license_key={{newrelic_license_key}} become: yes - name: stop newrelic daemon if already running shell: /etc/init.d/newrelic-sysmond stop become: yes ignore_errors: yes - name: start newrelic daemon shell: /etc/init.d/newrelic-sysmond start become: yes
Update from Hackage at 2016-01-09T17:15:31+0000
homepage: '' changelog-type: '' hash: 77f9bef13fac3f4fe3aacfcba563ebb9b1ec708853c080048be41253582e0255 test-bench-deps: {} maintainer: the.palmik+maintainer@gmail.com synopsis: Generic functionality for BSON changelog: '' basic-deps: base: ==4.6.* text: ==0.11.* ghc-prim: ==0.3.* bson: ==0.2.* all-versions: - '0.0.4' - '0.0.5' - '0.0.5.1' - '0.0.6' - '0.0.7' - '0.0.8' author: Petr Pilař latest: '0.0.8' description-type: haddock description: ! 'This package offers easy conversion from and to BSON data type for most of user defined data types. The interface may change at will.' license-name: BSD3
homepage: '' changelog-type: '' hash: 16b3ccae47367de96ef86e1be4a6c9ea2f862971bd316027fd04d73dcb396f9e test-bench-deps: {} maintainer: the.palmik+maintainer@gmail.com synopsis: Generic functionality for BSON changelog: '' basic-deps: base: ==4.8.* text: ==1.2.1.* ghc-prim: ==0.4.* bson: ==0.3.* all-versions: - '0.0.4' - '0.0.5' - '0.0.5.1' - '0.0.6' - '0.0.7' - '0.0.8' - '0.0.8.1' author: Petr Pilař latest: '0.0.8.1' description-type: haddock description: ! 'This package offers easy conversion from and to BSON data type for most of user defined data types. The interface may change at will.' license-name: BSD3
Update from Hackage at 2017-12-09T03:11:13Z
homepage: '' changelog-type: '' hash: 0f1b870f661faa8554d966588cca6c47e8268fdb565d57277c675ca1917a9746 test-bench-deps: {} maintainer: strake888@gmail.com synopsis: Class of random value generation changelog: '' basic-deps: base: ! '>=4.9 && <5' transformers: -any primitive: -any all-versions: - '0.1.0.0' - '0.1.1.0' author: M Farkas-Dyck latest: '0.1.1.0' description-type: haddock description: '' license-name: BSD3
homepage: '' changelog-type: '' hash: 3d5bc52eef73f051634961035599bf08a670c9dc5d9b9b4cd370fc8710c9e169 test-bench-deps: {} maintainer: strake888@gmail.com synopsis: Class of random value generation changelog: '' basic-deps: base: ! '>=4.9 && <5' util: ! '>=0.1.2 && <0.2' transformers: -any primitive: -any all-versions: - '0.1.2.0' author: M Farkas-Dyck latest: '0.1.2.0' description-type: haddock description: '' license-name: BSD3
Add rss feed test message
# This will appear on the site in the order as it is # listed here, so add new items on top - content: Everything up and running status: green timestamp: 2015-04-09 12:00 +0200
# This will appear on the site in the order as it is # listed here, so add new items on top - content: This is a test of rss feed hooks status: green timestamp: 2015-04-09 17:40 +0200 - content: Everything up and running status: green timestamp: 2015-04-09 12:00 +0200
Add python 3.8 to test matrix
name: Test package on: push: branches: - master paths: - 'gel/*' - 'tests/*' - '.github/workflows/test-package.yml' - 'pyproject.toml' jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: [3.5, 3.6, 3.7] fail-fast: false steps: - uses: actions/checkout@master with: fetch-depth: 1 - uses: actions/setup-python@master with: python-version: ${{ matrix.python-version }} - name: Install poetry run: curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python - name: Install dependencies run: | $HOME/.poetry/bin/poetry install --no-dev -E 'test' $HOME/.poetry/bin/poetry run pip install torch - name: Run tests run: $HOME/.poetry/bin/poetry run python -m unittest
name: Test package on: push: branches: - master paths: - 'gel/*' - 'tests/*' - '.github/workflows/test-package.yml' - 'pyproject.toml' jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: [3.5, 3.6, 3.7, 3.8] fail-fast: false steps: - uses: actions/checkout@master with: fetch-depth: 1 - uses: actions/setup-python@master with: python-version: ${{ matrix.python-version }} - name: Install poetry run: curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python - name: Install dependencies run: | $HOME/.poetry/bin/poetry install --no-dev -E 'test' $HOME/.poetry/bin/poetry run pip install torch - name: Run tests run: $HOME/.poetry/bin/poetry run python -m unittest
Improve text for Discord server link in issues
blank_issues_enabled: false contact_links: - name: discord.js discord server url: https://discord.gg/bRCvFy9 about: Please use this Discord Server to ask questions and get support. We don't typically answer questions here and they will likely be closed and redirected to the Discord server.
blank_issues_enabled: false contact_links: - name: Discord server url: https://discord.gg/bRCvFy9 about: Have questions or need support? Please go to the Discord server, as issues that are just support-related will be closed and redirected there.
Update virtualenv to use python3
--- - name: Install neovim package: name: neovim state: present become: true when: ansible_system == 'Linux' - name: Install neovim package: name: neovim state: present when: ansible_system == 'Darwin' - name: Clean neovim directory file: path: "{{ lookup('env', 'HOME') }}/.config/nvim" state: absent when: cleanup | default(false) | bool - name: Clone nvim repo git: repo: git@github.com:arxcruz/nvim.git dest: "{{ ansible_user_dir }}/.config/nvim" - name: Create neovim virtualenv shell: virtualenv -p `which python` "{{ ansible_user_dir }}/.virtualenvs/neovim" - name: Setup neovim python bindigns pip: name: ['neovim', 'flake8', 'pep8', 'pyflakes', 'pycodestyle'] virtualenv: "{{ ansible_user_dir }}/.virtualenvs/neovim" state: present
--- - name: Install neovim package: name: neovim state: present become: true when: ansible_system == 'Linux' - name: Install neovim package: name: neovim state: present when: ansible_system == 'Darwin' - name: Clean neovim directory file: path: "{{ lookup('env', 'HOME') }}/.config/nvim" state: absent when: cleanup | default(false) | bool - name: Clone nvim repo git: repo: git@github.com:arxcruz/nvim.git dest: "{{ ansible_user_dir }}/.config/nvim" - name: Create neovim virtualenv shell: virtualenv -p `which python3` "{{ ansible_user_dir }}/.virtualenvs/neovim" - name: Setup neovim python bindigns pip: name: ['neovim', 'flake8', 'pep8', 'pyflakes', 'pycodestyle'] virtualenv: "{{ ansible_user_dir }}/.virtualenvs/neovim" state: present
Update from Hackage at 2016-05-10T06:24:33+0000
homepage: http://github.com/mgsloan/th-reify-many changelog-type: '' hash: cf3627316980f6abc68a18cd417ccb04242883caa259c6ccb508ff067b9a2e10 test-bench-deps: base: -any th-reify-many: -any template-haskell: -any maintainer: Michael Sloan <mgsloan at gmail> synopsis: Recurseively reify template haskell datatype info changelog: '' basic-deps: base: ! '>=4 && <5' containers: -any th-expand-syns: -any mtl: -any template-haskell: ! '>=2.5.0.0' safe: -any all-versions: - '0.1.1' - '0.1.2' - '0.1.3' - '0.1.4' - '0.1.4.1' - '0.1.5' - '0.1.5.1' - '0.1.5.2' author: Michael Sloan latest: '0.1.5.2' description-type: haddock description: ! '@th-reify-many@ provides functions for recursively reifying top level declarations. The main intended use case is for enumerating the names of datatypes reachable from an initial datatype, and passing these names to some function which generates instances.' license-name: BSD3
homepage: http://github.com/mgsloan/th-reify-many changelog-type: '' hash: e31523368182e8648c6fac34fc56971cefff8415d907b1a7cb09f98a27f0b932 test-bench-deps: base: -any th-reify-many: -any template-haskell: -any maintainer: Michael Sloan <mgsloan at gmail> synopsis: Recurseively reify template haskell datatype info changelog: '' basic-deps: base: ! '>=4 && <5' containers: -any th-expand-syns: -any mtl: -any template-haskell: ! '>=2.5.0.0' safe: -any all-versions: - '0.1.1' - '0.1.2' - '0.1.3' - '0.1.4' - '0.1.4.1' - '0.1.5' - '0.1.5.1' - '0.1.5.2' - '0.1.6' author: Michael Sloan latest: '0.1.6' description-type: haddock description: ! '@th-reify-many@ provides functions for recursively reifying top level declarations. The main intended use case is for enumerating the names of datatypes reachable from an initial datatype, and passing these names to some function which generates instances.' license-name: BSD3
Fix issue with nginx ansible task to support Docker 1.12 (syslog-tag changed to tag)
- name: Directories are present file: dest: "{{ item }}" state: directory owner: vagrant with_items: directories tags: [nginx] - name: Container is running docker: image: nginx:alpine name: nginx state: running ports: "{{ ports }}" volumes: "{{ volumes }}" when: not log_to_syslog is defined tags: [nginx] - name: Container is running docker: image: nginx:alpine name: nginx state: running ports: "{{ ports }}" volumes: "{{ volumes }}" log_driver: syslog log_opt: syslog-tag: nginx when: log_to_syslog is defined tags: [nginx] - name: Files are present copy: src: "{{ item.src }}" dest: "{{ item.dest }}" with_items: files register: result tags: [nginx] - name: Container is reloaded shell: docker kill -s HUP nginx when: result|changed tags: [nginx] - name: Info is sent to Consul uri: url: http://localhost:8500/v1/kv/proxy/ip method: PUT body: "{{ ip }}" ignore_errors: yes tags: [nginx]
- name: Directories are present file: dest: "{{ item }}" state: directory owner: vagrant with_items: directories tags: [nginx] - name: Container is running docker: image: nginx:alpine name: nginx state: running ports: "{{ ports }}" volumes: "{{ volumes }}" when: not log_to_syslog is defined tags: [nginx] - name: Container is running docker: image: nginx:alpine name: nginx state: running ports: "{{ ports }}" volumes: "{{ volumes }}" log_driver: syslog log_opt: tag: nginx when: log_to_syslog is defined tags: [nginx] - name: Files are present copy: src: "{{ item.src }}" dest: "{{ item.dest }}" with_items: files register: result tags: [nginx] - name: Container is reloaded shell: docker kill -s HUP nginx when: result|changed tags: [nginx] - name: Info is sent to Consul uri: url: http://localhost:8500/v1/kv/proxy/ip method: PUT body: "{{ ip }}" ignore_errors: yes tags: [nginx]
Update Planes Android to 0.3.7 (10)
Categories: - Games License: MIT AuthorName: Cristian Cucu SourceCode: https://github.com/xxxcucus/planes IssueTracker: https://github.com/xxxcucus/planes/issues AutoName: Planes Android RepoType: git Repo: https://github.com/xxxcucus/planes Builds: - versionName: 0.3.6 versionCode: 9 commit: 0.3.6 subdir: java/PlanesAndroid/app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 0.3.6 CurrentVersionCode: 9
Categories: - Games License: MIT AuthorName: Cristian Cucu SourceCode: https://github.com/xxxcucus/planes IssueTracker: https://github.com/xxxcucus/planes/issues AutoName: Planes Android RepoType: git Repo: https://github.com/xxxcucus/planes Builds: - versionName: 0.3.6 versionCode: 9 commit: 0.3.6 subdir: java/PlanesAndroid/app gradle: - yes - versionName: 0.3.7 versionCode: 10 commit: 0.3.7 subdir: java/PlanesAndroid/app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 0.3.7 CurrentVersionCode: 10
Use modules for removing inventory files
- name: Destroy lab instances in AWS hosts: localhost connection: local become: no gather_facts: no vars: ec2_exact_count: 0 ec2_wait: no roles: - manage_ec2_instances post_tasks: - name: Cleanup local files shell: rm -f *.txt
- name: Destroy lab instances in AWS hosts: localhost connection: local become: no gather_facts: yes vars: ec2_exact_count: 0 ec2_wait: no roles: - manage_ec2_instances post_tasks: - name: Find .txt files find: paths: "{{ ansible_env.PWD }}" patterns: '*.txt' register: files - name: Remove inventory files file: state: absent path: "{{ item }}" with_items: "{{ files.files }}"
Add Mac and Win to PR testing pipeline
name: Python package on: [push] jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: [3.5, 3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -e .[test] pip install mypy - name: Test with pytest run: | pytest test - name: Run Mypy but allow failures run: | mypy --show-error-codes --disable-error-code misc tableauserverclient continue-on-error: true
name: Python tests on: [push] jobs: build: strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10.0-rc.2] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -e .[test] pip install mypy - name: Test with pytest run: | pytest test - name: Run Mypy but allow failures run: | mypy --show-error-codes --disable-error-code misc tableauserverclient continue-on-error: true
Add builder and linter checks
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 # Use a package of configuration called an orb. orbs: # Declare a dependency on the welcome-orb welcome: circleci/welcome-orb@0.4.1 # Orchestrate or schedule a set of jobs workflows: # Name the workflow "welcome" welcome: # Run the welcome/run job in its own container jobs: - welcome/run
version: 2.1 # ======================= JOBS ======================= jobs: gapic-generator-java-tests: docker: - image: l.gcr.io/google/bazel working_directory: /home/circleci/project/gapic-generator-java steps: - checkout - run: name: Builder command: | bazel build //... google-java-format: docker: - image: l.gcr.io/google/bazel steps: - attach_workspace: at: /home/circleci/workspace - run: name: Java Linter command: | bazel run //:google_java_format_verification # ======================= WORKFLOWS ======================= workflows: version: 2 run_tests: jobs: - gapic-generator-java-tests - google-java-format: requires: - gapic-generator-java-tests
Test default docker CircleCI image
# PHP CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-php/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/php:7.1.5-browsers # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mysql:9.4 working_directory: ~/repo install_composer: &install_composer command: | cd /tmp EXPECTED_SIGNATURE=$(curl -q https://composer.github.io/installer.sig) php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" ACTUAL_SIGNATURE=$(php -r "echo hash_file('SHA384', 'composer-setup.php');") if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ] then >&2 echo 'ERROR: Invalid installer signature' rm composer-setup.php exit 1 fi sudo php composer-setup.php --quiet --install-dir /usr/local/bin --filename composer RESULT=$? rm composer-setup.php exit $RESULT steps: - checkout - run: <<: *install_composer # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "composer.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: composer install -n --prefer-dist - save_cache: paths: - ./vendor key: v1-dependencies-{{ checksum "composer.json" }} # run tests! - run: phpunit
version: 2 jobs: build: working_directory: /var/www/html docker: - image: php:7.1-nginx environment: APP_ENV: test steps: - run: name: Install system packages command: apt-get update && apt-get -y install git - run: name: Install PHP extensions command: docker-php-ext-install pdo - checkout - run: name: Install Composer command: | php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('SHA384', 'composer-setup.php') === trim(file_get_contents('https://composer.github.io/installer.sig'))) { echo 'Installer verified'; } else { echo 'Installer invalid'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');" - run: name: Display PHP information command: | php -v php composer.phar --version - run: name: Install project dependencies command: php composer.phar install - run: name: Run CS tests command: vendor/bin/phpcs - run: name: Run Unit tests command: vendor/bin/phpunit
Enable zabbix-agentd service at boot.
#cloud-config coreos: units: - name: "zabbix-agentd.service" command: "start" content: | [Unit] Description=Zabbix Agentd After=network.target [Service] Type=forking Restart=on-failure Environment="CONFFILE=/opt/etc/zabbix/zabbix_agentd.conf" Environment="ZBX_VERSION=3.2.1" Environment="ZABBIX_SERVER=monitoramento.ts3corp.com.br" Environment="LD_LIBRARY_PATH=/opt/lib" PIDFile=/var/run/zabbix/zabbix_agentd.pid KillMode=control-group ExecStartPre=/usr/bin/wget https://raw.githubusercontent.com/gcavalcante8808/zabbix-agentd-coreos/master/scripts/bootstrap_agentd.sh -O /bootstrap_agentd.sh ExecStartPre=/usr/bin/chmod +x /bootstrap_agentd.sh ExecStartPre=/bootstrap_agentd.sh ExecStart=/opt/bin/zabbix_agentd -c $CONFFILE ExecStop=/bin/kill -SIGTERM $MAINPID RestartSec=10s [Install] WantedBy=multi-user.target users: - name: "zabbix" no-create-home: true groups: - docker
#cloud-config coreos: units: - name: "zabbix-agentd.service" enable: true command: "start" content: | [Unit] Description=Zabbix Agentd After=network.target [Service] Type=forking Restart=on-failure Environment="CONFFILE=/opt/etc/zabbix/zabbix_agentd.conf" Environment="ZBX_VERSION=3.2.1" Environment="ZABBIX_SERVER=monitoramento.ts3corp.com.br" Environment="LD_LIBRARY_PATH=/opt/lib" PIDFile=/var/run/zabbix/zabbix_agentd.pid KillMode=control-group ExecStartPre=/usr/bin/wget https://raw.githubusercontent.com/gcavalcante8808/zabbix-agentd-coreos/master/scripts/bootstrap_agentd.sh -O /bootstrap_agentd.sh ExecStartPre=/usr/bin/chmod +x /bootstrap_agentd.sh ExecStartPre=/bootstrap_agentd.sh ExecStart=/opt/bin/zabbix_agentd -c $CONFFILE ExecStop=/bin/kill -SIGTERM $MAINPID RestartSec=10s [Install] WantedBy=multi-user.target users: - name: "zabbix" no-create-home: true groups: - docker
Update from Hackage at 2018-09-11T15:42:22Z
homepage: https://github.com/chris-martin/either-list-functions#readme changelog-type: '' hash: 7515dbb2f216359c6fa4b4b36231986ebc85d9db0500631eca09a2c17beea24d test-bench-deps: base: ! '>=4.9 && <4.11' doctest: -any either-list-functions: -any maintainer: Chris Martin <ch.martin@gmail.com> synopsis: Functions involving lists of Either changelog: '' basic-deps: base: ! '>=4.9 && <4.11' all-versions: - '0.0.0.1' - '0.0.0.2' author: Chris Martin <ch.martin@gmail.com> latest: '0.0.0.2' description-type: haddock description: Functions involving lists of Either license-name: Apache-2.0
homepage: https://github.com/chris-martin/either-list-functions changelog-type: '' hash: d027f20d0e51c5fd6c9e97f5a9cdb01bbaad428f9f67f928f0ab8b1b53e9aff8 test-bench-deps: base: ! '>=4.9 && <4.12' doctest: -any either-list-functions: -any maintainer: Chris Martin <ch.martin@gmail.com> synopsis: Functions involving lists of Either changelog: '' basic-deps: base: ! '>=4.9 && <4.12' all-versions: - '0.0.0.1' - '0.0.0.2' - '0.0.0.3' author: Chris Martin <ch.martin@gmail.com> latest: '0.0.0.3' description-type: haddock description: Functions involving lists of Either. license-name: Apache-2.0
Update from Hackage at 2017-08-16T22:48:08Z
homepage: '' changelog-type: '' hash: 6b633d5a00993f25b847201b0b6f8a13398eb2aabbeb421552347772a2322a38 test-bench-deps: {} maintainer: emertens@gmail.com synopsis: A console interface to the game of Set changelog: '' basic-deps: base: ! '>=4.7 && <4.9' vty: ! '>=5.4 && <5.5' setgame: -any random: ! '>=1.1 && <1.2' all-versions: - '1.1' author: '' latest: '1.1' description-type: haddock description: A console interface to the game of Set license-name: BSD3
homepage: '' changelog-type: '' hash: dc7d4f84053b4539d10d4ca42a3171319c4292b3d34c96fc3b846d2babab13ea test-bench-deps: {} maintainer: emertens@gmail.com synopsis: A console interface to the game of Set changelog: '' basic-deps: base: ! '>=4.7 && <4.11' vty: ! '>=5.4 && <5.18' setgame: -any random: ! '>=1.1 && <1.2' all-versions: - '1.1' author: '' latest: '1.1' description-type: haddock description: A console interface to the game of Set license-name: BSD3
Set solr's maxmem back to 3G
production: solr: hostname: ec2-184-73-200-49.compute-1.amazonaws.com port: 7377 path: /solr/collection1 read_timeout: 5 open_timeout: 1.5 log_level: INFO min_memory: 20M max_memory: 500M pid_dir: tmp/pids development: solr: hostname: localhost port: 7377 log_level: ALL path: /solr/collection1 pid_dir: tmp/pids test: solr: hostname: localhost port: 8982 log_level: WARNING path: /solr/collection1 pid_dir: tmp/pids staging: solr: hostname: ec2-50-16-197-147.compute-1.amazonaws.com port: 7377 log_level: WARNING pid_dir: tmp/pids path: /solr/collection1
production: solr: hostname: ec2-184-73-200-49.compute-1.amazonaws.com port: 7377 path: /solr/collection1 read_timeout: 5 open_timeout: 1.5 log_level: INFO min_memory: 20M max_memory: 3G pid_dir: tmp/pids development: solr: hostname: localhost port: 7377 log_level: ALL path: /solr/collection1 pid_dir: tmp/pids test: solr: hostname: localhost port: 8982 log_level: WARNING path: /solr/collection1 pid_dir: tmp/pids staging: solr: hostname: ec2-50-16-197-147.compute-1.amazonaws.com port: 7377 log_level: WARNING pid_dir: tmp/pids path: /solr/collection1
Address Ansible bare variable usage
--- # Copyright 2014, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - name: Create authorized keys file from host vars authorized_key: user: "{{ repo_service_user_name }}" key: "{{ hostvars[item]['repo_pubkey'] | b64decode }}" with_items: groups['repo_all'] tags: - repo-key - repo-key-store
--- # Copyright 2014, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - name: Create authorized keys file from host vars authorized_key: user: "{{ repo_service_user_name }}" key: "{{ hostvars[item]['repo_pubkey'] | b64decode }}" with_items: "{{ groups['repo_all'] }}" tags: - repo-key - repo-key-store
Normalize yaml indentation in Appveyor config
environment: matrix: - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python34-x64" - PYTHON: "C:\\Python27-x64" install: # symlink python from a directory with a space - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%" - "SET PYTHON=\"C:\\Program Files\\Python\"" - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - "python -m pip install tox" before_build: - "python -m pip install wheel" build_script: - python -m setup bdist_wheel test_script: - tox after_test: - ps: | $wc = New-Object 'System.Net.WebClient' $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\junit-test-results.xml)) #deploy_script: # - ps: >- # if($env:appveyor_repo_tag -eq 'True') { # Invoke-Expression "python -m twine upload dist/* --username $env:PYPI_USERNAME --password $env:PYPI_PASSWORD" # } artifacts: - path: dist\*
environment: matrix: - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python34-x64" - PYTHON: "C:\\Python27-x64" install: # symlink python from a directory with a space - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%" - "SET PYTHON=\"C:\\Program Files\\Python\"" - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - "python -m pip install tox" before_build: - "python -m pip install wheel" build_script: - python -m setup bdist_wheel test_script: - tox after_test: - ps: | $wc = New-Object 'System.Net.WebClient' $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\junit-test-results.xml)) #deploy_script: #- ps: >- # if($env:appveyor_repo_tag -eq 'True') { # Invoke-Expression "python -m twine upload dist/* --username $env:PYPI_USERNAME --password $env:PYPI_PASSWORD" # } artifacts: - path: dist\*
Use --frozen-lockfile as it is ci context
version: 2 jobs: build: docker: - image: circleci/node:latest steps: - checkout - run: node --version - run: git status - run: yarn install - run: git status - deploy: name: Maybe Deploy command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then echo "deploy" fi
version: 2 jobs: build: docker: - image: circleci/node:latest steps: - checkout - run: node --version - run: git status - run: yarn install --frozen-lockfile - run: git status - deploy: name: Maybe Deploy command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then echo "deploy" fi
Use the built-in Visual Studio solution.
version: 1.1.{build} os: Visual Studio 2015 environment: BOOST_ROOT: C:\Libraries\boost_1_59_0 BOOST_LIBDIR: C:\Libraries\boost_1_59_0\stage\lib platform: - Win32 - x64 configuration: - Debug - Release install: - cmd: cmake --help - cmd: msbuild /version clone_folder: C:\projects\json-voorhees before_build: - cmd: cd C:\projects\json-voorhees - cmd: md build - cmd: cd build - cmd: if "%platform%"=="Win32" cmake -G "Visual Studio 14" -DCMAKE_BUILD_TYPE=%configuration% -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS="ON" .. - cmd: if "%platform%"=="x64" cmake -G "Visual Studio 14 Win64" -DCMAKE_BUILD_TYPE=%configuration% -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS="ON" .. build: project: C:\projects\json-voorhees\build\json-voorhees.sln test_script: #- cmd: C:\projects\json-voorhees\build\jsonv-tests
version: 1.1.{build} os: Visual Studio 2015 environment: BOOST_ROOT: C:\Libraries\boost_1_59_0 BOOST_LIBDIR: C:\Libraries\boost_1_59_0\stage\lib platform: - Win32 - x64 configuration: - Debug - Release install: - cmd: cmake --help #- cmd: msbuild /version clone_folder: C:\projects\json-voorhees before_build: - cmd: cd C:\projects\json-voorhees\vs2015 - cmd: nuget restore #- cmd: cd C:\projects\json-voorhees #- cmd: md build #- cmd: cd build #- cmd: if "%platform%"=="Win32" cmake -G "Visual Studio 14" -DCMAKE_BUILD_TYPE=%configuration% -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS="ON" .. #- cmd: if "%platform%"=="x64" cmake -G "Visual Studio 14 Win64" -DCMAKE_BUILD_TYPE=%configuration% -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS="ON" .. build: project: C:\projects\json-voorhees\vs2015\JsonVoorhees.sln #project: C:\projects\json-voorhees\build\json-voorhees.sln test_script: #- cmd: C:\projects\json-voorhees\build\jsonv-tests
Test with Node.js version 8 instead of 7
# http://www.appveyor.com/docs/appveyor-yml environment: matrix: - nodejs_version: "6" - nodejs_version: "7" version: "{build}-{branch}" init: - git config --global core.longpaths true clone_depth: 1 matrix: fast_finish: true cache: - node_modules install: - ps: Install-Product node $env:nodejs_version - npm install test_script: - node --version - npm --version - npm run lint - npm test build: off
# http://www.appveyor.com/docs/appveyor-yml environment: matrix: - nodejs_version: "6" - nodejs_version: "8" version: "{build}-{branch}" init: - git config --global core.longpaths true clone_depth: 1 matrix: fast_finish: true cache: - node_modules install: - ps: Install-Product node $env:nodejs_version - npm install test_script: - node --version - npm --version - npm run lint - npm test build: off
Revert "Test: fix removal of e validate_query rewrite YAML test"
--- "Validate query api": - do: indices.create: index: testing body: settings: number_of_replicas: 0 - do: cluster.health: wait_for_status: yellow - do: indices.validate_query: q: query string - is_true: valid - do: indices.validate_query: body: query: invalid_query: {} - is_false: valid - do: indices.validate_query: explain: true - is_true: valid - match: {_shards.failed: 0} - match: {explanations.0.index: 'testing'} - match: {explanations.0.explanation: 'ConstantScore(*:*)'}
--- "Validate query api": - do: indices.create: index: testing body: settings: number_of_replicas: 0 - do: cluster.health: wait_for_status: yellow - do: indices.validate_query: q: query string - is_true: valid - do: indices.validate_query: body: query: invalid_query: {} - is_false: valid - do: indices.validate_query: explain: true - is_true: valid - match: {_shards.failed: 0} - match: {explanations.0.index: 'testing'} - match: {explanations.0.explanation: '*:*'}
Remove ConfigVals.java from Code Climate review
engines: checkstyle: enabled: true channel: "beta" ratings: paths: - "**.java"
engines: checkstyle: enabled: true channel: "beta" ratings: paths: - "**.java" exclude_patterns: - "src/main/java/io/prometheus/common/ConfigVals.java"
Fix RTD config to pass linting
version: 2 sphinx: configuration: docs/conf.py formats: all python: version: 3.8 install: - method: pip path: . extra_requirements: - docs
version: 2 sphinx: configuration: docs/conf.py formats: all python: version: "3.8" install: - method: pip path: . extra_requirements: - docs
Update from Hackage at 2019-03-09T13:47:34Z
homepage: https://github.com/Shou/type-operators#readme changelog-type: '' hash: 8e1e2154c9b3d3b8d267ecc419768044bb56328a814ef7942d6b17e492129171 test-bench-deps: {} maintainer: x@shou.io synopsis: Various type-level operators changelog: '' basic-deps: base: ! '>=4.7 && <5' ghc-prim: -any all-versions: - 0.1.0.0 - 0.1.0.2 - 0.1.0.3 - 0.1.0.4 author: Benedict Aas latest: 0.1.0.4 description-type: haddock description: ! 'A set of type-level operators meant to be helpful, e.g. ($) and a tightly binding (->).' license-name: BSD-3-Clause
homepage: https://github.com/Shou/type-operators#readme changelog-type: '' hash: 8b7f815ee0ba9c8e4a5703fffc9db8a9eba8afba20cc75c16e6d878e97b77b83 test-bench-deps: {} maintainer: x@shou.io synopsis: Various type-level operators changelog: '' basic-deps: base: ! '>=4.7 && <5' ghc-prim: -any all-versions: - 0.1.0.0 - 0.1.0.2 - 0.1.0.3 - 0.1.0.4 - 0.2.0.0 author: Benedict Aas latest: 0.2.0.0 description-type: haddock description: |- A set of type-level operators meant to be helpful, e.g. ($), a tightly binding (->), and the multi-constraint operator (Show <+> [a, b]). license-name: BSD-3-Clause
Use /tmp/swift_test for bouncestorage image
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 general: branches: ignore: - gh-pages workflows: version: 2 test_build: jobs: - build - test jobs: build: docker: - image: circleci/node:8.9.4 steps: - checkout - run: npm install - run: npm run lint test: docker: - image: circleci/node:8.9.4 - image: bouncestorage/swift-aio steps: - checkout - run: cp tests/test.config.circle-ci.js tests/test.config.js - run: npm install - run: npm test machine: timezone: America/Los_Angeles docker: version: latest test: pre: - docker build -t bouncestorage/swift-aio - docker run -P -v /path/to/data:/swift/nodes -t bouncestorage/swift-aio
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 general: branches: ignore: - gh-pages workflows: version: 2 test_build: jobs: - build - test jobs: build: docker: - image: circleci/node:8.9.4 steps: - checkout - run: npm install - run: npm run lint test: docker: - image: circleci/node:8.9.4 - image: bouncestorage/swift-aio steps: - checkout - run: cp tests/test.config.circle-ci.js tests/test.config.js - run: npm install - run: npm test machine: timezone: America/Los_Angeles docker: version: latest test: pre: - docker build -t bouncestorage/swift-aio - docker run -P -v /tmp/swift_test:/swift/nodes -t bouncestorage/swift-aio
Add support for the openSUSE Leap distributions
--- galaxy_info: author: Alfredo Deza description: Installs Ceph Storage Agent license: Apache min_ansible_version: 2.3 platforms: - name: Ubuntu versions: - xenial - name: EL versions: - 7 categories: - system dependencies: []
--- galaxy_info: author: Alfredo Deza description: Installs Ceph Storage Agent license: Apache min_ansible_version: 2.3 platforms: - name: Ubuntu versions: - xenial - name: EL versions: - 7 - name: opensuse versions: - 42.3 categories: - system dependencies: []
Change email to generic forwarded address
- title: home url: / - title: about url: /me - title: contact url: mailto:rodney@tattdcodemonkey.com - title: github url: https://github.com/tattdcodemonkey - title: twitter url: https://twitter.com/tattdcodemonkey
- title: home url: / - title: about url: /me - title: contact url: mailto:website@rodneynorris.com - title: github url: https://github.com/tattdcodemonkey - title: twitter url: https://twitter.com/tattdcodemonkey
Enable IPv6 support in local docker container for development testing.
version: "2" services: app: build: context: . dockerfile: Dockerfile-dev volumes: - .:/app - build_cache:/build tmpfs: # Mount the ember-cli tmp directory as a tmpfs partition for better # performance. - /app/src/api-umbrella/admin-ui/tmp:rw,size=128m,mode=1777 environment: HTTP_PORT: 8100 HTTPS_PORT: 8101 ports: - "8100:8100" - "8101:8101" volumes: build_cache:
version: "2.1" services: app: build: context: . dockerfile: Dockerfile-dev volumes: - .:/app - build_cache:/build tmpfs: # Mount the ember-cli tmp directory as a tmpfs partition for better # performance. - /app/src/api-umbrella/admin-ui/tmp:rw,size=128m,mode=1777 environment: HTTP_PORT: 8100 HTTPS_PORT: 8101 ports: - "8100:8100" - "8101:8101" sysctls: - net.ipv6.conf.all.disable_ipv6=0 volumes: build_cache:
Add another volume for circle
version: "3" services: web: build: . volumes: - .:/app container_name: marli ports: - "3000:3000" env_file: - test.env environment: CI: CODECLIMATE_REPO_TOKEN: COVERALLS_REPO_TOKEN: depends_on: - setup_dbs test: build: . volumes: - .:/app environment: RAILS_ENV: test env_file: - test.env command: "tail -f /dev/null" depends_on: - setup_dbs setup_dbs: build: . volumes: - .:/app environment: MARLI_DB_HOST: db command: bash -c "sleep 5; rake db:setup" depends_on: - db db: image: library/mysql:5.6.22 expose: - "3306" environment: MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
version: "3" services: web: build: . volumes: - .:/app - .:/marli container_name: marli ports: - "3000:3000" env_file: - test.env environment: CI: CODECLIMATE_REPO_TOKEN: COVERALLS_REPO_TOKEN: depends_on: - setup_dbs test: build: . volumes: - .:/app environment: RAILS_ENV: test env_file: - test.env command: "tail -f /dev/null" depends_on: - setup_dbs setup_dbs: build: . volumes: - .:/app environment: MARLI_DB_HOST: db command: bash -c "sleep 5; rake db:setup" depends_on: - db db: image: library/mysql:5.6.22 expose: - "3306" environment: MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
Add step to run mocha tests
version: 2.1 orbs: node: circleci/node@4.1 jobs: build-and-test: docker: - image: cimg/node:lts steps: - checkout - node/install-packages - run: name: Run tests command: npm run test:cli workflows: main: jobs: - build-and-test
version: 2.1 orbs: node: circleci/node@4.1 jobs: build-and-test: docker: - image: cimg/node:lts steps: - checkout - node/install-packages - run: name: Run tests (qunit) command: npm run test:cli - run: name: Run tests (mocha) command: npm run test:mocha workflows: main: jobs: - build-and-test
Update from Hackage at 2020-01-16T16:54:25Z
homepage: https://github.com/andrewthad/run-st changelog-type: markdown hash: ce73f783972aebfdfbf7b577f9cb7877f4f975bc31e9d5aa873fda809e8c8a16 test-bench-deps: {} maintainer: andrew.thaddeus@gmail.com synopsis: runST without boxing penalty changelog: | # Revision history for run-st ## 0.1.0.0 -- 2019-06-21 * First version. Includes support for all types from `primitive`. basic-deps: base: ! '>=4.11.1 && <5' primitive-unlifted: ! '>=0.1.1 && <0.2' primitive: ! '>=0.7 && <0.8' all-versions: - 0.1.0.0 author: Andrew Martin latest: 0.1.0.0 description-type: haddock description: |- This package provides specializations of `runST` that avoid a needless data-constructor allocation for the returned value. If <https://gitlab.haskell.org/ghc/ghc/issues/15127 issue 15127> is resolved, this package will no longer be necessary. license-name: BSD-3-Clause
homepage: https://github.com/andrewthad/run-st changelog-type: markdown hash: a43245bb23984089016772481bf52bfe63eaff0c5040303f69c9b15e80872fdc test-bench-deps: {} maintainer: andrew.thaddeus@gmail.com synopsis: runST without boxing penalty changelog: | # Revision history for run-st ## 0.1.1.0 -- 2020-01-16 * Add support for a lot more types. ## 0.1.0.0 -- 2019-06-21 * First version. Includes support for all types from `primitive`. basic-deps: base: ! '>=4.11.1 && <5' primitive-unlifted: ! '>=0.1.1 && <0.2' primitive: ! '>=0.7 && <0.8' all-versions: - 0.1.0.0 - 0.1.1.0 author: Andrew Martin latest: 0.1.1.0 description-type: haddock description: |- This package provides specializations of `runST` that avoid a needless data-constructor allocation for the returned value. If <https://gitlab.haskell.org/ghc/ghc/issues/15127 issue 15127> is resolved, this package will no longer be necessary. license-name: BSD-3-Clause
Remove -dev.infinity in SDK upper constraint
name: expected_output version: 1.2.1-dev description: Easily write and test multiline input and expected output author: Dart Team <misc@dartlang.org> homepage: https://pub.dartlang.org/packages/expected_output environment: sdk: '>=1.19.0 <2.0.0-dev.infinity' dependencies: path: "^1.4.1" test: "^0.12.20"
name: expected_output version: 1.2.1-dev description: Easily write and test multiline input and expected output author: Dart Team <misc@dartlang.org> homepage: https://pub.dartlang.org/packages/expected_output environment: sdk: '>=1.19.0 <2.0.0' dependencies: path: "^1.4.1" test: "^0.12.20"
Test Ruby `2.0.0` on Travis CI.
env: - COVERAGE=true language: ruby rvm: - 2.1.5 services: mongodb notifications: email: - didier@nocoffee.fr branches: except: - gh-pages
env: - COVERAGE=true language: ruby rvm: - 2.1.5 - 2.2.0 services: mongodb notifications: email: - didier@nocoffee.fr branches: except: - gh-pages
Install xorg-dev and libxss-dev in TRavis
language: cpp compiler: - gcc - clang install: make deps script: - source /opt/qt53/bin/qt53-env.sh && make clean && make test && make branches: only: - master notifications: recipients: - tanel.lebedev@gmail.com email: on_success: change on_failure: always before_install: - sudo apt-add-repository -y ppa:beineri/opt-qt531 - sudo apt-get -qq update - sudo apt-get -qq install qt53tools qt53svg qt53webkit
language: cpp compiler: - gcc - clang install: make deps script: - source /opt/qt53/bin/qt53-env.sh && make clean && make test && make branches: only: - master notifications: recipients: - tanel.lebedev@gmail.com email: on_success: change on_failure: always before_install: - sudo apt-add-repository -y ppa:beineri/opt-qt531 - sudo apt-get -qq update - sudo apt-get -qq install qt53tools qt53svg qt53webkit libxss-dev xorg-dev
Update from Hackage at 2018-04-07T23:00:28Z
homepage: https://github.com/tonyday567/numhask#readme changelog-type: '' hash: ed996911b7c0b8fd7431ba8c971a71ceb9e6ef6ab1ce85a1759342a85375c16b test-bench-deps: base: ! '>=4.7 && <5' numhask-prelude: -any doctest: -any tasty: -any maintainer: tonyday567@gmail.com synopsis: A numeric prelude changelog: '' basic-deps: numhask: ! '>=0.2 && <0.3' base: ! '>=4.7 && <4.12' protolude: ! '>=0.1 && <0.3' tasty-quickcheck: ! '>=0.9.2 && <1.0' tasty: ! '>=1.0.1.1 && <1.1' QuickCheck: ! '>=2.8 && <3' all-versions: - '0.0.1.0' author: Tony Day latest: '0.0.1.0' description-type: haddock description: A numeric prelude, combining protolude and numhask. license-name: BSD3
homepage: https://github.com/tonyday567/numhask#readme changelog-type: '' hash: 642b159109c9743622364f063acf375d49cddeacee9313da39c898040b002117 test-bench-deps: base: ! '>=4.7 && <5' numhask-prelude: -any doctest: -any tasty: -any maintainer: tonyday567@gmail.com synopsis: A numeric prelude changelog: '' basic-deps: numhask: ! '>=0.2 && <0.3' base: ! '>=4.7 && <4.12' protolude: ! '>=0.1 && <0.3' tasty-quickcheck: ! '>=0.9.2 && <1.0' tasty: ! '>=1.0.1.1 && <1.1' QuickCheck: ! '>=2.8 && <3' all-versions: - '0.0.1.0' - '0.0.2.0' author: Tony Day latest: '0.0.2.0' description-type: haddock description: A numeric prelude, combining protolude and numhask. license-name: BSD3
Install extra dependencies required by some models and log test durations
name: Python tests on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }} strategy: matrix: os: [ubuntu-latest, macOS-latest] python: ['3.8', '3.7'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Run tests run: | pytest
name: Python tests on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }} strategy: matrix: os: [ubuntu-latest, macOS-latest] python: ['3.8', '3.7'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install pytest pytest-timeout if [ -f requirements.txt ]; then pip install -r requirements.txt; fi pip install scipy pip install git+https://github.com/mapillary/inplace_abn.git@v1.0.11 - name: Run tests run: | pytest -vv --durations=0 ./tests
Update Randomix to 1.11 (27)
Categories: - Games License: MIT AuthorName: minar AuthorEmail: minar.tastic@gmail.com AuthorWebSite: https://minar.ml/ SourceCode: https://github.com/m-i-n-a-r/randomix IssueTracker: https://github.com/m-i-n-a-r/randomix/issues AutoName: Randomix RepoType: git Repo: https://github.com/m-i-n-a-r/randomix.git Builds: - versionName: '1.10' versionCode: 26 commit: v1.10 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.10' CurrentVersionCode: 26
Categories: - Games License: MIT AuthorName: minar AuthorEmail: minar.tastic@gmail.com AuthorWebSite: https://minar.ml/ SourceCode: https://github.com/m-i-n-a-r/randomix IssueTracker: https://github.com/m-i-n-a-r/randomix/issues AutoName: Randomix RepoType: git Repo: https://github.com/m-i-n-a-r/randomix.git Builds: - versionName: '1.10' versionCode: 26 commit: v1.10 subdir: app gradle: - yes - versionName: '1.11' versionCode: 27 commit: v1.11 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.11' CurrentVersionCode: 27
Update MensaPlan to v0.4.1 (4)
AntiFeatures: - NonFreeNet Categories: - Sports & Health License: GPL-2.0-only SourceCode: https://github.com/csicar/MensaPlan IssueTracker: https://github.com/csicar/MensaPlan/issues AutoName: MensaPlan Description: |- ''MensaPlan'' versorgt Dich mit den Speiseplänen Deiner Kantine: * Mensa Hochschule Pforzheim * Mensa am Adenauer Ring * Mensa Molkestraße * Mensa Erzbergerstraße * Mensa Schloss Gottesaue * Mensa I Holzgarten (Stuttgart) Neben der Auflistung der Gerichte und ihrer Preise ist es auch möglich, selbige auf Allergene zu filtern. RepoType: git Repo: https://github.com/csicar/MensaPlan Builds: - versionName: v0.4.0 versionCode: 3 commit: v0.4.0 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: v0.4.0 CurrentVersionCode: 3
AntiFeatures: - NonFreeNet Categories: - Sports & Health License: GPL-2.0-only SourceCode: https://github.com/csicar/MensaPlan IssueTracker: https://github.com/csicar/MensaPlan/issues AutoName: MensaPlan Description: |- ''MensaPlan'' versorgt Dich mit den Speiseplänen Deiner Kantine: * Mensa Hochschule Pforzheim * Mensa am Adenauer Ring * Mensa Molkestraße * Mensa Erzbergerstraße * Mensa Schloss Gottesaue * Mensa I Holzgarten (Stuttgart) Neben der Auflistung der Gerichte und ihrer Preise ist es auch möglich, selbige auf Allergene zu filtern. RepoType: git Repo: https://github.com/csicar/MensaPlan Builds: - versionName: v0.4.0 versionCode: 3 commit: v0.4.0 subdir: app gradle: - yes - versionName: v0.4.1 versionCode: 4 commit: v0.4.1 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: v0.4.1 CurrentVersionCode: 4
Configure CI for bundler v1
name: CI on: push jobs: test: name: Tests runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: - "2.5" - "2.6" - "2.7" - "3.0" bundler: - "1" - "2" env: BUNDLE_GEMFILE: gemfiles/bundler${{ matrix.bundler }}.gemfile steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler: ${{ matrix.bundler }} bundler-cache: true - name: Install bundler v1 # Even if we're testing bundler v2, we need v1 available because the fixture components have it in their Gemfile.locks run: gem install bundler -v "~> 1" --no-document - name: Run tests run: bundle exec rake spec
name: CI on: push jobs: test: name: Tests runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: - "2.5" - "2.6" - "2.7" - "3.0" bundler: - "1" steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler: ${{ matrix.bundler }} bundler-cache: true - name: Run tests run: bundle exec rake spec
Use .NET Core sdk 2.1.402
# ASP.NET Core # Build and test ASP.NET Core web applications targeting .NET Core. # Add steps that run tests, create a NuGet package, deploy, and more: # https://docs.microsoft.com/vsts/pipelines/languages/dotnet-core variables: BuildConfiguration: 'Release' steps: - task: DotNetCoreInstaller@0 displayName: 'Use .NET Core sdk 3.0.100' inputs: version: 3.0.100 - task: DotNetCoreCLI@2 displayName: Test inputs: command: test projects: '*[Tt]ests/*.csproj' arguments: '-c $(BuildConfiguration)' - task: DotNetCoreCLI@2 displayName: 'dotnet build' inputs: projects: VkNet/VkNet.csproj arguments: '-o $(Build.ArtifactStagingDirectory) -c $(BuildConfiguration) --version-suffix $(Build.BuildId)' - script: 'dotnet nuget push *.nupkg -k $(Parameters.MyGetKey) -s $(Parameters.MyGetFeed)' workingDirectory: '$(Build.ArtifactStagingDirectory)' displayName: 'Command Line Script' - task: EvgenyChernyi.telegram-notification-extension.sample-telegram-task.SendTelegramNotification@0 displayName: 'Send Telegram Notification' inputs: botToken: '$(Parameters.botToken)' chats: '$(Parameters.chats)' message: '<code>Reason: $(Build.Reason) Build №: $(Build.BuildNumber) VkNet был успешно собран!</code>' buildQueuedBy: true
# ASP.NET Core # Build and test ASP.NET Core web applications targeting .NET Core. # Add steps that run tests, create a NuGet package, deploy, and more: # https://docs.microsoft.com/vsts/pipelines/languages/dotnet-core variables: BuildConfiguration: 'Release' steps: - task: DotNetCoreInstaller@0 displayName: 'Use .NET Core sdk 2.1.402' inputs: version: 2.1.402 - task: DotNetCoreCLI@2 displayName: Test inputs: command: test projects: '*[Tt]ests/*.csproj' arguments: '-c $(BuildConfiguration) -f netcoreapp2.0' - task: DotNetCoreCLI@2 displayName: 'dotnet build' inputs: projects: VkNet/VkNet.csproj arguments: '-o $(Build.ArtifactStagingDirectory) -c $(BuildConfiguration) --version-suffix $(Build.BuildId)' - script: 'dotnet nuget push *.nupkg -k $(Parameters.MyGetKey) -s $(Parameters.MyGetFeed)' workingDirectory: '$(Build.ArtifactStagingDirectory)' displayName: 'Command Line Script' - task: EvgenyChernyi.telegram-notification-extension.sample-telegram-task.SendTelegramNotification@0 displayName: 'Send Telegram Notification' inputs: botToken: '$(Parameters.botToken)' chats: '$(Parameters.chats)' message: '<code>Reason: $(Build.Reason) Build №: $(Build.BuildNumber) VkNet был успешно собран!</code>' buildQueuedBy: true
Add Cucumber HTML Formatter for CI
<% rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}" std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip" %> default: <%= std_opts %> features wip: --tags @wip:3 --wip features rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
<% rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}" std_opts = "--format html --out tmp/features.html --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip" %> default: <%= std_opts %> features wip: --tags @wip:3 --wip features rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
Use nodemon for client app.
version: "3" services: mongo: image: mongo:latest ports: - "27017" volumes: - ./docker/mongo/data:/data/db node-server: build: context: . dockerfile: "./docker/nodejs.dockerfile" volumes: - "./app:/src/app" ports: - "3031:3001" depends_on: - mongo links: - mongo command: bash -c "npm install && nodemon --legacy-watch ./bin/www ../server 3001" node-client: build: context: . dockerfile: "./docker/nodejs.dockerfile" volumes: - "./app:/src/app" ports: - "3030:3000" depends_on: - node-server links: - node-server command: bash -c "./node_modules/.bin/grunt build && node ./bin/www ../client 3000"
version: "3" services: mongo: image: mongo:latest ports: - "27017" volumes: - ./docker/mongo/data:/data/db node-server: build: context: . dockerfile: "./docker/nodejs.dockerfile" volumes: - "./app:/src/app" ports: - "3031:3001" depends_on: - mongo links: - mongo command: bash -c "npm install && nodemon --legacy-watch ./bin/www ../server 3001" node-client: build: context: . dockerfile: "./docker/nodejs.dockerfile" volumes: - "./app:/src/app" ports: - "3030:3000" depends_on: - node-server links: - node-server command: bash -c "./node_modules/.bin/grunt build && nodemon --legacy-watch ./bin/www ../client 3000"
Update from Hackage at 2017-07-28T06:40:15Z
homepage: https://github.com/mikeplus64/aeson-flowtyped#readme changelog-type: '' hash: 7f408c75580e37fc39cbe1deb7a760d85f1a4bf69c4bdf0e74a706a6fb5a932c test-bench-deps: base: ! '>=4.9 && <4.11' unordered-containers: -any text: -any aeson-flowtyped: -any tasty-hunit: -any tasty: -any recursion-schemes: -any aeson: ! '>=0.8' vector: -any maintainer: mike@quasimal.com synopsis: Create Flow type definitions from Haskell data types. changelog: '' basic-deps: free: -any wl-pprint: -any reflection: -any base: ! '>=4.9 && <4.11' time: -any unordered-containers: -any text: -any containers: -any recursion-schemes: -any scientific: -any aeson: ! '>=0.8' vector: -any all-versions: - '0.7.0' - '0.7.1' - '0.7.2' - '0.7.4' author: Mike Ledger <mike@quasimal.com> latest: '0.7.4' description-type: haddock description: Create Flow type definitions from Haskell data types. license-name: BSD3
homepage: https://github.com/mikeplus64/aeson-flowtyped#readme changelog-type: '' hash: 61bd1c7b0c55c9c0068cf017d1bbc573ef66fdd23a61da85a75b8d3be1bf4ed3 test-bench-deps: base: ! '>=4.9 && <4.11' unordered-containers: -any text: -any aeson-flowtyped: -any tasty-hunit: -any tasty: -any recursion-schemes: -any aeson: ! '>=0.8' vector: -any maintainer: mike@quasimal.com synopsis: Create Flow type definitions from Haskell data types. changelog: '' basic-deps: free: -any wl-pprint: -any reflection: -any base: ! '>=4.9 && <4.11' time: -any unordered-containers: -any text: -any containers: -any recursion-schemes: -any scientific: -any aeson: ! '>=0.8' vector: -any all-versions: - '0.7.0' - '0.7.1' - '0.7.2' - '0.7.4' - '0.7.5' author: Mike Ledger <mike@quasimal.com> latest: '0.7.5' description-type: haddock description: Create Flow type definitions from Haskell data types. license-name: BSD3
Add support for migrating the database if it is already set up.
- name: Create the LinuxFR user user: name=linuxfr home=/data/dev/linuxfr state=present - name: Clone the LinuxFR repository git: repo=git://github.com/nono/linuxfr.org.git dest=/data/dev/linuxfr/source - name: Configure the Rails apps's database copy: src=linuxfr/database.yml dest=/data/dev/linuxfr/source/config/database.yml - name: Configure the Rails apps's secrets copy: src=linuxfr/secret.yml dest=/data/dev/linuxfr/source/config/secret.yml - name: Install the Rails app using Bundler command: bundle install chdir=/data/dev/linuxfr/source - name: Setup ElasticSearch command: desi install chdir=/data/dev/linuxfr/source - name: Setup the database command: rake db:setup chdir=/data/dev/linuxfr/source - name: Flush the Redis database command: redis-cli flushdb # This doesn't work because undefined method `tire' for #<Class:0x00000005cdedf8> (NoMethodError) #- name: Initialize indexes # command: ./script/rails r '[Diary, News, Page, Poll, Post, Tracker, WikiPage].each {|m| m.tire.index.refresh }' # chdir=/data/dev/linuxfr
- name: Create the LinuxFR user user: name=linuxfr home=/data/dev/linuxfr state=present - name: Clone the LinuxFR repository git: repo=git://github.com/nono/linuxfr.org.git dest=/data/dev/linuxfr/source - name: Configure the Rails apps's database copy: src=linuxfr/database.yml dest=/data/dev/linuxfr/source/config/database.yml - name: Configure the Rails apps's secrets copy: src=linuxfr/secret.yml dest=/data/dev/linuxfr/source/config/secret.yml - name: Install the Rails app using Bundler command: bundle install chdir=/data/dev/linuxfr/source - name: Setup ElasticSearch command: desi install chdir=/data/dev/linuxfr/source - name: Check if the database already exists command: rake db:version chdir=/data/dev/linuxfr/source ignore_errors: True register: db_version - name: Setup the database command: rake db:setup chdir=/data/dev/linuxfr/source when: db_version|failed - name: Migrate the database command: rake db:migrate chdir=/data/dev/linuxfr/source when: db_version|success - name: Flush the Redis database command: redis-cli flushdb # This doesn't work because undefined method `tire' for #<Class:0x00000005cdedf8> (NoMethodError) #- name: Initialize indexes # command: ./script/rails r '[Diary, News, Page, Poll, Post, Tracker, WikiPage].each {|m| m.tire.index.refresh }' # chdir=/data/dev/linuxfr
Update circleci/mongo:3 Docker digest to 1b30c3
version: 2 jobs: build: docker: - image: circleci/node:8@sha256:ea6a1dfa308a6af75b880f1db86da4cf78955e68d1a56dd2e64280fc546665a0 - image: circleci/mongo:3@sha256:04a81e1cd52345ebf5886874621d47f32662810213ef327532bf2aa63ae86dc6 steps: - checkout - run: yarn install --frozen-lockfile - run: yarn test - run: yarn codecov
version: 2 jobs: build: docker: - image: circleci/node:8@sha256:ea6a1dfa308a6af75b880f1db86da4cf78955e68d1a56dd2e64280fc546665a0 - image: circleci/mongo:3@sha256:1b30c31e8c3932064af462d101b5c114d94a2f9e3341391a681f5f1d1aa301c6 steps: - checkout - run: yarn install --frozen-lockfile - run: yarn test - run: yarn codecov
Index additional service manual formats
migrated: # Contacts - contact # Publisher - answer - guide - help_page - licence - local_transaction - place - transaction - simple_smart_answer # Specialist Publisher - aaib_report - asylum_support_decision - business_finance_support_scheme - cma_case - countryside_stewardship_grant - dfid_research_output - drug_safety_update - employment_appeal_tribunal_decision - employment_tribunal_decision - european_structural_investment_fund # use Rummager name as mapping occurs before validation check - international_development_fund - maib_report - medical_safety_alert - raib_report - service_standard_report - tax_tribunal_decision - utaac_decision # Other - hmrc_manual - hmrc_manual_section - manual - manual_section - task_list indexable: - service_manual_guide - service_manual_topic - travel_advice
migrated: # Contacts - contact # Publisher - answer - guide - help_page - licence - local_transaction - place - transaction - simple_smart_answer # Specialist Publisher - aaib_report - asylum_support_decision - business_finance_support_scheme - cma_case - countryside_stewardship_grant - dfid_research_output - drug_safety_update - employment_appeal_tribunal_decision - employment_tribunal_decision - european_structural_investment_fund # use Rummager name as mapping occurs before validation check - international_development_fund - maib_report - medical_safety_alert - raib_report - service_standard_report - tax_tribunal_decision - utaac_decision # Other - hmrc_manual - hmrc_manual_section - manual - manual_section - task_list indexable: - service_manual_guide - service_manual_homepage - service_manual_service_standard - service_manual_topic - travel_advice
Update circleci/python:3.7.3 Docker digest to d95601a
# Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: - image: circleci/python:3.7.3@sha256:07d4860bef011cb9f133bdb967fc707be56780968db7091f2770e97bebfbfd44 working_directory: ~/repo steps: - checkout - restore_cache: keys: - cache-{{ checksum "Pipfile.lock" }} - cache- - run: name: Install dependencies command: | python3 -m venv .venv pip install --user pipenv pipenv sync --dev - save_cache: key: cache-{{ checksum "Pipfile.lock" }} paths: - ~/.local - ~/.cache - run: name: run tests command: | pipenv run flake8 bamboo_crawler tests export AWS_ACCESS_KEY_ID='1234' export AWS_SECRET_ACCESS_KEY='5678' pipenv run python setup.py test - store_artifacts: path: test-reports destination: test-reports
# Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: - image: circleci/python:3.7.3@sha256:d95601afe4bf164ac9356bef5a1fa4fe027e5cd95e65c846bf610be4dc2a4de3 working_directory: ~/repo steps: - checkout - restore_cache: keys: - cache-{{ checksum "Pipfile.lock" }} - cache- - run: name: Install dependencies command: | python3 -m venv .venv pip install --user pipenv pipenv sync --dev - save_cache: key: cache-{{ checksum "Pipfile.lock" }} paths: - ~/.local - ~/.cache - run: name: run tests command: | pipenv run flake8 bamboo_crawler tests export AWS_ACCESS_KEY_ID='1234' export AWS_SECRET_ACCESS_KEY='5678' pipenv run python setup.py test - store_artifacts: path: test-reports destination: test-reports
Update from Forestry.io - Updated Forestry configuration
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: directory path: content/veille label: Veille create: all match: "**/*" - type: directory path: content/oss label: Oss create: all match: "**/*" - type: directory path: content/blog label: Blog create: all match: "**/*" - type: directory path: content/talks label: Talks create: all match: "**/*" - type: directory path: content label: Pages create: all match: "*" upload_dir: static/uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: preview_env: - HUGO_ENV=staging - HUGO_VERSION=0.80.0 preview_output_directory: public preview_docker_image: forestryio/hugo:latest mount_path: "/srv" working_dir: "/srv" instant_preview_command: hugo server -D -E -F --renderToDisk -d public version: 0.80.0
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: directory path: content/veille label: Veille create: all match: "**/*" - type: directory path: content/oss label: Oss create: all match: "**/*" - type: directory path: content/blog label: Blog create: all match: "**/*" - type: directory path: content/talks label: Talks create: all match: "**/*" - type: directory path: content label: Pages create: all match: "*" upload_dir: static/img public_path: "/img" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: preview_env: - HUGO_ENV=staging - HUGO_VERSION=0.80.0 preview_output_directory: public preview_docker_image: forestryio/hugo:latest mount_path: "/srv" working_dir: "/srv" instant_preview_command: hugo server -D -E -F --renderToDisk -d public version: 0.80.0
Fix version number typo and add license_file to about
package: name: conda-verify version: "0.2.1" source: path: ../ requirements: build: - python - setuptools run: - python build: script: python setup.py install about: home: https://github.com/conda/conda-verify license: BSD
package: name: conda-verify version: "2.0.1" source: path: ../ requirements: build: - python - setuptools run: - python build: script: python setup.py install about: home: https://github.com/conda/conda-verify license: BSD license_file: LICENSE.txt
Update from Hackage at 2018-10-01T11:46:03Z
homepage: https://github.com/andrewthad/asn1-codec changelog-type: '' hash: 70ec2a9e531b1356127479fdeef9e3497a226ffddb544963188a65c856d816d8 test-bench-deps: test-framework-hunit: -any bytestring: -any test-framework: -any base: -any text: -any asn1-codec: -any HUnit: -any base16-bytestring: -any aeson: -any vector: -any directory: -any maintainer: andrew.thaddeus@gmail.com synopsis: Encode and decode ASN.1 changelog: '' basic-deps: bytestring: -any stm: -any base: ! '>=4.9 && <5' text: -any network: -any integer-gmp: -any memory: -any containers: -any contravariant: -any cryptonite: -any hashable: -any pretty: -any vector: -any all-versions: - '0.1.0' - '0.2.0' author: Andrew Martin latest: '0.2.0' description-type: haddock description: Add a better description later license-name: BSD3
homepage: https://github.com/andrewthad/asn1-codec changelog-type: '' hash: 09355f6ff521412fe003ba563e4de48e9256b31728b00589814f816840043534 test-bench-deps: test-framework-hunit: -any bytestring: -any test-framework: -any base: -any text: -any asn1-codec: -any HUnit: -any base16-bytestring: -any aeson: -any vector: -any directory: -any maintainer: andrew.thaddeus@gmail.com synopsis: Encode and decode ASN.1 changelog: '' basic-deps: bytestring: -any stm: -any base: ! '>=4.9 && <4.12' text: -any network: -any integer-gmp: -any memory: -any containers: -any contravariant: -any cryptonite: -any hashable: -any pretty: -any vector: -any all-versions: - '0.1.0' - '0.2.0' author: Andrew Martin latest: '0.2.0' description-type: haddock description: Add a better description later license-name: BSD3
Update python versions in github actions
name: Python package on: [push] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pipenv pipenv install --dev - name: Lint with black run: | make black - name: Test with pytest run: | make test - name: Send Push Notification uses: techulus/push-github-action@v0.0.2 env: API_KEY: ${{ secrets.PUSH_API_KEY }} MESSAGE: "Build Success!"
name: Python package on: [push] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [3.8, 3.9] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pipenv pipenv install --dev - name: Lint with black run: | make black - name: Test with pytest run: | make test - name: Send Push Notification uses: techulus/push-github-action@v0.0.2 env: API_KEY: ${{ secrets.PUSH_API_KEY }} MESSAGE: "Build Success!"
Update it to version 1.7.2 to fix compilation error on Mac
package: name: pcl version: 1.7.1 source: fn: pcl-1.7.1.tar.gz url: https://github.com/PointCloudLibrary/pcl/archive/pcl-1.7.1.tar.gz patches: - supervoxel.patch [win] - gp3_surface.patch [win] - mls_smoothing.patch [win] requirements: build: - cmake - eigen3 - flann - boost <1.56.0 - libpng [unix] - zlib [unix] run: - eigen3 - flann - boost <1.56.0 - libpng [unix] - zlib [unix] about: home: http://pointclouds.org/ license: BSD
package: name: pcl version: 1.7.2 source: fn: pcl-1.7.2.tar.gz url: https://github.com/PointCloudLibrary/pcl/archive/pcl-1.7.2.tar.gz patches: - supervoxel.patch [win] - gp3_surface.patch [win] - mls_smoothing.patch [win] requirements: build: - cmake - eigen3 - flann - boost <1.56.0 - libpng [unix] - zlib [unix] - pkg-config [unix] run: - eigen3 - flann - boost <1.56.0 - libpng [unix] - zlib [unix] about: home: http://pointclouds.org/ license: BSD
Use token in bolt project
--- name: psick analytics: true apply-settings: evaltrace: true log_level: debug show_diff: true trace: true modules: - git: https://github.com/example42/psick-hieradata ref: production - 'example42/tp' - 'example42/tinydata' - 'example42/psick' - 'example42/tp_profile' - 'puppetlabs/concat' - 'puppetlabs/stdlib' - 'puppetlabs/vcsrepo' - 'puppetlabs/firewall' - 'puppetlabs/inifile' - 'puppetlabs/catalog_preview' - 'jdowning/rbenv' - 'trlinkin/noop' - 'puppet/archive' format: human hiera-config: "hiera.yaml" modulepath: - "site" - "modules" tasks: - tp::test - psick::puppet_* puppetdb: server_urls: ["https://puppet.lab.psick.io:8081"] cacert: /etc/puppetlabs/puppet/ssl/certs/ca.pem cert: /etc/puppetlabs/puppet/ssl/certs/lab.psick.io.pem key: /home/lab/.puppetlabs/lab.psick.io.pem
--- name: psick analytics: true apply-settings: evaltrace: true log_level: debug show_diff: true trace: true modules: - git: https://github.com/example42/psick-hieradata ref: production - 'example42/tp' - 'example42/tinydata' - 'example42/psick' - 'example42/tp_profile' - 'puppetlabs/concat' - 'puppetlabs/stdlib' - 'puppetlabs/vcsrepo' - 'puppetlabs/firewall' - 'puppetlabs/inifile' - 'puppetlabs/catalog_preview' - 'jdowning/rbenv' - 'trlinkin/noop' - 'puppet/archive' format: human hiera-config: "hiera.yaml" modulepath: - "site" - "modules" tasks: - tp::test - psick::puppet_* puppetdb: server_urls: ["https://puppet.lab.psick.io:8081"] cacert: /etc/puppetlabs/puppet/ssl/certs/ca.pem token: ~/.puppetlabs/token
Change config to 4 spaces
app: port: 3000 # namespace: # The base path for this application. Leave empty or omit for none. namespace: /site # trustProxy: # Whether to set the Express 'trust proxy' setting, which tells Express to # use the X-Forwarded-* headers to get client information like IP address and # protocol. trustProxy: true # secret: # The secret key to use for Express sessions. secret: please use something better than this # mongoUrl: # The connection URL to use for MongoDB (to store sessions). mongoUrl: mongodb://localhost/connect-sessions logging: # level: # The minimum log level that will be shown in console output. Levels are: # silly:0, input:1, verbose:2, prompt:3, debug:4, http:4.5, info:5, data:6, # help:7, warn:8, error:9 level: http auth: # digestFile: # The file containing usernames and hashed passwords in htdigest format # (lines like 'user:realm:hash' where hash = md5(username:realm:password)) digestFile: /path/to/users.digest
app: port: 3000 # namespace: # The base path for this application. Leave empty or omit for none. namespace: /site # trustProxy: # Whether to set the Express 'trust proxy' setting, which tells Express to # use the X-Forwarded-* headers to get client information like IP address and # protocol. trustProxy: true # secret: # The secret key to use for Express sessions. secret: please use something better than this # mongoUrl: # The connection URL to use for MongoDB (to store sessions). mongoUrl: mongodb://localhost/connect-sessions logging: # level: # The minimum log level that will be shown in console output. Levels are: # silly:0, input:1, verbose:2, prompt:3, debug:4, http:4.5, info:5, data:6, # help:7, warn:8, error:9 level: http auth: # digestFile: # The file containing usernames and hashed passwords in htdigest format # (lines like 'user:realm:hash' where hash = md5(username:realm:password)) digestFile: /path/to/users.digest
Remove failed PHP 7.0 testing
before_script: - apt-get update -yqq - apt-get install -yqq libmcrypt-dev g++ libsqlite3-dev libssl-dev libcurl3-dev libxml2-dev libzzip-dev libpq-dev - rm -rf /var/lib/apt/lists/* - docker-php-ext-install hash json mcrypt mbstring pdo pdo_mysql simplexml pdo_pgsql pdo_sqlite - echo "date.timezone = UTC" > /usr/local/etc/php/php.ini services: - mysql variables: # Configure mysql service (https://hub.docker.com/_/mysql/) MYSQL_DATABASE: freischutz_test MYSQL_ROOT_PASSWORD: mysql php5.6: image: mileschou/phalcon:5.6 script: - curl --location --output /usr/local/bin/phpunit https://phar.phpunit.de/phpunit-5.7.9.phar - chmod +x /usr/local/bin/phpunit - phpunit --configuration phpunit.xml php7: image: mileschou/phalcon:7.0 script: - curl --location --output /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar - chmod +x /usr/local/bin/phpunit - phpunit --configuration phpunit.xml
before_script: - apt-get update -yqq - apt-get install -yqq libmcrypt-dev g++ libsqlite3-dev libssl-dev libcurl3-dev libxml2-dev libzzip-dev libpq-dev - rm -rf /var/lib/apt/lists/* - docker-php-ext-install hash json mcrypt mbstring pdo pdo_mysql simplexml pdo_pgsql pdo_sqlite - echo "date.timezone = UTC" > /usr/local/etc/php/php.ini services: - mysql variables: # Configure mysql service (https://hub.docker.com/_/mysql/) MYSQL_DATABASE: freischutz_test MYSQL_ROOT_PASSWORD: mysql php5.6: image: mileschou/phalcon:5.6 script: - curl --location --output /usr/local/bin/phpunit https://phar.phpunit.de/phpunit-5.7.9.phar - chmod +x /usr/local/bin/phpunit - phpunit --configuration phpunit.xml
Use correct name for the script.
# This file is generated by GitLab CI before_script: - ./scripts/build_prepare.sh - ruby -v - which ruby - gem install bundler --no-ri --no-rdoc - cp config/gitlab.yml.example config/gitlab.yml - touch log/application.log - touch log/test.log - bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}" - bundle exec rake db:create RAILS_ENV=test Rspec: script: - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec tags: - ruby - mysql Spinach: script: - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach tags: - ruby - mysql Jasmine: script: - RAILS_ENV=test SIMPLECOV=true bundle exec rake jasmine:ci tags: - ruby - mysql Rubocop: script: - bundle exec rubocop tags: - ruby - mysql Brakeman: script: - bundle exec rake brakeman tags: - ruby - mysql
# This file is generated by GitLab CI before_script: - ./scripts/prepare_build.sh - ruby -v - which ruby - gem install bundler --no-ri --no-rdoc - cp config/gitlab.yml.example config/gitlab.yml - touch log/application.log - touch log/test.log - bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}" - bundle exec rake db:create RAILS_ENV=test Rspec: script: - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec tags: - ruby - mysql Spinach: script: - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach tags: - ruby - mysql Jasmine: script: - RAILS_ENV=test SIMPLECOV=true bundle exec rake jasmine:ci tags: - ruby - mysql Rubocop: script: - bundle exec rubocop tags: - ruby - mysql Brakeman: script: - bundle exec rake brakeman tags: - ruby - mysql
Use the correct rake test command
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: [2.6, 2.7, 3.0] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rake ci
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: [2.6, 2.7, 3.0] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rake
Update from Hackage at 2022-10-25T11:41:41Z
homepage: http://github.com/lyokha/nginx-log-plugin changelog-type: markdown hash: 2658a5694aa44bcc36b29f42db0115edf9776eb2a036319dfb00dcc567cff114 test-bench-deps: {} maintainer: Alexey Radkov <alexey.radkov@gmail.com> synopsis: Native Nginx logging from configuration files and Haskell handlers changelog: |+ ### 1.5 - Auto-generate haddocks for generated functions. basic-deps: bytestring: -any base: '>=4.8 && <5' ngx-export: '>=1.7.1' ngx-export-tools: '>=0.4.9.0' template-haskell: '>=2.11.0' all-versions: - '1.5' author: Alexey Radkov <alexey.radkov@gmail.com> latest: '1.5' description-type: haddock description: |- Native Nginx logging from configuration files and Haskell handlers. This is a part of <https://github.com/lyokha/nginx-log-plugin>. Custom libraries are required to be linked against C module /ngx_log_plugin/. license-name: BSD-3-Clause
homepage: http://github.com/lyokha/nginx-log-plugin changelog-type: markdown hash: 965848a91b544080b7f3bf95248b81ed77fe98edf0aecd3ce226ba47a73fda73 test-bench-deps: {} maintainer: Alexey Radkov <alexey.radkov@gmail.com> synopsis: Native Nginx logging from configuration files and Haskell handlers changelog: |+ ### 1.5.1 - Fixed dynamic linker errors when building haddocks. ### 1.5 - Auto-generate haddocks for generated functions. basic-deps: bytestring: -any base: '>=4.8 && <5' ngx-export: '>=1.7.1' ngx-export-tools: '>=0.4.9.0' template-haskell: '>=2.11.0' all-versions: - '1.5' - 1.5.1 author: Alexey Radkov <alexey.radkov@gmail.com> latest: 1.5.1 description-type: haddock description: |- Native Nginx logging from configuration files and Haskell handlers. This is a part of <https://github.com/lyokha/nginx-log-plugin>. Custom libraries are required to be linked against C module /ngx_log_plugin/. license-name: BSD-3-Clause
Fix Docken environment variable syntax
version: '3' services: db: image: mysql:5.6 environment: MYSQL_ROOT_PASSWORD: r00t MYSQL_DATABASE: ligoj MYSQL_USER: ligoj MYSQL_PASSWORD: ligoj api: image: ligoj/ligoj-api:3.0.0 environment: SERVER_HOST: "0.0.0.0" SERVER_PORT: "8081" CUSTOM_OPTS: "-Djdbc.host=ligoj-db" \ CRYPTO: "-Dapp.crypto.password=public" \ links: - db:ligoj-db depends_on: - db ui: image: ligoj/ligoj-ui:3.0.0 environment: JAVA_OPTIONS: "-Dsecurity=Rest" SERVER_PORT: "8080" CUSTOM_OPTS: "" links: - api:ligoj-api ports: - "8080:8080"
version: '3' services: db: image: mysql:5.6 environment: MYSQL_ROOT_PASSWORD: r00t MYSQL_DATABASE: ligoj MYSQL_USER: ligoj MYSQL_PASSWORD: ligoj api: image: ligoj/ligoj-api:3.0.0 environment: SERVER_HOST: "0.0.0.0" SERVER_PORT: "8081" CUSTOM_OPTS: "-Djdbc.host=ligoj-db" CRYPTO: "-Dapp.crypto.password=public" links: - db:ligoj-db depends_on: - db ui: image: ligoj/ligoj-ui:3.0.0 environment: JAVA_OPTIONS: "-Dsecurity=Rest" SERVER_PORT: "8080" CUSTOM_OPTS: "" links: - api:ligoj-api ports: - "8080:8080"
Set Dependabot to increase dependencies versions
version: 2 updates: - package-ecosystem: composer directory: "/" schedule: interval: daily time: "10:00" open-pull-requests-limit: 4
version: 2 updates: - package-ecosystem: composer directory: "/" schedule: interval: daily time: "10:00" open-pull-requests-limit: 4 versioning-strategy: increase
Update from Hackage at 2016-11-24T02:44:52Z
homepage: '' changelog-type: '' hash: f80a23fb3aff895083e104d8262300b130b0eefdf3d26caaf8bfa18f8e75ef4d test-bench-deps: {} maintainer: Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com> synopsis: DOM library using JSFFI and GHCJS changelog: '' basic-deps: base: <5 ghcjs-base: ! '>=0.2.0.0 && <0.3' text: ! '>=0.11.0.6 && <1.3' ghcjs-prim: -any ghc-prim: -any transformers: ! '>=0.2 && <0.6' all-versions: - '0.3.1.0' - '0.4.0.0' - '0.4.1.0' - '0.4.1.1' - '0.5.0.0' - '0.5.0.1' - '0.5.0.2' - '0.6.0.0' author: Hamish Mackenzie latest: '0.6.0.0' description-type: haddock description: ! 'Documentent Object Model (DOM) functions that work with GHCJS.' license-name: MIT
homepage: '' changelog-type: '' hash: bacfbe77d69c77af8101764c8b521e43b051c73e06ddbfdfa21090b72ddeec9e test-bench-deps: {} maintainer: Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com> synopsis: DOM library using JSFFI and GHCJS changelog: '' basic-deps: base: <5 ghcjs-base: ! '>=0.2.0.0 && <0.3' text: ! '>=0.11.0.6 && <1.3' ghcjs-prim: -any ghc-prim: -any transformers: ! '>=0.2 && <0.6' all-versions: - '0.3.1.0' - '0.4.0.0' - '0.4.1.0' - '0.4.1.1' - '0.5.0.0' - '0.5.0.1' - '0.5.0.2' - '0.6.0.0' - '0.7.0.0' author: Hamish Mackenzie latest: '0.7.0.0' description-type: haddock description: ! 'Documentent Object Model (DOM) functions that work with GHCJS.' license-name: MIT
Update from Hackage at 2021-07-04T17:10:34Z
homepage: https://github.com/liisikerik/kawaii_parser changelog-type: '' hash: 5fc6d6ce1f39682c085fc140417eccdc186c9b3b500f1de0aeb4d3fe4859bec6 test-bench-deps: {} maintainer: liisikerik@hotmail.com synopsis: A simple parsing library. changelog: '' basic-deps: base: <4.15 containers: -any mtl: -any all-versions: - 0.0.0 - 1.0.0 author: Liisi Kerik latest: 1.0.0 description-type: haddock description: |- This library provides a simple tokeniser and parser. Its main focus is not efficiency but simplicity of implementation and use. The choice operator for parsers is symmetric, avoiding the need to think about the order in which the alternatives are listed. The library supports adding locations to the parse tree and aims to provide reasonably detailed information about parse errors with minimal user involvement. It also contains a module with type synonyms for some compositions of monad transformers. license-name: BSD-3-Clause
homepage: https://github.com/liisikerik/kawaii_parser changelog-type: '' hash: 3811301f9773a8f579a79da24a9c38b814d8149eab91084c4f90a25992f81e08 test-bench-deps: {} maintainer: liisikerik@hotmail.com synopsis: A simple parsing library. changelog: '' basic-deps: base: <4.15 containers: -any mtl: -any all-versions: - 0.0.0 - 1.0.0 - 1.0.1 author: Liisi Kerik latest: 1.0.1 description-type: haddock description: |- This library provides a simple tokeniser and parser. Its main focus is not efficiency but simplicity of implementation and use. The choice operator for parsers is symmetric, avoiding the need to think about the order in which the alternatives are listed. The library supports adding locations to the parse tree and aims to provide reasonably detailed information about parse errors with minimal user involvement. It also contains a module with type synonyms for some compositions of monad transformers. license-name: BSD-3-Clause
Update Souvenirs to 1.4.0 (9)
Categories: - Graphics - Multimedia License: GPL-3.0-or-later AuthorName: Francois Valley AuthorEmail: zorgluf@gmail.com SourceCode: https://github.com/zorgluf/souvenirs-android IssueTracker: https://github.com/zorgluf/souvenirs-android/issues Donate: https://github.com/zorgluf/souvenirs-android/blob/main/README.md AutoName: Souvenirs RepoType: git Repo: https://github.com/zorgluf/souvenirs-android Builds: - versionName: 1.3.2 versionCode: 8 commit: v1.3.2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags v\d+\.\d+(\.\d+)? CurrentVersion: 1.3.2 CurrentVersionCode: 8
Categories: - Graphics - Multimedia License: GPL-3.0-or-later AuthorName: Francois Valley AuthorEmail: zorgluf@gmail.com SourceCode: https://github.com/zorgluf/souvenirs-android IssueTracker: https://github.com/zorgluf/souvenirs-android/issues Donate: https://github.com/zorgluf/souvenirs-android/blob/main/README.md AutoName: Souvenirs RepoType: git Repo: https://github.com/zorgluf/souvenirs-android Builds: - versionName: 1.3.2 versionCode: 8 commit: v1.3.2 subdir: app gradle: - yes - versionName: 1.4.0 versionCode: 9 commit: v1.4.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags v\d+\.\d+(\.\d+)? CurrentVersion: 1.4.0 CurrentVersionCode: 9
Add kolla_logs volume to kibana container
--- - name: Starting Kibana container kolla_docker: action: "start_container" common_options: "{{ docker_common_options }}" image: "{{ kibana_image_full }}" name: "kibana" volumes: - "{{ node_config_directory }}/kibana/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro"
--- - name: Starting Kibana container kolla_docker: action: "start_container" common_options: "{{ docker_common_options }}" image: "{{ kibana_image_full }}" name: "kibana" volumes: - "{{ node_config_directory }}/kibana/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro" - "kolla_logs:/var/log/kolla/"
Use correct name in task definition
platform: linux image_resource: type: docker-image source: repository: pcfkubo/kubo-ci tag: stable params: ROUTING_CF_CLIENT_SECRET: run: path: git-kubo-deployment/ci/scripts/deploy-k8s-instance.sh inputs: - name: s3-kubo-release-tarball-tmp - name: git-kubo-deployment - name: s3-bosh-creds - name: kubo-lock - name: kubo-version outputs: - name: service-creds
platform: linux image_resource: type: docker-image source: repository: pcfkubo/kubo-ci tag: stable params: ROUTING_CF_CLIENT_SECRET: run: path: git-kubo-deployment/ci/scripts/deploy-k8s-instance.sh inputs: - name: s3-kubo-release-tarball - name: git-kubo-deployment - name: s3-bosh-creds - name: kubo-lock - name: kubo-version outputs: - name: service-creds
Check github actions for dependency updates
version: 2 updates: - package-ecosystem: maven directory: "/" schedule: interval: weekly open-pull-requests-limit: 10 target-branch: master reviewers: - MarkEWaite labels: - dependencies ignore: - dependency-name: com.github.ben-manes.caffeine:caffeine # caffeine 3.0.0 and later requires JDK 11 versions: - ">= 3.0.0"
version: 2 updates: - package-ecosystem: maven directory: "/" schedule: interval: weekly open-pull-requests-limit: 10 target-branch: master reviewers: - MarkEWaite labels: - dependencies ignore: - dependency-name: com.github.ben-manes.caffeine:caffeine # caffeine 3.0.0 and later requires JDK 11 versions: - ">= 3.0.0" - package-ecosystem: github-actions directory: / schedule: interval: daily
Split unit from integration tests
version: 2.1 jobs: unit-tests: parameters: version: type: string docker: - image: cimg/node:12.18 environment: THUNDERBIRD_VERSION: << parameters.version >> steps: - checkout - run: node --version - run: npm install - setup_remote_docker - run: ./test.sh - run: ./script/docker_integration_test.sh workflows: main: jobs: - unit-tests: version: "78.1.1" - unit-tests: version: "beta"
version: 2.1 jobs: unit-tests: docker: - image: cimg/node:12.18 steps: - checkout - run: node --version - run: npm install - run: ./test.sh integration-tests: docker: - image: cimg/base:stable parameters: version: type: string environment: THUNDERBIRD_VERSION: << parameters.version >> steps: - checkout - setup_remote_docker - run: ./script/docker_integration_test.sh workflows: main: jobs: - unit-tests - integration-tests: version: "78.1.1" - integration-tests: version: "beta"
Update from Hackage at 2017-03-23T09:16:14Z
homepage: https://github.com/louispan/javascript-extras#readme changelog-type: '' hash: bef300b0fc5df31784383f71673339b25cf9cdfbb497a497b87b87674d2525ab test-bench-deps: {} maintainer: louis@pan.me synopsis: Extra javascript functions when using GHCJS changelog: '' basic-deps: base: ! '>=4.7 && <5' text: ! '>=1.2 && <1.3' ghcjs-base-stub: ! '>=0.1.0.1 && <1' parallel: ! '>=3.2 && <4' deepseq: ! '>=1.4 && <2' all-versions: - '0.1.0.1' - '0.2.0.0' author: Louis Pan latest: '0.2.0.0' description-type: markdown description: ! '[![Hackage](https://img.shields.io/hackage/v/javascript-extras.svg)](https://hackage.haskell.org/package/javascript-extras) Extra javascript functions when using GHCJS ' license-name: BSD3
homepage: https://github.com/louispan/javascript-extras#readme changelog-type: '' hash: 20dd8061d3304bd9876d6e1758929356e7f806547c211395865830179dd50774 test-bench-deps: {} maintainer: louis@pan.me synopsis: Extra javascript functions when using GHCJS changelog: '' basic-deps: base: ! '>=4.7 && <5' text: ! '>=1.2 && <1.3' ghcjs-base-stub: ! '>=0.1.0.1 && <1' parallel: ! '>=3.2 && <4' deepseq: ! '>=1.4 && <2' all-versions: - '0.1.0.1' - '0.2.0.0' - '0.2.0.1' author: Louis Pan latest: '0.2.0.1' description-type: markdown description: ! '[![Hackage](https://img.shields.io/hackage/v/javascript-extras.svg)](https://hackage.haskell.org/package/javascript-extras) Extra javascript functions when using GHCJS ' license-name: BSD3
Add "npm install" step to Gerrit's pipeline.
--- platforms: ubuntu1604: build_targets: - "//:release" test_flags: - "--test_tag_filters=-slow,-flaky,-docker" test_targets: - "//..." ubuntu1804: build_flags: - "--define=ABSOLUTE_JAVABASE=/usr/lib/jvm/java-11-openjdk-amd64" - "--host_javabase=@bazel_tools//tools/jdk:absolute_javabase" - "--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla" - "--java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla" build_targets: - "//:release" test_flags: - "--define=ABSOLUTE_JAVABASE=/usr/lib/jvm/java-11-openjdk-amd64" - "--host_javabase=@bazel_tools//tools/jdk:absolute_javabase" - "--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla" - "--java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla" - "--test_tag_filters=-slow,-flaky,-docker" test_targets: - "//..." macos: build_targets: - "//:release" test_flags: - "--test_tag_filters=-slow,-flaky,-docker" test_targets: - "//..."
--- platforms: ubuntu1604: shell_commands: - "npm install" build_targets: - "//:release" test_flags: - "--test_tag_filters=-slow,-flaky,-docker" test_targets: - "//..." ubuntu1804: shell_commands: - "npm install" build_flags: - "--define=ABSOLUTE_JAVABASE=/usr/lib/jvm/java-11-openjdk-amd64" - "--host_javabase=@bazel_tools//tools/jdk:absolute_javabase" - "--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla" - "--java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla" build_targets: - "//:release" test_flags: - "--define=ABSOLUTE_JAVABASE=/usr/lib/jvm/java-11-openjdk-amd64" - "--host_javabase=@bazel_tools//tools/jdk:absolute_javabase" - "--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla" - "--java_toolchain=@bazel_tools//tools/jdk:toolchain_vanilla" - "--test_tag_filters=-slow,-flaky,-docker" test_targets: - "//..." macos: shell_commands: - "npm install" build_targets: - "//:release" test_flags: - "--test_tag_filters=-slow,-flaky,-docker" test_targets: - "//..."
Add Node.js 16 for testing
name: Node on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: npm install and test run: | node --version npm --version npm install npm test env: CI: true
name: Node on: - push - pull_request jobs: test: name: Node.js ${{ matrix.node-version }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: node-version: - 16 - 14 - 12 steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - run: npm install - run: npm test CI: true
Correct usage of context interpolation
name: Continupus Integration on: [push, pull_request] jobs: build: name: Build runs-on: ubuntu-latest env: BUILDFLAGS: -ldflags="-X github.com/bpicode/fritzctl/config.Version=undefined -X github.com/bpicode/fritzctl/config.Revision={{ github.sha }}" steps: - name: Set up Go 1.13 uses: actions/setup-go@v1 with: go-version: 1.13 id: go - name: Check out code into the Go module directory uses: actions/checkout@v1 - name: Environment information run: | echo "UNAME: $(uname -a)" echo "PWD: $(pwd)" echo "GO: $(go version)" echo "BUILDFLAGS: ${BUILDFLAGS}" - name: Build run: go build "${BUILDFLAGS}" -v - name: Test run: go test "${BUILDFLAGS}" -run '(Test|Example)' -race -coverprofile=coverage.out -covermode=atomic ./... - name: Verify dependencies have expected content run: go mod verify
name: Continupus Integration on: [push, pull_request] jobs: build: name: Build runs-on: ubuntu-latest env: BUILDFLAGS: -ldflags="-X github.com/bpicode/fritzctl/config.Version=undefined -X github.com/bpicode/fritzctl/config.Revision=${{ github.sha }}" steps: - name: Set up Go 1.13 uses: actions/setup-go@v1 with: go-version: 1.13 id: go - name: Check out code into the Go module directory uses: actions/checkout@v1 - name: Environment information run: | echo "UNAME: $(uname -a)" echo "PWD: $(pwd)" echo "GO: $(go version)" echo "BUILDFLAGS: ${BUILDFLAGS}" - name: Build run: go build "${BUILDFLAGS}" -v - name: Test run: go test "${BUILDFLAGS}" -run '(Test|Example)' -race -coverprofile=coverage.out -covermode=atomic ./... - name: Verify dependencies have expected content run: go mod verify
Drop CI support for Node 10
name: Node CI on: push: pull_request: branches: - master jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm test - name: codecov run: npx codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
name: Node CI on: push: pull_request: branches: - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Use Node.js 12 uses: actions/setup-node@v1 with: node-version: 12 - run: npm ci - run: npm test - name: codecov run: npx codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}