Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Revert "Use official golangci-lint action"
name: build-pr on: pull_request: branches: - main jobs: build: runs-on: ubuntu-latest steps: - name: Checkout source code uses: actions/checkout@v2 - name: Setup Go uses: actions/setup-go@v2 with: go-version: 1.16 - name: Install golangci-lint uses: golangci/golangci-lint-action@v2 with: version: v1.36.0 - name: Test style run: make test-style - name: Run unit tests run: make test-coverage
name: build-pr on: pull_request: branches: - main jobs: build: runs-on: ubuntu-latest steps: - name: Checkout source code uses: actions/checkout@v2 - name: Setup Go uses: actions/setup-go@v2 with: go-version: '1.16' - name: Install golangci-lint run: | curl -sSLO https://github.com/golangci/golangci-lint/releases/download/v$GOLANGCI_LINT_VERSION/golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64.tar.gz shasum -a 256 golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64.tar.gz | grep "^$GOLANGCI_LINT_SHA256 " > /dev/null tar -xf golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64.tar.gz sudo mv golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64/golangci-lint /usr/local/bin/golangci-lint rm -rf golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64* env: GOLANGCI_LINT_VERSION: '1.36.0' GOLANGCI_LINT_SHA256: '9b8856b3a1c9bfbcf3a06b78e94611763b79abd9751c245246787cd3bf0e78a5' - name: Test style run: make test-style - name: Run unit tests run: make test-coverage
Add bundle exec rake to script
version: "master-{build}" os: Windows Server 2012 R2 platform: - x64 environment: machine_user: test_user machine_pass: Pass@word1 machine_port: 5985 KITCHEN_YAML: c:\projects\kitchen-machine\.kitchen.appveyor.yml SSL_CERT_FILE: c:\projects\kitchen-machine\certs.pem matrix: - ruby_version: "21" clone_folder: c:\projects\kitchen-machine clone_depth: 1 install: - ps: net user /add $env:machine_user $env:machine_pass - ps: net localgroup administrators $env:machine_user /add - ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH" - ps: Write-Host $env:PATH - ps: ruby --version - ps: gem --version - ps: gem install bundler --quiet --no-ri --no-rdoc - ps: Invoke-WebRequest -Uri http://curl.haxx.se/ca/cacert.pem -OutFile c:\projects\kitchen-machine\certs.pem - ps: bundler --version build_script: - bundle install test_script: - bundle exec kitchen verify windows
version: "master-{build}" os: Windows Server 2012 R2 platform: - x64 environment: machine_user: test_user machine_pass: Pass@word1 machine_port: 5985 KITCHEN_YAML: c:\projects\kitchen-machine\.kitchen.appveyor.yml SSL_CERT_FILE: c:\projects\kitchen-machine\certs.pem matrix: - ruby_version: "21" clone_folder: c:\projects\kitchen-machine clone_depth: 1 install: - ps: net user /add $env:machine_user $env:machine_pass - ps: net localgroup administrators $env:machine_user /add - ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH" - ps: Write-Host $env:PATH - ps: ruby --version - ps: gem --version - ps: gem install bundler --quiet --no-ri --no-rdoc - ps: Invoke-WebRequest -Uri http://curl.haxx.se/ca/cacert.pem -OutFile c:\projects\kitchen-machine\certs.pem - ps: bundler --version build_script: - bundle install - bundle exec rake test_script: - bundle exec kitchen verify windows
Add PHP 7.1 to Travis CI
language: php php: - 7 - hhvm before_script: - composer install script: - mkdir -p build/logs - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - vendor/bin/coveralls -v matrix: allow_failures: - php: hhvm
language: php php: - 7 - 7.1 - hhvm before_script: - composer install script: - mkdir -p build/logs - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - vendor/bin/coveralls -v matrix: allow_failures: - php: hhvm
Allow jruby-head failures just because
language: ruby script: bundle exec rake rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.1 - ruby-head - jruby-18mode - jruby-19mode - jruby-head - rbx-2 - ree
language: ruby script: bundle exec rake rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.1 - ruby-head - jruby-18mode - jruby-19mode - jruby-head - rbx-2 - ree matrix: allow_failures: - rvm: jruby-head
Remove vain attempts at fixing CI mongodb issues.
language: python python: - "3.3" - "2.7" - "2.6" install: pip install flake8 script: - flake8 eve - python setup.py test services: - mongodb - redis-server before_script: - "ulimit -n 1024" - sleep 5 - mongo eve_test --eval 'db.addUser("test_user", "test_pw");' branches: only: - master - develop
language: python python: - "3.3" - "2.7" - "2.6" install: pip install flake8 script: - flake8 eve - python setup.py test services: - mongodb - redis-server before_script: - "ulimit -n 1024" - mongo eve_test --eval 'db.addUser("test_user", "test_pw");' branches: only: - master - develop
Use ruby 2.5.0 in test build
language: "ruby" rvm: - "2.0" - "2.4.0" sudo: false install: - bundle install --retry=3 - npm install script: - bundle exec rspec - npm test addons: code_climate: repo_token: cad4913c49d614008c332cda660cf909de208e335201aa8bfab373b9740e85be after_success: - bundle exec codeclimate-test-reporter
language: "ruby" rvm: - "2.0" - "2.5.0" sudo: false install: - bundle install --retry=3 - npm install script: - bundle exec rspec - npm test addons: code_climate: repo_token: cad4913c49d614008c332cda660cf909de208e335201aa8bfab373b9740e85be after_success: - bundle exec codeclimate-test-reporter
Make Symfony 2.7 support a requirement
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm sudo: false cache: directories: - $HOME/.composer/cache env: - SYMFONY_VERSION=2.6.* matrix: include: - php: 5.6 env: SYMFONY_VERSION=2.3.* - php: 5.6 env: SYMFONY_VERSION=2.5.* - php: 5.6 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=3.0.* allow_failures: - php: 5.6 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=3.0.* before_install: - composer require symfony/routing:${SYMFONY_VERSION} --prefer-dist script: phpunit --coverage-text notifications: irc: "irc.freenode.org#symfony-cmf" email: "symfony-cmf-devs@googlegroups.com"
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm sudo: false cache: directories: - $HOME/.composer/cache env: - SYMFONY_VERSION=2.6.* matrix: include: - php: 5.6 env: SYMFONY_VERSION=2.3.* - php: 5.6 env: SYMFONY_VERSION=2.5.* - php: 5.6 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=3.0.* allow_failures: - php: 5.6 env: SYMFONY_VERSION=3.0.* before_install: - composer require symfony/routing:${SYMFONY_VERSION} --prefer-dist script: phpunit --coverage-text notifications: irc: "irc.freenode.org#symfony-cmf" email: "symfony-cmf-devs@googlegroups.com"
Remove hhvm and add 7.1
language: php sudo: false php: - 5.6 - 7.0 - hhvm env: global: - setup=basic - coverage=no before_script: - travis_retry composer self-update - composer config discard-changes true - if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi - if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi script: - if [[ $coverage = 'yes' ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi - if [[ $coverage = 'no' ]]; then phpunit -c phpunit.xml; fi after_script: - if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi matrix: include: - php: 5.6 env: setup=lowest - php: 5.6 env: setup=stable - php: 5.6 env: setup=coveralls coverage=yes allow_failures: - env: setup=stable - env: setup=coveralls coverage=yes fast_finish: true
language: php sudo: false php: - 5.6 - 7.0 - 7.1 env: global: - setup=basic - coverage=no before_script: - travis_retry composer self-update - composer config discard-changes true - if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi - if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi script: - if [[ $coverage = 'yes' ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi - if [[ $coverage = 'no' ]]; then phpunit -c phpunit.xml; fi after_script: - if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi matrix: include: - php: 5.6 env: setup=lowest - php: 5.6 env: setup=stable - php: 5.6 env: setup=coveralls coverage=yes allow_failures: - env: setup=stable - env: setup=coveralls coverage=yes fast_finish: true
Use Travis "trusty" build and wildcard Ruby versions.
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.2.6 - 2.3.3 - 2.4.0 - jruby - rbx cache: bundler sudo: false matrix: allow_failures: - rvm: rbx - rvm: jruby
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.2 - 2.3 - 2.4 - jruby-9 - rbx-3 cache: bundler sudo: false matrix: allow_failures: - rvm: jruby-9 - rvm: rbx-3 dist: trusty
Add debug lasio version for Travis CI
language: python python: - "2.7" - "3.5" - "3.6" - "3.7" - "3.8" install: - pip install --editable ".[all]" - pip install pytest>=3.6 pytest-cov coverage pathlib script: - pytest notifications: email: recipients: - kinverarity@hotmail.com on_success: change on_failure: change
language: python python: - "2.7" - "3.5" - "3.6" - "3.7" - "3.8" install: - pip install --editable ".[all]" - pip install pytest>=3.6 pytest-cov coverage pathlib - python -c "import lasio; print(lasio.__version__)" script: - pytest notifications: email: recipients: - kinverarity@hotmail.com on_success: change on_failure: change
Add monit but commented out
--- - include: zsh.yml - include: postgres.yml - include: chrome.yml - include: java.yml - include: vim.yml - include: intellij.yml - include: node.yml - include: wine.yml - include: hipchat.yml - include: gimp.yml - include: spotify.yml - include: vlc.yml - include: docker.yml - include: golang.yml - include: latex.yml - include: shutter.yml - include: samba.yml
--- - include: zsh.yml - include: postgres.yml - include: chrome.yml - include: java.yml - include: vim.yml - include: intellij.yml - include: node.yml - include: wine.yml - include: hipchat.yml - include: gimp.yml - include: spotify.yml - include: vlc.yml - include: docker.yml - include: golang.yml - include: latex.yml - include: shutter.yml - include: samba.yml #- include: monit.yml
Update actions/setup-java action to v3.5.0
name: build on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: java: [ 8, 11, 17 ] steps: - uses: actions/checkout@v3 - name: Setup java uses: actions/setup-java@v3.4.1 with: distribution: 'adopt' java-version: ${{ matrix.java }} - name: Build with Maven run: mvn -B package --file pom.xml
name: build on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: java: [ 8, 11, 17 ] steps: - uses: actions/checkout@v3 - name: Setup java uses: actions/setup-java@v3.5.0 with: distribution: 'adopt' java-version: ${{ matrix.java }} - name: Build with Maven run: mvn -B package --file pom.xml
Update from Hackage at 2017-02-03T13:53:18Z
homepage: https://github.com/nikita-volkov/attoparsec-data changelog-type: '' hash: 18bccd08da787e7dffbfd1e39e3edc76b498b77343337bbeb4d7497dd8590f4d test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Parsers for the standard Haskell data types changelog: '' basic-deps: bytestring: ! '>=0.10 && <0.11' base-prelude: <2 base: <5 time: ! '>=1.4 && <2' text: ! '>=1 && <2' attoparsec-time: ==0.1.* attoparsec: ==0.13.* scientific: ! '>=0.2 && <0.4' all-versions: - '0.1.1.1' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '0.1.1.1' description-type: haddock description: '' license-name: MIT
homepage: https://github.com/nikita-volkov/attoparsec-data changelog-type: '' hash: 2a91e30852ce3814293685b0ef8f18987a46c29b9a461fdecde9f8645835f90a test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Parsers for the standard Haskell data types changelog: '' basic-deps: bytestring: ! '>=0.10 && <0.11' base-prelude: <2 base: <5 time: ! '>=1.4 && <2' text: ! '>=1 && <2' attoparsec-time: ==0.1.* attoparsec: ==0.13.* scientific: ! '>=0.2 && <0.4' all-versions: - '0.1.1.1' - '0.1.1.2' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '0.1.1.2' description-type: haddock description: '' license-name: MIT
Add name to apply label for milestoned issues
on: issues: {types: milestoned} jobs: apply-label: runs-on: ubuntu-latest steps: - uses: actions/github-script@0.2.0 with: github-token: ${{github.token}} script: | github.issues.addLabels({...context.issue, labels: ['status: planned']})
on: issues: {types: milestoned} jobs: apply-label: name: Add label 'status planned' to issue when milestoned runs-on: ubuntu-latest steps: - uses: actions/github-script@0.2.0 with: github-token: ${{github.token}} script: | github.issues.addLabels({...context.issue, labels: ['status: planned']})
Use PPA for updating Chrome
general: artifacts: - coverage machine: node: version: v5.6.0 services: - docker pre: - sudo apt-get update && sudo apt-get install --only-upgrade google-chrome-stable test: override: - npm run ci: environment: NODE_ENV: production - mkdir -p $CIRCLE_TEST_REPORTS/integration - cp integration-test-results.xml $CIRCLE_TEST_REPORTS/integration/results.xml deployment: production: owner: jeffcharles branch: master commands: - ./scripts/deploy.sh
general: artifacts: - coverage machine: node: version: v5.6.0 services: - docker pre: - wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub - sudo apt-key add linux_signing_key.pub - sudo sh -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' - sudo apt-get update && sudo apt-get install --only-upgrade google-chrome-stable test: override: - npm run ci: environment: NODE_ENV: production - mkdir -p $CIRCLE_TEST_REPORTS/integration - cp integration-test-results.xml $CIRCLE_TEST_REPORTS/integration/results.xml deployment: production: owner: jeffcharles branch: master commands: - ./scripts/deploy.sh
Use the provided maven wrapper
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time # 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: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v2 with: java-version: '11' distribution: 'adopt' cache: maven - name: Build with Maven run: mvn -B package --file pom.xml
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time # 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: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v2 with: java-version: '11' distribution: 'adopt' cache: maven - name: Build with Maven Wrapper run: ./mvnw -B package
Remove user/pw cruft from YAML file
site: 'http://kbaird-twistage-desktop:3000' user: 'corcoran-admin@twistage.com' password: 'Testing1' company: 'corcoran' license_key: '441a869594091' album_id: 'ma7c46256ac25' image_id: 'ic5d79a80c436' track_id: 't86aa451e2aa1' video_id: 'bc3f6246c3ed2'
site: 'http://kbaird-twistage-desktop:3000' company: 'corcoran' license_key: '441a869594091' album_id: 'ma7c46256ac25' image_id: 'ic5d79a80c436' track_id: 't86aa451e2aa1' video_id: 'bc3f6246c3ed2'
Update circleci/node:8 Docker digest to 23f55e
version: 2 jobs: build: docker: - image: circleci/node:8@sha256:0f95ad042f0099e737b59c3873795b9fb427ddf5fac675e47b1d44d58616c1bd - image: circleci/mongo:3@sha256:75dd30ed98bd9d4717bc5862a6e011b427d6618a83e8b6697bbb366ebd303dfa steps: - checkout - run: yarn install --frozen-lockfile - run: yarn test - run: yarn codecov
version: 2 jobs: build: docker: - image: circleci/node:8@sha256:23f55ec43b896824088c2dcd6b0f88b7c34c6f7e5fa761d98244a5ef434f93e1 - image: circleci/mongo:3@sha256:75dd30ed98bd9d4717bc5862a6e011b427d6618a83e8b6697bbb366ebd303dfa steps: - checkout - run: yarn install --frozen-lockfile - run: yarn test - run: yarn codecov
Update from Hackage at 2020-08-09T21:58:34Z
homepage: '' changelog-type: markdown hash: e168909a2c8b464d033b9c77c540031cc8bbc70c08ec1aa169dfb4e72ef2f1bb test-bench-deps: {} maintainer: dan.firth@homotopic.tech synopsis: Conversions from ixset-typed to other containers. changelog: | # Changelog for ixset-typed-conversions ## (v0.1.0.0) Add conversion functions from `IxSet` to `HashMap` and `Zipper []`. basic-deps: exceptions: -any base: '>=4.7 && <5' unordered-containers: -any ixset-typed: -any hashable: -any zipper-extra: -any all-versions: - 0.1.0.0 author: Daniel Firth latest: 0.1.0.0 description-type: markdown description: | # ixset-typed-conversions Conversions from ixset-typed to other containers. license-name: MIT
homepage: '' changelog-type: markdown hash: 66af8ee3f0d3ac9198adc6da44326ed523f79e88ed6c637e6aa88cfb85db1033 test-bench-deps: {} maintainer: dan.firth@homotopic.tech synopsis: Conversions from ixset-typed to other containers. changelog: | # Changelog for ixset-typed-conversions ## (v0.1.0.0) Add conversion functions from `IxSet` to `HashMap` and `Zipper []`. basic-deps: exceptions: -any base: '>=4.7 && <5' unordered-containers: -any ixset-typed: -any hashable: -any zipper-extra: -any all-versions: - 0.1.0.0 - 0.1.0.1 author: Daniel Firth latest: 0.1.0.1 description-type: markdown description: | # ixset-typed-conversions Conversions from ixset-typed to other containers. license-name: MIT
Test lower and higher deps
name: CI on: pull_request: push: branches: - master jobs: tests: runs-on: ubuntu-latest strategy: fail-fast: false matrix: php: ['7.2', '7.3', '7.4'] name: PHP ${{ matrix.php }} tests steps: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: none extensions: mongodb - uses: "ramsey/composer-install@v1" - run: vendor/bin/phpunit
name: CI on: pull_request: push: branches: - master jobs: tests: runs-on: ubuntu-latest strategy: fail-fast: false matrix: php: ['7.2', '7.3', '7.4'] dependencies: ['lowest', 'highest'] name: PHP ${{ matrix.php }} tests on deps=${{ matrix.dependencies }} steps: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: none extensions: mongodb - uses: "ramsey/composer-install@v1" with: dependency-versions: ${{ matrix.dependencies }} - run: vendor/bin/phpunit
Enable Scrutinizer new PHP analysis engine
imports: - javascript - php filter: excluded_paths: [3rdparty/*, js/vendor/*, js/public/app.js, tests/] tools: external_code_coverage: timeout: 600 # Timeout in seconds. 10 minutes runs: 6 # Scrutinizer waits for the first 6 coverage submissions (each DB, unit & integration)
imports: - javascript - php filter: excluded_paths: [3rdparty/*, js/vendor/*, js/public/app.js, tests/] tools: external_code_coverage: timeout: 600 # Timeout in seconds. 10 minutes runs: 6 # Scrutinizer waits for the first 6 coverage submissions (each DB, unit & integration) build: nodes: analysis: tests: override: - php-scrutinizer-run
Update from Hackage at 2018-10-30T14:43:42Z
homepage: https://github.com/apeyroux/nuxeo#readme changelog-type: '' hash: cb31080437f811eb5b49477d93e794e88e91cfc5782bab3f7d5ac40a81872637 test-bench-deps: {} maintainer: alex@xn--wxa.email synopsis: '' changelog: '' basic-deps: bytestring: -any base: ! '>=4.5 && <4.7' time: -any text: -any conduit: -any conduit-extra: -any attoparsec: -any optparse-applicative: -any nuxeo: -any all-versions: - '0.2.0.0' - '0.2.0.1' - '0.2.0.2' - '0.2.0.3' - '0.3.0.0' author: Alexandre Peyroux latest: '0.3.0.0' description-type: haddock description: Nuxeo tools license-name: BSD3
homepage: https://github.com/apeyroux/nuxeo#readme changelog-type: '' hash: 3bba50316d49438d173cb30adb87fc91bb7fa60b0b72760b98bac5d84f693c48 test-bench-deps: {} maintainer: alex@xn--wxa.email synopsis: '' changelog: '' basic-deps: bytestring: -any base: ! '>=4.5 && <4.12' time: -any text: -any conduit: -any conduit-extra: -any attoparsec: -any optparse-applicative: -any nuxeo: -any all-versions: - '0.2.0.0' - '0.2.0.1' - '0.2.0.2' - '0.2.0.3' - '0.3.0.0' - '0.3.0.1' author: Alexandre Peyroux latest: '0.3.0.1' description-type: haddock description: Nuxeo tools license-name: BSD3
Remove non-cms task Remove duplicate route
--- Name: modelascontrollerroutes Before: '*' After: '#rootroutes' --- Director: rules: '': 'RootURLController' 'StaticExporter//$Action/$ID/$OtherID': 'StaticExporter' 'RebuildStaticCacheTask//$Action/$ID/$OtherID': 'RebuildStaticCacheTask' 'RemoveOrphanedPagesTask//$Action/$ID/$OtherID': 'RemoveOrphanedPagesTask' 'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask' 'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask' '$URLSegment//$Action/$ID/$OtherID': 'ModelAsController' --- Name: legacycmsroutes After: '#adminroutes' --- Director: rules: 'admin/cms': '->admin/pages'
--- Name: modelascontrollerroutes Before: '*' After: '#rootroutes' --- Director: rules: '': 'RootURLController' 'StaticExporter//$Action/$ID/$OtherID': 'StaticExporter' 'RemoveOrphanedPagesTask//$Action/$ID/$OtherID': 'RemoveOrphanedPagesTask' 'SiteTreeMaintenanceTask//$Action/$ID/$OtherID': 'SiteTreeMaintenanceTask' '$URLSegment//$Action/$ID/$OtherID': 'ModelAsController' --- Name: legacycmsroutes After: '#adminroutes' --- Director: rules: 'admin/cms': '->admin/pages'
Improve action to add post based on label
name: Create post on: issues: types: - opened - reopened - edited jobs: add-post: name: Add post runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Get data id: get-data uses: actions/github-script@v4 with: script: | const number = context.payload.issue.number.toString() core.setOutput('branch', "issue" + number) const title = context.payload.issue.title core.setOutput('filename', "_posts/" + title + ".md") const author = context.payload.issue.user.login const body = context.payload.issue.body const header = `--- title: permalink: "/x/" layout: post commentsId: 0 author: --- ` core.setOutput('body', header + body) console.log(author) core.setOutput('commitMessage', "Closes #" + number) - name: Commit changes run: | echo "${{steps.get-data.outputs.body}}" > ${{steps.get-data.outputs.filename}} git add . - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: commit-message: ${{steps.get-data.outputs.commitMessage}} branch: ${{steps.get-data.outputs.branch}} delete-branch: true reviewers: nvdaes
name: Create post on: issues: types: - opened - reopened - edited jobs: add-post: name: Add post if: ${{ github.event.label.name == 'improvement' }} runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Get data id: get-data uses: actions/github-script@v4 with: script: | const number = context.payload.issue.number.toString() core.setOutput('branch', "issue" + number) const title = context.payload.issue.title core.setOutput('filename', "_posts/" + title + ".md") const body = context.payload.issue.body const header = `--- title: permalink: "/x/" layout: post commentsId: 0 author: --- ` core.setOutput('body', header + body) core.setOutput('commitMessage', "Closes #" + number) - name: Commit changes run: | echo "${{steps.get-data.outputs.body}}" > ${{steps.get-data.outputs.filename}} git add . - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: commit-message: ${{steps.get-data.outputs.commitMessage}} branch: ${{steps.get-data.outputs.branch}} delete-branch: true reviewers: nvdaes
Update from Hackage at 2017-09-22T12:08:00Z
homepage: https://github.com/leftaroundabout/number-show changelog-type: '' hash: 1f7f68c1cc6e40d345d699c385d818e57598e6c4300b678401a5bcf2f91da196 test-bench-deps: base: ! '>=4 && <5' vector-space: -any pragmatic-show: -any tasty-quickcheck: -any tasty-hunit: -any tasty: ! '>=0.7' maintainer: (@) jsagemue $ uni-koeln.de synopsis: Alternative Show class that gives shorter view if possible. changelog: '' basic-deps: base: ! '>=4.8 && <5' all-versions: - '0.1.0.0' author: Justus Sagemüller latest: '0.1.0.0' description-type: haddock description: ! 'The standard ''Show'' class is handy for quickly viewing any Haskell values without having to think about formatting. However, it often produces needlessly clunky string representations, which are difficult to parse by eye. This package offers a drop-in replacement which attempts to keep the representation as short as possible.' license-name: GPL-3
homepage: https://github.com/leftaroundabout/pragmatic-show changelog-type: '' hash: 02b41b72de25cff01e168285f568848ba01345b4e4009ebfd52f2d4cdd46fa72 test-bench-deps: base: ! '>=4 && <5' vector-space: -any pragmatic-show: -any tasty-quickcheck: -any tasty-hunit: -any tasty: ! '>=0.7' maintainer: (@) jsagemue $ uni-koeln.de synopsis: Alternative Show class that gives shorter view if possible. changelog: '' basic-deps: base: ! '>=4.8 && <5' all-versions: - '0.1.0.0' author: Justus Sagemüller latest: '0.1.0.0' description-type: haddock description: ! 'The standard ''Show'' class is handy for quickly viewing any Haskell values without having to think about formatting. However, it often produces needlessly clunky string representations, which are difficult to parse by eye. This package offers a drop-in replacement which attempts to keep the representation as short as possible.' license-name: GPL-3
Update from Hackage at 2022-03-09T14:20:35Z
homepage: https://github.com/ocramz/jpl-horizons-api changelog-type: '' hash: 36b61860b1fc5f641d97a42c11134a8a174aa27f59ae2c7bb4b1f0bc16025714 test-bench-deps: {} maintainer: example@example.com synopsis: Ephemerides for solar system objects from the JPL Horizons service changelog: '' basic-deps: bytestring: -any base: '>=4.7 && <5' time: -any text: '>=1.2.4.1' megaparsec: -any req: -any jpl-horizons-api: -any scientific: '>=0.3.7.0' all-versions: - 0.1.0.0 - 0.2.0.0 author: Marco Zocca latest: 0.2.0.0 description-type: markdown description: | # jpl-horizons-api API bindings for the Nasa JPL Horizons service license-name: BSD-3-Clause
homepage: https://github.com/ocramz/jpl-horizons-api changelog-type: '' hash: 1305e013f21bb28ed9a804226056d0848bacaa602af26c2c740b45dd198eb519 test-bench-deps: {} maintainer: ocramz synopsis: Ephemerides for solar system objects from the JPL Horizons service changelog: '' basic-deps: bytestring: -any base: '>=4.7 && <5' time: -any text: '>=1.2.4.1' megaparsec: -any req: -any jpl-horizons-api: -any optparse-applicative: -any scientific: '>=0.3.7.0' all-versions: - 0.1.0.0 - 0.2.0.0 - 0.3.0.0 author: Marco Zocca latest: 0.3.0.0 description-type: markdown description: | # jpl-horizons-api API bindings for the Nasa JPL Horizons service license-name: BSD-3-Clause
Include secrets in Heroku environment
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
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 env: HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} run: git push https://heroku:$HEROKU_API_TOKEN@git.heroku.com/pennfoodtrucks.git HEAD:master
Fix a build error on Travis CI by using latest RubyGems
language: ruby rvm: - 2.4.0 - 2.3.3 - 2.2.6 - 2.1.10 - 2.0.0 - 1.9.3 - rbx-2 - jruby-19mode - jruby-head matrix: allow_failures: - rvm: rbx-2 - rvm: jruby-head sudo: false bundler_args: --without=guard notifications: disabled: true script: - bundle exec rake
language: ruby rvm: - 2.4.0 - 2.3.3 - 2.2.6 - 2.1.10 - 2.0.0 - 1.9.3 - rbx-2 - jruby-19mode - jruby-head matrix: allow_failures: - rvm: rbx-2 - rvm: jruby-head before_install: - gem update --remote bundler - gem update --system sudo: false bundler_args: --without=guard notifications: disabled: true script: - bundle exec rake
Update Travis file to latest standard
language: ruby cache: - bundler - directories: - $HOME/librarian-puppet env: global: - LIBRARIAN_PUPPET_TMP="$HOME/librarian-puppet" matrix: - PUPPET_VERSION="3.4.3" # Version installed on Trusty - PUPPET_VERSION="~> 3.8.0" # Latest 3.x version - PUPPET_VERSION="~> 4.3.0" # Latest 4.x version script: bundle exec rake test
language: ruby cache: - bundler - directories: - $HOME/librarian-puppet env: global: - LIBRARIAN_PUPPET_TMP="$HOME/librarian-puppet" matrix: include: # Puppet 3.4.3 in the standard repos for Ubuntu 14.04 - rvm: 1.9.3 env: PUPPET_VERSION="3.4.3" # Puppetlabs ("vanilla") release tracks latest 3.x version - rvm: 1.9.3 env: PUPPET_VERSION="~> 3" # Puppetlabs PC1 release bundles it's own Ruby 2.1 and tracks Puppet 4.x - rvm: 2.1.9 env: PUPPET_VERSION="~> 4" # Latest 4.x version before_install: - gem install bundler script: - bundle exec rake test
Update composer before running tests
language: php php: - 5.6 - 5.5 - 5.4 - 5.3 - hhvm script: phpunit
language: php php: - 5.6 - 5.5 - 5.4 - 5.3 - hhvm before_script: - composer self-update script: - phpunit
Fix the metronome master repo URL
--- metronome_powerdns_repo_master: apt_repo: "deb [arch=amd64] http://repo.powerdns.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release | lower }}-metronome main" gpg_key: "http://repo.powerdns.com/CBC8B383-pub.asc" gpg_key_id: "D47975F8DAE32700A563E64FFF389421CBC8B383" yum_repo_baseurl: "http://repo.powerdns.com/centos/$basearch/$releasever/metronome" yum_repo_name: "metronome"
--- metronome_powerdns_repo_master: apt_repo: "deb [arch=amd64] http://repo.powerdns.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release | lower }}-metronome-master main" gpg_key: "http://repo.powerdns.com/CBC8B383-pub.asc" gpg_key_id: "D47975F8DAE32700A563E64FFF389421CBC8B383" yum_repo_baseurl: "http://repo.powerdns.com/centos/$basearch/$releasever/metronome-master" yum_repo_name: "metronome"
Build with node 7.x on Travis
dist: trusty sudo: false group: beta language: node_js node_js: - node cache: directories: - node_modules before_install: - if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild --update-binary && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi
dist: trusty sudo: false group: beta language: node_js node_js: - 7 cache: directories: - node_modules before_install: - if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild --update-binary && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi
Test across many Go versions.
on: [push, pull_request] name: Test jobs: test: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.11.x - name: Checkout code uses: actions/checkout@v2 - name: Test run: go test -v ./...
on: [push, pull_request] name: Test jobs: test111: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.11.x - name: Checkout code uses: actions/checkout@v2 - name: Test run: go test -v ./... test112: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.12.x - name: Checkout code uses: actions/checkout@v2 - name: Test run: go test -v ./... test113: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.13.x - name: Checkout code uses: actions/checkout@v2 - name: Test run: go test -v ./... test114: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.14.x - name: Checkout code uses: actions/checkout@v2 - name: Test run: go test -v ./... test115: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.15.x - name: Checkout code uses: actions/checkout@v2 - name: Test run: go test -v ./... test116: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.16.x - name: Checkout code uses: actions/checkout@v2 - name: Test run: go test -v ./... test117: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.17.x - name: Checkout code uses: actions/checkout@v2 - name: Test run: go test -v ./... test118: runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: 1.18.x - name: Checkout code uses: actions/checkout@v2 - name: Test run: go test -v ./...
Print lint and test reports after Travis-CI failure.
language: android jdk: oraclejdk8 android: components: - tools - platform-tools - tools # intentional, see travis-ci/docs-travis-ci-com#779 - build-tools-26.0.2 - android-22 # For emulator to work - android-26 - extra-android-m2repository - sys-img-armeabi-v7a-android-22 licenses: - android-sdk-license-.+ env: matrix: - ANDROID_SDKS=android-22,sysimg-22 ANDROID_TARGET=android-22 ANDROID_ABI=armeabi-v7a before_install: - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - emulator -avd test -no-skin -no-audio -no-window & before_script: - chmod +x gradlew - android-wait-for-emulator - adb shell input keyevent 82 &
language: android jdk: oraclejdk8 android: components: - tools - platform-tools - tools # intentional, see travis-ci/docs-travis-ci-com#779 - build-tools-26.0.2 - android-22 # For emulator to work - android-26 - extra-android-m2repository - sys-img-armeabi-v7a-android-15 - sys-img-armeabi-v7a-android-22 licenses: - android-sdk-license-.+ env: matrix: - ANDROID_SDKS=android-22,sysimg-22 ANDROID_TARGET=android-22 ANDROID_ABI=armeabi-v7a before_install: - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - emulator -avd test -no-skin -no-audio -no-window & before_script: - chmod +x gradlew - android-wait-for-emulator - adb shell input keyevent 82 & after_failure: - cat $TRAVIS_BUILD_DIR/library/build/outputs/lint-results-debug.xml - cat $TRAVIS_BUILD_DIR/library/build/reports/androidTests/connected/index.html
Add build-darwin target for TravisCI.
language: go # go1.11beta1 breaks the tests for lib/net/reverseconnection go: - "1.10" before_install: - go get github.com/mattn/goveralls - REPO_NAME=$(basename $PWD) - GITHUB_PATH=$(dirname $(dirname $PWD)) - SYMANTEC_PROJECT_DIR=${GITHUB_PATH}/Symantec/${REPO_NAME} - mkdir -p ${SYMANTEC_PROJECT_DIR} - rsync -az ${TRAVIS_BUILD_DIR}/ ${SYMANTEC_PROJECT_DIR}/ - export TRAVIS_BUILD_DIR=${SYMANTEC_PROJECT_DIR} - cd ${SYMANTEC_PROJECT_DIR} - go get ./... script: - go test -covermode=count -coverprofile=coverage.out ./... - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci - make all test
language: go # go1.11beta1 breaks the tests for lib/net/reverseconnection go: - "1.10" before_install: - go get github.com/mattn/goveralls - REPO_NAME=$(basename $PWD) - GITHUB_PATH=$(dirname $(dirname $PWD)) - SYMANTEC_PROJECT_DIR=${GITHUB_PATH}/Symantec/${REPO_NAME} - mkdir -p ${SYMANTEC_PROJECT_DIR} - rsync -az ${TRAVIS_BUILD_DIR}/ ${SYMANTEC_PROJECT_DIR}/ - export TRAVIS_BUILD_DIR=${SYMANTEC_PROJECT_DIR} - cd ${SYMANTEC_PROJECT_DIR} - go get ./... script: - go test -covermode=count -coverprofile=coverage.out ./... - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci - make all build-darwin test
Test on Node 0.8 in Travis CI.
language: "node_js" node_js: - 0.4 - 0.6
language: "node_js" node_js: - 0.4 - 0.6 - 0.8
Add validation of the composer.json on Travis
language: php sudo: false cache: directories: - $HOME/.composer/cache/files - $HOME/symfony-bridge/.phpunit php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - nightly env: global: - SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit" matrix: include: - php: 5.6 env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' SYMFONY_DEPRECATIONS_HELPER=weak - php: 7.1 env: DEPENDENCIES=dev - php: hhvm dist: trusty - php: 5.3 dist: precise before_install: - if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi; # force the PHPUnit version for PHP 7.2, until https://github.com/symfony/symfony/issues/23943 is resolved - if [ "$TRAVIS_PHP_VERSION" = "nightly" ]; then export SYMFONY_PHPUNIT_VERSION="6.3"; fi; install: - composer update $COMPOSER_FLAGS - ./vendor/bin/simple-phpunit install script: - php ./vendor/bin/simple-phpunit
language: php sudo: false cache: directories: - $HOME/.composer/cache/files - $HOME/symfony-bridge/.phpunit php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - nightly env: global: - SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit" matrix: include: - php: 5.6 env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' SYMFONY_DEPRECATIONS_HELPER=weak - php: 7.1 env: DEPENDENCIES=dev - php: hhvm dist: trusty - php: 5.3 dist: precise before_install: - if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi; # force the PHPUnit version for PHP 7.2, until https://github.com/symfony/symfony/issues/23943 is resolved - if [ "$TRAVIS_PHP_VERSION" = "nightly" ]; then export SYMFONY_PHPUNIT_VERSION="6.3"; fi; install: - composer update $COMPOSER_FLAGS - ./vendor/bin/simple-phpunit install script: - composer validate --strict --no-check-lock - php ./vendor/bin/simple-phpunit
Update Travis builds to use Travis-installed PHP instead of Docker
# Fake out Travis CI, since PHP isn't supported when using their Docker services language: python env: - PHP_VERSION=5.4.45 ARCH=x86_64 - PHP_VERSION=5.4.45 ARCH=mips - PHP_VERSION=5.5.32 ARCH=x86_64 - PHP_VERSION=5.5.31 ARCH=mips - PHP_VERSION=5.6.18 ARCH=x86_64 - PHP_VERSION=5.6.17 ARCH=mips - PHP_VERSION=7.0.3 ARCH=x86_64 - PHP_VERSION=hhvm ARCH=x86_64 sudo: required addons: apt: packages: - php5-cli - php5-curl - qemu-user-static services: - docker install: - mkdir -p build/logs script: - bash -ex ./util/run-tests.sh after_script: - php vendor/bin/coveralls notifications: webhooks: urls: - 'https://webhooks.gitter.im/e/f3356db3405001e47b5e' on_success: change on_failure: always on_start: false
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-dist script: - mkdir -p build/logs - ./vendor/bin/parallel-lint src tests - ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml - ./vendor/bin/phpcs src tests --standard=psr2 -sp after_script: - php vendor/bin/coveralls
Remove `git submodule update` call from Travis build
before_install: - git submodule update --init --recursive language: node_js node_js: - "0.10" - "0.12" before_script: - npm install -g grunt-cli
language: node_js node_js: - "0.10" - "0.12" before_script: - npm install -g grunt-cli
Update patch versions of Ruby in the matrix
language: ruby sudo: false cache: bundler before_install: - gem update bundler rvm: - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.5 - 2.7.0 - ruby-head matrix: allow_failures: - rvm: ruby-head fast_finish: true notifications: recipients: - mail@zzak.io slack: sinatrarb:LQGhUfGYcqRgRzwKea0bqUhY
language: ruby sudo: false cache: bundler before_install: - gem update bundler rvm: - 2.2.10 - 2.3.8 - 2.4.10 - 2.5.9 - 2.6.7 - 2.7.3 - "3.0" - ruby-head - jruby-9.2.17.0 matrix: allow_failures: - rvm: ruby-head fast_finish: true notifications: recipients: - mail@zzak.io slack: sinatrarb:LQGhUfGYcqRgRzwKea0bqUhY
Remove explicit dist from Travis-CI config.
dist: trusty sudo: false language: python python: - "2.7" - "3.6" - "3.7" - "3.8" # command to install dependencies install: - pip install -r dev-requirements.txt # command to run tests script: - pytest --cache-clear
language: python python: - "2.7" - "3.6" - "3.7" - "3.8" # command to install dependencies install: - pip install -r dev-requirements.txt # command to run tests script: - pytest --cache-clear
Make build green, take 2.
language: ruby bundler_args: --without debugging documentation addons: code_climate: repo_token: 186c49521e629c51591c86f057f49fe388ce87603e04b5486f0c92f26f2a455f rvm: # OS X 10.9.5-10.10.0 (2.0.0-p481) - system # OS X 10.9.3-10.9.4 - 2.0.0-p451 # OS X 10.9.0-10.9.2 - 2.0.0-p247 env: - LANG="en_US.UTF-8" before_install: # There is a bug in travis. When using system ruby, bundler is not # installed and causes the default install action to fail. - sudo gem install bundler script: bundle exec rake spec
language: ruby bundler_args: --without debugging documentation addons: code_climate: repo_token: 186c49521e629c51591c86f057f49fe388ce87603e04b5486f0c92f26f2a455f rvm: # OS X 10.9.5-10.10.0 (2.0.0-p481) - 2.0.0-p481 # OS X 10.9.3-10.9.4 - 2.0.0-p451 # OS X 10.9.0-10.9.2 - 2.0.0-p247 env: - LANG="en_US.UTF-8" script: bundle exec rake spec
Use 1.9 mode for jruby and rbx on Travis
rvm: - 1.9.3 - 2.0.0 - jruby - rbx
rvm: - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode
Revert "add notification token for hipchat"
language: ruby rvm: - 2.1.1 - 2.0.0 - 1.9.3 before_script: bundle exec rake ksvalidator:setup notifications: hipchat: ac943dbb9ee5b4a2562d4476987a91@Stork
language: ruby rvm: - 2.1.1 - 2.0.0 - 1.9.3 before_script: bundle exec rake ksvalidator:setup notifications: hipchat: ***REMOVED***@Stork
Test parrot with LLVM/clang as well as with/without optimization
before_script: - sudo apt-get install ccache libffi-dev libicu-dev libgmp3-dev script: "perl Configure.pl --optimize --cc=\"$CC\" --link=\"$CC\" --ld=\"$CC\" --ccflags='-g' && make fulltest" # branches: # only: # - master notifications: recipients: - duke@leto.net email: on_success: change on_failure: always env: - CC="ccache gcc" - CC="ccache g++" - CC="gcc" - CC="g++"
before_script: - sudo apt-get install ccache libffi-dev libicu-dev libgmp3-dev clang script: "perl Configure.pl --test=build $PARROT_OPTIMIZE --cc=\"$CC\" --link=\"$CC\" --ld=\"$CC\" --ccflags='-g' && make $PARROT_TEST" # branches: # only: # - master notifications: recipients: - duke@leto.net email: on_success: change on_failure: always env: - PARROT_OPTIMIZE="--optimize" PARROT_TEST="fulltest" CC="clang" - PARROT_OPTIMIZE="" PARROT_TEST="fulltest" CC="clang" - PARROT_OPTIMIZE="--optimize" PARROT_TEST="fulltest" CC="ccache gcc" - PARROT_OPTIMIZE="--optimize" PARROT_TEST="fulltest" CC="ccache g++" - PARROT_OPTIMIZE="--optimize" PARROT_TEST="fulltest" CC="gcc" - PARROT_OPTIMIZE="--optimize" PARROT_TEST="fulltest" CC="g++" - PARROT_OPTIMIZE="" PARROT_TEST="fulltest" CC="ccache gcc" - PARROT_OPTIMIZE="" PARROT_TEST="fulltest" CC="ccache g++" - PARROT_OPTIMIZE="" PARROT_TEST="fulltest" CC="gcc" - PARROT_OPTIMIZE="" PARROT_TEST="fulltest" CC="g++"
Update Django versions for testing
language: python python: - "2.6" - "2.7" - "3.3" env: - DJANGO_INSTALL="Django==1.4.5" - DJANGO_INSTALL="Django==1.5.1" - DJANGO_INSTALL="-e git+https://github.com/django/django.git@1.6b2#egg=Django" install: - pip install -q $DJANGO_INSTALL - python setup.py -q install script: ./runtests.sh matrix: exclude: - python: "3.3" env: DJANGO_INSTALL="Django==1.4.5" - python: "2.6" env: DJANGO_INSTALL="-e git+https://github.com/django/django.git@stable/1.6.x#egg=Django"
language: python python: - "2.6" - "2.7" - "3.3" env: - DJANGO_INSTALL="Django==1.4.10" - DJANGO_INSTALL="Django==1.5.5" - DJANGO_INSTALL="Django==1.6" install: - pip install -q $DJANGO_INSTALL - python setup.py -q install script: ./runtests.sh matrix: exclude: - python: "3.3" env: DJANGO_INSTALL="Django==1.4.10" - python: "2.6" env: DJANGO_INSTALL="Django==1.6"
Set puppet version for tests to 3.7.
rvm: 1.9.3 notifications: email: - patrick.schoenfeld@googlemail.com env: - PUPPET_VERSION=2.7.11
rvm: 1.9.3 notifications: email: - patrick.schoenfeld@googlemail.com env: - PUPPET_VERSION=3.7.2
Add installation of pytest-pep8 to Travis.
language: python python: - '3.6' - '2.7' install: - pip install keras - pip install tensorflow - pip install git+https://github.com/broadinstitute/keras-resnet script: - py.test --pep8
language: python python: - '3.6' - '2.7' install: - pip install keras==2.0.9 - pip install tensorflow - pip install git+https://github.com/broadinstitute/keras-resnet - pip install pytest-pep8 script: - py.test --pep8
Update Home Assistant to 0.57.2 for config checks in Travis CI
language: python python: - '3.5' - '3.6' env: - HASS=0.57.0 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config
language: python python: - '3.5' - '3.6' env: - HASS=0.57.2 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config
Add Solidus 2.1 to Travis CI Matrix
sudo: false language: ruby rvm: - 2.3.1 env: matrix: - SOLIDUS_BRANCH=v1.1 DB=postgres - SOLIDUS_BRANCH=v1.2 DB=postgres - SOLIDUS_BRANCH=v1.3 DB=postgres - SOLIDUS_BRANCH=v1.4 DB=postgres - SOLIDUS_BRANCH=v2.0 DB=postgres - SOLIDUS_BRANCH=master DB=postgres - SOLIDUS_BRANCH=v1.1 DB=mysql - SOLIDUS_BRANCH=v1.2 DB=mysql - SOLIDUS_BRANCH=v1.3 DB=mysql - SOLIDUS_BRANCH=v1.4 DB=mysql - SOLIDUS_BRANCH=v2.0 DB=mysql - SOLIDUS_BRANCH=master DB=mysql
sudo: false language: ruby rvm: - 2.3.1 env: matrix: - SOLIDUS_BRANCH=v1.1 DB=postgres - SOLIDUS_BRANCH=v1.2 DB=postgres - SOLIDUS_BRANCH=v1.3 DB=postgres - SOLIDUS_BRANCH=v1.4 DB=postgres - SOLIDUS_BRANCH=v2.0 DB=postgres - SOLIDUS_BRANCH=v2.1 DB=postgres - SOLIDUS_BRANCH=master DB=postgres - SOLIDUS_BRANCH=v1.1 DB=mysql - SOLIDUS_BRANCH=v1.2 DB=mysql - SOLIDUS_BRANCH=v1.3 DB=mysql - SOLIDUS_BRANCH=v1.4 DB=mysql - SOLIDUS_BRANCH=v2.0 DB=mysql - SOLIDUS_BRANCH=v2.1 DB=mysql - SOLIDUS_BRANCH=master DB=mysql
Remove apt-get for zip/unzip from Travis.yml
language: perl6 perl6: - latest before_install: - sudo apt-get -qq update - sudo apt-get install -y zip unzip install: - rakudobrew build-zef - zef --depsonly install Archive::SimpleZip
language: perl6 perl6: - latest install: - rakudobrew build-zef - zef --depsonly install Archive::SimpleZip
Remove panda steps from Travis config.
language: perl6 install: - rakudobrew build-panda - panda installdeps . script: - prove -v -e "perl6 --ll-exception -Ilib" t - PANDA_SUBMIT_TESTREPORTS=1 panda install . after_success: - panda list --installed --verbose
language: perl6 script: - prove -v -e "perl6 --ll-exception -Ilib" t
Add step to run android emulator for tests
language: android sudo: required dist: trusty # https://github.com/travis-ci/travis-ci/issues/3259 jdk: - oraclejdk8 android: components: - tools - build-tools-23.0.2 - android-23 - extra
language: android sudo: required dist: trusty # https://github.com/travis-ci/travis-ci/issues/3259 jdk: - oraclejdk8 android: components: - tools - build-tools-23.0.2 - android-23 - extra before_script: - echo no | android create avd --force -n test -t android-23 --abi armeabi-v7a - emulator -avd test -no-audio -no-window & - android-wait-for-emulator - adb shell input keyevent 82 &
Remove 2.13 from the build matrix.
language: scala scala: - 2.11.12 - 2.12.8 - 2.12.9 - 2.12.10 - 2.13.0 - 2.13.1 script: - sbt clean test jdk: - oraclejdk11 before_script: - "echo $JAVA_OPTS" - "export JAVA_OPTS=-Xmx1024m" before_cache: # Tricks to avoid unnecessary cache updates - find $HOME/.sbt -name "*.lock" -delete - find $HOME/.ivy2 -name "ivydata-*.properties" -delete # These directories are cached to S3 at the end of the build cache: directories: - $HOME/.ivy2/cache - $HOME/.sbt/boot/
language: scala scala: - 2.11.12 - 2.12.8 - 2.12.9 - 2.12.10 - 2.13.1 script: - sbt clean test jdk: - oraclejdk11 before_script: - "echo $JAVA_OPTS" - "export JAVA_OPTS=-Xmx1024m" before_cache: # Tricks to avoid unnecessary cache updates - find $HOME/.sbt -name "*.lock" -delete - find $HOME/.ivy2 -name "ivydata-*.properties" -delete # These directories are cached to S3 at the end of the build cache: directories: - $HOME/.ivy2/cache - $HOME/.sbt/boot/
Fix running tests on Python 3.4
language: python sudo: false matrix: include: - python: 2.7 env: TOXENV=py27 - python: 3.4 env: TOXENV=py34 - python: 3.5 env: TOXENV=py35 - python: 3.6 env: TOXENV=py36 - python: 3.7 env: TOXENV=py37 dist: xenial # required for Python >= 3.7 - python: pypy env: TOXENV=pypy install: - travis_retry pip install virtualenv tox script: - travis_retry tox
language: python sudo: false matrix: include: - python: 2.7 env: TOXENV=py27 - python: 3.4 env: TOXENV=py34 - python: 3.5 env: TOXENV=py35 - python: 3.6 env: TOXENV=py36 - python: 3.7 env: TOXENV=py37 dist: xenial # required for Python >= 3.7 - python: pypy env: TOXENV=pypy install: # tox is pinned for python 3.4 support - travis_retry pip install tox==3.14.0 script: - travis_retry tox
Enable testing on PyPy 3
language: "python" python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" install: pip install coveralls script: coverage run --source=geojson setup.py test after_success: coveralls
language: "python" python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" - "pypy3" install: pip install coveralls script: coverage run --source=geojson setup.py test after_success: coveralls
Set postgres version for Travis to 9.3
cache: bundler language: ruby rvm: - '2.1' # < 1.7.14 - 'jruby-1.7.13' # >= 1.7.14 - 'jruby-1.7.14' sudo: false
cache: bundler language: ruby rvm: - '2.1' # < 1.7.14 - 'jruby-1.7.13' # >= 1.7.14 - 'jruby-1.7.14' sudo: false addons: postgresql: '9.3'
Use both Qt 4 and 5
language: cpp compiler: - gcc - clang branches: only: - master sudo: false addons: apt: packages: - libqt4-dev - libqt4-private-dev - libev-dev before_install: - git submodule update --init --recursive script: - ./build.sh
language: cpp sudo: required dist: trusty env: - QT_SELECT=4 - QT_SELECT=5 compiler: - gcc - clang branches: only: - master before_install: - sudo apt-get -qq update - sudo apt-get -qq -y install libqt4-dev libqt4-private-dev qtbase5-dev qtbase5-private-dev qtchooser libev-dev - git submodule update --init --recursive script: - ./build.sh
Install 'readability' explicitly for TravisCI
language: - python python: - "2.6" - "2.7" # - "3.2" # - "3.3" virtualenv: system_site_packages: true before_install: - sudo apt-get update -qq - sudo apt-get install -qq gfortran libatlas-base-dev - sudo apt-get install -qq python-numpy python-scipy install: - pip install nose scipy --use-mirrors - python setup.py install script: - nosetests tests
language: - python python: - "2.6" - "2.7" # - "3.2" # - "3.3" virtualenv: system_site_packages: true before_install: - sudo apt-get update -qq - sudo apt-get install -qq gfortran libatlas-base-dev - sudo apt-get install -qq python-numpy python-scipy install: - pip install nose scipy --use-mirrors - pip install git+git://github.com/miso-belica/readability.py.git - python setup.py install script: - nosetests tests
Use coverage version 3.7.1 for Python 3.2 on TravisCI
language: python python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" # command to install dependencies install: "pip install -r requirements-dev.txt" # command to run tests script: - nosetests - nosetests --with-coverage
language: python python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" # command to install dependencies install: - travis_retry pip install -r requirements-dev.txt # unicode bug with coverage on python 3.2, must use coverage 3.7.1 # https://bitbucket.org/ned/coveragepy/issues/407/coverage-failing-on-python-325-using - if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then travis_retry pip install coverage==3.7.1; fi # command to run tests script: - nosetests - nosetests --with-coverage
Remove `--pre` flag for `molecule` installation
--- sudo: required language: python # Currently failing with Python3. python: 2.7 cache: pip services: - docker branches: only: - travis-experiments - dev - customized # Manual build matrix. # See https://github.com/travis-ci/travis-ci/issues/1519 env: - MOLECULE_DISTRO=ubuntu1604 SCENARIO=default - MOLECULE_DISTRO=ubuntu1604 SCENARIO=wordpress-deploy - MOLECULE_DISTRO=ubuntu1604 SCENARIO=drupal-deploy-7 install: # Use `--pre` flag to get molecule >= 2.20. - pip install molecule docker --pre script: - "travis_wait 25 molecule -c molecule/base-config.yml test -s $SCENARIO"
--- sudo: required language: python # Currently failing with Python3. python: 2.7 cache: pip services: - docker branches: only: - travis-experiments - dev - customized # Manual build matrix. # See https://github.com/travis-ci/travis-ci/issues/1519 env: - MOLECULE_DISTRO=ubuntu1604 SCENARIO=default - MOLECULE_DISTRO=ubuntu1604 SCENARIO=wordpress-deploy - MOLECULE_DISTRO=ubuntu1604 SCENARIO=drupal-deploy-7 install: - pip install molecule docker script: - "travis_wait 25 molecule -c molecule/base-config.yml test -s $SCENARIO"
Add secure vars for Travis CI
language: python python: - "2.7" # command to install dependencies install: "pip install -r requirements.txt --use-mirrors" # command to run pep8 before_script: python setup.py pep8 # command to run tests script: nosetests
language: python python: - "2.7" env: global: - secure: "ih7F8VD5AwdPgxtwwU5qCHkvozAnlaleBUhpm0WyhNdakLbNw/xf1jX9GJOC\nNBcEplvA9TZBVQldKobKjZe98krfDYVyaptwudNMezQWMjuaJgN45uOaTxCr\ntYUTJet9fNDrZlL3w2F46jFopzYyHS/s99JduauOgRVBeQDs7bU=" - secure: "h7Sa8E6mZyI+H9sJMAUU5y4AFiE5cVKGWOZMzQBItFEL6HjIRxtHDJlXGlcS\nPapsO7ZMfGBEpyi+FyQjIpJtlIvTrs35nVWUXYiU2lD5luZ1WDWMPIfqMCvP\npa+G8qkGUkh2yVIzOgSrwmGw/GSt20GgIskxBzPbD9//NxhPP44=" # command to install dependencies install: "pip install -r requirements.txt --use-mirrors" # command to run pep8 before_script: python setup.py pep8 # command to run tests script: python mygengo/tests.py
Remove Oracle JDK8 from build as breaking
language: java jdk: - openjdk6 - openjdk7 - oraclejdk7 - oraclejdk8 script: mvn verify -Dmaven.javadoc.skip=true
language: java jdk: - openjdk6 - openjdk7 - oraclejdk7 script: mvn verify -Dmaven.javadoc.skip=true
Add Ubuntu 20.04 to Travis CI tests
--- branches: only: - "master" dist: bionic language: python python: 3.5 env: matrix: - MOLECULE_DISTRO: centos/7 - MOLECULE_DISTRO: centos/8 - MOLECULE_DISTRO: debian/stretch64 - MOLECULE_DISTRO: debian/buster64 - MOLECULE_DISTRO: generic/ubuntu1604 - MOLECULE_DISTRO: generic/ubuntu1804 install: - | export VAGRANT_VERSION=2.2.9 sudo apt-get update && sudo apt-get install -y bridge-utils dnsmasq-base ebtables libvirt-bin libvirt-dev qemu-kvm qemu-utils ruby-dev sudo wget -nv https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb sudo dpkg -i vagrant_${VAGRANT_VERSION}_x86_64.deb vagrant --version - sudo vagrant plugin install vagrant-libvirt - pip3 install molecule yamllint ansible-lint python-vagrant molecule-vagrant testinfra - sudo chown -R travis:travis /home/travis/.vagrant.d - sudo gpasswd -a travis libvirt script: - sudo -E su travis -c "source $VIRTUAL_ENV/bin/activate; molecule test"
--- branches: only: - "master" dist: bionic language: python python: 3.5 env: matrix: - MOLECULE_DISTRO: centos/7 - MOLECULE_DISTRO: centos/8 - MOLECULE_DISTRO: debian/stretch64 - MOLECULE_DISTRO: debian/buster64 - MOLECULE_DISTRO: generic/ubuntu1604 - MOLECULE_DISTRO: generic/ubuntu1804 - MOLECULE_DISTRO: generic/ubuntu2004 install: - | export VAGRANT_VERSION=2.2.9 sudo apt-get update && sudo apt-get install -y bridge-utils dnsmasq-base ebtables libvirt-bin libvirt-dev qemu-kvm qemu-utils ruby-dev sudo wget -nv https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb sudo dpkg -i vagrant_${VAGRANT_VERSION}_x86_64.deb vagrant --version - sudo vagrant plugin install vagrant-libvirt - pip3 install molecule yamllint ansible-lint python-vagrant molecule-vagrant testinfra - sudo chown -R travis:travis /home/travis/.vagrant.d - sudo gpasswd -a travis libvirt script: - sudo -E su travis -c "source $VIRTUAL_ENV/bin/activate; molecule test"
Disable everything except for the 8051 port of SDCC
language: c before_install: - sudo apt-get update -qq >/dev/null - sudo apt-get install -qq libudev-dev libboost-all-dev >/dev/null - cd ..; wget 'http://freefr.dl.sourceforge.net/project/sdcc/sdcc/3.5.0/sdcc-src-3.5.0.tar.bz2' -O sdcc.tar.bz2; tar xjf sdcc.tar.bz2; cd sdcc-3.5.0; ./configure --disable-pic14-port --disable-pic16-port >/dev/null; make >/dev/null; sudo make install >/dev/null; cd ..; cd cypress-ezusb - cd ..; git clone https://github.com/libusb/libusb.git; cd libusb; ./autogen.sh >/dev/null; ./configure >/dev/null; make >/dev/null; sudo make install >/dev/null; cd ..; cd cypress-ezusb script: - "make all"
language: c before_install: - sudo apt-get update -qq >/dev/null - sudo apt-get install -qq libudev-dev libboost-all-dev >/dev/null - cd ..; wget 'http://freefr.dl.sourceforge.net/project/sdcc/sdcc/3.5.0/sdcc-src-3.5.0.tar.bz2' -O sdcc.tar.bz2; tar xjf sdcc.tar.bz2; cd sdcc-3.5.0; ./configure --disable-pic14-port --disable-pic16-port --disable-z80-port --disable-z180-port --disable-r2k-port --disable-r3ka-port --disable-gbz80-port --disable-tlcs90-port --disable-ds390-port --disable-ds400-port --disable-hc08-port --disable-s08-port --disable-stm8-port --disable-ucsim >/dev/null; make >/dev/null; sudo make install >/dev/null; cd ..; cd cypress-ezusb - cd ..; git clone https://github.com/libusb/libusb.git; cd libusb; ./autogen.sh >/dev/null; ./configure >/dev/null; make >/dev/null; sudo make install >/dev/null; cd ..; cd cypress-ezusb script: - "make all"
Test with new version of GAE
language: python python: - "2.7" # command to install dependencies install: "pip install -r requirements.txt --use-mirrors" before_script: - "sudo apt-get install libtidy-dev" # - "svn --quiet checkout http://googleappengine.googlecode.com/svn/trunk/python ." - "wget \"https://googleappengine.googlecode.com/files/google_appengine_1.8.6.zip\" -O google_appengine.zip" - "unzip -q google_appengine.zip" # command to run tests script: python tests/run_tests.py
language: python python: - "2.7" # command to install dependencies install: "pip install -r requirements.txt --use-mirrors" before_script: - "sudo apt-get install libtidy-dev" # - "svn --quiet checkout http://googleappengine.googlecode.com/svn/trunk/python ." - "wget \"https://googleappengine.googlecode.com/files/google_appengine_1.8.8.zip\" -O google_appengine.zip" - "unzip -q google_appengine.zip" # command to run tests script: python tests/run_tests.py
Fix tests broken by e35861d
language: python python: - 2.7 - 3.4 - 3.5 - 3.6 - pypy3 install: - pip install .[test] - pip install coverage flake8 script: - coverage run --source=watchtower ./test/test.py # - coverage report --show-missing after_success: - bash <(curl -s https://codecov.io/bash) matrix: allow_failures: - python: pypy3 sudo: false cache: pip
language: python python: - 2.7 - 3.4 - 3.5 - 3.6 - pypy3 install: - make install script: - make test after_success: - bash <(curl -s https://codecov.io/bash) matrix: allow_failures: - python: pypy3 sudo: false cache: pip
Test lowest versions of all dependencies
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm install: - travis_retry composer install --no-interaction --prefer-source - '[ -z "$MIN_VERSIONS" ] || composer require --no-interaction --prefer-source $MIN_VERSIONS' script: - vendor/bin/phpunit matrix: fast_finish: true include: - php: 5.3 env: MIN_VERSIONS="symfony/console:2.3.10 symfony/var-dumper:2.7.0 nikic/php-parser:1.2.1 jakub-onderka/php-console-highlighter:0.3.0" allow_failures: - env: MIN_VERSIONS="symfony/console:2.3.10 symfony/var-dumper:2.7.0 nikic/php-parser:1.2.1 jakub-onderka/php-console-highlighter:0.3.0"
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm env: - COMPOSER_FLAGS="--prefer-lowest --prefer-stable" - COMPOSER_FLAGS="" install: - travis_retry composer install --no-interaction --prefer-source $COMPOSER_FLAGS script: - vendor/bin/phpunit
Fix error in yml file.
language: python python: - 2.7 virtualenv: # This allows installing python-vtk using apt-get and being able to import it. system_site_packages: true #before_install: # - source .travis_before_install install: # nose is already installed - pip install Sphinx - sudo apt-get install python-numpy - sudo apt-get install python-vtk # Test against the current master of traits, traitsui and enable - pip install git+http://github.com/enthought/traits.git#egg=traits - pip install git+http://github.com/enthought/traitsui.git#egg=traitsui - pip install git+http://github.com/enthought/apptools.git#egg=apptools - python setup.py develop script: # Running all tests in tvtk/tests and mayavi. - python -m nose.core -v tvtk/tests - python -m nose.core -v mayavi notifications: email: - travis-ci@enthought.com
language: python python: - 2.7 virtualenv: # This allows installing python-vtk using apt-get and being able to import it. system_site_packages: true install: # nose is already installed - pip install Sphinx - sudo apt-get install python-numpy - sudo apt-get install python-vtk # Test against the current master of traits, traitsui and enable - pip install git+http://github.com/enthought/traits.git#egg=traits - pip install git+http://github.com/enthought/traitsui.git#egg=traitsui - pip install git+http://github.com/enthought/apptools.git#egg=apptools - python setup.py develop script: # Running all tests in tvtk/tests and mayavi. - python -m nose.core -v tvtk/tests - python -m nose.core -v mayavi notifications: email: - travis-ci@enthought.com
Update Campfire config for Travis CI
language: ruby rvm: - 1.9.3 script: bundle exec rspec notifications: campfire: rooms: secure: UwsCEilVpBakyB+/A84lOS0Gp7KsNEZOGOXdWuS4M0L2BtmHYEYzO5DM3KrQuBmeCPoBQKfZRGGmAAXoHIinD+ziRczfknzL8lesAFcEVLs9ZMwtTdkk3FyCyOWcNu+Q6Iw5s9bz8Jpuz9u2iIC1knyAePhWSH76zg9R0DZrYmI=
language: ruby rvm: - 1.9.3 script: bundle exec rspec notifications: campfire: rooms: secure: UwsCEilVpBakyB+/A84lOS0Gp7KsNEZOGOXdWuS4M0L2BtmHYEYzO5DM3KrQuBmeCPoBQKfZRGGmAAXoHIinD+ziRczfknzL8lesAFcEVLs9ZMwtTdkk3FyCyOWcNu+Q6Iw5s9bz8Jpuz9u2iIC1knyAePhWSH76zg9R0DZrYmI= on_success: change on_failure: always
Test on ruby-head in Travis and cache bundler
sudo: false language: ruby branches: only: - master rvm: - 2.3.7 - 2.4.4 - 2.5.1 bundler_args: --jobs 7 --without docs debug script: bundle exec rake spec
sudo: false language: ruby cache: bundler matrix: include: - rvm: 2.3.7 - rvm: 2.4.4 - rvm: 2.5.1 - rvm: ruby-head allow_failures: - rvm: ruby-head branches: only: - master bundler_args: --jobs 7 --without docs debug script: bundle exec rake spec
Test against ruby 2.3 and exclude activemodel4 from 1.9 rubies
language: ruby sudo: false rvm: - 2.2.0 - 2.1.0 - 2.0.0 - 1.9.3 - jruby-19mode gemfile: - gemfiles/activemodel3.gemfile - gemfiles/activemodel4.gemfile
language: ruby sudo: false rvm: - 2.3.0 - 2.2.0 - 2.1.0 - 2.0.0 - 1.9.0 - jruby-19mode - jruby gemfile: - gemfiles/activemodel3.gemfile - gemfiles/activemodel4.gemfile matrix: exclude: - rvm: 1.9.0 gemfile: gemfiles/activemodel4.gemfile - rvm: jruby-19mode gemfile: gemfiles/activemodel4.gemfile
Add content for secrets file
language: python python: - '2.7' env: - DJANGO_SETTINGS_MODULE='bluebottle.settings.testing' install: - pip install --upgrade setuptools --use-mirrors - pip install -q nose - pip install -q django==1.5.5 before_script: - npm install - touch bluebottle/settings/secrets.py script: - python setup.py test - grunt travis --verbose notifications: hipchat: rooms: secure: A7SQlgtz1wTbt5wSpP5inxXAB7Gxmss6KIjnV0RdcU1jzKbf/umrAWgLIb/M6vr/zO/YwZCa60SkYm7yn0fGEU3fVjA7rWy5w1yllMEgxxEUy4E2DF1pL/0vryI4GwgcNzre0XA1o/Lx5/8cq6FB1fZ0V5yDyIl8xxMdWFb++X4= template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}'
language: python python: - '2.7' env: - DJANGO_SETTINGS_MODULE='bluebottle.settings.testing' install: - pip install --upgrade setuptools --use-mirrors - pip install -q nose - pip install -q django==1.5.5 before_script: - npm install - echo "SECRET_KEY = 'secret key'" > bluebottle/settings/secrets.py script: - python setup.py test - grunt travis --verbose notifications: hipchat: rooms: secure: A7SQlgtz1wTbt5wSpP5inxXAB7Gxmss6KIjnV0RdcU1jzKbf/umrAWgLIb/M6vr/zO/YwZCa60SkYm7yn0fGEU3fVjA7rWy5w1yllMEgxxEUy4E2DF1pL/0vryI4GwgcNzre0XA1o/Lx5/8cq6FB1fZ0V5yDyIl8xxMdWFb++X4= template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}'
Set up the database before running the test script.
rvm: - 1.9.3 - 1.8.7 branches: only: - master env: - DB=postgres - DB=mysql - DB=sqlite3 gemfile: - gemfiles/Gemfile.rails-3.0.rb - gemfiles/Gemfile.rails-3.1.rb - gemfiles/Gemfile.rails-3.2.rb script: "bundle exec rake db:reset db:up test"
rvm: - 1.9.3 - 1.8.7 branches: only: - master env: - DB=postgres - DB=mysql - DB=sqlite3 gemfile: - gemfiles/Gemfile.rails-3.0.rb - gemfiles/Gemfile.rails-3.1.rb - gemfiles/Gemfile.rails-3.2.rb before_script: 'bundle exec rake db:reset db:up' script: 'bundle exec rake test'
Fix for running tests with php8
language: php php: - '7.2' - '7.3' - '8.0' env: global: - SYMFONY_VERSION="~5.0" ES_FILENAME_SUFFIX="-linux-x86_64" matrix: - ES_VERSION="7.2.1" - ES_VERSION="7.2.1" SYMFONY_VERSION="~4.4" - ES_VERSION="7.11.1" - ES_VERSION="7.11.1" SYMFONY_VERSION="~4.4" install: - composer require --no-update symfony/framework-bundle:${SYMFONY_VERSION} - wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}${ES_FILENAME_SUFFIX}.tar.gz - tar -xzf elasticsearch-${ES_VERSION}${ES_FILENAME_SUFFIX}.tar.gz - ./elasticsearch-${ES_VERSION}/bin/elasticsearch > /dev/null 2>&1 & - composer install --dev --no-interaction script: - vendor/bin/simple-phpunit --coverage-clover=Tests/App/build/clover.xml 2>/dev/null - vendor/bin/phpcs -np --standard=PSR2 --ignore=vendor/,Tests/App/,var/ ./ after_script: - travis_retry php vendor/bin/php-coveralls -v
language: php php: - '7.2' - '7.3' - '8.0' env: global: - SYMFONY_VERSION="~5.0" ES_FILENAME_SUFFIX="-linux-x86_64" matrix: - ES_VERSION="7.2.1" - ES_VERSION="7.2.1" SYMFONY_VERSION="~4.4" - ES_VERSION="7.11.1" - ES_VERSION="7.11.1" SYMFONY_VERSION="~4.4" install: - composer require --no-update symfony/framework-bundle:${SYMFONY_VERSION} - wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}${ES_FILENAME_SUFFIX}.tar.gz - tar -xzf elasticsearch-${ES_VERSION}${ES_FILENAME_SUFFIX}.tar.gz - ./elasticsearch-${ES_VERSION}/bin/elasticsearch > /dev/null 2>&1 & - composer install --dev --no-interaction before_script: - export XDEBUG_MODE=coverage script: - vendor/bin/simple-phpunit --coverage-clover=Tests/App/build/clover.xml 2>/dev/null - vendor/bin/phpcs -np --standard=PSR2 --ignore=vendor/,Tests/App/,var/ ./ after_script: - travis_retry php vendor/bin/php-coveralls -v
Add LLVM 3.5 to Travis configuration
language: node_js node_js: - "0.12" - "iojs" script: "npm run test"
language: node_js node_js: - "0.12" - "iojs" before_install: # Setup for installing LLVM - sudo apt-get update - sudo apt-get install python-software-properties - sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main' >> /etc/apt/sources.list" - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - install: - sudo apt-get update # Install LLVM - sudo apt-get install -y llvm-3.5 llvm-3.5-dev script: "npm run test"
Use F2 instance class on backend
# Copyright 2015 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. application: luci-config module: backend version: 1 runtime: python27 api_version: 1 threadsafe: true handlers: - url: /internal.* script: apps.backend secure: always login: admin includes: - components/auth - components/ereporter2 libraries: - name: endpoints version: "1.0" - name: pycrypto version: "2.6" - name: six version: "1.9.0" - name: webapp2 version: "2.5.2" - name: webob version: "1.2.3" - name: yaml version: "3.10" skip_files: # Test and tools. - support/ - ^tests/ - ^tools/ - test_.+ - .+_test\.py$ # Junk files. - ^(.*/)?\..* - .+\.orig$ - .+\.rej$ - ^(.*/)?#.*# - .+~ - .+\.py[co] - ^[A-Z]+$ - ^[A-Z]+\.[a-z]+$
# Copyright 2015 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. application: luci-config module: backend version: 1 runtime: python27 api_version: 1 threadsafe: true instance_class: F2 handlers: - url: /internal.* script: apps.backend secure: always login: admin includes: - components/auth - components/ereporter2 libraries: - name: endpoints version: "1.0" - name: pycrypto version: "2.6" - name: six version: "1.9.0" - name: webapp2 version: "2.5.2" - name: webob version: "1.2.3" - name: yaml version: "3.10" skip_files: # Test and tools. - support/ - ^tests/ - ^tools/ - test_.+ - .+_test\.py$ # Junk files. - ^(.*/)?\..* - .+\.orig$ - .+\.rej$ - ^(.*/)?#.*# - .+~ - .+\.py[co] - ^[A-Z]+$ - ^[A-Z]+\.[a-z]+$
Fix default config, add both file and sqlite loggers
# This is the GoshuBNC config file # bouncer configuration bouncer: storage: type: buntdb database: bncdata.db # addresses to listen on listeners: #- ":6667" - ":6697" # listeners to use tls on tls-listeners: ":6697": cert: tls.crt key: tls.key logging: file: # folder to store chat logs path: chatlogs/
# This is the GoshuBNC config file # bouncer configuration bouncer: storage: type: buntdb database: bncdata.db # addresses to listen on listeners: #- ":6667" - ":6697" # listeners to use tls on tls-listeners: ":6697": cert: tls.crt key: tls.key # logging of channel/client messages logging: # file logger type: file # folder to store chat logs path: chatlogs/ # # sqlite logger # type: sqlite # # database to use for chatlogs # database: chatlogs.db
Use the new build env on Travis
before_script: - cp config/database.yml.example config/database.yml - bundle exec rake db:create db:migrate db:test:prepare git: strategy: tarball language: ruby rvm: - 2.0.0 - 2.1 - ruby-head bundler_args: --jobs=3 --retry=3 --deployment --local --without development matrix: allow_failures: - rvm: 2.1 - rvm: ruby-head services: - redis-server
language: ruby rvm: - 2.0.0 - 2.1 - ruby-head services: - redis-server git: strategy: tarball sudo: false bundler_args: --jobs=3 --retry=3 --deployment --local --without development before_script: - cp config/database.yml.example config/database.yml - bundle exec rake db:create db:migrate db:test:prepare matrix: allow_failures: - rvm: 2.1 - rvm: ruby-head
Set cache_control_pages_max_age to 5 minutes
src: web activate: yes tables: options: - autoload: 'yes' option_id: 379 option_name: cache_control_front_page_max_age option_value: '300'
src: web activate: yes tables: options: - autoload: 'yes' option_id: 379 option_name: cache_control_front_page_max_age option_value: '300' - autoload: 'yes' option_id: 380 option_name: cache_control_pages_max_age option_value: '300'
Add owner and group for file copy
--- - name: Install APT packages sudo: True apt: pkg: "{{ item }}" state: present update_cache: yes cache_valid_time: 3600 with_items: - git - sysstat - nmon - iotop - bwm-ng - name: Create directory for kvm metric collection configuration file file: path=/opt/telegraf state=directory mode=0755 when: "'compute_hosts' in group_names" - name: Set configuration file for kvm metric collection copy: src: "files/{{ item }}" dest: "/opt/telegraf/{{ item }}" mode: 0755 with_items: - kvm_virsh.py when: "'compute_hosts' in group_names" - name: Install perf-tools from git git: repo: "{{ perf_tools_git_repo }}" dest: "{{ perf_tools_git_dest }}" version: "{{ perf_tools_git_install_branch }}" when: misc-perftools-install-tracing-tools
--- - name: Install APT packages sudo: True apt: pkg: "{{ item }}" state: present update_cache: yes cache_valid_time: 3600 with_items: - git - sysstat - nmon - iotop - bwm-ng - name: Create directory for kvm metric collection configuration file file: path=/opt/telegraf state=directory mode=0755 when: "'compute_hosts' in group_names" - name: Set configuration file for kvm metric collection copy: src: "files/{{ item }}" dest: "/opt/telegraf/{{ item }}" owner: "telegraf" group: "telegraf" mode: 0755 with_items: - kvm_virsh.py when: "'compute_hosts' in group_names" - name: Install perf-tools from git git: repo: "{{ perf_tools_git_repo }}" dest: "{{ perf_tools_git_dest }}" version: "{{ perf_tools_git_install_branch }}" when: misc-perftools-install-tracing-tools
Deploy to CocoaPods on release created test
# How to update COCOAPODS_TRUNK_TOKEN # # 1) Register the email with: # pod trunk register <email> --description='Deploy to CocoaPods GitHub Action' # # 2) Click the link on the confirmation email. # # 3) Extract the value from the "password <COCOAPODS_TRUNK_TOKEN>" like output of the following command: # grep -A2 'trunk.cocoapods.org' ~/.netrc | grep password # # 4) IMPORTANT - Register again to locally use a separate token: # pod trunk register <email> --description='<Machine description>' # name: Deploy to CocoaPods on: release: types: [created] jobs: build: runs-on: macos-latest steps: - uses: actions/checkout@v2 - name: Update Podspec version run: fastlane run version_bump_podspec path:ImmutableGraph.podspec version_number:${{ github.ref }} - name: switching from HTTPS to SSH run: git remote set-url origin ${{ secrets.ssh }} - name: check for changes run: git status # - name: Pod infos # run: pod trunk info ImmutableGraph # - name: Validation # run: pod lib lint ImmutableGraph.podspec # - name: Deploy # run: pod trunk push ImmutableGraph.podspec # env: # COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
# How to update COCOAPODS_TRUNK_TOKEN # # 1) Register the email with: # pod trunk register <email> --description='Deploy to CocoaPods GitHub Action' # # 2) Click the link on the confirmation email. # # 3) Extract the value from the "password <COCOAPODS_TRUNK_TOKEN>" like output of the following command: # grep -A2 'trunk.cocoapods.org' ~/.netrc | grep password # # 4) IMPORTANT - Register again to locally use a separate token: # pod trunk register <email> --description='<Machine description>' # name: Deploy to CocoaPods on: release: types: [created] jobs: build: runs-on: macos-latest steps: - uses: actions/checkout@v2 - name: Update Podspec version run: fastlane run version_bump_podspec path:ImmutableGraph.podspec version_number:${${{ github.ref }}#"refs/tags/"} # - name: switching from HTTPS to SSH # run: git remote set-url origin ${{ secrets.ssh }} - name: check for changes run: git status # - name: Pod infos # run: pod trunk info ImmutableGraph # - name: Validation # run: pod lib lint ImmutableGraph.podspec # - name: Deploy # run: pod trunk push ImmutableGraph.podspec # env: # COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
Add hack to setup upstart (better done in capistrano)
--- - name: Ensure git is installed apt: pkg=git - name: Ensure that deploy owns /var/www file: owner=deploy group=deploy path=/var/www - name: Generate the apache config for the app template: src=default dest=/etc/apache2/sites-available/default notify: Restart Apache - name: Ensure that .env exists (but will need to be filled in by hand) file: path=/var/www/shared/.env owner=deploy group=deploy state=touch
--- # TODO Ensure that deploy user is setup first # TODO Ensure that apache is setup first - name: Ensure git is installed apt: pkg=git - name: Ensure that deploy owns /var/www file: owner=deploy group=deploy path=/var/www - name: Generate the apache config for the app template: src=default dest=/etc/apache2/sites-available/default notify: Restart Apache - name: Ensure that .env exists (but will need to be filled in by hand) file: path=/var/www/shared/.env owner=deploy group=deploy state=touch # TODO This is a nasty hack. Would be much nicer to do this in the capistrano # deploy. But security concerns (the need for passwordless sudo) make this hard. - name: Install foreman gem: name=foreman state=present - name: Ensure Procfile.vagrant copied copy: src=../Procfile.vagrant dest=/home/deploy/Procfile.vagrant - name: Ensure upstart is setup for the application command: foreman export upstart /etc/init -u deploy -a scraping-platform -f /home/deploy/Procfile.vagrant --root /var/www/current
Update from Forestry.io - Updated Forestry configuration
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: jekyll-pages label: Pages create: all - type: jekyll-posts label: Posts create: all upload_dir: assets/images public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: preview_env: - JEKYLL_ENV=staging preview_output_directory: _site install_dependencies_command: bundle install --path vendor/bundle preview_docker_image: forestryio/ruby:2.6 mount_path: "/srv" working_dir: "/srv" instant_preview_command: bundle exec jekyll serve --drafts --unpublished --future -d _site
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: jekyll-pages label: Pages create: all - type: jekyll-posts label: Posts create: all upload_dir: assets/images public_path: "/assets/images" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: preview_env: - JEKYLL_ENV=staging preview_output_directory: _site install_dependencies_command: bundle install --path vendor/bundle preview_docker_image: forestryio/ruby:2.6 mount_path: "/srv" working_dir: "/srv" instant_preview_command: bundle exec jekyll serve --drafts --unpublished --future -d _site
Update from Hackage at 2020-04-28T17:59:01Z
homepage: '' changelog-type: '' hash: 69d3a3b8e608ec77d3c5cb2551e79d0b1128fd0e855c836a834554bd2ea230f9 test-bench-deps: {} maintainer: zl29ah@gmail.com synopsis: XEPs implementation on top of pontarius-xmpp changelog: '' basic-deps: base: '>=4.12 && <4.13' time: '>=1.8 && <1.9' text: '>=1.2 && <1.3' data-default: '>=0.7.1.1 && <0.8' xml-types: '>=0.3 && <0.4' pontarius-xmpp: '>=0.5 && <0.6' all-versions: - 0.1.0.0 author: Sergey Alirzaev latest: 0.1.0.0 description-type: haddock description: '' license-name: LicenseRef-OtherLicense
homepage: '' changelog-type: '' hash: 0273b2018bdfc631ec38ba7d398443901782260b6ddf9d292d4ea36204b5a68c test-bench-deps: {} maintainer: zl29ah@gmail.com synopsis: XEPs implementation on top of pontarius-xmpp changelog: '' basic-deps: base: '>=4.12 && <4.13' time: '>=1.8 && <1.9' text: '>=1.2 && <1.3' data-default: '>=0.7.1.1 && <0.8' xml-types: '>=0.3 && <0.4' pontarius-xmpp: '>=0.5 && <0.6' all-versions: - 0.1.0.0 - 0.1.0.1 author: Sergey Alirzaev latest: 0.1.0.1 description-type: haddock description: '' license-name: LicenseRef-OtherLicense
Change Travis script to prevent emails
sudo: required language: python python: - "2.7" - "3.5" install: - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib future h5py xlrd - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION matplotlib numpy scipy future script: - export NGPDIR=../ - export PYTHONPATH=$PYTHONPATH:$NGPDIR - python -m NuGridPy.regression_tests.selftest notifications: slack: nugrid:wTgGR31cFsNUqfytUDZ5ZLug
sudo: required language: python python: - "2.7" - "3.5" install: - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib future h5py xlrd - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION matplotlib numpy scipy future script: - export NGPDIR=../ - export PYTHONPATH=$PYTHONPATH:$NGPDIR - python -m NuGridPy.regression_tests.selftest notifications: slack: nugrid:wTgGR31cFsNUqfytUDZ5ZLug email: false
Use Ansible's local connection option for tests
--- - name: Testing Playbook hosts: all gather_facts: no tasks: - name: Test task register: test_msg changed_when: "'Test' in test_msg.stderr" shell: echo 'Test'
--- - name: Testing Playbook hosts: all gather_facts: no connection: local tasks: - name: Test task register: test_msg changed_when: "'Test' in test_msg.stderr" shell: echo 'Test'
Remove support to Python 2.7 and Django < 1.8, add suport do Django 2.1
language: python python: - "3.4" - "3.5" - "3.6" env: matrix: - DJANGO="Django>=1.8,<1.9" # 1.8 - DJANGO="Django>=1.9,<1.10" # 1.9 - DJANGO="Django>=1.10,<1.11" # 1.10 - DJANGO="Django>=1.11,<1.12" # 1.11 - DJANGO="Django>=2.0,<2.1" # 2.0 - DJANGO="Django>=2.1,<2.2" # 2.0 cache: pip install: - pip install "$DJANGO" - pip install -r requirements.txt - pip install coveralls matrix: exclude: - python: "3.6" env: DJANGO="Django>=1.9,<1.10" script: - coverage run --source=easy manage.py test after_success: coveralls
language: python python: - "3.4" - "3.5" - "3.6" env: matrix: - DJANGO="Django>=1.8,<1.9" # 1.8 - DJANGO="Django>=1.9,<1.10" # 1.9 - DJANGO="Django>=1.10,<1.11" # 1.10 - DJANGO="Django>=1.11,<1.12" # 1.11 - DJANGO="Django>=2.0,<2.1" # 2.0 - DJANGO="Django>=2.1,<2.2" # 2.0 cache: pip install: - pip install "$DJANGO" pipenv - pipenv lock -r > requirements.txt - pip install -r requirements.txt - pip install coveralls matrix: exclude: - python: "2.7" env: DJANGO="Django>=2.0,<2.1" # 2.0 - python: "3.4" env: DJANGO="Django>=1.9,<1.10" script: - coverage run --source=easy manage.py test after_success: coveralls
Use codecov instead of coveralls
language: python python: - "2.7" - "3.6" env: - TRAVIS_NODE_VERSION="6" - TRAVIS_NODE_VERSION="8" install: - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION - npm install - gem install coveralls-lcov - pip install pytest pytest-cov coveralls flake8 virtualenv urllib3[secure] - pip install -r requirements.txt script: - npm test - npm run lint - npm run pytest - npm run pylint # For code coverage: after_success: - coveralls-lcov -v -n coverage/lcov.info > coverage/coveralls.json - coveralls --merge=coverage/coveralls.json - rm -rf ./.coverage ./coverage ./htmlcov
language: python python: - "2.7" - "3.6" env: - TRAVIS_NODE_VERSION="6" - TRAVIS_NODE_VERSION="8" install: - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION - npm install -g codecov - npm install - pip install pytest pytest-cov codecov flake8 virtualenv urllib3[secure] - pip install -r requirements.txt script: - export CODECOV_TOKEN="89d22de7-bfaf-43a0-81da-33cc733fd294" - npm test - npm run lint - npm run pytest - npm run pylint - which -a codecov | bash
Test against Ruby 2.4 and 2.5
language: ruby rvm: - 2.3.4 - 2.2.7 - 2.1.10 before_install: - gem update --remote bundler - gem update --system sudo: false bundler_args: --without=guard notifications: disabled: true
language: ruby rvm: - 2.5.0 - 2.4.3 - 2.3.6 - 2.2.9 - 2.1.10 before_install: - gem update --remote bundler - gem update --system sudo: false bundler_args: --without=guard notifications: disabled: true
Fix Travis clang config on linux
language: cpp # enabling multi platform build (under travis beta) # requires emailing support@travis-ci.com for this to be enabled for our repo # http://docs.travis-ci.com/user/multi-os/ matrix: include: - os: osx env: PLATFORM=osx compiler: clang - os: osx env: PLATFORM=ios compiler: clang - os: osx env: PLATFORM=android compiler: gcc - os: linux env: PLATFORM=linux compiler: gcc before_install: - git submodule init && git submodule update - source ./travis/before_install.sh install: ulimit -c before_script: # Set the core file limit to unlimited so a core file is generated upon crash - ulimit -c unlimited -S # build test project script: - source ./travis/script_build_tests.sh - source ./travis/script_run_tests.sh - source ./travis/script_build.sh
language: cpp # enabling multi platform build (under travis beta) # requires emailing support@travis-ci.com for this to be enabled for our repo # http://docs.travis-ci.com/user/multi-os/ matrix: include: - os: osx env: PLATFORM=osx compiler: clang - os: osx env: PLATFORM=ios compiler: clang - os: osx env: PLATFORM=android compiler: gcc - os: linux env: PLATFORM=linux compiler: clang before_install: - git submodule init && git submodule update - source ./travis/before_install.sh install: ulimit -c before_script: # Set the core file limit to unlimited so a core file is generated upon crash - ulimit -c unlimited -S # build test project script: - source ./travis/script_build_tests.sh - source ./travis/script_run_tests.sh - source ./travis/script_build.sh
Add HipChat notification to Travis build.
language: node_js node_js: - "0.10" script: "node node_modules/grunt-cli/bin/grunt test:travis" before_script: - npm install -g bower - bower install
language: node_js node_js: - "0.10" script: "node node_modules/grunt-cli/bin/grunt test:travis" before_script: - npm install -g bower - bower install notifications: hipchat: rooms: secure: "dPDcvtGQXXzdj31ftZkRShrn+l1TCnTEPTdr6YVAfzAI1Ashzhr4yGvnNfMs\n4lbxYDJfRxpTO5Xd1Hte5HH7c0ijoHEGjajySSl43+nLeShw+CWhuxKSbmCM\nnICGbjLhNPSDTIg1QPO/AkUCF3YG6szmd3JX9XLathUrt0HOBTY=" on_success: always on_failure: always template: - "%{author} | %{commit} | %{message} | %{build_url}"
Test up to Nodejs 8 with Travis
language: node_js node_js: - "0.10" - "0.11" script: "npm run-script test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
language: node_js node_js: - "0.10" - "0.12" - "4" - "6" - "8" matrix: fast_finish: true allow_failures: - node_js: '4' - node_js: '6' - node_js: '8' script: "npm run-script test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
Install Geckodriver and Firefox in Travis CI.
sudo: false rvm: - 2.5.1 language: ruby cache: bundler before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start"
sudo: false rvm: - 2.5.1 language: ruby cache: bundler addons: firefox: 54.0 before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz - mkdir geckodriver - tar -xzf geckodriver-v0.18.0-linux64.tar.gz -C geckodriver - export PATH=$PATH:$PWD/geckodriver
Fix silly typo in Travis config.
language: python python: - "3.4" - "3.3" - "2.7" env: - DJANGO_VERSION=1.6.11 - DJANGO_VERSION=1.7.7 install: - pip install -q Django=$DJANGO_VERSION script: python setup.py test
language: python python: - "3.4" - "3.3" - "2.7" env: - DJANGO_VERSION=1.6.11 - DJANGO_VERSION=1.7.7 install: - pip install -q Django==$DJANGO_VERSION script: python setup.py test
Change OS X image to Xcode 8.
language: objective-c xcode_project: OpenSim.xcodeproj xcode_scheme: OpenSim osx_image: xcode7.3 script: - xcodebuild clean build -project OpenSim.xcodeproj -scheme OpenSim
language: objective-c xcode_project: OpenSim.xcodeproj xcode_scheme: OpenSim osx_image: xcode8 script: - xcodebuild clean build -project OpenSim.xcodeproj -scheme OpenSim
Fix path to allow imports
--- language: go os: - linux - osx go: - 1.3 - 1.4 - 1.5 - tip
--- go_import_path: enum-dns language: go os: - linux - osx go: - 1.3 - 1.4 - 1.5 - tip
Add Node.js 10 to Travis CI build matrix
language: node_js node_js: - '9' - '8' - '7' - '6' - '5' - '4' - '0.12' - '0.10'
language: node_js node_js: - '10' - '9' - '8' - '7' - '6' - '5' - '4' - '0.12' - '0.10'
Drop support for older Node, add io.js.
language: node_js node_js: - "0.8" - "0.10" - "0.11" before_install: - npm install -g grunt-cli
language: node_js node_js: - "0.10" - "0.11" - "0.12" - "iojs" before_install: - npm install -g grunt-cli
Add jRuby 9k to CI config
language: ruby env: DEBUG=true rvm: - 2.2.0 - 2.1.0 - 2.0.0 - 1.9.3 - 1.8.7 - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode
language: ruby env: DEBUG=true rvm: - 2.2.0 - 2.1.0 - 2.0.0 - 1.9.3 - 1.8.7 - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - jruby-9000 # JRuby 9.0.0.0!