Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Enable magnum dashboard when enable_magnum is yes
--- - name: Starting horizon container kolla_docker: action: "start_container" common_options: "{{ docker_common_options }}" image: "{{ horizon_image_full }}" name: "horizon" environment: ENABLE_CLOUDKITTY: "{{ 'yes' if enable_cloudkitty | bool else 'no' }}" ENABLE_IRONIC: "{{ 'yes' if enable_ironic | bool else 'no' }}" ENABLE_MANILA: "{{ 'yes' if enable_manila | bool else 'no' }}" ENABLE_MISTRAL: "{{ 'yes' if enable_mistral | bool else 'no' }}" ENABLE_NEUTRON_LBAAS: "{{ 'yes' if enable_neutron_lbaas | bool else 'no' }}" ENABLE_SAHARA: "{{ 'yes' if enable_sahara | bool else 'no' }}" ENABLE_SEARCHLIGHT: "{{ 'yes' if enable_searchlight | bool else 'no' }}" ENABLE_SENLIN: "{{ 'yes' if enable_senlin | bool else 'no' }}" ENABLE_TROVE: "{{ 'yes' if enable_trove | bool else 'no' }}" ENABLE_WATCHER: "{{ 'yes' if enable_watcher | bool else 'no' }}" volumes: - "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro" - "kolla_logs:/var/log/kolla/" when: inventory_hostname in groups['horizon']
--- - name: Starting horizon container kolla_docker: action: "start_container" common_options: "{{ docker_common_options }}" image: "{{ horizon_image_full }}" name: "horizon" environment: ENABLE_CLOUDKITTY: "{{ 'yes' if enable_cloudkitty | bool else 'no' }}" ENABLE_IRONIC: "{{ 'yes' if enable_ironic | bool else 'no' }}" ENABLE_MANILA: "{{ 'yes' if enable_manila | bool else 'no' }}" ENABLE_MISTRAL: "{{ 'yes' if enable_mistral | bool else 'no' }}" ENABLE_NEUTRON_LBAAS: "{{ 'yes' if enable_neutron_lbaas | bool else 'no' }}" ENABLE_MAGNUM: "{{ 'yes' if enable_magnum | bool else 'no' }}" ENABLE_SAHARA: "{{ 'yes' if enable_sahara | bool else 'no' }}" ENABLE_SEARCHLIGHT: "{{ 'yes' if enable_searchlight | bool else 'no' }}" ENABLE_SENLIN: "{{ 'yes' if enable_senlin | bool else 'no' }}" ENABLE_TROVE: "{{ 'yes' if enable_trove | bool else 'no' }}" ENABLE_WATCHER: "{{ 'yes' if enable_watcher | bool else 'no' }}" volumes: - "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro" - "kolla_logs:/var/log/kolla/" when: inventory_hostname in groups['horizon']
Set autoname of Spelling Wizard
Categories: - Science & Education License: GPL-2.0-only AuthorName: Open-pi SourceCode: https://github.com/Open-pi/spellingwizard IssueTracker: https://github.com/Open-pi/spellingwizard/issues AutoName: Spellingwizard RepoType: git Repo: https://github.com/Open-pi/spellingwizard Builds: - versionName: 1.0.5 versionCode: 10 commit: v1.0.5 output: build/app/outputs/apk/release/app-release.apk srclibs: - flutter@dev prebuild: echo 'android.applicationVariants.all { variant -> variant.outputs.all { output -> outputFileName = "app-${output.baseName}.apk" } }' >> android/app/build.gradle build: - export PATH=$$flutter$$/bin/:$PATH - flutter packages pub get - flutter config --no-analytics - flutter build apk AutoUpdateMode: Version v%v UpdateCheckMode: HTTP UpdateCheckData: https://github.com/Open-pi/spellingwizard/raw/master/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ CurrentVersion: 1.0.5 CurrentVersionCode: 10
Categories: - Science & Education License: GPL-2.0-only AuthorName: Open-pi SourceCode: https://github.com/Open-pi/spellingwizard IssueTracker: https://github.com/Open-pi/spellingwizard/issues AutoName: Spelling Wizard RepoType: git Repo: https://github.com/Open-pi/spellingwizard Builds: - versionName: 1.0.5 versionCode: 10 commit: v1.0.5 output: build/app/outputs/apk/release/app-release.apk srclibs: - flutter@dev prebuild: echo 'android.applicationVariants.all { variant -> variant.outputs.all { output -> outputFileName = "app-${output.baseName}.apk" } }' >> android/app/build.gradle build: - export PATH=$$flutter$$/bin/:$PATH - flutter packages pub get - flutter config --no-analytics - flutter build apk AutoUpdateMode: Version v%v UpdateCheckMode: HTTP UpdateCheckData: https://github.com/Open-pi/spellingwizard/raw/master/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ CurrentVersion: 1.0.5 CurrentVersionCode: 10
Update from Hackage at 2018-01-31T12:26:16Z
homepage: http://travis.athougies.net/projects/beam.html changelog-type: '' hash: 04eeb0c917203070096a27d818eb64fa4727bd235df5ed8bfcbc8e8e4a617076 test-bench-deps: {} maintainer: travis@athougies.net synopsis: A type-safe SQL mapper for Haskell that doesn't use Template Haskell changelog: '' basic-deps: base: ! '>=4.7 && <4.9' time: -any HDBC: -any text: -any uniplate: -any conduit: -any semigroups: -any tagged: -any containers: -any mtl: -any convertible: -any HDBC-sqlite3: -any pretty: -any microlens: -any all-versions: - '0.3.0.0' - '0.3.1.0' - '0.3.2.0' author: Travis Athougies latest: '0.3.2.0' description-type: haddock description: See the documentation on [my blog](http://travis.athougies.net/tags/beam.html) and on [GitHub](https://github.com/tathougies/beam/tree/master/Doc). license-name: MIT
homepage: http://travis.athougies.net/projects/beam.html changelog-type: '' hash: 370537203f4cc5d9d5da384cb00f5da1540c6f73bc0da9b92c2753cd0e8404da test-bench-deps: {} maintainer: travis@athougies.net synopsis: A type-safe SQL mapper for Haskell that doesn't use Template Haskell changelog: '' basic-deps: base: ! '>=4.8 && <4.9' time: -any HDBC: -any text: -any uniplate: -any conduit: -any semigroups: -any tagged: -any containers: -any mtl: -any convertible: -any HDBC-sqlite3: -any pretty: -any microlens: -any all-versions: - '0.3.0.0' - '0.3.1.0' - '0.3.2.0' author: Travis Athougies latest: '0.3.2.0' description-type: haddock description: See the documentation on [my blog](http://travis.athougies.net/tags/beam.html) and on [GitHub](https://github.com/tathougies/beam/tree/master/Doc). license-name: MIT
Add the repo to install nodejs 4.x LTS.
--- # tasks file for nodejs - name: Add the Nodesource signing keys apt_key: url=https://deb.nodesource.com/gpgkey/nodesource.gpg.key state=present - name: Add Nodesource repo (formerly known as Chris Lea repo) for nodejs, because ubuntu # Add specified repository into sources list. apt_repository: repo='{{ item }} trusty main' state=present update_cache=yes with_items: - deb https://deb.nodesource.com/node - deb-src https://deb.nodesource.com/node when: ansible_os_family == "Debian" tags: [nodejs, packages] - name: Install node.js and npm (APT) apt: name=nodejs state=latest update_cache=yes when: ansible_os_family == "Debian" tags: [nodejs, packages] - name: install uglifiers npm: name={{ item }} global=yes state=latest with_items: - uglify-js - uglifycss tags: [nodejs, packages]
--- # tasks file for nodejs - name: Add the Nodesource signing keys apt_key: url=https://deb.nodesource.com/gpgkey/nodesource.gpg.key state=present - name: Add Nodesource repo (formerly known as Chris Lea repo) for nodejs, because ubuntu # Add specified repository into sources list. apt_repository: repo='{{ item }} trusty main' state=present update_cache=yes with_items: - deb https://deb.nodesource.com/node_4.x - deb-src https://deb.nodesource.com/node_4.x when: ansible_os_family == "Debian" tags: [nodejs, packages] - name: Install node.js and npm (APT) apt: name=nodejs state=latest update_cache=yes when: ansible_os_family == "Debian" tags: [nodejs, packages] - name: install uglifiers npm: name={{ item }} global=yes state=latest with_items: - uglify-js - uglifycss tags: [nodejs, packages]
Change build command for CircleCI team.
test: override: - xctool -scheme "Branch-SDK-Tests" -workspace Branch-TestBed/Branch-TestBed.xcworkspace -sdk iphonesimulator test -reporter pretty -reporter plain:$CIRCLE_ARTIFACTS/xctool.log
test: override: - set -o pipefail && xcodebuild CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=8.1,name=iPhone 6' -workspace "Branch-TestBed/Branch-TestBed.xcworkspace" -scheme "Branch-SDK-Tests" clean build test | tee $CIRCLE_ARTIFACTS/xcode_raw.log | xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml
Add REDIS_URL and JWT_SECRET env vars
# weblab/fillo --- - hosts: all gather_facts: no user: "{{ lookup('env','DEPLOY_USER') }}" vars: image: "{{ lookup('env','AWS_ACCOUNT_ID') }}.dkr.ecr.us-east-1.amazonaws.com/weblab/fillo:{{ lookup('env','SERVICE_VERSION') }}" MONGO_URI: "{{ lookup('env','MONGO_URI') }}" tasks: - name: Get AWS ECR login token shell: eval $(aws ecr get-login --region us-east-1) - name: Get Fillo image command: docker pull {{ image }} - name: Redeploy container docker_container: name: fillo image: "{{ image }}" state: started ignore_image: True ports: "5002:3000" restart: yes restart_policy: always env: MONGO_URI: "{{ MONGO_URI }}"
# weblab/fillo --- - hosts: all gather_facts: no user: "{{ lookup('env','DEPLOY_USER') }}" vars: image: "{{ lookup('env','AWS_ACCOUNT_ID') }}.dkr.ecr.us-east-1.amazonaws.com/weblab/fillo:{{ lookup('env','SERVICE_VERSION') }}" MONGO_URI: "{{ lookup('env','MONGO_URI') }}" REDIS_URL: "{{ lookup('env','REDIS_URL') }}" JWT_SECRET: "{{ lookup('env','JWT_SECRET') }}" tasks: - name: Get AWS ECR login token shell: eval $(aws ecr get-login --region us-east-1) - name: Get Fillo image command: docker pull {{ image }} - name: Redeploy container docker_container: name: fillo image: "{{ image }}" state: started ignore_image: True ports: "5002:3000" restart: yes restart_policy: always env: MONGO_URI: "{{ MONGO_URI }}" REDIS_URL: "{{ REDIS_URL }}" JWT_SECRET: "{{ JWT_SECRET }}"
Change default control bucket name
# Juju OpenStack environment parameters network: net04 use-floating-ip: true control-bucket: d4ec92f6d539a8be6a63845e # Keystone authentication parameters auth-url: http://172.20.4.10:5000/v2.0 region: RegionOne tenant-name: admin username: admin password: admin # Mapping of Juju series to cloud images series: trusty: name: juju-ubuntu-server-14.04-x64 url: http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img precise: name: juju-ubuntu-server-12.04-x64 url: http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img
# Juju OpenStack environment parameters network: net04 use-floating-ip: true control-bucket: juju-environment # Keystone authentication parameters auth-url: http://172.20.4.10:5000/v2.0 region: RegionOne tenant-name: admin username: admin password: admin # Mapping of Juju series to cloud images series: trusty: name: juju-ubuntu-server-14.04-x64 url: http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img precise: name: juju-ubuntu-server-12.04-x64 url: http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img
Remove truffleruby from CI for now.
name: build on: - push - pull_request jobs: test: name: "Test: Ruby ${{ matrix.ruby }}" runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: [2.3, 2.4, 2.5, 2.6, 2.7, "3.0", jruby, truffleruby] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} # runs 'bundle install' and caches installed gems automatically bundler-cache: true - name: Ruby Version run: ruby --version - name: Run Tests run: bundle exec rake
name: build on: - push - pull_request jobs: test: name: "Test: Ruby ${{ matrix.ruby }}" runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: [2.3, 2.4, 2.5, 2.6, 2.7, "3.0", jruby] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} # runs 'bundle install' and caches installed gems automatically bundler-cache: true - name: Ruby Version run: ruby --version - name: Run Tests run: bundle exec rake
Add 3.1 to ruby-version for CI
name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby-version: - 2.7 - "3.0" steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 env: BUNDLE_WITHOUT: vscode with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Run test run: bundle exec rake
name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby-version: - 2.7 - "3.0" - 3.1 steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 env: BUNDLE_WITHOUT: vscode with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Run test run: bundle exec rake
Remove unsupported Ruby version from Rubocop
# This configuration was generated by `rubocop --auto-gen-config` # on 2015-03-09 17:42:55 +0100 using RuboCop version 0.29.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. AllCops: TargetRubyVersion: 2.3 # Offense count: 3 Lint/AmbiguousOperator: Enabled: false # Offense count: 1 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Enabled: false # Offense count: 1 Lint/Eval: Enabled: false # Offense count: 3 # Cop supports --auto-correct. Lint/UnusedBlockArgument: Enabled: false # Offense count: 35 # Cop supports --auto-correct. Lint/UnusedMethodArgument: Enabled: false # Offense count: 128 Lint/Void: Enabled: false
# This configuration was generated by `rubocop --auto-gen-config` # on 2015-03-09 17:42:55 +0100 using RuboCop version 0.29.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. AllCops: TargetRubyVersion: 2.4 # Offense count: 3 Lint/AmbiguousOperator: Enabled: false # Offense count: 1 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Enabled: false # Offense count: 1 Lint/Eval: Enabled: false # Offense count: 3 # Cop supports --auto-correct. Lint/UnusedBlockArgument: Enabled: false # Offense count: 35 # Cop supports --auto-correct. Lint/UnusedMethodArgument: Enabled: false # Offense count: 128 Lint/Void: Enabled: false
Add deploy tag to alacrity tasks
--- # install cython - name: ensure pip installed apt: pkg=python-pip state=latest - name: pip install dependencies pip: name={{ item }} state=latest with_items: - cython - pymongo - boto - name: ensure dependencies installed apt: pkg={{ item }} state=latest with_items: - python-dev - libsnappy1 - libsnappy-dev - python-protobuf - python-snappy # set up submodules and python setup install them - name: python setup install skadi command: python setup.py install chdir={{ mq.deploy_path }}/external/skadi - name: python setup install tarrasque command: python setup.py install chdir={{ mq.deploy_path }}/external/tarrasque - name: copy alacrity config template: src=config.cfg.j2 dest={{ mq.deploy_path }}/alacrity/config/config.cfg - name: copy celery config template: src=celeryconfig.py.j2 dest={{ mq.deploy_path }}/alacrity/mq/celeryconfig.py - name: start or restart celery workers sudo: no command: celery multi restart {{ num_celery_workers }} --app=alacrity.mq --concurrency={{ celery_concurrency }} --beat chdir={{ mq.deploy_path }} - name: ensure celery running shell: ps aux | grep "celery" | grep -v grep
--- # install cython - name: ensure pip installed apt: pkg=python-pip state=latest - name: pip install dependencies pip: name={{ item }} state=latest with_items: - cython - pymongo - boto - name: ensure dependencies installed apt: pkg={{ item }} state=latest with_items: - python-dev - libsnappy1 - libsnappy-dev - python-protobuf - python-snappy # set up submodules and python setup install them - name: python setup install skadi command: python setup.py install chdir={{ mq.deploy_path }}/external/skadi - name: python setup install tarrasque command: python setup.py install chdir={{ mq.deploy_path }}/external/tarrasque - name: copy alacrity config template: src=config.cfg.j2 dest={{ mq.deploy_path }}/alacrity/config/config.cfg tags: deploy - name: copy celery config template: src=celeryconfig.py.j2 dest={{ mq.deploy_path }}/alacrity/mq/celeryconfig.py tags: deploy - name: start or restart celery workers sudo: no command: celery multi restart {{ num_celery_workers }} --app=alacrity.mq --concurrency={{ celery_concurrency }} --beat chdir={{ mq.deploy_path }} tags: deploy - name: ensure celery running shell: ps aux | grep "celery" | grep -v grep tags: deploy
Speed up database in CI
name: CI on: push: schedule: - cron: "0 6 * * 6" # 06:00 every Saturday jobs: build: services: postgres: image: postgres:11 env: # https://github.com/docker-library/docs/blob/master/postgres/README.md#environment-variables POSTGRES_PASSWORD: postgres ports: # will assign a random free host port - 5432/tcp options: >- --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: bundler-cache: true - run: bundle exec rake env: # use localhost for the host here because we are running the job on the VM # get randomly assigned published port TEST_DATABASE_URL: "postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres"
name: CI on: push: schedule: - cron: "0 6 * * 6" # 06:00 every Saturday jobs: build: services: postgres: image: postgres:11 env: # https://github.com/docker-library/docs/blob/master/postgres/README.md#environment-variables POSTGRES_PASSWORD: postgres ports: # will assign a random free host port - 5432/tcp # tmpfs makes DB faster by using RAM options: >- --mount type=tmpfs,destination=/var/lib/postgresql/data --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: bundler-cache: true - run: bundle exec rake env: # use localhost for the host here because we are running the job on the VM # get randomly assigned published port TEST_DATABASE_URL: "postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres"
Update from Hackage at 2018-05-03T09:12:53Z
homepage: '-' changelog-type: '' hash: 9d69f1a22a353c3d070a4c4239a3b13623e17570e29f9636c7a3789a309b040b test-bench-deps: {} maintainer: sebastiaan.la.fleur@gmail.com synopsis: More utilities and broad-used datastructures for concurrency. changelog: '' basic-deps: base: ! '>=4.8 && <4.11' all-versions: - '0.1.0.0' - '0.2.0.0' - '0.2.0.1' author: Sebastiaan la Fleur latest: '0.2.0.1' description-type: haddock description: More utilities and broad-used datastructures for concurrency. license-name: BSD3
homepage: '-' changelog-type: '' hash: f9b9906b43697f30ea8ed3b4ace5a8e2fb29b228a80d0a4c7b1da0093e573e3d test-bench-deps: {} maintainer: sebastiaan.la.fleur@gmail.com synopsis: More utilities and broad-used datastructures for concurrency. changelog: '' basic-deps: base: ! '>=4.8 && <4.12' all-versions: - '0.1.0.0' - '0.2.0.0' - '0.2.0.1' - '0.2.0.2' author: Sebastiaan la Fleur latest: '0.2.0.2' description-type: haddock description: More utilities and broad-used datastructures for concurrency. license-name: BSD3
Use Install-Product instead of Update-NodeJsInstallation
# appveyor file # http://www.appveyor.com/docs/appveyor-yml init: - git config --global core.autocrlf input # what combinations to test environment: matrix: - nodejs_version: 0.10 - nodejs_version: 0.11 - nodejs_version: 0.12 install: - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) - npm install -g gulp - npm install build: off test_script: - node --version - npm --version - ps: gulp test - cmd: gulp test
# appveyor file # http://www.appveyor.com/docs/appveyor-yml init: - git config --global core.autocrlf input # what combinations to test environment: matrix: - nodejs_version: 0.10 - nodejs_version: 0.11 - nodejs_version: 0.12 install: - ps: Install-Product node $env:nodejs_version x64 - npm install -g gulp - npm install build: off test_script: - node --version - npm --version - ps: gulp test - cmd: gulp test
Disable macos on GitHub Actions
name: CI on: - push jobs: test: name: Test runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-18.04 - macos-latest ruby_version: - 2.6.x - 2.5.x - 2.4.x python_version: - 3.8.x - 3.7.x - 3.6.x - 2.7.x python_architecture: - x64 steps: - name: Setup Ruby if: matrix.ruby_version != 'master-nightly' uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby_version }} - name: Setup Python uses: actions/setup-python@v1 with: python-version: ${{ matrix.python_version }} architecture: ${{ matrix.python_architecture }} - name: Checkout uses: actions/checkout@v1 with: fetch-depth: 1 - name: Prepare environment run: | gem install bundler - name: Install requirements run: | pip install --user numpy bundle install - name: Compile pycall.so run: | bundle exec rake compile - name: Python investigator run: | python lib/pycall/python/investigator.py - name: Test run: | PYTHON=python bundle exec rake
name: CI on: - push jobs: test: name: Test runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-18.04 #- macos-latest ruby_version: - 2.6.x - 2.5.x - 2.4.x python_version: - 3.8.x - 3.7.x - 3.6.x - 2.7.x python_architecture: - x64 steps: - name: Setup Ruby if: matrix.ruby_version != 'master-nightly' uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby_version }} - name: Setup Python uses: actions/setup-python@v1 with: python-version: ${{ matrix.python_version }} architecture: ${{ matrix.python_architecture }} - name: Checkout uses: actions/checkout@v1 with: fetch-depth: 1 - name: Prepare environment run: | gem install bundler - name: Install requirements run: | pip install --user numpy bundle install - name: Compile pycall.so run: | bundle exec rake compile - name: Python investigator run: | python lib/pycall/python/investigator.py - name: Test run: | PYTHON=python bundle exec rake
Revert "Use old bundler again"
machine: pre: - sudo curl --output /usr/local/bin/phantomjs https://s3.amazonaws.com/circle-downloads/phantomjs-2.1.1 - gem uninstall bundler - gem install bundler -v 1.13.7 database: post: - ruby groonga/init.rb
machine: pre: - sudo curl --output /usr/local/bin/phantomjs https://s3.amazonaws.com/circle-downloads/phantomjs-2.1.1 - gem install bundler -v 1.13.7 database: post: - ruby groonga/init.rb
Change to skip example group gems
--- install: - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - gem install bundler -v '< 2.0' - bundle install before_test: - ruby -v - gem -v - bundle -v build: off test_script: - bundle exec rake ci environment: matrix: - ruby_version: "200" - ruby_version: "200-x64" - ruby_version: "21" - ruby_version: "21-x64" - ruby_version: "22" - ruby_version: "22-x64" - ruby_version: "23" - ruby_version: "23-x64" - ruby_version: "24" - ruby_version: "24-x64" - ruby_version: "25" - ruby_version: "25-x64" - ruby_version: "26" - ruby_version: "26-x64" matrix: allow_failures: - ruby_version: "200" - ruby_version: "200-x64" - ruby_version: "21" - ruby_version: "21-x64"
--- install: - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - gem install bundler -v '< 2.0' - bundle install --without examples before_test: - ruby -v - gem -v - bundle -v build: off test_script: - bundle exec rake ci environment: matrix: - ruby_version: "200" - ruby_version: "200-x64" - ruby_version: "21" - ruby_version: "21-x64" - ruby_version: "22" - ruby_version: "22-x64" - ruby_version: "23" - ruby_version: "23-x64" - ruby_version: "24" - ruby_version: "24-x64" - ruby_version: "25" - ruby_version: "25-x64" - ruby_version: "26" - ruby_version: "26-x64" matrix: allow_failures: - ruby_version: "200" - ruby_version: "200-x64" - ruby_version: "21" - ruby_version: "21-x64"
Fix name of Rust binary.
environment: matrix: - TARGET: x86_64-pc-windows-msvc - TARGET: i686-pc-windows-msvc - TARGET: i686-pc-windows-gnu install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-stable-${env:TARGET}.exe" - rust-stable-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - SET PATH=%PATH%;C:\MinGW\bin - rustc -V - cargo -V build: false test_script: - cargo test --verbose
environment: matrix: - TARGET: x86_64-pc-windows-msvc - TARGET: i686-pc-windows-msvc - TARGET: i686-pc-windows-gnu install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe" - rust-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - SET PATH=%PATH%;C:\MinGW\bin - rustc -V - cargo -V build: false test_script: - cargo test --verbose
Change CI minimum tested version to 1.46
environment: matrix: - TARGET: x86_64-pc-windows-msvc VERSION: nightly - TARGET: i686-pc-windows-msvc VERSION: nightly - TARGET: x86_64-pc-windows-gnu VERSION: nightly - TARGET: i686-pc-windows-gnu VERSION: 1.40.0 access_token: secure: ZxcrtxQXwszRYNN6c1ZIagczEqzmQQZeYHY58izcmF0jdq/cptxJvFUoVxDmnoqj install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:VERSION}-${env:TARGET}.exe" -FileName "rust-nightly.exe" - ps: .\rust-nightly.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null - ps: $env:PATH="$env:PATH;C:\rust\bin" - rustc -vV - cargo -vV - echo install build: off test_script: # TODO remove this loop when server 2016 lands on appveyor; related to https://github.com/steffengy/schannel-rs/issues/8 - set RUST_BACKTRACE=1 - ps: for($i=1; $i -le 3; $i++) { cmd /c "cargo test 2>&1"; if ($?) { break } }
environment: matrix: - TARGET: x86_64-pc-windows-msvc VERSION: nightly - TARGET: i686-pc-windows-msvc VERSION: nightly - TARGET: x86_64-pc-windows-gnu VERSION: nightly - TARGET: i686-pc-windows-gnu VERSION: 1.46.0 access_token: secure: ZxcrtxQXwszRYNN6c1ZIagczEqzmQQZeYHY58izcmF0jdq/cptxJvFUoVxDmnoqj install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:VERSION}-${env:TARGET}.exe" -FileName "rust-nightly.exe" - ps: .\rust-nightly.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null - ps: $env:PATH="$env:PATH;C:\rust\bin" - rustc -vV - cargo -vV - echo install build: off test_script: # TODO remove this loop when server 2016 lands on appveyor; related to https://github.com/steffengy/schannel-rs/issues/8 - set RUST_BACKTRACE=1 - ps: for($i=1; $i -le 3; $i++) { cmd /c "cargo test 2>&1"; if ($?) { break } }
Add AppVeyor environment vars to speed up CI builds
version: '0.9.0.{build}' image: Visual Studio 2017 RC clone_depth: 10 skip_tags: true branches: only: - master - develop install: - ps: | Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null Install-Module InvokeBuild -RequiredVersion 3.2.1 -Scope CurrentUser -Force | Out-Null build_script: - ps: Invoke-Build -Configuration Release # The build script takes care of the tests test: off
version: '0.9.0.{build}' image: Visual Studio 2017 RC clone_depth: 10 skip_tags: true branches: only: - master - develop environment: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Don't download unneeded packages DOTNET_CLI_TELEMETRY_OPTOUT: true # Don't send telemetry install: - ps: | Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null Install-Module InvokeBuild -RequiredVersion 3.2.1 -Scope CurrentUser -Force | Out-Null build_script: - ps: Invoke-Build -Configuration Release # The build script takes care of the tests test: off
Add local bin to path
version: 0.9.{build} image: Visual Studio 2017 configuration: Release platform: x64 install: - choco install make mingw - dir c:\tools\mingw64\bin - set PATH=c:\tools\mingw64\bin;%PATH% build_script: - set BUILD_DIR=%cd% - echo %BUILD_DIR% - cd .. - curl -O http://luajit.org/download/LuaJIT-2.0.5.zip - unzip LuaJIT-2.0.5.zip - cd LuaJIT-2.0.5 - make install - cd %BUILD_DIR% - echo "Building project ..." - cmake . test: off # artifacts: # - path: x64/Release/myfavoriteproject.exe # - name: Release # deploy: # - provider: GitHub # - auth_token: # - secure: xxxxx
version: 0.9.{build} image: Visual Studio 2017 configuration: Release platform: x64 install: - choco install make mingw - dir c:\tools\mingw64\bin - set PATH=c:\tools\mingw64\bin;%PATH% - set PATH=/usr/local/bin build_script: - set BUILD_DIR=%cd% - echo %BUILD_DIR% - cd .. - curl -O http://luajit.org/download/LuaJIT-2.0.5.zip - unzip LuaJIT-2.0.5.zip - cd LuaJIT-2.0.5 - make install - cd %BUILD_DIR% - cmake . test: off # artifacts: # - path: x64/Release/myfavoriteproject.exe # - name: Release # deploy: # - provider: GitHub # - auth_token: # - secure: xxxxx
Update go version in CI
version: "1.0.{build}" stack: go 1.11 clone_folder: c:\gopath\src\github.com\capnspacehook\taskmaster environment: GOPATH: c:\gopath matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 GOARCH: 386 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 GOARCH: amd64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 GOARCH: 386 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 GOARCH: amd64 platform: - x64 build_script: - cd c:\gopath\src\github.com\capnspacehook\taskmaster - go get -d -v ./... - go build -v test_script: - cd c:\gopath\src\github.com\capnspacehook\taskmaster - go test -cover -race
version: "1.0.{build}" stack: go 1.14 clone_folder: c:\gopath\src\github.com\capnspacehook\taskmaster environment: GOPATH: c:\gopath matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 GOARCH: 386 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 GOARCH: amd64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 GOARCH: 386 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 GOARCH: amd64 platform: - x64 build_script: - cd c:\gopath\src\github.com\capnspacehook\taskmaster - go get -d -v ./... - go build test_script: - cd c:\gopath\src\github.com\capnspacehook\taskmaster - go test -cover
Add after build to generate nuget pack
configuration: Release image: Visual Studio 2015 #restore NuGet before_build: - nuget restore Globant.Selenium.Axe\Globant.Selenium.Axe.sln #build solution build: project: Globant.Selenium.Axe\Globant.Selenium.Axe.sln verbosity: normal publish_wap: true artifacts: - path: '**\*.nupkg' # find all NuGet packages recursively #Push to nuget deploy: provider: NuGet api_key: secure: wO5eiWkOc3xv1qM1mChKx6weYq9h795U6u5NJg6kqwdSgsXZVCXjQJk6G05MuPKC skip_symbols: false artifact: /.*\.nupkg/
configuration: Release image: Visual Studio 2015 #restore NuGet before_build: - nuget restore Globant.Selenium.Axe\Globant.Selenium.Axe.sln #build solution build: project: Globant.Selenium.Axe\Globant.Selenium.Axe.sln verbosity: normal publish_wap: true after_build: - nuget pack Globant.Selenium.Axe\Globant.Selenium.Axe\Globant.Selenium.Axe.nuspec -Version %appveyor_build_version% - appveyor PushArtifact Globant.Selenium.Axe.%appveyor_build_version%.nupkg #Push to nuget deploy: provider: NuGet api_key: secure: wO5eiWkOc3xv1qM1mChKx6weYq9h795U6u5NJg6kqwdSgsXZVCXjQJk6G05MuPKC skip_symbols: false artifact: /.*\.nupkg/
Apply Infopen Ansible role template 0.36.0
--- name: CI on: pull_request: null push: null jobs: tests: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8] ansible-version: [2.8, 2.9] steps: - name: Checkout code uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Run tests env: MOLECULE_OPTIONS: '' TOXENV: py${{ matrix.python-version }}-ansible${{ matrix.ansible-version }} run: | tox release: if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') needs: - tests runs-on: ubuntu-latest steps: - name: Create Release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: ${{ github.ref }} body: '' draft: false prerelease: false - name: Upload to galaxy uses: robertdebock/galaxy-action@1.0.3 with: galaxy_api_key: ${{ secrets.galaxy_api_key }}
--- name: CI on: pull_request: null push: null jobs: tests: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8] ansible-version: [2.8, 2.9] steps: - name: Checkout code uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Run tests env: MOLECULE_OPTIONS: '' TOXENV: py${{ matrix.python-version }}-ansible${{ matrix.ansible-version }} run: | tox release: if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') needs: - tests runs-on: ubuntu-latest steps: - name: Upload to galaxy uses: robertdebock/galaxy-action@1.0.3 with: galaxy_api_key: ${{ secrets.galaxy_api_key }} - name: Create Release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: ${{ github.ref }} body: '' draft: false prerelease: false
Use --arch for fedora LXC example
device_type: lxc job_name: lxc-pipeline timeouts: job: minutes: 15 action: minutes: 5 priority: medium visibility: public metadata: source: https://git.linaro.org/lava-team/refactoring.git path: lxc-fedora.yaml protocols: lava-lxc: name: pipeline-lxc-test distribution: fedora release: '23' actions: - deploy: timeout: minutes: 30 to: lxc os: fedora - boot: prompts: - '[root@(.*) /]#' timeout: minutes: 5 method: lxc - test: timeout: minutes: 5 definitions: - repository: git://git.linaro.org/people/senthil.kumaran/test-definitions.git from: git path: fedora/echo-pass-fail-error-test.yaml name: echo-pass-fail-error-test
device_type: lxc job_name: lxc-pipeline timeouts: job: minutes: 15 action: minutes: 5 priority: medium visibility: public metadata: source: https://git.linaro.org/lava-team/refactoring.git path: lxc-fedora.yaml protocols: lava-lxc: name: pipeline-lxc-test distribution: fedora release: '23' arch: amd64 actions: - deploy: timeout: minutes: 30 to: lxc os: fedora - boot: prompts: - '[root@(.*) /]#' timeout: minutes: 5 method: lxc - test: timeout: minutes: 5 definitions: - repository: git://git.linaro.org/people/senthil.kumaran/test-definitions.git from: git path: fedora/echo-pass-fail-error-test.yaml name: echo-pass-fail-error-test
Remove noisy arrayCounter from config fields
- builtin.parameters.string: name: prefix description: The root PV for the all records - asyn.parts.AsynOutportPart: name: out description: Array outport name rbv: $(prefix):PortName_RBV outport: NDArray - ca.parts.CABooleanPart: name: arrayCallbacks description: Whether to produce images or not pv: $(prefix):ArrayCallbacks rbvSuff: _RBV widget: checkbox - ca.parts.CALongPart: name: arrayCounter description: Current unique id number for frame pv: $(prefix):ArrayCounter rbvSuff: _RBV widget: textinput - ca.parts.CALongPart: name: uniqueId description: Current unique id number for frame rbv: $(prefix):UniqueId_RBV widget: textupdate - ca.parts.CACharArrayPart: name: attributesFile description: Filename for NDAttributes pv: $(prefix):NDAttributesFile widget: textinput
- builtin.parameters.string: name: prefix description: The root PV for the all records - asyn.parts.AsynOutportPart: name: out description: Array outport name rbv: $(prefix):PortName_RBV outport: NDArray - ca.parts.CABooleanPart: name: arrayCallbacks description: Whether to produce images or not pv: $(prefix):ArrayCallbacks rbvSuff: _RBV widget: checkbox - ca.parts.CALongPart: name: arrayCounter description: Current unique id number for frame pv: $(prefix):ArrayCounter rbvSuff: _RBV widget: textinput config: False - ca.parts.CALongPart: name: uniqueId description: Current unique id number for frame rbv: $(prefix):UniqueId_RBV widget: textupdate - ca.parts.CACharArrayPart: name: attributesFile description: Filename for NDAttributes pv: $(prefix):NDAttributesFile widget: textinput
Replace npm update with npm install
name: CI on: push: branches: - master jobs: build: name: Build and deploy to test system runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 - name: NPM Update run: npm update --dev - name: NPM Lint run: npm run lint - name: NPM Test run: npm run test - name: NPM Build run: npm run build:nostart
name: CI on: push: branches: - master jobs: build: name: Build and deploy to test system runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 - name: NPM Install run: npm install - name: NPM Lint run: npm run lint - name: NPM Test run: npm run test - name: NPM Build run: npm run build:nostart
Update event name in GitHub Action
name: Publish Python 🐍 package on: release: types: [published] jobs: build-n-publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: "3.7" - name: Build distribution run: | pip install setuptools_scm wheel python3 setup.py sdist bdist_wheel - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@master with: user: __token__ password: ${{ secrets.pypi_password }} - name: Publish distribution 📦 to Test PyPI uses: pypa/gh-action-pypi-publish@master with: user: __token__ password: ${{ secrets.test_pypi_password }} repository_url: https://test.pypi.org/legacy/
name: Publish Python 🐍 package on: [push] jobs: build-n-publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: "3.7" - name: Build distribution run: | pip install setuptools_scm wheel python3 setup.py sdist bdist_wheel - name: Publish distribution 📦 to PyPI if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master with: user: __token__ password: ${{ secrets.pypi_password }} - name: Publish distribution 📦 to Test PyPI if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master with: user: __token__ password: ${{ secrets.test_pypi_password }} repository_url: https://test.pypi.org/legacy/
Switch to npx because yarn global add requires more setup
name: Release on: push: branches: [master] jobs: build-release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup Node JS uses: actions/setup-node@v1 with: node-version: 12.x - run: yarn install --ignore-engines - run: yarn lint:nofix - run: yarn test - name: Release to npm 🚀 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: yarn global add semantic-release && semantic-release
name: Release on: push: branches: [master] jobs: build-release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup Node JS uses: actions/setup-node@v1 with: node-version: 12.x - run: yarn install --ignore-engines - run: yarn lint:nofix - run: yarn test - name: Release to npm 🚀 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release
Add uefi support for computehci
#Ironic profile matching for uefi boot_mode --- uefi: compute: "compute" ceph: "ceph-storage" swift: "swift-storage" controller: "control" ironic: "ironic"
#Ironic profile matching for uefi boot_mode --- uefi: compute: "compute" computehci: "computehci" ceph: "ceph-storage" swift: "swift-storage" controller: "control" ironic: "ironic"
Create private network and subnet in vagrant
--- include: default: - profile::network::localdns profile::openstack::adminrc::cacert: '/opt/himlar/provision/ca/certs/ca-chain.cert.pem'
--- include: default: - profile::network::localdns profile::openstack::adminrc::cacert: '/opt/himlar/provision/ca/certs/ca-chain.cert.pem' profile::openstack::resource::networks: private: name: 'private' admin_state_up: true shared: true tenant_name: 'openstack' provider_network_type: 'local' profile::openstack::resource::subnets: private: name: 'private' cidr: '10.1.0.0/24' ip_version: '4' allocation_pools: - 'start=10.1.0.100,end=10.1.0.150' network_name: 'private' tenant_name: 'openstack'
Install docker-py to control Docker from Ansible
--- # Cleanup old configurations and software - hosts: installation become: no vars_files: - "{{ play_dir }}/vars/common.yml" - "{{ play_dir }}/roles/versions.yml" roles: - role: remove-apps old_apps: - /ldsm - /federationdb - hosts: managed become: yes vars_files: - "{{ play_dir }}/vars/common.yml" - "{{ play_dir }}/roles/versions.yml" tasks: - name: Remove old files file: path: "{{ item }}" state: absent with_items: - /srv/docker/postgres - /opt/analytics-database/migration/V1.01__r-linear-regression-create-result-table.sql - /opt/analytics-database/migration/V1.02__r-box-stats-create-result-table.sql - name: Remove old Docker images docker_image: name: "{{ item }}" state: absent with_items: - postgres:9.3.9 - postgres:9.4.4
--- # Cleanup old configurations and software - hosts: installation become: no vars_files: - "{{ play_dir }}/vars/common.yml" - "{{ play_dir }}/roles/versions.yml" roles: - role: remove-apps old_apps: - /ldsm - /federationdb - hosts: managed become: yes vars_files: - "{{ play_dir }}/vars/common.yml" - "{{ play_dir }}/roles/versions.yml" tasks: - name: Remove old files file: path: "{{ item }}" state: absent with_items: - /srv/docker/postgres - /opt/analytics-database/migration/V1.01__r-linear-regression-create-result-table.sql - /opt/analytics-database/migration/V1.02__r-box-stats-create-result-table.sql - name: Install docker-py to control Docker from Ansible apt: pkg=python-docker state=present - name: Remove old Docker images docker_image: name: "{{ item }}" state: absent with_items: - postgres:9.3.9 - postgres:9.4.4
Move ChIPseq software version numbers to the bottom of the MultiQC report.
extra_fn_clean_exts: - _R1 - _R2 - .R1 - .R2 - .sort - .stats report_comment: > This report has been generated by the <a href="https://github.com/SciLifeLab/NGI-ChIPseq" target="_blank">NGI-ChIPseq</a> analysis pipeline. For information about how to interpret these results, please see the <a href="https://github.com/SciLifeLab/NGI-ChIPseq/blob/master/docs/output.md" target="_blank">documentation</a>. swedac_accredited: false custom_data: cross_correlation: sp: fn: 'cross_correlation_processed.txt' id: 'phantompeakqualtools' section_name: 'Phantompeakqualtools' description: 'NSC (normalised strand cross-correlation coefficient) and RSC (relative strand cross-correlation coefficient) values.' plot_type: 'table' headers: NSC: {} RSC: {}
extra_fn_clean_exts: - _R1 - _R2 - .R1 - .R2 - .sort - .stats report_comment: > This report has been generated by the <a href="https://github.com/SciLifeLab/NGI-ChIPseq" target="_blank">NGI-ChIPseq</a> analysis pipeline. For information about how to interpret these results, please see the <a href="https://github.com/SciLifeLab/NGI-ChIPseq/blob/master/docs/output.md" target="_blank">documentation</a>. swedac_accredited: false custom_data: cross_correlation: sp: fn: 'cross_correlation_processed.txt' id: 'phantompeakqualtools' section_name: 'Phantompeakqualtools' description: 'NSC (normalised strand cross-correlation coefficient) and RSC (relative strand cross-correlation coefficient) values.' plot_type: 'table' headers: NSC: {} RSC: {} report_section_order: ngi-chipseq: order: -1000
Update from Hackage at 2022-01-01T01:59:54Z
homepage: https://toktok.github.io/ changelog-type: '' hash: 49ea11ed0065138791e52bf49dc6253ee49e52655f55c8dad6fddbb98a4554c5 test-bench-deps: ansi-wl-pprint: -any data-fix: -any base: <5 hspec: -any text: -any cimple: -any transformers-compat: -any maintainer: Iphigenia Df <iphydf@gmail.com> synopsis: Simple C-like programming language changelog: '' basic-deps: bytestring: -any ansi-wl-pprint: -any data-fix: -any base: <5 text: -any groom: -any filepath: -any cimple: -any array: -any containers: -any mtl: -any recursion-schemes: -any aeson: -any transformers-compat: -any all-versions: - 0.0.1 - 0.0.2 - 0.0.3 - 0.0.4 - 0.0.5 - 0.0.6 - 0.0.7 author: Iphigenia Df <iphydf@gmail.com> latest: 0.0.7 description-type: haddock description: Parser and AST for Cimple, a simple C-like programming language. license-name: GPL-3.0-only
homepage: https://toktok.github.io/ changelog-type: '' hash: 8a2f60483955a57e82f73eb800d1bfc868fcc799c68e2c21dde7a80b4ea2cbf2 test-bench-deps: ansi-wl-pprint: -any data-fix: -any base: <5 hspec: -any text: -any cimple: -any transformers-compat: -any maintainer: Iphigenia Df <iphydf@gmail.com> synopsis: Simple C-like programming language changelog: '' basic-deps: bytestring: -any ansi-wl-pprint: -any data-fix: -any base: <5 text: -any groom: -any filepath: -any cimple: -any array: -any containers: -any mtl: -any recursion-schemes: -any aeson: -any transformers-compat: -any all-versions: - 0.0.1 - 0.0.2 - 0.0.3 - 0.0.4 - 0.0.5 - 0.0.6 - 0.0.7 - 0.0.8 author: Iphigenia Df <iphydf@gmail.com> latest: 0.0.8 description-type: haddock description: Parser and AST for Cimple, a simple C-like programming language. license-name: GPL-3.0-only
Update from Hackage at 2017-08-28T19:55:54Z
homepage: https://github.com/pinktrink/deburr changelog-type: '' hash: 72ad4e75ed688e775978eb4dfc9f39d80c27a96095183d07cc37f35123ae4b61 test-bench-deps: base: -any hspec: -any QuickCheck: -any deburr: -any maintainer: lolbummer@gmail.com synopsis: Convert Unicode characters with burrs to their ASCII counterparts. changelog: '' basic-deps: base: ! '>=4.7 && <5' all-versions: - '0.1.0.0' author: Chloe Kever latest: '0.1.0.0' description-type: markdown description: ! '# deburr ' license-name: MIT
homepage: https://github.com/pinktrink/deburr changelog-type: '' hash: 165ae1b143ce573b5da4663bd758b6b7096b2396d45f36c8b4750c23a3056029 test-bench-deps: base: -any hspec: -any QuickCheck: -any deburr: -any maintainer: lolbummer@gmail.com synopsis: Convert Unicode characters with burrs to their ASCII counterparts. changelog: '' basic-deps: base: ! '>=4.7 && <5' all-versions: - '0.1.0.0' - '0.1.0.1' author: Chloe Kever latest: '0.1.0.1' description-type: markdown description: ! '# deburr A small package exposing the deburr function, which converts unicode characters with burrs (umlauts, accents, etc) to their ASCII counterparts. The function intelligently handles capitals and some other edge cases. ' license-name: MIT
Add nginx 1.13.6, remove nginx 1.13.5
--- language: staticfile default_versions: - name: nginx version: 1.13.5 dependencies: - name: nginx version: 1.13.5 uri: https://buildpacks.cloudfoundry.org/dependencies/nginx/nginx-1.13.5-linux-x64-1dda12b3.tgz md5: 1dda12b3af29313b1734b4ec988e5e32 cf_stacks: - cflinuxfs2 pre_package: scripts/build.sh include_files: - CHANGELOG - CONTRIBUTING.md - ISSUE_TEMPLATE - LICENSE - NOTICE - PULL_REQUEST_TEMPLATE - README.md - VERSION - bin/compile - bin/detect - bin/finalize - bin/release - bin/supply - manifest.yml
--- language: staticfile default_versions: - name: nginx version: 1.13.6 dependencies: - name: nginx version: 1.13.6 uri: https://buildpacks.cloudfoundry.org/dependencies/nginx/nginx-1.13.6-linux-x64-b624d604.tgz md5: b624d604ff8aca9889b14cf76dcaa1a2 cf_stacks: - cflinuxfs2 pre_package: scripts/build.sh include_files: - CHANGELOG - CONTRIBUTING.md - ISSUE_TEMPLATE - LICENSE - NOTICE - PULL_REQUEST_TEMPLATE - README.md - VERSION - bin/compile - bin/detect - bin/finalize - bin/release - bin/supply - manifest.yml
Correct indention of YAML field in subchartB
# Default values for subchart. # This is a YAML-formatted file. # Declare variables to be passed into your templates. service: name: nginx type: ClusterIP externalPort: 80 internalPort: 80 SCBdata: SCBbool: true SCBfloat: 7.77 SCBint: 33 SCBstring: "boba" exports: SCBexported1: SCBexported1A: SCBexported1B: 1965 SCBexported2: SCBexported2A: "blaster" global: kolla: nova: api: all: port: 8774 metadata: all: port: 8775
# Default values for subchart. # This is a YAML-formatted file. # Declare variables to be passed into your templates. service: name: nginx type: ClusterIP externalPort: 80 internalPort: 80 SCBdata: SCBbool: true SCBfloat: 7.77 SCBint: 33 SCBstring: "boba" exports: SCBexported1: SCBexported1A: SCBexported1B: 1965 SCBexported2: SCBexported2A: "blaster" global: kolla: nova: api: all: port: 8774 metadata: all: port: 8775
Add container for MySQL with Q4M
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: CI on: push: branches: [ master ] pull_request: branches: [ master ] workflow_dispatch: jobs: test: runs-on: ubuntu-latest strategy: max-parallel: 1 fail-fast: true matrix: ruby: [2.4, 2.5, 2.6, 2.7] steps: - uses: actions/checkout@v2 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning): # uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1 with: bundler-cache: true ruby-version: ${{ matrix.ruby }} - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rspec
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: CI on: push: branches: [ master ] pull_request: branches: [ master ] workflow_dispatch: jobs: test: runs-on: ubuntu-latest strategy: max-parallel: 1 fail-fast: true matrix: ruby: [2.4, 2.5, 2.6, 2.7] services: mysql: image: iwata/centos6-mysql56-q4m-hs ports: - 3306:3306 steps: - uses: actions/checkout@v2 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning): # uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1 with: bundler-cache: true ruby-version: ${{ matrix.ruby }} - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rspec
Update docker/build-push-action action to v3
name: Continuous Integration on: pull_request: branches: - main push: branches: - main tags: - v* jobs: publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Prepare id: prepare run: | TAG=${GITHUB_REF##*/} echo ::set-output name=tag_name::${TAG} - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login do docker.io if: startsWith(github.ref, 'refs/tags/') run: docker login -u navicore -p ${{ secrets.DOCKER_TOKEN }} - name: build and publish image if: startsWith(github.ref, 'refs/tags/') id: docker_build uses: docker/build-push-action@v2 with: context: . file: ./Dockerfile platforms: linux/amd64,linux/arm64 push: ${{ startsWith(github.ref, 'refs/tags/') }} tags: | navicore/teams-notification-resource:${{ steps.prepare.outputs.tag_name }} navicore/teams-notification-resource:latest
name: Continuous Integration on: pull_request: branches: - main push: branches: - main tags: - v* jobs: publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Prepare id: prepare run: | TAG=${GITHUB_REF##*/} echo ::set-output name=tag_name::${TAG} - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login do docker.io if: startsWith(github.ref, 'refs/tags/') run: docker login -u navicore -p ${{ secrets.DOCKER_TOKEN }} - name: build and publish image if: startsWith(github.ref, 'refs/tags/') id: docker_build uses: docker/build-push-action@v3 with: context: . file: ./Dockerfile platforms: linux/amd64,linux/arm64 push: ${{ startsWith(github.ref, 'refs/tags/') }} tags: | navicore/teams-notification-resource:${{ steps.prepare.outputs.tag_name }} navicore/teams-notification-resource:latest
Update from Forestry.io - Updated Forestry configuration
--- label: Posts hide_body: false is_partial: false fields: - type: text default: post label: Layout name: layout hidden: true - type: textarea name: summary label: Summary description: Meta description config: required: true - type: select config: source: type: simple options: - tutorials - research - tools - ai required: true label: Category name: categories - type: text name: keywords label: Keywords - type: tag_list name: tags label: Tags pages: - _posts/test.md - _posts/2018-06-10-chatbots-a-different-approach-for-messaging.md
--- label: Posts hide_body: false is_partial: false fields: - type: text default: post label: Layout name: layout hidden: true - type: textarea name: summary label: Summary description: Meta description config: required: true - type: select config: source: type: simple options: - tutorials - research - tools - ai required: true label: Category name: categories default: tutorials - type: text name: keywords label: Keywords - type: tag_list name: tags label: Tags - type: list label: Redirect From name: redirect_from pages: - _posts/test.md - _posts/2018-06-10-chatbots-a-different-approach-for-messaging.md
Remove Travis caching for the time being
sudo: false notifications: email: false language: python python: - '3.5' - '3.6' addons: postgresql: "9.5" cache: pip: true directories: - /home/travis/virtualenv - $HOME/.pip-cache/ - $HOME/.tox/ - .tox install: - pip install tox coveralls tox-travis # Make sure pip is at the latest version: - pip install -U pip script: - tox after_success: - coveralls before_cache: - rm -f .tox/py35-django19/log/*.log - rm -f .tox/py36-django19/log/*.log - rm -f .cache/pip/log/*.log
sudo: false notifications: email: false language: python python: - '3.5' - '3.6' addons: postgresql: "9.5" install: - pip install tox coveralls tox-travis # Make sure pip is at the latest version: - pip install -U pip script: - tox after_success: - coveralls
Deploy via Travis (fix at config)
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - '6' before_install: - npm i -g npm@^3.0.0 before_script: - npm prune script: - npm test branches: except: - /^v\d+\.\d+\.\d+$/ deploy: provider: script script: npm run semantic-release branch: next
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - '6' before_install: - npm i -g npm@^3.0.0 before_script: - npm prune script: - npm test branches: except: - /^v\d+\.\d+\.\d+$/ deploy: provider: script script: npm run semantic-release on: branch: next
Add CI config for node v8
sudo: false language: node_js node_js: - "6" - "5" - "4"
sudo: false language: node_js node_js: - "stable" - "6" - "4"
Create empty Flask settings file.
--- - name: Checkout kernel-ci-frontend code git: repo=http://git.linaro.org/git/infrastructure/kernel-ci-frontend.git dest={{ install_base }}/{{ hostname }} version={{ git_head }} update=yes tags: - install - app notify: - reload-uwsgi - name: Fix cloned repo permissions file: path={{ install_base }}/{{ hostname }} state=directory recurse=yes owner={{ app_user }} group={{ app_user }} tags: - install - app - name: Install pip requirements pip: requirements={{ install_base }}/{{ hostname }}/requirements.txt virtualenv={{ install_base }}/.venv/{{ hostname }} tags: - install - app notify: - reload-uwsgi - name: Fix virtualenv permissions file: path={{ install_base }}/.venv/{{ hostname }} state=directory recurse=yes owner={{ app_user }} group={{ app_user }} tags: - install - app - name: Copy app settings file template: src=flask_settings dest=/etc/linaro/kernelci-frontend.cfg owner=root group=root mode=0644 tags: - install - app - secrets
--- - name: Checkout kernel-ci-frontend code git: repo=http://git.linaro.org/git/infrastructure/kernel-ci-frontend.git dest={{ install_base }}/{{ hostname }} version={{ git_head }} update=yes tags: - install - app notify: - reload-uwsgi - name: Fix cloned repo permissions file: path={{ install_base }}/{{ hostname }} state=directory recurse=yes owner={{ app_user }} group={{ app_user }} tags: - install - app - name: Install pip requirements pip: requirements={{ install_base }}/{{ hostname }}/requirements.txt virtualenv={{ install_base }}/.venv/{{ hostname }} tags: - install - app notify: - reload-uwsgi - name: Fix virtualenv permissions file: path={{ install_base }}/.venv/{{ hostname }} state=directory recurse=yes owner={{ app_user }} group={{ app_user }} tags: - install - app - name: Copy app settings file template: src=flask_settings dest=/etc/linaro/kernelci-frontend.cfg owner=root group=root mode=0644 tags: - install - app - secrets - name: Create empty flask_settings file: path=/etc/flask_settings owner=root group=root mode=0644 state=touch tags: - install - app
Install PyYAML from apt, should be quicker
language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - pypy virtualenv: system_site_packages: true before_script: - source test.env install: - export PYTHONIOENCODING=UTF8 - python setup.py install - pip install coveralls --use-mirrors script: - coverage run tools/testall.py after_success: coveralls
language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - pypy virtualenv: system_site_packages: true before_install: - sudo apt-get install python-yaml python3-yaml install: - export PYTHONIOENCODING=UTF8 - python setup.py install - pip install coveralls --use-mirrors before_script: - source test.env script: - coverage run tools/testall.py after_success: coveralls
Clean up Travis CI config
language: ruby bundler_args: --without development rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode - rbx-2 before_install: - gem install bundler -v '>= 1.5.1'
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode - rbx-2 before_install: - gem install bundler -v '>= 1.5.1'
Drop tests for Node v4
language: node_js node_js: - 4 - 6 - 8 before_install: - npm i -g yarn@1.1.0 - yarn config set workspaces-experimental true script: - ./run-tests.sh
language: node_js node_js: - 6 - 8 before_install: - npm i -g yarn@1.1.0 - yarn config set workspaces-experimental true script: - ./run-tests.sh
Test (and allow failure of) Ruby 2.1.2
language: ruby services: - redis addons: postgresql: 9.3 rvm: - jruby-19mode - 2.0.0 - 2.1 jdk: oraclejdk7 matrix: fast_finish: true allow_failures: - rvm: 2.1 before_script: - sudo service mysql stop - redis-cli config set save "" - 'RAILS_ENV=test rake db:create db:structure:load --trace' script: - ./build.sh notifications: irc: irc.freenode.org#travis campfire: rooms: - secure: "FYd2nZjSOnzG0PoCfQ4mHYgjdj6W1C8jLoM6j+OsiLFDo37ShIwuMDjXkBNurUYY1ZyGLPZFngiC4QDZCw1RwefqMukjMqMG4BMt5SV3PNnodrJqLYcT6UfbzwDx8KaoiqClwBHGChzKj+2LgGSwhXxDwO7MqX4snJHTOLAwNy4=" template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (details: %{build_url}, changes: %{compare_url})'
language: ruby services: - redis addons: postgresql: 9.3 rvm: - jruby-19mode - 2.0.0 - 2.1.2 jdk: oraclejdk7 matrix: fast_finish: true allow_failures: - rvm: 2.1.2 before_script: - sudo service mysql stop - redis-cli config set save "" - 'RAILS_ENV=test rake db:create db:structure:load --trace' script: - ./build.sh notifications: irc: irc.freenode.org#travis campfire: rooms: - secure: "FYd2nZjSOnzG0PoCfQ4mHYgjdj6W1C8jLoM6j+OsiLFDo37ShIwuMDjXkBNurUYY1ZyGLPZFngiC4QDZCw1RwefqMukjMqMG4BMt5SV3PNnodrJqLYcT6UfbzwDx8KaoiqClwBHGChzKj+2LgGSwhXxDwO7MqX4snJHTOLAwNy4=" template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (details: %{build_url}, changes: %{compare_url})'
Install development dependencies on Travis as well
language: php php: - '5.6' - '7.0' - '7.1' - hhvm - nightly cache: directories: - $HOME/.composer/cache before_script: - composer validate - composer install --no-dev script: - bin/phpunit after_success: - composer require codeclimate/php-test-reporter dev-master - bin/test-reporter notifications: email: on_success: change on_failure: change addons: code_climate: repo_token: 5b8d35683519492fa56ed775ae82e48a6f59e44ab64aaf2e5d254b23fbb842ca
language: php php: - '5.6' - '7.0' - '7.1' - hhvm - nightly cache: directories: - $HOME/.composer/cache before_script: - composer validate - composer install script: - bin/phpunit after_success: - composer require codeclimate/php-test-reporter dev-master - bin/test-reporter notifications: email: on_success: change on_failure: change addons: code_climate: repo_token: 5b8d35683519492fa56ed775ae82e48a6f59e44ab64aaf2e5d254b23fbb842ca
Use export commands instead of env items
env: - LLVM=/usr/lib/llvm-3.2/bin - EMSCRIPTEN_DIR=/home/travis/build/xxuejie/mruby-js/webruby/modules/emscripten - BUILD_CONFIG=/home/travis/build/xxuejie/mruby-js/config/test_config.rb before_install: - sudo add-apt-repository ppa:h-rayflood/llvm -y - sudo apt-get update -y - sudo apt-get install llvm-3.2 clang-3.2 -y - git clone git://github.com/xxuejie/webruby.git - cd webruby - git submodule update --init # Lets emcc sets up the environment - ./modules/emscripten/emcc # Just copy-paste version of fix from https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm script: "rake mrbtest"
before_install: - export LLVM=/usr/lib/llvm-3.2/bin - export EMSCRIPTEN_DIR=/home/travis/build/xxuejie/mruby-js/webruby/modules/emscripten - export BUILD_CONFIG=/home/travis/build/xxuejie/mruby-js/config/test_config.rb - sudo add-apt-repository ppa:h-rayflood/llvm -y - sudo apt-get update -y - sudo apt-get install llvm-3.2 clang-3.2 -y - git clone git://github.com/xxuejie/webruby.git - cd webruby - git submodule update --init # Lets emcc sets up the environment - ./modules/emscripten/emcc # Just copy-paste version of fix from https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm script: "rake mrbtest"
Disable debug and reenable only info and stacktrace log in Travis
language: java jdk: oraclejdk8 script: ./gradlew build check --debug # --stacktrace --info
language: java jdk: oraclejdk8 script: ./gradlew build check --stacktrace --info
Add 0.12 and iojs to CI run.
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
sudo: false language: node_js node_js: - "0.11" - "0.10" - "0.12" - iojs before_install: - npm update -g npm - npm install -g bob coveralls --loglevel error script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls
Load fixtures required for testing.
language: php php: - 5.4 before_script: - cp app/config/parameters.yml.travis app/config/parameters.yml - composer install - app/console --env=test --quiet doctrine:database:create - app/console --env=test --quiet doctrine:schema:create script: phpunit -c app
language: php php: - 5.4 before_script: - cp app/config/parameters.yml.travis app/config/parameters.yml - composer install - app/console --env=test --quiet doctrine:database:create - app/console --env=test --quiet doctrine:schema:create - app/console --env=test --quiet doctrine:fixtures:load script: phpunit -c app
Drop MRI 2.1 test suite because of Rails 5
sudo: false before_install: - gem install bundler rvm: - '2.1' - '2.2' - '2.3.1'
sudo: false before_install: - gem install bundler rvm: - '2.2.3' - '2.3.3' - '2.4.0'
Downgrade validator for ci environment.
language: node_js sudo: false jdk: - oraclejdk8 addons: apt: packages: - oracle-java8-installer before_script: - java -version - export NU_VALIDATOR_JAR=$PWD/vnu/dist/vnu.jar - java -jar $NU_VALIDATOR_JAR --help before_install: - curl -L -O https://github.com/validator/validator/releases/download/16.1.1/vnu.jar_16.1.1.zip - unzip -o -d vnu vnu.jar_16.1.1.zip script: npm run cover node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "stable" after_success: - npm run coveralls
language: node_js sudo: false jdk: - oraclejdk8 addons: apt: packages: - oracle-java8-installer before_script: - java -version - export NU_VALIDATOR_JAR=$PWD/vnu/dist/vnu.jar - java -jar $NU_VALIDATOR_JAR --help before_install: - curl -L -O https://github.com/validator/validator/releases/download/15.6.29/vnu.jar_15.6.29.zip - unzip -o -d vnu vnu.jar_15.6.29.zip script: npm run cover node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "stable" after_success: - npm run coveralls
Remove old Node versions from Travis
language: node_js os: - linux - osx node_js: - "6" - "7" - "8" - "9" - "10" install: - yarn script: - yarn test after_success: - yarn global add codecov - codecov
language: node_js os: - linux - osx node_js: - "8" - "9" - "10" - "11" install: - yarn script: - yarn test after_success: - yarn global add codecov - codecov
Add Meteor to path for Travis-CI.
# .travis.yml automatically generated by ".travis.yml.sh" # Container-based builds used if "sudo: false" --> fast boot (1-6s) # https://docs.travis-ci.com/user/ci-environment/ sudo: false language: python env: - TOXENV="py27-django1.8" - TOXENV="py27-django1.9" - TOXENV="py33-django1.8" - TOXENV="py34-django1.8" - TOXENV="py34-django1.9" - TOXENV="py35-django1.8" - TOXENV="py35-django1.9" - TOXENV="pypy3-django1.8" - TOXENV="pypy3-django1.9" - TOXENV="pypy-django1.8" - TOXENV="pypy-django1.9" before_install: - curl https://install.meteor.com/ | sh install: - pip install -U tox coveralls setuptools script: - tox after_success: coveralls
# .travis.yml automatically generated by ".travis.yml.sh" # Container-based builds used if "sudo: false" --> fast boot (1-6s) # https://docs.travis-ci.com/user/ci-environment/ sudo: false language: python env: - TOXENV="py27-django1.8" - TOXENV="py27-django1.9" - TOXENV="py33-django1.8" - TOXENV="py34-django1.8" - TOXENV="py34-django1.9" - TOXENV="py35-django1.8" - TOXENV="py35-django1.9" - TOXENV="pypy3-django1.8" - TOXENV="pypy3-django1.9" - TOXENV="pypy-django1.8" - TOXENV="pypy-django1.9" before_install: - curl https://install.meteor.com/ | sh install: - pip install -U tox coveralls setuptools script: - PATH="$HOME/.meteor:$PATH" tox after_success: coveralls
Make sure Composer is up-to-date
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer install --dev --prefer-source script: ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml after_script: php vendor/bin/coveralls
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer self-update - composer install --dev --prefer-source script: ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml after_script: php vendor/bin/coveralls
Improve Travis CI build Performance
language: java install: mvn install -DskipTests=true -Dgpg.skip=true
language: java install: mvn install -DskipTests=true -Dgpg.skip=true cache: directories: - $HOME/.m2
Use hardcoded id for 10.2 simulator
language: objective-c osx_image: xcode8.2 before_script: - bundle install - cd Bootstrap ; bundle exec pod install --repo-update ; cd .. - export LANG=en_US.UTF-8 script: - set -o pipefail - xcodebuild -workspace 'Bootstrap/Bootstrap.xcworkspace' -sdk 'iphonesimulator' -scheme 'Bootstrap' -destination "name=iPhone 6,OS=9.3" -destination "name=iPhone 6,OS=10.2" clean build test | xcpretty --color --simple
language: objective-c osx_image: xcode8.2 before_script: - bundle install - cd Bootstrap ; bundle exec pod install --repo-update ; cd .. - export LANG=en_US.UTF-8 script: - set -o pipefail - xcodebuild -workspace 'Bootstrap/Bootstrap.xcworkspace' -sdk 'iphonesimulator' -scheme 'Bootstrap' -destination "name=iPhone 6,OS=9.3" -destination "platform=iOS Simulator,id=1FD54EA7-5A25-4D6F-8599-D6F7687DA4EE,OS=10.2" clean build test | xcpretty --color --simple
Add node 4.0 to Travis
language: node_js node_js: - "iojs" - "0.12" - "0.11" - "0.10" - "0.8" - "0.6"
language: node_js node_js: - "4.0" - "iojs" - "0.12" - "0.11" - "0.10" - "0.8" - "0.6"
Fix duplicate 2.7 in matrix
language: python python: 2.7 matrix: include: - python: "pypy" env: TOX_ENV=pypy - python: "3.4" env: TOX_ENV=py34 - python: "2.7" env: TOX_ENV=py27 install: - pip install tox script: - tox -e $TOX_ENV
language: python matrix: include: - python: "pypy" env: TOX_ENV=pypy - python: "3.4" env: TOX_ENV=py34 - python: "2.7" env: TOX_ENV=py27 install: - pip install tox script: - tox -e $TOX_ENV
Change codecov to coveralls for code coverage
language: go go: - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 - tip before_install: - sudo pip install codecov script: - go test after_success: - codecov notifications: email: recipients: - montana@montanaflynn.me on_success: change on_failure: always
language: go go: - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 - tip before_install: - go get golang.org/x/tools/cmd/cover - go get github.com/mattn/goveralls script: - go test -v -covermode=count -coverprofile=coverage.out after_success: - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN notifications: email: recipients: - montana@montanaflynn.me on_success: change on_failure: always
Disable ENA tests on Travis because the tests need the database
language: python python: - "2.7" # install dependencies install: pip install requests selenium # run tests script: - python rnacentral/apiv1/tests.py --base_url=http://test.rnacentral.org - python rnacentral/portal/tests/selenium_tests.py --base_url=http://test.rnacentral.org --driver=phantomjs - python rnacentral/apiv1/search/sequence/tests.py --base_url=http://test.rnacentral.org # define branches branches: only: - django
language: python python: - "2.7" # install dependencies install: pip install requests selenium # run tests script: - python rnacentral/apiv1/tests.py --base_url=http://test.rnacentral.org - python rnacentral/portal/tests/selenium_tests.py --base_url=http://test.rnacentral.org --driver=phantomjs # define branches branches: only: - django
Test with ruby 2.2.0 in Travis
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - jruby-18mode - jruby-19mode - rbx-2 matrix: allow_failures: - rvm: rbx-2 script: bundle exec rake spec_travis gemfile: .travis.gemfile before_script: - mysql -e 'create database sequel_test;' - psql -c 'create database sequel_test;' -U postgres
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.5 - 2.2.0 - jruby-18mode - jruby-19mode - rbx-2 matrix: allow_failures: - rvm: rbx-2 script: bundle exec rake spec_travis gemfile: .travis.gemfile before_script: - mysql -e 'create database sequel_test;' - psql -c 'create database sequel_test;' -U postgres
Remove iojs from Travis because it is not Node.js 4
sudo: false language: node_js node_js: - iojs - "0.12" - "stable"
sudo: false language: node_js node_js: - "0.12" - "stable"
Simplify Travis config and fix ChefDK 2.0 failures
sudo: required dist: trusty addons: apt: sources: - chef-stable-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" branches: only: - master services: docker env: matrix: # debian not tested due to travis only failures - INSTANCE=default-ubuntu-1404 - INSTANCE=default-ubuntu-1604 - INSTANCE=default-centos-6 - INSTANCE=default-centos-7 - INSTANCE=default-fedora-latest before_script: - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(/opt/chefdk/bin/chef shell-init bash)" - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/cookstyle --version - /opt/chefdk/embedded/bin/foodcritic --version script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml /opt/chefdk/embedded/bin/kitchen verify ${INSTANCE} matrix: include: - script: - /opt/chefdk/bin/chef exec delivery local all env: UNIT_AND_LINT=1
sudo: required dist: trusty addons: apt: sources: - chef-current-trusty packages: - chefdk # Don't `bundle install` which takes about 1.5 mins install: echo "skip bundle install" branches: only: - master services: docker env: matrix: # debian not tested due to travis only failures - INSTANCE=default-ubuntu-1404 - INSTANCE=default-ubuntu-1604 - INSTANCE=default-centos-6 - INSTANCE=default-centos-7 - INSTANCE=default-fedora-latest before_script: - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - eval "$(chef shell-init bash)" - chef --version - cookstyle --version - foodcritic --version script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE} matrix: include: - script: - chef exec delivery local all env: UNIT_AND_LINT=1
Test with Node 6 & latest
language: node_js addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 matrix: include: - node_js: '0.10' - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 5 env: COVERALLS=1 before_install: - export CXX=g++-4.8 after_success: - '[[ "$COVERALLS" ]] && node --expose-gc node_modules/gulp/bin/gulp coveralls'
language: node_js addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 matrix: include: - node_js: '0.10' - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 5 - node_js: 6 - node_js: node env: COVERALLS=1 before_install: - export CXX=g++-4.8 after_success: - '[[ "$COVERALLS" ]] && node --expose-gc node_modules/gulp/bin/gulp coveralls'
Drop Python 2.7 from tests, add Python 3.8.
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.7-dev" - "pypy" install: - pip install -r test-requirements.txt - pip install -e . script: - nosetests -q --with-coverage --cover-package=pycron sudo: false after_success: - coveralls
language: python python: - "3.4" - "3.5" - "3.6" - "3.7" - "3.8" - "pypy" install: - pip install -r test-requirements.txt - pip install -e . script: - nosetests -q --with-coverage --cover-package=pycron sudo: false after_success: - coveralls
Remove PHP 5.4 from Travis CI configuration
language: php php: - 5.4 - 5.5 - 5.6 - hhvm install: - composer install after_script: - vendor/bin/test-reporter --coverage-report=tests/log/coverage.xml
language: php php: - 5.5 - 5.6 - hhvm install: - composer install after_script: - vendor/bin/test-reporter --coverage-report=tests/log/coverage.xml
Revert "allow beta failures for glimmer 2"
--- language: node_js node_js: - "4" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-1.13 - 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-beta - env: EMBER_TRY_SCENARIO=ember-canary before_install: - npm config set spin false - npm install -g bower - bower --version - npm install phantomjs-prebuilt - phantomjs --version install: - npm install - bower install script: # Usually, it's ok to finish the test scenario without reverting # to the addon's original dependency state, skipping "cleanup". - ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
--- language: node_js node_js: - "4" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-1.13 - 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 bower - bower --version - npm install phantomjs-prebuilt - phantomjs --version install: - npm install - bower install script: # Usually, it's ok to finish the test scenario without reverting # to the addon's original dependency state, skipping "cleanup". - ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
Remove branch options in Travis config
language: csharp sudo: false dist: trusty env: global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 mono: none os: - linux - osx osx_image: xcode8.2 branches: only: - master - release - dev - /^(.*\/)?ci-.*$/ before_install: - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi before_script: - chmod +x ./build.sh script: - ./build.sh
language: csharp sudo: false dist: trusty env: global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 mono: none os: - linux - osx osx_image: xcode8.2 before_install: - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi before_script: - chmod +x ./build.sh script: - ./build.sh
Add instruction to sync the db
language: python python: - "3.4" install: - "pip install -r requirements.txt" - "pip install -e ." before_script: - sed -e "s/SECRET_KEY = ''/SECRET_KEY = 'test'/" goatctf/goatctf/settings.py.example > goatctf/goatctf/settings.py script: - cd goatctf/tests - py.test
language: python python: - "3.4" install: - "pip install -r requirements.txt" - "pip install -e ." before_script: - sed -e "s/SECRET_KEY = ''/SECRET_KEY = 'test'/" goatctf/goatctf/settings.py.example > goatctf/goatctf/settings.py - goatctf/manage.py syncdb script: - cd goatctf/tests - py.test
Revert "Adding heroku remote url."
dependencies: override: - npm install -g bower - npm install -g grunt-cli - npm install - bower install test: post: - grunt test deployment: production: branch: master commands: - grunt build - grunt buildcontrol --force
dependencies: override: - npm install -g bower - npm install -g grunt-cli - npm install - bower install test: post: - grunt test deployment: production: branch: master commands: - grunt build - grunt buildcontrol:heroku --force
Build on CircleCI against Node.js 8
version: 2 jobs: build: docker: - image: circleci/node:6 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: yarn test - run: cat ./coverage/lcov.info | COVERALLS_REPO_TOKEN=BUKBHQCYAXV0L2n07AwuVT0tktuAgsS3o ./node_modules/.bin/coveralls
version: 2 jobs: build: docker: - image: circleci/node:8 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: yarn test - run: cat ./coverage/lcov.info | COVERALLS_REPO_TOKEN=BUKBHQCYAXV0L2n07AwuVT0tktuAgsS3o ./node_modules/.bin/coveralls
Use a more modern Node version.
--- machine: python: version: 3.5.2 dependencies: override: - pip install -r requirements.txt -r requirements-dev.txt - cd client && npm install && cd - - cd client && bower install && cd - cache_directories: - "client/bower_components" - "client/node_modules" test: override: - python3 manage.py test - cd client && ./node_modules/ember-cli/bin/ember test && cd - - > flake8 accounts conductor planner support vendor
--- machine: python: version: 3.5.2 nodejs: version: 6.2.1 dependencies: override: - pip install -r requirements.txt -r requirements-dev.txt - cd client && npm install && cd - - cd client && bower install && cd - cache_directories: - "client/bower_components" - "client/node_modules" test: override: - python3 manage.py test - cd client && ./node_modules/ember-cli/bin/ember test && cd - - > flake8 accounts conductor planner support vendor
Bump actions/cache from 2.1.7 to 3.0.3
name: Continuous Integration on: push: branches: [ main ] pull_request: branches: [ main ] schedule: - cron: "0 7 */3 * *" jobs: build: runs-on: macos-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Set up JDK uses: actions/setup-java@v2.5.0 with: distribution: 'zulu' java-version: '11' - name: Setup Android SDK uses: android-actions/setup-android@v2 - name: Cache Gradle Home files uses: actions/cache@v2.1.7 continue-on-error: true with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-home-examples-${{ hashFiles('**/*.gradle') }} - name: Build ConnectBot run: ./gradlew build - name: Run instrument tests uses: Doist/android-emulator-runner@8bb10a5eafb6726dff58df91c0c9b74798cc44ec with: api-level: 28 target: default arch: x86_64 profile: Nexus 4 script: ./gradlew connectedCheck --continue
name: Continuous Integration on: push: branches: [ main ] pull_request: branches: [ main ] schedule: - cron: "0 7 */3 * *" jobs: build: runs-on: macos-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Set up JDK uses: actions/setup-java@v2.5.0 with: distribution: 'zulu' java-version: '11' - name: Setup Android SDK uses: android-actions/setup-android@v2 - name: Cache Gradle Home files uses: actions/cache@v3.0.3 continue-on-error: true with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-home-examples-${{ hashFiles('**/*.gradle') }} - name: Build ConnectBot run: ./gradlew build - name: Run instrument tests uses: Doist/android-emulator-runner@8bb10a5eafb6726dff58df91c0c9b74798cc44ec with: api-level: 28 target: default arch: x86_64 profile: Nexus 4 script: ./gradlew connectedCheck --continue
Print cwd and worspace dirs.
name: continuous_integration on: ["push", "pull_request"] jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: modes: ["s", "p"] schedulers: ["gridengine", "slurm"] env: NAME: ${{ matrix.schedulers }}-${{ matrix.modes }} IMAGE: gtcg/sv-callers-${{ matrix.schedulers }}:latest ARGS: 0 ${{ matrix.modes }} ${{ matrix.schedulers }} steps: - name: Checkout repo uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v1 with: python-version: "3.7" - name: Python info run: | which python python --version - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r test-requirements.txt - name: Show pip list run: pip list - name: Run unit tests run: pytest --cov=helper_functions --cov-report=xml working-directory: snakemake - name: Run workflow run: | docker run -d -p 10000:22 --name $NAME $IMAGE sleep 10 docker ps -a docker exec -u xenon -t $NAME bash -c "cd sv-callers && ./run.sh $ARGS" echo ${{ github.workspace }}
name: continuous_integration on: ["push", "pull_request"] jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: modes: ["s", "p"] schedulers: ["gridengine", "slurm"] env: NAME: ${{ matrix.schedulers }}-${{ matrix.modes }} IMAGE: gtcg/sv-callers-${{ matrix.schedulers }}:latest ARGS: 0 ${{ matrix.modes }} ${{ matrix.schedulers }} steps: - name: Checkout repo uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v1 with: python-version: "3.7" - name: Python info run: | which python python --version - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r test-requirements.txt - name: Show pip list run: pip list - name: Run unit tests run: | pytest --cov=helper_functions --cov-report=xml pwd echo ${{ github.workspace }} working-directory: snakemake - name: Run workflow run: | docker run -d -p 10000:22 --name $NAME $IMAGE sleep 10 docker ps -a docker exec -u xenon -t $NAME bash -c "cd sv-callers && ./run.sh $ARGS" echo ${{ github.workspace }}
Test with latest point versions of Golang
language: go go: - 1.5 - 1.6 - 1.7 env: - GO15VENDOREXPERIMENT=1 script: - go test $(go list ./... | grep -v '/vendor/')
language: go go: - 1.5.4 - 1.6.3 - 1.7.1 env: - GO15VENDOREXPERIMENT=1 script: - go test -v $(go list ./... | grep -v '/vendor/')
Test with several node servers
language: node_js node_js: - "0.8" script: - "node gcli.js test && phantomjs ./phantom-test.js"
language: node_js node_js: - "0.11" - "0.10" - "0.8" script: - "node gcli.js test && phantomjs ./phantom-test.js"
Change Travis CI Config To Run Test
language: objective-c script: - xctool -project asimplechessgame.xcodeproj -scheme 'asimplechessgame' -configuration Release -sdk iphonesimulator -arch i386 build
language: objective-c script: - xctool -project asimplechessgame.xcodeproj -scheme 'asimplechessgame' test -configuration Release -sdk iphonesimulator -arch i386 build
Configure ruby versions for builds
language: ruby addons: code_climate: repo_token: eb81b5b2208352b78077fbe41f8c1602616905aaf83d922764b3fbbaec9417a1
language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 addons: code_climate: repo_token: eb81b5b2208352b78077fbe41f8c1602616905aaf83d922764b3fbbaec9417a1
FIX - Travis CI timeout
language: node_js node_js: - "8.4.0" services: - mongodb - rabbitmq after_success: npm run codecov
language: node_js node_js: - "8.4.0" services: - mongodb - rabbitmq after_success: travis_wait npm run codecov
Test coverage for dcf project only.
language: python python: - 2.7 - 3.5 - 3.6 env: - DJANGO=1.8.18 - DJANGO=1.9.13 - DJANGO=1.10.8 - DJANGO=1.11.5 before_install: - export DJANGO_SETTINGS_MODULE=project.settings - export PYTHONPATH=$HOME/builds/inoks/dcf - export PIP_USE_MIRRORS=true install: - pip install -r requirements/testing.txt - pip install django==$DJANGO --quiet before_script: - flake8 --ignore=E501 script: - coverage run --source='.' manage.py test after_success: - coverage report
language: python python: - 2.7 - 3.5 - 3.6 env: - DJANGO=1.8.18 - DJANGO=1.9.13 - DJANGO=1.10.8 - DJANGO=1.11.5 before_install: - export DJANGO_SETTINGS_MODULE=project.settings - export PYTHONPATH=$HOME/builds/inoks/dcf - export PIP_USE_MIRRORS=true install: - pip install -r requirements/testing.txt - pip install django==$DJANGO --quiet before_script: - flake8 --ignore=E501 script: - coverage run --source='./dcf' manage.py test after_success: - coverage report
Copy test GeoIP db to /usr/local/share/GeoIP
language: perl perl: - "5.18" - "5.16" - "5.14" - "5.12" - "5.10" before_install: - cpanm Carton - carton install - git submodule update --init --recursive - git clone git://github.com/maxmind/libmaxminddb - cd libmaxminddb - ./bootstrap - ./configure - make - sudo make install - sudo ldconfig - cd .. - sudo apt-get install --assume-yes apache2-mpm-prefork apache2.2-bin apache2.2-common apache2-prefork-dev apache2-utils - git clone git://github.com/ttkzw/mod_remoteip-httpd22 - cd mod_remoteip-httpd22 - sudo apxs2 -i -c -n mod_remoteip.so mod_remoteip.c - cd .. install: - cpanm --verbose --installdeps --notest . script: - perl Makefile.PL -configure -httpd_conf t/setup/apache2.conf -src_dir /usr/lib/apache2/modules - carton exec "t/TEST -v" after_failure: - cat t/logs/error_log notifications: email: recipients: - oalders@maxmind.com on_success: change on_failure: always
language: perl perl: - "5.18" - "5.16" - "5.14" - "5.12" - "5.10" before_install: - cpanm Carton - carton install - git submodule update --init --recursive - git clone git://github.com/maxmind/libmaxminddb - cd libmaxminddb - ./bootstrap - ./configure - make - sudo make install - sudo ldconfig - cd .. - sudo apt-get install --assume-yes apache2-mpm-prefork apache2.2-bin apache2.2-common apache2-prefork-dev apache2-utils - git clone git://github.com/ttkzw/mod_remoteip-httpd22 - cd mod_remoteip-httpd22 - sudo apxs2 -i -c -n mod_remoteip.so mod_remoteip.c - cd .. - sudo mkdir -p /usr/local/share/GeoIP - sudo cp maxmind-db/test-data/GeoIP2-City-Test.mmdb /usr/local/share/GeoIP/ install: - cpanm --verbose --installdeps --notest . script: - perl Makefile.PL -configure -httpd_conf t/setup/apache2.conf -src_dir /usr/lib/apache2/modules - carton exec "t/TEST -v" after_failure: - cat t/logs/error_log notifications: email: recipients: - oalders@maxmind.com on_success: change on_failure: always
Remove ruby 1.9.2 useless references for Travis
sudo: false before_script: - "bundle exec rake prepare_test_env" script: "bundle exec rspec" language: ruby cache: bundler services: mongodb rvm: - 1.9.3 - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 - 2.4.0 # FIXME: failing native extensions #- ruby-head # TODO: investigate failure # This is an arbitrary failure on travis #- jruby-19mode #- jruby-head #- rbx-19mode gemfile: - gemfiles/mongoid2.gemfile - gemfiles/mongoid3.gemfile - gemfiles/mongoid4.gemfile - gemfiles/rails3.gemfile - gemfiles/rails4.gemfile - gemfiles/rails41.gemfile - gemfiles/rails42.gemfile - gemfiles/rails50.gemfile matrix: exclude: - rvm: 1.9.2 gemfile: gemfiles/mongoid3.gemfile - rvm: 1.9.2 gemfile: gemfiles/rails4.gemfile - rvm: 1.9.3 gemfile: gemfiles/rails50.gemfile - rvm: 2.0.0 gemfile: gemfiles/rails50.gemfile - rvm: 2.1.8 gemfile: gemfiles/rails50.gemfile notifications: recipients: - andreas@aloop.org
sudo: false before_script: - "bundle exec rake prepare_test_env" script: "bundle exec rspec" language: ruby cache: bundler services: mongodb rvm: - 1.9.3 - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 - 2.4.0 # FIXME: failing native extensions #- ruby-head # TODO: investigate failure # This is an arbitrary failure on travis #- jruby-19mode #- jruby-head #- rbx-19mode gemfile: - gemfiles/mongoid2.gemfile - gemfiles/mongoid3.gemfile - gemfiles/mongoid4.gemfile - gemfiles/rails3.gemfile - gemfiles/rails4.gemfile - gemfiles/rails41.gemfile - gemfiles/rails42.gemfile - gemfiles/rails50.gemfile matrix: exclude: - rvm: 1.9.3 gemfile: gemfiles/rails50.gemfile - rvm: 2.0.0 gemfile: gemfiles/rails50.gemfile - rvm: 2.1.8 gemfile: gemfiles/rails50.gemfile notifications: recipients: - andreas@aloop.org
Enable JS Cucumber tests on Travis
language: d sudo: false install: - gem install bundler - bundle install - git clone https://github.com/martine/ninja.git - cd ninja - ./configure.py --bootstrap - export PATH=$PWD:$PATH - cd .. - dub fetch unit-threaded --version=0.4.10 - dub fetch cerealed --version=0.6.1 - git clone https://github.com/D-Programming-Language/dub.git - cd dub - dub build - export PATH=$PWD/bin:$PATH - cd .. - git clone https://github.com/atilaneves/reggae-python - cd reggae-python - export PYTHONPATH=$PWD - cd .. - git clone https://github.com/atilaneves/reggae-ruby - cd reggae-ruby - export RUBYLIB=$PWD/lib - export PATH=$PATH:$PWD/bin - cd .. script: - ./bootstrap.sh make - bin/ut - cucumber --tags ~@tup
language: d sudo: false install: - gem install bundler - bundle install - git clone https://github.com/martine/ninja.git - cd ninja - ./configure.py --bootstrap - export PATH=$PWD:$PATH - cd .. - dub fetch unit-threaded --version=0.4.10 - dub fetch cerealed --version=0.6.1 - git clone https://github.com/D-Programming-Language/dub.git - cd dub - dub build - export PATH=$PWD/bin:$PATH - cd .. - git clone https://github.com/atilaneves/reggae-python - cd reggae-python - export PYTHONPATH=$PWD - cd .. - git clone https://github.com/atilaneves/reggae-ruby - cd reggae-ruby - export RUBYLIB=$PWD/lib - export PATH=$PATH:$PWD/bin - cd .. - npm install reggae-js - export PATH=$PATH:$PWD/node_modules/reggae-js/bin - export NODE_PATH=$PWD/node_modules/reggae-js/lib script: - ./bootstrap.sh make - bin/ut - cucumber --tags ~@tup
Add OS X env in Travis CI
language: rust rust: stable after_success: | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && cargo doc && echo "<meta http-equiv=refresh content=0;url=/rust-streaming-http-parser/http_muncher/index.html>" > target/doc/index.html && sudo pip install ghp-import && ghp-import -n target/doc && git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
language: rust rust: stable os: - linux - osx after_success: | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && cargo doc && echo "<meta http-equiv=refresh content=0;url=/rust-streaming-http-parser/http_muncher/index.html>" > target/doc/index.html && sudo pip install ghp-import && ghp-import -n target/doc && git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
Drop JRuby 1.8 mode as capybara requires 1.9.
--- language: ruby services: postgresql rvm: - 1.9.3 - 2.0.0 - jruby-18mode - jruby-19mode env: - REDMINE_VERSION=2.1.6 - REDMINE_VERSION=2.2.4 - REDMINE_VERSION=2.3.2 - REDMINE_VERSION=master matrix: allow_failures: - env: REDMINE_VERSION=master exclude: - rvm: 2.0.0 env: REDMINE_VERSION=2.2.4 - rvm: 2.0.0 env: REDMINE_VERSION=2.1.6 install: - unset BUNDLE_GEMFILE - rake redmine:setup script: rake spec
--- language: ruby services: postgresql rvm: - 1.9.3 - 2.0.0 - jruby-19mode env: - REDMINE_VERSION=2.1.6 - REDMINE_VERSION=2.2.4 - REDMINE_VERSION=2.3.2 - REDMINE_VERSION=master matrix: allow_failures: - env: REDMINE_VERSION=master exclude: - rvm: 2.0.0 env: REDMINE_VERSION=2.2.4 - rvm: 2.0.0 env: REDMINE_VERSION=2.1.6 install: - unset BUNDLE_GEMFILE - rake redmine:setup script: rake spec
Use local gulp instead of global install.
sudo: false language: node_js cache: - directories: - node_modules node_js: - '0.10' before_script: - npm install -g gulp - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: gulp ci
sudo: false language: node_js cache: - directories: - node_modules node_js: - '0.10' before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: ./node_modules/.bin/gulp ci
Add blas, lapack, and gcc version 6
language: python python: - 3.5 cache: apt: true pip: true branches: only: - master addons: apt: packages: - git - gcc - g++ - gfortran - python-pip - graphviz before_install: - openssl aes-256-cbc -K $encrypted_614a5b0d391b_key -iv $encrypted_614a5b0d391b_iv -in .deploy_key.enc -out .deploy_key -d - chmod 600 .deploy_key install: - export FC=gfortran - export CC=gcc - export CXX=g++ - pip install --upgrade graphviz - (pip install --upgrade ford && ford --version) script: - make - make docs after_success: - cd $TRAVIS_BUILD_DIR - git config --global user.name "TRAVIS-CI-for-$(git --no-pager show -s --format='%cn' $TRAVIS_COMMIT)" - git config --global user.email "$(git --no-pager show -s --format='%ce' $TRAVIS_COMMIT)" - bash ./deploy.sh
language: python python: - 3.5 cache: apt: true pip: true branches: only: - master addons: apt: packages: - git - gcc-6 - g++-6 - gfortran-6 - python-pip - graphviz - libblas-dev - liblapack-dev before_install: - openssl aes-256-cbc -K $encrypted_614a5b0d391b_key -iv $encrypted_614a5b0d391b_iv -in .deploy_key.enc -out .deploy_key -d - chmod 600 .deploy_key install: - export gfortran=gfortran-6 - export gcc=gcc-6 - export g++=g++-6 - pip install --upgrade graphviz - (pip install --upgrade ford && ford --version) script: - make - make docs after_success: - cd $TRAVIS_BUILD_DIR - git config --global user.name "TRAVIS-CI-for-$(git --no-pager show -s --format='%cn' $TRAVIS_COMMIT)" - git config --global user.email "$(git --no-pager show -s --format='%ce' $TRAVIS_COMMIT)" - bash ./deploy.sh
Use dev version of Flask
language: python python: - "2.6" - "2.7" install: - "pip install -U flask pytest" script: py.test
language: python python: - "2.6" - "2.7" install: - "pip install https://github.com/mitsuhiko/flask/tarball/master" - "pip install pytest" script: py.test
Test with latest Ruby version
language: ruby sudo: false cache: bundler rvm: - 2.3.1 - 2.2.5 - jruby-9.1.5.0 env: global: - JRUBY_OPTS="--debug"
language: ruby sudo: false cache: bundler rvm: - 2.3.3 - 2.2.6 - 2.1.9 - jruby-9.1.5.0 env: global: - JRUBY_OPTS="--debug"
Add Travis CI support for Node 10
language: node_js node_js: - 8 - 6 - 4 - "0.10" script: - "npm run test-travis" after_script: - "npm install coveralls@2 && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
language: node_js node_js: - 10 - 8 - 6 - 4 - "0.10" script: - "npm run test-travis" after_script: - "npm install coveralls@2 && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
Use latest patch version of Go 1.7 in Travis
language: go go: - 1.7 addons: apt: packages: - nodejs install: - go get -u github.com/gopherjs/gopherjs script: - diff -u <(echo -n) <(gofmt -d ./) - gopherjs test
language: go go: - 1.7.x addons: apt: packages: - nodejs install: - go get -u github.com/gopherjs/gopherjs script: - diff -u <(echo -n) <(gofmt -d ./) - gopherjs test
Allow failures on node v0.11
language: node_js env: SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true compiler: - gcc node_js: - "0.10" - "0.11" before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; - sudo apt-get update; - sudo apt-get install gcc-4.8 g++-4.8; - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20; - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20; - g++ --version; - sudo apt-get update -qq; - git submodule update --init --recursive after_success: - npm run-script coverage cache: directories: - node_modules notifications: webhooks: urls: - https://webhooks.gitter.im/e/8dddd234a441d0d07664 on_success: change
language: node_js env: SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true compiler: - gcc node_js: - "0.10" - "0.11" matrix: fast_finish: true allow_failures: - node_js: "0.11" before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; - sudo apt-get update; - sudo apt-get install gcc-4.8 g++-4.8; - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20; - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20; - g++ --version; - sudo apt-get update -qq; - git submodule update --init --recursive after_success: - npm run-script coverage cache: directories: - node_modules notifications: webhooks: urls: - https://webhooks.gitter.im/e/8dddd234a441d0d07664 on_success: change
Use jruby-head instead of jruby in Travis config.
cache: bundler sudo: false language: ruby rvm: - 2.4.2 - 2.3.5 - 2.2.8 - rbx-3 - jruby matrix: allow_failures: - rvm: rbx-3 - rvm: jruby addons: apt: packages: - libgeos-c1
cache: bundler sudo: false language: ruby rvm: - 2.4.2 - 2.3.5 - 2.2.8 - rbx-3 - jruby-head matrix: allow_failures: - rvm: rbx-3 - rvm: jruby-head addons: apt: packages: - libgeos-c1
Fix baseline to wrong version
# Spring property source for the Tingo application, providing default configuration # Note that properties are considered in this order: # http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config spring: profiles: active: - dev jpa: hibernate: ddl-auto: validate datasource: testOnBorrow: true validationQuery: SELECT 1 flyway: # migrate if we don't have a baseline defined, i.e. Flyway has never run on that database. baseline-on-migrate: true encoding: UTF-8 management: port: 8081
# Spring property source for the Tingo application, providing default configuration # Note that properties are considered in this order: # http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config spring: profiles: active: - dev jpa: hibernate: ddl-auto: validate datasource: testOnBorrow: true validationQuery: SELECT 1 flyway: # migrate if we don't have a baseline defined, i.e. Flyway has never run on that database. baseline-on-migrate: true encoding: UTF-8 baseline-version: 0 management: port: 8081
Stop pushing coverage information to Coveralls from Travis CI, as we don't test the `io` modules there.
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" # command to install dependencies install: - pip install -r requirements.txt - pip install coveralls - pip install . # command to run tests, e.g. python setup.py test script: nosetests --with-coverage --cover-package=neo after_success: coveralls
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" # command to install dependencies install: - pip install -r requirements.txt - pip install coveralls - pip install . # command to run tests, e.g. python setup.py test script: nosetests --with-coverage --cover-package=neo
Fix OSX build on Travis.
language: csharp sudo: required dist: trusty addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 - zlib1g mono: - 4.0.5 os: - linux - osx osx_image: xcode7.1 branches: only: - master - release - dev - /^(.*\/)?ci-.*$/ script: - ./build.sh --quiet verify
language: csharp sudo: required dist: trusty addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 - zlib1g mono: - 4.0.5 os: - linux - osx osx_image: xcode7.1 branches: only: - master - release - dev - /^(.*\/)?ci-.*$/ before_install: - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; brew link --force openssl; fi script: - ./build.sh --quiet verify