Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add Python3 xena unit tests
- project: templates: - check-requirements - lib-forward-testing-python3 - openstack-python3-wallaby-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3
- project: templates: - check-requirements - lib-forward-testing-python3 - openstack-python3-xena-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3
Install GhostScript for the documentation
name: Checks on: [push, pull_request] jobs: checks: runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: - python-version: 3.9 env: TOXENV: security - python-version: 3.9 env: TOXENV: flake8 - python-version: 3.9 env: TOXENV: pylint - python-version: 3.8 # Keep in sync with .readthedocs.yml env: TOXENV: docs steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Run check env: ${{ matrix.env }} run: | pip install -U tox tox
name: Checks on: [push, pull_request] jobs: checks: runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: - python-version: 3.9 env: TOXENV: security - python-version: 3.9 env: TOXENV: flake8 - python-version: 3.9 env: TOXENV: pylint - python-version: 3.8 # Keep in sync with .readthedocs.yml env: TOXENV: docs system-libraries: - gs steps: - uses: actions/checkout@v2 - name: Install system libraries if: matrix.system-libraries run: | sudo apt-get update sudo apt-get install ${{ join(matrix.python-version, " ") }} - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Run check env: ${{ matrix.env }} run: | pip install -U tox tox
Use Visual Studio 15.0 on Appveyor
environment: nodejs_version: "6" platform: - x86 - x64 install: - ps: Install-Product node $env:nodejs_version - curl -sSf -o rustup-init.exe https://win.rustup.rs - rustup-init.exe -y - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustc -V - cargo -V build: false test_script: - cd tests - npm test cache: - target - C:\Users\appveyor\.cargo\registry
os: Visual Studio 2015 environment: nodejs_version: "6" platform: - x86 - x64 install: - ps: Install-Product node $env:nodejs_version - curl -sSf -o rustup-init.exe https://win.rustup.rs - rustup-init.exe -y - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustc -V - cargo -V build: false test_script: - cd tests - npm test cache: - target - C:\Users\appveyor\.cargo\registry
Remove deploy to NuGet from CI
install: - cinst gitversion.portable -y - cinst gitlink -Pre -y platform: Any CPU configuration: Release before_build: - appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - nuget restore Source/QuantityTypes.sln - gitversion /l console /output buildserver /updateAssemblyInfo build: project: Source/QuantityTypes.sln verbosity: minimal after_build: - gitlink c:\projects\QuantityTypes -u https://github.com/objorke/QuantityTypes -b master -f Source/QuantityTypes.sln -ignore QuantityTypes.Tests,WpfExample,PerformanceTest - NuGet pack Source\QuantityTypes\QuantityTypes.nuspec -version "%GitVersion_NuGetVersion%" artifacts: - path: Source/QuantityTypes/bin/Release name: QuantityTypes-$(GitVersion_SemVer) type: zip - path: '*.nupkg' name: QuantityTypes-packages-$(GitVersion_SemVer) type: zip deploy: provider: NuGet api_key: secure: kM3Kse+ivuuE5RVoe6dPdw+aguWx56K2YeXujGa9tMPQTms3lv7QxNpTLFMALYNa skip_symbols: false symbol_server: # remove to push symbols to SymbolSource.org artifact: /.*\.nupkg/
install: - cinst gitversion.portable -y - cinst gitlink -Pre -y platform: Any CPU configuration: Release before_build: - appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - nuget restore Source/QuantityTypes.sln - gitversion /l console /output buildserver /updateAssemblyInfo build: project: Source/QuantityTypes.sln verbosity: minimal after_build: - gitlink c:\projects\QuantityTypes -u https://github.com/objorke/QuantityTypes -b master -f Source/QuantityTypes.sln -ignore QuantityTypes.Tests,WpfExample,PerformanceTest - NuGet pack Source\QuantityTypes\QuantityTypes.nuspec -version "%GitVersion_NuGetVersion%" artifacts: - path: Source/QuantityTypes/bin/Release name: QuantityTypes-$(GitVersion_SemVer) type: zip - path: '*.nupkg' name: QuantityTypes-$(GitVersion_SemVer) type: zip
Change 7.4 workflow to latest (and maybe not fail)
version: 2.1 orbs: bedrock: executors: php-74: docker: - image: 'circleci/php:7.4-stretch' php-73: docker: - image: 'circleci/php:7.3-stretch' php-72: docker: - image: 'circleci/php:7.2-stretch' php-71: docker: - image: 'circleci/php:7.1-stretch' jobs: build-php: parameters: executor: type: executor executor: << parameters.executor >> steps: - run: php -v - checkout - restore_cache: keys: - composer-v1-{{ checksum "composer.lock" }} - composer-v1- - run: composer install -n --prefer-dist - run: composer test - save_cache: key: composer-v1-{{ checksum "composer.lock" }} paths: - vendor workflows: build: jobs: - bedrock/build-php: name: build-php-74 executor: bedrock/php-74 - bedrock/build-php: name: build-php-73 executor: bedrock/php-73 - bedrock/build-php: name: build-php-72 executor: bedrock/php-72 - bedrock/build-php: name: build-php-71 executor: bedrock/php-71
version: 2.1 orbs: bedrock: executors: php-latest: docker: - image: 'circleci/php:latest' php-73: docker: - image: 'circleci/php:7.3-stretch' php-72: docker: - image: 'circleci/php:7.2-stretch' php-71: docker: - image: 'circleci/php:7.1-stretch' jobs: build-php: parameters: executor: type: executor executor: << parameters.executor >> steps: - run: php -v - checkout - restore_cache: keys: - composer-v1-{{ checksum "composer.lock" }} - composer-v1- - run: composer install -n --prefer-dist - run: composer test - save_cache: key: composer-v1-{{ checksum "composer.lock" }} paths: - vendor workflows: build: jobs: - bedrock/build-php: name: build-php-latest executor: bedrock/php-latest - bedrock/build-php: name: build-php-73 executor: bedrock/php-73 - bedrock/build-php: name: build-php-72 executor: bedrock/php-72 - bedrock/build-php: name: build-php-71 executor: bedrock/php-71
Use newer node for circleci
version: 2 jobs: build: working_directory: ~/repo docker: - image: circleci/node:6.11.1 steps: - checkout - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: name: install command: yarn install - save_cache: key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: name: test command: yarn test - store_artifacts: path: test-results.xml prefix: tests - store_test_results: path: test-results.xml - deploy: name: Maybe Deploy command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc npm run 2npm fi workflows: version: 2 build: jobs: - build: context: org-global
version: 2 jobs: build: working_directory: ~/repo docker: - image: circleci/node:10.13.0 steps: - checkout - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: name: install command: yarn install - save_cache: key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: name: test command: yarn test - store_artifacts: path: test-results.xml prefix: tests - store_test_results: path: test-results.xml - deploy: name: Maybe Deploy command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc npm run 2npm fi workflows: version: 2 build: jobs: - build: context: org-global
Update Downloader to 1.5 (5)
Categories: - System License: CDDL-1.0 AuthorName: Umnik SourceCode: https://notabug.org/Umnik/DownloaderForSaveTo IssueTracker: https://notabug.org/Umnik/DownloaderForSaveTo/issues Changelog: https://notabug.org/Umnik/DownloaderForSaveTo/releases AutoName: Downloader RepoType: git Repo: https://notabug.org/Umnik/DownloaderForSaveTo.git Builds: - versionName: '1.4' versionCode: 4 commit: '1.4' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '1.4' CurrentVersionCode: 4
Categories: - System License: CDDL-1.0 AuthorName: Umnik SourceCode: https://notabug.org/Umnik/DownloaderForSaveTo IssueTracker: https://notabug.org/Umnik/DownloaderForSaveTo/issues Changelog: https://notabug.org/Umnik/DownloaderForSaveTo/releases AutoName: Downloader RepoType: git Repo: https://notabug.org/Umnik/DownloaderForSaveTo.git Builds: - versionName: '1.4' versionCode: 4 commit: '1.4' subdir: app gradle: - yes - versionName: '1.5' versionCode: 5 commit: '1.5' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '1.5' CurrentVersionCode: 5
Update Tostrud Climbing Wall hours against web
name: Tostrud Climbing Wall category: Gym schedule: - title: Hours hours: - {days: [Mo, Tu, We, Th, Fr], from: '4:00pm', to: '9:00pm'} - {days: [Sa], from: '1:00pm', to: '5:00pm'} - {days: [Su], from: '4:00pm', to: '9:00pm'} breakSchedule: fall: [] thanksgiving: [] winter: [] interim: [] spring: [] easter: [] summer: - title: Hours hours: - {days: [Mo, Th], from: '4:00pm', to: '6:00pm'}
name: Tostrud Climbing Wall category: Gym schedule: - title: Hours hours: - {days: [Su, Mo, Tu, We, Th], from: '4:00pm', to: '9:00pm'} - {days: [Fr], from: '4:00pm', to: '8:00pm'} - {days: [Sa], from: '1:00pm', to: '5:00pm'} breakSchedule: fall: [] thanksgiving: [] winter: [] interim: [] spring: [] easter: [] summer: - title: Hours hours: - {days: [Mo, Th], from: '4:00pm', to: '6:00pm'}
Make config compatible with symfony 3.4
parameters: werkspot.sitemap.cache.shared_max_age: 86400 services: werkspot.sitemap.generator: class: Werkspot\Bundle\SitemapBundle\Service\Generator
parameters: werkspot.sitemap.cache.shared_max_age: 86400 services: werkspot.sitemap.generator: class: Werkspot\Bundle\SitemapBundle\Service\Generator public: true
Reorder pages: About is the last one
# Site navigation links - title: About url: /about/ - title: All Posts url: /posts/ - title: Presentations url: /presentations/
# Site navigation links - title: All Posts url: /posts/ - title: Presentations url: /presentations/ - title: About url: /about/
Update Tiny Weather Forecast Germany to 0.53.0 (17)
Categories: - Internet License: GPL-3.0-or-later AuthorName: Pawel Dube SourceCode: https://codeberg.org/Starfish/TinyWeatherForecastGermany IssueTracker: https://codeberg.org/Starfish/TinyWeatherForecastGermany/issues AutoName: Tiny Weather Forecast Germany RepoType: git Repo: https://codeberg.org/Starfish/TinyWeatherForecastGermany Builds: - versionName: '0.51' versionCode: 12 commit: '0.51' subdir: app gradle: - yes - versionName: '0.52' versionCode: 13 commit: '0.52' subdir: app gradle: - yes - versionName: 0.52.1 versionCode: 14 commit: 0.52.1 subdir: app gradle: - yes - versionName: 0.52.2 versionCode: 15 commit: 0.52.2 subdir: app gradle: - yes - versionName: 0.52.3 versionCode: 16 commit: 0.52.3 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 0.52.3 CurrentVersionCode: 16
Categories: - Internet License: GPL-3.0-or-later AuthorName: Pawel Dube SourceCode: https://codeberg.org/Starfish/TinyWeatherForecastGermany IssueTracker: https://codeberg.org/Starfish/TinyWeatherForecastGermany/issues AutoName: Tiny Weather Forecast Germany RepoType: git Repo: https://codeberg.org/Starfish/TinyWeatherForecastGermany Builds: - versionName: '0.51' versionCode: 12 commit: '0.51' subdir: app gradle: - yes - versionName: '0.52' versionCode: 13 commit: '0.52' subdir: app gradle: - yes - versionName: 0.52.1 versionCode: 14 commit: 0.52.1 subdir: app gradle: - yes - versionName: 0.52.2 versionCode: 15 commit: 0.52.2 subdir: app gradle: - yes - versionName: 0.52.3 versionCode: 16 commit: 0.52.3 subdir: app gradle: - yes - versionName: 0.53.0 versionCode: 17 commit: 0.53.0 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 0.53.0 CurrentVersionCode: 17
Add rethinkdb box + node init.js
box: wercker/nodejs # Build definition build: # The steps that will be executed on build steps: # A step that executes `npm install` command - npm-install # A step that executes `npm test` command - npm-test # A custom script step, name value is used in the UI # and the code value contains the command that get executed - script: name: echo nodejs information code: | echo "node version $(node -v) running" echo "npm version $(npm -v) running"
box: wercker/nodejs services: - mies/rethinkdb # Build definition build: # The steps that will be executed on build steps: # A step that executes `npm install` command - npm-install - script: name: init code: | node init.js # A step that executes `npm test` command - npm-test # A custom script step, name value is used in the UI # and the code value contains the command that get executed - script: name: echo nodejs information code: | echo "node version $(node -v) running" echo "npm version $(npm -v) running"
Update platforms in Test Kitchen
driver: name: vagrant provisioner: name: chef_zero platforms: - name: centos-5.11 - name: centos-6.7 - name: centos-7.2 - name: debian-7.9 run_list: apt::default - name: debian-8.2 run_list: apt::default - name: fedora-22 run_list: yum::dnf_yum_compat - name: fedora-23 run_list: yum::dnf_yum_compat - name: ubuntu-12.04 run_list: apt::default - name: ubuntu-14.04 run_list: apt::default suites: - name: default run_list: - recipe[boost::default] - name: source run_list: - recipe[boost::source]
driver: name: vagrant provisioner: name: chef_zero platforms: - name: centos-5.11 - name: centos-6.7 - name: centos-7.2 - name: debian-7.10 run_list: apt::default - name: debian-8.4 run_list: apt::default - name: fedora-22 run_list: yum::dnf_yum_compat - name: fedora-23 run_list: yum::dnf_yum_compat - name: ubuntu-12.04 run_list: apt::default - name: ubuntu-14.04 run_list: apt::default suites: - name: default run_list: - recipe[boost::default] - name: source run_list: - recipe[boost::source]
Update from Hackage at 2019-01-02T14:21:31Z
homepage: https://github.com/kelemzol/htlset changelog-type: markdown hash: 8f8546a0fff09469eb9ab4ec0cc2482b0e98c023cb786de1b87e3d74b2508b87 test-bench-deps: {} maintainer: kelemzol@elte.hu synopsis: Heterogenous Set changelog: ! "# Revision history for htlset\r\n\r\n## 0.1.0.0 -- YYYY-mm-dd\r\n\r\n* First version. Released on an unsuspecting world.\r\n" basic-deps: base: ! '>=4.9 && <4.10' containers: ! '>=0.5 && <0.6' all-versions: - 0.1.0.0 author: Zoltan Kelemen latest: 0.1.0.0 description-type: haddock description: HtsSet is a Heterogenous Set wich can provide storing values with different type. license-name: BSD-3-Clause
homepage: https://github.com/kelemzol/htlset changelog-type: markdown hash: e920302e5761ab3e29171679d0e8f1ff8f30a374718a6368d8209cf1fe4e7c9c test-bench-deps: {} maintainer: kelemzol@elte.hu synopsis: Heterogenous Set changelog: "# Revision history for htlset\r\n\r\n## 0.1.0.0 -- YYYY-mm-dd\r\n\r\n* First version. Released on an unsuspecting world.\r\n" basic-deps: base: ! '>=4.9 && <4.10' containers: ! '>=0.5 && <0.6' all-versions: - 0.1.0.0 - 0.1.0.1 author: Zoltan Kelemen latest: 0.1.0.1 description-type: haddock description: |- HtsSet is a Heterogenous Set wich can provide storing values with different type. This package is DEPRICATED. see htssets package. license-name: BSD-3-Clause
Update from Hackage at 2017-10-14T23:51:26Z
homepage: https://github.com/louispan/javascript-extras#readme changelog-type: '' hash: 738cad063f8aa2b2024a112d0b0013941695ab8d614ab1383f9a200e406d661a test-bench-deps: {} maintainer: louis@pan.me synopsis: Extra javascript functions when using GHCJS changelog: '' basic-deps: javascript-extras: ! '>=0.3.1' base: ! '>=4.7 && <5' text: ! '>=1.2 && <1.3' ghcjs-base-stub: ! '>=0.1.0.2 && <1' parallel: ! '>=3.2 && <4' deepseq: ! '>=1.4 && <2' all-versions: - '0.2.0.2' - '0.3.0.0' - '0.3.1.0' author: Louis Pan latest: '0.3.1.0' description-type: markdown description: ! '[![Hackage](https://img.shields.io/hackage/v/javascript-extras.svg)](https://hackage.haskell.org/package/javascript-extras) Extra javascript functions when using GHCJS ' license-name: BSD3
homepage: https://github.com/louispan/javascript-extras#readme changelog-type: '' hash: 73d729467d18339b1e0936865ea54c02bf88a7fb6c7773d712fc849c34a08aab test-bench-deps: {} maintainer: louis@pan.me synopsis: Extra javascript functions when using GHCJS changelog: '' basic-deps: javascript-extras: -any base: ! '>=4.7 && <5' text: ! '>=1.2 && <1.3' ghcjs-base-stub: ! '>=0.1.0.2 && <1' parallel: ! '>=3.2 && <4' deepseq: ! '>=1.4 && <2' all-versions: - '0.2.0.2' - '0.3.0.0' - '0.3.1.0' - '0.3.2.0' author: Louis Pan latest: '0.3.2.0' description-type: markdown description: ! '[![Hackage](https://img.shields.io/hackage/v/javascript-extras.svg)](https://hackage.haskell.org/package/javascript-extras) Extra javascript functions when using GHCJS ' license-name: BSD3
Stop testing node 10 since Discord can't install
name: CI on: [push] jobs: build-and-test: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: Install Dependencies run: yarn - name: Build run: | yarn workspace ani-cursor build yarn workspace webamp build yarn workspace webamp build-library - name: Lint run: | yarn workspace webamp lint yarn workspace webamp type-check - name: Run Unit Tests run: | yarn workspace ani-cursor test yarn workspace webamp test - name: Run Integration Tests run: yarn workspace webamp integration-tests env: CI: true - name: Upload Screenshot Diffs if: failure() uses: actions/upload-artifact@v1 with: name: image_diffs path: packages/webamp/js/__tests__/__image_snapshots__/__diff_output__/ - name: Generate New Screenshots if: failure() run: | yarn workspace webamp integration-tests -u - name: Upload New Screenshots if: failure() uses: actions/upload-artifact@v1 with: name: new_images path: packages/webamp/js/__tests__/__image_snapshots__/
name: CI on: [push] jobs: build-and-test: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 13.x, 14.x, 15.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: Install Dependencies run: yarn - name: Build run: | yarn workspace ani-cursor build yarn workspace webamp build yarn workspace webamp build-library - name: Lint run: | yarn workspace webamp lint yarn workspace webamp type-check - name: Run Unit Tests run: | yarn workspace ani-cursor test yarn workspace webamp test - name: Run Integration Tests run: yarn workspace webamp integration-tests env: CI: true - name: Upload Screenshot Diffs if: failure() uses: actions/upload-artifact@v1 with: name: image_diffs path: packages/webamp/js/__tests__/__image_snapshots__/__diff_output__/ - name: Generate New Screenshots if: failure() run: | yarn workspace webamp integration-tests -u - name: Upload New Screenshots if: failure() uses: actions/upload-artifact@v1 with: name: new_images path: packages/webamp/js/__tests__/__image_snapshots__/
Update Evil Insult Generator to 3.1 (31)
AntiFeatures: - NonFreeNet Categories: - Science & Education License: Unlicense AuthorName: Evil Insult Generator & Contributors AuthorEmail: marvin@evilinsult.com WebSite: https://evilinsult.com/ SourceCode: https://github.com/EvilInsultGenerator/android-app IssueTracker: https://github.com/EvilInsultGenerator/android-app/issues Translation: https://crowdin.com/project/evil-insult-generator-android/ Donate: https://evilinsult.com/donate/ AutoName: Evil Insult Generator RepoType: git Repo: https://github.com/EvilInsultGenerator/android-app Builds: - versionName: '2.0' versionCode: 20 commit: v2.0 subdir: app gradle: - yes - versionName: '3.0' versionCode: 30 commit: 1e53687985aa1bb0dff5de62233f474f34c402ad subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '3.0' CurrentVersionCode: 30
AntiFeatures: - NonFreeNet Categories: - Science & Education License: Unlicense AuthorName: Evil Insult Generator & Contributors AuthorEmail: marvin@evilinsult.com WebSite: https://evilinsult.com/ SourceCode: https://github.com/EvilInsultGenerator/android-app IssueTracker: https://github.com/EvilInsultGenerator/android-app/issues Translation: https://crowdin.com/project/evil-insult-generator-android/ Donate: https://evilinsult.com/donate/ AutoName: Evil Insult Generator RepoType: git Repo: https://github.com/EvilInsultGenerator/android-app Builds: - versionName: '2.0' versionCode: 20 commit: v2.0 subdir: app gradle: - yes - versionName: '3.0' versionCode: 30 commit: 1e53687985aa1bb0dff5de62233f474f34c402ad subdir: app gradle: - yes - versionName: '3.1' versionCode: 31 commit: e5c0ac7b60671954b180b81815527b038bc034ab subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '3.1' CurrentVersionCode: 31
Validate structure of existing JSON.API resources. Add API configs
oro_api: entities: Oro\Bundle\EmailBundle\Entity\AutoResponseRule: ~ Oro\Bundle\EmailBundle\Entity\AutoResponseRuleCondition: ~ Oro\Bundle\EmailBundle\Entity\Email: ~ Oro\Bundle\EmailBundle\Entity\EmailAttachment: ~ Oro\Bundle\EmailBundle\Entity\EmailAttachmentContent: ~ Oro\Bundle\EmailBundle\Entity\EmailBody: ~ Oro\Bundle\EmailBundle\Entity\EmailFolder: ~ Oro\Bundle\EmailBundle\Entity\EmailOrigin: ~ Oro\Bundle\EmailBundle\Entity\EmailRecipient: ~ Oro\Bundle\EmailBundle\Entity\EmailThread: ~ Oro\Bundle\EmailBundle\Entity\EmailUser: ~ Oro\Bundle\EmailBundle\Entity\Mailbox: ~ Oro\Bundle\EmailBundle\Entity\Tag: ~ Oro\Bundle\EmailBundle\Entity\Tag: ~ Oro\Bundle\EmailBundle\Entity\EmailTemplate: ~ Oro\Bundle\EmailBundle\Entity\Tag: ~ Oro\Bundle\EmailBundle\Entity\Tag: ~ Oro\Bundle\EmailBundle\Entity\Tag: ~ Oro\Bundle\EmailBundle\Entity\Tag: ~
oro_api: entities: Oro\Bundle\EmailBundle\Entity\EmailTemplate: ~ Oro\Bundle\EmailBundle\Entity\AutoResponseRule: ~ Oro\Bundle\EmailBundle\Entity\AutoResponseRuleCondition: ~ Oro\Bundle\EmailBundle\Entity\Email: ~ Oro\Bundle\EmailBundle\Entity\EmailAttachment: ~ Oro\Bundle\EmailBundle\Entity\EmailAttachmentContent: ~ Oro\Bundle\EmailBundle\Entity\EmailBody: ~ Oro\Bundle\EmailBundle\Entity\EmailFolder: ~ Oro\Bundle\EmailBundle\Entity\EmailOrigin: ~ Oro\Bundle\EmailBundle\Entity\EmailRecipient: ~ Oro\Bundle\EmailBundle\Entity\EmailThread: ~ Oro\Bundle\EmailBundle\Entity\EmailUser: ~ Oro\Bundle\EmailBundle\Entity\Mailbox: ~
Disable Lefthook on V2 - needs updating
# Refer for explanation to following link: # https://github.com/evilmartians/lefthook/blob/master/docs/full_guide.md # pre-push: # commands: # frontend-v2-audit: # tags: frontend security # run: cd frontend/app_v2 && npm audit pre-commit: parallel: true commands: frontend-v2-linter: files: git diff --name-only @{push} frontend/app_v2 glob: '*.{js,ts,jsx,tsx}' run: npx eslint {files}
# Refer for explanation to following link: # https://github.com/evilmartians/lefthook/blob/master/docs/full_guide.md # pre-push: # commands: # frontend-v2-audit: # tags: frontend security # run: cd frontend/app_v2 && npm audit # pre-commit: # parallel: true # commands: # frontend-v2-linter: # files: git diff --name-only @{push} frontend/app_v2 # glob: '*.{js,ts,jsx,tsx}' # run: npx eslint {files}
Remove debug variable and blank lines
funcs: - name: extractRaw type: resolver body: | function(rawCode) { return rawCode.replace(" ", "") } tenets: - name: elseif-not-else-if flows: codelingo/review: comment: The keyword elseif SHOULD be used instead of else if so that all control keywords look like single words. Raw is {{rawCode}} codelingo/rewrite: codelingo/docs: title: if, elseif, else body: | An ```if``` structure looks like the following. Note the placement of parentheses, spaces, and braces; and that ```else``` and ```elseif``` are on the same line as the closing brace from the earlier body. ```<?php if ($expr1) { // if body } elseif ($expr2) { // elseif body } else { // else body; }``` The keyword elseif SHOULD be used instead of else if so that all control keywords look like single words. query: | import codelingo/ast/php @review comment @rewrite --replace "{{ extractRaw(rawCode) }}" php.stmt_else(depth = any): raw as rawCode php.stmt_if
funcs: - name: extractRaw type: resolver body: | function(rawCode) { return rawCode.replace(" ", "") } tenets: - name: elseif-not-else-if flows: codelingo/review: comment: The keyword elseif SHOULD be used instead of else if so that all control keywords look like single words. codelingo/rewrite: codelingo/docs: title: if, elseif, else body: | An ```if``` structure looks like the following. Note the placement of parentheses, spaces, and braces; and that ```else``` and ```elseif``` are on the same line as the closing brace from the earlier body. ```<?php if ($expr1) { // if body } elseif ($expr2) { // elseif body } else { // else body; }``` The keyword elseif SHOULD be used instead of else if so that all control keywords look like single words. query: | import codelingo/ast/php @review comment @rewrite --replace "{{ extractRaw(rawCode) }}" php.stmt_else(depth = any): raw as rawCode php.stmt_if
Allow to run plugin on Fuel 8.0 environment
# Plugin name name: detach-rabbitmq # Human-readable name for your plugin title: Separate rabbitmq from controller # Plugin version version: '1.0.1' # Description description: Creates seperate RabbitMQ role for deploying # Required fuel version fuel_version: ['7.0'] # Specify license of your plugin licenses: ['Apache License Version 2.0'] # Specify author or company name authors: ['Alex Schultz','Mirantis'] # A link to the plugin's page homepage: 'https://github.com/stackforge/fuel-plugin-detach-rabbitmq' # Specify a group which your plugin implements, possible options: # network, storage, storage::cinder, storage::glance, hypervisor groups: [network] # The plugin is compatible with releases in the list releases: - os: ubuntu version: 2014.2.2-6.1 mode: ['ha', 'multinode'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/ubuntu - os: ubuntu version: 2014.2.2-7.0 mode: ['ha', 'multinode'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/centos - os: ubuntu version: 2015.1.0-7.0 mode: ['ha', 'multinode'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/ubuntu # Version of plugin package package_version: '3.0.0'
# Plugin name name: detach-rabbitmq # Human-readable name for your plugin title: Separate rabbitmq from controller # Plugin version version: '1.0.1' # Description description: Creates seperate RabbitMQ role for deploying # Required fuel version fuel_version: ['7.0'] # Specify license of your plugin licenses: ['Apache License Version 2.0'] # Specify author or company name authors: ['Alex Schultz','Mirantis'] # A link to the plugin's page homepage: 'https://github.com/stackforge/fuel-plugin-detach-rabbitmq' # Specify a group which your plugin implements, possible options: # network, storage, storage::cinder, storage::glance, hypervisor groups: [network] # The plugin is compatible with releases in the list releases: - os: ubuntu version: 2014.2.2-6.1 mode: ['ha', 'multinode'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/ubuntu - os: ubuntu version: 2014.2.2-7.0 mode: ['ha', 'multinode'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/centos - os: ubuntu version: 2015.1.0-7.0 mode: ['ha', 'multinode'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/ubuntu - os: ubuntu version: 2015.1.0-8.0 mode: ['ha'] deployment_scripts_path: deployment_scripts/ repository_path: repositories/ubuntu # Version of plugin package package_version: '3.0.0'
Update circleci/python:3.7.1 Docker digest to c0f1460
# Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: - image: circleci/python:3.7.1@sha256:c2572f2349eadfe12da217be5e368a528840ca581904e852b80fe1da9f4144e7 working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: install dependencies command: | python3 -m venv venv . venv/bin/activate python setup.py dev_persistent_pip_sync - save_cache: paths: - ./venv key: v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }} - run: name: run tests command: | . venv/bin/activate flake8 bamboo_crawler tests export AWS_ACCESS_KEY_ID='' export AWS_SECRET_ACCESS_KEY='' python setup.py test - store_artifacts: path: test-reports destination: test-reports
# Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: - image: circleci/python:3.7.1@sha256:c0f146061bc0babc940d685654eaaff26220205fd4859c646e4caa235b190367 working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: install dependencies command: | python3 -m venv venv . venv/bin/activate python setup.py dev_persistent_pip_sync - save_cache: paths: - ./venv key: v1-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "dev-requirements.txt" }} - run: name: run tests command: | . venv/bin/activate flake8 bamboo_crawler tests export AWS_ACCESS_KEY_ID='' export AWS_SECRET_ACCESS_KEY='' python setup.py test - store_artifacts: path: test-reports destination: test-reports
Update "Andy" meme name to match KYM
name: "At This Point, I'm Afraid to Ask" default: - link: http://knowyourmeme.com/memes/afraid-to-ask-andy aliases: - afraid-to-ask-andy - afraid-to-ask - andy-dwyer
name: "'Afraid to Ask' Andy" default: - - AND AT THIS POINT I'M TOO AFRAID TO ASK link: http://knowyourmeme.com/memes/afraid-to-ask-andy aliases: - afraid-to-ask-andy - afraid-to-ask - andy-dwyer
Put the example port inside the allowed port range
--- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa folders: - map: ~/Code to: /home/vagrant/Code sites: - map: homestead.app to: /home/vagrant/Code/Laravel/public databases: - homestead # blackfire: # - id: foo # token: bar # client-id: foo # client-token: bar # ports: # - send: 93000 # to: 9300 # - send: 7777 # to: 777 # protocol: udp
--- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa folders: - map: ~/Code to: /home/vagrant/Code sites: - map: homestead.app to: /home/vagrant/Code/Laravel/public databases: - homestead # blackfire: # - id: foo # token: bar # client-id: foo # client-token: bar # ports: # - send: 9393 # to: 9300 # - send: 7777 # to: 777 # protocol: udp
Move files from `master` to `main`
name: PHP Composer on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Validate composer.json and composer.lock run: composer validate --strict - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies run: composer install --prefer-dist --no-progress - name: Run linter run: composer run-script lint - name: Run tests run: composer run-script tests
name: PHP Composer on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Validate composer.json and composer.lock run: composer validate --strict - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies run: composer install --prefer-dist --no-progress - name: Run linter run: composer run-script lint - name: Run tests run: composer run-script tests
Remove redundant atom install step
version: "{build}" os: Windows Server 2012 R2 install: - choco install atom -y - cd %APPVEYOR_BUILD_FOLDER% - npm install build_script: - cd %APPVEYOR_BUILD_FOLDER% - npm test test: off deploy: off
version: "{build}" os: Windows Server 2012 R2 install: - cd %APPVEYOR_BUILD_FOLDER% - npm install build_script: - cd %APPVEYOR_BUILD_FOLDER% - npm test test: off deploy: off
Move everything into yml as it has to be there
version: '{branch}-{build}' build_script: - ps: >- cd src/DarkSkyCore dotnet restore dotnet build cd ../../ dotnet pack --configuration release -o nupkgs/ src/DarkSkyCore test_script: - ps: >- cd test/DarkSkyCore.Tests dotnet restore dotnet build dotnet test -class DarkSky.UnitTests.Services.DarkSkyServiceUnitTests if($env:APPVEYOR_REPO_TAG -eq "true") { dotnet test -class DarkSky.IntegrationTests.Services.DarkSkyServiceIntegrationTests}
version: '{branch}-{build}' pull_requests: do_not_increment_build_number: true build_script: - ps: >- cd src/DarkSkyCore dotnet restore dotnet build cd ../../ dotnet pack --configuration release -o nupkgs/ src/DarkSkyCore test_script: - ps: >- cd test/DarkSkyCore.Tests dotnet restore dotnet test artifacts: - path: nupkgs/ name: nuget deploy: - provider: NuGet server: nuget.org api_key: secure: YAF0FoHQVDwWAUmD/H8JUYkjiv4baMyRNdTaOgIw/NVMmo9IiYPq1wPOY525ubJG artifact: nuget on: branch: master APPVEYOR_REPO_TAG: true
Correct a typo in the document
--- other: - The `max_fail_percentage` playbook option has been used with the default playbooks since the first release of the playbooks back in **Icehouse**. While the intention was to allow large-scale deployments to succeed in cases where a single node fails due to transient issues, this option has produced more problems that it solves. If a failure occurs that is transient in nature but is under the set failure percentage the playbook will report a success, which can cause silent failures depending on where the failure happened. If a deployer finds themselves in this situation the problems are are then compounded because the tools will report there are no known issues. To ensure deployers have the best deployment experience and the most accurate information a change has been made to remove the `max_fail_percentage` option from all of the default playbooks. The removal of this option has the side effect of requiring the deploy to skip specific hosts should one need to be omitted from a run, but has the benefit of eliminating silent, hard to track down, failures. To skip a failing host for a given playbook run use the `--limit '!$HOSTNAME'` CLI switch for the specific run. Once the issues have been resolved for the failing host rerun the specific playbook without the `--limit` option to ensure everything is in sync.
--- other: - The `max_fail_percentage` playbook option has been used with the default playbooks since the first release of the playbooks back in **Icehouse**. While the intention was to allow large-scale deployments to succeed in cases where a single node fails due to transient issues, this option has produced more problems that it solves. If a failure occurs that is transient in nature but is under the set failure percentage the playbook will report a success, which can cause silent failures depending on where the failure happened. If a deployer finds themselves in this situation the problems are then compounded because the tools will report there are no known issues. To ensure deployers have the best deployment experience and the most accurate information a change has been made to remove the `max_fail_percentage` option from all of the default playbooks. The removal of this option has the side effect of requiring the deploy to skip specific hosts should one need to be omitted from a run, but has the benefit of eliminating silent, hard to track down, failures. To skip a failing host for a given playbook run use the `--limit '!$HOSTNAME'` CLI switch for the specific run. Once the issues have been resolved for the failing host rerun the specific playbook without the `--limit` option to ensure everything is in sync.
Make sure we install test dependencies
version: 2 jobs: hdf5-18: docker: - image: astrofrog/hyperion-ci-hdf5-18:1.4 steps: - checkout - run: name: Initialize submodule command: | git submodule init git submodule update - run: name: Compiling Fortran code command: | HYPERION_HDF5_VERSION=18 ./configure make make install - run: name: Installing Numpy command: pip install numpy - run: name: Installing Python package command: pip install . - run: name: Run full test suite (including bit-level tests) command: python setup.py test --enable-bit-level-tests hdf5-110: docker: - image: astrofrog/hyperion-ci-hdf5-110:1.4 steps: - checkout - run: name: Initialize submodule command: | git submodule init git submodule update - run: name: Compiling Fortran code command: | ./configure make make install - run: name: Installing Numpy command: pip3 install numpy - run: name: Installing Python package command: pip3 install .[test] - run: name: Run full test suite (including bit-level tests) command: python3 setup.py test --enable-bit-level-tests workflows: version: 2 tests_and_docs: jobs: - hdf5-18 - hdf5-110
version: 2 jobs: hdf5-18: docker: - image: astrofrog/hyperion-ci-hdf5-18:1.4 steps: - checkout - run: name: Initialize submodule command: | git submodule init git submodule update - run: name: Compiling Fortran code command: | HYPERION_HDF5_VERSION=18 ./configure make make install - run: name: Installing Numpy command: pip install numpy - run: name: Installing Python package command: pip install .[test] - run: name: Run full test suite (including bit-level tests) command: python setup.py test --enable-bit-level-tests hdf5-110: docker: - image: astrofrog/hyperion-ci-hdf5-110:1.4 steps: - checkout - run: name: Initialize submodule command: | git submodule init git submodule update - run: name: Compiling Fortran code command: | ./configure make make install - run: name: Installing Numpy command: pip3 install numpy - run: name: Installing Python package command: pip3 install .[test] - run: name: Run full test suite (including bit-level tests) command: python3 setup.py test --enable-bit-level-tests workflows: version: 2 tests_and_docs: jobs: - hdf5-18 - hdf5-110
Remove local package repository info
--- # Common task - name: add local package repository shell: | export local_repo=/etc/apt/sources.list.d/local_repo.list echo 'deb http://192.168.1.200/apt-mirror/ubuntu/ trusty main restricted universe' > ${local_repo} echo 'deb-src http://192.168.1.200/apt-mirror/ubuntu/ trusty main restricted universe' >> ${local_repo} - name: default package upgrade apt: upgrade=yes update_cache=yes cache_valid_time=86400 - name: install ntpd apt: name=ntp - name: Install hosts template: src=hosts.j2 dest=/etc/hosts
--- # Common task - name: default package upgrade apt: upgrade=yes update_cache=yes cache_valid_time=86400 - name: install ntpd apt: name=ntp - name: Install hosts template: src=hosts.j2 dest=/etc/hosts
Fix Github Actions target branch
name: Node.js CI on: push: branches: [ $default-branch ] pull_request: branches: [ $default-branch ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x, 14.x, 15.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: npm test
name: Node.js CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x, 14.x, 15.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: npm test
Delete test suite while Odoo is not available
name: PHP Composer on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Validate composer.json and composer.lock run: composer validate --strict - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies run: composer install --prefer-dist --no-progress - name: Run test suite run: composer run-script test - name: Run static analysis suite run: composer run-script analyse - name: Run coding standard suite run: composer run-script coding-standard
name: PHP Composer on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Validate composer.json and composer.lock run: composer validate --strict - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies run: composer install --prefer-dist --no-progress # - name: Run test suite # run: composer run-script test - name: Run static analysis suite run: composer run-script analyse - name: Run coding standard suite run: composer run-script coding-standard
Disable ChromePhp and FirePhp in development
imports: - { resource: config.yml } framework: router: resource: "%kernel.root_dir%/config/routing_dev.yml" strict_requirements: true profiler: { only_exceptions: false } web_profiler: toolbar: true intercept_redirects: false monolog: handlers: main: type: stream path: %kernel.logs_dir%/%kernel.environment%.log level: debug firephp: type: firephp level: info chromephp: type: chromephp level: info assetic: use_controller: true swiftmailer: delivery_address: test@localhost
imports: - { resource: config.yml } framework: router: resource: "%kernel.root_dir%/config/routing_dev.yml" strict_requirements: true profiler: { only_exceptions: false } web_profiler: toolbar: true intercept_redirects: false monolog: handlers: main: type: stream path: %kernel.logs_dir%/%kernel.environment%.log level: debug assetic: use_controller: true swiftmailer: delivery_address: test@localhost
Update docker image used on CircleCI
# https://circleci.com/docs/2.0/language-android/ version: 2 jobs: build: working_directory: ~/code docker: - image: circleci/android:api-25-alpha environment: JVM_OPTS: -Xmx3200m steps: - checkout - restore_cache: key: jars-{{ checksum "build.gradle" }}-{{ checksum "cardstackview/build.gradle" }} - run: name: Download Dependencies command: ./gradlew androidDependencies - save_cache: paths: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "cardstackview/build.gradle" }} - run: name: Run Tests command: ./gradlew lint test - store_artifacts: path: cardstackview/build/reports destination: reports - store_test_results: path: cardstackview/build/test-results
# https://circleci.com/docs/2.0/language-android/ version: 2 jobs: build: working_directory: ~/code docker: - image: circleci/android:api-28-alpha environment: JVM_OPTS: -Xmx3200m steps: - checkout - restore_cache: key: jars-{{ checksum "build.gradle" }}-{{ checksum "cardstackview/build.gradle" }} - run: name: Download Dependencies command: ./gradlew androidDependencies - save_cache: paths: - ~/.gradle key: jars-{{ checksum "build.gradle" }}-{{ checksum "cardstackview/build.gradle" }} - run: name: Run Tests command: ./gradlew lint test - store_artifacts: path: cardstackview/build/reports destination: reports - store_test_results: path: cardstackview/build/test-results
Update requests recipe to version 2.17.3
{% set name = "requests" %} {% set version = "2.14.2" %} package: name: {{ name }} version: {{ version }} source: fn: requests-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: a274abba399a23e8713ffd2b5706535ae280ebe2b8069ee6a941cb089440d153 build: number: 0 script: python setup.py install --single-version-externally-managed --record record.txt requirements: build: - python - setuptools run: - python test: imports: - requests about: home: http://python-requests.org license: Apache 2.0 summary: 'Python HTTP for Humans.'
{% set name = "requests" %} {% set version = "2.17.3" %} package: name: {{ name }} version: {{ version }} source: fn: requests-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 8d29f97ed1541709b57caddb77bb20592411d7ca10ec4f03275f49ee8456e225 build: number: 0 script: python setup.py install --single-version-externally-managed --record record.txt requirements: build: - python - setuptools run: - python - certifi - chardet - idna - urllib3 test: imports: - requests about: home: http://python-requests.org license: Apache 2.0 summary: 'Python HTTP for Humans.'
Use MySQL version 5.7 for CI
version: 2 jobs: build: docker: - image: circleci/php:7.2 steps: - checkout test: docker: - image: circleci/php:7.2 - image: circleci/mysql:8.0.4 environment: MYSQL_ALLOW_EMPTY_PASSWORD: true MYSQL_ROOT_PASSWORD: MYSQL_DATABASE: graphp MYSQL_USER: graphp MYSQL_PASSWORD: graphp steps: - checkout - run: name: "Pull Submodules" command: | git submodule init git submodule update --remote - run: name: "Update composer" command: | cd third_party php composer.phar update - run: graphp/tests/run_tests.sh workflows: version: 2 build_and_test: jobs: - build - test
version: 2 jobs: build: docker: - image: circleci/php:7.2 steps: - checkout test: docker: - image: circleci/php:7.2 - image: circleci/mysql:5.7 environment: MYSQL_ALLOW_EMPTY_PASSWORD: true MYSQL_ROOT_PASSWORD: MYSQL_DATABASE: graphp MYSQL_USER: graphp MYSQL_PASSWORD: graphp steps: - checkout - run: name: "Pull Submodules" command: | git submodule init git submodule update --remote - run: name: "Update composer" command: | cd third_party php composer.phar update - run: graphp/tests/run_tests.sh workflows: version: 2 build_and_test: jobs: - build - test
Create 'release/3.8.4' for 3.8.4 release
"3.10": "v3.10.0-devel" "3.9": "v3.9.0-devel" "3.8": "v3.8.3" "3.7": "v3.7.16" "3.6": "v3.6.16" "3.5": "v3.5.7" "3.4": "v3.4.11" "3.3": "v3.3.25"
"3.10": "v3.10.0-devel" "3.9": "v3.9.0-devel" "3.8": "v3.8.4" "3.7": "v3.7.16" "3.6": "v3.6.16" "3.5": "v3.5.7" "3.4": "v3.4.11" "3.3": "v3.3.25"
Update talks link to Youtube playlist of recorded videos
# main links links main: - title: Recent Posts url: / - title: About url: /about - title: Talks url: http://pinoyrb.org/users/marc-rendl-ignacio
# main links links main: - title: Recent Posts url: / - title: About url: /about - title: Talks url: https://www.youtube.com/playlist?list=PLUWxUW-YCdzw4plP128fg6kUK8obHMD4b
Add CodePen link for Bobby
name: "Bobby Showalter" image: "/team/bobby.jpg" alt: "Photo of Bobby and his son Owen outside. Owen is sitting on Bobby's shoulders with his hands on Bobby's head." title: "Lead Designer" profiles: - profile_name: "blog" profile_link: "http://www.bshow.co/" - profile_name: "instagram" profile_link: "https://www.instagram.com/bobbyshowalter/" - profile_name: "github" profile_link: "https://github.com/orangedaisy/"
name: "Bobby Showalter" image: "/team/bobby.jpg" alt: "Photo of Bobby and his son Owen outside. Owen is sitting on Bobby's shoulders with his hands on Bobby's head." title: "Lead Designer" profiles: - profile_name: "blog" profile_link: "http://www.bshow.co/" - profile_name: "instagram" profile_link: "https://www.instagram.com/bobbyshowalter/" - profile_name: "github" profile_link: "https://github.com/orangedaisy/" - profile_name: "codepen" profile_link: "https://codepen.io/bobbyshowalter/"
Update from Hackage at 2015-12-19T09:36:01+0000
homepage: https://skami.iocikun.jp/haskell/packages/png-file changelog-type: '' hash: 9255039bb091277837b0de0f58764f49da7994d5e3572f5429cf4650c8787703 test-bench-deps: {} maintainer: Yoshikuni Jujo <PAF01143@nifty.ne.jp> synopsis: read/write png file changelog: '' basic-deps: binary-file: -any bytestring: -any base: ! '>3 && <5' monads-tf: -any array: -any zlib: -any template-haskell: -any all-versions: - '0.0.1.0' - '0.0.1.1' - '0.0.1.2' author: Yoshikuni Jujo <PAF01143@nifty.ne.jp> latest: '0.0.1.2' description-type: haddock description: It's just alpha version now. license-name: BSD3
homepage: https://skami.iocikun.jp/haskell/packages/png-file changelog-type: '' hash: 7989755a63a3b5a04474e415ce9880743788c6dc3bb14f3471956d22b5144181 test-bench-deps: {} maintainer: Yoshikuni Jujo <PAF01143@nifty.ne.jp> synopsis: read/write png file changelog: '' basic-deps: binary-file: -any bytestring: -any base: ! '>3 && <5' monads-tf: -any array: -any zlib: -any template-haskell: -any all-versions: - '0.0.1.0' - '0.0.1.1' - '0.0.1.2' - '0.0.1.3' author: Yoshikuni Jujo <PAF01143@nifty.ne.jp> latest: '0.0.1.3' description-type: haddock description: It's just alpha version now. license-name: BSD3
Fix branch parameter in publications publish job.
# simply copy the contents of the repository to the server, no building needed - job: name: infra-publications-publish concurrent: false node: precise builders: - gerrit-git-prep publishers: - ftp: site: docs.openstack.org source: '**' target: 'infra/publications/${ZUUL_BRANCH}/' remove-prefix: '' excludes: '' - console-log-post - job: name: infra-publications-publish-index concurrent: false node: precise builders: - gerrit-git-prep - shell: | #!/bin/bash -xe git reset --hard remotes/origin/master git clean -x -f -d -q ./make-index publishers: - ftp: site: docs.openstack.org source: 'output/**' target: 'infra/publications/' remove-prefix: 'output/' excludes: '' - console-log-post
# simply copy the contents of the repository to the server, no building needed - job: name: infra-publications-publish concurrent: false node: precise builders: - gerrit-git-prep publishers: - ftp: site: docs.openstack.org source: '**' target: 'infra/publications/$ZUUL_BRANCH/' remove-prefix: '' excludes: '' - console-log-post - job: name: infra-publications-publish-index concurrent: false node: precise builders: - gerrit-git-prep - shell: | #!/bin/bash -xe git reset --hard remotes/origin/master git clean -x -f -d -q ./make-index publishers: - ftp: site: docs.openstack.org source: 'output/**' target: 'infra/publications/' remove-prefix: 'output/' excludes: '' - console-log-post
Add mongdb to the apt-get installs
--- - name: playbook to set the MDC hosts: local connection: local vars: local_path: "{{ lookup('env', 'HOME') }}" anaconda_path: "{{ local_path }}/anaconda" mdc_path: "{{ local_path }}/git/mdc" tasks: - name: apt-get installs apt: name: "{{ item }}" state: present become: true with_items: - bzip2 - name: download miniconda get_url: url: https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh dest: /tmp force: no - name: install miniconda shell: bash /tmp/Miniconda-latest-Linux-x86_64.sh -b -p {{ anaconda_path }} args: creates: "{{ anaconda_path }}" - name: update conda shell: "{{ anaconda_path }}/bin/conda update conda" - name: clone MDC git: repo: https://github.com/usnistgov/mdcs.git dest: "{{ mdc_path }}" version: master - name: install new enviroment shell: "{{ anaconda_path }}/bin/conda env update -n root --file environment.yml"
--- - name: playbook to set the MDC hosts: local connection: local vars: local_path: "{{ lookup('env', 'HOME') }}" anaconda_path: "{{ local_path }}/anaconda" mdc_path: "{{ local_path }}/git/mdc" tasks: - name: apt-get installs apt: name: "{{ item }}" state: present become: true with_items: - bzip2 - mongodb - name: download miniconda get_url: url: https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh dest: /tmp force: no - name: install miniconda shell: bash /tmp/Miniconda-latest-Linux-x86_64.sh -b -p {{ anaconda_path }} args: creates: "{{ anaconda_path }}" - name: update conda shell: "{{ anaconda_path }}/bin/conda update conda" - name: clone MDC git: repo: https://github.com/usnistgov/mdcs.git dest: "{{ mdc_path }}" version: master - name: install new enviroment shell: "{{ anaconda_path }}/bin/conda env update -n root --file environment.yml"
Settle on preferred indentation for YAML arrays.
# GitHub Actions workflow # https://help.github.com/en/actions/reference name: Build on: push: branches: - master - release/* tags: - release/* pull_request: branches: - master - release/* env: # Minimize noise from dotnet CLI DOTNET_NOLOGO: 1 jobs: build: runs-on: ubuntu-latest steps: - name: Check Out Code uses: actions/checkout@v2 - name: Configure .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.x - name: Stamp Version id: stamp run: > dotnet build .root.targets -c Release -p:StampOnBuild=true -p:Branch=${{ github.ref }} -p:Counter=${{ github.run_number }} -p:RepositoryCommit=${{ github.sha }} - name: Build + Package run: dotnet build -c Release - name: Save Package uses: actions/upload-artifact@v2 with: name: PSql ${{ steps.stamp.outputs.version }} path: dist/PSql.${{ steps.stamp.outputs.version }}.nupkg if-no-files-found: error
# GitHub Actions workflow # https://help.github.com/en/actions/reference name: Build on: push: branches: - master - release/* tags: - release/* pull_request: branches: - master - release/* env: # Minimize noise from dotnet CLI DOTNET_NOLOGO: 1 jobs: build: runs-on: ubuntu-latest steps: - name: Check Out Code uses: actions/checkout@v2 - name: Configure .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.x - name: Stamp Version id: stamp run: > dotnet build .root.targets -c Release -p:StampOnBuild=true -p:Branch=${{ github.ref }} -p:Counter=${{ github.run_number }} -p:RepositoryCommit=${{ github.sha }} - name: Build + Package run: dotnet build -c Release - name: Save Package uses: actions/upload-artifact@v2 with: name: PSql ${{ steps.stamp.outputs.version }} path: dist/PSql.${{ steps.stamp.outputs.version }}.nupkg if-no-files-found: error
Enable sanitizers in Gitlab CI
# Use Kvazaar CI base image which includes the build tools and ffmpeg + hmdec in ${HOME}/bin image: ultravideo/kvazaar_ci_base:latest # Build kvazaar and run tests build-kvazaar: stage: build script: - ./autogen.sh - ./configure --enable-werror || (cat config.log && false) - make --jobs=8 V=1 artifacts: paths: - src/kvazaar - src/.libs expire_in: 1 week run-tests: stage: test script: - ./autogen.sh - ./configure - export PATH="${HOME}/bin:${PATH}" - export KVAZAAR_OVERRIDE_angular_pred=generic - export KVAZAAR_OVERRIDE_sao_band_ddistortion=generic - export KVAZAAR_OVERRIDE_sao_edge_ddistortion=generic - export KVAZAAR_OVERRIDE_calc_sao_edge_dir=generic - make check VERBOSE=1
# Use Kvazaar CI base image which includes the build tools and ffmpeg + hmdec in ${HOME}/bin image: ultravideo/kvazaar_ci_base:latest # Build kvazaar build-kvazaar: &build-template stage: build script: - ./autogen.sh - ./configure --enable-werror || (cat config.log && false) - make --jobs=8 V=1 artifacts: paths: - src/kvazaar - src/.libs expire_in: 1 week build-asan: <<: *build-template variables: CFLAGS: '-fsanitize=address' # LeakSanitizer doesn't work inside the container because it requires # ptrace so we disable it. ASAN_OPTIONS: 'detect_leaks=0' build-tsan: <<: *build-template variables: CFLAGS: '-fsanitize=thread' build-ubsan: <<: *build-template variables: CFLAGS: '-fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment' .test-template: &test-template stage: test script: - export PATH="${HOME}/bin:${PATH}" - ./autogen.sh - ./configure --enable-werror - make check --jobs=8 VERBOSE=1 test-valgrind: <<: *test-template dependencies: - build-kvazaar variables: KVAZAAR_OVERRIDE_angular_pred: generic KVAZAAR_OVERRIDE_sao_band_ddistortion: generic KVAZAAR_OVERRIDE_sao_edge_ddistortion: generic KVAZAAR_OVERRIDE_calc_sao_edge_dir: generic KVZ_TEST_VALGRIND: 1 test-asan: <<: *test-template dependencies: - build-asan test-tsan: <<: *test-template dependencies: - build-tsan test-ubsan: <<: *test-template dependencies: - build-ubsan
Add testing against HHVM at Travis-CI
language: php php: - 5.3.3 - 5.3 - 5.4 - 5.5 services: mongodb before_script: - sudo apt-get install parallel - echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini - echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;' - echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install script: - ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo "Running {} tests"; phpunit --exclude-group tty,benchmark {};' || exit 1 - echo "Running tests requiring tty"; phpunit --group tty
language: php php: - 5.3.3 - 5.3 - 5.4 - 5.5 - hhvm matrix: allow_failures: - php: hhvm services: mongodb before_script: - sudo apt-get install parallel - sh -c 'if [ $(php -r "echo (int) defined("HHVM_VERSION");") -eq 0 ]; then echo "" >> "~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini"; fi;' - echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;' - echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install script: - ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo "Running {} tests"; phpunit --exclude-group tty,benchmark {};' || exit 1 - echo "Running tests requiring tty"; phpunit --group tty
Enable javadoc to verify that doclint is happy
language: java jdk: - oraclejdk7 script: - mvn clean install -Dmaven.javadoc.skip=false cache: directories: - $HOME/.m2
language: java jdk: - oraclejdk7 script: - mvn clean install javadoc:javadoc cache: directories: - $HOME/.m2
Install fonts-liberation before installing chrome
language: node_js node_js: - "stable" - "0.12" - "iojs" before_install: # replace chromium with chrome - "sudo apt-get remove chromium-browser" - "sudo apt-get update" - "sudo apt-get install libappindicator1" - "wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" - "sudo dpkg -i google-chrome-stable_current_amd64.deb" - "sudo apt-get install -f" - "export CHROME_SANDBOX=/opt/google/chrome/chrome-sandbox" # Download a custom chrome-sandbox which works inside OpenVC containers (used in travis). - "sudo rm -f $CHROME_SANDBOX" - "sudo wget https://googledrive.com/host/0B5VlNZ_Rvdw6NTJoZDBSVy1ZdkE -O $CHROME_SANDBOX" - "sudo chown root:root $CHROME_SANDBOX; sudo chmod 4755 $CHROME_SANDBOX" - "sudo md5sum $CHROME_SANDBOX" - "export DISPLAY=:99.0" - "Xvfb :99.0 -extension RANDR > /dev/null &" - "sudo chmod 1777 /dev/shm" before_script: - npm install -g bower - bower install
language: node_js node_js: - "stable" - "0.12" - "iojs" before_install: # replace chromium with chrome - "sudo apt-get remove chromium-browser" - "sudo apt-get update" - "sudo apt-get install libappindicator1" - "sudo apt-get install fonts-liberation" - "wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" - "sudo dpkg -i google-chrome-stable_current_amd64.deb" - "sudo apt-get install -f" - "export CHROME_SANDBOX=/opt/google/chrome/chrome-sandbox" # Download a custom chrome-sandbox which works inside OpenVC containers (used in travis). - "sudo rm -f $CHROME_SANDBOX" - "sudo wget https://googledrive.com/host/0B5VlNZ_Rvdw6NTJoZDBSVy1ZdkE -O $CHROME_SANDBOX" - "sudo chown root:root $CHROME_SANDBOX; sudo chmod 4755 $CHROME_SANDBOX" - "sudo md5sum $CHROME_SANDBOX" - "export DISPLAY=:99.0" - "Xvfb :99.0 -extension RANDR > /dev/null &" - "sudo chmod 1777 /dev/shm" before_script: - npm install -g bower - bower install
Fix tab -> space indents
language: node_js node_js: - "0.10.x" notifications: email: false postgres: adapter: postgresql database: nopejs_test username: postgres before_script: - psql -c 'create database nopejs_test;' -U postgres - psql -d nopejs_test -f databases/user.sql -U postgres
language: node_js node_js: - "0.10.x" notifications: email: false postgres: adapter: postgresql database: nopejs_test username: postgres before_script: - psql -c 'create database nopejs_test;' -U postgres - psql -d nopejs_test -f databases/user.sql -U postgres
Drop support node < 4
language: node_js node_js: - v6 - v5 - v4 - '0.12' - '0.10' after_success: - './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
language: node_js node_js: - v6 - v5 - v4 after_success: - './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
Add JRuby back for normal Travis processing!
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 1.9.3 - 2.0 - 2.1 - jruby-19mode - rbx-2 matrix: allow_failures: - rvm: jruby-19mode cache: bundler
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 1.9.3 - 2.0 - 2.1 - jruby-19mode - rbx-2 cache: bundler
Change Travis JRuby to default and allow failures.
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.2.5 - 2.3.1 - jruby-9.1.2.0 - rbx cache: bundler sudo: false matrix: allow_failures: - rvm: rbx
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.2.5 - 2.3.1 - jruby - rbx cache: bundler sudo: false matrix: allow_failures: - rvm: rbx - rvm: jruby
Use os x for Travis CI to be able to use mono 3.2
language: c install: - sudo apt-get install mono-devel mono-gmcs nunit-console script: - xbuild Eto.Parse.sln - nunit-console Eto.Parse.Tests/bin/Debug/Eto.Parse.Tests.dll
language: objective-c env: global: - EnableNuGetPackageRestore=true matrix: - MONO_VER="3.2.3" before_install: - wget "http://download.mono-project.com/archive/${MONO_VER}/macos-10-x86/MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.pkg" - sudo installer -pkg "MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.pkg" -target / script: - xbuild Eto.Parse.sln - nunit-console Eto.Parse.Tests/bin/Debug/Eto.Parse.Tests.dll
Remove the deprecated sudo option.
language: ruby dist: trusty sudo: false before_install: - gem update --system - gem install bundler before_script: - bundle update cache: bundler rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - ruby-head - jruby-1.7.27 - jruby-9.1.17.0 - jruby-9.2.3.0 - jruby-head - rbx-3.107 - truffleruby-1.0.0-rc10 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: truffleruby-1.0.0-rc10
language: ruby dist: trusty before_install: - gem update --system - gem install bundler before_script: - bundle update cache: bundler rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - ruby-head - jruby-1.7.27 - jruby-9.1.17.0 - jruby-9.2.3.0 - jruby-head - rbx-3.107 - truffleruby-1.0.0-rc10 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: truffleruby-1.0.0-rc10
Use py.test on CI with coveralls
language: python python: - '2.7' - '3.6' install: - pip install -e . script: python -m unittest discover
language: python python: - '2.7' - '3.6' install: - pip install -e . - pip install pytest-cov coveralls script: - py.test --cov=goji after_success: - coveralls
Update R to 3.4 in Travis
language: r r: "3.3" cache: packages matrix: include: - os: linux dist: trusty sudo: required before_install: [ "sudo add-apt-repository \"deb http://archive.ubuntu.com/ubuntu/ xenial main\" -y", "sudo apt-get update -q", "echo 'Installing R package dependencies'", "sudo apt-get install libfreetype6=2.6.1-0.1ubuntu2", "sudo apt-get install libfreetype6-dev=2.6.1-0.1ubuntu2", "sudo apt-get install libnlopt-dev", "sudo apt-get install r-cran-rcppeigen", "sudo apt-get install r-cran-plogr" ] install: Rscript -e 'install.packages(c("testthat", "vdiffr"))' script: - Rscript Tools/requiredPackages.R JASP-Engine/JASP/R true - Rscript Tools/showVersion.R - cd JASP-Tests/R/tests/ - R < testthat.R --no-save
language: r r: "3.4" cache: packages matrix: include: - os: linux dist: trusty sudo: required before_install: [ "sudo add-apt-repository \"deb http://archive.ubuntu.com/ubuntu/ xenial main\" -y", "sudo apt-get update -q", "echo 'Installing R package dependencies'", "sudo apt-get install libfreetype6=2.6.1-0.1ubuntu2", "sudo apt-get install libfreetype6-dev=2.6.1-0.1ubuntu2", "sudo apt-get install libnlopt-dev", "sudo apt-get install r-cran-rcppeigen", "sudo apt-get install r-cran-plogr" ] install: Rscript -e 'install.packages(c("testthat", "vdiffr"))' script: - Rscript Tools/requiredPackages.R JASP-Engine/JASP/R true - Rscript Tools/showVersion.R - cd JASP-Tests/R/tests/ - R < testthat.R --no-save
Add labels on scripts to distinguidhed them, run tests using makefile to validate this one too
# travis configuration file # Copyright 2018 Ilya Shipitsin <chipitsine@gmail.com> # Nicolas Mora <mail@babelouest.org> sudo: required language: c addons: apt: packages: [ check, libsubunit-dev, cppcheck ] matrix: include: - os: linux compiler: gcc - os: linux compiler: clang - env: LABEL=cppcheck os: linux script: - cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . >build.log 2>&1 || (cat build.log && exit 1) - os: osx addons: homebrew: packages: - check update: true script: - mkdir build && cd build - cmake -DBUILD_ORCANIA_TESTING=on -DWITH_JOURNALD=off .. - make test script: - mkdir build && cd build - cmake -DBUILD_ORCANIA_TESTING=on .. - make test package - sudo make install - cd ../ - make - make clean check
# travis configuration file # Copyright 2018 Ilya Shipitsin <chipitsine@gmail.com> # Nicolas Mora <mail@babelouest.org> sudo: required language: c addons: apt: packages: [ check, libsubunit-dev, cppcheck ] matrix: include: - env: LABEL=linux-gcc os: linux compiler: gcc - env: LABEL=lnux-clang os: linux compiler: clang - env: LABEL=cppcheck os: osx addons: homebrew: packages: - check update: true script: - mkdir build && cd build - cmake -DBUILD_ORCANIA_TESTING=on -DWITH_JOURNALD=off .. - make test - env: LABEL=osx os: linux script: - cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . >build.log 2>&1 || (cat build.log && exit 1) script: - pushd test - make test - popd test - mkdir build && cd build - cmake -DBUILD_ORCANIA_TESTING=on .. - make test package - sudo make install - cd ../ - make - make clean check
Install composer by the book.
language: php php: - 5.3 - 5.4 before_script: - wget http://getcomposer.org/composer.phar - php composer.phar install --dev script: vendor/bin/phpunit
language: php php: - 5.3 - 5.4 before_script: - curl -s http://getcomposer.org/installer | php - php composer.phar install --dev script: vendor/bin/phpunit
Update to test newer ruby versions
language: ruby rvm: - 2.1 - 2.2 - 2.3.0 - ruby-head before_install: - gem update bundler matrix: allow_failures: - rvm: ruby-head
language: ruby rvm: - 2.1.9 - 2.2.6 - 2.3.3 - ruby-head before_install: - gem update bundler matrix: allow_failures: - rvm: ruby-head
Remove old hipchat notification token.
language: c compiler: - gcc script: make test before_install: - sudo apt-get update -qq - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq -y libgd2-xpm ia32-libs ia32-libs-multiarch; fi - script/bootstrap.sh - cd src notifications: hipchat: - secure: "ZO/hEAoOTZ4FJytMW0m4LZrsdFVM1/V0Hu13zfj8mdcHkf2MyfxthPDecnn5\naZVn4P8mSSwpp39EnAfa9fBcWcDESnKM1YQKPPGkoxZZHIOd2rYhRv34XfpE\n5qNLkQ/lEPQCBEmvIQ5ZJxsiZjGhO7KxWvdNdruH6cdVCYSh4Xo="
language: c compiler: - gcc script: make test before_install: - sudo apt-get update -qq - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq -y libgd2-xpm ia32-libs ia32-libs-multiarch; fi - script/bootstrap.sh - cd src
Add Docker build to Travis CI configuration.
sudo: required language: node_js os: - linux - osx node_js: - "6" before_install: - node --version - npm --version script: - npm run cibuild
sudo: required language: node_js services: - docker os: - linux - osx node_js: - "6" before_install: - node --version - npm --version - docker --version - docker-compose --version script: - npm run cibuild - npm run docker-build
Add sass & node-sass executable
language: node_js node_js: - "0.12"
language: node_js node_js: - "0.12" before_install: - "npm install sass" - "npm install node-sass"
Add file size check after install
language: cpp compiler: - clang - gcc before_install: # nomlib dependencies (SDL, OpenAL, libsndfile, libmagic, GTK) - sudo apt-get install libsdl1.2-dev libsdl1.2debian libsdl-image1.2-dev libsdl-image1.2 libsdl-ttf2.0-dev libsdl-ttf2.0-0 libsndfile1-dev libopenal-dev libmagic-dev libgtk2.0-dev libjson-spirit-dev #doxygen graphviz before_script: - mkdir -p build build-osx && cd build - cmake -DVERBOSE=on -D EXAMPLES=on -D CMAKE_INSTALL_PREFIX=/usr/local .. script: - make -j4 - sudo make install - sudo make uninstall - make clean # whitelist branches: only: - travis - dev - master
language: cpp compiler: - clang - gcc before_install: # nomlib dependencies (SDL, OpenAL, libsndfile, libmagic, GTK) - sudo apt-get install libsdl1.2-dev libsdl1.2debian libsdl-image1.2-dev libsdl-image1.2 libsdl-ttf2.0-dev libsdl-ttf2.0-0 libsndfile1-dev libopenal-dev libmagic-dev libgtk2.0-dev libjson-spirit-dev #doxygen graphviz before_script: - mkdir -p build build-osx && cd build - cmake -D VERBOSE=on -D EXAMPLES=on -D CMAKE_INSTALL_PREFIX=/usr/local .. script: - make -j4 - sudo make install - du -csh /usr/local/lib/libnomlib.so.0.1.0 - sudo make uninstall - make clean # whitelist branches: only: - travis - dev - master
Add live tests to TravisCI builds
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 before_script: - "sudo touch /var/log/stripe-mock-server.log" - "sudo chown travis /var/log/stripe-mock-server.log" script: "bundle exec rspec; bundle exec rspec -t live" notifications: webhooks: urls: - https://webhooks.gitter.im/e/44a1f4718ae2efb67eac on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: false # default: false
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 before_script: - "sudo touch /var/log/stripe-mock-server.log" - "sudo chown travis /var/log/stripe-mock-server.log" script: "bundle exec rspec && bundle exec rspec -t live" notifications: webhooks: urls: - https://webhooks.gitter.im/e/44a1f4718ae2efb67eac on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: false # default: false
Update test config for new Firefox download URLs
sudo: false language: cpp compiler: - gcc env: - FX_PATH_SUFFIX="" - FX_PATH_SUFFIX="-esr" - FX_PATH_SUFFIX="-beta" # - FX_PATH_SUFFIX="-prior-esr" matrix: fast_finish: true allow_failures: - env: FX_PATH_SUFFIX="-beta" - env: FX_PATH_SUFFIX="-prior-esr" notifications: email: false install: - wget `curl -s "http://ftp.mozilla.org/pub/firefox/releases/latest${FX_PATH_SUFFIX}/linux-x86_64/en-US/" | grep .tar. | tail -n 1 | sed -E 's/.+(\/pub\/[^"]+).+/http:\/\/ftp.mozilla.org\1/g'` - tar -xf firefox-*.tar.* before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - test/runtests.sh -x firefox/firefox
sudo: false language: cpp compiler: - gcc env: - FX_CHANNEL="" - FX_CHANNEL="-esr" - FX_CHANNEL="-beta" matrix: fast_finish: true allow_failures: - env: FX_CHANNEL="-beta" notifications: email: false install: - wget -O tarball "https://download.mozilla.org/?product=firefox${FX_CHANNEL}-latest&os=linux64&lang=en-US" - tar xf tarball before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - test/runtests.sh -x firefox/firefox
Use bundle of eggs for buildout download cache
language: python python: - "2.7" install: ./install.sh --dev script: make tests notifications: email: false irc: "irc.freenode.org#geotrek"
language: python python: - "2.7" before_install: # Download bundle of python eggs, and use it as download cache - "wget http://ubuntuone.com/4XDFKwxMxCLFYNxEH5B1I2 -O /tmp/geotrek-bundle.tar.gz" - "tar -zx /tmp/geotrek-bundle.tar.gz --directory=$HOME" - echo -e "[buildout]\ndownload-cache=$HOME/.buildout/downloads" > $HOME/.buildout/default.cfg install: ./install.sh --dev script: make tests notifications: email: false irc: "irc.freenode.org#geotrek"
Update pypy versions for Travis CI
sudo: false cache: pip language: python # For pypy versions, see https://github.com/pyenv/pyenv/tree/master/plugins/python-build/share/python-build python: - 2.7 - 3.4 - 3.5 - 3.6 - "pypy-5.6.0" - "pypy3.5-5.8.0" install: - pip install --upgrade setuptools - pip install -U tox-travis - pip install -U coveralls script: - tox # Verify the file is at least valid even if it isn't run. - tox -c tox-integration.ini -l after_success: - coveralls
sudo: false cache: pip language: python # For pypy versions, see https://github.com/pyenv/pyenv/tree/master/plugins/python-build/share/python-build python: - 2.7 - 3.4 - 3.5 - 3.6 - pypy2.7-6.0 - pypy3.5-6.0 install: - pip install --upgrade setuptools - pip install -U tox-travis - pip install -U coveralls script: - tox # Verify the file is at least valid even if it isn't run. - tox -c tox-integration.ini -l after_success: - coveralls
Fix suite name for kitchen in Travis
sudo: required dist: trusty addons: apt: sources: - chef-current-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" branches: only: - master services: docker env: matrix: - INSTANCE=resource-ubuntu-1404 - INSTANCE=resource-ubuntu-1604 - INSTANCE=resource-debian-7 - INSTANCE=resource-debian-8 - INSTANCE=resource-debian-9 - INSTANCE=resource-centos-6 - INSTANCE=resource-centos-7 - INSTANCE=resource-opensuse-leap - INSTANCE=resource-fedora-latest - INSTANCE=upgrade-ubuntu-1404 - INSTANCE=upgrade-ubuntu-1604 - INSTANCE=upgrade-debian-7 - INSTANCE=upgrade-debian-8 - INSTANCE=upgrade-debian-9 - INSTANCE=upgrade-centos-6 - INSTANCE=upgrade-centos-7 - INSTANCE=upgrade-opensuse-leap - INSTANCE=upgrade-fedora-latest before_script: - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(chef shell-init bash)" - chef --version - cookstyle --version - foodcritic --version script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE} matrix: include: - script: - chef exec delivery local all env: UNIT_AND_LINT=1
sudo: required dist: trusty addons: apt: sources: - chef-current-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" branches: only: - master services: docker env: matrix: - INSTANCE=resources-ubuntu-1404 - INSTANCE=resources-ubuntu-1604 - INSTANCE=resources-debian-7 - INSTANCE=resources-debian-8 - INSTANCE=resources-debian-9 - INSTANCE=resources-centos-6 - INSTANCE=resources-centos-7 - INSTANCE=resources-opensuse-leap - INSTANCE=resources-fedora-latest - INSTANCE=upgrade-ubuntu-1404 - INSTANCE=upgrade-ubuntu-1604 - INSTANCE=upgrade-debian-7 - INSTANCE=upgrade-debian-8 - INSTANCE=upgrade-debian-9 - INSTANCE=upgrade-centos-6 - INSTANCE=upgrade-centos-7 - INSTANCE=upgrade-opensuse-leap - INSTANCE=upgrade-fedora-latest before_script: - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(chef shell-init bash)" - chef --version - cookstyle --version - foodcritic --version script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE} matrix: include: - script: - chef exec delivery local all env: UNIT_AND_LINT=1
Make Valgrind return 1 if it encountered errors
language: cpp compiler: - clang - gcc env: - BUILD_TYPE=Debug VALGRIND=true SANITIZE='' - BUILD_TYPE=Debug VALGRIND=false SANITIZE=undefined # - BUILD_TYPE=Debug VALGRIND=false SANITIZE=address - BUILD_TYPE=Release VALGRIND=false SANITIZE='' addons: apt: sources: - george-edison55-precise-backports - llvm-toolchain-precise-3.8 - ubuntu-toolchain-r-test packages: - clang-3.8 - cmake - cmake-data - g++-5 - valgrind install: - if [ "$CXX" = "g++" ]; then export CXX="g++-5"; fi - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8"; fi script: - cmake -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" -DSANITIZE="${SANITIZE}" . - make - if [ "${VALGRIND}" = "true" ]; then travis_wait valgrind --leak-check=full --track-origins=yes testsuite/cpp-sort-testsuite --rng-seed $RANDOM; else testsuite/cpp-sort-testsuite --rng-seed $RANDOM; fi notifications: email: false
language: cpp compiler: - clang - gcc env: - BUILD_TYPE=Debug VALGRIND=true SANITIZE='' - BUILD_TYPE=Debug VALGRIND=false SANITIZE=undefined # - BUILD_TYPE=Debug VALGRIND=false SANITIZE=address - BUILD_TYPE=Release VALGRIND=false SANITIZE='' addons: apt: sources: - george-edison55-precise-backports - llvm-toolchain-precise-3.8 - ubuntu-toolchain-r-test packages: - clang-3.8 - cmake - cmake-data - g++-5 - valgrind install: - if [ "$CXX" = "g++" ]; then export CXX="g++-5"; fi - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8"; fi script: - cmake -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" -DSANITIZE="${SANITIZE}" . - make - if [ "${VALGRIND}" = "true" ]; then travis_wait valgrind --leak-check=full --track-origins=yes --error-exitcode=1 testsuite/cpp-sort-testsuite --rng-seed $RANDOM; else testsuite/cpp-sort-testsuite --rng-seed $RANDOM; fi notifications: email: false
Add Ruby 2.2 and 2.1 to build matrix
dist: trusty sudo: false language: ruby rvm: - 2.4 - 2.3 - jruby-9.1.12.0 - ruby-head - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true script: - bundle exec rake test before_deploy: - bundle exec rake build deploy: provider: rubygems api_key: secure: "Lq/S22rljsiZBNyfSTSF9wyNiP4s4yjeeHT37vor4CgijvP8CgIJcA6UtUN+EPLe/LlZEir/p8QHTPEwAtCg2ZoU2JmN+ul8IVboHlJ19NVKT92mhKDdGe6P3yKqbqFAEoteT9MXJ3xXysSWnWFLrEPAiOmNhuh+mnPOF8uPdgw=" skip_cleanup: true on: rvm: 2.4 tags: true
dist: trusty sudo: false language: ruby rvm: - 2.4 - 2.3 - 2.2 - 2.1 - jruby-9.1.12.0 - ruby-head - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true script: - bundle exec rake test before_deploy: - bundle exec rake build deploy: provider: rubygems api_key: secure: "Lq/S22rljsiZBNyfSTSF9wyNiP4s4yjeeHT37vor4CgijvP8CgIJcA6UtUN+EPLe/LlZEir/p8QHTPEwAtCg2ZoU2JmN+ul8IVboHlJ19NVKT92mhKDdGe6P3yKqbqFAEoteT9MXJ3xXysSWnWFLrEPAiOmNhuh+mnPOF8uPdgw=" skip_cleanup: true on: rvm: 2.4 tags: true
Test against major versions only
language: node_js node_js: - 4.0 - 4.1 - 4.2 - 4.3 - 4.4 - 4.5 - 4.6 - 5.0 - 5.1 - 5.2 - 5.3 - 5.4 - 5.5 - 5.6 - 5.7 - 5.8 - 5.9 - 5.10 - 5.11 - 5.12 - 6.0 - 6.1 - 6.2 - 6.3 - 6.4 - 6.5 - 6.6 - 6.7
language: node_js node_js: - 4 - 5 - 6
Speed up build on TravisCI
--- script: "./script/build" rvm: - "1.9.3"
--- script: "./script/build" bundler_args: --binstubs --path .bundle rvm: - "1.9.3"
Add a note about running the 'etcdv3' tests.
dist: trusty sudo: false language: go go: - 1.9 # add TF_CONSUL_TEST=1 to run consul tests # they were causing timouts in travis env: - CONSUL_VERSION=0.7.5 GOMAXPROCS=4 # Fetch consul for the backend and provider tests before_install: - curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip - unzip consul.zip - mkdir -p ~/bin - mv consul ~/bin - export PATH="~/bin:$PATH" install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that live there. # See: https://github.com/golang/go/issues/12933 - bash scripts/gogetcookie.sh - go get github.com/kardianos/govendor script: - make vendor-status - make test - make vet - GOOS=windows go build branches: only: - master notifications: irc: channels: - irc.freenode.org#terraform-tool skip_join: true use_notice: true matrix: fast_finish: true allow_failures: - go: tip
dist: trusty sudo: false language: go go: - 1.9 # add TF_CONSUL_TEST=1 to run consul tests # they were causing timouts in travis # add TF_ETCDV3_TEST=1 to run etcdv3 tests # if added, TF_ETCDV3_ENDPOINTS must be set to a comma-separated list of (insecure) etcd endpoints against which to test env: - CONSUL_VERSION=0.7.5 GOMAXPROCS=4 # Fetch consul for the backend and provider tests before_install: - curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip - unzip consul.zip - mkdir -p ~/bin - mv consul ~/bin - export PATH="~/bin:$PATH" install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that live there. # See: https://github.com/golang/go/issues/12933 - bash scripts/gogetcookie.sh - go get github.com/kardianos/govendor script: - make vendor-status - make test - make vet - GOOS=windows go build branches: only: - master notifications: irc: channels: - irc.freenode.org#terraform-tool skip_join: true use_notice: true matrix: fast_finish: true allow_failures: - go: tip
Install gfortran (required by pymc)
language: generic # Setting sudo to false opts in to Travis-CI container-based builds. sudo: false os: linux env: global: # The following versions are the 'default' for tests, unless # overridden underneath. They are defined here in order to save having # to repeat them for all configurations. - PYTHON_VERSION=3.6 - NUMPY_VERSON=stable - ASTROPY_VERSION=stable - CONDA_DEPENDENCIES='scipy scikit-learn<0.19 nose matplotlib pymc' - PIP_DEPENDENCIES='astroML_addons' matrix: fast_finish: true include: - env: PYTHON_VERSION=3.7 - env: NUMPY_VERSION=1.14 - env: PYTHON_VERSION=3.5 NUMPY_VERSION=1.13 - env: PYTHON_VERSION=3.4 - env: PYTHON_VERSION=2.7 install: - git clone git://github.com/astropy/ci-helpers.git - source ci-helpers/travis/setup_conda.sh - python setup.py install script: - nosetests astroML
language: generic # Setting sudo to false opts in to Travis-CI container-based builds. sudo: false os: linux # The apt packages below are needed for sphinx builds. A full list of # packages that can be included can be found here: # https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise addons: apt: packages: - gfortran env: global: # The following versions are the 'default' for tests, unless # overridden underneath. They are defined here in order to save having # to repeat them for all configurations. - PYTHON_VERSION=3.6 - NUMPY_VERSON=stable - ASTROPY_VERSION=stable - CONDA_DEPENDENCIES='scipy scikit-learn<0.19 nose matplotlib pymc' - PIP_DEPENDENCIES='astroML_addons' - DEBUG=true matrix: fast_finish: true include: - env: PYTHON_VERSION=3.7 - env: NUMPY_VERSION=1.14 - env: PYTHON_VERSION=3.5 NUMPY_VERSION=1.13 - env: PYTHON_VERSION=3.4 - env: PYTHON_VERSION=2.7 install: - git clone git://github.com/astropy/ci-helpers.git - source ci-helpers/travis/setup_conda.sh - python setup.py install script: - nosetests astroML
Use Xcode9 image for Travis builds
branches: only: - master language: swift osx_image: xcode8.3 xcode_workspace: Eurofurence.xcworkspace xcode_scheme: Eurofurence install: - gem install xcpretty script: - xcodebuild -workspace Eurofurence.xcworkspace -scheme Eurofurence -destination "platform=iOS Simulator,name=iPhone 7" clean test | xcpretty && exit ${PIPESTATUS[0]}
branches: only: - master language: swift osx_image: xcode9 xcode_workspace: Eurofurence.xcworkspace xcode_scheme: Eurofurence install: - gem install xcpretty script: - xcodebuild -workspace Eurofurence.xcworkspace -scheme Eurofurence -destination "platform=iOS Simulator,name=iPhone 7" clean test | xcpretty && exit ${PIPESTATUS[0]}
Use go 1.8 in Travis
language: go go: - 1.7.3 sudo: false install: - export PATH=${PATH}:${HOME}/gopath/bin - curl https://bitbucket.org/birkenfeld/pygments-main/get/2.1.tar.gz -L -o 2.1.tar.gz - mkdir -p ${HOME}/bin - tar -xf 2.1.tar.gz - mv birkenfeld-pygments-main-34530db252d3/* ${HOME}/bin - rm -rf birkenfeld-pygments-main-34530db252d3 - cd ${HOME}/gopath/src && mkdir -p github.com/kr && cd github.com/kr && git clone https://github.com/kr/text && cd ${TRAVIS_BUILD_DIR} script: - export PATH=${PATH}:${HOME}/bin - cd ../../.. && mkdir goa.design && cp -r github.com/goadesign/goa goa.design/goa.v2 - cd goa.design/goa.v2 - make notifications: slack: secure: bMYXaoSEGoNdqR0t1VnMAv/4V9PSOhEWyekdJM7p9WmKjJi2yKy0k77uRmwf+5Mrz5GLs3CkZnDha/8cSFld3KEN9SC6QYmIBF/1Pd/5mKHFQOI81i7sTlhrdMv897+6sofEtbBNq1jffhVGVttbMrMWwCTNZu0NrCGBVsDmb44=
language: go go: - 1.8 install: - export PATH=${PATH}:${HOME}/gopath/bin script: - export PATH=${PATH}:${HOME}/bin - cd ../../.. && mkdir goa.design && cp -r github.com/goadesign/goa goa.design/goa.v2 - cd goa.design/goa.v2 - make notifications: slack: secure: bMYXaoSEGoNdqR0t1VnMAv/4V9PSOhEWyekdJM7p9WmKjJi2yKy0k77uRmwf+5Mrz5GLs3CkZnDha/8cSFld3KEN9SC6QYmIBF/1Pd/5mKHFQOI81i7sTlhrdMv897+6sofEtbBNq1jffhVGVttbMrMWwCTNZu0NrCGBVsDmb44=
Fix not using our default source asn (Facebook) so tests + ci pass
language: python python: - "3.5" install: - pip install . script: - peerme -s pdbapi discover -d 32934 - peerme -s pdbapi generate -d 15169 -t ios.template - python setup.py test
# ASN 7575 == AARNET language: python python: - "3.5" install: - pip install . script: - peerme -s pdbapi discover -d 7575 - peerme -s pdbapi generate -d 7575 -t ios.template - python setup.py test
Switch CI CQ workflow to dependency install script
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 doccheck - name: Check doc site build run: make docs - name: Check type annotations run: make typecheck - 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: sh bin/cicd_install.sh - name: Check code formatting run: make formatcheck - name: Check for linter errors run: make lint - name: Check docstring formatting run: make doccheck - name: Check doc site build run: make docs - name: Check type annotations run: make typecheck - name: Run tests run: make test - name: Check code coverage run: make covcheck
Remove clone depth 1 on Travis CI
dist: xenial sudo: required services: - docker language: go git: depth: 1 env: global: GOFLAGS=-mod=vendor matrix: fast_finish: true allow_failures: - go: tip include: - go: "1.12.x" name: "Code Lint" script: make lint - go: "1.12.x" name: "Code UnitTest" script: make test - go: "1.12.x" name: "Website" script: - make website-test - make website-lint install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that live there. # See: https://github.com/golang/go/issues/12933 - bash scripts/gogetcookie.sh - make tools branches: only: - master
dist: xenial sudo: required services: - docker language: go env: global: GOFLAGS=-mod=vendor matrix: fast_finish: true allow_failures: - go: tip include: - go: "1.12.x" name: "Code Lint" script: make lint - go: "1.12.x" name: "Code UnitTest" script: make test - go: "1.12.x" name: "Website" script: - make website-test - make website-lint install: # This script is used by the Travis build to install a cookie for # go.googlesource.com so rate limits are higher when using `go get` to fetch # packages that live there. # See: https://github.com/golang/go/issues/12933 - bash scripts/gogetcookie.sh - make tools branches: only: - master
Add Node.js install to Travis build
os: - linux language: php php: # - '5.6' # - '7.0' - '7.1' - '7.2' - '7.3' services: # - mongodb - mysql before_script: - sleep 10 # - mongo horizontlaravel --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]}) - mysql -e 'CREATE DATABASE IF NOT EXISTS horizontlaravel;' - composer self-update - composer install --no-interaction - php artisan serve > /dev/null 2>&1 & script: - php artisan migrate --no-interaction --force - php artisan db:seed --no-interaction --force - export INSTALLED=YES - vendor/bin/phpunit --testsuite Unit,Integration --coverage-clover reports/coverage.xml - if [ -f "reports/coverage.xml" ]; then vendor/bin/codacycoverage clover reports/coverage.xml; fi - php artisan --version - php artisan hcms:version
os: - linux language: php php: # - '5.6' # - '7.0' - '7.1' - '7.2' - '7.3' services: # - mongodb - mysql before_script: - sleep 10 # - mongo horizontlaravel --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]}) - mysql -e 'CREATE DATABASE IF NOT EXISTS horizontlaravel;' - composer self-update - composer install --no-interaction - nvm install node - npm install - php artisan serve > /dev/null 2>&1 & script: - php artisan migrate --no-interaction --force - php artisan db:seed --no-interaction --force - export INSTALLED=YES - vendor/bin/phpunit --testsuite Unit,Integration --coverage-clover reports/coverage.xml - if [ -f "reports/coverage.xml" ]; then vendor/bin/codacycoverage clover reports/coverage.xml; fi - php artisan --version - php artisan hcms:version
Include Travis integration test for Node version 14
language: node_js node_js: - "8" - "10" - "11" - "12" install: - yarn install script: - yarn run lint - yarn run compile - yarn run test jobs: include: - stage: after_success script: - yarn install - yarn run compile - yarn run coveralls node_js: 10
language: node_js node_js: - "8" - "10" - "12" - "14" install: - yarn install script: - yarn run lint - yarn run compile - yarn run test jobs: include: - stage: after_success script: - yarn install - yarn run compile - yarn run coveralls node_js: 12
Use right mariadb package names
# roles/mariadb/vars/main.yml --- mariadb_packages: - mariadb - mariadb-server - MySQL-python mariadb_service: mariadb mariadb_config: /etc/my.cnf.d/network.cnf mariadb_my_config: ~/.my.cnf mariadb_version: 10.1
# roles/mariadb/vars/main.yml --- mariadb_packages: - MariaDB - MariaDB-server - MySQL-python mariadb_service: mariadb mariadb_config: /etc/my.cnf.d/network.cnf mariadb_my_config: ~/.my.cnf mariadb_version: 10.1
Install Tinc only when we want to sync with the central server, it means also that the device is owned by BSF thus we need Tinc too
--- #Switch over "localhost" or "SystemPushInstall" # localhost is used when ansible-pull is used to play the playbook # SystemPushInstall is used in PUSH mode and you have to set the device's IP in "hosts" file - hosts: localhost # - hosts: SystemPushInstall roles: - systemInit - nginx - uwsgi - dnsmasq - hostapd - iptables - network-manager - ideascube - kiwix - tinc-static post_tasks: - name: Global install completed, let's reboot! command: reboot
--- #Switch over "localhost" or "SystemPushInstall" # localhost is used when ansible-pull is used to play the playbook # SystemPushInstall is used in PUSH mode and you have to set the device's IP in "hosts" file - hosts: localhost # - hosts: SystemPushInstall roles: - systemInit - nginx - uwsgi - dnsmasq - hostapd - iptables - network-manager - ideascube - kiwix - role: tinc-static when: sync_log|bool == True post_tasks: - name: Global install completed, let's reboot! command: reboot
Install libmystem_c_binding.so via Travis CI
language: ruby bundler_args: --without development rvm: - 2.0.0 - jruby-19mode - rbx-19mode matrix: allow_failures: - rvm: jruby-19mode - rvm: rbx-19mode
sudo: false language: ruby bundler_args: --without development rvm: - 2.2.0 - 2.1.0 - 2.0.0 - rbx - jruby-19mode matrix: allow_failures: rvm: - rbx - jruby-19mode install: - wget https://github.com/yandex/tomita-parser/releases/download/v1.0/libmystem_c_binding.so.linux_x64.zip - unzip libmystem_c_binding.so.linux_x64.zip
Add 2.1.2 to Travis build
language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode - rbx
language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.2 - jruby-19mode - rbx
Add Slack integration for Travis CI
language: objective-c sudo: false # Enable container-based builds env: matrix: - EXAMPLE="cats" - EXAMPLE="llvm_projects" before_install: brew update install: brew install python3 before_script: python3 setup.py -q install script: scripts/test_${EXAMPLE}_example.sh branches: only: # whitelist - master notifications: email: false
language: objective-c sudo: false # Enable container-based builds env: matrix: - EXAMPLE="cats" - EXAMPLE="llvm_projects" before_install: brew update install: brew install python3 before_script: python3 setup.py -q install script: scripts/test_${EXAMPLE}_example.sh branches: only: # whitelist - master notifications: email: false slack: secure: G5UcsKT8xMjddtTSUPXECI3uobS5/sRn87iC+fMilbpnDK3yAGoKkyCfPK4E/kJSEPZ8hBKz3uHNzpb0DdOSsjbAItiI+RQ3Glgs86B1sg2pqB2uwVPDCyPn8XHnpYPkKxFYlG19/JG9SEDej4N3kjnB4FVBm7n38ZFWjZh7s2fOjlpPKiHz8pe3B8XYfXTyQGIr9Q2I1eHbQJOEzs4PO1j/uKC1jgwe7nZnOE3sYsfcabScEHTz4Z7s9xhRXcwvorhQYQtBS7id9Gg5E4ANhoVVs7QifazDE1EK3vWjvoFYgYKnCbXzQunB09XlymrWTJZx80JOmgALU0UPUEI8Wvt/kXQP9oxqsMEeoP7UbZvXTfmeOVlm+5f5oesp/JQeBvaPj5qnbWVzcMGqi/hev4qwNv01jQOWrzVmZazw+HgeQcuaHKprK7KLdPFQR5c6CJJtwIxwdRGLmHVTtKIVQo45mEEnjHpYOmbkmmN2VETdgRlkV8t0WdCQpXXVH7uniwa7cYzb9shpiq0o+G3uHN1eUIuia/0XIVgWRL0baN6JitEBvc032M/3UrJESStQFpMF/Nw+NXm38xp7sQWReZM1ZVIBNIR1XPnaZxuLzBhKKCYcByYz7PEF71o/SkWHhAa3EKPO+9q4zceTbWunjRlp1ycUIMyhqDlCpHM8c2Y=
Enable running Travis tests in containers.
language: node_js node_js: - "iojs" - "0.12" - "0.11" - "0.10" - "0.8" before_install: - npm install -g npm@1.4.28
language: node_js node_js: - "iojs" - "0.12" - "0.11" - "0.10" - "0.8" before_install: - npm install -g npm@1.4.28 sudo: false
Expand ruby versions run on Travis.
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.3.1 sudo: false cache: bundler
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.2.6 - 2.3.3 - 2.4.0 sudo: false cache: bundler
Set default version to current
sudo: false language: node_js node_js: - 0.12 - 4 - 6 python: - 2.7 - 3.5 addons: apt: packages: - socat before_install: - ssh-keygen -t rsa -f ~/.ssh/id_rsa -N '' - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan -t rsa localhost >> ~/.ssh/known_hosts - echo . ~/.nvm/nvm.sh > ~/.bashrc.new - cat ~/.bashrc >> ~/.bashrc.new - mv ~/.bashrc.new ~/.bashrc - cat ~/.bashrc - nvm alias default - ssh localhost node --version script: npm run travis-test
sudo: false language: node_js node_js: - 0.12 - 4 - 6 python: - 2.7 - 3.5 addons: apt: packages: - socat before_install: - ssh-keygen -t rsa -f ~/.ssh/id_rsa -N '' - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - ssh-keyscan -t rsa localhost >> ~/.ssh/known_hosts - echo . ~/.nvm/nvm.sh > ~/.bashrc.new - cat ~/.bashrc >> ~/.bashrc.new - mv ~/.bashrc.new ~/.bashrc - nvm alias default "$(nvm current)" - ssh localhost node --version script: npm run travis-test
Add GitHub API token to Travis CI
language: node_js node_js: - "0.10" - "0.11" before_install: - npm install -g grunt-cli
language: node_js node_js: - "0.10" - "0.11" before_install: - npm install -g grunt-cli env: global: secure: "vupOEjWsMVofpYK6fDDlm2p1V1LXD3+lw52esiIbKRQuJTdARMRsdy5fSbkYR4tD4SXI1/QqFTKbIbdTLdUNCsLEHOL8LH+1OY9ELSvDCfn4tKOqd8d/gnG+4RAM86YrpiEDEJT221PkYoDqkBxWYHBny4BgJ6BNq6NxPjJcZ1NGZ4jevWuBjng0ZYq+DpkBoq6EP8RRw/iLSA0cZDQNog+1dQvLm0VsJ2HzfPQ/ilDZFbA/uykq4RW3vBOEu4VqXUv480nvP33Buf6ycv0Rm+90Hed25M1MO44LMxAZ5mrIj28gIgSXR/qYmJUoWaCb0uLeU3gfHrxwaKFDpisUJBo1zmyeHjgxcW9F8gz/S5rQgIgm0/cpH2GVSIGNRNrjMpRZ3QIWBVxthkYzoMx7KqYoDKrLD0TGYSlXYR9hfp6+XBJCDOfsh3nb98jz3OYpEipoTNUuJ5AlfBjPR8IkLyJIPRfJOb8YWsRH3EbS74IaIMfFpvZUwX4xqxFJEd6Ty1yEHYmfbaNcFMG5ecRdsqdyRttThmvOrJj/jJGO7YZhbo0d+LzBATaSgcGK4yInAoORvu7gjnskQQq+fAkMtnkQLxVQRKwZKp4TX7FOPrcCkcJ6dIwJxk7XikoPKyIlJG8NAj5sujwzILXio8XSq1ik9AA6qALbmv6TAZJi3b8="
Add some more basic functionality for examples.
sudo: required language: python services: - docker before_install: - docker build -t forresta/docka-docka-docka docka-project/ - docker run -d -p 127.0.0.0:80:5000 forresta/docka-docka-docka - docker ps -a script: - echo 'script test'
sudo: required language: python services: - docker before_install: - docker build -t forresta/docka-docka-docka docka-project/ - docker run -d -p 127.0.0.0:80:5000 forresta/docka-docka-docka - docker ps -a - docker run forresta/docka-docka-docka /bin/sh -c "echo 'tests call here'" script: - echo "Test code here again"
Update Travis to run against Node.js 0.12 and io.js
language: node_js node_js: - "0.10" # latest stable release - "0.11" # latest development release, may be unstable before_install: npm install -g grunt-cli install: npm install matrix: fast_finish: true allow_failures: - node_js: "0.11"
language: node_js node_js: - "0.10" # stable - "0.11" # development release, may be unstable - "0.12" # stable - "iojs" before_install: npm install -g grunt-cli install: npm install matrix: fast_finish: true allow_failures: - node_js: "0.11" - node_js: "iojs"
Update config files for "codecov".
language: objective-c osx_image: xcode7 xcode_workspace: MCIconAlertControllerExample/MCIconAlertControllerExample.xcworkspace xcode_scheme: MCIconAlertControllerExample podfile: MCIconAlertControllerExample/Podfile notifications: email: false #script: script/cibuild script: - xctool -workspace MCIconAlertControllerExample/MCIconAlertControllerExample.xcworkspace -scheme MCIconAlertControllerExample -sdk iphonesimulator build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
language: objective-c osx_image: xcode7 xcode_workspace: MCIconAlertControllerExample/MCIconAlertControllerExample.xcworkspace xcode_scheme: MCIconAlertControllerExample podfile: MCIconAlertControllerExample/Podfile notifications: email: false #script: script/cibuild script: - xctool -workspace MCIconAlertControllerExample/MCIconAlertControllerExample.xcworkspace -scheme MCIconAlertControllerExample -sdk iphonesimulator build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES after_success: - bash <(curl -s https://codecov.io/bash)
Test with Ruby 1.9.3 on Travis CI.
language: ruby cache: bundler rvm: - 2.2.0 - 2.1.0 - 2.0.0 before_install: - gem update bundler
language: ruby cache: bundler rvm: - 2.2.0 - 2.1.0 - 2.0.0 - 1.9.3 before_install: - gem update bundler
Use the latest bundler for Chef 12.8
language: ruby cache: bundler sudo: false rvm: - 2.0.0 - 2.1 - 2.2 branches: only: - master bundler_args: --jobs 7 --retry 3 gemfile: gemfiles/chefspec.gemfile env: - CHEF_VERSION=master - CHEF_VERSION=12.8.1 - CHEF_VERSION=12.7.2 - CHEF_VERSION=12.6.0 - CHEF_VERSION=12.5.1 - CHEF_VERSION=12.4.3 - CHEF_VERSION=12.4.0 - CHEF_VERSION=12.3.0 - CHEF_VERSION=12.2.1 - CHEF_VERSION=12.1.2 - CHEF_VERSION=12.1.1 - CHEF_VERSION=12.1.0 - CHEF_VERSION=12.0.3 - CHEF_VERSION=11.18.6 - CHEF_VERSION=11.18.0 - CHEF_VERSION=11.16.4 - CHEF_VERSION=11.16.2 - CHEF_VERSION=11.16.0 - CHEF_VERSION=11.14.6 - CHEF_VERSION=11.14.2 matrix: fast_finish: true allow_failures: - env: CHEF_VERSION=master
language: ruby cache: bundler sudo: false before_install: - gem install bundler rvm: - 2.0.0 - 2.1 - 2.2 branches: only: - master bundler_args: --jobs 7 --retry 3 gemfile: gemfiles/chefspec.gemfile env: - CHEF_VERSION=master - CHEF_VERSION=12.8.1 - CHEF_VERSION=12.7.2 - CHEF_VERSION=12.6.0 - CHEF_VERSION=12.5.1 - CHEF_VERSION=12.4.3 - CHEF_VERSION=12.4.0 - CHEF_VERSION=12.3.0 - CHEF_VERSION=12.2.1 - CHEF_VERSION=12.1.2 - CHEF_VERSION=12.1.1 - CHEF_VERSION=12.1.0 - CHEF_VERSION=12.0.3 - CHEF_VERSION=11.18.6 - CHEF_VERSION=11.18.0 - CHEF_VERSION=11.16.4 - CHEF_VERSION=11.16.2 - CHEF_VERSION=11.16.0 - CHEF_VERSION=11.14.6 - CHEF_VERSION=11.14.2 matrix: fast_finish: true allow_failures: - env: CHEF_VERSION=master
Disable tests tagged w/ @xfail from test run. Maybe needed temporarily to have time to fix some issues.
language: python python: - 2.6 - 2.7 - pypy install: - pip install --use-mirrors -q mock nose PyHamcrest - python setup.py -q install script: - nosetests - behave -f progress --junit features/ - behave -f progress --junit --tags=~@xfail tools/test-features/ - behave -f progress --junit issue.features/
language: python python: - 2.6 - 2.7 - pypy install: - pip install --use-mirrors -q mock nose PyHamcrest - python setup.py -q install script: - nosetests - behave -f progress --junit --tags=~@xfail features/ - behave -f progress --junit --tags=~@xfail tools/test-features/ - behave -f progress --junit --tags=~@xfail issue.features/
Add another sleep in Travis to ensure first instance closes
language: go go: - 1.1 - 1.2 services: - redis-server before_script: - mysql -e "CREATE DATABASE goat" - mysql goat < res/mysql/announce_log.sql - mysql goat < res/mysql/api_keys.sql - mysql goat < res/mysql/files.sql - mysql goat < res/mysql/files_users.sql - mysql goat < res/mysql/scrape_log.sql - mysql goat < res/mysql/users.sql - mysql goat < res/mysql/whitelist.sql - mysql -e "INSERT INTO goat.files VALUES (null, '6465616462656566', 1, UNIX_TIMESTAMP(), UNIX_TIMESTAMP())" - mysql -e "UPDATE mysql.user SET password=PASSWORD('travis') WHERE user='travis'; FLUSH PRIVILEGES" script: - go build -o bin/goat - ./bin/goat -test & - sleep 1 - curl http://localhost:8080/announce\?info_hash\=deadbeef\&port\=5000\&uploaded\=0\&downloaded\=0\&left\=10\&compact\=1 - go build -tags='ql' -o bin/goat - ./bin/goat -test
language: go go: - 1.1 - 1.2 services: - redis-server before_script: - mysql -e "CREATE DATABASE goat" - mysql goat < res/mysql/announce_log.sql - mysql goat < res/mysql/api_keys.sql - mysql goat < res/mysql/files.sql - mysql goat < res/mysql/files_users.sql - mysql goat < res/mysql/scrape_log.sql - mysql goat < res/mysql/users.sql - mysql goat < res/mysql/whitelist.sql - mysql -e "INSERT INTO goat.files VALUES (null, '6465616462656566', 1, UNIX_TIMESTAMP(), UNIX_TIMESTAMP())" - mysql -e "UPDATE mysql.user SET password=PASSWORD('travis') WHERE user='travis'; FLUSH PRIVILEGES" script: - go build -o bin/goat - ./bin/goat -test & - sleep 1 - curl http://localhost:8080/announce\?info_hash\=deadbeef\&port\=5000\&uploaded\=0\&downloaded\=0\&left\=10\&compact\=1 - sleep 5 - go build -tags='ql' -o bin/goat - ./bin/goat -test
Remove py32, mock is not supported
sudo: false language: python install: - pip install tox script: - tox env: - TOXENV=py27 - TOXENV=py32 - TOXENV=py33 - TOXENV=py34 - TOXENV=pep8 - TOXENV=docs
sudo: false language: python install: - pip install tox script: - tox env: - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 - TOXENV=pep8 - TOXENV=docs
Add continuous integration with HHVM
language: php before_script: - wget http://getcomposer.org/composer.phar - php composer.phar install php: - 5.4 - 5.3
language: php before_script: - wget http://getcomposer.org/composer.phar - php composer.phar install php: - 5.4 - 5.3 - hhvm
Upgrade pip on Travis builds
sudo: false language: python env: RUNNER=travis python: - "3.4" before_install: - '[ -d .downloads ] || mkdir .downloads' - (cd .downloads; [ -d prince-10r3-linux-generic-x86_64 ] || curl -s http://www.princexml.com/download/prince-10r3-linux-generic-x86_64.tar.gz | tar xzf -) - echo $PWD | ./.downloads/prince-10r3-linux-generic-x86_64/install.sh - bundle install - npm install install: pip install -r requirements/local.txt --download-cache $HOME/.pip-cache --upgrade script: - ./build.sh cache: directories: - /home/travis/virtualenv - $HOME/.pip-cache/ - node_modules services: - redis-server
sudo: false language: python env: RUNNER=travis python: - "3.4" before_install: - '[ -d .downloads ] || mkdir .downloads' - (cd .downloads; [ -d prince-10r3-linux-generic-x86_64 ] || curl -s http://www.princexml.com/download/prince-10r3-linux-generic-x86_64.tar.gz | tar xzf -) - echo $PWD | ./.downloads/prince-10r3-linux-generic-x86_64/install.sh - bundle install - npm install - pip install --upgrade pip install: pip install -r requirements/local.txt --download-cache $HOME/.pip-cache --upgrade script: - ./build.sh cache: directories: - /home/travis/virtualenv - $HOME/.pip-cache/ - node_modules services: - redis-server
Use Java 11 to avoid bug
language: scala sudo: false scala: - 2.12.13 - 2.13.4 jdk: openjdk8 install: - . $HOME/.nvm/nvm.sh - nvm install 14 - nvm use 14 - export NODE_PATH="$(npm config get prefix)"/lib/node_modules - npm install - npm install jsdom source-map-support script: - sbt ++$TRAVIS_SCALA_VERSION test:compile JS/test:fastOptJS JS/test:fullOptJS - sbt ++$TRAVIS_SCALA_VERSION test - sbt ++$TRAVIS_SCALA_VERSION 'set scalaJSStage in ThisBuild := FullOptStage' JS/test - sbt ++$TRAVIS_SCALA_VERSION cmpJsSize jsSizes before_cache: - rm -f $HOME/.ivy2/.sbt.ivy.lock - find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete - find $HOME/.sbt -name "*.lock" -type f -delete cache: directories: - $HOME/.coursier - $HOME/.ivy2/cache - $HOME/.sbt
language: scala sudo: false scala: - 2.12.13 - 2.13.4 jdk: openjdk11 install: - . $HOME/.nvm/nvm.sh - nvm install 14 - nvm use 14 - export NODE_PATH="$(npm config get prefix)"/lib/node_modules - npm install - npm install jsdom source-map-support script: - sbt ++$TRAVIS_SCALA_VERSION test:compile JS/test:fastOptJS JS/test:fullOptJS - sbt ++$TRAVIS_SCALA_VERSION test - sbt ++$TRAVIS_SCALA_VERSION 'set scalaJSStage in ThisBuild := FullOptStage' JS/test - sbt ++$TRAVIS_SCALA_VERSION cmpJsSize jsSizes before_cache: - rm -f $HOME/.ivy2/.sbt.ivy.lock - find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete - find $HOME/.sbt -name "*.lock" -type f -delete cache: directories: - $HOME/.coursier - $HOME/.ivy2/cache - $HOME/.sbt