Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Replace multinode jobs with image builds
- project: templates: - openstack-python-jobs - openstack-python35-jobs - openstack-python36-jobs - openstack-python37-jobs - tripleo-multinode-container-minimal - release-notes-jobs-python3 post: jobs: - publish-openstack-python-branch-tarball
- project: templates: - tripleo-buildimage-jobs - openstack-python-jobs - openstack-python35-jobs - openstack-python36-jobs - openstack-python37-jobs - release-notes-jobs-python3 post: jobs: - publish-openstack-python-branch-tarball
Fix names of tox environments.
language: python python: - "3.5" sudo: false env: - TOXENV=py27-lint - TOXENV=py27-docs - TOXENV=py35-django19 - TOXENV=py34-django19 - TOXENV=py27-django19 - TOXENV=py35-django18 - TOXENV=py34-django18 - TOXENV=py33-django18 - TOXENV=py32-django18 - TOXENV=py27-django18 - TOXENV=py27-django110 - TOXENV=py35-django110 - TOXENV=py34-django110 matrix: fast_finish: true install: # Virtualenv < 14 is required to keep the Python 3.2 builds running. - pip install tox "virtualenv<14" script: - tox after_success: - pip install codecov - codecov -e TOXENV notifications: email: false
language: python python: - "3.5" sudo: false env: - TOXENV=py27-lint - TOXENV=py27-docs - TOXENV="py35-django1.9" - TOXENV="py34-django1.9" - TOXENV="py27-django1.9" - TOXENV="py35-django1.8" - TOXENV="py34-django1.8" - TOXENV="py33-django1.8" - TOXENV="py32-django1.8" - TOXENV="py27-django1.8" - TOXENV="py27-django1.10" - TOXENV="py35-django1.10" - TOXENV="py34-django1.10" matrix: fast_finish: true install: # Virtualenv < 14 is required to keep the Python 3.2 builds running. - pip install tox "virtualenv<14" script: - tox after_success: - pip install codecov - codecov -e TOXENV notifications: email: false
Update TravisCI configuration to use Ubuntu 18.04
language: python python: - '3.7' - '3.8' cache: pip: true directories: - $HOME/.cache/pre-commit before_install: - pip install -U pip install: - pip install -r requirements.txt - pip install -r requirements_test.txt before_script: - mv secrets_dummy.yaml secrets.yaml - pre-commit install-hooks script: - pre-commit run yamllint --all-files - hass -c . --script check_config
dist: bionic language: python python: - '3.7' - '3.8' cache: pip: true directories: - $HOME/.cache/pre-commit before_install: - pip install -U pip install: - pip install -r requirements.txt - pip install -r requirements_test.txt before_script: - mv secrets_dummy.yaml secrets.yaml - pre-commit install-hooks script: - pre-commit run yamllint --all-files - hass -c . --script check_config
Test against latest patch level rubies
--- sudo: false language: ruby before_install: - rvm reinstall $TRAVIS_RUBY_VERSION --patch http://github.com/k0kubun/ruby/commit/6747055326e634899f0efb0ba7cf46.patch install: - gem update --system --no-document || test true - gem install bundler --no-document || test true - bundle install --jobs 3 --retry 3 before_script: - git config --local user.email 'travis@travis.ci' - git config --local user.name 'Travis CI' script: - bundle exec rake - bundle exec overcommit --run rvm: - 2.0.0 - 2.1 - 2.2 - ruby-head matrix: allow_failures: - rvm: ruby-head addons: code_climate: repo_token: f06a22b27a507a3054eb69873c9e3bbc9ef97476d6ef22eec8cd24686494cb2b
--- sudo: false language: ruby before_install: - rvm reinstall $TRAVIS_RUBY_VERSION --patch http://github.com/k0kubun/ruby/commit/6747055326e634899f0efb0ba7cf46.patch install: - gem update --system --no-document || test true - gem install bundler --no-document || test true - bundle install --jobs 3 --retry 3 before_script: - git config --local user.email 'travis@travis.ci' - git config --local user.name 'Travis CI' script: - bundle exec rake - bundle exec overcommit --run rvm: - 2.0.0 - 2.1.7 - 2.2.3 - ruby-head matrix: allow_failures: - rvm: ruby-head addons: code_climate: repo_token: f06a22b27a507a3054eb69873c9e3bbc9ef97476d6ef22eec8cd24686494cb2b
Add auto-deployment stage to Travis config
language: node_js node_js: - "9" - "8" - "7" - "6" - "5" sudo: false script: - npm run test-with-cov after_success: - CODECLIMATE_REPO_TOKEN=$CODECLIMATE_TOKEN ./node_modules/codeclimate-test-reporter/bin/codeclimate.js < ./coverage/lcov.info git: depth: 10
language: node_js node_js: - "9" - "8" - "7" - "6" - "5" sudo: false test: - npm run test-with-cov deploy: provider: npm email: peter@reidweb.com api_key: secure: HtlC7Ylj1Pv7iQHAvmRsClO26jOHfe/s+JUWZwNSbMM7x49XQxjSEuP+XD1kWNBlZ4SM432qRoSgojtBusXXWPcJ7OzH9kAnvHafmR9t70lNXW0yazycIhFooxAzYZvhRTRmP4Ysi+S+A8Zs+gk/GMkb/JkySOKP9pEjZE5WyP6hRNvUFEAkmzWKD74IIkYKWwjB4PFY5a5wdhGb0GeC+yYFm5+t9KYfbXtHkluYNwqVQDwoBWRoXXQz7yTdMY+251wwqQFYPjSVIMvmUzNDB7Qae8b6GsjRu4HKLnUtMVcN5Q7g0LoArlNlm9rHa7m0djhcR6ss8OCCdFzAKj45rw5Irllvbd/rKZgN/ykqOGdvi0eSEXJYFnQJpr2M28XUVSE1r7+FSxkojnFTVUXSTxutOZ7bKET0VfW/x9q9CrN93a2G7K7QfdUw3/9AweGuNvJ2MecJokrifXt79kS+6Dpvgfpz2alAkzgQhZBrnL0grHoe+l9VKuvF7Wr36yZ0gxWON4kIoNqfWNWoJTNQgCCecN69ulha4xlpbuunhEZEP8hLKdxDv/vt+s/Nr3wUnvuadXwCeINRAdwZeM1sxDjJ2Q3o42zWNU1fzk8sR1dPaEG8pKMd1O84KNjFFenKJOlOaHpzeEux8/F4RRQmfHV+FtYq+4ITTvlO+uIGoNI= on: tags: true repo: ReidWeb/GitInspector-CSV branch: master after_success: - CODECLIMATE_REPO_TOKEN=$CODECLIMATE_TOKEN ./node_modules/codeclimate-test-reporter/bin/codeclimate.js < ./coverage/lcov.info git: depth: 10
Allow failure on stable and beta, since nightly is required for lazy_static doc test
language: rust rust: - stable - beta - nightly
language: rust rust: - stable - beta - nightly matrix: allow_failures: - rust: stable - rust: beta
Build doc with relevant feaures flags.
language: rust sudo: false notifications: irc: "irc.mozilla.org#piston-internals" os: - linux - osx rust: - stable - beta - nightly env: global: - secure: "WI/r7hbDhenb7zPXht8J0mhcx5aUgY22cCrwYmNksMmgIK9hYfPjZ68XzaQ7+Ity8b12TlHM8lGRN9bIsyAZEiRIkxkZAArY9bXAOExJaAT+yOyxhEs/QdrGB6iRhC6FTxPwgUH82j0nFL1UI7HqBnOy3g3tv23jq1AlD9N3t0k=" matrix: - FEATURES='' - FEATURES='gif_codec' - FEATURES='jpeg' - FEATURES='png_codec' - FEATURES='pnm' - FEATURES='tga' - FEATURES='tiff' - FEATURES='webp' - FEATURES='hdr' script: - if [ -z "$FEATURES" ]; then cargo build -v && if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then cargo test -v; fi && cargo doc -v; else cargo build -v --no-default-features --features "$FEATURES" && if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then cargo test -v --no-default-features --features "$FEATURES"; fi && cargo doc -v; fi
language: rust sudo: false notifications: irc: "irc.mozilla.org#piston-internals" os: - linux - osx rust: - stable - beta - nightly env: global: - secure: "WI/r7hbDhenb7zPXht8J0mhcx5aUgY22cCrwYmNksMmgIK9hYfPjZ68XzaQ7+Ity8b12TlHM8lGRN9bIsyAZEiRIkxkZAArY9bXAOExJaAT+yOyxhEs/QdrGB6iRhC6FTxPwgUH82j0nFL1UI7HqBnOy3g3tv23jq1AlD9N3t0k=" matrix: - FEATURES='' - FEATURES='gif_codec' - FEATURES='jpeg' - FEATURES='png_codec' - FEATURES='pnm' - FEATURES='tga' - FEATURES='tiff' - FEATURES='webp' - FEATURES='hdr' script: - if [ -z "$FEATURES" ]; then cargo build -v && if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then cargo test -v; fi && cargo doc -v; else cargo build -v --no-default-features --features "$FEATURES" && if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then cargo test -v --no-default-features --features "$FEATURES"; fi && cargo doc -v --no-default-features --features "$FEATURES"; fi
Fix vendor bin path in after_success
language: php php: - 7.1 install: - composer install after_success: - travis_retry php vendor/bin/coveralls -v
language: php php: - 7.1 install: - composer install after_success: - travis_retry php bin/coveralls -v
Remove obsolete --dev composer option
language: php sudo: false cache: directories: - vendor/ php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - nightly - hhvm matrix: fast_finish: true allow_failures: - php: nightly notifications: email: false irc: "irc.iiens.net#Clicky" before_script: - rm composer.lock - composer self-update -n - composer install --dev -n - mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/ - pecl install runkit || true - phpenv config-add tests/php.ini script: - vendor/bin/phpunit --coverage-clover clover.xml after_success: - composer require --dev satooshi/php-coveralls - travis_retry vendor/bin/coveralls -n -v
language: php sudo: false cache: directories: - vendor/ php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - nightly - hhvm matrix: fast_finish: true allow_failures: - php: nightly notifications: email: false irc: "irc.iiens.net#Clicky" before_script: - rm composer.lock - composer self-update -n - composer install -n - mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/ - pecl install runkit || true - phpenv config-add tests/php.ini script: - vendor/bin/phpunit --coverage-clover clover.xml after_success: - composer require --dev satooshi/php-coveralls - travis_retry vendor/bin/coveralls -n -v
Add CI target rvm version from 2.0 to 2.4
sudo: false language: ruby rvm: - 2.3.1 before_install: gem install bundler -v 1.13.2 script: rake spec
sudo: false language: ruby rvm: - 2.4.0 - 2.3.3 - 2.2.6 - 2.1.10 - 2.0.0 before_install: gem update bundler --no-document script: rake spec
Add further install steps after deployment
language: node_js node_js: - "0.10" install: - "npm install -g grunt-cli" - "npm install" - "bower install" script: - "grunt test" - "grunt build" deploy: provider: heroku api_key: secure: c/wHTZAzJUgWBm1w7KLlEDq6o9a/tbgzaZctJ+SkwwpqEIAJPEEeFzteRDzcQgGIRsws+C3m/zzWvqoQMmIoKvgJoNyoObZQazUCImly6hQMOHO8kqLMvugzXlgf4msnanA2pV3ABgvMG/MnoWSHnSJ8jbn6g16f+tDROnky8aU= app: bitcoin-trade-guard strategy: git
language: node_js node_js: - "0.10" install: - "npm install -g grunt-cli bower" - "npm install" - "bower install" script: - "grunt test" - "grunt build" deploy: provider: heroku api_key: secure: c/wHTZAzJUgWBm1w7KLlEDq6o9a/tbgzaZctJ+SkwwpqEIAJPEEeFzteRDzcQgGIRsws+C3m/zzWvqoQMmIoKvgJoNyoObZQazUCImly6hQMOHO8kqLMvugzXlgf4msnanA2pV3ABgvMG/MnoWSHnSJ8jbn6g16f+tDROnky8aU= app: bitcoin-trade-guard strategy: git run: - "npm install -g grunt-cli bower" - "npm install" - "bower install" - "grunt build"
Rework Rcheck to support any Docker image
language: general services: - docker branches: only: - master install: - curl -sSL https://raw.githubusercontent.com/acidgenomics/Rcheck/master/install | bash jobs: include: - stage: test name: "bioc-release" script: image="bcbiornaseq" tag="bioc-release" ./.Rcheck/docker - stage: test name: "bioc-devel" script: image="bcbiornaseq" tag="bioc-devel" ./.Rcheck/docker matrix: allow_failures: - name: "bioc-devel" fast_finish: true after_failure: - ./.Rcheck/docker-failure notifications: email: recipients: - mike@steinbaugh.com on_success: change on_failure: change
language: general services: - docker branches: only: - master install: - curl -sSL https://raw.githubusercontent.com/acidgenomics/Rcheck/master/install | bash jobs: include: - stage: test name: "bioc-release" script: image="acidgenomics/bcbiornaseq" tag="bioc-release" ./.Rcheck/docker - stage: test name: "bioc-devel" script: image="acidgenomics/bcbiornaseq" tag="bioc-devel" ./.Rcheck/docker matrix: allow_failures: - name: "bioc-devel" fast_finish: true after_failure: - ./.Rcheck/docker-failure notifications: email: recipients: - mike@steinbaugh.com on_success: change on_failure: change
Add system user credentials upload to S3.
--- - name: AEM Author CloudFormation Stack hosts: all gather_facts: no connection: local tasks: - name: Create random credentials for system users system_users_credentials: register: credentials tags: - create - name: Ensure data bucket exists s3_bucket: name: "{{ s3.data_bucket_name }}" state: present tags: - create - name: Upload stack init script s3: bucket: "{{ s3.data_bucket_name }}" object: "{{ stack_prefix }}/stack-init.sh" src: ../../../scripts/stack-init.sh mode: put tags: - create - name: Upload stack provisioner s3: bucket: "{{ s3.data_bucket_name }}" object: "{{ stack_prefix }}/aem-aws-stack-provisioner.tar.gz" src: ../../../stage/aem-aws-stack-provisioner.tar.gz mode: put tags: - create - name: Delete stack data s3: bucket: "{{ s3.data_bucket_name }}" object: "{{ stack_prefix }}" mode: delobj tags: - delete
--- - name: AEM Author CloudFormation Stack hosts: all gather_facts: no connection: local tasks: - name: Generate random credentials for system users system_users_credentials: register: credentials tags: - create - name: Ensure stage directory exists file: path: ../../../stage state: directory mode: 0755 tags: - create - name: Create temporary file containing generated credentials copy: content: "{{ credentials.meta }}" dest: ../../../stage/system_users_credentials.json tags: - create - name: Ensure data bucket exists s3_bucket: name: "{{ s3.data_bucket_name }}" state: present tags: - create - name: Upload stack init script s3: bucket: "{{ s3.data_bucket_name }}" object: "{{ stack_prefix }}/stack-init.sh" src: ../../../scripts/stack-init.sh mode: put tags: - create - name: Upload stack provisioner s3: bucket: "{{ s3.data_bucket_name }}" object: "{{ stack_prefix }}/aem-aws-stack-provisioner.tar.gz" src: ../../../stage/aem-aws-stack-provisioner.tar.gz mode: put tags: - create - name: Upload system user credentials s3: bucket: "{{ s3.data_bucket_name }}" object: "{{ stack_prefix }}/system-users-credentials.json" src: ../../../stage/system-users-credentials.json mode: put encrypt: yes tags: - create - name: Delete stack data s3: bucket: "{{ s3.data_bucket_name }}" object: "{{ stack_prefix }}" mode: delobj tags: - delete
Update scheduler-plugins CI To Go 1.15.8
# sigs.k8s.io/scheduler-plugins presubmits presubmits: kubernetes-sigs/scheduler-plugins: - name: pull-scheduler-plugins-verify-gofmt decorate: true path_alias: sigs.k8s.io/scheduler-plugins always_run: true spec: containers: - image: golang:1.15.5 command: - make args: - verify-gofmt - name: pull-scheduler-plugins-verify-build decorate: true path_alias: sigs.k8s.io/scheduler-plugins always_run: true spec: containers: - image: golang:1.15.5 command: - make args: - build - name: pull-scheduler-plugins-unit-test decorate: true path_alias: sigs.k8s.io/scheduler-plugins always_run: true spec: containers: - image: golang:1.15.5 command: - make args: - unit-test - name: pull-scheduler-plugins-integration-test decorate: true path_alias: sigs.k8s.io/scheduler-plugins always_run: true spec: containers: - image: golang:1.15.5 command: - make args: - integration-test
# sigs.k8s.io/scheduler-plugins presubmits presubmits: kubernetes-sigs/scheduler-plugins: - name: pull-scheduler-plugins-verify-gofmt decorate: true path_alias: sigs.k8s.io/scheduler-plugins always_run: true spec: containers: - image: golang:1.15.8 command: - make args: - verify-gofmt - name: pull-scheduler-plugins-verify-build decorate: true path_alias: sigs.k8s.io/scheduler-plugins always_run: true spec: containers: - image: golang:1.15.8 command: - make args: - build - name: pull-scheduler-plugins-unit-test decorate: true path_alias: sigs.k8s.io/scheduler-plugins always_run: true spec: containers: - image: golang:1.15.8 command: - make args: - unit-test - name: pull-scheduler-plugins-integration-test decorate: true path_alias: sigs.k8s.io/scheduler-plugins always_run: true spec: containers: - image: golang:1.15.8 command: - make args: - integration-test
Rename PIA and STRA status
name: compliance description: | This document is used to track a projects PIA and STRA compliance. spec: - name: PIA status: exempt last-updated: '2020-01-20T19:03:49.823Z' - name: STRA status: exempt last-updated: '2020-01-20T19:03:49.824Z'
name: compliance description: | This document is used to track a projects PIA and STRA compliance. spec: - name: PIA status: not-required last-updated: '2020-04-15T00:13:51.653Z' - name: STRA status: not-required last-updated: '2020-04-15T00:13:51.653Z'
Allow failure on security scan job
image: node:latest stages: - test - publish code quality: stage: test script: - npm ci - npm run lint npm outdated: stage: test script: - npm outdated allow_failure: true security scan: stage: test script: - npm audit --only=prod allow_failure: true test on nodejs lts: stage: test image: node:lts-slim script: - npm it coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/' test & coverage: stage: test script: - npm it coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/' artifacts: paths: - coverage/ coverage report: stage: publish dependencies: - test & coverage script: - mv coverage/lcov-report/ public/ artifacts: paths: - public only: - master environment: name: coverage report url: https://vuedoc.gitlab.io/md package: stage: publish only: - tags script: - npm pack artifacts: paths: - ./*.tgz publish: stage: publish only: - tags - triggers script: - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc - npm publish environment: name: npm url: https://www.npmjs.com/package/@vuedoc/md
image: node:latest stages: - test - publish code quality: stage: test script: - npm ci - npm run lint npm outdated: stage: test script: - npm outdated allow_failure: true security scan: stage: test script: - npm audit --production test on nodejs lts: stage: test image: node:lts-slim script: - npm it coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/' test & coverage: stage: test script: - npm it coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/' artifacts: paths: - coverage/ coverage report: stage: publish dependencies: - test & coverage script: - mv coverage/lcov-report/ public/ artifacts: paths: - public only: - master environment: name: coverage report url: https://vuedoc.gitlab.io/md package: stage: publish only: - tags script: - npm pack artifacts: paths: - ./*.tgz publish: stage: publish only: - tags - triggers script: - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc - npm publish environment: name: npm url: https://www.npmjs.com/package/@vuedoc/md
Fix url, and set repo as a trigger
resources: - name: jsselman-repo type: git source: uri: https://github.com/selmanj/terraform-provider-google.git branch: master paths: - google/* - name: terraform-ci type: git source: uri: git@github.com:selmanj/terraform-provider-google-ci.git branch: master jobs: - name: acceptance-tests plan: - get: terraform resource: jsselman-repo trigger: true - get: ci resource: terraform-ci - task: run-acceptance-tests config: platform: linux params: google_json_account: ((terraform-ci-acc-tests-json)) inputs: - name: terraform image_resource: type: docker-image source: {repository: golang} run: path: ci/run-acceptance-tests.sh
resources: - name: jsselman-repo type: git source: uri: https://github.com/selmanj/terraform-provider-google.git branch: master paths: - google/* - name: terraform-ci type: git source: uri: https://github.com/selmanj/terraform-provider-google-ci.git branch: master jobs: - name: acceptance-tests plan: - get: terraform resource: jsselman-repo trigger: true - get: ci resource: terraform-ci trigger: true - task: run-acceptance-tests config: platform: linux params: google_json_account: ((terraform-ci-acc-tests-json)) inputs: - name: terraform image_resource: type: docker-image source: {repository: golang} run: path: ci/run-acceptance-tests.sh
Fix indent for Elasticsearch configuration
# =================================================================== # Spring Boot configuration for the "heroku" profile. # # This configuration overrides the application.yml file. # =================================================================== # =================================================================== # Standard Spring Boot properties. # Full reference is available at: # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html # =================================================================== spring: datasource: type: com.zaxxer.hikari.HikariDataSource maximumPoolSize: 10 url: ${JDBC_DATABASE_URL} username: ${JDBC_DATABASE_USERNAME} password: ${JDBC_DATABASE_PASSWORD} data: elasticsearch: cluster-name: cluster-nodes: properties: path: logs: target/elasticsearch/log data: target/elasticsearch/data mail: host: smtp.gmail.com port: 587 username: qualitoast@gmail.com password: ${SPRING_MAIL_PASSWORD} protocol: smtp tls: true properties.mail.smtp: auth: true starttls.enable: true ssl.trust: smtp.gmail.com jhipster: mail: # specific JHipster mail property, for standard properties see MailProperties from: QualiToast@localhost base-url: https://qualitoast.herokuapp.com
# =================================================================== # Spring Boot configuration for the "heroku" profile. # # This configuration overrides the application.yml file. # =================================================================== # =================================================================== # Standard Spring Boot properties. # Full reference is available at: # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html # =================================================================== spring: datasource: type: com.zaxxer.hikari.HikariDataSource maximumPoolSize: 10 url: ${JDBC_DATABASE_URL} username: ${JDBC_DATABASE_USERNAME} password: ${JDBC_DATABASE_PASSWORD} data: elasticsearch: cluster-name: cluster-nodes: properties: path: logs: target/elasticsearch/log data: target/elasticsearch/data mail: host: smtp.gmail.com port: 587 username: qualitoast@gmail.com password: ${SPRING_MAIL_PASSWORD} protocol: smtp tls: true properties.mail.smtp: auth: true starttls.enable: true ssl.trust: smtp.gmail.com jhipster: mail: # specific JHipster mail property, for standard properties see MailProperties from: QualiToast@localhost base-url: https://qualitoast.herokuapp.com
Add iojs to Travis CI.
language: node_js node_js: - 0.10 notifications: email: false
language: node_js node_js: - node - iojs notifications: email: false
Drop Python 3.2 from Travis file
language: python notifications: email: false addons: apt: packages: - libhdf5-serial-dev sudo: false cache: directories: - $HOME/.cache/pip env: # Commented out since setup_requires is controlled by easy_install # This should be uncommented when pip can use setup_requires # - TOXENV=py26-test-nodeps # - TOXENV=py27-test-nodeps # - TOXENV=py32-test-nodeps # - TOXENV=py33-test-nodeps # - TOXENV=py34-test-nodeps - TOXENV=py26-test-deps - TOXENV=py27-test-deps - TOXENV=py32-test-deps - TOXENV=py33-test-deps - TOXENV=py34-test-deps - TOXENV=py27-pylint-deps - TOXENV=py33-pylint-deps - TOXENV=py34-pylint-deps install: - pip install tox script: - tox
language: python notifications: email: false addons: apt: packages: - libhdf5-serial-dev sudo: false cache: directories: - $HOME/.cache/pip env: # Commented out since setup_requires is controlled by easy_install # This should be uncommented when pip can use setup_requires # - TOXENV=py26-test-nodeps # - TOXENV=py27-test-nodeps # - TOXENV=py33-test-nodeps # - TOXENV=py34-test-nodeps - TOXENV=py26-test-deps - TOXENV=py27-test-deps - TOXENV=py33-test-deps - TOXENV=py34-test-deps - TOXENV=py27-pylint-deps - TOXENV=py33-pylint-deps - TOXENV=py34-pylint-deps install: - pip install tox script: - tox
Use the pre-release builds of chefdk
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk/bin/chef shell-init bash)" # We have to install chef-sugar for ChefSpec - /opt/chefdk/embedded/bin/chef gem install chef-sugar script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec spec
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-current-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk/bin/chef shell-init bash)" # We have to install chef-sugar for ChefSpec - /opt/chefdk/embedded/bin/chef gem install chef-sugar script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec spec
Test the build on iOS 9.3
# Configuration for Travis (https://travis-ci.org) language: objective-c xcode_workspace: OneTimePassword.xcworkspace xcode_scheme: OneTimePassword osx_image: xcode7.2 xcode_sdk: iphonesimulator9.2 env: - DESTINATION="OS=8.1,name=iPhone 4S" - DESTINATION="OS=8.2,name=iPhone 5" - DESTINATION="OS=8.3,name=iPhone 5S" - DESTINATION="OS=8.4,name=iPhone 6" - DESTINATION="OS=9.0,name=iPhone 6 Plus" - DESTINATION="OS=9.1,name=iPhone 6S" - DESTINATION="OS=9.2,name=iPhone 6S Plus" matrix: include: - osx_image: xcode8 xcode_sdk: iphonesimulator10.0 env: DESTINATION="OS=10.0,name=iPhone SE" # Check out nested dependencies before_install: git submodule update --init --recursive # A custom test script is required because xctool cannot access the iOS keychain # https://github.com/facebook/xctool/issues/269 script: set -o pipefail && xcodebuild -workspace $TRAVIS_XCODE_WORKSPACE -scheme $TRAVIS_XCODE_SCHEME -sdk $TRAVIS_XCODE_SDK -destination "$DESTINATION" build test | xcpretty -c
# Configuration for Travis (https://travis-ci.org) language: objective-c xcode_workspace: OneTimePassword.xcworkspace xcode_scheme: OneTimePassword osx_image: xcode7.2 xcode_sdk: iphonesimulator9.2 env: - DESTINATION="OS=8.1,name=iPhone 4S" - DESTINATION="OS=8.2,name=iPhone 5" - DESTINATION="OS=8.3,name=iPhone 5S" - DESTINATION="OS=8.4,name=iPhone 6" - DESTINATION="OS=9.0,name=iPhone 6 Plus" - DESTINATION="OS=9.1,name=iPhone 6S" - DESTINATION="OS=9.2,name=iPhone 6S Plus" - DESTINATION="OS=9.3,name=iPhone 6S Plus" matrix: include: - osx_image: xcode8 xcode_sdk: iphonesimulator10.0 env: DESTINATION="OS=10.0,name=iPhone SE" # Check out nested dependencies before_install: git submodule update --init --recursive # A custom test script is required because xctool cannot access the iOS keychain # https://github.com/facebook/xctool/issues/269 script: set -o pipefail && xcodebuild -workspace $TRAVIS_XCODE_WORKSPACE -scheme $TRAVIS_XCODE_SCHEME -sdk $TRAVIS_XCODE_SDK -destination "$DESTINATION" build test | xcpretty -c
Check links only on PHP 5.6
language: php matrix: fast_finish: true include: - php: 5.3.3 - php: 5.3 - php: 5.4 - php: 5.5 - php: 5.6 - php: 7 - php: hhvm allow_failures: - php: 7 before_install: - composer selfupdate install: - sudo apt-get -y install pypy python-sphinx graphviz - travis_retry composer install --no-interaction --prefer-source script: - cd docs && make linkcheck && cd .. - vendor/bin/phpdoc -d src -t docs-api - vendor/bin/phpunit --coverage-text
language: php matrix: fast_finish: true include: - php: 5.3.3 - php: 5.3 - php: 5.4 - php: 5.5 - php: 5.6 env: CHECK_LINKS=true - php: 7 - php: hhvm allow_failures: - php: 7 before_install: - composer selfupdate install: - if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi - travis_retry composer install --no-interaction --prefer-source script: - if [[ "$CHECK_LINKS" == "true" ]]; then cd docs && make linkcheck && cd ..; fi - vendor/bin/phpdoc -d src -t docs-api - vendor/bin/phpunit --coverage-text
Test on modern Ruby and remove hip chat notifications
rvm: - 1.9.3 - 2.0.0 - 2.1.0 bundler_args: --jobs 7 branches: only: - master script: bundle exec rake travis:ci notifications: hipchat: on_change: true on_failure: true on_success: false on_pull_requests: false rooms: # Build Statuses - secure: IycrY52k8dhilnU3B2c8mem9LzofQlMISUZSDk2tys0cvW0U3lnCQQiSvT5kTtiKztUABEiT2UqU2QYwUfeW/yYrO3NjB2OBqehRKnEn2oEaapcIugvtsQMySfYqJ7IsKpyh3vTMmgyKPw3OCKh5OJn26lMdHH2R91SXcbUezKI= # Release Engineering - secure: JJlujHzKxsY74bfJHNxH6fQOF5IULeJECXkxx6uU/T+CjxydINwAH5lQ1RUleLZlH0BmQDgxK+O46hiuWdYAyhgCJY9bQOBWG+aQusXIoLvV3qj+rU0dX1wvjEuO/NzkZTPZy7HMGqmCxTdmx/OawoNnpXU8qsI/OJqbISv2bGo=
language: ruby cache: bundler sudo: false rvm: - 2.2.5 - 2.3.1 branches: only: - master script: bundle exec rake travis:ci
Remove older version of Ruby from Travis
--- # 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.2 - 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" # Only notify for failed builds. notifications: email: on_success: never
--- # 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: matrix: - PUPPET_VERSION="~> 2.7.0" - PUPPET_VERSION="~> 3.1.0" - PUPPET_VERSION="~> 3.2.0" - PUPPET_VERSION="~> 3.4.0" # Only notify for failed builds. notifications: email: on_success: never
Fix for postgis extension error.
language: python python: - "2.7" sudo: required dist: trusty addons: postgresql: "9.4" services: - postgresql virtualenv: system_site_packages: true # install prerequisites before_install: - sudo apt-get update -qq - sudo apt-get install -y build-essential python-numpy python-scipy libgdal1h libhdf5-dev libnetcdf-dev cython python-pandas python-h5py python-pip python-psycopg2 python-gdal - sudo pip install netCDF4 - psql -U postgres -c "create extension postgis" - psql -U postgres -c "create extension postgis_topology" - python bootstrap.py - ln -s /usr/bin/psql ./bin/psql - ln -s /usr/bin/raster2pgsql ./bin/raster2pgsql - ln -s /usr/bin/shp2pgsql ./bin/shp2pgsql # install install: - ./bin/buildout -c .travis-buildout.cfg # testing script: - ./bin/rheas -h
language: python python: - "2.7" sudo: required dist: trusty addons: postgresql: "9.4" services: - postgresql virtualenv: system_site_packages: true # install prerequisites before_install: - sudo apt-get update -qq - sudo apt-get install -y build-essential python-numpy python-scipy libgdal1h libhdf5-dev libnetcdf-dev cython postgresql-9.4-postgis-2.3 python-pandas python-h5py python-pip python-psycopg2 python-gdal - sudo pip install netCDF4 - psql -U postgres -c "create extension postgis" - psql -U postgres -c "create extension postgis_topology" - python bootstrap.py - ln -s /usr/bin/psql ./bin/psql - ln -s /usr/bin/raster2pgsql ./bin/raster2pgsql - ln -s /usr/bin/shp2pgsql ./bin/shp2pgsql # install install: - ./bin/buildout -c .travis-buildout.cfg # testing script: - ./bin/rheas -h
Remove hhvm (didn't work, revisit later)
language: php php: - 5.6 - 7.0 - 7.1 # Use the newer stack for HHVM as HHVM does not support Precise - php: hhvm sudo: required dist: trusty group: edge before_install: - composer require phpunit/phpunit:4.8.* satooshi/php-coveralls:dev-master - composer install --dev script: - mkdir -p build/logs && ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/bin/coveralls -v
language: php php: - 5.6 - 7.0 - 7.1 # Use the newer stack for HHVM as HHVM does not support Precise #- php: hhvm # sudo: required # dist: trusty # group: edge before_install: - composer require phpunit/phpunit:4.8.* satooshi/php-coveralls:dev-master - composer install --dev script: - mkdir -p build/logs && ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/bin/coveralls -v
Update from Hackage at 2017-02-19T22:13:29Z
homepage: '' changelog-type: '' hash: a707a0f0fe9f2f6be156be1bdf5b76c6b9f52b3c10dc41cf4416dbb0b67d71dd test-bench-deps: {} maintainer: conal@conal.net synopsis: Generalized booleans and numbers changelog: '' basic-deps: base: <5 all-versions: - '0.0.0' - '0.0.1' - '0.1.0' - '0.1.1' - '0.1.2' - '0.2' - '0.2.1' - '0.2.2' - '0.2.3' author: Conal Elliott latest: '0.2.3' description-type: haddock description: ! 'Some classes for generalized boolean operations. Starting with 0.1.0, this package uses type families. Up to version 0.0.2, it used MPTCs with functional dependencies. My thanks to Andy Gill for suggesting & helping with the change. Thanks also to Alex Horsman for Data.Boolean.Overload and to Jan Bracker for Data.Boolean.Numbers. Copyright 2009-2013 Conal Elliott; BSD3 license.' license-name: BSD3
homepage: '' changelog-type: '' hash: a16b532a00eb3f29e8e588f3ca5c225370eef3dd963ee833d88b241ac680dc71 test-bench-deps: {} maintainer: conal@conal.net synopsis: Generalized booleans and numbers changelog: '' basic-deps: base: <5 all-versions: - '0.0.0' - '0.0.1' - '0.1.0' - '0.1.1' - '0.1.2' - '0.2' - '0.2.1' - '0.2.2' - '0.2.3' - '0.2.4' author: Conal Elliott latest: '0.2.4' description-type: haddock description: ! 'Some classes for generalized boolean operations. Starting with 0.1.0, this package uses type families. Up to version 0.0.2, it used MPTCs with functional dependencies. My thanks to Andy Gill for suggesting & helping with the change. Thanks also to Alex Horsman for Data.Boolean.Overload and to Jan Bracker for Data.Boolean.Numbers. Copyright 2009-2013 Conal Elliott; BSD3 license.' license-name: BSD3
Move to official NuGet action
name: CI on: [push] jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v1 - name: Build run: .\build.cmd - name: Upload binaries uses: actions/upload-artifact@v1 with: name: bin path: bin push-to-myget: if: github.event_name == 'push' && github.ref == 'refs/heads/master' needs: build runs-on: windows-latest steps: - name: Download binaries uses: actions/download-artifact@v1 with: name: bin - name: Setup nuget uses: warrenbuckley/Setup-Nuget@v1 - run: | nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/terrajobst/index.json" -UserName terrajobst -Password ${{ secrets.GH_TOKEN }} nuget push bin\*.nupkg -Source "GitHub"
name: CI on: [push] jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v1 - name: Build run: .\build.cmd - name: Upload binaries uses: actions/upload-artifact@v1 with: name: bin path: bin push-to-myget: if: github.event_name == 'push' && github.ref == 'refs/heads/master' needs: build runs-on: windows-latest steps: - name: Download binaries uses: actions/download-artifact@v1 with: name: bin - name: Setup nuget uses: nuget/setup-nuget@v1 - run: | nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/terrajobst/index.json" -UserName terrajobst -Password ${{ secrets.GH_TOKEN }} nuget push bin\*.nupkg -Source "GitHub"
Change redcarpet to kramdown for gh-pages
safe: false #auto: false #server: false port: 4000 baseurl: /jekyll_demo url: http://localhost:4000 source: . destination: ./_site plugins_dir: ./_plugins future: true lsi: false #highlighter: pygments markdown: redcarpet permalink: date #maruku: # use_tex: false # use_divs: false # png_engine: blahtex # png_dir: images/latex # png_url: /images/latex rdiscount: extensions: [] redcarpet: extensions: ['tables', 'smart'] kramdown: auto_ids: true, footnote_nr: 1 entity_output: as_char toc_levels: 1..6 enable_coderay: false coderay: coderay_wrap: div coderay_line_numbers: inline coderay_line_numbers_start: 1 coderay_tab_width: 4 coderay_bold_every: 10 coderay_css: style
safe: false #auto: false #server: false port: 4000 baseurl: /jekyll_demo url: http://localhost:4000 source: . destination: ./_site plugins_dir: ./_plugins future: true lsi: false #highlighter: pygments markdown: kramdown permalink: date #maruku: # use_tex: false # use_divs: false # png_engine: blahtex # png_dir: images/latex # png_url: /images/latex rdiscount: extensions: [] redcarpet: extensions: ['tables', 'smart'] kramdown: auto_ids: true, footnote_nr: 1 entity_output: as_char toc_levels: 1..6 enable_coderay: false coderay: coderay_wrap: div coderay_line_numbers: inline coderay_line_numbers_start: 1 coderay_tab_width: 4 coderay_bold_every: 10 coderay_css: style
Switch to 2023.1 Python3 unit tests and generic template name
--- - project: queue: trove templates: - check-requirements - openstack-cover-jobs # - openstack-lower-constraints-jobs - openstack-python3-zed-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - openstack-tox-cover: voting: false - trove-tox-bandit-baseline: voting: false - trove-tempest: voting: false - trove-ubuntu-guest-image-build: voting: true - trove-centos8s-guest-image-build: voting: true - trove-tempest-postgres: voting: false - trove-tempest-ipv6-only: voting: false - trove-functional-mysql: voting: false gate: jobs: - trove-tempest: voting: false experimental: jobs: - trove-functional-mysql - trove-scenario-mysql-single - trove-scenario-mysql-multi - trove-scenario-mariadb-single - trove-scenario-mariadb-multi periodic: jobs: - publish-trove-guest-image-ubuntu-focal - publish-trove-guest-image-ubuntu-focal-dev
--- - project: queue: trove templates: - check-requirements - openstack-cover-jobs # - openstack-lower-constraints-jobs - openstack-python3-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - openstack-tox-cover: voting: false - trove-tox-bandit-baseline: voting: false - trove-tempest: voting: false - trove-ubuntu-guest-image-build: voting: true - trove-centos8s-guest-image-build: voting: true - trove-tempest-postgres: voting: false - trove-tempest-ipv6-only: voting: false - trove-functional-mysql: voting: false gate: jobs: - trove-tempest: voting: false experimental: jobs: - trove-functional-mysql - trove-scenario-mysql-single - trove-scenario-mysql-multi - trove-scenario-mariadb-single - trove-scenario-mariadb-multi periodic: jobs: - publish-trove-guest-image-ubuntu-focal - publish-trove-guest-image-ubuntu-focal-dev
Enable test and coverage checks in CI
name: Code quality checks on: push: branches: - main pull_request: jobs: code_quality: name: Check code quality runs-on: ubuntu-latest strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.6, 3.7, 3.8, 3.9] steps: - name: Checkout repository 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 poetry poetry config virtualenvs.create false poetry install --no-root --no-interaction - name: Check code formatting run: make formatcheck - name: Check for linter errors run: make lint # - name: Check docstring formatting # run: make docstringcheck # TODO # - name: Check doc site build # run: make docbuildcheck # - name: Check type annotations # run: make typecheck # TODO # - name: Run tests # run: make test # - name: Check code coverage # run: make covcheck
name: Code quality checks on: push: branches: - main pull_request: jobs: code_quality: name: Check code quality runs-on: ubuntu-latest strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.6, 3.7, 3.8, 3.9] steps: - name: Checkout repository 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 poetry poetry config virtualenvs.create false poetry install --no-root --no-interaction - name: Check code formatting run: make formatcheck - name: Check for linter errors run: make lint # - name: Check docstring formatting # run: make docstringcheck # TODO # - name: Check doc site build # run: make docbuildcheck # - name: Check type annotations # run: make typecheck # TODO - name: Run tests run: make test - name: Check code coverage run: make covcheck
Exclude Python 3.9 and 3.10 from CI on Windows
name: CI on: [push, pull_request] jobs: build: name: ${{ matrix.os }} ${{ matrix.python }} ${{ matrix.name }} runs-on: ${{ matrix.os }} defaults: run: shell: bash -l {0} strategy: # fail-fast: true fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] # os: [ubuntu-latest] python: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} uses: conda-incubator/setup-miniconda@v2 with: python-version: ${{ matrix.python }} auto-update-conda: true channels: conda-forge channel-priority: strict - name: Install dependencies run: | conda install setuptools pip wheel numpy numexpr cython bzip2 hdf5 lzo # conda install sphinx sphinx_rtd_theme numpydoc ipython - name: Source distribution run: | python setup.py sdist - name: Installation run: | pip install -v dist/*.tar.gz - name: 'Run test' run: | cd .. && python -m tables.tests.test_all pt2to3 -h ptrepack -h ptdump -h pttree -h
name: CI on: [push, pull_request] jobs: build: name: ${{ matrix.os }} ${{ matrix.python }} ${{ matrix.name }} runs-on: ${{ matrix.os }} defaults: run: shell: bash -l {0} strategy: # fail-fast: true fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] # os: [ubuntu-latest] python: ['3.6', '3.7', '3.8', '3.9', '3.10'] exclude: - os: windows-latest python: "3.9" - os: windows-latest python: "3.10" steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} uses: conda-incubator/setup-miniconda@v2 with: python-version: ${{ matrix.python }} auto-update-conda: true channels: conda-forge channel-priority: strict - name: Install dependencies run: | conda install setuptools pip wheel numpy numexpr cython bzip2 hdf5 lzo # conda install sphinx sphinx_rtd_theme numpydoc ipython - name: Source distribution run: | python setup.py sdist - name: Installation run: | pip install -v dist/*.tar.gz - name: 'Run test' run: | cd .. && python -m tables.tests.test_all pt2to3 -h ptrepack -h ptdump -h pttree -h
Bump ridedott/merge-me-action from v1.8.28 to v1.8.30
name: Node CI on: [push] jobs: test: name: Run test suite runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v2.3.4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2.1.2 with: node-version: ${{ matrix.node-version }} - name: npm install and test run: | npm install npm run build npm test env: CI: true merge-me: name: Auto-merge dependency updates needs: test runs-on: ubuntu-latest steps: - uses: ridedott/merge-me-action@v1.8.28 with: GITHUB_LOGIN: 'dependabot[bot]' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Node CI on: [push] jobs: test: name: Run test suite runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v2.3.4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2.1.2 with: node-version: ${{ matrix.node-version }} - name: npm install and test run: | npm install npm run build npm test env: CI: true merge-me: name: Auto-merge dependency updates needs: test runs-on: ubuntu-latest steps: - uses: ridedott/merge-me-action@v1.8.30 with: GITHUB_LOGIN: 'dependabot[bot]' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Update MySQL port on docker container
version: '2' services: app: depends_on: - db image: redisforlosers/hub volumes: - ./:/hub ports: - 10000:10000 container_name: hub hostname: hub phpmyadmin: depends_on: - db image: phpmyadmin/phpmyadmin ports: - 18888:80 container_name: hub-phpmyadmin hostname: hub-phpmyadmin db: image: mysql:5.7 volumes: - dbdata:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: lpl_hub_root MYSQL_DATABASE: dev_hub MYSQL_USER: lpl_hub MYSQL_PASSWORD: lpl_hub ports: - 13307:3306 container_name: hub-mysql hostname: hub-mysql volumes: dbdata:
version: '2' services: app: depends_on: - db image: redisforlosers/hub volumes: - ./:/hub ports: - 10000:10000 container_name: hub hostname: hub phpmyadmin: depends_on: - db image: phpmyadmin/phpmyadmin ports: - 18888:80 container_name: hub-phpmyadmin hostname: hub-phpmyadmin db: image: mysql:5.7 volumes: - dbdata:/var/lib/mysql environment: MYSQL_ROOT_PASSWORD: lpl_hub_root MYSQL_DATABASE: dev_hub MYSQL_USER: lpl_hub MYSQL_PASSWORD: lpl_hub ports: - 13306:3306 container_name: hub-mysql hostname: hub-mysql volumes: dbdata:
Update from Forestry.io - Updated Forestry configuration
--- hide_body: true is_partial: false fields: - type: text name: title label: Title - type: datetime name: date label: Date - type: textarea name: description label: Description - type: select name: vendor config: source: type: simple options: - YouTube - Vimeo label: Vendor - type: text name: video_id label: Video ID description: e.g. KX4G49ZrvY0 - type: list name: tool label: Related Tool config: use_select: true source: type: pages section: tool - type: list name: related_content label: Related Event or Article config: use_select: true source: type: pages
--- hide_body: true is_partial: false fields: - type: text name: title label: Title - type: datetime name: date label: Date - type: textarea name: description label: Description - type: select name: vendor config: source: type: simple options: - YouTube - Vimeo label: Vendor - type: text name: video_id label: Video ID description: e.g. KX4G49ZrvY0 - type: list name: tool label: Related Tool config: use_select: true source: type: pages section: tool - type: list name: related_content label: Related Event or Article config: use_select: true source: type: pages - type: field_group name: apple label: Apple fields: - type: text name: title label: Title - type: textarea name: description label: Description config: wysiwyg: true schema: format: markdown
Add ignoring paths for SP&Facade
codecov: branch: master coverage: precision: 2 round: down range: "70...100" status: project: default: target: auto threshold: null branches: null patch: default: target: auto branches: null changes: default: branches: null comment: layout: "header, diff, changes, sunburst, uncovered, tree" branches: null behavior: default
codecov: branch: master coverage: precision: 2 round: down range: "70...100" status: project: default: target: auto threshold: null branches: null patch: default: target: auto branches: null changes: default: branches: null ignore: - "src/ecurl.php" - "src/EasyCurlFacade.php" - "src/EasyCurlServiceProvider.php" comment: layout: "header, diff, changes, sunburst, uncovered, tree" branches: null behavior: default
Build only 2.0.0 and latest 2.1.x
language: ruby rvm: - 2.0.0 - 2.1.0 - 2.1.1 env: - DB=mysql - DB=postgresql before_script: - "cp config/database.yml.$DB config/database.yml" - "cp config/gitlab.yml.sample config/gitlab.yml" - "cp config/pusher.yml.sample config/pusher.yml" - "RAILS_ENV=test bundle exec rake db:create db:migrate" script: bundle exec rspec branches: only: - master notifications: email: false
language: ruby rvm: - 2.0.0 - 2.1.2 env: - DB=mysql - DB=postgresql before_script: - "cp config/database.yml.$DB config/database.yml" - "cp config/gitlab.yml.sample config/gitlab.yml" - "cp config/pusher.yml.sample config/pusher.yml" - "RAILS_ENV=test bundle exec rake db:create db:migrate" script: bundle exec rspec branches: only: - master notifications: email: false
Modify params for robot on gazebo such as obstacle range and footprint
obstacle_range: 12.0 raytrace_range: 15.0 # footprint for KIT-C5 new model footprint: [[0.1, 0.4], [0.1, -0.4], [-0.4, -0.4], [-0.4, 0.4]] # footprint: [[0.1, 0.1], [0.1, -0.1], [-0.1, -0.1], [-0.1, 0.1]] inflation_radius: 0.55 cost_scaling_factor: 5.0 rigin_z: 0.0 z_resolution: 0.2 z_voxels: 0.2 publish_voxel_map: false max_obstacle_height: 0.4 min_obstacle_height: 0.0 observation_sources: velodyne_sensor velodyne_sensor: {sensor_frame: velodyne_link, data_type: PointCloud2, topic: points2, marking: true, clearing: true}
obstacle_range: 5.0 raytrace_range: 7.0 footprint: [[0.1, 0.1], [0.1, -0.1], [-0.1, -0.1], [-0.1, 0.1]] inflation_radius: 0.3 cost_scaling_factor: 5.0 rigin_z: 0.0 z_resolution: 0.2 z_voxels: 0.2 publish_voxel_map: false max_obstacle_height: 0.4 min_obstacle_height: 0.01 observation_sources: velodyne_sensor velodyne_sensor: {sensor_frame: velodyne_link, data_type: PointCloud2, topic: points2, marking: true, clearing: true}
Update from Hackage at 2018-10-19T16:56:28Z
homepage: https://github.com/Tinybop/gingersnap changelog-type: markdown hash: 2e9198271f4c8dafed7bc7c9d615c5c43557f61ca0e0a8ee10fedc8e000da526 test-bench-deps: {} maintainer: tom@tinybop.com synopsis: snap-core + aeson + postgresql-simple = delicious changelog: ! '# Revision history for gingersnap ## 0.1.0.0 -- 2018-10-18 * Initial release ' basic-deps: bytestring: -any base: ! '>=4.9 && <5' resource-pool: -any snap-core: -any postgresql-simple: -any http-types: -any aeson: -any all-versions: - '0.1.0.0' author: Tinybop Labs, tom-bop latest: '0.1.0.0' description-type: haddock description: JSON API idioms for snap-core, preventing DB connection leaks license-name: BSD3
homepage: https://github.com/Tinybop/gingersnap changelog-type: markdown hash: 814f00cafb430e9ac309a1887bfbceeea5fcfb52eefc1476b2d3652d3564b3ba test-bench-deps: {} maintainer: tom@tinybop.com synopsis: snap-core + aeson + postgresql-simple = delicious changelog: ! '# Revision history for gingersnap ## 0.1.0.0 -- 2018-10-18 * Initial release ' basic-deps: bytestring: -any base: ! '>=4.9 && <5' resource-pool: -any snap-core: -any postgresql-simple: -any http-types: -any aeson: -any all-versions: - '0.1.0.0' - '0.1.1.0' author: Tinybop Labs, tom-bop latest: '0.1.1.0' description-type: haddock description: JSON API idioms for snap-core, preventing DB connection leaks license-name: BSD3
Remove Rubinius from Travis config
language: ruby rvm: - 2.3 - 2.4 - ruby-head - jruby-9.1.13.0 - jruby-head - rbx-3 before_install: gem install bundler script: bundle exec rspec
language: ruby rvm: - 2.3 - 2.4 - ruby-head - jruby-9.1.13.0 - jruby-head before_install: gem install bundler script: bundle exec rspec
Update the node version numbers to ones we use
language: node_js node_js: - "0.10" - "0.12" sudo: false
language: node_js node_js: - "5" - "4.4" - "0.12" sudo: false
Add godep restore to Travis build
language: go go: - 1.2.2 - 1.3.3 - 1.4.2 - 1.5.1 before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover - go get github.com/tools/godep script: - make test - make detail - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
language: go go: - 1.2.2 - 1.3.3 - 1.4.2 - 1.5.1 before_install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover - go get github.com/tools/godep - godep restore script: - make test - make detail - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
Revert "Try Trusty on Travis"
dist: trusty sudo: false language: php env: global: - WP_CLI_BIN_DIR=/tmp/wp-cli-phar matrix: include: - php: 5.3 env: WP_VERSION=3.7.11 DEPLOY_BRANCH=master - php: 5.6 env: WP_VERSION=3.7.11 - php: 5.6 env: WP_VERSION=latest - php: 5.6 env: WP_VERSION=latest BUILD=git WP_CLI_BIN_DIR='' - php: 5.6 env: WP_VERSION=trunk - php: 7.0 env: WP_VERSION=latest before_script: ./ci/prepare.sh script: ./ci/test.sh after_success: ./ci/deploy.sh cache: directories: - vendor branches: only: - master notifications: email: on_success: never on_failure: change
sudo: false language: php env: global: - WP_CLI_BIN_DIR=/tmp/wp-cli-phar matrix: include: - php: 5.3 env: WP_VERSION=3.7.11 DEPLOY_BRANCH=master - php: 5.6 env: WP_VERSION=3.7.11 - php: 5.6 env: WP_VERSION=latest - php: 5.6 env: WP_VERSION=latest BUILD=git WP_CLI_BIN_DIR='' - php: 5.6 env: WP_VERSION=trunk - php: 7.0 env: WP_VERSION=latest before_script: ./ci/prepare.sh script: ./ci/test.sh after_success: ./ci/deploy.sh cache: directories: - vendor branches: only: - master notifications: email: on_success: never on_failure: change
Fix composer TLS exception on PHP 5.3.3
language: php php: - 5.3.3 - 5.3 - 5.4 - 5.5 - 5.6 - nightly - hhvm # run build against nightly but allow them to fail matrix: fast_finish: true allow_failures: - php: nightly - php: hhvm # faster builds on new travis setup not using sudo sudo: false install: - composer self-update before_script: - composer install --prefer-dist --no-interaction script: - phpunit --coverage-clover=coverage.clover after_script: - | wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover coverage.clover
language: php php: - 5.3.3 - 5.3 - 5.4 - 5.5 - 5.6 - nightly - hhvm # run build against nightly but allow them to fail matrix: fast_finish: true allow_failures: - php: nightly - php: hhvm # faster builds on new travis setup not using sudo sudo: false install: - composer self-update before_script: # disable TLS for composer because openssl is disabled for PHP 5.3.3 on travis # see: https://blog.travis-ci.com/upcoming_ubuntu_11_10_migration/ - if [[ $TRAVIS_PHP_VERSION = 5.3.3 ]]; then composer config -g -- disable-tls true; fi; - if [[ $TRAVIS_PHP_VERSION = 5.3.3 ]]; then composer config -g -- secure-http false; fi; - composer install --prefer-dist --no-interaction script: - phpunit --coverage-clover=coverage.clover after_script: - | wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Remove the need for a tagged commit to deploy It won't deploy a new version unless setup.py is updated
sudo: required language: python python: - '3.8' - '3.7' - '3.6' services: - docker before_install: - docker version - docker pull rocket.chat:latest - pip install docker-compose - pip install codecov pytest-cov pytest-flakes pytest-pep8 - docker-compose -f docker-compose-test-server.yml up -d script: - docker ps - until curl http://localhost:3000/api/v1/info; do sleep 5; echo "waiting for Rocket.Chat server to start"; done - pytest tests rocketchat_API -x --cov=./ --pep8 --flakes - codecov deploy: provider: pypi username: "__token__" password: "${PYPI_TOKEN}" on: tags: true distributions: "bdist_wheel" skip_existing: true
sudo: required language: python python: - '3.8' - '3.7' - '3.6' services: - docker before_install: - docker version - docker pull rocket.chat:latest - pip install docker-compose - pip install codecov pytest-cov pytest-flakes pytest-pep8 - docker-compose -f docker-compose-test-server.yml up -d script: - docker ps - until curl http://localhost:3000/api/v1/info; do sleep 5; echo "waiting for Rocket.Chat server to start"; done - pytest tests rocketchat_API -x --cov=./ --pep8 --flakes - codecov deploy: provider: pypi username: "__token__" password: "${PYPI_TOKEN}" distributions: "bdist_wheel" skip_existing: true
Build with Node.js 14 at Travis CI.
sudo: false language: node_js node_js: - '12' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc script: - nyc npm test
sudo: false language: node_js node_js: - '12' - '14' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc script: - nyc npm test
Use `build` in Travis config
language: java jdk: - oraclejdk8 before_install: - chmod +x gradlew script: - ./gradlew check --stacktrace after_success: - bash <(curl -s https://codecov.io/bash)
language: java jdk: - oraclejdk8 before_install: - chmod +x gradlew script: - ./gradlew build jacocoRootReport --stacktrace after_success: - bash <(curl -s https://codecov.io/bash)
Update Travis to macOS Sierra
language: csharp sudo: required dist: trusty addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 - zlib1g env: global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 mono: none os: - linux - osx branches: only: - master - release - dev - /^(.*\/)?ci-.*$/ before_install: - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi script: - ./build.sh
language: csharp sudo: false dist: trusty env: global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 mono: none os: - linux - osx osx_image: xcode8.2 branches: only: - master - release - dev - /^(.*\/)?ci-.*$/ before_install: - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi script: - ./build.sh
Revert "deploy to github releases on tags"
language: java jdk: - oraclejdk8 after_success: - bash <(curl -s https://codecov.io/bash) deploy: provider: releases api_key: "0871e0112c8b576cf660895775e82366f61b52dc" file: "build/distributions/JTerm.zip" skip_cleanup: true on: tags: true
language: java jdk: - oraclejdk8 after_success: - bash <(curl -s https://codecov.io/bash)
Remove node 6 from running in CI
language: node_js node_js: - '8' - '6' cache: directories: - node_modules script: - 'yarn test:coverage' - 'yarn lint' after_success: 'yarn test:report'
language: node_js node_js: - '8' cache: directories: - node_modules script: - 'yarn test:coverage' - 'yarn lint' after_success: 'yarn test:report'
Revert "Test build with JDK6" - Travis error: Sun/Oracle JDK 6 is EOL since November 2012, and is no longer supported. Please consider upgrading...
language: java jdk: - oraclejdk6 - oraclejdk7 - oraclejdk8 script: mvn install after_success: - mvn clean test jacoco:report coveralls:report
language: java jdk: - oraclejdk7 - oraclejdk8 script: mvn install after_success: - mvn clean test jacoco:report coveralls:report
Purge snapshots from Travis cache, force re-download
language: java jdk: - oraclejdk7 - openjdk7 - oraclejdk8 env: - GWT_VERSION=2.7.0 - GWT_VERSION=2.8.0 - GWT_VERSION=2.8.1 - GWT_VERSION=HEAD-SNAPSHOT matrix: allow_failures: - jdk: oraclejdk7 env: GWT_VERSION=HEAD-SNAPSHOT - jdk: openjdk7 env: GWT_VERSION=HEAD-SNAPSHOT install: true script: mvn verify -Dinvoker.streamLogs=true -Dinvoker.mavenOpts="-Djava.net.preferIPv4Stack=true" -DgwtVersion=$GWT_VERSION after_success: - ci/deploy-snapshot.sh notifications: email: false sudo: false cache: directories: - $HOME/.m2 - target/it-repo
language: java jdk: - oraclejdk7 - openjdk7 - oraclejdk8 env: - GWT_VERSION=2.7.0 - GWT_VERSION=2.8.0 - GWT_VERSION=2.8.1 - GWT_VERSION=HEAD-SNAPSHOT matrix: allow_failures: - jdk: oraclejdk7 env: GWT_VERSION=HEAD-SNAPSHOT - jdk: openjdk7 env: GWT_VERSION=HEAD-SNAPSHOT install: true script: mvn -U verify -Dinvoker.streamLogs=true -Dinvoker.mavenOpts="-Djava.net.preferIPv4Stack=true" -DgwtVersion=$GWT_VERSION after_success: - ci/deploy-snapshot.sh notifications: email: false sudo: false before_cache: - shopt -s globstar && rm -fr $HOME/.m2/**/*-SNAPSHOT/ - shopt -s globstar && rm -fr target/it-repo/**/*-SNAPSHOT/ cache: directories: - $HOME/.m2 - target/it-repo
Downgrade to trusty for compatibility with jruby-1.7.27 and rbx-3.107.
language: ruby dist: xenial before_install: - if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install rubygems-update --version '~> 2.7' --no-document && update_rubygems; else gem update --system; fi - gem --version - if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install bundler --version '~> 1.17'; else gem install bundler; fi - bundle --version before_script: - bundle update cache: bundler env: global: - TESTOPTS=--verbose rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 - 2.7.0-rc2 - ruby-head - jruby-1.7.27 - jruby-9.1.17.0 - jruby-9.2.9.0 - jruby-head - rbx-3.107 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head
language: ruby dist: trusty before_install: - if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install rubygems-update --version '~> 2.7' --no-document && update_rubygems; else gem update --system; fi - gem --version - if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install bundler --version '~> 1.17'; else gem install bundler; fi - bundle --version before_script: - bundle update cache: bundler env: global: - TESTOPTS=--verbose rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 - 2.7.0-rc2 - ruby-head - jruby-1.7.27 - jruby-9.1.17.0 - jruby-9.2.9.0 - jruby-head - rbx-3.107 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head
Add Ruby 2.7 to Travis
language: ruby script: script/test rvm: - 2.3.8 - 2.4.7 - 2.5.6 - 2.6.4 gemfile: - gemfiles/5.2.gemfile - gemfiles/6.0.gemfile matrix: exclude: - rvm: 2.3.8 gemfile: gemfiles/6.0.gemfile - rvm: 2.4.7 gemfile: gemfiles/6.0.gemfile
language: ruby script: script/test rvm: - 2.3.8 - 2.4.8 - 2.5.7 - 2.6.5 - 2.7.0 gemfile: - gemfiles/5.2.gemfile - gemfiles/6.0.gemfile matrix: exclude: - rvm: 2.3.8 gemfile: gemfiles/6.0.gemfile - rvm: 2.4.7 gemfile: gemfiles/6.0.gemfile
Add webhook for Ansible Galaxy to Travis
--- language: python python: "2.7" sudo: required services: - docker install: - pip install ansible docker-py - pip install molecule --pre script: - molecule test
--- language: python python: "2.7" sudo: required services: - docker install: - pip install ansible docker-py - pip install molecule --pre script: - molecule test notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/
Add support for PHP 7.3
language: php php: - 7.1 - 7.2 - nightly matrix: allow_failures: - php: nightly env: - LARAVEL_VERSION="" - LARAVEL_VERSION="5.5" - LARAVEL_VERSION="5.6" - LARAVEL_VERSION="5.7" install: - composer self-update --snapshot - travis/laravel.php - composer update script: - vendor/bin/phpunit - tests/lint.sh - vendor/bin/composer-require-checker jobs: include: - stage: coverage script: - vendor/bin/phpunit --coverage-clover=coverage.xml - bash <(curl -s https://codecov.io/bash) git: depth: 5 group: travis_latest
language: php php: - 7.1 - 7.2 - 7.3 - nightly matrix: allow_failures: - php: nightly env: - LARAVEL_VERSION="" - LARAVEL_VERSION="5.5" - LARAVEL_VERSION="5.6" - LARAVEL_VERSION="5.7" install: - composer self-update --snapshot - travis/laravel.php - composer update script: - vendor/bin/phpunit - tests/lint.sh - vendor/bin/composer-require-checker jobs: include: - stage: coverage script: - vendor/bin/phpunit --coverage-clover=coverage.xml - bash <(curl -s https://codecov.io/bash) git: depth: 5 group: travis_latest
Build and test also on OpenJDK 10 and 11
language: java jdk: - oraclejdk8 - openjdk8 - oraclejdk9 services: - postgresql before_script: - psql -c $'create role "mongo-java-server-test" login password \'mongo-java-server-test\';' -U postgres - psql -c 'create database "mongo-java-server-test" with owner = "mongo-java-server-test";' -U postgres addons: postgresql: "9.5"
language: java jdk: - oraclejdk8 - openjdk8 - oraclejdk9 - openjdk10 - openjdk11 services: - postgresql before_script: - psql -c $'create role "mongo-java-server-test" login password \'mongo-java-server-test\';' -U postgres - psql -c 'create database "mongo-java-server-test" with owner = "mongo-java-server-test";' -U postgres addons: postgresql: "9.5"
Revert "Add more build targets"
language: php os: linux dist: xenial branches: except: - v0.5 - v0.6 - v0.6-PHP_5.2 - documentation services: redis before_script: - composer self-update - composer install --no-interaction --prefer-source --dev script: - vendor/bin/phpunit -c phpunit.xml.travisci jobs: fast_finish: true include: - php: 5.3 - php: 5.4 - php: 5.5 - php: 5.6 - php: 7.0 - php: 7.1 - php: 7.2 - php: 7.3 - php: 7.4 - php: hhvm dist: trusty
language: php os: linux dist: xenial branches: except: - v0.5 - v0.6 - v0.6-PHP_5.2 - documentation services: redis before_script: - composer self-update - composer install --no-interaction --prefer-source --dev script: - vendor/bin/phpunit -c phpunit.xml.travisci jobs: fast_finish: true include: - php: 5.3 - php: 5.4 - php: 5.5 - php: 5.6 - php: 7.0 - php: 7.1 - php: hhvm dist: trusty
Test on both osx and linux
language: r cache: packages warnings_are_errors: false r_github_packages: - jimhester/covr after_failure: find *Rcheck -name '*.fail' -print -exec cat '{}' \; after_success: - Rscript -e 'library(covr);codecov()'
language: r cache: packages warnings_are_errors: false os: - linux - osx r_github_packages: - jimhester/covr after_failure: find *Rcheck -name '*.fail' -print -exec cat '{}' \; after_success: - Rscript -e 'library(covr);codecov()'
Fix invalid deps and move AttributeFactory to component
language: php php: - 5.5 - 5.6 - 7.0 before_script: composer install --dev --prefer-source script: bin/phpspec run -fpretty --verbose
language: php php: - 5.5 - 5.6 - 7.0 before_script: composer install --no-interaction --prefer-source script: bin/phpspec run -fpretty --verbose
Update to build faketoe properly on new Node
sudo: false language: node_js node_js: - "0.10" - "0.12" - "4" - "iojs" - "iojs-v1" - "iojs-v2"
sudo: false language: node_js env: - CXX="g++-4.8" node_js: - "0.10" - "0.12" - "4" - "iojs" - "iojs-v1" - "iojs-v2" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - gcc-4.8
Use new Travis container-based infrastructure
language: ruby rvm: - 2.0 - 2.1 - 2.2 gemfile: - gemfiles/Gemfile.activerecord-4.1 env: - DB_ADAPTER=sqlite3 - DB_ADAPTER=mysql2 - DB_ADAPTER=postgresql before_script: - mysql -e 'create database microscope_test;' - psql -c 'create database microscope_test;' -U postgres script: "echo 'DO IT' && bundle exec rake spec" notifications: hipchat: rooms: secure: cJWiEh3XNWrEkoeaZd5Kyx3igwOJto+B8jPiyr38Kfv8Z2WLINkHbMQXcd37/tIubX6w9VWjWJ2TuX5cK2H07EraPDDYAHJlnoR/WIPoYwQoXGUWqGH26O2LdBiLs9JcBQ9rKT8K8wmQuxf2rTpY7lN2RoKMjjEjcleWJwQG/3w= template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Build</a>/<a href="%{compare_url}">Changes</a>)' format: 'html'
language: ruby sudo: false rvm: - 2.0 - 2.1 - 2.2 gemfile: - gemfiles/Gemfile.activerecord-4.1 env: - DB_ADAPTER=sqlite3 - DB_ADAPTER=mysql2 - DB_ADAPTER=postgresql before_script: - mysql -e 'create database microscope_test;' - psql -c 'create database microscope_test;' -U postgres script: "echo 'DO IT' && bundle exec rake spec" notifications: hipchat: rooms: secure: cJWiEh3XNWrEkoeaZd5Kyx3igwOJto+B8jPiyr38Kfv8Z2WLINkHbMQXcd37/tIubX6w9VWjWJ2TuX5cK2H07EraPDDYAHJlnoR/WIPoYwQoXGUWqGH26O2LdBiLs9JcBQ9rKT8K8wmQuxf2rTpY7lN2RoKMjjEjcleWJwQG/3w= template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Build</a>/<a href="%{compare_url}">Changes</a>)' format: 'html'
Revert "release from ruby 2.0"
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - jruby-18mode - rbx-18mode deploy: provider: rubygems api_key: secure: ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME= gem: dpl on: repo: rkh/dpl ruby: 2.0.0
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - jruby-18mode - rbx-18mode deploy: provider: rubygems api_key: secure: ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME= gem: dpl on: repo: rkh/dpl
Add the path of the coverage file
language: node_js node_js: - "5.10.1" before_script: "npm install -g codeclimate-test-reporter" script: - npm run lint - $(npm bin)/nyc $(npm bin)/babel-node scripts/batchTests.js after_script: - "CODECLIMATE_REPO_TOKEN=27125df6192d300baf67cd5f5eab6597c998256f4883b744a1055d0f0c18e608 codeclimate-test-reporter < coverage/lcov.info" - "./node_modules/.bin/codecov"
language: node_js node_js: - "5.10.1" before_script: "npm install -g codeclimate-test-reporter" script: - npm run lint - $(npm bin)/nyc $(npm bin)/babel-node scripts/batchTests.js after_script: - "CODECLIMATE_REPO_TOKEN=27125df6192d300baf67cd5f5eab6597c998256f4883b744a1055d0f0c18e608 codeclimate-test-reporter < coverage/lcov.info" - "./node_modules/.bin/codecov -f coverage/lcov.info"
Stop testing Node 4, explicitly test React 16
language: node_js sudo: false node_js: - '10' - '8' - '6' - '4' env: - MAIN_RUN=true - MAIN_RUN=false && REACT_VERSION=0.14 - MAIN_RUN=false && REACT_VERSION=15.0 before_install: - npm install -g npm@2 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - if [[ $MAIN_RUN == false ]]; then npm install react-dom@^$REACT_VERSION react@^$REACT_VERSION; fi
language: node_js sudo: false node_js: - '10' - '8' - '6' env: - REACT_VERSION=0.14.9 - REACT_VERSION=15.0 - REACT_VERSION=16.0 before_install: - npm install -g npm@6.4.1 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm install react-dom@^$REACT_VERSION react@^$REACT_VERSION
Use stable php7.4 for 1.4 version
language: php php: - 7.0 - 7.1 - 7.2 - 7.3 - 7.4snapshot before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover sudo: false script: ./vendor/bin/phpunit --coverage-clover=coverage.clover matrix: fast_finish: true
language: php php: - 7.0 - 7.1 - 7.2 - 7.3 - 7.4 before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover sudo: false script: ./vendor/bin/phpunit --coverage-clover=coverage.clover matrix: fast_finish: true
Add looser ranges for node versions
sudo: false language: node_js node_js: - "4.2.4" - "0.12"
sudo: false language: node_js node_js: - "5" - "4" - "0.12"
Fix issue with Travis-CI using old pip version
--- sudo: false cache: - pip before_cache: - rm ~/.cache/pip/log/debug.log language: python python: - "2.7" - "3.5" install: - pip install tox-travis coveralls script: - tox after_success: - coveralls
--- sudo: false cache: - pip before_cache: - rm ~/.cache/pip/log/debug.log language: python python: - "2.7" - "3.5" install: - pip install --upgrade pip - pip install tox-travis coveralls script: - tox after_success: - coveralls
Fix syntax of the if statement.
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_script: - if [[ "$TRAVIS_PHP_VERSION" == "5.3" -o "$TRAVIS_PHP_VERSION" == "5.4" ]]; then composer install --dev --prefer-lowest; else composer install --dev; fi script: phpunit --configuration tools/phpunit after_script: - if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/bin/coveralls -v; fi notifications: slack: secure: h5YiO7tAk5bzAQBkUZ3crnOFAOBkNqHp0nc2cxvGauogVfCLE9K8bME512uTeu9QWMht2D30uyTOHFKQ7sPEW4omHNF4qYl4p9L037oQFfEwZPBzJFo9QUzviT3mvKHTN4HSQOkq/08ZoMhh1i3p/OhyFS56J28IDJWDqGZkEUE=
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_script: - if [[ "$TRAVIS_PHP_VERSION" == "5.3" || "$TRAVIS_PHP_VERSION" == "5.4" ]]; then composer install --dev --prefer-lowest; else composer install --dev; fi script: phpunit --configuration tools/phpunit after_script: - if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/bin/coveralls -v; fi notifications: slack: secure: h5YiO7tAk5bzAQBkUZ3crnOFAOBkNqHp0nc2cxvGauogVfCLE9K8bME512uTeu9QWMht2D30uyTOHFKQ7sPEW4omHNF4qYl4p9L037oQFfEwZPBzJFo9QUzviT3mvKHTN4HSQOkq/08ZoMhh1i3p/OhyFS56J28IDJWDqGZkEUE=
Update from Hackage at 2015-10-08T01:17:25+0000
homepage: https://github.com/evanrinehart/mikmod changelog-type: '' hash: 60237a1ff12149699ae5fe3ba78d6733771c66cd25c438d9565fb59651ae03ea test-bench-deps: {} maintainer: evanrinehart@gmail.com synopsis: MikMod bindings changelog: '' basic-deps: bytestring: -any base: ! '>=4.7 && <4.8' all-versions: - '0.1.0.1' - '0.1.1.0' - '0.1.2.0' - '0.1.2.1' - '0.1.3.0' - '0.1.3.1' - '0.1.3.2' - '0.2.0.0' author: Evan Rinehart latest: '0.2.0.0' description-type: haddock description: MikMod bindings for Haskell license-name: LGPL
homepage: https://github.com/evanrinehart/mikmod changelog-type: '' hash: 188d22e59f36dfe68797d38582de7c72e859f2745550a09a7eb4b17c5edfa646 test-bench-deps: {} maintainer: evanrinehart@gmail.com synopsis: MikMod bindings changelog: '' basic-deps: bytestring: -any base: ! '>=4.7 && <4.9' all-versions: - '0.1.0.1' - '0.1.1.0' - '0.1.2.0' - '0.1.2.1' - '0.1.3.0' - '0.1.3.1' - '0.1.3.2' - '0.2.0.0' - '0.2.0.1' author: Evan Rinehart latest: '0.2.0.1' description-type: haddock description: MikMod bindings for Haskell license-name: LGPL
Update from Hackage at 2015-10-25T18:16:58+0000
homepage: http://www.gekkou.co.uk/ changelog-type: '' hash: baf03df4fa275a3900fbdd9f6512a8cb3f612905e0a57f4abe8f3b6a48746a0c test-bench-deps: base: ! '>=4.5 && <5' QuickCheck: ! '>=2.4 && <2.7' OddWord: ! '>=1.0 && <1.1' maintainer: Robin KAY <komadori@gekkou.co.uk> synopsis: Provides a wrapper for deriving word types with fewer bits. changelog: '' basic-deps: base: ! '>=4.5 && <5' all-versions: - '1.0.0' - '1.0.0.1' - '1.0.0.2' author: Robin KAY latest: '1.0.0.2' description-type: haddock description: ! 'Provdes the ''OddWord'' type, which wraps an existing integer type and exposes a subset of its bits as a new narrower word type. Includes predefined type synonyms for all the odd sized words up to 63 bits.' license-name: BSD3
homepage: http://www.gekkou.co.uk/ changelog-type: '' hash: 265eb8d268a6e45191ff180fbe14442100f5d9322a2dfd5f6ddd45f3c317bde4 test-bench-deps: base: ! '>=4.5 && <5' QuickCheck: ! '>=2.4 && <2.9' OddWord: ==1.0.* maintainer: Robin KAY <komadori@gekkou.co.uk> synopsis: Provides a wrapper for deriving word types with fewer bits. changelog: '' basic-deps: base: ! '>=4.5 && <5' all-versions: - '1.0.0' - '1.0.0.1' - '1.0.0.2' - '1.0.1.0' author: Robin KAY latest: '1.0.1.0' description-type: haddock description: ! 'Provdes the ''OddWord'' type, which wraps an existing integer type and exposes a subset of its bits as a new narrower word type. Includes predefined type synonyms for all the odd sized words up to 63 bits.' license-name: BSD3
Add support for the openSUSE Leap distributions
--- galaxy_info: author: Guillaume Abrioux description: Handles ceph-ansible initial configuration license: Apache min_ansible_version: 2.3 platforms: - name: Ubuntu versions: - xenial - name: EL versions: - 7 categories: - system dependencies: []
--- galaxy_info: author: Guillaume Abrioux description: Handles ceph-ansible initial configuration 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 version from 3.2 to 3.0 for docker compose
version: '3.2' services: rsyslog: image: webratio/rsyslog-docker:8.18 container_name: rsyslogd volumes: - /var/log/docker:/var/log/ ports: - "10514:10514/udp" restart: always
version: '3.0' services: rsyslog: image: webratio/rsyslog-docker:8.18 container_name: rsyslogd volumes: - /var/log/docker:/var/log/ ports: - "10514:10514/udp" restart: always
Exclude not class files from code coverage.
actor: Tester paths: tests: tests log: tests/_output data: tests/_data helpers: tests/_support settings: bootstrap: _bootstrap.php colors: true memory_limit: 1024M coverage: remote: false enabled: true include: - lib/* modules: config: Db: dsn: '' user: '' password: '' dump: tests/_data/dump.sql
actor: Tester paths: tests: tests log: tests/_output data: tests/_data helpers: tests/_support settings: bootstrap: _bootstrap.php colors: true memory_limit: 1024M coverage: remote: false enabled: true include: - lib/* exclude: - lib/Jivoo/Core/assets/* - lib/Jivoo/Core/default/* - lib/Jivoo/Core/languages/* - lib/Jivoo/Core/templates/* modules: config: Db: dsn: '' user: '' password: '' dump: tests/_data/dump.sql
Change theme to Jekyll Hacker Theme
name: Derek Michael Frank markdown: kramdown gems: - jekyll-coffescript - jekyll-paginate - jekyll-watch - jekyll-sitemap
name: Derek Michael Frank markdown: kramdown theme: jekyll-theme-hacker gems: - jekyll-coffescript - jekyll-paginate - jekyll-watch - jekyll-sitemap
Fix Helm template for externalWorkloads
{{- if and (or .Values.externalWorkloads.enabled .Values.clustermesh.useAPIServer) .Values.clustermesh.apiserver.tls.auto.enabled (eq .Values.clustermesh.apiserver.tls.auto.method "helm") }} {{- $_ := include "clustermesh-apiserver-generate-certs.helm.setup-ca" . -}} {{- $cn := "clustermesh-apiserver.cilium.io" }} {{- $ip := prepend .Values.clustermesh.apiserver.tls.server.extraIpAddresses "127.0.0.1" "::1" }} {{- $dns := prepend .Values.clustermesh.apiserver.tls.server.extraDnsNames $cn "*.mesh.cilium.io" }} {{- $cert := genSignedCert $cn $ip $dns (.Values.clustermesh.apiserver.tls.auto.certValidityDuration | int) .cmca -}} --- apiVersion: v1 kind: Secret metadata: name: clustermesh-apiserver-server-cert namespace: {{ .Release.Namespace }} type: kubernetes.io/tls data: ca.crt: {{ .cmca.Cert | b64enc }} tls.crt: {{ $cert.Cert | b64enc }} tls.key: {{ $cert.Key | b64enc }} {{- end }}
{{- if and (or .Values.externalWorkloads.enabled .Values.clustermesh.useAPIServer) .Values.clustermesh.apiserver.tls.auto.enabled (eq .Values.clustermesh.apiserver.tls.auto.method "helm") }} {{- $_ := include "clustermesh-apiserver-generate-certs.helm.setup-ca" . -}} {{- $cn := "clustermesh-apiserver.cilium.io" }} {{- $ip := concat (list "127.0.0.1" "::1") .Values.clustermesh.apiserver.tls.server.extraIpAddresses }} {{- $dns := concat (list $cn "*.mesh.cilium.io") .Values.clustermesh.apiserver.tls.server.extraDnsNames }} {{- $cert := genSignedCert $cn $ip $dns (.Values.clustermesh.apiserver.tls.auto.certValidityDuration | int) .cmca -}} --- apiVersion: v1 kind: Secret metadata: name: clustermesh-apiserver-server-cert namespace: {{ .Release.Namespace }} type: kubernetes.io/tls data: ca.crt: {{ .cmca.Cert | b64enc }} tls.crt: {{ $cert.Cert | b64enc }} tls.key: {{ $cert.Key | b64enc }} {{- end }}
Remove some of the version requirements
name: cats_python dependencies: - cycler=0.10.0=py27_0 - jpeg=8d=vc9_0 - libpng=1.6.17=vc9_1 - libtiff=4.0.6=vc9_1 - matplotlib=1.5.1=np111py27_0 - mkl=11.3.1=0 - numpy=1.11.0=py27_0 - openssl=1.0.2g=vc9_0 - pandas=0.19.2=np111py27_1 - pip=8.1.1=py27_1 - pyparsing=2.1.1=py27_0 - pyqt=4.11.4=py27_5 - python=2.7.11=4 - python-dateutil=2.5.2=py27_0 - pytz=2016.3=py27_0 - qt=4.8.7=vc9_7 - scipy=0.17.0=np111py27_1 - setuptools=20.7.0=py27_0 - sip=4.16.9=py27_2 - six=1.10.0=py27_0 - tk=8.5.18=vc9_0 - vs2008_runtime=9.00.30729.1=0 - vs2010_runtime=10.00.40219.1=0 - wheel=0.29.0=py27_0 - zlib=1.2.8=vc9_2 prefix: C:\Users\d5o\AppData\Local\Continuum\Anaconda3\envs\cats_python
name: cats_python dependencies: - cycler=0.10.0 - jpeg=8d - libpng=1.6.17 - libtiff=4.0.6 - matplotlib=1.5.1 - mkl=11.3.1=0 - numpy=1.11.0 - openssl=1.0.2g - pandas=0.19.2 - pip=8.1.1 - pyparsing=2.1.1 - pyqt=4.11.4 - python=2.7 - python-dateutil=2.5.2 - pytz=2016.3 - qt=4.8.7 - scipy=0.17.0 - setuptools=20.7.0 - sip=4.16.9 - six=1.10.0 - wheel=0.29.0 - zlib=1.2.8
Update syntax for contains function
name: Test and Build on: pull_request: branches: master push: tags: - 'v*' jobs: test: name: Test GFMRUN runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v1 with: ref: ${{ github.ref }} - name: Set up Go 1.13 uses: actions/setup-go@v1 with: go-version: 1.13 - name: Run Linter run: golangci-lint run - name: Run Test Suite run: make all - name: Build Binary if: success() && contains(github.ref, "tag") uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} draft: false prerelease: false
name: Test and Build on: pull_request: branches: master push: tags: - 'v*' jobs: test: name: Test GFMRUN runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v1 with: ref: ${{ github.ref }} - name: Set up Go 1.13 uses: actions/setup-go@v1 with: go-version: 1.13 - name: Run Linter run: golangci-lint run - name: Run Test Suite run: make all - name: Build Binary if: success() && contains(${{ github.ref }}, 'tag') uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} draft: false prerelease: false
Bump GitHub RSpec build to use Ruby 3
env: RUBY_VERSION: 2.6 name: Rails tests on: [push,pull_request] jobs: rspec: name: RSpec runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ env.RUBY_VERSION }} - name: Install dependencies run: | gem install bundler bundler install working-directory: thanks_ants - name: Run tests run: bundle exec rspec working-directory: thanks_ants
env: RUBY_VERSION: 3.0 name: Rails tests on: [push,pull_request] jobs: rspec: name: RSpec runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v1 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ env.RUBY_VERSION }} - name: Install dependencies run: | gem install bundler bundler install working-directory: thanks_ants - name: Run tests run: bundle exec rspec working-directory: thanks_ants
Add new binary task to build the jar
resources: - name: source-code type: git source: uri: https://github.com/devdays-2016/hello-spring-boot.git branch: master - name: cf-deploy type: cf source: api: https://api.run.pivotal.io username: {{cf-username}} password: {{cf-password}} organization: devdays space: development jobs: - name: compile-job serial: true plan: - {get: source-code, trigger: true} - task: compile config: inputs: - name: source-code platform: linux image_resource: type: docker-image source: {repository: maven} run: path: source-code/script/test - put: cf-deploy params: manifest: source-code/manifest.yml
resources: - name: source-code type: git source: uri: https://github.com/devdays-2016/hello-spring-boot.git branch: master - name: cf-deploy type: cf source: api: https://api.run.pivotal.io username: {{cf-username}} password: {{cf-password}} organization: devdays space: development jobs: - name: compile-job serial: true plan: - {get: source-code, trigger: true} - task: compile config: inputs: - name: source-code platform: linux image_resource: type: docker-image source: {repository: maven} run: path: source-code/script/test - task: binary config: inputs: - name: source-code outputs: - name: build-resource platform: linux image_resource: type: docker-image source: {repository: maven} run: path: source-code/script/binary - put: cf-deploy params: manifest: build-resource/manifest.yml
Increase github action timeout time to try to get it to work
# This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven name: Java CI with Maven on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v1 with: java-version: 11 - name: Cache Maven dependencies uses: actions/cache@v2 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2- - name: Build with Maven run: mvn -B package --file pom.xml
# This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven name: Java CI with Maven on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest timeout-minutes: 45 steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v1 with: java-version: 11 - name: Cache Maven dependencies uses: actions/cache@v2 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2- - name: Build with Maven run: mvn -B package --file pom.xml
Add a missing dependency on package:pedantic
name: flutter_widgets version: 0.1.6-dev.1 description: > Flutter widgets that are developed by Google but not by the core Flutter team. authors: - djshuckerow@google.com - anthony.bullard@gmail.com - jamesdlin@google.com - robinsontom@google.com homepage: https://github.com/google/flutter.widgets environment: sdk: ">=2.3.0 <3.0.0" flutter: ^1.9.1 dependencies: collection: ^1.14.5 flutter: sdk: flutter html: ^0.14.0 intl: ^0.16.0 meta: ^1.1.1 quiver: ^2.0.0+1 dev_dependencies: test: ^1.3.0 mockito: ^3.0.0 flutter_test: sdk: flutter
name: flutter_widgets version: 0.1.6-dev.1 description: > Flutter widgets that are developed by Google but not by the core Flutter team. authors: - djshuckerow@google.com - anthony.bullard@gmail.com - jamesdlin@google.com - robinsontom@google.com homepage: https://github.com/google/flutter.widgets environment: sdk: ">=2.3.0 <3.0.0" flutter: ^1.9.1 dependencies: collection: ^1.14.5 flutter: sdk: flutter html: ^0.14.0 intl: ^0.16.0 meta: ^1.1.1 quiver: ^2.0.0+1 dev_dependencies: test: ^1.3.0 mockito: ^3.0.0 pedantic: ^1.8.0 flutter_test: sdk: flutter
Fix Heroku Github workflow checkout
name: Heroku on: release: types: [published] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Install databases run: sudo apt-get -y install libpq-dev libsqlite3-dev - name: Build and test with Rake run: | gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake - name: Deploy to Heroku run: git push https://heroku:$HEROKU_API_TOKEN@git.heroku.com/pennfoodtrucks.git master
name: Heroku on: release: types: [published] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Install databases run: sudo apt-get -y install libpq-dev libsqlite3-dev - name: Build and test with Rake run: | gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake - name: Deploy to Heroku run: git push https://heroku:$HEROKU_API_TOKEN@git.heroku.com/pennfoodtrucks.git HEAD:master
Add bower back in, this is needed
machine: node: version: 4.4.5 dependencies: cache_directories: - /home/ubuntu/nvm/versions/node/v4.4.5/bin - /home/ubuntu/nvm/versions/node/v4.4.5/lib/node_modules override: - npm install - bower install - npm rebuild node-sass deployment: production: branch: master commands: - 'node_modules/.bin/ember deploy production --activate' staging: branch: develop commands: - 'node_modules/.bin/ember deploy staging --activate'
machine: node: version: 4.4.5 dependencies: cache_directories: - /home/ubuntu/nvm/versions/node/v4.4.5/bin - /home/ubuntu/nvm/versions/node/v4.4.5/lib/node_modules override: - npm install -g bower - npm install - bower install - npm rebuild node-sass deployment: production: branch: master commands: - 'node_modules/.bin/ember deploy production --activate' staging: branch: develop commands: - 'node_modules/.bin/ember deploy staging --activate'
Revert "Add PHP 7.2 and 7.3 to Travis"
language: php sudo: false # As of 2017-07-18 trusty is progressively replacing the default of precise. # Until 2017-09-01, let's use this new default explicitly already. # https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming dist: trusty matrix: include: - php: 5.3 dist: precise env: AUTOLOAD=1 - php: 5.3 dist: precise env: AUTOLOAD=0 - php: 5.4 env: AUTOLOAD=1 - php: 5.4 env: AUTOLOAD=0 - php: 5.5 env: AUTOLOAD=1 - php: 5.5 env: AUTOLOAD=0 - php: 5.6 env: AUTOLOAD=1 - php: 5.6 env: AUTOLOAD=0 - php: 7.0 env: AUTOLOAD=1 - php: 7.0 env: AUTOLOAD=0 - php: 7.1 env: AUTOLOAD=1 - php: 7.1 env: AUTOLOAD=0 - php: 7.2 env: AUTOLOAD=1 - php: 7.2 env: AUTOLOAD=0 - php: 7.3 env: AUTOLOAD=1 - php: 7.3 env: AUTOLOAD=0 cache: directories: - $HOME/.composer/cache/files script: ./test after_script: ./vendor/bin/coveralls -v
language: php sudo: false # As of 2017-07-18 trusty is progressively replacing the default of precise. # Until 2017-09-01, let's use this new default explicitly already. # https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming dist: trusty matrix: include: - php: 5.3 dist: precise env: AUTOLOAD=1 - php: 5.3 dist: precise env: AUTOLOAD=0 - php: 5.4 env: AUTOLOAD=1 - php: 5.4 env: AUTOLOAD=0 - php: 5.5 env: AUTOLOAD=1 - php: 5.5 env: AUTOLOAD=0 - php: 5.6 env: AUTOLOAD=1 - php: 5.6 env: AUTOLOAD=0 - php: 7.0 env: AUTOLOAD=1 - php: 7.0 env: AUTOLOAD=0 - php: 7.1 env: AUTOLOAD=1 - php: 7.1 env: AUTOLOAD=0 cache: directories: - $HOME/.composer/cache/files script: ./test after_script: ./vendor/bin/coveralls -v
Remove integration tests for now
dist: trusty sudo: false language: node_js node_js: - "6" cache: directories: - node_modules os: - linux before_install: # Use a virtual display. - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start # Install latest chrome. - export CHROME_BIN=chromium-browser - npm install -g npm@5.0.4 install: - npm install script: - npm run lint - npm run test - npm run integration
dist: trusty sudo: false language: node_js node_js: - "6" cache: directories: - node_modules os: - linux before_install: # Use a virtual display. - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start # Install latest chrome. - export CHROME_BIN=chromium-browser - npm install -g npm@5.0.4 install: - npm install script: - npm run lint - npm run test
Remove ENV from build configuration
language: php sudo: false php: - "5.5" - "5.6" - "7" - "hhvm" matrix: include: - php: "5.5" env: CHECKSTYLE="YES" COVERAGE="YES" allow_failures: - php: "7" - php: "hhvm" install: composer install script: phpunit
language: php sudo: false php: - "5.5" - "5.6" - "7" - "hhvm" matrix: allow_failures: - php: "7" - php: "hhvm" install: composer install script: phpunit
Include PPA without user input
sudo: required before_install: - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update - sudo apt-get install gcc-7 g++-7 script: - gcc-7 --version - mkdir -p builddir - cd builddir - cmake .. - make
sudo: required language: c++ compiler: - gcc-7 - gcc-8 before_install: - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update - sudo apt-get install gcc-7 g++-7 - sudo update-alternatives --set gcc /usr/bin/gcc-7 - sudo update-alternatives --set g++ /usr/bin/g++-7 script: - gcc-7 --version - mkdir -p builddir - cd builddir - cmake .. - make
Use failfast configuration in CI
language: java jdk: oraclejdk8 script: - ./gradlew build - ./gradlew shadow - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar --help - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar -i . --baseline ./reports/baseline.xml -f ".*/test/.*,.*/resources/.*, .*/build/.*" -c ./detekt-cli/src/main/resources/default-detekt-config.yml - ./gradlew detektCheck before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
language: java jdk: oraclejdk8 script: - ./gradlew build - ./gradlew shadow - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar --help - java -jar ./detekt-cli/build/libs/detekt-cli-*-all.jar -i . --baseline ./reports/baseline.xml -f ".*/test/.*,.*/resources/.*, .*/build/.*" -c ./detekt-cli/src/main/resources/default-detekt-config.yml,./reports/failfast.yml - ./gradlew detektCheck before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
Add nf-core testing to Travis config
sudo: required language: java jdk: openjdk8 services: - docker install: - mkdir /tmp/nextflow - cd /tmp/nextflow - wget -qO- get.nextflow.io | bash - sudo ln -s /tmp/nextflow/nextflow /usr/local/bin/nextflow - cd ${TRAVIS_BUILD_DIR}/tests/ env: - CLFLAGS="" # Basic run - CLFLAGS="-r" # Run, RRBS mode - CLFLAGS="-n" # Run, no-trimming mode # Commented out until I figure out how to handle multiple docker images nicely # - CLFLAGS="-p" # BWAmeth use existing ref genome # - CLFLAGS="-p -b" # BWAmeth run, build reference genome script: - "./run_test.sh -b $CLFLAGS" # Run, build reference genome - "./run_test.sh $CLFLAGS"
sudo: required language: java jdk: openjdk8 services: - docker python: - "2.7" cache: pip matrix: fast_finish: true install: # Install Nextflow - mkdir /tmp/nextflow - cd /tmp/nextflow - wget -qO- get.nextflow.io | bash - sudo ln -s /tmp/nextflow/nextflow /usr/local/bin/nextflow # Install nf-core/tools - git clone https://github.com/nf-core/tools.git /tmp/nf-core-tools - cd /tmp/nf-core-tools - pip install --user -e . # Reset - cd ${TRAVIS_BUILD_DIR} env: - CLFLAGS="" # Basic run - CLFLAGS="-r" # Run, RRBS mode - CLFLAGS="-n" # Run, no-trimming mode # Commented out until I figure out how to handle multiple docker images nicely # - CLFLAGS="-p" # BWAmeth use existing ref genome # - CLFLAGS="-p -b" # BWAmeth run, build reference genome script: - "nf-core lint ${TRAVIS_BUILD_DIR}" - "cd ${TRAVIS_BUILD_DIR}/tests && ./run_test.sh -b $CLFLAGS" # Run, build reference genome - "cd ${TRAVIS_BUILD_DIR}/tests && ./run_test.sh $CLFLAGS"
Enable Travis CI build caching
# Travis-CI configuration for Bioconductor packages # https://docs.travis-ci.com/user/languages/r language: r cache: packages r: - bioc-release - bioc-devel os: - linux - osx matrix: exclude: - os: osx r: bioc-devel # blocklist # branches: # except: # - develop # safelist # branches: # only: # - master env: global: - LINTR_COMMENT_BOT=true # r_build_args: "--no-build-vignettes" # r_check_args: "--no-vignettes" # Set true before submission to Bioconductor. # Ignoring built with R 3.5.1 warnings. # Ignoring BiocInstaller deprecation warning. warnings_are_errors: false # Temporarily enable when caching Bioconductor packages. # script: true r_packages: - covr bioc_packages: - BiocCheck - EnsDb.Hsapiens.v75 r_github_packages: - jimhester/lintr after_success: - Rscript -e 'lintr::lint_package()' - Rscript -e 'covr::codecov()' - R CMD BiocCheck . notifications: email: recipients: - mike@steinbaugh.com on_success: change on_failure: always
# Travis-CI configuration for Bioconductor packages # https://docs.travis-ci.com/user/languages/r language: r cache: packages r: - bioc-release - bioc-devel os: - linux - osx matrix: exclude: - os: osx r: bioc-devel # blocklist # branches: # except: # - develop # safelist # branches: # only: # - master env: global: - LINTR_COMMENT_BOT=true # r_build_args: "--no-build-vignettes" # r_check_args: "--no-vignettes" # Set true before submission to Bioconductor. # Ignoring built with R 3.5.1 warnings. # Ignoring BiocInstaller deprecation warning. warnings_are_errors: false # Temporarily enable when caching Bioconductor packages. script: true r_packages: - covr bioc_packages: - BiocCheck - EnsDb.Hsapiens.v75 r_github_packages: - jimhester/lintr after_success: - Rscript -e 'lintr::lint_package()' - Rscript -e 'covr::codecov()' - R CMD BiocCheck . notifications: email: recipients: - mike@steinbaugh.com on_success: change on_failure: always
Remove selfupdater and improve coveralls client
sudo: false language: php cache: directories: - $HOME/.composer/cache - vendor matrix: fast_finish: true include: - php: 5.5 env: - COMPOSER_ARGUMENTS=--prefer-lowest - php: 5.6 env: - EXECUTE_TEST_COVERALLS=true - php: 7.0 env: - EXECUTE_CS_CHECK=true - php: hhvm before_install: - if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then phpenv config-rm xdebug.ini || return 0; fi - composer self-update - if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls:dev-master; fi install: - travis_retry composer update --no-interaction $COMPOSER_ARGUMENTS - composer info -i script: - if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then vendor/bin/phpunit --coverage-clover clover.xml; fi - if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then vendor/bin/phpunit; fi - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then vendor/bin/php-cs-fixer fix -v --dry-run; fi after_script: - if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then vendor/bin/coveralls -v; fi
sudo: false language: php cache: directories: - $HOME/.composer/cache - vendor matrix: fast_finish: true include: - php: 5.5 env: - COMPOSER_ARGUMENTS=--prefer-lowest - php: 5.6 env: - EXECUTE_TEST_COVERALLS=true - php: 7.0 env: - EXECUTE_CS_CHECK=true - php: hhvm before_install: - if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then phpenv config-rm xdebug.ini || return 0; fi install: - travis_retry composer update --no-interaction $COMPOSER_ARGUMENTS - composer info -i script: - if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then vendor/bin/phpunit --coverage-clover clover.xml; fi - if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then vendor/bin/phpunit; fi - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then vendor/bin/php-cs-fixer fix -v --dry-run; fi after_script: - if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar; chmod +x coveralls.phar; php coveralls.phar -v; fi
Use a fixed simulator for Travis.
osx_image: xcode8.2 language: objective-c cache: bundler rvm: - 2.3.1 before_install: - gem install xcpretty -N --no-ri --no-rdoc - gem install cocoapods -v '1.2.0' -N --no-ri --no-rdoc script: - set -o pipefail - xcodebuild test -workspace Example/Delirium.xcworkspace -scheme Delirium-Example -destination "platform=iOS Simulator,name=iPhone 7" | xcpretty deploy: skip_cleanup: true provider: script script: 'PATH="${TRAVIS_BUILD_DIR}/bin:$PATH" pod trunk push' on: tags: true branch: master
osx_image: xcode8.2 language: objective-c cache: bundler rvm: - 2.3.1 before_install: - gem install xcpretty -N --no-ri --no-rdoc - gem install cocoapods -v '1.2.0' -N --no-ri --no-rdoc script: - set -o pipefail - xcodebuild test -workspace Example/Delirium.xcworkspace -scheme Delirium-Example -destination 'platform=iOS Simulator,name=iPad Air 2,OS=10.2' | xcpretty deploy: skip_cleanup: true provider: script script: 'PATH="${TRAVIS_BUILD_DIR}/bin:$PATH" pod trunk push' on: tags: true branch: master
Test again JDK 7 + 8
language: groovy groovy: - 2.4.5 jdk: - oraclejdk7 script: ./gradlew clean build branches: except: - gh-pages notifications: email: false
language: groovy groovy: - 2.4.5 jdk: - oraclejdk8 - oraclejdk7 script: ./gradlew clean build branches: except: - gh-pages notifications: email: false
Install on Travis with latest npm.
language: node_js node_js: - 4 install: - npm install script: - npm run check
language: node_js node_js: - 4 install: - npm install npm - npm install script: - npm run check
Configure Travis to update composer before install
language: php php: - 5.3 - 5.4 - 5.5 matrix: allow_failures: - php: 5.5 env: global: secure: "2RoFj0l11RstXSJZKtTCGksMRVy2b1ecA0Kp96PM7hbGZ6W3sslvemSD6YWN\nLEbKLZlHrbld98x1z0vXGqMTU6FCaXdYNjym59yOgD8caGBgEzmrs3RmgW5l\n3Q/ZVwB6Ld17tlOrGa6igyJ+P8kWvZP0AcriVZJDW5pH49XEAjU=" install: - ./.travis.install script: vendor/bin/phpunit --configuration phpunit.xml.dist
language: php php: - 5.3 - 5.4 - 5.5 matrix: allow_failures: - php: 5.5 env: global: secure: "2RoFj0l11RstXSJZKtTCGksMRVy2b1ecA0Kp96PM7hbGZ6W3sslvemSD6YWN\nLEbKLZlHrbld98x1z0vXGqMTU6FCaXdYNjym59yOgD8caGBgEzmrs3RmgW5l\n3Q/ZVwB6Ld17tlOrGa6igyJ+P8kWvZP0AcriVZJDW5pH49XEAjU=" before_install: - composer self-update --no-interaction --ansi install: - ./.travis.install script: vendor/bin/phpunit --configuration phpunit.xml.dist
Test on various versions of Shibboleth
sudo: required services: - docker env: DOCKER_COMPOSE_VERSION: 1.7.1 DEBIAN_FRONTEND: noninteractive before_install: - sudo apt-get update - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine - sudo service docker restart - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin script: - docker-compose up --build after_script: - ls -R build/
env: - _SHIBBOLETH_VERSION=2.5.6 - _SHIBBOLETH_VERSION=2.6.0 - _SHIBBOLETH_VERSION= sudo: required services: - docker env: DOCKER_COMPOSE_VERSION: 1.7.1 DEBIAN_FRONTEND: noninteractive before_install: - sudo apt-get update - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine - sudo service docker restart - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin script: - docker-compose up --build after_script: - ls -R build/
Remove 1.6.x in CI testing
language: go go: - 1.6.x - 1.8.x - 1.9.x - tip go_import_path: go.mercari.io/go-httpdoc os: - linux - osx sudo: false install: - go get -v ./... script: - go vet - go test -race -coverprofile=coverage.txt -covermode=atomic after_success: - bash <(curl -s https://codecov.io/bash)
language: go go: - 1.8.x - 1.9.x - tip go_import_path: go.mercari.io/go-httpdoc os: - linux - osx sudo: false install: - go get -v ./... script: - go vet - go test -race -coverprofile=coverage.txt -covermode=atomic after_success: - bash <(curl -s https://codecov.io/bash)
Install all dependencies in a single command
# Config file for automatic testing at travis-ci.org language: python python: - "2.7" before_install: - pip install codecov # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - pip install -r requirements.txt before_script: - pip install -r test_requirements.txt - pip install coveralls # command to run tests, e.g. python setup.py test script: - coverage run --source esis setup.py test after_success: - coveralls - codecov
# Config file for automatic testing at travis-ci.org language: python python: - "2.7" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - pip install -r requirements.txt -r test_requirements.txt codecov coveralls # command to run tests, e.g. python setup.py test script: - coverage run --source esis setup.py test after_success: - codecov - coveralls