Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Check dependencies on a monthly basis
version: 2 updates: - package-ecosystem: pip directory: "/" schedule: interval: daily time: "00:00" timezone: Europe/Paris open-pull-requests-limit: 2 reviewers: - Morendil - fpagnoux - sandcha - maukoquiroga labels: - kind:improvement ignore: - dependency-name: flake8-bugbear versions: - ">= 20.1.1.a, < 20.1.2" - dependency-name: numpy versions: - ">= 1.18.a, < 1.19"
version: 2 updates: - package-ecosystem: pip directory: "/" schedule: interval: monthly labels: - kind:dependencies
Update with www and https API
--- - provider_name: Instagram provider_url: https://instagram.com endpoints: - schemes: - http://instagram.com/p/* - http://instagr.am/p/* - https://instagram.com/p/* - https://instagr.am/p/* url: http://api.instagram.com/oembed docs_url: http://instagram.com/developer/embedding/#oembed example_urls: - http://api.instagram.com/oembed?url=http%3A%2F%2Finstagram.com%2Fp%2FV8UMy0LjpX%2F formats: - json ...
--- - provider_name: Instagram provider_url: https://instagram.com endpoints: - schemes: - http://instagram.com/p/* - http://instagr.am/p/* - http://www.instagram.com/p/* - http://www.instagr.am/p/* - https://instagram.com/p/* - https://instagr.am/p/* - https://www.instagram.com/p/* - https://www.instagr.am/p/* url: https://api.instagram.com/oembed docs_url: https://www.instagram.com/developer/embedding/#oembed example_urls: - https://api.instagram.com/oembed?url=http%3A%2F%2Finstagram.com%2Fp%2FV8UMy0LjpX%2F formats: - json ...
Build on ubuntu and osx.
name: CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Setup OCaml uses: avsm/setup-ocaml@v1.0 - name: Install depext module run: opam install -y depext - name: Pin locally run: opam pin -y add --no-action . - name: Install locally run: opam depext -y -i gstreamer - name: Build locally run: eval $(opam env) && dune build - name: Run tests locally run: eval $(opam env) && dune runtest
name: CI on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-20.04, macos-latest] steps: - uses: actions/checkout@v1 - name: Setup OCaml uses: avsm/setup-ocaml@v1.0 - name: Install depext module run: opam install -y depext - name: Pin locally run: opam pin -y add --no-action . - name: Install locally run: opam depext -y -i gstreamer - name: Build locally run: eval $(opam env) && dune build - name: Run tests locally run: eval $(opam env) && dune runtest
Update from Hackage at 2017-04-29T00:45:46Z
homepage: http://ivorylang.org changelog-type: '' hash: 0fa37aeb8c009a31030e0fe7fbb278907c41909c0f06d74b9942adbf58fc446f test-bench-deps: {} maintainer: trevor@galois.com, leepike@galois.com synopsis: Safe embedded C programming. changelog: '' basic-deps: base: ! '>=4.7 && <5' text: -any filepath: -any dlist: ! '>=0.5' monadLib: ! '>=3.7' array: -any containers: ! '>=0.5' base-compat: -any th-lift: ! '>=0.5.5' pretty: ! '>=1.1' template-haskell: ! '>=2.8' all-versions: - '0.1.0.0' - '0.1.0.3' - '0.1.0.4' - '0.1.0.5' author: Galois, Inc. latest: '0.1.0.5' description-type: haddock description: Using GHC type-system extensions, enforces safe low-level programming, while maintaining expressiveness. license-name: BSD3
homepage: http://ivorylang.org changelog-type: '' hash: ee5cc42275279d67f2f7c8335b1f2fd399298a57f3e6a2bb5756d10a77c24980 test-bench-deps: {} maintainer: trevor@galois.com, leepike@galois.com synopsis: Safe embedded C programming. changelog: '' basic-deps: base: ! '>=4.7 && <5' text: -any filepath: -any dlist: ! '>=0.5' monadLib: ! '>=3.7' array: -any containers: ! '>=0.5' base-compat: -any th-lift: ! '>=0.5.5' pretty: ! '>=1.1' template-haskell: ! '>=2.8' all-versions: - '0.1.0.0' - '0.1.0.3' - '0.1.0.4' - '0.1.0.5' - '0.1.0.6' author: Galois, Inc. latest: '0.1.0.6' description-type: haddock description: Using GHC type-system extensions, enforces safe low-level programming, while maintaining expressiveness. license-name: BSD3
Test against fewer, more recent PHP versions
language: php php: - "5.3" - "5.4" - "5.5" - "hhvm" before_script: - curl -s https://getcomposer.org/installer | php && php composer.phar update --dev script: - mkdir -p build/logs - php vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml -c SilMock/tests/phpunit.xml SilMock/tests/ after_script: - php vendor/bin/coveralls -v
language: php php: - "5.6" - "7.0" - "7.1" before_script: - curl -s https://getcomposer.org/installer | php && php composer.phar update --dev script: - mkdir -p build/logs - php vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml -c SilMock/tests/phpunit.xml SilMock/tests/ after_script: - php vendor/bin/coveralls -v
Configure composer for PHP 5.3
language: php php: - 5.3.3 - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false before_script: - travis_retry composer self-update - if [ "$TRAVIS_PHP_VERSION" == "5.3.3" ]; then composer config disable-tls true; fi - travis_retry composer install --prefer-source --no-interaction script: composer test after_script: - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover reports/coverage.xml; fi notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
language: php php: - 5.3.3 - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false before_script: - travis_retry composer self-update - if [ "$TRAVIS_PHP_VERSION" == "5.3.3" ]; then composer config disable-tls true; composer config secure-http false; fi - travis_retry composer install --prefer-source --no-interaction script: composer test after_script: - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover reports/coverage.xml; fi notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
Add olasd as phabricator read-only user
smtp::virtual_aliases: - destination: "@%{hiera('phabricator::vhost::name')}" alias: "%{hiera('phabricator::user')}" smtp::mail_aliases: - user: "%{hiera('phabricator::user')}" aliases: - "| %{hiera('phabricator::basepath')}/phabricator/scripts/mail/mail_handler.php" ssh::port: 2222 networks: eth0: address: 128.93.193.30 netmask: 255.255.255.0 gateway: 128.93.193.254 eth1: type: private address: 192.168.100.30 netmask: 255.255.255.0 gateway: 192.168.100.1 apache::rewrite_domains: # Must have matching certificates in letsencrypt::certificates wg.softwareheritage.org: rewrites: - "^.*$ https://wiki.softwareheritage.org/index.php?title=Working_groups" git.softwareheritage.org: rewrites: - "^.*$ https://forge.softwareheritage.org/" backups::exclude: - /var/lib/mysql
smtp::virtual_aliases: - destination: "@%{hiera('phabricator::vhost::name')}" alias: "%{hiera('phabricator::user')}" smtp::mail_aliases: - user: "%{hiera('phabricator::user')}" aliases: - "| %{hiera('phabricator::basepath')}/phabricator/scripts/mail/mail_handler.php" ssh::port: 2222 networks: eth0: address: 128.93.193.30 netmask: 255.255.255.0 gateway: 128.93.193.254 eth1: type: private address: 192.168.100.30 netmask: 255.255.255.0 gateway: 192.168.100.1 apache::rewrite_domains: # Must have matching certificates in letsencrypt::certificates wg.softwareheritage.org: rewrites: - "^.*$ https://wiki.softwareheritage.org/index.php?title=Working_groups" git.softwareheritage.org: rewrites: - "^.*$ https://forge.softwareheritage.org/" backups::exclude: - /var/lib/mysql phabricator::mysql::readonly_usernames: - olasd
Add update_cache to apt_repository task
--- - name: Install apt HTTPS Transport | apt apt: state: latest name: apt-transport-https update_cache: yes - name: "Import Signing Key via HKP | {{ repository_key }}" apt_key: state: present keyserver: 'hkp://keyserver.ubuntu.com:80' id: "{{ repository_key }}" when: repository_key is defined tags: - repository - signing-key - using-apt - assumes-trust - improves-security - name: "Import Signing Key via public_key | {{ repository_key }}" apt_key: state: present data: "{{ repository_key_public_key }}" when: repository_key_public_key is defined tags: - repository - signing-key - using-apt - assumes-trust - improves-security - name: "Import Repository | {{ repository_url }}" apt_repository: state: present repo: "{{ repository_url | mandatory }}" notify: Update Package Cache - name: Trigger All Callbacks meta: flush_handlers
--- - name: Install apt HTTPS Transport | apt apt: state: latest name: apt-transport-https update_cache: yes - name: "Import Signing Key via HKP | {{ repository_key }}" apt_key: state: present keyserver: 'hkp://keyserver.ubuntu.com:80' id: "{{ repository_key }}" when: repository_key is defined tags: - repository - signing-key - using-apt - assumes-trust - improves-security - name: "Import Signing Key via public_key | {{ repository_key }}" apt_key: state: present data: "{{ repository_key_public_key }}" when: repository_key_public_key is defined tags: - repository - signing-key - using-apt - assumes-trust - improves-security - name: "Import Repository | {{ repository_url }}" apt_repository: state: present repo: "{{ repository_url | mandatory }}" update_cache: yes
Update snyk clojure action to v2
--- name: Snyk Clojure Merge on: push jobs: snyk_clojure: runs-on: ubuntu-latest steps: - name: checkout the current PR uses: actions/checkout@v2 with: fetch-depth: 1 persist-credentials: false - name: Run Clojure Snyk Scan id: scan # rather than point to a version tag, this points to # a specific branch uses: puppetlabs/security-snyk-clojure-action@v1 with: snykToken: ${{ secrets.SNYK_PE_TOKEN }} rproxyKey: ${{ secrets.SEC_PUBLIC_RPROXY_KEY }} rproxyUser: ${{ secrets.SEC_PUBLIC_RPROXY_USER }} snykOrg: 'puppet-enterprise' snykProject: 'ezbake' #snykPolicy: '.snyk' - name: Check output if: steps.scan.outputs.vulns != '' run: echo "Vulnerabilities detected; ${{ steps.scan.outputs.vulns }}" && exit 1
--- name: Snyk Clojure Merge on: push jobs: snyk_clojure: runs-on: ubuntu-latest steps: - name: Connect to Twingate uses: twingate/github-action@v1 with: service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} - name: checkout the current PR uses: actions/checkout@v2 with: fetch-depth: 1 persist-credentials: false - name: Run Clojure Snyk Scan id: scan # rather than point to a version tag, this points to # a specific branch uses: puppetlabs/security-snyk-clojure-action@v2 with: snykToken: ${{ secrets.SNYK_PE_TOKEN }} snykOrg: 'puppet-enterprise' snykProject: 'ezbake' #snykPolicy: '.snyk' - name: Check output if: steps.scan.outputs.vulns != '' run: echo "Vulnerabilities detected; ${{ steps.scan.outputs.vulns }}" && exit 1
Update from Hackage at 2021-03-13T22:13:30Z
homepage: '' changelog-type: '' hash: 7984f031fba06cdc0054f9c7637e3f963855cf642c4e8319222ef5dd2cf2f549 test-bench-deps: {} maintainer: pepeiborra@gmail.com synopsis: Explicit imports plugin for Haskell Language Server changelog: '' basic-deps: shake: -any ghc: -any lsp: -any base: '>=4.12 && <5' unordered-containers: -any text: -any containers: -any ghcide: ^>=1.0.0.0 deepseq: -any hls-plugin-api: ^>=1.0.0.0 aeson: -any lsp-types: -any all-versions: - 0.1.0.0 - 0.1.0.1 - 0.1.0.2 - 1.0.0.0 author: Pepe Iborra latest: 1.0.0.0 description-type: haddock description: '' license-name: Apache-2.0
homepage: '' changelog-type: '' hash: 2269a025346eb1b09f90f90b752d68294a6980de5022c2ba018fc0f0274f903d test-bench-deps: {} maintainer: pepeiborra@gmail.com synopsis: Explicit imports plugin for Haskell Language Server changelog: '' basic-deps: shake: -any ghc: -any lsp: -any base: '>=4.12 && <5' unordered-containers: -any text: -any containers: -any ghcide: '>=1.0 && <1.2' deepseq: -any hls-plugin-api: ^>=1.0.0.0 aeson: -any lsp-types: -any all-versions: - 0.1.0.0 - 0.1.0.1 - 0.1.0.2 - 1.0.0.0 author: Pepe Iborra latest: 1.0.0.0 description-type: haddock description: '' license-name: Apache-2.0
Add bgp support to ubuntu_router
--- - name: Configure ldn router hosts: rpi1.ldn.fap.no roles: - role: roles/caddy-server - role: roles/ubuntu_router - role: roles/ubuntu_router_ap - role: roles/rpi_netboot_master
--- - name: Configure ldn router hosts: rpi1.ldn.fap.no roles: - role: roles/caddy-server - role: roles/ubuntu_router - role: roles/ubuntu_router_ap - role: roles/ubuntu_router_bgp - role: roles/ubuntu_router_bgp_kube_neighbours - role: roles/rpi_netboot_master
Fix the copy paste SNAFU
name: Continuous Integration on: pull_request: branches: [master] jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v2 - name: Setup .NET 6.0 uses: actions/setup-dotnet@v1 with: dotnet-version: 6.0.* include-prerelease: true env: DOTNET_NOLOGO: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 - name: Setup .NET Core 3.1 uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.* env: DOTNET_NOLOGO: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 - name: Setup .NET Core 2.1 uses: actions/setup-dotnet@v1 with: dotnet-version: 2.1.* env: DOTNET_NOLOGO: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 - name: Restore run: dotnet restore - name: Build run: dotnet build --no-restore - name: Test run: dotnet test --no-build -v n /p:CollectCoverage=true /p:CoverletOutput='../../' /p:CoverletOutputFormat=opencover /p:Threshold=94 /p:SkipAutoProps=true /p:UseSourceLink=true
name: Continuous Integration on: pull_request: branches: [master] jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v2 - name: Setup .NET 6.0 uses: actions/setup-dotnet@v1 with: dotnet-version: 6.0.* include-prerelease: true env: DOTNET_NOLOGO: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 - name: Setup .NET 5.0 uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.* env: DOTNET_NOLOGO: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 - name: Setup .NET Core 3.1 uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.* env: DOTNET_NOLOGO: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 - name: Restore run: dotnet restore - name: Build run: dotnet build --no-restore - name: Test run: dotnet test --no-build -v n /p:CollectCoverage=true /p:CoverletOutput='../../' /p:CoverletOutputFormat=opencover /p:Threshold=94 /p:SkipAutoProps=true /p:UseSourceLink=true
Test deployment to PyPi using Github Actions
name: Deploy to PyPi on: push: branches: - master jobs: release: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') name: PyPi Release runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 name: Checkout repo - name: Set up Python 3.8 uses: actions/setup-python@v1 with: python-version: 3.8 - uses: actions/cache@v1 name: Cache pip dependencies with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }} restore-keys: | ${{ runner.os }}-pip- - name: Install pip dependencies run: | pip install --upgrade pip pip install -r requirements.txt pip install -r requirements-dev.txt pip install -r requirements-test.txt - name: Install run: make install - name: Make distribution run: | check-manifest python setup.py sdist bdist_wheel twine check dist/* # https://github.com/pypa/gh-action-pypi-publish - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@master with: user: __token__ password: ${{ secrets.PYPI_TOKEN }}
name: Deploy to PyPi # Trigger deployment to test on: #release: # types: [created] push: branches: [master] jobs: release: # if: github.event_name == 'release' && github.event.action == 'created' name: PyPi Release runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 name: Checkout repo - name: Set up Python 3.8 uses: actions/setup-python@v1 with: python-version: 3.8 - uses: actions/cache@v1 name: Cache pip dependencies with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }} restore-keys: | ${{ runner.os }}-pip- - name: Install pip dependencies run: | pip install --upgrade pip pip install -r requirements.txt pip install -r requirements-dev.txt pip install -r requirements-test.txt - name: Install run: make install - name: Make distribution run: | check-manifest python setup.py sdist bdist_wheel twine check dist/* # https://github.com/pypa/gh-action-pypi-publish - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@master with: user: __token__ password: ${{ secrets.PYPI_TOKEN }}
Allow JRuby to fail, as it isn't supported yet
name: Testing on: push: pull_request: jobs: test: name: Test with Ruby-${{ matrix.ruby }} runs-on: ubuntu-latest timeout-minutes: 15 strategy: fail-fast: false matrix: # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' ruby: [2.6, 2.7, '3.0', 3.1, 'jruby-9.3', truffleruby] steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run tests run: bundle exec rake
name: Testing on: push: pull_request: # GitHub Actions notes # - outcome in step name so we can see it without having to expand logs # - every step must define a `uses` or `run` key jobs: test: name: Test with Ruby-${{ matrix.ruby }} runs-on: ubuntu-latest timeout-minutes: 15 strategy: fail-fast: false matrix: # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' ruby: [2.6, 2.7, '3.0', 3.1, 'jruby-9.3', truffleruby] include: - { ruby: jruby-9.3, allow-failure: true } steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 continue-on-error: ${{ matrix.allow-failure || false }} id: bundle with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: "setup-ruby and bundle install outcome: ${{ steps.bundle.outcome }}" run: echo "" - name: Run tests continue-on-error: ${{ matrix.allow-failure || false }} id: test run: bundle exec rake - name: "bundle exec rake outcome: ${{ steps.test.outcome }}" run: echo ""
Add missed dep in xpdacq recipe.
{% set version = "0.5.1" %} package: name: xpdacq version: {{ version }} source: url: https://github.com/xpdacq/xpdacq/archive/v{{ version }}.tar.gz fn: xpdacq-v{{ version }}.tar.gz build: number: 0 script: python setup.py install --single-version-externally-managed --record=record.txt requirements: build: - python - setuptools run: - python - numpy - matplotlib test: imports: - xpdacq
{% set version = "0.5.1" %} package: name: xpdacq version: {{ version }} source: url: https://github.com/xpdacq/xpdacq/archive/v{{ version }}.tar.gz fn: xpdacq-v{{ version }}.tar.gz build: number: 0 script: python setup.py install --single-version-externally-managed --record=record.txt requirements: build: - python - setuptools run: - python - numpy - matplotlib - pyfai test: imports: - xpdacq
Fix broken About page link
# Site navigation links - title: Work url: /work/ - title: Blog url: /articles/ - title: About
# Site navigation links - title: Work url: /work/ - title: Blog url: /articles/ - title: About url: /about/
Update StartFlagExploit to 1.0 (3)
Categories: - Security License: GPL-2.0-only AuthorName: ChickenHook SourceCode: https://github.com/ChickenHook/StartFlagExploit IssueTracker: https://github.com/ChickenHook/StartFlagExploit/issues Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8UH5MBVYM3J36 Bitcoin: bc1qvll2mp5ndwd4sgycu4ad2ken4clhjac7mdlcaj AutoName: StartFlagExploit RepoType: git Repo: https://github.com/ChickenHook/StartFlagExploit.git Builds: - versionName: '1.0' versionCode: 2 commit: c2 subdir: app gradle: - yes AutoUpdateMode: Version c%c UpdateCheckMode: Tags CurrentVersion: '1.0' CurrentVersionCode: 2
Categories: - Security License: GPL-2.0-only AuthorName: ChickenHook SourceCode: https://github.com/ChickenHook/StartFlagExploit IssueTracker: https://github.com/ChickenHook/StartFlagExploit/issues Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8UH5MBVYM3J36 Bitcoin: bc1qvll2mp5ndwd4sgycu4ad2ken4clhjac7mdlcaj AutoName: StartFlagExploit RepoType: git Repo: https://github.com/ChickenHook/StartFlagExploit.git Builds: - versionName: '1.0' versionCode: 2 commit: c2 subdir: app gradle: - yes - versionName: '1.0' versionCode: 3 commit: c3 subdir: app gradle: - yes AutoUpdateMode: Version c%c UpdateCheckMode: Tags CurrentVersion: '1.0' CurrentVersionCode: 3
Add env variables to build script
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. steps: # Deploy code to Google App Engine - name: 'gcr.io/google.com/cloudsdktool/cloud-sdk' entrypoint: 'bash' dir: './src' args: - '-c' - | gcloud config set app/cloud_build_timeout 1200 gcloud app deploy ./app.yaml # Schedule all tasks via Google Cloud Scheduler - name: python entrypoint: 'bash' dir: './src' args: - '-c' - | pip install -r requirements.txt python3 ./scripts/setup_scheduler.py # Define global timeout since the deployment takes >10m timeout: 1800s
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. steps: # Deploy code to Google App Engine - name: 'gcr.io/google.com/cloudsdktool/cloud-sdk' entrypoint: 'bash' dir: './src' args: - '-c' - | gcloud config set app/cloud_build_timeout 1200 gcloud app deploy ./app.yaml # Schedule all tasks via Google Cloud Scheduler - name: python entrypoint: 'bash' dir: './src' args: - '-c' - | pip install -r requirements.txt python3 ./scripts/setup_scheduler.py env: - 'GCP_PROJECT=github-open-covid-19' - 'GCP_LOCATION=us-east1' - 'GCP_TIMEZONE=EST' # Define global timeout since the deployment takes >10m timeout: 1800s
Add firstName and surname user fixture
Model_User: Guest: username: guest password: 084e0343a0486ff05530df6c705c8bb4 Member: username: member password: aa08769cdcb26674c6706093503ff0a3 Admin: username: admin password: 21232f297a57a5a743894a0e4a801fc3 Owner: username: owner password: 72122ce96bfec66e2396d2e25225d70a
Model_User: Guest: username: guest password: 084e0343a0486ff05530df6c705c8bb4 firstName: Guest surname: User Member: username: member password: aa08769cdcb26674c6706093503ff0a3 firstName: Member surname: User Admin: username: admin password: 21232f297a57a5a743894a0e4a801fc3 firstName: Admin surname: User Owner: username: owner password: 72122ce96bfec66e2396d2e25225d70a firstName: Owner surname: User
Remove comment about memcached being optional
--- # You can optionally deploy memcache, for the Flux daemon to cache # container image metadata. apiVersion: apps/v1 kind: Deployment metadata: name: memcached spec: replicas: 1 selector: matchLabels: name: memcached template: metadata: labels: name: memcached spec: containers: - name: memcached image: memcached:1.4.25 imagePullPolicy: IfNotPresent args: - -m 64 # Maximum memory to use, in megabytes. 64MB is default. - -p 11211 # Default port, but being explicit is nice. # - -vv # Uncomment to get logs of each request and response. ports: - name: clients containerPort: 11211
--- # memcached deployment used by Flux to cache # container image metadata. apiVersion: apps/v1 kind: Deployment metadata: name: memcached spec: replicas: 1 selector: matchLabels: name: memcached template: metadata: labels: name: memcached spec: containers: - name: memcached image: memcached:1.4.25 imagePullPolicy: IfNotPresent args: - -m 64 # Maximum memory to use, in megabytes. 64MB is default. - -p 11211 # Default port, but being explicit is nice. # - -vv # Uncomment to get logs of each request and response. ports: - name: clients containerPort: 11211
Use Ruby 3.0.0 in CI
name: Spec jobs: specs: strategy: fail-fast: false matrix: os: [macos-10.15] ruby: [2.3, 2.5, 2.6, 2.7, 3.0] name: ${{ matrix.os }} / Ruby ${{ matrix.ruby }} runs-on: ${{ matrix.os }} steps: - name: Checkout git uses: actions/checkout@v1 - name: Install dependencies run: | brew install bzr brew install hg brew install svn - name: Set up Ruby uses: ruby/setup-ruby@v1 if: ${{ matrix.ruby != 'system' }} with: ruby-version: ${{ matrix.ruby }} - name: Run bundle install run: | bundle config path vendor/bundle bundle install --jobs 4 --retry 3 --without debugging documentation - name: Run Specs + Rubocop run: bundle exec rake spec on: push: branches: - "master" - "*-stable" pull_request: branches: - master - "*-stable"
name: Spec jobs: specs: strategy: fail-fast: false matrix: os: [macos-10.15] ruby: [2.3, 2.5, 2.6, 2.7, 3.0.0] name: ${{ matrix.os }} / Ruby ${{ matrix.ruby }} runs-on: ${{ matrix.os }} steps: - name: Checkout git uses: actions/checkout@v1 - name: Install dependencies run: | brew install bzr brew install hg brew install svn - name: Set up Ruby uses: ruby/setup-ruby@v1 if: ${{ matrix.ruby != 'system' }} with: ruby-version: ${{ matrix.ruby }} - name: Run bundle install run: | bundle config path vendor/bundle bundle install --jobs 4 --retry 3 --without debugging documentation - name: Run Specs + Rubocop run: bundle exec rake spec on: push: branches: - "master" - "*-stable" pull_request: branches: - master - "*-stable"
Build GUI on github actions
name: .NET Core CI on: [push, pull_request] jobs: build: name: .NET on ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 - name: Setup .NET Core uses: actions/setup-dotnet@v1 - name: Build CLI run: dotnet build -c Release ./Decompiler/Decompiler.csproj - name: Build Library run: dotnet build -c Release ./ValveResourceFormat/ValveResourceFormat.csproj - name: Run tests run: dotnet test -v normal ./Tests/Tests.csproj
name: .NET Core CI on: [push, pull_request] jobs: build: name: .NET on ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 - name: Setup .NET Core uses: actions/setup-dotnet@v1 - name: Build CLI run: dotnet build -c Release ./Decompiler/Decompiler.csproj - name: Build Library run: dotnet build -c Release ./ValveResourceFormat/ValveResourceFormat.csproj - name: Build GUI if: matrix.os == 'windows-latest' run: dotnet build -c Release ./ValveResourceFormat/ValveResourceFormat.csproj - name: Run tests run: dotnet test -v normal ./Tests/Tests.csproj
Update Chord Reader 2 to 2.1.0 (2)
Categories: - Multimedia - Science & Education License: GPL-3.0-only AuthorName: AndInTheClouds SourceCode: https://github.com/AndInTheClouds/chordreader2 IssueTracker: https://github.com/AndInTheClouds/chordreader2/issues AutoName: Chord Reader 2 RepoType: git Repo: https://github.com/AndInTheClouds/chordreader2 Builds: - versionName: 2.0.4 versionCode: 1 commit: v2.0.4 subdir: app sudo: - apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: 2.0.4 CurrentVersionCode: 1
Categories: - Multimedia - Science & Education License: GPL-3.0-only AuthorName: AndInTheClouds SourceCode: https://github.com/AndInTheClouds/chordreader2 IssueTracker: https://github.com/AndInTheClouds/chordreader2/issues AutoName: Chord Reader 2 RepoType: git Repo: https://github.com/AndInTheClouds/chordreader2 Builds: - versionName: 2.0.4 versionCode: 1 commit: v2.0.4 subdir: app sudo: - apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes - versionName: 2.1.0 versionCode: 2 commit: fed7ea2b6844e921367a2578c60f5b6fb3f7568f subdir: app gradle: - yes AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: 2.1.0 CurrentVersionCode: 2
Add pip+maturin to host deps
{% set name = "aedat" %} {% set version = "1.2.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/aedat-{{ version }}.tar.gz sha256: 6b0e2433a926e6fef24dd1a82e3358a911dd2bd58959e630a3ef3f50f7c7d08f build: number: 0 skip: True # [osx] requirements: build: - {{ compiler('rust') }} - {{ compiler('c') }} - maturin - pip host: - python run: - python - numpy test: imports: - aedat about: home: https://github.com/neuromorphicsystems/aedat/ summary: A fast AEDAT4 decoder with an underlying Rust implementation license: MIT license_file: LICENSE extra: recipe-maintainers: - Tobias-Fischer
{% set name = "aedat" %} {% set version = "1.2.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/aedat-{{ version }}.tar.gz sha256: 6b0e2433a926e6fef24dd1a82e3358a911dd2bd58959e630a3ef3f50f7c7d08f build: number: 0 skip: True # [osx] requirements: build: - {{ compiler('rust') }} - {{ compiler('c') }} - maturin - pip host: - python - pip - maturin run: - python - numpy test: imports: - aedat about: home: https://github.com/neuromorphicsystems/aedat/ summary: A fast AEDAT4 decoder with an underlying Rust implementation license: MIT license_file: LICENSE extra: recipe-maintainers: - Tobias-Fischer
Add goodwanghan as a maintainer
{% set name = "triad" %} {% set version = "0.5.4" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 8c3ed820eac2d08372e1535efced0b08609f00a2548cbbb8213f2b0abc375d1b build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python >=3.6 - pip run: - python >=3.6 - pandas - six - ciso8601 - pyarrow - fs test: imports: - triad requires: - pip commands: - pip check about: home: https://github.com/fugue-project/triad license: Apache-2.0 license_file: LICENSE summary: 'A collection of python utility functions for Fugue projects' doc_url: https://triad.readthedocs.org dev_url: https://github.com/fugue-project/triad extra: recipe-maintainers: - kvnkho
{% set name = "triad" %} {% set version = "0.5.4" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 8c3ed820eac2d08372e1535efced0b08609f00a2548cbbb8213f2b0abc375d1b build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python >=3.6 - pip run: - python >=3.6 - pandas - six - ciso8601 - pyarrow - fs test: imports: - triad requires: - pip commands: - pip check about: home: https://github.com/fugue-project/triad license: Apache-2.0 license_file: LICENSE summary: 'A collection of python utility functions for Fugue projects' doc_url: https://triad.readthedocs.org dev_url: https://github.com/fugue-project/triad extra: recipe-maintainers: - kvnkho - goodwanghan - rdmolony
Use templates for cover and lower-constraints
- project: templates: - check-requirements - openstack-python-jobs-horizon - openstack-python35-jobs-horizon - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - manila-ui-dsvm: voting: false - openstack-tox-lower-constraints: required-projects: - openstack/horizon - horizon-openstack-tox-python3-django111 - horizon-openstack-tox-py27dj19 - horizon-openstack-tox-py27dj110 - openstack-tox-cover: voting: false gate: jobs: - openstack-tox-lower-constraints: required-projects: - openstack/horizon - horizon-openstack-tox-python3-django111 - horizon-openstack-tox-py27dj19 - horizon-openstack-tox-py27dj110 - job: name: manila-ui-dsvm parent: legacy-dsvm-base run: playbooks/legacy/manila-ui-dsvm/run.yaml post-run: playbooks/legacy/manila-ui-dsvm/post.yaml timeout: 6000 required-projects: - openstack-infra/devstack-gate - openstack/manila - openstack/manila-ui - openstack/python-manilaclient - openstack/manila-tempest-plugin
- project: templates: - check-requirements - openstack-cover-jobs-horizon - openstack-lower-constraints-jobs-horizon - openstack-python-jobs-horizon - openstack-python35-jobs-horizon - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - manila-ui-dsvm: voting: false - horizon-openstack-tox-python3-django111 - horizon-openstack-tox-py27dj19 - horizon-openstack-tox-py27dj110 gate: jobs: - horizon-openstack-tox-python3-django111 - horizon-openstack-tox-py27dj19 - horizon-openstack-tox-py27dj110 - job: name: manila-ui-dsvm parent: legacy-dsvm-base run: playbooks/legacy/manila-ui-dsvm/run.yaml post-run: playbooks/legacy/manila-ui-dsvm/post.yaml timeout: 6000 required-projects: - openstack-infra/devstack-gate - openstack/manila - openstack/manila-ui - openstack/python-manilaclient - openstack/manila-tempest-plugin
Add placeholder for changing default desktop image.
--- - name: Custom Gnome Terminal "copy" keybinding to ctrl-c shell: 'gconftool-2 /apps/gnome-terminal/keybindings/copy -s -t string "<Primary>c"' - name: Custom Gnome Terminal "paste" keybinding to ctrl-v shell: 'gconftool-2 /apps/gnome-terminal/keybindings/paste -s -t string "<Primary>v"'
--- - name: Custom Gnome Terminal "copy" keybinding to ctrl-c shell: 'gconftool-2 /apps/gnome-terminal/keybindings/copy -s -t string "<Primary>c"' - name: Custom Gnome Terminal "paste" keybinding to ctrl-v shell: 'gconftool-2 /apps/gnome-terminal/keybindings/paste -s -t string "<Primary>v"' #- name: Set desktop background image # shell: gsettings set org.gnome.desktop.background picture-uri 'file:///usr/share/backgrounds/linuxmint-qiana/papalars_9771422564.jpg'
Update from Hackage at 2017-11-14T08:37:01Z
homepage: '' changelog-type: '' hash: 099b796da452ba3eb5d4cd83e72a8a73c0f9022a33f2a94b4c573229175d787c test-bench-deps: base: ! '>=4 && <5' hspec: -any async: -any concurrent-dns-cache: -any dns: -any maintainer: Kazu Yamamoto <kazu@iij.ad.jp> synopsis: Concurrent DNS cache changelog: '' basic-deps: bytestring: ! '>=0.10.4.0' stm: -any base: ==4.* time: -any monad-control: -any network: -any async: -any lifted-base: -any array: -any containers: -any iproute: -any transformers: -any dns: -any psqueues: ! '>=0.2.3' all-versions: - '0.0.0' - '0.0.1' - '0.1.0' author: Kazu Yamamoto <kazu@iij.ad.jp> latest: '0.1.0' description-type: haddock description: Concurrent DNS cache license-name: BSD3
homepage: '' changelog-type: '' hash: 398547d882936ddf5ddb220edd370b3f4fd5cfd9bec68de15f60bf30a6a197c6 test-bench-deps: base: ! '>=4 && <5' hspec: -any async: -any concurrent-dns-cache: -any dns: <3 maintainer: Kazu Yamamoto <kazu@iij.ad.jp> synopsis: Concurrent DNS cache changelog: '' basic-deps: bytestring: ! '>=0.10.4.0' stm: -any base: ==4.* time: -any monad-control: -any network: -any async: -any lifted-base: -any array: -any containers: -any iproute: -any transformers: -any concurrent-dns-cache: -any dns: <3 psqueues: ! '>=0.2.3' all-versions: - '0.0.0' - '0.0.1' - '0.1.0' - '0.1.1' author: Kazu Yamamoto <kazu@iij.ad.jp> latest: '0.1.1' description-type: haddock description: Concurrent DNS cache license-name: BSD3
Add Ruby 2.0 to list of rubies
language: ruby rvm: - 1.8.7 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode
language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode
Patch setup.py for external spglib
language: python sudo: false dist: trusty python: - '2.7' - '3.6' before_install: - wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - source $HOME/miniconda/etc/profile.d/conda.sh - echo $TRAVIS_PYTHON_VERSION - conda activate - conda create --yes -c conda-forge -n travis python="$TRAVIS_PYTHON_VERSION" - conda activate travis install: - conda install --yes -c conda-forge gcc_linux-64 gxx_linux-64 cmake boost eigen numpy - conda install --yes -c conda-forge openblas h5py spglib - cd $HOME - pwd - mkdir ALM - cd ALM - cd $TRAVIS_BUILD_DIR - pwd - export CPLUS_INCLUDE_PATH=$CONDA_PREFIX/include:$CONDA_PREFIX/include/eigen3 - echo $CPLUS_INCLUDE_PATH - echo $CC $CXX - export CC=$CXX - echo $CC - cd python - python setup.py build - pip install -e . script: - pwd - cd $TRAVIS_BUILD_DIR/test - python Si_fitting.py - python SiC_fitting.py
language: python sudo: false dist: trusty python: - '2.7' - '3.6' before_install: - wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - source $HOME/miniconda/etc/profile.d/conda.sh - echo $TRAVIS_PYTHON_VERSION - conda activate - conda create --yes -c conda-forge -n travis python="$TRAVIS_PYTHON_VERSION" - conda activate travis install: - conda install --yes -c conda-forge gcc_linux-64 gxx_linux-64 cmake boost eigen numpy - conda install --yes -c conda-forge openblas h5py spglib - cd $HOME - pwd - mkdir ALM - cd ALM - cd $TRAVIS_BUILD_DIR - pwd - export CPLUS_INCLUDE_PATH=$CONDA_PREFIX/include:$CONDA_PREFIX/include/eigen3 - echo $CPLUS_INCLUDE_PATH - echo $CC $CXX - export CC=$CXX - echo $CC - patch < conda/use_external_spglib.patch - cd python - python setup.py build - pip install -e . script: - pwd - cd $TRAVIS_BUILD_DIR/test - python Si_fitting.py - python SiC_fitting.py
Update from Hackage at 2022-05-08T21:15:23Z
homepage: https://github.com/AshleyYakeley/witness changelog-type: '' hash: b114c2646fecceab5ebb3c3e2e6ccb2f7cdca7a27fedac6146d8055a0ee9be60 test-bench-deps: {} maintainer: <ashley@semantic.org> synopsis: values that witness types changelog: '' basic-deps: semigroupoids: -any base: '>=4.14 && <5' constraints: -any transformers: -any countable: -any all-versions: - '0.1' - '0.2' - '0.3' - 0.3.0.1 - '0.4' - '0.5' author: Ashley Yakeley latest: '0.5' description-type: haddock description: A witness is a value that /witnesses/ some sort of constraint on some list of type variables. This library provides support for simple witnesses, that constrain a type variable to a single type, and equality witnesses, that constrain two type variables to be the same type. It also provides classes for representatives, which are values that represent types. See the paper /Witnesses and Open Witnesses/ (<http://semantic.org/stuff/Open-Witnesses.pdf>). license-name: BSD-3-Clause
homepage: https://github.com/AshleyYakeley/witness changelog-type: markdown hash: 62d4c841d71fc4856a3221a945f9053b6bfaf8d1e6414dc834afb657222ff050 test-bench-deps: {} maintainer: <ashley@semantic.org> synopsis: values that witness types changelog: | ## [0.6] - 2022-05-08 - reorganise modules - rename types and functions - additional functionality ## [0.5] - 2020-09-22 basic-deps: base: '>=4.15 && <5' constraints: '>=0.13' countable: '>=1.2' all-versions: - '0.1' - '0.2' - '0.3' - 0.3.0.1 - '0.4' - '0.5' - '0.6' author: Ashley Yakeley latest: '0.6' description-type: haddock description: A /witness/ is a value that witnesses some sort of constraint on some list of type variables. This library provides support for a wide variety of witness types. It also provides classes for /representatives/, which are values that represent types. license-name: BSD-2-Clause
Update the org.realityforge.akasha dependency coordinates.
repositories: remote: - https://stocksoftware.jfrog.io/stocksoftware/maven2 - https://repo.maven.apache.org/maven2 - https://stocksoftware.jfrog.io/stocksoftware/staging artifacts: idea_codestyle: au.com.stocksoftware.idea.codestyle:idea-codestyle:xml:1.17 braincheck: org.realityforge.braincheck:braincheck-core:jar:1.31.0 jetbrains_annotations: org.realityforge.org.jetbrains.annotations:org.jetbrains.annotations:jar:1.7.0 grim_annotations: org.realityforge.grim:grim-annotations:jar:0.05 javax_annotation: org.realityforge.javax.annotation:javax.annotation:jar:1.0.1 # GWT deps gwt_user: com.google.gwt:gwt-user:jar:2.9.0 gwt_dev: com.google.gwt:gwt-dev:jar:2.9.0 jsinterop_annotations: com.google.jsinterop:jsinterop-annotations:jar:2.0.0 jsinterop_base: com.google.jsinterop:base:jar:1.0.0 akasha: org.realityforge.akasha:akasha-java:jar:0.10 arez_core: org.realityforge.arez:arez-core:jar:0.197 arez_processor: org.realityforge.arez:arez-processor:jar:0.197
repositories: remote: - https://stocksoftware.jfrog.io/stocksoftware/maven2 - https://repo.maven.apache.org/maven2 - https://stocksoftware.jfrog.io/stocksoftware/staging artifacts: idea_codestyle: au.com.stocksoftware.idea.codestyle:idea-codestyle:xml:1.17 braincheck: org.realityforge.braincheck:braincheck-core:jar:1.31.0 jetbrains_annotations: org.realityforge.org.jetbrains.annotations:org.jetbrains.annotations:jar:1.7.0 grim_annotations: org.realityforge.grim:grim-annotations:jar:0.05 javax_annotation: org.realityforge.javax.annotation:javax.annotation:jar:1.0.1 # GWT deps gwt_user: com.google.gwt:gwt-user:jar:2.9.0 gwt_dev: com.google.gwt:gwt-dev:jar:2.9.0 jsinterop_annotations: com.google.jsinterop:jsinterop-annotations:jar:2.0.0 jsinterop_base: com.google.jsinterop:base:jar:1.0.0 akasha: org.realityforge.akasha:akasha-gwt:jar:0.11 arez_core: org.realityforge.arez:arez-core:jar:0.197 arez_processor: org.realityforge.arez:arez-processor:jar:0.197
Fix running Sauce on demand on CircleCI
machine: node: version: 5.7.1 test: pre: - echo ${FOO} deployment: beta-dev-heroku: branch: master heroku: - git push git@heroku.com:citizenship-appointment-beta.git $CIRCLE_SHA1:master - BROWSER=chrome SAUCE_ON_DEMAND=true npm run cross-browser-test
machine: node: version: 5.7.1 test: pre: - echo ${FOO} deployment: beta-dev-heroku: branch: master commands: - git push git@heroku.com:citizenship-appointment-beta.git $CIRCLE_SHA1:master - BROWSER=chrome SAUCE_ON_DEMAND=true npm run cross-browser-test
Fix centos 8 openstack repo by using the 8-stream one
--- openstack_version: ussuri openstack_repo: "http://mirror.centos.org/centos/{{ ansible_distribution_major_version }}/cloud/x86_64/openstack-{{ openstack_version }}/" heat_cfntools_packages: - heat-cfntools - curl
--- openstack_version: ussuri openstack_repo: "http://mirror.centos.org/centos/{{ ansible_distribution_major_version }}-stream/cloud/x86_64/openstack-{{ openstack_version }}/" heat_cfntools_packages: - heat-cfntools - curl
Add suffix checker to CI
name: ci on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ${{ matrix.os }} name: Ruby ${{matrix.ruby}} | OS ${{matrix.os}} strategy: fail-fast: false matrix: ruby: [ 2.7, 2.6, jruby ] os: [ ubuntu-latest, macos-latest ] steps: - uses: actions/checkout@v2 - uses: actions/cache@v1 with: path: vendor/bundle key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}- - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: bundle install run: | bundle config path vendor/bundle bundle install --jobs 4 --retry 3 - name: Run tests run: bin/rspec - name: Run linter run: bin/rubocop
name: ci on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ${{ matrix.os }} name: Ruby ${{matrix.ruby}} | OS ${{matrix.os}} strategy: fail-fast: false matrix: ruby: [ 2.7, 2.6, jruby ] os: [ ubuntu-latest, macos-latest ] steps: - uses: actions/checkout@v2 - uses: actions/cache@v1 with: path: vendor/bundle key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}- - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: bundle install run: | bundle config path vendor/bundle bundle install --jobs 4 --retry 3 - name: Run tests run: bin/rspec - name: Run suffix checker run: spec/suffix_checker.rb - name: Run linter run: bin/rubocop
Bump actions/checkout from 2.3.4 to 2.3.5
name: ci on: push: pull_request: schedule: - cron: '0 2 * * *' jobs: test: runs-on: ubuntu-latest timeout-minutes: 40 strategy: fail-fast: false matrix: include: - java: 8 scala: 2_12 - java: 8 scala: 2_13 - java: 8 scala: 3 - java: 11 scala: 2 - java: 17 scala: 2 steps: - uses: actions/setup-java@v2 with: java-version: ${{matrix.java}} distribution: temurin - uses: actions/checkout@v2.3.4 - uses: coursier/cache-action@v6 - run: | export TZ=Australia/Canberra case ${{ matrix.scala }} in 2_12) ./sbt -v scalafmtSbtCheck SetScala212 scalafmtCheckAll test ;; 2_13) ./sbt -v scalafmtSbtCheck SetScala213 scalafmtCheckAll test ;; 2) ./sbt -v scalafmtSbtCheck scalafmtCheckAll test ;; 3) ./sbt -v scalafmtSbtCheck SetScala3 scalafmtCheckAll test ;; *) echo "unknown scala version" exit 1 esac
name: ci on: push: pull_request: schedule: - cron: '0 2 * * *' jobs: test: runs-on: ubuntu-latest timeout-minutes: 40 strategy: fail-fast: false matrix: include: - java: 8 scala: 2_12 - java: 8 scala: 2_13 - java: 8 scala: 3 - java: 11 scala: 2 - java: 17 scala: 2 steps: - uses: actions/setup-java@v2 with: java-version: ${{matrix.java}} distribution: temurin - uses: actions/checkout@v2.3.5 - uses: coursier/cache-action@v6 - run: | export TZ=Australia/Canberra case ${{ matrix.scala }} in 2_12) ./sbt -v scalafmtSbtCheck SetScala212 scalafmtCheckAll test ;; 2_13) ./sbt -v scalafmtSbtCheck SetScala213 scalafmtCheckAll test ;; 2) ./sbt -v scalafmtSbtCheck scalafmtCheckAll test ;; 3) ./sbt -v scalafmtSbtCheck SetScala3 scalafmtCheckAll test ;; *) echo "unknown scala version" exit 1 esac
Add new line to udev rules file
--- - name: Copy udev rules for correct yubikey device mode copy: content: SUBSYSTEM=="usb", ACTION=="add|change", ATTR{idVendor}=="1050", ATTR{idProduct}=="0010", MODE="0666" dest: /etc/udev/rules.d/70-yubikey_fix_mode.rules notify: - Reload udev rules
--- - name: Copy udev rules for correct yubikey device mode copy: content: | SUBSYSTEM=="usb", ACTION=="add|change", ATTR{idVendor}=="1050", ATTR{idProduct}=="0010", MODE="0666" dest: /etc/udev/rules.d/70-yubikey_fix_mode.rules notify: - Reload udev rules
Revert "Replace pure linux with vagga box"
image: 'tailhook/vagga:v0.7.0' before_script: - vagga _build test test: script: - vagga lint
image: 'python:3.6.1' before_script: # installing pre-commit - 'apk update && apk upgrade && apk add --no-cache git' - pip install -c requirements/constraints.txt -r requirements/linters.txt -r requirements/common.txt - HOME=$CI_PROJECT_DIR pre-commit install-hooks test: script: # basically just run pre-commit linters - HOME=$CI_PROJECT_DIR pre-commit run --all-files
Remove JSCS linter for Atom
--- brew_taps: [] npm_packages: - dockerlint - eslint - yaml-js - csslint brew_packages: - node cask_packages: - atom - font-inconsolata - font-source-code-pro atom_packages: - atom-terminal - project-manager - atomatigit - trailing-spaces - auto-detect-indentation - highlight-selected - highlight-bad-chars - less-than-slash - quick-editor - editorconfig - emmet - pigments - file-icons - tabularize - language-docker - language-twig - language-diff - language-nginx - behat-atom - react - docblockr - autocomplete-php - atom-autocomplete-php - atom-symfony2 - php-getters-setters - linter - linter-php - linter-phpcs - linter-phpmd - linter-js-yaml - linter-htmlhint - linter-csslint - linter-eslint - linter-jscs - linter-docker
--- brew_taps: [] npm_packages: - dockerlint - eslint - yaml-js - csslint brew_packages: - node cask_packages: - atom - font-inconsolata - font-source-code-pro atom_packages: - atom-terminal - project-manager - atomatigit - trailing-spaces - auto-detect-indentation - highlight-selected - highlight-bad-chars - less-than-slash - quick-editor - editorconfig - emmet - pigments - file-icons - tabularize - language-docker - language-twig - language-diff - language-nginx - behat-atom - react - docblockr - autocomplete-php - atom-autocomplete-php - atom-symfony2 - php-getters-setters - linter - linter-php - linter-phpcs - linter-phpmd - linter-js-yaml - linter-htmlhint - linter-csslint - linter-eslint - linter-docker
Add filter for code intelligence
build: environment: php: version: '7.1' project_setup: before: - mysql -e "CREATE DATABASE IF NOT EXISTS test_db" tests: override: - command: 'vendor/bin/phpunit --coverage-clover=coverage' coverage: file: 'coverage' format: 'clover' before_commands: - "composer install --prefer-source" checks: php: code_rating: true duplication: true
build: environment: php: version: '7.1' project_setup: before: - mysql -e "CREATE DATABASE IF NOT EXISTS test_db" tests: override: - command: 'vendor/bin/phpunit --coverage-clover=coverage' coverage: file: 'coverage' format: 'clover' before_commands: - "composer install --prefer-source" checks: php: code_rating: true duplication: true filter: excluded_paths: - tests/*
Add tag for openvpn specific tasks.
--- - hosts: all sudo: yes roles: - common - consul - hosts: mesos-master tasks: [] tags: - always - hosts: mesos-slave tasks: [] tags: - always - hosts: storage tasks: [] tags: - always - hosts: openvpn sudo: yes roles: - openvpn-firewall - Stouts.openvpn vars: openvpn_use_pam: yes openvpn_clients: [partinfra-vpn] - hosts: storage sudo: yes roles: - storage vars: gluster_volumes: - marathon - hosts: mesos-master sudo: yes roles: - mesos-common - mesos-master vars: paas_apps_fqdn: 'paas.mozilla.community' tags: - mesos-master - hosts: mesos-slave sudo: yes roles: - mesos-common - mesos-slave vars: marathon_gluster_volume: 'marathon' marathon_gluster_mountpoint: '/srv/marathon' tags: - mesos-slave
--- - hosts: all sudo: yes roles: - common - consul - hosts: mesos-master tasks: [] tags: - always - hosts: mesos-slave tasks: [] tags: - always - hosts: storage tasks: [] tags: - always - hosts: openvpn sudo: yes roles: - openvpn-firewall - Stouts.openvpn vars: openvpn_use_pam: yes openvpn_clients: [partinfra-vpn] tags: - openvpn - hosts: storage sudo: yes roles: - storage vars: gluster_volumes: - marathon - hosts: mesos-master sudo: yes roles: - mesos-common - mesos-master vars: paas_apps_fqdn: 'paas.mozilla.community' tags: - mesos-master - hosts: mesos-slave sudo: yes roles: - mesos-common - mesos-slave vars: marathon_gluster_volume: 'marathon' marathon_gluster_mountpoint: '/srv/marathon' tags: - mesos-slave
Split Verification & Test in seperate stage in Travis
sudo: required services: - docker language: go matrix: include: - go: 1.8 install: - mkdir -p $HOME/gopath/src/k8s.io - mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/autoscaler - hack/install-verify-tools.sh - export PATH=$GOPATH/bin:$PATH - hack/for-go-proj.sh install script: - hack/verify-all.sh -v - hack/for-go-proj.sh test
sudo: required services: - docker language: go go: - 1.8 before_script: - mkdir -p $HOME/gopath/src/k8s.io - mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/autoscaler - hack/install-verify-tools.sh - export PATH=$GOPATH/bin:$PATH install: true jobs: include: - stage: Install script: hack/for-go-proj.sh install - stage: Verify script: hack/verify-all.sh -v - stage: Test script: hack/for-go-proj.sh test
Revert "Only submit coverage on nightly"
language: julia os: - linux - osx julia: - release - nightly notifications: email: false script: - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - julia -e 'Pkg.clone(pwd()); Pkg.build("DataFrames");' - if [ $TRAVIS_JULIA_VERSION = "nightly" ]; then julia -e 'Pkg.test("DataFrames", coverage=true)'; else julia -e 'Pkg.test("DataFrames")'; fi after_success: - if [ $TRAVIS_JULIA_VERSION = "nightly" ]; then julia -e 'cd(Pkg.dir("DataFrames")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; fi
language: julia os: - linux - osx julia: - release - nightly notifications: email: false script: - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("DataFrames"); Pkg.test("DataFrames"; coverage=true)' after_success: - julia -e 'cd(Pkg.dir("DataFrames")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
Add caching for apt and pip
language: python python: - "3.4" before_install: - git clone https://github.com/agrbin/svgtex.git - pushd svgtex - "phantomjs main.js &" - popd install: - "pip install -r requirements.txt" script: - python -m unittest discover mathml_to_image_service notifications: webhooks: urls: - https://webhooks.gitter.im/e/13c8f6d9526fda8fcc8f on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: false # default: false
language: python python: - "3.4" cache: - apt directories: - $HOME/.pip-cache/ - /home/travis/virtualenv/python3.4 before_install: - git clone https://github.com/agrbin/svgtex.git - pushd svgtex - "phantomjs main.js &" - popd install: - pip install -r requirements.txt --download-cache $HOME/.pip-cache script: - python -m unittest discover mathml_to_image_service notifications: webhooks: urls: - https://webhooks.gitter.im/e/13c8f6d9526fda8fcc8f on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: false # default: false
Revert change to container-based testing on Travis (temporarily?)
sudo: false language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" install: - install_dependencies.sh before_script: - cd chassis script: - nosetests - python tools/lint.py
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" install: - install_dependencies.sh before_script: - cd chassis script: - nosetests - python tools/lint.py
Switch to trusty on 1.4 branch
language: php sudo: false cache: directories: - $HOME/.composer/cache addons: apt: packages: - parallel php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm - nightly matrix: fast_finish: true allow_failures: - php: nightly before_script: - rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini - flags="--prefer-dist" - composer install $flags - bin/composer install $flags - git config --global user.name travis-ci - git config --global user.email travis@example.com script: - ls -d tests/Composer/Test/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml --colors=always {} || (echo -e "\e[41mFAILED\e[0m {}" && $(exit 1));' git: depth: 5
language: php sudo: false dist: trusty cache: directories: - $HOME/.composer/cache addons: apt: packages: - parallel php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm - nightly matrix: include: - dist: precise php: 5.3 fast_finish: true allow_failures: - php: nightly before_script: - rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini - flags="--prefer-dist" - composer install $flags - bin/composer install $flags - git config --global user.name travis-ci - git config --global user.email travis@example.com script: - ls -d tests/Composer/Test/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml --colors=always {} || (echo -e "\e[41mFAILED\e[0m {}" && $(exit 1));' git: depth: 5
Add sh to install.sh script.
--- os: - osx script: - "install.sh --skip-short-stack"
--- os: - osx script: - "sh install.sh --skip-short-stack"
Test in Travis from Rust 1.18
language: rust sudo: false env: - FEATURES='serde-1' matrix: include: - rust: 1.12.0 - rust: stable env: - NODEFAULT=1 - rust: beta - rust: nightly env: - NODEFAULT=1 - rust: nightly env: - NODROP_FEATURES='use_needs_drop' - rust: nightly env: - FEATURES='serde use_union' - NODROP_FEATURES='use_union' branches: only: - master - 0.3 script: - | ([ ! -z "$NODROP_FEATURES" ] || cargo build --verbose --features "$FEATURES") && ([ "$NODEFAULT" != 1 ] || cargo build --verbose --no-default-features) && ([ ! -z "$NODROP_FEATURES" ] || cargo test --verbose --features "$FEATURES") && ([ ! -z "$NODROP_FEATURES" ] || cargo test --release --verbose --features "$FEATURES") && ([ ! -z "$NODROP_FEATURES" ] || cargo bench --verbose --features "$FEATURES" -- --test) && ([ ! -z "$NODROP_FEATURES" ] || cargo doc --verbose --features "$FEATURES") && ([ "$NODEFAULT" != 1 ] || cargo build --verbose --manifest-path=nodrop/Cargo.toml --no-default-features) && cargo test --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES" && cargo bench --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES" -- --test
language: rust sudo: false env: - FEATURES='serde-1' matrix: include: - rust: 1.18.0 - rust: stable env: - NODEFAULT=1 - rust: beta - rust: nightly env: - NODEFAULT=1 - rust: nightly env: - NODROP_FEATURES='use_needs_drop' - rust: nightly env: - FEATURES='serde use_union' - NODROP_FEATURES='use_union' branches: only: - master - 0.3 script: - | ([ ! -z "$NODROP_FEATURES" ] || cargo build --verbose --features "$FEATURES") && ([ "$NODEFAULT" != 1 ] || cargo build --verbose --no-default-features) && ([ ! -z "$NODROP_FEATURES" ] || cargo test --verbose --features "$FEATURES") && ([ ! -z "$NODROP_FEATURES" ] || cargo test --release --verbose --features "$FEATURES") && ([ ! -z "$NODROP_FEATURES" ] || cargo bench --verbose --features "$FEATURES" -- --test) && ([ ! -z "$NODROP_FEATURES" ] || cargo doc --verbose --features "$FEATURES") && ([ "$NODEFAULT" != 1 ] || cargo build --verbose --manifest-path=nodrop/Cargo.toml --no-default-features) && cargo test --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES" && cargo bench --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES" -- --test
Remove experimental Ruby 2.1.0 build Gemfile
language: ruby rvm: 2.0.0 services: mongodb matrix: include: - rvm: 2.1.0 gemfile: gemfiles/Gemfile.ruby-2.1.0 allow_failures: - rvm: 2.1.0 gemfile: gemfiles/Gemfile.ruby-2.1.0
language: ruby rvm: 2.1.2
Remove Node 4.7 from Travis CI
language: node_js sudo: false before_install: - npm update -g npm install: - travis_retry npm install node_js: - "8" - "7" - "6" - "4.7"
language: node_js sudo: false before_install: - npm update -g npm install: - travis_retry npm install node_js: - "8" - "7" - "6"
Update the Travis image too
osx_image: xcode7.1 language: objective-c before_install: - brew update - brew outdated xctool || brew upgrade xctool install: script/bootstrap script: script/cibuild notifications: email: false env: global: secure: L4C3hHzXc/sgL35dIz3kjqIzPWnXCHsFOgbOcz0f249zlnegeKHQdChm4HUDtfrbmKLMYQCIvVfcgPeLaHkCSeHqXUihXLT2LglK+0GX3MBbFzde9x1uln2O68hH1tTmBg2O2i4Dtc4D3e+2tVv3XmhQDZt0znIVO6n9YgevDqw=
osx_image: xcode8.3 language: objective-c before_install: - brew update - brew outdated xctool || brew upgrade xctool install: script/bootstrap script: script/cibuild notifications: email: false env: global: secure: L4C3hHzXc/sgL35dIz3kjqIzPWnXCHsFOgbOcz0f249zlnegeKHQdChm4HUDtfrbmKLMYQCIvVfcgPeLaHkCSeHqXUihXLT2LglK+0GX3MBbFzde9x1uln2O68hH1tTmBg2O2i4Dtc4D3e+2tVv3XmhQDZt0znIVO6n9YgevDqw=
Add PHP 7.4 to unit tests
language: php sudo: required dist: trusty php: - "7.2" - "7.3" - "master" - "nightly" matrix: fast_finish: true allow_failures: - php: "master" - php: "nightly" install: - travis_retry composer install --no-interaction - wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar - chmod +x php-coveralls.phar - php php-coveralls.phar --version script: - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml - ./vendor/bin/psalm after_success: - travis_retry php php-coveralls.phar -v before_script: - mkdir -p build/logs - ls -al cache: directories: - vendor - $HOME/.cache/composer
language: php sudo: required dist: trusty php: - "7.2" - "7.3" - "7.4" - "master" - "nightly" matrix: fast_finish: true allow_failures: - php: "master" - php: "nightly" install: - travis_retry composer install --no-interaction - wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar - chmod +x php-coveralls.phar - php php-coveralls.phar --version script: - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml - ./vendor/bin/psalm after_success: - travis_retry php php-coveralls.phar -v before_script: - mkdir -p build/logs - ls -al cache: directories: - vendor - $HOME/.cache/composer
Allow Travis CI PyPy job to fail without failing the complete build
sudo: true language: python matrix: include: - python: 2.7 - python: 3.5 - python: 3.6 - python: 3.7 - python: 3.8 - python: pypy before_install: - sudo apt-get update -qq - sudo apt-get install --yes fakeroot openssh-server install: - pip install --requirement=requirements-travis.txt - LC_ALL=C CRYPTOGRAPHY_ALLOW_OPENSSL_102=true pip install . script: - make check - make test after_success: - coveralls branches: except: - /^[0-9]/
sudo: true language: python matrix: include: - python: 2.7 - python: 3.5 - python: 3.6 - python: 3.7 - python: 3.8 - python: pypy before_install: - sudo apt-get update -qq - sudo apt-get install --yes fakeroot openssh-server install: - pip install --requirement=requirements-travis.txt - LC_ALL=C CRYPTOGRAPHY_ALLOW_OPENSSL_102=true pip install . script: - make check - make test after_success: - coveralls branches: except: - /^[0-9]/ jobs: allow_failures: - python: pypy fast_finish: true
Test Node 9 instead of 7 on Travis
--- language: node_js node_js: - "4" - "6" - "7" - "8" sudo: false cache: yarn: true env: - EMBER_TRY_SCENARIO=ember-lts-2.8 - EMBER_TRY_SCENARIO=ember-lts-2.12 - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary before_install: - npm config set spin false - npm install -g npm - curl -o- -L https://yarnpkg.com/install.sh | bash - export PATH=$HOME/.yarn/bin:$PATH - yarn global add phantomjs-prebuilt bower greenkeeper-lockfile@1 - bower --version - phantomjs --version install: - yarn install before_script: - greenkeeper-lockfile-update - yarn check --integrity after_script: - greenkeeper-lockfile-upload script: # Usually, it's ok to finish the test scenario without reverting # to the addon's original dependency state, skipping "cleanup". - node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
--- language: node_js node_js: - "4" - "6" - "8" - "9" sudo: false cache: yarn: true env: - EMBER_TRY_SCENARIO=ember-lts-2.8 - EMBER_TRY_SCENARIO=ember-lts-2.12 - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary - EMBER_TRY_SCENARIO=ember-default matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary before_install: - npm config set spin false - npm install -g npm - curl -o- -L https://yarnpkg.com/install.sh | bash - export PATH=$HOME/.yarn/bin:$PATH - yarn global add phantomjs-prebuilt bower greenkeeper-lockfile@1 - bower --version - phantomjs --version install: - yarn install before_script: - greenkeeper-lockfile-update - yarn check --integrity after_script: - greenkeeper-lockfile-upload script: # Usually, it's ok to finish the test scenario without reverting # to the addon's original dependency state, skipping "cleanup". - node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
Make it actually execute gradlew
language: java matrix: include: - jdk: oraclejdk8 install: true sudo: false cache: directories: - .autoconf - $HOME/.gradle after_success: - gradlew clean build jar jacocoTestReport uploadArchives - bash <(curl -s https://codecov.io/bash)
language: java matrix: include: - jdk: oraclejdk8 install: true sudo: false cache: directories: - .autoconf - $HOME/.gradle after_success: - ./gradlew clean build jar jacocoTestReport uploadArchives - bash <(curl -s https://codecov.io/bash)
Use the pre-release builds of chefdk
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk/bin/chef shell-init bash)" # We have to install chef-sugar for ChefSpec - /opt/chefdk/embedded/bin/chef gem install chef-sugar script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec spec
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-current-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk/bin/chef shell-init bash)" # We have to install chef-sugar for ChefSpec - /opt/chefdk/embedded/bin/chef gem install chef-sugar script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/rubocop --version - /opt/chefdk/embedded/bin/rubocop - /opt/chefdk/embedded/bin/foodcritic --version - /opt/chefdk/embedded/bin/foodcritic . --exclude spec - /opt/chefdk/embedded/bin/rspec spec
Add 'install' script for Travis CI to do decode tests
language: perl
language: perl before_install: ./java/install.sh perl: - "5.22" - "5.20" - "5.18" - "5.14" - "5.10"
Make unittest2 conditional. It is already included in Python 2.7 and up.
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" - "pypy3" sudo: false addons: apt: packages: - curl - zlib1g - zlib1g-dev install: - ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/ - pip install pillow unittest2 ; true script: tests/alltests.py
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" - "pypy3" sudo: false addons: apt: packages: - curl - zlib1g - zlib1g-dev install: - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then travis_retry pip install unittest2; fi - pip install pillow script: tests/alltests.py
Update exclusions for Better Code Hub CI
exclude: - /.install_hdf5_1_10.sh - /.install_hdf5_1_8.sh - /coverity_model.c - /getopt/.* - /ossfuzz/.* - /src/fortran/matio_internal.c - /src/snprintf.c component_depth: 1 languages: - cpp - script
exclude: - /.ci/.* - /.github/.* - /coverity_model.c - /getopt/.* - /ossfuzz/.* - /src/fortran/matio_internal.c - /src/snprintf.c component_depth: 1 languages: - cpp - script
Fix GitHub 403s on Travis
language: php php: - 5.3 - 5.4 - 5.5 before_script: # Install Varnish - sudo apt-get update -qq - sudo apt-get install -qq varnish - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.3' ]; then ./tests/install-apache.sh; fi" # Install deps - composer update --dev script: phpunit --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
language: php php: - 5.3 - 5.4 - 5.5 before_script: # Install Varnish - sudo apt-get update -qq - sudo apt-get install -qq varnish - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.3' ]; then ./tests/install-apache.sh; fi" # Install deps - composer update --dev --prefer-source script: phpunit --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Use latest Galaxy release for testing
sudo: false language: python cache: pip python: 2.7 before_install: - export GALAXY_RELEASE=release_17.05 install: - pip install flake8 flake8-import-order planemo - planemo conda_init - planemo --version - ~/miniconda3/bin/conda --version - echo $TRAVIS_COMMIT_RANGE - | planemo ci_find_repos --exclude data_managers \ --exclude packages \ --exclude_from .tt_blacklist \ --changed_in_commit_range "$TRAVIS_COMMIT_RANGE" \ --output changed_repositories.list - cat changed_repositories.list script: - set -e - cd "$TRAVIS_BUILD_DIR" && flake8 --exclude=.git . - planemo shed_lint --tools --ensure_metadata --urls --report_level warn --fail_level error --recursive . - while read -r DIR; do planemo test --conda_dependency_resolution --conda_auto_install --galaxy_branch "$GALAXY_RELEASE" "$DIR"; done < changed_repositories.list
sudo: false language: python cache: pip python: 2.7 before_install: - export GALAXY_RELEASE=release_17.09 install: - pip install flake8 flake8-import-order planemo - planemo conda_init - planemo --version - ~/miniconda3/bin/conda --version - echo $TRAVIS_COMMIT_RANGE - | planemo ci_find_repos --exclude data_managers \ --exclude packages \ --exclude_from .tt_blacklist \ --changed_in_commit_range "$TRAVIS_COMMIT_RANGE" \ --output changed_repositories.list - cat changed_repositories.list script: - set -e - cd "$TRAVIS_BUILD_DIR" && flake8 --exclude=.git . - planemo shed_lint --tools --ensure_metadata --urls --report_level warn --fail_level error --recursive . - while read -r DIR; do planemo test --conda_dependency_resolution --conda_auto_install --galaxy_branch "$GALAXY_RELEASE" "$DIR"; done < changed_repositories.list
Use sudo: false for faster builds
language: python python: - "2.7" - "3.3" - "3.4" - "pypy" install: - pip install -U -r dev-requirements.txt - pip install -U . before_script: - flake8 . script: py.test
language: python sudo: false python: - "2.7" - "3.3" - "3.4" - "pypy" install: - pip install -U -r dev-requirements.txt - pip install -U . before_script: - flake8 . script: py.test
FIx requirements path for Travis
dist: xenial language: python python: - '3.7' install: 'pip install -r requirements.txt ' script: nosetests notifications: email: false slack: secure: aD/F8MRz7SM1gXexhxy/K5frXpumUNspUOpf0MLXu+SgkPFsHg3Ev8FfT4e1l6edZq+X6HGcshKfgkbRz4BkPky5Lja3GXzknanwdIM5GLqxajsy/0w27lwrarO534L+jMyIDrUtSGgUspnU8tqTe5voEZ3lxxZXfgTou5ixs9I=
dist: xenial language: python python: - '3.7' install: 'pip install -r requirements/testing.txt ' script: nosetests notifications: email: false slack: secure: aD/F8MRz7SM1gXexhxy/K5frXpumUNspUOpf0MLXu+SgkPFsHg3Ev8FfT4e1l6edZq+X6HGcshKfgkbRz4BkPky5Lja3GXzknanwdIM5GLqxajsy/0w27lwrarO534L+jMyIDrUtSGgUspnU8tqTe5voEZ3lxxZXfgTou5ixs9I=
Use Docker containers with cache for Travis CI builds
--- language: php php: - 5.3 - 5.4 notifications: email: false slack: secure: bpD3fT1VbGKMSrVCh5NiqQEnKUETpnhrDFXrCjNnQnq0O4aiePmMInpgEDqQiNm7/znjtWSwdyAValSsJXUc1JdkS7rAr95OfKd0vimc7IsSxeqdHYMEFSVrRoJbd6UGyXU6gaexqW02EWHmWvtk18mL2X2M5+o76GamBQWcn/k= install: - composer selfupdate - composer install --no-interaction before_script: - mkdir -p build/logs - mysql -e 'create database `openbuildings/jam`;' - mysql openbuildings/jam < tests/database/structure/mysql.sql script: - phpunit --coverage-clover build/logs/clover.xml after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
--- language: php sudo: false php: - 5.3 - 5.4 cache: directories: - $HOME/.composer/cache notifications: email: false slack: secure: bpD3fT1VbGKMSrVCh5NiqQEnKUETpnhrDFXrCjNnQnq0O4aiePmMInpgEDqQiNm7/znjtWSwdyAValSsJXUc1JdkS7rAr95OfKd0vimc7IsSxeqdHYMEFSVrRoJbd6UGyXU6gaexqW02EWHmWvtk18mL2X2M5+o76GamBQWcn/k= install: - composer selfupdate - composer install --no-interaction before_script: - mkdir -p build/logs - mysql -e 'create database `openbuildings/jam`;' - mysql openbuildings/jam < tests/database/structure/mysql.sql script: - phpunit --coverage-clover build/logs/clover.xml after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
Update Travis configuration to support build on Xcode 11.2
language: objective-c osx_image: xcode9 script: - xcodebuild clean build test -workspace ActionSheetPicker-3.0.xcworkspace -scheme ActionSheetPicker -sdk iphonesimulator -destination "platform=iOS Simulator,OS=11.0,name=iPhone X" ONLY_ACTIVE_ARCH=NO notifications: email: recipients: - sky4winder+actionSheetPicker@gmail.com on_success: never # [always|never|change] on_failure: change # [always|never|change]
language: objective-c osx_image: xcode11.2 script: - xcodebuild clean build test -workspace ActionSheetPicker-3.0.xcworkspace -scheme ActionSheetPicker -sdk iphonesimulator -destination "platform=iOS Simulator,OS=11.0,name=iPhone X" ONLY_ACTIVE_ARCH=NO notifications: email: recipients: - sky4winder+actionSheetPicker@gmail.com on_success: never # [always|never|change] on_failure: change # [always|never|change]
Revert "Temporarily comment out JRuby to accomodate Travis issue"
rvm: - 1.8.7 - 1.9.2 - 1.9.3 gemfile: - Gemfile - gemfiles/Gemfile.mongoid-2.4.x env: SSL_CERT_DIR=/etc/ssl/certs matrix: exclude: - rvm: 1.8.7 gemfile: Gemfile env: SSL_CERT_DIR=/etc/ssl/certs - rvm: 1.9.2 gemfile: Gemfile env: SSL_CERT_DIR=/etc/ssl/certs - rvm: 1.9.3 gemfile: gemfiles/Gemfile.mongoid-2.4.x env: SSL_CERT_DIR=/etc/ssl/certs
rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-19mode gemfile: - Gemfile - gemfiles/Gemfile.mongoid-2.4.x env: SSL_CERT_DIR=/etc/ssl/certs matrix: exclude: - rvm: 1.8.7 gemfile: Gemfile env: SSL_CERT_DIR=/etc/ssl/certs - rvm: 1.9.2 gemfile: Gemfile env: SSL_CERT_DIR=/etc/ssl/certs - rvm: 1.9.3 gemfile: gemfiles/Gemfile.mongoid-2.4.x env: SSL_CERT_DIR=/etc/ssl/certs - rvm: jruby-19mode gemfile: gemfiles/Gemfile.mongoid-2.4.x env: SSL_CERT_DIR=/etc/ssl/certs
Revert "Try Node.js 0.10 again in Travis."
language: node_js node_js: - "0.8" - "0.10" before_script: - npm install -g grunt-cli
language: node_js node_js: - "0.8" before_script: - npm install -g grunt-cli
Update configuration to use a distribution with Java 8
language: java install: true jdk: - oraclejdk8 script: - ./gradlew -S clean build before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ - rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.bin - rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
dist: trusty language: java install: true jdk: - oraclejdk8 script: - ./gradlew -S clean build before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ - rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.bin - rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
Build on iphonesimulator to avoid the code signing issue now
language: objective-c xcode_workspace: DailyReview.xcworkspace xcode_scheme: Development
language: objective-c script: xctool -workspace DailyReview.xcworkspace -scheme Development -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO clean build test
Remove explicit Carthage installation steps from Travis config
--- language: objective-c osx_image: xcode7.3 xcode_project: Arex.xcodeproj xcode_scheme: Arex before_install: - brew update - brew install carthage - carthage bootstrap --platform ios --verbose
--- language: objective-c osx_image: xcode7.3 xcode_project: Arex.xcodeproj xcode_scheme: Arex before_install: - carthage bootstrap --platform ios --verbose
Update from Hackage at 2019-09-25T07:34:40Z
homepage: http://hackage.haskell.org/package/regex-pcre changelog-type: '' hash: e09a03f905816b83f2286fe34158c6cb449ded4a6f67377a859f3f503c81b85c test-bench-deps: {} maintainer: TextRegexLazy@personal.mightyreason.com synopsis: Replaces/Enhances Text.Regex changelog: '' basic-deps: bytestring: -any base: ! '>=4 && <5' array: -any containers: -any regex-base: ! '>=0.93' all-versions: - '0.81' - '0.82' - '0.91' - '0.92' - '0.93' - '0.94' - 0.94.1 - 0.94.2 - 0.94.3 - 0.94.4 author: Christopher Kuklewicz latest: 0.94.4 description-type: haddock description: The PCRE backend to accompany regex-base, see www.pcre.org license-name: BSD-3-Clause
homepage: http://hackage.haskell.org/package/regex-pcre changelog-type: '' hash: 47ef1021f7ca128f83cff7220fc6a97a29e6aae33c74da237cc57855814d624a test-bench-deps: {} maintainer: TextRegexLazy@personal.mightyreason.com synopsis: Replaces/Enhances Text.Regex changelog: '' basic-deps: bytestring: <0.11 base: ! '>=4 && <5' array: <0.6 containers: <0.7 regex-base: ! '>=0.93 && <0.94' all-versions: - '0.81' - '0.82' - '0.91' - '0.92' - '0.93' - '0.94' - 0.94.1 - 0.94.2 - 0.94.3 - 0.94.4 author: Christopher Kuklewicz latest: 0.94.4 description-type: haddock description: The PCRE backend to accompany regex-base, see www.pcre.org license-name: BSD-3-Clause
Set firehose.doppler.idle_timeout to enable re-establishing firehose connection
- type: replace path: /instance_groups/name=firehose/networks value: - name: cf - type: replace path: /instance_groups/name=firehose/vm_type value: medium
- type: replace path: /instance_groups/name=firehose/networks value: - name: cf - type: replace path: /instance_groups/name=firehose/vm_type value: medium - type: replace path: /instance_groups/name=firehose/jobs/name=firehose_exporter/properties/firehose_exporter/doppler/idle_timeout? value: 5m
Revert "Revert "opendev.org mirrors: switch out DFW, switch in IAD""
# This file contains ansible variables that are used by our zuul-executors. --- # NOTE(ianw): 2019-05 this list of clouds will grow as we provision # new opendev.org based mirrors, but then eventually be removed once # all are updated. zuul_site_mirror_fqdn: >- {%- if nodepool.region + "." + nodepool.cloud in [ "DFW.rax" ] -%} mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.opendev.org {%- else -%} mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.openstack.org {%- endif -%} zuul_site_traceroute_host: opendev.org zuul_site_image_manifest_files: - /etc/dib-builddate.txt - /etc/image-hostname.txt zuul_output_dir: "{{ ansible_user_dir }}/zuul-output" bindep_command: /usr/bindep-env/bin/bindep bindep_fallback: /usr/local/bindep-fallback/bindep-fallback.txt
# This file contains ansible variables that are used by our zuul-executors. --- # NOTE(ianw): 2019-05 this list of clouds will grow as we provision # new opendev.org based mirrors, but then eventually be removed once # all are updated. zuul_site_mirror_fqdn: >- {%- if nodepool.region + "." + nodepool.cloud in [ "IAD.rax" ] -%} mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.opendev.org {%- else -%} mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.openstack.org {%- endif -%} zuul_site_traceroute_host: opendev.org zuul_site_image_manifest_files: - /etc/dib-builddate.txt - /etc/image-hostname.txt zuul_output_dir: "{{ ansible_user_dir }}/zuul-output" bindep_command: /usr/bindep-env/bin/bindep bindep_fallback: /usr/local/bindep-fallback/bindep-fallback.txt
Disable parallel bundle install to fix rbx builds
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode # JRuby (1.9) - rbx-2
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode # JRuby (1.9) - rbx-2 install: "bundle install --retry=3"
Update Ruby versions tested by Travis
language: ruby cache: bundler script: bundle exec rspec sudo: false gemfile: - gemfiles/rack_1.5.gemfile - gemfiles/rack_1.6.gemfile - gemfiles/rack_2.0.gemfile - gemfiles/rack_2.1.gemfile - gemfiles/rack_2.2.gemfile rvm: - 2.3.8 - 2.4.9 - 2.5.8 - 2.6.5 - 2.7.0 before_install: - gem install bundler -v 1.17.2
language: ruby cache: bundler script: bundle exec rspec sudo: false gemfile: - gemfiles/rack_1.5.gemfile - gemfiles/rack_1.6.gemfile - gemfiles/rack_2.0.gemfile - gemfiles/rack_2.1.gemfile - gemfiles/rack_2.2.gemfile rvm: - 2.6.8 - 2.7.4 - 3.0.2 - 3.1.0-dev before_install: - gem install bundler -v 1.17.2
Set java_script as javascript in Hound config
coffee_script: config_file: coffeelint.json java_script: enabled: false
coffee_script: config_file: coffeelint.json javascript: enabled: false
Build containers in a matrix
name: ci on: push: branches: - 'master' - 'github-action' jobs: docker: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to DockerHub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v2 with: context: nginx-pagespeed/ platforms: linux/amd64,linux/arm64 push: true tags: phpdockerio/nginx-pagespeed:latest
name: ci on: push: branches: - 'master' - 'github-action' jobs: docker: runs-on: ubuntu-latest strategy: matrix: include: - name: nginx-pagespeed folder: ningx-pagespeed arch: [ linux/amd64 ] - name: php72-cli folder: php/7.2/cli arch: [ linux/amd64, linux/arm64 ] - name: php72-fpm folder: php/7.2/cli arch: [ linux/amd64, linux/arm64 ] steps: - name: Checkout uses: actions/checkout@v2 - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to DockerHub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v2 with: context: ${{ matrix.folder }} platforms: ${{ join(matrix.arch, ',') }} push: true tags: phpdockerio/${{ matrix.name }}:latest
Fix branch name to master.
name: Build main JDK 15 on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 15 uses: actions/setup-java@v1 with: java-version: 15 - name: Build with Maven run: mvn clean test --file pom.xml
name: Build main JDK 15 on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 15 uses: actions/setup-java@v1 with: java-version: 15 - name: Build with Maven run: mvn clean test --file pom.xml
Allow dev and test dbs to be configured with URL
default: &default adapter: postgresql encoding: unicode pool: 5 template: template0 development: <<: *default database: publishing_api_development test: <<: *default database: publishing_api_test production: <<: *default # Rails reads values from DATABASE_URL env var.
default: &default adapter: postgresql encoding: unicode pool: 5 template: template0 development: <<: *default database: publishing_api_development url: <%= ENV["DATABASE_URL"]%> test: <<: *default database: publishing_api_test url: <%= ENV["DATABASE_URL"].try(:sub, /([-_]development)?$/, '_test')%> production: <<: *default # Rails reads values from DATABASE_URL env var.
Fix the yml parser issue with unescaped backslash in double quoted string
--- name: Doctrine Sandbox Migrations table_name: doctrine_migration_versions_test migrations: - { "class": "Doctrine\DBAL\Migrations\Tests\Stub\Version1Test", "version": "Version1Test" } - { "class": "Doctrine\DBAL\Migrations\Tests\Stub\Version2Test", "version": "Version2Test" } - { "class": "Doctrine\DBAL\Migrations\Tests\Stub\Version3Test", "version": "Version3Test" }
--- name: Doctrine Sandbox Migrations table_name: doctrine_migration_versions_test migrations: - { 'class': 'Doctrine\DBAL\Migrations\Tests\Stub\Version1Test', 'version': 'Version1Test' } - { 'class': 'Doctrine\DBAL\Migrations\Tests\Stub\Version2Test', 'version': 'Version2Test' } - { 'class': 'Doctrine\DBAL\Migrations\Tests\Stub\Version3Test', 'version': 'Version3Test' }
Update the girder role system dependencies
--- - name: Install build dependencies apt: name: "{{ item }}" become: yes with_items: - git - build-essential - python-dev - python-tk - tcl8.6-dev - tk8.6-dev - libffi-dev - libssl-dev - name: Download git: repo: "https://github.com/girder/girder.git" dest: "{{ girder_path }}" version: "{{ girder_version }}" update: yes force: yes register: result - name: Install Python package pip: name: "{{ girder_path }}" # editable: true # TODO: The 'editable' option is broken until Ansible 2.4 # See: https://github.com/ansible/ansible/pull/19688 extra_args: '-e' virtualenv: "{{ python_dist_path }}" when: result.changed notify: - Restart Girder - Build Girder - name: Deploy config file template: src: "girder.local.cfg.j2" dest: "{{ girder_path }}/girder/conf/girder.local.cfg" notify: Restart Girder
--- - name: Install build dependencies apt: name: "{{ item }}" become: yes with_items: - curl - git - libffi-dev - build-essential - libgif-dev - libjpeg-dev - libssl-dev - zlib1g-dev - name: Download git: repo: "https://github.com/girder/girder.git" dest: "{{ girder_path }}" version: "{{ girder_version }}" update: yes force: yes register: result - name: Install Python package pip: name: "{{ girder_path }}" # editable: true # TODO: The 'editable' option is broken until Ansible 2.4 # See: https://github.com/ansible/ansible/pull/19688 extra_args: '-e' virtualenv: "{{ python_dist_path }}" when: result.changed notify: - Restart Girder - Build Girder - name: Deploy config file template: src: "girder.local.cfg.j2" dest: "{{ girder_path }}/girder/conf/girder.local.cfg" notify: Restart Girder
Disable django tests for now
machine: environment: ENV: dev SECRET_KEY: testing-on-circle-ci POSTGRES_USER: ubuntu POSTGRES_HOST: localhost UNPP_LOGS_PATH: /home/ubuntu/logs dependencies: pre: - mkdir -p /home/ubuntu/logs - pip install -r backend/requirements/dev.pip test: override: - cd backend && python manage.py test --noinput --parallel - cd backend && flake8
machine: environment: ENV: dev SECRET_KEY: testing-on-circle-ci POSTGRES_USER: ubuntu POSTGRES_HOST: localhost UNPP_LOGS_PATH: /home/ubuntu/logs dependencies: pre: - mkdir -p /home/ubuntu/logs - pip install -r backend/requirements/dev.pip test: override: # TODO: Run django tests # - cd backend && python manage.py test --noinput --parallel - cd backend && flake8
Update DarkModeLiveWallpaper to 1.1.1 (7)
Categories: - Theming License: GPL-3.0-or-later AuthorEmail: cuzi-android@openmail.cc SourceCode: https://github.com/cvzi/darkmodewallpaper IssueTracker: https://github.com/cvzi/darkmodewallpaper/issues Translation: https://crwd.in/darkmodewallpaper Changelog: https://github.com/cvzi/darkmodewallpaper/blob/HEAD/CHANGELOG.md Liberapay: cuzi Bitcoin: 3KDs3RjvsKzbFQ8XoHkGqZxQtSxn2WYbn1 AutoName: DarkModeLiveWallpaper RepoType: git Repo: https://github.com/cvzi/darkmodewallpaper Builds: - versionName: 1.0-alpha3 versionCode: 4 commit: v1.0-alpha3 subdir: app gradle: - yes - versionName: 1.0.0 versionCode: 5 commit: v1.0.0 subdir: app gradle: - yes - versionName: 1.1.0 versionCode: 6 commit: v1.1.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.1.0 CurrentVersionCode: 6
Categories: - Theming License: GPL-3.0-or-later AuthorEmail: cuzi-android@openmail.cc SourceCode: https://github.com/cvzi/darkmodewallpaper IssueTracker: https://github.com/cvzi/darkmodewallpaper/issues Translation: https://crwd.in/darkmodewallpaper Changelog: https://github.com/cvzi/darkmodewallpaper/blob/HEAD/CHANGELOG.md Liberapay: cuzi Bitcoin: 3KDs3RjvsKzbFQ8XoHkGqZxQtSxn2WYbn1 AutoName: DarkModeLiveWallpaper RepoType: git Repo: https://github.com/cvzi/darkmodewallpaper Builds: - versionName: 1.0-alpha3 versionCode: 4 commit: v1.0-alpha3 subdir: app gradle: - yes - versionName: 1.0.0 versionCode: 5 commit: v1.0.0 subdir: app gradle: - yes - versionName: 1.1.0 versionCode: 6 commit: v1.1.0 subdir: app gradle: - yes - versionName: 1.1.1 versionCode: 7 commit: v1.1.1 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.1.1 CurrentVersionCode: 7
Fix syntax for the when clause
--- - name: "Verify redirect value and fail" fail: msg="Redirect should be a complete URL, not {{ redirect }}" when: "redirect is defined and not {{ redirect | match('^https?://') }}" - include: common.yml when: httpd_common is not defined - set_fact: httpd_common=True - file: state=directory path={{ document_root }} setype=httpd_sys_content_t owner=root mode=755 group=root when: document_root is defined - file: path=/etc/httpd/conf.d/{{ website_url }}.conf.d/ state=directory when: website_url is defined # needed for newer apache, who requires at least 1 file for include - copy: dest=/etc/httpd/conf.d/{{ website_url }}.conf.d/placeholder.conf content="# Placeholder" when: website_url is defined - htpasswd: path=/etc/httpd/{{ website_url }}.htpasswd name={{ website_user }} password={{ website_password }} owner=root group=apache mode=0640 when: website_user is defined - template: src=vhost.conf dest=/etc/httpd/conf.d/{{ website_url }}.conf owner=root group=apache mode=0644 notify: verify config and restart httpd when: document_root is defined - template: src=vhost_redirect.conf dest=/etc/httpd/conf.d/{{ website_url }}.conf owner=root group=apache mode=0644 notify: verify config and restart httpd when: redirect is defined
--- - name: "Verify redirect value and fail" fail: msg="Redirect should be a complete URL, not {{ redirect }}" when: "redirect is defined and not redirect | match('^https?://')" - include: common.yml when: httpd_common is not defined - set_fact: httpd_common=True - file: state=directory path={{ document_root }} setype=httpd_sys_content_t owner=root mode=755 group=root when: document_root is defined - file: path=/etc/httpd/conf.d/{{ website_url }}.conf.d/ state=directory when: website_url is defined # needed for newer apache, who requires at least 1 file for include - copy: dest=/etc/httpd/conf.d/{{ website_url }}.conf.d/placeholder.conf content="# Placeholder" when: website_url is defined - htpasswd: path=/etc/httpd/{{ website_url }}.htpasswd name={{ website_user }} password={{ website_password }} owner=root group=apache mode=0640 when: website_user is defined - template: src=vhost.conf dest=/etc/httpd/conf.d/{{ website_url }}.conf owner=root group=apache mode=0644 notify: verify config and restart httpd when: document_root is defined - template: src=vhost_redirect.conf dest=/etc/httpd/conf.d/{{ website_url }}.conf owner=root group=apache mode=0644 notify: verify config and restart httpd when: redirect is defined
Fix serverspec config test with Travis values - 2
--- # Tests for vsftpd role - hosts: localhost remote_user: root roles: - "infOpen/ansible-role-vsftpd" post_tasks: - include: ./test_common.yml vars: vsftpd_banned_email_file: '/tmp/foo/vsftpd.banned_emails' vsftpd_chroot_list_file: '/tmp/foo/vsftpd.chroot_list' vsftpd_email_password_file: '/tmp/foo/vsftpd.email_password' vsftpd_userlist_file: '/tmp/foo/vsftpd.userlist_file' vsftpd_additional_directories_group: travis vsftpd_additional_directories_owner: travis vsftpd_additional_files_group: travis vsftpd_additional_files_owner: travis
--- # Tests for vsftpd role - hosts: localhost remote_user: root roles: - "infOpen/ansible-role-vsftpd" post_tasks: - include: ./test_common.yml vars: vsftpd_banned_email_file: '/tmp/foo/vsftpd.banned_emails' vsftpd_chroot_list_file: '/tmp/foo/vsftpd.chroot_list' vsftpd_email_password_file: '/tmp/foo/vsftpd.email_passwords' vsftpd_userlist_file: '/tmp/foo/vsftpd.user_list' vsftpd_additional_directories_group: travis vsftpd_additional_directories_owner: travis vsftpd_additional_files_group: travis vsftpd_additional_files_owner: travis
Build the C extensions first.
language: python python: - 2.7 - 3.4 - 3.5 # https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some time to start install: - pip install Cython - pip install numpy - pip install matplotlib - pip install iminuit - pip install pytest pytest-cov pytest-mpl - pip install flake8 pylint # ipython needed for docs: IPython.sphinxext.ipython_directive - pip install ipython sphinx sphinx_rtd_theme script: - make flake8 - make pylint - make test - cd doc && make html
language: python python: - 2.7 - 3.4 - 3.5 # https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some time to start install: - pip install Cython - pip install numpy - pip install matplotlib - pip install iminuit - pip install pytest pytest-cov pytest-mpl - pip install flake8 pylint # ipython needed for docs: IPython.sphinxext.ipython_directive - pip install ipython sphinx sphinx_rtd_theme script: - make build - make flake8 - make pylint - make test - cd doc && make html
Add libgtest to the matrix
language: cpp addons: apt: packages: - libgtest-dev install: - export INITIAL_DIR=$PWD - wget --no-check-certificate https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz -O /tmp/cmake.tar.gz - tar -xvf /tmp/cmake.tar.gz - export PATH=$PWD/cmake-3.6.2-Linux-x86_64/bin/:$PATH matrix: include: - compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-5 env: COMPILER=g++-5 - compiler: clang env: COMPILER=clang branches: only: - master before_script: - mkdir build - cd build - cmake -DCMAKE_CXX_COMPILER=$COMPILER .. script: make all test
language: cpp install: - export INITIAL_DIR=$PWD - wget --no-check-certificate https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz -O /tmp/cmake.tar.gz - tar -xvf /tmp/cmake.tar.gz - export PATH=$PWD/cmake-3.6.2-Linux-x86_64/bin/:$PATH matrix: include: - compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test packages: - libgtest-dev - g++-5 env: COMPILER=g++-5 - compiler: clang addons: apt: packages: - libgtest-dev env: COMPILER=clang branches: only: - master before_script: - mkdir build - cd build - cmake -DCMAKE_CXX_COMPILER=$COMPILER .. script: make all test
Add sudo to the lsmod command
sudo: required services: - docker before_install: - sudo apt-get -qq update - sudo apt-get install -y qemu-kvm bridge-utils libvirt-bin - lsmod | grep kvm - cd docker/qemu-nvme/ install: - docker build -t ljishen/qemu-nvme . before_script: - wget -O img/vm.img http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img - dd if=/dev/zero of=device/blknvme bs=1M count=1024 - docker ps -a | grep qemu-nvme script: - docker run -ti --privileged -v `pwd`/device:/root/device -v `pwd`/img:/root/img ljishen/qemu-nvme -smp 4 -m 4G
sudo: required services: - docker before_install: - sudo apt-get -qq update - sudo apt-get install -y qemu-kvm bridge-utils libvirt-bin - sudo lsmod | grep kvm - cd docker/qemu-nvme/ install: - docker build -t ljishen/qemu-nvme . before_script: - wget -O img/vm.img http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img - dd if=/dev/zero of=device/blknvme bs=1M count=1024 - docker ps -a | grep qemu-nvme script: - docker run -ti --privileged -v `pwd`/device:/root/device -v `pwd`/img:/root/img ljishen/qemu-nvme -smp 4 -m 4G
Update references to opencv 2.4.9
language: node_js before_install: - sudo apt-get install build-essential - curl -sL https://github.com/Itseez/opencv/archive/2.4.6.1.zip > opencv.zip - unzip opencv.zip - rm opencv.zip - mkdir opencv-build - cd opencv-build/ - cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_java=OFF -DBUILD_JASPER=OFF -DWITH_JASPER=OFF -DBUILD_ZLIB=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_OPENEXR=OFF -DBUILD_PNG=ON -DWITH_PNG=ON -DWITH_TIFF=ON -DBUILD_TIFF=ON -DWITH_WEBP=OFF -DWITH_JPEG=ON -DBUILD_JPEG=ON ../opencv-2.4.6.1/ - sudo make install - cd ..
language: node_js before_install: - sudo apt-get install build-essential - curl -sL https://github.com/Itseez/opencv/archive/2.4.9.zip > opencv.zip - unzip opencv.zip - rm opencv.zip - mkdir opencv-build - cd opencv-build/ - cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_java=OFF -DBUILD_JASPER=OFF -DWITH_JASPER=OFF -DBUILD_ZLIB=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_OPENEXR=OFF -DBUILD_PNG=ON -DWITH_PNG=ON -DWITH_TIFF=ON -DBUILD_TIFF=ON -DWITH_WEBP=OFF -DWITH_JPEG=ON -DBUILD_JPEG=ON ../opencv-2.4.9/ - sudo make install - cd ..
Add latest Ruby versions to Travis matrix
language: ruby rvm: - 2.5.1 - 2.4.4 - 2.3.7 - 2.2 - 2.1 - 2.0 matrix: # Rubinius periodically fails in general, and it always segfaults for RuboCop # in particular. Until we figure out how to make it work consistently, allow # it to fail without breaking the build. allow_failures: - rvm: rbx-2 include: - rvm: rbx-2 script: bundle exec rake spec # Run Danger only once, on 2.3.1 - rvm: 2.3.1 before_script: bundle exec danger script: bundle exec rake spec rubocop install: bundle install --jobs=1 cache: bundler branches: except: - legacy-v2 sudo: false
language: ruby rvm: - 2.6.0 - 2.5.3 - 2.4.5 - 2.3.8 - 2.2 - 2.1 - 2.0 matrix: # Rubinius periodically fails in general, and it always segfaults for RuboCop # in particular. Until we figure out how to make it work consistently, allow # it to fail without breaking the build. allow_failures: - rvm: rbx-2 include: - rvm: rbx-2 script: bundle exec rake spec # Run Danger only once, on 2.5.3 - rvm: 2.5.3 before_script: bundle exec danger script: bundle exec rake spec rubocop install: bundle install --jobs=1 cache: bundler branches: except: - legacy-v2 sudo: false
Add `composer self-update` to before_script
language: php before_script: - composer install --dev php: - 5.4 - 5.5 - 5.6
language: php before_script: - composer self-update - composer install php: - 5.4 - 5.5 - 5.6
Test with newer version of Puppet v3
--- env: - PUPPET_VERSION=2.7.22 - PUPPET_VERSION=3.3.1 notifications: email: false rvm: - 1.9.3 - 1.8.7 matrix: allow_failures: - env: PUPPET_VERSION=2.7.22 language: ruby before_script: "gem install --no-ri --no-rdoc bundler" script: 'bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format documentation" bundle exec rake spec' gemfile: Gemfile
--- env: - PUPPET_VERSION=2.7.22 - PUPPET_VERSION=3.3.2 notifications: email: false rvm: - 1.9.3 - 1.8.7 matrix: allow_failures: - env: PUPPET_VERSION=2.7.22 language: ruby before_script: "gem install --no-ri --no-rdoc bundler" script: 'bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format documentation" bundle exec rake spec' gemfile: Gemfile
Install only one compiler per container
language: cpp env: matrix: - COMPILER=g++-4.8 - COMPILER=g++-4.9 - COMPILER=g++-5 - COMPILER=clang++-3.6 addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-precise - llvm-toolchain-precise-3.6 packages: - g++-4.8 - g++-4.9 - g++-5 - clang-3.6 script: make CXX=$COMPILER -j2
language: cpp matrix: include: - os: linux compiler: gcc addons: apt: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-4.8'] env: COMPILER=g++-4.8 - os: linux compiler: gcc addons: apt: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-4.9'] env: COMPILER=g++-4.9 - os: linux compiler: gcc addons: apt: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-5'] env: COMPILER=g++-5 - os: linux compiler: clang addons: apt: sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5'] packages: ['clang-3.5'] env: COMPILER=clang++-3.5 - os: linux compiler: clang addons: apt: sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6'] packages: ['clang-3.6'] env: COMPILER=clang++-3.6 - os: osx compiler: clang script: make CXX=$COMPILER -j2
Update Travis YML to use JDK8
language: android jdk: oraclejdk7 android: components: - platform-tools - tools - build-tools-24.0.0 - android-24 - extra-google-google_play_services - extra-google-m2repository - extra-android-m2repository cache: directories: - $HOME/.m2 - $HOME/.gradle script: - ./gradlew testMockDebugUnitTestCoverage after_success: - bash <(curl -s https://codecov.io/bash)
language: android jdk: oraclejdk8 android: components: - platform-tools - tools - build-tools-24.0.0 - android-24 - extra-google-google_play_services - extra-google-m2repository - extra-android-m2repository cache: directories: - $HOME/.m2 - $HOME/.gradle script: - ./gradlew testMockDebugUnitTestCoverage after_success: - bash <(curl -s https://codecov.io/bash)
Update mainline ruby test targets
language: ruby rvm: #- 1.8.7 # over from rufus-scheduler 3.4.0 #- 1.9.2 - 1.9.3 #- 2.0.0 - 2.1.1 - 2.2.3 - 2.3.3 - 2.4.1 - jruby-9.1.13.0 #matrix: # include: # - rvm: jruby-9.1.13.0 # #- env: JRUBY_OPTS="--profile.api" #before_install: gem install bundler script: bundle exec rspec branches: only: - master #except: # - master sudo: false cache: bundler #env: # - WHATEVER_DEFAULT_TIMEOUT=7
language: ruby rvm: #- 1.8.7 # over from rufus-scheduler 3.4.0 #- 1.9.2 - 1.9.3 #- 2.0.0 - 2.1.1 - 2.2.3 - 2.3.3 - 2.4.6 - 2.5.5 - 2.6.2 - jruby-9.1.13.0 #matrix: # include: # - rvm: jruby-9.1.13.0 # #- env: JRUBY_OPTS="--profile.api" #before_install: gem install bundler script: bundle exec rspec branches: only: - master #except: # - master sudo: false cache: bundler #env: # - WHATEVER_DEFAULT_TIMEOUT=7
Remove 1.8 from Travis build
language: ruby rvm: - 2.0.0 - 1.9.3 - 1.8.7 - jruby-19mode - rbx-19mode script: rspec spec
language: ruby rvm: - 2.0.0 - 1.9.3 - jruby-19mode script: rspec spec
Make sure to install the development packages with homebrew.
language: cpp os: - linux - osx dist: trusty sudo: false addons: apt: packages: - libboost-dev - libboost-thread-dev - libboost-system-dev - libboost-filesystem-dev - libicu-dev - maven - wget before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install icu4c maven wget ; fi script: - ./download-gum-corpus.sh - mkdir build - cd build/ - cmake .. - make - cd .. - ./build/annis_runner import ../relannis/GUM ../data/GUM - ./build/test_graphANNIS --gtest_filter="SearchTestGUM.*:CorpusStorageManagerTest.*" - mvn test
language: cpp os: - linux - osx dist: trusty sudo: false addons: apt: packages: - libboost-dev - libboost-thread-dev - libboost-system-dev - libboost-filesystem-dev - libicu-dev - maven - wget before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install --devel icu4c maven wget ; fi script: - ./download-gum-corpus.sh - mkdir build - cd build/ - cmake .. - make - cd .. - ./build/annis_runner import relannis/GUM data/GUM - ./build/test_graphANNIS --gtest_filter="SearchTestGUM.*:CorpusStorageManagerTest.*" - mvn test
Add coveralls report to CI run post step.
language: node_js node_js: - "0.10" before_install: "npm install -g bob --loglevel error" script: "bob build"
language: node_js node_js: - "0.11" - "0.10" before_install: - npm update -g npm - npm install -g bob coveralls --loglevel error script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls
Update Travis CI node versions
sudo: false language: node_js node_js: - '7' - '6' - '4'
sudo: false language: node_js node_js: - '9' - '8' - '6'
Set PYTHON_BUILD_DEFINITIONS to locate custom def file
language: python env: global: - VERSION='3.5-dev-python-org' - ALIAS='3.5.0-dev' - INSTALL_DEST=/opt/python - PACKAGES='pip numpy nose pytest mock wheel' install: - true script: - pushd $HOME - sudo env PYTHON_BUILD_ROOT=$TRAVIS_BUILD_DIR python-build $VERSION $INSTALL_DEST/$ALIAS - sudo ln -s $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS - virtualenv --distribute --python=$INSTALL_DEST/$VERSION/bin/python /home/travis/virtualenv/python$VERSION - ln -s $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS - $HOME/virtualenv/python$VERSION/bin/pip install --upgrade $PACKAGES - popd after_success: - mkdir $HOME/archive - tar cjf $HOME/archive/python-$ALIAS.tar.bz2 $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS - ls -lh $HOME/archive/python-$ALIAS.tar.bz2 deploy: provider: s3 access_key_id: $ARTIFACTS_KEY secret_access_key: $ARTIFACTS_SECRET bucket: $ARTIFACTS_BUCKET local_dir: $HOME/archive
language: python env: global: - VERSION='3.5-dev-python-org' - ALIAS='3.5.0-dev' - INSTALL_DEST=/opt/python - PACKAGES='pip numpy nose pytest mock wheel' install: - true script: - pushd $HOME - sudo env PYTHON_BUILD_DEFINITIONS=$TRAVIS_BUILD_DIR python-build $VERSION $INSTALL_DEST/$ALIAS - sudo ln -s $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS - virtualenv --distribute --python=$INSTALL_DEST/$VERSION/bin/python /home/travis/virtualenv/python$VERSION - ln -s $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS - $HOME/virtualenv/python$VERSION/bin/pip install --upgrade $PACKAGES - popd after_success: - mkdir $HOME/archive - tar cjf $HOME/archive/python-$ALIAS.tar.bz2 $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS - ls -lh $HOME/archive/python-$ALIAS.tar.bz2 deploy: provider: s3 access_key_id: $ARTIFACTS_KEY secret_access_key: $ARTIFACTS_SECRET bucket: $ARTIFACTS_BUCKET local_dir: $HOME/archive