Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Fix releasenotes to pass reno gates
--- prelude: > Prevent Unauthorized errors during uploading or donwloading data to Swift store. features: - Allow glance_store to refresh token when upload or download data to Swift store. glance_store identifies if token is going to expire soon when executing request to Swift and refresh the token. For multi-tenant swift store glance_store uses trusts, for single-tenant swift store glance_store uses credentials from swift store configurations. Please also note that this feature is enabled if and only if Keystone V3 API is available and enabled.
--- prelude: > Prevent Unauthorized errors during uploading or donwloading data to Swift store. features: - Allow glance_store to refresh token when upload or download data to Swift store. glance_store identifies if token is going to expire soon when executing request to Swift and refresh the token. For multi-tenant swift store glance_store uses trusts, for single-tenant swift store glance_store uses credentials from swift store configurations. Please also note that this feature is enabled if and only if Keystone V3 API is available and enabled.
Fix build on GitHub Actions
name: Python package on: [push] jobs: test: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [2.7, 3.5, 3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install . - name: Build docs run: | pip install .[docs] sphinx-build -W docs /dev/shm/sphinx - name: Test with pytest run: | pip install .[tests] # coveralls # nosetests tests -v --with-coverage --cover-package=python_anticaptcha --processes=8 nosetests tests -v --processes=8 # coveralls
name: Python package on: [push] jobs: test: runs-on: ubuntu-latest strategy: max-parallel: 4 fail-fast: false matrix: python-version: [2.7, 3.5, 3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install . - name: Build docs run: | pip install .[docs] sphinx-build -W docs /dev/shm/sphinx - name: Test with pytest run: | pip install .[tests] # coveralls # nosetests tests -v --with-coverage --cover-package=python_anticaptcha --processes=8 nosetests tests -v --processes=8 # coveralls
Prepare to release my own snap
name: ipfs version: 'v0.4.4' summary: global, versioned, peer-to-peer filesystem description: | IPFS combines good ideas from Git, BitTorrent, Kademlia, SFS, and the Web. It is like a single bittorrent swarm, exchanging git objects. IPFS provides an interface as simple as the HTTP web, but with permanence built in. You can also mount the world at /ipfs. confinement: strict apps: ipfs: command: ipfs plugs: [network, network-bind] parts: ipfs: source: https://github.com/ipfs/go-ipfs.git source-tag: 'v0.4.4' plugin: ipfs go-importpath: github.com/ipfs/go-ipfs
name: ipfs-elopio version: master summary: global, versioned, peer-to-peer filesystem description: | IPFS combines good ideas from Git, BitTorrent, Kademlia, SFS, and the Web. It is like a single bittorrent swarm, exchanging git objects. IPFS provides an interface as simple as the HTTP web, but with permanence built in. You can also mount the world at /ipfs. confinement: strict apps: ipfs: command: ipfs plugs: [network, network-bind] parts: ipfs: source: https://github.com/ipfs/go-ipfs.git plugin: ipfs go-importpath: github.com/ipfs/go-ipfs
Change type DEFAULT_USER_LANGUAGE from string into int
COMMON: &common DEBUG: False TESTING: False SECRET_KEY: 't0p s3cr3t' SSL_DISABLE: False SQLALCHEMY_COMMIT_ON_TEARDOWN: True SQLALCHEMY_RECORD_QUERIES: True SQLALCHEMY_TRACK_MODIFICATIONS: True MAIL_SERVER: 'smtp.googlemail.com' MAIL_PORT: 587 MAIL_USE_TLS: True MAIL_USERNAME: 'MAIL_USERNAME' MAIL_PASSWORD: 'MAIL_PASSWORD' MAIL_SUBJECT_PREFIX: 'MAIL_SUBJECT_PREFIX' MAIL_SENDER: '<info@example.com>' SLOW_DB_QUERY_TIME: 0.5 OAUTH_CLIENT_ID: 'CLIENT_ID' OAUTH_CLIENT_SECRET: 'CLIENT_SECRET' DEFAULT_USER_LANGUAGE: '2' # 1 = fr, 2 = de, 3 = it DEVELOPMENT: &development <<: *common DEBUG: True SQLALCHEMY_DATABASE_URI: 'sqlite:////tmp/data-dev.sqlite' PRODUCTION: &production <<: *common SQLALCHEMY_DATABASE_URI: 'sqlite:////tmp/data-dev.sqlite' TESTING: &testing TESTING: True SQLALCHEMY_DATABASE_URI: 'sqlite:////tmp/data-dev.sqlite' WTF_CSRF_ENABLED: False DEFAULT: &default <<: *development
COMMON: &common DEBUG: False TESTING: False SECRET_KEY: 't0p s3cr3t' SSL_DISABLE: False SQLALCHEMY_COMMIT_ON_TEARDOWN: True SQLALCHEMY_RECORD_QUERIES: True SQLALCHEMY_TRACK_MODIFICATIONS: True MAIL_SERVER: 'smtp.googlemail.com' MAIL_PORT: 587 MAIL_USE_TLS: True MAIL_USERNAME: 'MAIL_USERNAME' MAIL_PASSWORD: 'MAIL_PASSWORD' MAIL_SUBJECT_PREFIX: 'MAIL_SUBJECT_PREFIX' MAIL_SENDER: '<info@example.com>' SLOW_DB_QUERY_TIME: 0.5 OAUTH_CLIENT_ID: 'CLIENT_ID' OAUTH_CLIENT_SECRET: 'CLIENT_SECRET' DEFAULT_USER_LANGUAGE: 2 # 1 = fr, 2 = de, 3 = it DEVELOPMENT: &development <<: *common DEBUG: True SQLALCHEMY_DATABASE_URI: 'sqlite:////tmp/data-dev.sqlite' PRODUCTION: &production <<: *common SQLALCHEMY_DATABASE_URI: 'sqlite:////tmp/data-dev.sqlite' TESTING: &testing TESTING: True SQLALCHEMY_DATABASE_URI: 'sqlite:////tmp/data-dev.sqlite' WTF_CSRF_ENABLED: False DEFAULT: &default <<: *development
Fix comment - not using forever atm
--- - name: restart nginx service: name=nginx state=restarted # Restart the supervisor service itself, for loading new configuration - name: restart supervisor service: name=supervisor state=restarted # Restart the forever instance (i.e. if a new version of the app is installed) - name: restart ghost supervisorctl: name=ghost state=restarted
--- - name: restart nginx service: name=nginx state=restarted # Restart the supervisor service itself, for loading new configuration - name: restart supervisor service: name=supervisor state=restarted # Restart the node instance (i.e. if reconfigured or new version installed) - name: restart ghost supervisorctl: name=ghost state=restarted
Deploy weekly during the offseason.
name: Nightly Deploy on: schedule: - cron: "0 8 * * *" jobs: build: runs-on: ubuntu-latest steps: - name: Trigger a build on Netlify shell: bash env: NETLIFY_BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK }} run: curl -X POST -d {} "$NETLIFY_BUILD_HOOK"
name: Weekly Deploy on: schedule: - cron: "0 8 * * 1" jobs: build: runs-on: ubuntu-latest steps: - name: Trigger a build on Netlify shell: bash env: NETLIFY_BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK }} run: curl -X POST -d {} "$NETLIFY_BUILD_HOOK"
Use a working git URL
- scm: name: github scm: - git: url: "git@github.com:{github-owner}/{github-project}.git" branches: - '{branch}' browser: githubweb browser-url: "https://github.com/{github-owner}/{github-project}/"
- scm: name: github scm: - git: url: "https://github.com/{github-owner}/{github-project}" branches: - '{branch}' browser: githubweb browser-url: "https://github.com/{github-owner}/{github-project}/"
Update metadata for picking up the latest application version
Categories: - Connectivity License: GPL-3.0-or-later WebSite: https://developersu.blogspot.com SourceCode: https://github.com/developersu/ns-usbloader-mobile IssueTracker: https://github.com/developersu/ns-usbloader-mobile/issues Changelog: https://github.com/developersu/ns-usbloader-mobile/releases Donate: https://paypal.me/developersu LiberapayID: '1717252' RepoType: git Repo: https://github.com/developersu/ns-usbloader-mobile Builds: - versionName: '1.0' versionCode: 3 commit: v1.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags ^v\d+\.\d+(\.\d+)?$
Categories: - Connectivity License: GPL-3.0-or-later WebSite: https://developersu.blogspot.com SourceCode: https://github.com/developersu/ns-usbloader-mobile IssueTracker: https://github.com/developersu/ns-usbloader-mobile/issues Changelog: https://github.com/developersu/ns-usbloader-mobile/releases Donate: https://paypal.me/developersu LiberapayID: '1717252' RepoType: git Repo: https://github.com/developersu/ns-usbloader-mobile Builds: - versionName: '5.0' versionCode: 7 commit: v5.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags ^v\d+\.\d+(\.\d+)?$
Revert back to latest maze-runner v4 release
version: '3.6' services: cocoa-maze-runner: image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner:server-payload-platform-steps-cli environment: DEBUG: VERBOSE: BUILDKITE: BUILDKITE_PIPELINE_NAME: MAZE_DEVICE_FARM_USERNAME: MAZE_DEVICE_FARM_ACCESS_KEY: volumes: - ./features/fixtures/ios-swift-cocoapods/output:/app/build - ./features/:/app/features/
version: '3.6' services: cocoa-maze-runner: image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v4-cli environment: DEBUG: VERBOSE: BUILDKITE: BUILDKITE_PIPELINE_NAME: MAZE_DEVICE_FARM_USERNAME: MAZE_DEVICE_FARM_ACCESS_KEY: volumes: - ./features/fixtures/ios-swift-cocoapods/output:/app/build - ./features/:/app/features/
Fix the ansible-galaxy role name in meta/tasks.yml
--- galaxy_info: author: PowerDNS Engineering Team description: Install and configure Metronome company: PowerDNS.COM BV license: MIT min_ansible_version: 2.2 platforms: - name: EL versions: - 7 - 6 - name: Debian versions: - jessie - stretch - name: Ubuntu versions: - trusty - utopic - vivid - wily - xenial - bionic galaxy_tags: - system - metronome - monitoring - carbon
--- galaxy_info: role_name: metronome author: PowerDNS Engineering Team description: Install and configure Metronome company: PowerDNS.COM BV license: MIT min_ansible_version: 2.2 platforms: - name: EL versions: - 7 - 6 - name: Debian versions: - jessie - stretch - name: Ubuntu versions: - trusty - utopic - vivid - wily - xenial - bionic galaxy_tags: - system - metronome - monitoring - carbon
Update docker-compsose: remote redis publish port
web: image: tranhuucuong91/webapp_demo ports: - "80:5000" links: - redis:redis redis: image: redis:3.0 #ports: #- "6379:6379"
web: image: tranhuucuong91/webapp_demo ports: - "80:5000" links: - redis:redis redis: image: redis:3.0
Build zookeeper quorum from inventory
--- marathon_playbook_version: "0.3.1" marathon_hostname: "{{ inventory_hostname }}" marathon_version: "0.8.1" marathon_port: 8080 marathon_env_java_opts: '-Xmx512m' marathon_env_vars: - "JAVA_OPTS={{ marathon_env_java_opts }}" # command line flags: # https://mesosphere.github.io/marathon/docs/command-line-flags.html # Marathon reads files under /etc/marathon/conf and adds them to CLI zookeeper_hostnames: "localhost:2181" mesos_zookeeper_path: "/mesos" marathon_zookeeper_path: "/marathon" mesos_zookeeper_masters: "zk://{{ zookeeper_hostnames }}{{ mesos_zookeeper_path }}" marathon_zookeeper_state: "zk://{{ zookeeper_hostnames }}{{ marathon_zookeeper_path }}" haproxy_script_location: "/usr/local/bin" # optional artifact_store: "" checkpoint: "true"
--- marathon_playbook_version: "0.3.1" marathon_hostname: "{{ inventory_hostname }}" marathon_version: "0.8.1" marathon_port: 8181 marathon_env_java_opts: '-Xmx512m' marathon_env_vars: - "JAVA_OPTS={{ marathon_env_java_opts }}" # command line flags: # https://mesosphere.github.io/marathon/docs/command-line-flags.html # Marathon reads files under /etc/marathon/conf and adds them to CLI zookeeper_client_port: "2181" zookeeper_hostnames: "{{ groups.zookeeper | join(':' + zookeeper_client_port + ',') }}:{{ zookeeper_client_port }}" mesos_zookeeper_path: "/mesos" marathon_zookeeper_path: "/marathon" mesos_zookeeper_masters: "zk://{{ zookeeper_hostnames }}{{ mesos_zookeeper_path }}" marathon_zookeeper_state: "zk://{{ zookeeper_hostnames }}{{ marathon_zookeeper_path }}" #DISABLED haproxy_script_location: "/usr/local/bin" haproxy_script_location: "" # optional artifact_store: "" checkpoint: "true"
Remove "write a program" from grade-school exercise
--- blurb: "Write a small archiving program that stores students' names along with the grade that they are in." source: "A pairing session with Phil Battos at gSchool" source_url: "http://gschool.it"
--- blurb: "Given students' names along with the grade that they are in, create a roster for the school" source: "A pairing session with Phil Battos at gSchool" source_url: "http://gschool.it"
Update from Forestry.io - Updated Forestry configuration
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: install_dependencies_command: npm install preview_docker_image: forestryio/node:12 mount_path: "/srv" working_dir: "/srv" instant_preview_command: npm run develop
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: document path: bb label: ttt match: "**/*" read_only: false upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: install_dependencies_command: npm install preview_docker_image: forestryio/node:12 mount_path: "/srv" working_dir: "/srv" instant_preview_command: npm run develop
Use Dependabot to update GitHub Actions
version: 2 updates: - package-ecosystem: gomod directory: "/" schedule: interval: daily open-pull-requests-limit: 10
version: 2 updates: - package-ecosystem: gomod directory: "/" schedule: interval: daily open-pull-requests-limit: 10 - package-ecosystem: "github-actions" directory: "/" schedule: interval: daily
Change SELinux to permissive mode
--- # default is etc/utc in build 20141129 [http://cloud.centos.org/centos/7/images/] - name: set timezone to etc/utc sudo: yes file: src: /usr/share/zoneinfo/Etc/UTC dest: /etc/localtime state: link force: yes tags: - common # add hosts to /etc/hosts - name: configure hosts file sudo: yes lineinfile: dest: /etc/hosts regexp: "^{{ hostvars[item].ansible_default_ipv4.address }} {{ item }}{% if use_host_domain %} {{ item }}.{{ host_domain }}{% endif %}$" line: "{{ hostvars[item].ansible_default_ipv4.address }} {{ item }}{% if use_host_domain %} {{ item }}.{{ host_domain}}{% endif %}" state: present when: hostvars[item].ansible_default_ipv4.address is defined with_items: groups['all'] tags: - common - name: enable EPEL repo sudo: yes yum: name: epel-release state: latest tags: - common - name: bootstrap virt7-testing repo copy: src: virt7-testing.repo dest: /etc/yum.repos.d/ owner: root group: root mode: 0644 tags: - common
--- # default is etc/utc in build 20141129 [http://cloud.centos.org/centos/7/images/] - name: set timezone to etc/utc sudo: yes file: src: /usr/share/zoneinfo/Etc/UTC dest: /etc/localtime state: link force: yes tags: - common - name: Check if selinux enforcing sudo: yes command: getenforce register: selinux changed_when: false tags: - common - name: Set selinux permissive because tokens and selinux don't work together sudo: yes selinux: state=permissive policy=targeted when: "'Enforcing' in selinux.stdout" tags: - common # add hosts to /etc/hosts - name: configure hosts file sudo: yes lineinfile: dest: /etc/hosts regexp: "^{{ hostvars[item].ansible_default_ipv4.address }} {{ item }}{% if use_host_domain %} {{ item }}.{{ host_domain }}{% endif %}$" line: "{{ hostvars[item].ansible_default_ipv4.address }} {{ item }}{% if use_host_domain %} {{ item }}.{{ host_domain}}{% endif %}" state: present when: hostvars[item].ansible_default_ipv4.address is defined with_items: groups['all'] tags: - common - name: enable EPEL repo sudo: yes yum: name: epel-release state: latest tags: - common
Switch directory back to repo
language: go go: 1.7.4 before_install: - go get github.com/mattn/goveralls - go get -d github.com/libgit2/git2go && cd $GOPATH/src/github.com/libgit2/git2go && git submodule update --init && make install script: - $HOME/gopath/bin/goveralls -service=travis-ci
language: go go: 1.7.4 before_install: - go get github.com/mattn/goveralls - go get -d github.com/libgit2/git2go && cd $GOPATH/src/github.com/libgit2/git2go && git submodule update --init && make install script: - cd $GOPATH/src/github.com/Aerathis/sciuromorpha && $HOME/gopath/bin/goveralls -service=travis-ci
Test on Rust 1.20 stable
# Don't spam me please, I'll check Travis manually. notifications: email: false sudo: false language: rust addons: apt: packages: - libasound2-dev rust: # Test on every other Rust version since the minimum supported version, to not # waste too many resources. - 1.4.0 - 1.6.0 - 1.8.0 - 1.10.0 - 1.12.0 - 1.14.0 - 1.16.0 - 1.18.0 - beta - nightly # Apart from the above Rust versions on Linux, also test on stable Rust on OS X. matrix: include: - os: osx rust: stable
# Don't spam me please, I'll check Travis manually. notifications: email: false sudo: false language: rust addons: apt: packages: - libasound2-dev rust: # Test on every fourth Rust version since the minimum supported version, to not # waste too many resources. - 1.4.0 - 1.8.0 - 1.12.0 - 1.16.0 - 1.20.0 - beta - nightly # Apart from the above Rust versions on Linux, also test on stable Rust on OS X. matrix: include: - os: osx rust: stable
Add Ruby 2.3.0 to Travis
language: ruby cache: bundler rvm: - 2.2 - 2.1 - 2.0 - rbx-2 - jruby-19mode - ruby-head - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: jruby-19mode - rvm: rbx-2 git: submodules: false env: - CONCURRENCY=celluloid-io - CONCURRENCY=faye-websocket
language: ruby cache: bundler rvm: - 2.3.0 - 2.2 - 2.1 - 2.0 - rbx-2 - jruby-19mode - ruby-head - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: jruby-19mode - rvm: rbx-2 git: submodules: false env: - CONCURRENCY=celluloid-io - CONCURRENCY=faye-websocket
Check knxd version in Travis
sudo: required services: - docker language: bash script: # prepare qemu - docker run --rm --privileged multiarch/qemu-user-static:register --reset # build image - docker build -t fdubuisson/knxd-build-rpi . # test image - docker run fdubuisson/knxd-build-rpi ls /packages # push image - > if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" docker push fdubuisson/knxd-build-rpi fi
sudo: required services: - docker language: bash script: # prepare qemu - docker run --rm --privileged multiarch/qemu-user-static:register --reset # build image - docker build -t fdubuisson/knxd-build-rpi . # test image - docker run fdubuisson/knxd-build-rpi knxd --version # push image - > if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" docker push fdubuisson/knxd-build-rpi fi
Set sudo to false for Travis build
language: python python: - "3.5" - "3.5-dev" # 3.5 development branch - "3.6" - "3.6-dev" # 3.6 development branch os: - linux - osx # command to install dependencies install: "pip install -r requirements-build.txt" # command to run tests script: - make test-all - make build
language: python python: - "3.5" - "3.5-dev" # 3.5 development branch - "3.6" - "3.6-dev" # 3.6 development branch sudo: false os: - linux - osx # command to install dependencies install: "pip install -r requirements-build.txt" # command to run tests script: - make test-all - make build
Install Proof Runner at Travis CI, not Scaffold.
sudo: false language: node_js node_js: - '12' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc proof script: - nyc npm test
sudo: false language: node_js node_js: - '12' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test
Remove rbx-18mode and jruby-19mode because of ActiveSupport 4.0.0
language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode
language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode
Increase jRuby max heap size
language: ruby sudo: false bundler_args: --without development rvm: - 2.2.2 - 2.3.1 - jruby-9.1.2.0 gemfile: - Gemfile env: global: - CI="travis" - JRUBY_OPTS="--server -J-Xms512m -J-Xmx1024m" matrix: - MONGODB=2.4.14 - MONGODB=2.6.12 - MONGODB=3.0.12 - MONGODB=3.2.7 before_script: - wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB}.tgz -O /tmp/mongodb.tgz - tar -xvf /tmp/mongodb.tgz - mkdir /tmp/data - ${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 --auth &> /dev/null & notifications: email: false irc: on_success: change on_failure: always channels: - "irc.freenode.org#mongoid"
language: ruby sudo: false bundler_args: --without development rvm: - 2.2.2 - 2.3.1 - jruby-9.1.2.0 gemfile: - Gemfile env: global: - CI="travis" - JRUBY_OPTS="--server -J-Xms512m -J-Xmx2G" matrix: - MONGODB=2.4.14 - MONGODB=2.6.12 - MONGODB=3.0.12 - MONGODB=3.2.7 before_script: - wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB}.tgz -O /tmp/mongodb.tgz - tar -xvf /tmp/mongodb.tgz - mkdir /tmp/data - ${PWD}/mongodb-linux-x86_64-${MONGODB}/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 --auth &> /dev/null & notifications: email: false irc: on_success: change on_failure: always channels: - "irc.freenode.org#mongoid"
Update ruby versions in build matrix
language: ruby rvm: $RUBY_VERSION env: - PUPPET_VERSION="~> 4.3.0" STRICT_VARIABLES=yes RUBY_VERSION="2.1.0" - PUPPET_VERSION="~> 4.9.0" RUBY_VERSION="2.1.0" - PUPPET_VERSION="~> 5.5.0" RUBY_VERSION="2.4.0" - PUPPET_VERSION="~> 6.13.0" RUBY_VERSION="2.6.0" script: "rake test" sudo: false
language: ruby rvm: $RUBY_VERSION env: - PUPPET_VERSION="~> 4.3.0" STRICT_VARIABLES=yes RUBY_VERSION="2.6.6" - PUPPET_VERSION="~> 4.9.0" RUBY_VERSION="2.6.6" - PUPPET_VERSION="~> 5.5.0" RUBY_VERSION="2.6.6" - PUPPET_VERSION="~> 6.13.0" RUBY_VERSION="2.6.6" script: "rake test" sudo: false
Revert "Update Travis CI build script"
# reference: http://www.objc.io/issue-6/travis-ci.html language: objective-c xcode_project: SwiftColorsExamples.xcodeproj xcode_scheme: SwiftColorsExamplesTests
# reference: http://www.objc.io/issue-6/travis-ci.html language: objective-c script: - xctool -project SwiftColorsExamples.xcodeproj -scheme SwiftColorsExamples -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
Update Travis CI config to only test with latest & v4 node
language: node_js node_js: - "node" - "iojs" - "0.12" - "0.10"
language: node_js node_js: - "node" - "4"
Update Travis deploy condition value.
language: python python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" # command to install dependencies install: - "pip install ." - "pip install -r requirements.txt" # command to run tests script: nosetests deploy: - provider: pypi distributions: sdist server: https://testpypi.python.org/pypi user: "Dan.Riti" password: secure: "H8LajeriIeKVtFVLZ89UfPEUEAYiI0k/sXVG2VT6zGx2V4KTOLZwWQTAgTUhX+Wx6zacOZh6jRbT9IX5kYYzCpr/Z/K2OZgoycR+dVAulmQrmlqBUQr63Wxd7Perjn24rkdcqRuWYqOTnNWourtiCCOOfEJFK4tYGD//w9TcrZk=" on: branch: master condition: "$TRAVIS_PYTHON_VERSION == 2.7"
language: python python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" # command to install dependencies install: - "pip install ." - "pip install -r requirements.txt" # command to run tests script: nosetests deploy: - provider: pypi distributions: sdist server: https://testpypi.python.org/pypi user: "Dan.Riti" password: secure: "H8LajeriIeKVtFVLZ89UfPEUEAYiI0k/sXVG2VT6zGx2V4KTOLZwWQTAgTUhX+Wx6zacOZh6jRbT9IX5kYYzCpr/Z/K2OZgoycR+dVAulmQrmlqBUQr63Wxd7Perjn24rkdcqRuWYqOTnNWourtiCCOOfEJFK4tYGD//w9TcrZk=" on: branch: master condition: $TRAVIS_PYTHON_VERSION = "2.7"
Use --local flag in call to build_rpm
language: python python: - "2.7" install: - sudo apt-get install -qq rpm - bash .travis/install_packagebuilder.sh - bash .travis/install_rpmdevtools.sh - export PATH=$PATH:$PWD/rpmdevtools-6.8/ - ls $PWD - ls $HOME before_script: - sudo mkdir -p /etc/rpm - sudo cp config/macros.cmake /etc/rpm script: - build_rpm hydrotrend
language: python python: - "2.7" install: - sudo apt-get install -qq rpm - bash .travis/install_packagebuilder.sh - bash .travis/install_rpmdevtools.sh - export PATH=$PATH:$PWD/rpmdevtools-6.8/ before_script: - sudo mkdir -p /etc/rpm - sudo cp config/macros.cmake /etc/rpm script: - build_rpm hydrotrend --local $PWD/hydrotrend
Remove lint setting from Travis config
language: php matrix: include: - php: 7.1 - php: 7.2 - php: 7.3 - php: 7.4snapshot - php: nightly env: PHP_CS_FIXER_IGNORE_ENV=1 fast_finish: true allow_failures: - php: nightly before_install: phpenv config-rm xdebug.ini || true install: make install script: scripts/travis after_script: scripts/travis-after deploy: - provider: script script: make publish skip_cleanup: true on: php: '7.3' branch: master - provider: script script: make publish skip_cleanup: true on: php: '7.3' tags: true env: global: - ELOQUENT_PUBLISH_VERSION=7.3 - secure: "o8G7oGV2ojgXwUppZiegNQy5Za2Bso5rvXUbdR41bSKZWUZM/l/J5/SxF5Ygf5sPSFBQ5LmbBb1juMU6WtCyDi74rMpzwhpEuTgqDwYlY2RFQ0QPb/Mq0S9BejAWLpa+yh2LrHDWQlG/M8Ns5ycAFxPtYNwx3QzJzOTLqy2uZ/c="
language: php matrix: include: - php: 7.1 - php: 7.2 - php: 7.3 - php: 7.4snapshot - php: nightly fast_finish: true allow_failures: - php: nightly before_install: phpenv config-rm xdebug.ini || true install: make install script: scripts/travis after_script: scripts/travis-after deploy: - provider: script script: make publish skip_cleanup: true on: php: '7.3' branch: master - provider: script script: make publish skip_cleanup: true on: php: '7.3' tags: true env: global: - ELOQUENT_PUBLISH_VERSION=7.3 - secure: "o8G7oGV2ojgXwUppZiegNQy5Za2Bso5rvXUbdR41bSKZWUZM/l/J5/SxF5Ygf5sPSFBQ5LmbBb1juMU6WtCyDi74rMpzwhpEuTgqDwYlY2RFQ0QPb/Mq0S9BejAWLpa+yh2LrHDWQlG/M8Ns5ycAFxPtYNwx3QzJzOTLqy2uZ/c="
Add missing package for Travis
language: python python: - '3.7' dist: bionic sudo: required services: - mysql addons: apt: packages: - python3-dev - build-essential - mysql-server - mysql-client - graphviz - python3-pip - python3-numpy - python3-mysqldb - git - libmysqlclient-dev - docbook - python3-apt - dblatex - texlive-latex-extra - docbook-utils - libxml2-dev - libxslt1-dev - pandoc env: - PYTHONPATH=. CAIRIS_SRC=$PYTHONPATH/cairis CAIRIS_CFG=cairis_travis.cnf XML_CATALOG_FILES=$CAIRIS_SRC/config/catalog $CAIRIS_CFG_DIR=./travisConfig before_install: - sudo cp $CAIRIS_CFG_DIR/mysqld.cnf /etc/mysql/mysql.conf.d/ - sudo service mysql restart install: - pip install -r test_requirements.txt - pip install -r requirements.txt script: - py.test cairis/test --doctest-modules -v --cov cairis/core cairis/daemon cairis/controllers cairis/data cairis/tools --cov-report term-missing after_success: - coveralls - codecov
language: python python: - '3.7' dist: bionic sudo: required services: - mysql addons: apt: packages: - python3-dev - build-essential - mysql-server - mysql-client - graphviz - python3-pip - python3-numpy - python3-mysqldb - git - libmysqlclient-dev - docbook - python3-apt - dblatex - texlive-latex-extra - docbook-utils - libxml2-dev - libxslt1-dev - python3-setuptools - pandoc env: - PYTHONPATH=. CAIRIS_SRC=$PYTHONPATH/cairis CAIRIS_CFG=cairis_travis.cnf XML_CATALOG_FILES=$CAIRIS_SRC/config/catalog $CAIRIS_CFG_DIR=./travisConfig before_install: - sudo cp $CAIRIS_CFG_DIR/mysqld.cnf /etc/mysql/mysql.conf.d/ - sudo service mysql restart install: - pip install -r test_requirements.txt - pip install -r requirements.txt script: - py.test cairis/test --doctest-modules -v --cov cairis/core cairis/daemon cairis/controllers cairis/data cairis/tools --cov-report term-missing after_success: - coveralls - codecov
Use trusty for HHVM build
sudo: false language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_install: - pip install --user codecov before_script: - if [[ $TRAVIS_PHP_VERSION == "5.5" ]]; then composer remove --dev equip/dispatch; fi - travis_retry composer self-update - travis_retry composer install --no-interaction script: - vendor/bin/phpcs --standard=psr2 ./src - vendor/bin/phpunit --coverage-text --bootstrap vendor/autoload.php --coverage-clover=coverage.xml after_success: - if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then codecov; fi cache: directories: - $HOME/.composer/cache
sudo: false language: php php: - 5.5 - 5.6 - 7.0 - 7.1 matrix: fast_finish: true allow_failures: - php: hhvm include: - php: hhvm dist: trusty before_install: - pip install --user codecov before_script: - if [[ $TRAVIS_PHP_VERSION == "5.5" ]]; then composer remove --dev equip/dispatch; fi - travis_retry composer self-update - travis_retry composer install --no-interaction script: - vendor/bin/phpcs --standard=psr2 ./src - vendor/bin/phpunit --coverage-text --bootstrap vendor/autoload.php --coverage-clover=coverage.xml after_success: - if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then codecov; fi cache: directories: - $HOME/.composer/cache
Remove Python 3.4 tests from Travis, dependency error
dist: xenial language: python python: - 2.7 - 3.4 - 3.5 - 3.6 - 3.7 - 3.8 - 3.9-dev - pypy2.7-6.0 - pypy3.5 install: - pip install tox-travis script: - tox stages: - lint - test #- deploy matrix: allow_failures: - env: TOXENV=flake8 - env: TOXENV=pylint - env: TOXENV=bandit jobs: include: #- { stage: lint, python: 3.7, env: TOXENV=flake8 } #- { stage: lint, python: 3.7, env: TOXENV=pylint } #- { stage: lint, python: 3.7, env: TOXENV=bandit } - { stage: lint, python: 3.7, env: TOXENV=readme } #- stage: deploy # install: skip # script: skip # deploy: # provider: pypi # distributions: sdist bdist_wheel # user: cool-RR # password: # secure: <your-pypi-password-here-encrypted-using-the-travis-cli> # on: # tags: true
dist: xenial language: python python: - 2.7 - 3.5 - 3.6 - 3.7 - 3.8 - 3.9-dev - pypy2.7-6.0 - pypy3.5 install: - pip install tox-travis script: - tox stages: - lint - test #- deploy matrix: allow_failures: - env: TOXENV=flake8 - env: TOXENV=pylint - env: TOXENV=bandit jobs: include: #- { stage: lint, python: 3.7, env: TOXENV=flake8 } #- { stage: lint, python: 3.7, env: TOXENV=pylint } #- { stage: lint, python: 3.7, env: TOXENV=bandit } - { stage: lint, python: 3.7, env: TOXENV=readme } #- stage: deploy # install: skip # script: skip # deploy: # provider: pypi # distributions: sdist bdist_wheel # user: cool-RR # password: # secure: <your-pypi-password-here-encrypted-using-the-travis-cli> # on: # tags: true
Add MacOS and .NET Core for Travis tests
## Travis CI Integration language: csharp solution: libgame.sln install: - nuget restore libgame.sln - nuget install NUnit.Runners -OutputDirectory testrunner script: - xbuild mono-addins/Mono.Addins/Mono.Addins.csproj - xbuild libgame.sln - mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe libgame.UnitTests/bin/Debug/libgame.UnitTests.dll
## Travis CI Integration language: csharp solution: libgame.sln matrix: include: - os: linux mono: latest dotnet: 1.0.0-preview2-003121 - os: osx mono: latest dotnet: 1.0.0-preview2-003121 install: - nuget restore libgame.sln - nuget install NUnit.Runners -OutputDirectory testrunner script: - xbuild mono-addins/Mono.Addins/Mono.Addins.csproj - xbuild libgame.sln - mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe libgame.UnitTests/bin/Debug/libgame.UnitTests.dll
Use Ruby 2.3.4 for Travis CI
--- language: ruby rvm: - 2.2.6 - 2.3.3 - 2.4.1 - jruby-9.1.8.0 script: bundle exec rake test
--- language: ruby rvm: - 2.2.6 - 2.3.4 - 2.4.1 - jruby-9.1.8.0 script: bundle exec rake test
Add node 12 and 14 to tests
sudo: false os: - linux - osx - windows language: node_js node_js: - node - '10' - '8'
sudo: false os: - linux - osx - windows language: node_js node_js: - node - '14' - '12' - '10' - '8'
Install g++ 4.8 so that native compilation works in Node >= 4
language: node_js sudo: false node_js: - '5' before_install: # Log HTTP requests - npm config set loglevel http install: - time npm install
language: node_js sudo: false node_js: - '5' env: global: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 before_install: # Log HTTP requests - npm config set loglevel http install: - time npm install
Fix Travis phpunit call - use correct location for config
language: php php: - "5.4" - "5.3" before_script: - cp app/config/parameters.yml-dist app/config/parameters.yml - composer install --prefer-source --dev - pear install pear/PHP_CodeSniffer - phpenv rehash script: phpunit -c app/ --coverage-text after_script: - phpcs --report=full --report=gitblame --standard=PSR2 src/ notifications: irc: - "irc.freenode.org#protalk"
language: php php: - "5.4" - "5.3" before_script: - cp app/config/parameters.yml-dist app/config/parameters.yml - composer install --prefer-source --dev - pear install pear/PHP_CodeSniffer - phpenv rehash script: phpunit --coverage-text after_script: - phpcs --report=full --report=gitblame --standard=PSR2 src/ notifications: irc: - "irc.freenode.org#protalk"
Add recent Node.js to Travis CI. Future has already been here for some days...
sudo: false language: node_js node_js: - "0.10" - "0.12" - "iojs" cache: directories: - node_modules matrix: fast_finish: true allow_failures: - node_js: "0.12" - node_js: "iojs"
sudo: false language: node_js node_js: - "0.10" - "0.12" - "3" - "4" cache: directories: - node_modules matrix: fast_finish: true allow_failures: - node_js: "3"
Fix crash when compiliing ruamel.yaml on Travis with Python 3.4 and 3.3
language: python sudo: false cache: directories: - $HOME/.cache/pip python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "3.6-dev" # - "3.7-dev" -- to be added when beta is out - see https://www.python.org/dev/peps/pep-0537/#id6 - "pypy-5.4.1" install: - travis_retry pip install -r requirements.txt - travis_retry pip install -r test-requirements.txt - travis_retry pip install coveralls coverage nose-cov - echo TRAVIS_PYTHON_VERSION=${TRAVIS_PYTHON_VERSION} - if [ ${TRAVIS_PYTHON_VERSION:0:1} != "3" ]; then travis_retry pip install contextlib2; fi - python setup.py --version # Run test script: - if [ $TRAVIS_PYTHON_VERSION == "3.4" ]; then nosetests -v --with-cov --cov streamparse --cov-config .coveragerc --logging-level=DEBUG; fi - if [ $TRAVIS_PYTHON_VERSION != "3.4" ]; then nosetests -v --logging-level=DEBUG; fi # Calculate coverage on success after_success: - if [ $TRAVIS_PYTHON_VERSION == "3.4" ]; then coveralls; fi
language: python sudo: false cache: directories: - $HOME/.cache/pip python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "3.6-dev" # - "3.7-dev" -- to be added when beta is out - see https://www.python.org/dev/peps/pep-0537/#id6 - "pypy-5.4.1" install: - travis_retry pip install --upgrade pip setuptools - travis_retry pip install -r requirements.txt - travis_retry pip install -r test-requirements.txt - travis_retry pip install coveralls coverage nose-cov - echo TRAVIS_PYTHON_VERSION=${TRAVIS_PYTHON_VERSION} - if [ ${TRAVIS_PYTHON_VERSION:0:1} != "3" ]; then travis_retry pip install contextlib2; fi - python setup.py --version # Run test script: - if [ $TRAVIS_PYTHON_VERSION == "3.4" ]; then nosetests -v --with-cov --cov streamparse --cov-config .coveragerc --logging-level=DEBUG; fi - if [ $TRAVIS_PYTHON_VERSION != "3.4" ]; then nosetests -v --logging-level=DEBUG; fi # Calculate coverage on success after_success: - if [ $TRAVIS_PYTHON_VERSION == "3.4" ]; then coveralls; fi
Add missing hyphens for Travis "install" list
language: perl6 env: AUTHOR_TESTING=1 perl6: - latest install: rakudobrew build-panda panda installdeps .
language: perl6 env: AUTHOR_TESTING=1 perl6: - latest install: - rakudobrew build-panda - panda installdeps .
Build also for iOS 9.
language: objective-c osx_image: xcode9.4 env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - WORKSPACE=SwiftyNotifications.xcworkspace - FRAMEWORK_SCHEME="SwiftyNotifications" - SDK=iphonesimulator11.4 - RUN_TESTS="YES" - POD_LINT="NO" matrix: - DESTINATION="OS=11.4,name=iPhone 8" - DESTINATION="OS=10.3.1,name=iPhone SE" before_install: - rm -rf /Users/travis/Library/Developer/Xcode/DerivedData/SwiftyNotifications-*/ - rvm use $RVM_RUBY_VERSION install: - bundle install script: - set -o pipefail - xcodebuild -version - xcodebuild -showsdks # Build Framework in Debug and Run Tests if specified - if [ $RUN_TESTS == "YES" ]; then travis_retry xcodebuild -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES ENABLE_TESTABILITY=YES test | xcpretty; else xcodebuild -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES build | xcpretty; fi after_success: slather
language: objective-c osx_image: xcode9.4 env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 - WORKSPACE=SwiftyNotifications.xcworkspace - FRAMEWORK_SCHEME="SwiftyNotifications" - SDK=iphonesimulator11.4 - RUN_TESTS="YES" - POD_LINT="NO" matrix: - DESTINATION="OS=11.4,name=iPhone 8" - DESTINATION="OS=10.3.1,name=iPhone SE" - DESTINATION="OS=9.3,name=iPhone 5s" before_install: - rm -rf /Users/travis/Library/Developer/Xcode/DerivedData/SwiftyNotifications-*/ - rvm use $RVM_RUBY_VERSION install: - bundle install script: - set -o pipefail - xcodebuild -version - xcodebuild -showsdks # Build Framework in Debug and Run Tests if specified - if [ $RUN_TESTS == "YES" ]; then travis_retry xcodebuild -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES ENABLE_TESTABILITY=YES test | xcpretty; else xcodebuild -workspace "$WORKSPACE" -scheme "$FRAMEWORK_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES build | xcpretty; fi after_success: slather
Add sudo false for faster container builds
language: python python: - "pypy" install: - python setup.py develop - pip install coverage nose mock moto python-coveralls script: nosetests after_success: - coveralls
language: python sudo: false python: - "pypy" install: - python setup.py develop - pip install coverage nose mock moto python-coveralls script: nosetests after_success: - coveralls
Add eagle feed to Travis CI
language: python python: - "3.4" install: - python setup.py script: - python common/shapp.py - python common/sheventhandler.py - python common/shutil.py - python common/shregistry.py - python engine/restinterface.py - python engine/memorymanager.py - python feed/feed.home.tracer.py --help - python feed/feed.home.apcups.py --help - python feed/feed.home.autelis.py --help
language: python python: - "3.4" install: - python setup.py script: - python common/shapp.py - python common/sheventhandler.py - python common/shutil.py - python common/shregistry.py - python engine/restinterface.py - python engine/memorymanager.py - python feed/feed.home.tracer.py --help - python feed/feed.home.apcups.py --help - python feed/feed.home.autelis.py --help - python feed/feed.home.eagle.py --help
Remove PHPBench from unsupported PHP versions
sudo: false language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction script: - vendor/bin/phpcs --standard=psr2 ./src - vendor/bin/phpunit --coverage-text --bootstrap vendor/autoload.php --coverage-clover=coverage.xml after_success: - if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then bash <(curl -s https://codecov.io/bash); fi cache: directories: - $HOME/.composer/cache
sudo: false language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - travis_retry composer self-update - if [[ $TRAVIS_PHP_VERSION == "5.6" ]]; then composer remove --dev phpbench/phpbench; fi - if [[ $TRAVIS_PHP_VERSION == "hhvm" ]]; then composer remove --dev phpbench/phpbench; fi - travis_retry composer install --no-interaction script: - vendor/bin/phpcs --standard=psr2 ./src - vendor/bin/phpunit --coverage-text --bootstrap vendor/autoload.php --coverage-clover=coverage.xml after_success: - if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then bash <(curl -s https://codecov.io/bash); fi cache: directories: - $HOME/.composer/cache
Update the ubuntu build for CI
language: common-lisp sudo: required os: - linux - osx env: - LISP=sbcl-bin - LISP=ccl-bin matrix: include: - language: nix os: linux env: script: nix-build default.nix && echo -shcl-run-tests | ./result/bin/shcl install: true install: - ./ci/install script: - make LISP='ros -s cffi-grovel run --' - echo -shcl-run-tests | ./run-shcl
sudo: required dist: bionic os: - linux - osx env: - LISP=sbcl-bin - LISP=ccl-bin matrix: include: - language: nix env: script: nix-build default.nix && echo -shcl-run-tests | ./result/bin/shcl install: true install: - ./ci/install script: - make LISP='ros -s cffi-grovel run --' - echo -shcl-run-tests | ./run-shcl
Remove end of life PHP versions from Travis CI
language: php php: - 7.2 - 7.1 - 7.0 - 5.6 - 5.5 - 5.4 before_script: composer install
language: php php: - 7.2 - 7.1 - 7.0 - 5.6 before_script: composer install
Make it possible to enable Travis on forks
# http://docs.travis-ci.com/user/languages/go/ language: go install: true script: script/cibuild notifications: email: false
# http://docs.travis-ci.com/user/languages/go/ language: go install: true script: script/cibuild notifications: email: false before_install: - repo=`basename $PWD`; localDir=`dirname $PWD`; cfDir="`dirname $localDir`/github" - if [[ "$localDir" != "$cfDir" ]]; then mv "$localDir" "$cfDir"; cd ../../github/$repo; export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$repo; fi
Build needs to happen before test
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - '6' - '5' - '4' - iojs-v3 - iojs-v2 - iojs-v1 - '0.12' before_install: - npm i -g npm@^2.0.0 before_script: - npm prune script: - npm test - npm run build after_success: - 'curl -Lo travis_after_all.py https://git.io/travis_after_all' - python travis_after_all.py - export $(cat .to_export_back) &> /dev/null - npm run coveralls - npm run semantic-release branches: except: - /^v\d+\.\d+\.\d+$/
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - '6' - '5' - '4' - iojs-v3 - iojs-v2 - iojs-v1 - '0.12' before_install: - npm i -g npm@^2.0.0 before_script: - npm prune script: - npm run build - npm test after_success: - 'curl -Lo travis_after_all.py https://git.io/travis_after_all' - python travis_after_all.py - export $(cat .to_export_back) &> /dev/null - npm run coveralls - npm run semantic-release branches: except: - /^v\d+\.\d+\.\d+$/
Update from Hackage at 2020-06-20T10:20:45Z
homepage: https://github.com/nikita-volkov/theatre changelog-type: '' hash: f52a416f91a0f051b7bd29e0e55720209f15bb34e918fdd2189c3011316265e2 test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Minimalistic actor library changelog: '' basic-deps: base-prelude: ! '>=0.1.19 && <2' base: ! '>=4.8 && <5' slave-thread: ==1.* semigroups: ! '>=0.18 && <0.20' contravariant: ! '>=1.3 && <2' unagi-chan: ==0.4.* all-versions: - '1' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '1' description-type: haddock description: '' license-name: MIT
homepage: https://github.com/nikita-volkov/theatre changelog-type: '' hash: a61d0f49cf60632538dbe0e173e93481df6857ec0f96939983592375eac47722 test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Minimalistic actor library changelog: '' basic-deps: base: '>=4.9 && <5' slave-thread: ==1.* semigroups: '>=0.18 && <0.20' contravariant: '>=1.3 && <2' unagi-chan: ==0.4.* all-versions: - '1' - 1.0.0.1 author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: 1.0.0.1 description-type: haddock description: '' license-name: MIT
Change personal info and add google analytics
title: John Doe # your name (or website title) here logo: "/images/profile-pic-2.png?raw=true" # your photo (or logo) here description: > # your text below (remove <br> elements if you don't need line breaks) First description <br><br> Second description <br><br> <a href="https://www.linkedin.com/in/example/">View My LinkedIn Profile</a> theme: jekyll-theme-minimal google_analytics: UA-000000-0 # your Google Analytics tracking ID here
title: Darius Atmar # your name (or website title) here logo: "/images/profile-pic-2.png?raw=true" # your photo (or logo) here description: > # your text below (remove <br> elements if you don't need line breaks) Data Scientist <br><br> <a href="https://www.linkedin.com/in/dariusatmar/">View My LinkedIn Profile</a> theme: jekyll-theme-minimal google_analytics: UA-176995351-1 # your Google Analytics tracking ID here
Add element service as dependency for ElementListener
services: # event listeners phlexible_frontend_media.listener.element: class: Phlexible\Bundle\FrontendMediaBundle\EventListener\ElementListener arguments: - "@phlexible_frontend_media.usage_updater" - "@phlexible_queue.job_manager" tags: - {name: kernel.event_subscriber} # fields phlexible_frontend_media.field.folder: class: Phlexible\Bundle\FrontendMediaBundle\Field\FolderField public: false tags: - {name: phlexible_elementtype.field, alias: folder} phlexible_frontend_media.field.file: class: Phlexible\Bundle\FrontendMediaBundle\Field\FileField public: false tags: - {name: phlexible_elementtype.field, alias: file} # twig extensions phlexible_media_manager.twig.media_extension: class: Phlexible\Bundle\FrontendMediaBundle\Twig\Extension\MediaExtension public: false arguments: - "@router" - "@phlexible_media_manager.volume_manager" - "@phlexible_media_manager.file_meta_set_resolver" - "@phlexible_media_manager.doctrine.file_meta_data_manager" tags: - {name: twig.extension}
services: # event listeners phlexible_frontend_media.listener.element: class: Phlexible\Bundle\FrontendMediaBundle\EventListener\ElementListener arguments: - "@phlexible_frontend_media.usage_updater" - "@phlexible_element.element_service" - "@phlexible_queue.job_manager" tags: - {name: kernel.event_subscriber} # fields phlexible_frontend_media.field.folder: class: Phlexible\Bundle\FrontendMediaBundle\Field\FolderField public: false tags: - {name: phlexible_elementtype.field, alias: folder} phlexible_frontend_media.field.file: class: Phlexible\Bundle\FrontendMediaBundle\Field\FileField public: false tags: - {name: phlexible_elementtype.field, alias: file} # twig extensions phlexible_media_manager.twig.media_extension: class: Phlexible\Bundle\FrontendMediaBundle\Twig\Extension\MediaExtension public: false arguments: - "@router" - "@phlexible_media_manager.volume_manager" - "@phlexible_media_manager.file_meta_set_resolver" - "@phlexible_media_manager.doctrine.file_meta_data_manager" tags: - {name: twig.extension}
Add HHVM + PHP 7, allow both to fail
language: php php: - 5.6 - 5.5 - 5.4 - 5.3 install: - composer install - composer self-update - composer update - chmod +x ./tests/phpunit.sh script: ./tests/phpunit.sh travis
language: php php: - "7.0" - "5.6" - "5.5" - "5.4" - "5.3" - "hhvm" sudo: false matrix: fast_finish: true allow_failures: - php: "7.0" - php: "hhvm" install: - composer install - composer self-update - composer update - chmod +x ./tests/phpunit.sh script: ./tests/phpunit.sh travis
Update Travis to LLVM 3.9 to fix CI
language: cpp compiler: - gcc - clang sudo: required dist: trusty before_install: # Add repositories - sudo add-apt-repository -y 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.8 main' - wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-get update -qq # Install Clang + LLVM - sudo apt-get install -y llvm-3.8-dev libclang-3.8-dev clang-3.8 - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.8 20 - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.8 20 - sudo rm /usr/local/clang-3.5.0/bin/clang - sudo rm /usr/local/clang-3.5.0/bin/clang++ # Other dependencies - sudo apt-get install -y libedit-dev script: - cmake . -DLLVM_DIR=/usr/lib/llvm-3.8/share/llvm/cmake/ - make -j 2 - make test
language: cpp compiler: - gcc - clang sudo: required dist: trusty before_install: # Add repositories - sudo add-apt-repository -y 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main' - wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-get update -qq # Remove existing LLVM - sudo apt-get remove llvm # Install Clang + LLVM - sudo apt-get install -y llvm-3.9-dev libclang-3.9-dev clang-3.9 - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.9 20 - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.9 20 - sudo rm /usr/local/clang-3.5.0/bin/clang - sudo rm /usr/local/clang-3.5.0/bin/clang++ # Other dependencies - sudo apt-get install -y libedit-dev script: - cmake . -DLLVM_DIR=/usr/lib/llvm-3.9/lib/cmake/llvm - make -j 2 - make test
Allow `jruby` to fail in Travis CI
sudo: false language: ruby bundler_args: --path vendor/bundle --jobs=3 --retry=3 script: bundle exec rspec cache: bundler before_install: - gem install bundler - bundle config --local without local_development yard guard rvm: # 2.1, not 2.1.0 until fixed https://github.com/travis-ci/travis-ci/issues/2220 - 2.4 - 2.5 - 2.6 - jruby matrix: fast_finish: true
sudo: false language: ruby bundler_args: --path vendor/bundle --jobs=3 --retry=3 script: bundle exec rspec cache: bundler before_install: - gem install bundler - bundle config --local without local_development yard guard rvm: # 2.1, not 2.1.0 until fixed https://github.com/travis-ci/travis-ci/issues/2220 - 2.4 - 2.5 - 2.6 - jruby matrix: allow_failures: - rvm: jruby fast_finish: true
Add Rubies 1.8.7 and 1.9.3 to the Travis build
script: rspec rvm: - 1.9.2 - jruby notifications: irc: "irc.freenode.org#travis"
script: rspec rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby notifications: irc: "irc.freenode.org#travis"
Fix matrix & allow-failures from PHP7-APC
language: php php: - 7.0 - 5.6 - 5.5 - 5.4 - 5.3 - hhvm env: - ADAPTER=MemoryStore - ADAPTER=Apc - ADAPTER=Memcached - ADAPTER=Redis - ADAPTER=Couchbase - ADAPTER=MySQL - ADAPTER=SQLite - ADAPTER=PostgreSQL - ADAPTER=Filesystem services: - memcached - redis before_script: - tests/.travis/$ADAPTER.sh - composer self-update && composer install --dev after_script: - php vendor/bin/coveralls matrix: exclude: - php: hhvm env: Couchbase - php: 7.0 env: Memcached - php: 7.0 env: Redis - php: 7.0 env: Couchbase sudo: required
language: php php: - 7.0 - 5.6 - 5.5 - 5.4 - 5.3 - hhvm env: - ADAPTER=MemoryStore - ADAPTER=Apc - ADAPTER=Memcached - ADAPTER=Redis - ADAPTER=Couchbase - ADAPTER=MySQL - ADAPTER=SQLite - ADAPTER=PostgreSQL - ADAPTER=Filesystem services: - memcached - redis before_script: - tests/.travis/$ADAPTER.sh - composer self-update && composer install --dev after_script: - php vendor/bin/coveralls matrix: fast_finish: true allow_failures: - php: 7.0 env: ADAPTER=Apc - php: 7.0 env: ADAPTER=Memcached - php: 7.0 env: ADAPTER=Redis - php: 7.0 env: ADAPTER=Couchbase - php: hhvm env: ADAPTER=Couchbase sudo: required
Install GCC v4.8 on Travis CI
language: node_js node_js: - "6" - "4" - "0.12" - "0.10" - "0.8" install: - "sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm" - "npm install -g npm" - "npm install -g grunt-cli" - "npm install" - "./node_modules/.bin/node-gyp install" matrix: fast_finish: true
language: node_js node_js: - "6" - "4" - "0.12" - "0.10" - "0.8" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 install: - "sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm" - "npm install -g npm" - "npm install -g grunt-cli" - "npm install" - "./node_modules/.bin/node-gyp install" matrix: fast_finish: true
Install specific versions of memcached as well, and remove reference to the ini file that has been deleted
language: php dist: trusty sudo: false cache: directories: - $HOME/.composer/cache php: - 5.6 - 7.0 - 7.1 notifications: irc: use_notice: true skip_join: true channels: ["irc.freenode.org#imbo"] branches: only: - develop - master services: - memcached before_install: - | # Install different version of APCu for different PHP-versions if [[ $TRAVIS_PHP_VERSION = 7.* ]]; then printf "\n" | pecl install apcu else printf "\n" | pecl install -f apcu-4.0.11 fi - printf "\n" | pecl install memcached - php -m before_script: - echo 'apc.enable_cli=On' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - phpenv config-add .travis-php.ini - composer self-update - composer lint - composer install --prefer-dist script: - ./vendor/bin/phpunit --verbose
language: php dist: trusty sudo: false cache: directories: - $HOME/.composer/cache php: - 5.6 - 7.0 - 7.1 notifications: irc: use_notice: true skip_join: true channels: ["irc.freenode.org#imbo"] branches: only: - develop - master services: - memcached before_install: - | if [[ $TRAVIS_PHP_VERSION = 7.* ]]; then printf "\n" | pecl install apcu printf "\n" | pecl install memcached else printf "\n" | pecl install -f apcu-4.0.11 printf "\n" | pecl install -f memcached-2.2.0 fi - php -m before_script: - echo 'apc.enable_cli=On' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - composer self-update - composer lint - composer install --prefer-dist script: - ./vendor/bin/phpunit --verbose
Update Ruby and buundler versions
language: ruby rvm: - 2.0.0-p647 - 2.1.7 - 2.2.3 before_install: gem install bundler -v 1.10.6
language: ruby rvm: - 2.7.1 - 2.6.6 - 2.5.8 before_install: gem install bundler
Add ruby 2.0 and 2.1
language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode
language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - "2.0.0" - "2.1.0" - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode
Use ubuntu trusty for OTP 18 on Travis
addons: postgresql: "10" apt: packages: - postgresql-10-postgis-2.4 - postgresql-10-postgis-2.4-scripts - postgresql-contrib-10 env: - PATH=".:/usr/lib/postgresql/10/bin:$PATH" install: "true" language: erlang otp_release: - 22.0 - 21.3 - 20.3 - 19.3 - 18.3 script: - make elvis - make test - make dialyzer
addons: postgresql: "10" apt: packages: - postgresql-10-postgis-2.4 - postgresql-10-postgis-2.4-scripts - postgresql-contrib-10 env: - PATH=".:/usr/lib/postgresql/10/bin:$PATH" install: "true" language: erlang matrix: include: - otp_release: 22.0 - otp_release: 21.3 - otp_release: 20.3 - otp_release: 19.3 - otp_release: 18.3 dist: trusty script: - make elvis - make test - make dialyzer
Remove unsupported python versions from build matrix
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "pypy" - "pypy-5.3" cache: pip: true directories: - google-cloud-sdk - redis-git install: - pip install -r requirements/ci.txt services: - redis-server - memcached before_script: - make -f Makefile.tests tests script: nosetests tests --with-cov -v after_success: - coveralls
language: python python: - "2.6" - "2.7" - "3.5" - "pypy" - "pypy-5.3" cache: pip: true directories: - google-cloud-sdk - redis-git install: - pip install -r requirements/ci.txt services: - redis-server - memcached before_script: - make -f Makefile.tests tests script: nosetests tests --with-cov -v after_success: - coveralls
Allow Travis to retry composer installation.
language: php php: - 5.5 - 5.6 - 7.0 - nightly before_script: composer install
language: php php: - 5.5 - 5.6 - 7.0 - nightly before_script: - travis_retry composer self-update - travis_retry composer install --prefer-dist --no-interaction script: phpunit
Drop support for node 0.6 and 0.8.
language: "node_js" node_js: - "8" - "7" - "6" - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" - "0.10" - "0.8" - "0.6" before_install: - "npm install make-node@0.3.x -g" - "preinstall-compat" script: - "make test-cov" after_success: - "make report-cov" sudo: false
language: "node_js" node_js: - "8" - "7" - "6" - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" - "0.10" before_install: - "npm install make-node@0.3.x -g" - "preinstall-compat" script: - "make test-cov" after_success: - "make report-cov" sudo: false
Enable kuromoji-common, kuromoji-ipadic and kuromoji-unidic
language: java jdk: - openjdk7 - oraclejdk7 - oraclejdk8 before_install: - sudo rm -f /etc/mavenrc install: - mvn install -DskipTests script: - mvn test -DskipCompileDictionary
language: java jdk: - openjdk7 - oraclejdk7 - oraclejdk8 before_install: - sudo rm -f /etc/mavenrc install: - mvn install -DskipTests -pl kuromoji-ipadic -pl kuromoji-unidic -am script: - mvn test -DskipCompileDictionary -pl kuromoji-ipadic -pl kuromoji-unidic -am
Update Travis config to allow failures except for 2.3
language: ruby rvm: - 2.1.6 - 2.2.3 - 2.3.0 matrix: fast_finish: true allow_failures: - env: CUSTOM_RUBY_VERSION=2.1.6 ISOLATED=true rvm: 2.1.6 sudo: false bundler_args: --deployment --without development cache: - bundler - directories: - bower_components - node_modules before_script: - ruby --version - cp config/database.ci.yml config/database.yml - cp .env.example .env - psql -c 'create database orientation_test;' -U postgres - npm install -g bower - bower install - bundle exec rake db:migrate script: - bundle exec rspec spec/ branches: only: - master notifications: email: false addons: postgresql: "9.3" code_climate: repo_token: 75408d377a0b3c1ab512bf3fb634617bccf2a1065f8c513e352139427ec8e1fb
language: ruby matrix: include: - rvm: 2.3.0 - rvm: 2.2.3 env: CUSTOM_RUBY_VERSION=2.2.3 ISOLATED=true - rvm: 2.1.6 env: CUSTOM_RUBY_VERSION=2.1.6 ISOLATED=true fast_finish: true allow_failures: - 2.2.3 - 2.1.6 sudo: false bundler_args: --deployment --without development cache: - bundler - directories: - bower_components - node_modules before_script: - ruby --version - cp config/database.ci.yml config/database.yml - cp .env.example .env - psql -c 'create database orientation_test;' -U postgres - npm install -g bower - bower install - bundle exec rake db:migrate script: - bundle exec rspec spec/ branches: only: - master notifications: email: false addons: postgresql: "9.3" code_climate: repo_token: 75408d377a0b3c1ab512bf3fb634617bccf2a1065f8c513e352139427ec8e1fb
Update Composer itself in before_install section
language: php services: - memcached env: global: - MEMCACHE_HOST=127.0.0.1 - MEMCACHE_PORT=11211 sudo: false cache: directories: - $HOME/.composer/cache php: # Can't test against 5.2; openssl is not available: # http://docs.travis-ci.com/user/languages/php/#PHP-installation - 5.3 - 5.4 - 5.5 - 5.6 - hhvm install: - composer install before_script: - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;' - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;' - phpenv version-name | grep ^5.[34] && echo "extension=apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true - phpenv version-name | grep ^5.[34] && echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true script: - vendor/bin/phpunit
language: php services: - memcached env: global: - MEMCACHE_HOST=127.0.0.1 - MEMCACHE_PORT=11211 sudo: false cache: directories: - $HOME/.composer/cache php: # Can't test against 5.2; openssl is not available: # http://docs.travis-ci.com/user/languages/php/#PHP-installation - 5.3 - 5.4 - 5.5 - 5.6 - hhvm before_install: - composer self-update install: - composer install before_script: - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;' - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;' - phpenv version-name | grep ^5.[34] && echo "extension=apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true - phpenv version-name | grep ^5.[34] && echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true script: - vendor/bin/phpunit
Increase number of test runs
language: scala os: - linux script: - sbt ++$TRAVIS_SCALA_VERSION clean "flaky times=10" scala: - 2.12.3 jdk: - oraclejdk8 sudo: false notifications: email: - krzysztof.otrebski@gmail.com cache: directories: - $HOME/.sbt/1.0 - $HOME/.sbt/boot/scala* - $HOME/.sbt/cache - $HOME/.sbt/launchers - $HOME/.ivy2 - $TRAVIS_BUILD_DIR/history before_cache: - du -h -d 1 $HOME/.ivy2/ - du -h -d 2 $HOME/.sbt/ - find $HOME/.sbt -name "*.lock" -type f -delete - find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete deploy: provider: bitballoon skip_cleanup: true site-id: secure: "$SITE_ID" access-token: secure: "$ACCESS_TOKEN" local-dir: "target/flaky-test-reports-html"
language: scala os: - linux script: - sbt ++$TRAVIS_SCALA_VERSION clean "flaky times=30" scala: - 2.12.3 jdk: - oraclejdk8 sudo: false notifications: email: - krzysztof.otrebski@gmail.com cache: directories: - $HOME/.sbt/1.0 - $HOME/.sbt/boot/scala* - $HOME/.sbt/cache - $HOME/.sbt/launchers - $HOME/.ivy2 - $TRAVIS_BUILD_DIR/history before_cache: - du -h -d 1 $HOME/.ivy2/ - du -h -d 2 $HOME/.sbt/ - find $HOME/.sbt -name "*.lock" -type f -delete - find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete deploy: provider: bitballoon skip_cleanup: true site-id: secure: "$SITE_ID" access-token: secure: "$ACCESS_TOKEN" local-dir: "target/flaky-test-reports-html"
Set PATH to netcalc for BATS
# Travis CI integration # Defaults to GNU GCC and autotools: ./configure && make && make test language: c # Use newer Travis "trusty" image to get newer bash 4.3.* dist: trusty # We don't need to install packages, use dockerized build, quicker sudo: false # Get and install the Bash Automated Testing System (bats) before_script: - git clone https://github.com/sstephenson/bats.git /tmp/bats - mkdir -p /tmp/local - bash /tmp/bats/install.sh /tmp/local - export PATH=$PATH:/tmp/local/bin # We don't store generated files (configure and Makefile) in GIT, # so we must customize the default build script to run ./autogen.sh script: - ./autogen.sh - ./configure - make - make test - bats tests
# Travis CI integration # Defaults to GNU GCC and autotools: ./configure && make && make test language: c # Use newer Travis "trusty" image to get newer bash 4.3.* dist: trusty # We don't need to install packages, use dockerized build, quicker sudo: false # Get and install the Bash Automated Testing System (bats) before_script: - git clone https://github.com/sstephenson/bats.git /tmp/bats - mkdir -p /tmp/local - bash /tmp/bats/install.sh /tmp/local - export PATH=$PATH:/tmp/local/bin # We don't store generated files (configure and Makefile) in GIT, # so we must customize the default build script to run ./autogen.sh script: - ./autogen.sh - ./configure - make - make test - PATH=$PATH:./src bats tests
Remove docker-engine pakckage before update it
sudo: required services: - docker env: DOCKER_COMPOSE_VERSION: 1.6.0 before_install: - sudo apt-get update - Y | sudo apt-get install -qqy docker-engine - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin script: - docker-compose -f docker-compose-test.yml build - docker-compose -f docker-compose-test.yml run --rm -e $GITHUB_API_TOKEN -e $MAGE_ACCOUNT_PUBLIC_KEY -e $MAGE_ACCOUNT_PRIVATE_KEY magento2 magento
sudo: required services: - docker env: DOCKER_COMPOSE_VERSION: 1.6.0 before_install: - sudo apt-get remove -qqy docker-engine - sudo apt-get autoremove --purge docker-engine - sudo apt-get update - sudo apt-get install -qqy docker-engine - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin script: - docker-compose -f docker-compose-test.yml build - docker-compose -f docker-compose-test.yml run --rm -e $GITHUB_API_TOKEN -e $MAGE_ACCOUNT_PUBLIC_KEY -e $MAGE_ACCOUNT_PRIVATE_KEY magento2 magento
Change to stop caching bundler
--- language: ruby sudo: false cache: bundler before_install: "gem install bundler -v '< 2.0'" bundler_args: --without tools script: "bundle exec rake ci" rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.1 - ruby-head - jruby-9.1.5.0 - jruby-head - truffleruby matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: jruby-9.1.5.0 - rvm: truffleruby fast_finish: true branches: only: master notifications: email: false
--- language: ruby sudo: false before_install: "gem install bundler -v '< 2.0'" bundler_args: --without tools script: "bundle exec rake ci" rvm: - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.1 - ruby-head - jruby-9.1.5.0 - jruby-head - truffleruby matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: jruby-9.1.5.0 - rvm: truffleruby fast_finish: true branches: only: master notifications: email: false
Test with more versions of django and python
language: python python: - 2.7 env: - DJANGO=1.7 - DJANGO=1.8 - DJANGO=1.9 before_install: - export DJANGO_SETTINGS_MODULE=app.settings - export PYTHONPATH=$HOME/builds/fatboystring/csv_generator - export PIP_USE_MIRRORS=true install: - pip install -r requirements.txt - pip install django==$DJANGO --quiet script: - "if [[ ${DJANGO} == 1.7 ]]; then python manage.py syncdb --noinput; else python manage.py migrate --noinput; fi"
language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - 3.4 env: - DJANGO=1.5 - DJANGO=1.6 - DJANGO=1.7 - DJANGO=1.8 - DJANGO=1.9 before_install: - export DJANGO_SETTINGS_MODULE=app.settings - export PYTHONPATH=$HOME/builds/fatboystring/csv_generator - export PIP_USE_MIRRORS=true install: - pip install -r requirements.txt - pip install django==$DJANGO --quiet script: - "if [[ ${DJANGO} == 1.7 ]]; then python manage.py syncdb --noinput; else python manage.py migrate --noinput; fi"
Remove version 'stable' from Travis build
language: go go: - 1.7 - 1.8 - stable - tip script: - go test -race -parallel 4 -timeout 30s -v ./...
language: go go: - 1.7 - 1.8 - tip script: - go test -race -parallel 4 -timeout 30s -v ./...
Add CentOS 6.5 and Ubuntu 12.04 as test platforms.
--- provisioner: name: ansible_playbook hosts: test-kitchen require_ansible_repo: false require_ansible_omnibus: true driver: name: docker platforms: - name: debian-7.8 driver_config: image: dynatrace/debian-testing:7.8 suites: - name: default
--- provisioner: name: ansible_playbook hosts: test-kitchen require_ansible_repo: false require_ansible_omnibus: true driver: name: docker platforms: - name: centos-6 driver_config: image: dynatrace/centos-testing:6 - name: debian-7.8 driver_config: image: dynatrace/debian-testing:7.8 - name: ubuntu-12.04 driver_config: image: dynatrace/ubuntu-testing:12.04 suites: - name: default
Make Travis using efficient build script
language: java jdk: - oraclejdk8 - oraclejdk7 git: depth: 3 before_script: - chmod +x gradlew script: - ./gradlew build
language: java jdk: - oraclejdk8 - oraclejdk7 git: depth: 3 before_script: - chmod +x gradlew script: - echo 'Setup environment' - ./gradlew setupCiWorkspace - echo 'Build' - ./gradlew build
Set build number to 0.
{% set OMERO_VERSION = "5.3.1" %} package: name: python-omero version: {{ OMERO_VERSION }} source: fn: OMERO.py-{{ OMERO_VERSION }}-ice36-b61.zip url: http://downloads.openmicroscopy.org/omero/{{ OMERO_VERSION }}/artifacts/OMERO.py-{{ OMERO_VERSION }}-ice36-b61.zip sha1: b4485c382b8ad5d059c72b8cba272f7b29574395 build: number: 2 skip: True # [py3k] requirements: build: - conda-build - setuptools - python run: - python - zeroc-ice test: imports: - omero - omero.gateway about: home: http://www.openmicroscopy.org/ license: GPL 2 summary: OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data.
{% set OMERO_VERSION = "5.3.1" %} package: name: python-omero version: {{ OMERO_VERSION }} source: fn: OMERO.py-{{ OMERO_VERSION }}-ice36-b61.zip url: http://downloads.openmicroscopy.org/omero/{{ OMERO_VERSION }}/artifacts/OMERO.py-{{ OMERO_VERSION }}-ice36-b61.zip sha1: b4485c382b8ad5d059c72b8cba272f7b29574395 build: number: 0 skip: True # [py3k] requirements: build: - conda-build - setuptools - python run: - python - zeroc-ice test: imports: - omero - omero.gateway about: home: http://www.openmicroscopy.org/ license: GPL 2 summary: OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data.
Adjust bower command to use local node version
language: php php: - '5.6' install: - composer install services: - postgresql addons: postgresql: "9.3" before_script: - cp test/php/.travis.config.php test/php/config.php - npm install - bower install script: - phpunit - grunt jasmine
language: php php: - '5.6' install: - composer install services: - postgresql addons: postgresql: "9.3" before_script: - cp test/php/.travis.config.php test/php/config.php - npm install - node_modules/bower/bin/bower install script: - phpunit - grunt jasmine
Update the test matrix to the latest versions of rails.
language: ruby cache: bundler sudo: false rvm: - 2.2 matrix: include: - rvm: 2.1 env: "RAILS_VERSION=4.1.8" env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true matrix: - "RAILS_VERSION=4.1.8" - "RAILS_VERSION=4.2.1" notifications: email: recipients: - "ul-dlt-hydra@lists.psu.edu" on_success: "change" on_failure: "always" irc: channels: - "irc.freenode.org#scholarsphere" - "irc.freenode.org#projecthydra" template: - "%{repository}//%{branch}@%{commit} by %{author}: %{message} - %{build_url}" services: - redis-server
language: ruby cache: bundler sudo: false rvm: - 2.2 matrix: include: - rvm: 2.1 env: "RAILS_VERSION=4.2.1" env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true matrix: - "RAILS_VERSION=4.1.10" - "RAILS_VERSION=4.2.1" notifications: email: recipients: - "ul-dlt-hydra@lists.psu.edu" on_success: "change" on_failure: "always" irc: channels: - "irc.freenode.org#scholarsphere" - "irc.freenode.org#projecthydra" template: - "%{repository}//%{branch}@%{commit} by %{author}: %{message} - %{build_url}" services: - redis-server
Define location for the extra modules for Jupyter.
--- jupyterhub_src_dir: /data/local/jupyterhub
--- jupyterhub_src_dir: /data/local/jupyterhub jupyterhub_modules_dir: /data/local/jupyterhub/modules
Return 'Release Notes' to the main menu
- text: Docs url: /documentation/getting-started/ highlightUrl: /documentation - text: Media url: /media/community/ highlightUrl: /media - text: FAQ url: /faq/ - text: Support url: /support/ - text: TestCafe Studio url: https://www.devexpress.com/products/testcafestudio/ external: true id: studio-link
- text: Docs url: /documentation/getting-started/ highlightUrl: /documentation - text: Media url: /media/community/ highlightUrl: /media - text: FAQ url: /faq/ - text: Support url: /support - text: Release Notes url: /blog/ - text: TestCafe Studio url: https://www.devexpress.com/products/testcafestudio/ external: true id: studio-link
Fix github accounts and add custom link
# These are supported funding model platforms github: [mindsers] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: mindsers # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: mindsers # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry custom: # Replace with a single custom sponsorship URL
# These are supported funding model platforms github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: mindsers # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: mindsers # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry custom: nathanaelcherrier.com/en/support # Replace with a single custom sponsorship URL
Fix URL for tar file
{% set version = "0.7.3" %} package: name: glueviz version: {{version}} source: fn: glueviz-{{version}}.tar.gz url: https://pypi.python.org/packages/6d/03/cbef6e6f80112dfc4edb4f1d6a419ea9b159511f0828b94f1bfd730f7cdb/glueviz-{{version}}.tar.gz md5: 27d246df1e69e1c9e05a474c714cc4af build: number: 0 script: python setup.py install --single-version-externally-managed --record record.txt osx_is_app: True requirements: build: - python - setuptools run: - python - numpy - scipy - matplotlib - astropy - ipython - ipykernel - h5py - pandas - pyqt - qtconsole - xlrd - scikit-image - python.app # [osx] test: imports: - glue commands: - glue --version - glue-deps list - python -c 'import glue; glue.test()' app: entry: glue icon: logo.png summary: Multi-dimensional linked data exploration type: desk about: home: http://glueviz.org license: BSD summary: Multi-dimensional linked data exploration extra: recipe-maintainers: - astrofrog
{% set version = "0.7.3" %} package: name: glueviz version: {{version}} source: fn: glueviz-{{version}}.tar.gz url: https://pypi.io/packages/source/g/glueviz/glueviz-{{version}}.tar.gz md5: 27d246df1e69e1c9e05a474c714cc4af build: number: 0 script: python setup.py install --single-version-externally-managed --record record.txt osx_is_app: True requirements: build: - python - setuptools run: - python - numpy - scipy - matplotlib - astropy - ipython - ipykernel - h5py - pandas - pyqt - qtconsole - xlrd - scikit-image - python.app # [osx] test: imports: - glue commands: - glue --version - glue-deps list - python -c 'import glue; glue.test()' app: entry: glue icon: logo.png summary: Multi-dimensional linked data exploration type: desk about: home: http://glueviz.org license: BSD summary: Multi-dimensional linked data exploration extra: recipe-maintainers: - astrofrog
Update from Hackage at 2020-03-31T01:33:55Z
homepage: https://github.com/tree-sitter/haskell-tree-sitter/tree/master/tree-sitter-ql changelog-type: markdown hash: 3f02c7f87c192218498509b3360d60691e4ebf73d757746d2c8a0c379ad4e9d9 test-bench-deps: {} maintainer: rewinfrey@github.com synopsis: Tree-sitter grammar/parser for QL changelog: | # v0.1.0.1 * Bump tree-sitter-ql parser to use consistent test structure (test/corpus/*.txt) # v0.1.0.0 * add tree-sitter-ql parser basic-deps: base: ! '>=4.12 && <4.14' tree-sitter: ^>=0.9.0.0 all-versions: - 0.1.0.0 - 0.1.0.1 author: Max Brunsfeld, Tim Clem, Rob Rix, Josh Vera, Rick Winfrey, Ayman Nadeem, Patrick Thomson latest: 0.1.0.1 description-type: haddock description: This package provides a parser for QL suitable for use with the tree-sitter package. license-name: BSD-3-Clause
homepage: https://github.com/tree-sitter/haskell-tree-sitter/tree/master/tree-sitter-ql changelog-type: markdown hash: 0e666550fc7d54e239e25531db9cf09d483937cc2592b4d880664f924b28aff7 test-bench-deps: {} maintainer: rewinfrey@github.com synopsis: Tree-sitter grammar/parser for QL changelog: | # v0.1.0.2 * Bump tree-sitter-ql parser to use named field nodes # v0.1.0.1 * Bump tree-sitter-ql parser to use consistent test structure (test/corpus/*.txt) # v0.1.0.0 * add tree-sitter-ql parser basic-deps: base: ! '>=4.12 && <4.14' tree-sitter: ^>=0.9.0.0 all-versions: - 0.1.0.0 - 0.1.0.1 - 0.1.0.2 author: Max Brunsfeld, Tim Clem, Rob Rix, Josh Vera, Rick Winfrey, Ayman Nadeem, Patrick Thomson latest: 0.1.0.2 description-type: haddock description: This package provides a parser for QL suitable for use with the tree-sitter package. license-name: BSD-3-Clause
Add keep_files option to keep blog folder on production xserver
title: yuasabe logo: https://avatars3.githubusercontent.com/u/5180742?s=400&u=2d2abb484ef4fca12fe432ac562b6ff69aa70278&v=4 description: show_downloads: false google_analytics: UA-120752245-1 theme: jekyll-theme-minimal
title: yuasabe logo: https://avatars3.githubusercontent.com/u/5180742?s=400&u=2d2abb484ef4fca12fe432ac562b6ff69aa70278&v=4 description: show_downloads: false google_analytics: UA-120752245-1 theme: jekyll-theme-minimal keep_files: [blog]
Fix home link in recipe
package: name: pocean-core version: "1.1.0" source: path: ../ build: number: 0 script: python setup.py install --single-version-externally-managed --record=record.txt requirements: build: - python - setuptools run: - python - numpy - pytz - python-dateutil - netcdf4 - pandas - pygc >=1.2.0 - simplejson - shapely test: source_files: - pocean requires: - pytest imports: - pocean - pocean.dsg - pocean.grid - pocean.tests commands: - py.test pocean about: home: https://github.com/axiom-data-science/pocean-core license: MIT summary: 'A python framework for working with met-ocean data.'
package: name: pocean-core version: "1.1.0" source: path: ../ build: number: 0 script: python setup.py install --single-version-externally-managed --record=record.txt requirements: build: - python - setuptools run: - python - numpy - pytz - python-dateutil - netcdf4 - pandas - pygc >=1.2.0 - simplejson - shapely test: source_files: - pocean requires: - pytest imports: - pocean - pocean.dsg - pocean.grid - pocean.tests commands: - py.test pocean about: home: https://github.com/pyoceans/pocean-core license: MIT summary: 'A python framework for working with met-ocean data.'
Add pandoc-ruby to make slim-lint happy
name: Run Linters on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Setup gems run: | echo "source 'https://rubygems.org'" > Gemfile echo "group :test do" >> Gemfile echo " gem 'rubocop', require: false" >> Gemfile echo " gem 'rubocop-performance', require: false" >> Gemfile echo " gem 'rubocop-rails', require: false" >> Gemfile echo " gem 'rubocop-rspec', require: false" >> Gemfile echo " gem 'slim_lint', require: false" >> Gemfile echo "end" >> Gemfile gem install bundler bundle install --jobs 4 --retry 3 - name: Run RuboCop run: | bundle exec rubocop -S - name: Run Slim-Lint run: | bundle exec slim-lint app/views if: always()
name: Run Linters on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install package dependencies run: > sudo apt-get install --yes --quiet pandoc - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Setup gems run: | echo "source 'https://rubygems.org'" > Gemfile echo "group :test do" >> Gemfile echo " gem 'rubocop', require: false" >> Gemfile echo " gem 'rubocop-performance', require: false" >> Gemfile echo " gem 'rubocop-rails', require: false" >> Gemfile echo " gem 'rubocop-rspec', require: false" >> Gemfile echo " gem 'slim_lint', require: false" >> Gemfile echo " gem 'pandoc-ruby', require: false" >> Gemfile echo "end" >> Gemfile gem install bundler bundle install --jobs 4 --retry 3 - name: Run RuboCop run: | bundle exec rubocop -S - name: Run Slim-Lint run: | bundle exec slim-lint app/views if: always()
Update Activity Manager to 4.1.2 (412)
Categories: - System - Development License: Apache-2.0 AuthorName: Yuriy Mysochenko AuthorWebSite: https://sdex.dev/ SourceCode: https://github.com/sdex/ActivityManager IssueTracker: https://github.com/sdex/ActivityManager/issues Donate: https://sdex.dev/donate.html Bitcoin: 17NABADZGJyvYNaX3gpJzMpdQyWnTRXCD AutoName: Activity Manager RepoType: git Repo: https://github.com/sdex/ActivityManager Builds: - versionName: 4.1.1 versionCode: 411 commit: a35c9eb548ac2713f5fa593ca316d13e8d6c2380 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - prod AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: 4.1.1 CurrentVersionCode: 411
Categories: - System - Development License: Apache-2.0 AuthorName: Yuriy Mysochenko AuthorWebSite: https://sdex.dev/ SourceCode: https://github.com/sdex/ActivityManager IssueTracker: https://github.com/sdex/ActivityManager/issues Donate: https://sdex.dev/donate.html Bitcoin: 17NABADZGJyvYNaX3gpJzMpdQyWnTRXCD AutoName: Activity Manager RepoType: git Repo: https://github.com/sdex/ActivityManager Builds: - versionName: 4.1.1 versionCode: 411 commit: a35c9eb548ac2713f5fa593ca316d13e8d6c2380 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - prod - versionName: 4.1.2 versionCode: 412 commit: 8dae817aca11b5ed5828c0f60c07bcedf190fd4f subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - prod AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: 4.1.2 CurrentVersionCode: 412
Make bashrc and bash_profile into links, after all
- clean: [] - shell: - mkdir -p ~/.shellrc/local.d ~/bin ~/.shellrc/login.d - bin/run-parts.sh install.d - cp bashrc ~/.bashrc - cp bash_profile ~/.bash_profile - link: ~/.shellrc/bashrc.d: create: true path: bashrc.d/ ~/.shellrc/bin: create: true path: bin ~/.vimrc: vimrc
- clean: ['~'] - shell: - mkdir -p ~/.shellrc/local.d ~/bin ~/.shellrc/login.d - bin/run-parts.sh install.d #- ln -f -s $(realpath ~/.shellrc/dotfiles/bashrc) $(realpath ~/.bashrc) #- ln -f -s $(realpath ~/.shellrc/dotfiles/bash_profile) $(realpath ~/.bash_profile) - link: ~/.shellrc/bashrc.d: create: true path: bashrc.d/ ~/.shellrc/bin: create: true path: bin ~/.vimrc: vimrc ~/.bash_profile: relink: true path: bash_profile ~/.bashrc: relink: true path: bashrc
Use full path to ILAMB config file
config: ilamb.cfg ilamb_root: /nas/data/ILAMB_sample model_root: /nas/data/ILAMB_sample/MODELS regions: global
config: /home/csdms/wmt/_testing/opt/bmi-ilamb/bmi_ilamb/data/ilamb.cfg ilamb_root: /nas/data/ILAMB_sample model_root: /nas/data/ILAMB_sample/MODELS regions: global
Enable Docker build on success
before_script: - angr-test sync hard ### local angr: script: "angr-test angr" tags: [angr] lint: script: "angr-test lint" tags: [angr] ### first level fidget: script: "angr-test fidget" tags: [angr] angrop: script: "angr-test angrop" tags: [angr] topsecret: script: "angr-test top-secret" tags: [angr] driller: script: "angr-test driller" tags: [angr] tracer: script: "angr-test tracer" tags: [angr] rex: script: "angr-test rex" tags: [angr] pwnrex: script: "angr-test pwnrex" tags: [angr] patcherex: script: "angr-test patcherex" tags: [angr] docs: script: "angr-test docs" tags: [angr]
before_script: - which angr-test && angr-test sync hard ### local angr: script: "angr-test angr" tags: [angr] lint: script: "angr-test lint" tags: [angr] ### first level fidget: script: "angr-test fidget" tags: [angr] angrop: script: "angr-test angrop" tags: [angr] topsecret: script: "angr-test top-secret" tags: [angr] driller: script: "angr-test driller" tags: [angr] tracer: script: "angr-test tracer" tags: [angr] rex: script: "angr-test rex" tags: [angr] pwnrex: script: "angr-test pwnrex" tags: [angr] patcherex: script: "angr-test patcherex" tags: [angr] docs: script: "angr-test docs" tags: [angr] ### Deploy stage build_images: only: ["master"] stage: deploy script: - angr-build angr - angr-build angr-ci - angr-build worker tags: ["docker-builder"]
Update from Hackage at 2016-11-20T23:33:46Z
homepage: https://github.com/oisdk/semiring-num changelog-type: '' hash: 5a81d6b27920f0d43b872fcb1e7c0f676abe5c91f7fe2df2959c46933f774a85 test-bench-deps: base: ! '>=4.9 && <5' semiring-num: -any doctest: ! '>=0.11' smallcheck: ! '>=1.1' containers: ! '>=0.5' maintainer: mail@doisinkidney.com synopsis: Basic semiring class and instances changelog: '' basic-deps: base: ! '>=4.9 && <5' containers: ! '>=0.5' all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.0.2' - '0.1.0.4' - '0.1.0.5' - '0.1.0.6' - '0.2.0.0' - '0.3.0.0' - '0.4.0.0' - '0.5.0.0' author: Donnacha Oisín Kidney latest: '0.5.0.0' description-type: haddock description: Adds a basic semiring class license-name: MIT
homepage: https://github.com/oisdk/semiring-num changelog-type: '' hash: 1e68d778fa16bc9ecdb9334bfb4c943745fa94281e39f20154404004caeecc06 test-bench-deps: base: ! '>=4.9 && <5' semiring-num: -any doctest: ! '>=0.11' smallcheck: ! '>=1.1' containers: ! '>=0.5' maintainer: mail@doisinkidney.com synopsis: Basic semiring class and instances changelog: '' basic-deps: base: ! '>=4.9 && <5' containers: ! '>=0.5' all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.0.2' - '0.1.0.4' - '0.1.0.5' - '0.1.0.6' - '0.2.0.0' - '0.3.0.0' - '0.4.0.0' - '0.5.0.0' - '0.5.1.1' author: Donnacha Oisín Kidney latest: '0.5.1.1' description-type: haddock description: Adds a basic semiring class license-name: MIT
Configure cluster and node names as in the Margarita version
network.host: 127.0.0.1 node.local: true # Don't form ad-hoc clusters # See https://www.elastic.co/guide/en/elasticsearch/guide/current/_important_configuration_changes.html#_prefer_unicast_over_multicast discovery.zen.ping.multicast.enabled: false
network.host: 127.0.0.1 node.local: true cluster: name: {{ pillar['project_name'] }}_{{ pillar['environment'] }} node: name: {{ grains['id'] }} # Don't form ad-hoc clusters # See https://www.elastic.co/guide/en/elasticsearch/guide/current/_important_configuration_changes.html#_prefer_unicast_over_multicast discovery.zen.ping.multicast.enabled: false
Move mpi tests back to github runners for the time-being.
# Runner information: # Standard F4s_v2 (4 vcpus, 8 GiB memory) # Intel Xeon® Platinum 8168 (SkyLake) name: CI-mpi on: # Trigger the workflow on push or pull request, # but only for the master branch push: branches: - master pull_request: branches: - master jobs: build: name: pytest-mpi runs-on: [self-hosted, mpi] env: DEVITO_LANGUAGE: "openmp" DEVITO_ARCH: "gcc-7" DEVITO_BACKEND: "core" CC: "gcc-7" CXX: "g++-7" steps: - name: Checkout devito uses: actions/checkout@v1 - name: Install dependencies run: | pip3 install --upgrade pip pip3 install -e .[extras] - name: Test with pytest run: | pytest --cov --cov-config=.coveragerc --cov-report=xml -m parallel tests/ - name: Upload coverage to Codecov uses: codecov/codecov-action@v1.0.6 with: token: ${{ secrets.CODECOV_TOKEN }} name: pytest-mpi
name: CI-mpi on: # Trigger the workflow on push or pull request, # but only for the master branch push: branches: - master pull_request: branches: - master jobs: build: name: pytest-mpi runs-on: ubuntu-20.04 env: DEVITO_LANGUAGE: "openmp" DEVITO_ARCH: "gcc-9" DEVITO_BACKEND: "core" CC: "gcc-9" CXX: "g++-9" steps: - name: Checkout devito uses: actions/checkout@v2 - name: Install dependencies run: | sudo apt install mpich -y pip3 install --upgrade pip pip3 install -r requirements-mpi.txt pip3 install -e .[extras] - name: Test with pytest run: | python3 -m pytest --cov --cov-config=.coveragerc --cov-report=xml -m parallel tests/ - name: Upload coverage to Codecov uses: codecov/codecov-action@v1.0.15 with: token: ${{ secrets.CODECOV_TOKEN }} name: pytest-mpi
Indent the "msg" to the debug task
--- - name: Clearing previous log entries file: path: "/var/cpq/Component.log" state: absent ignore_errors: true - name: Installing firmware "{{ item }}" yum: name={{ item | splitext | first }} state=latest - name: extract path for hpsetup command shell: "rpm -ql {{ item }}|grep /hpsetup" register: FirmwarePackage changed_when: False check_mode: no - name: set_fact for firmware_installer path from "{{ item }}" RPM set_fact: firmware_installer="{{ FirmwarePackage.stdout | splitext | first }}" - name: Installing firmware from "{{ item }}" in silent mode command: "{{ firmware_installer }} -s " ignore_errors: true - name: Testing if log file exists stat: path='/var/cpq/Component.log' register: optional_file - name: Gather optional installer log for "{{ item }}" command: "/bin/cat {{ optional_file.stat.path }}" register: details when: optional_file.stat.exists - name: Print optional installer log for "{{ item }}" debug: msg: "{{ details.stdout_lines }}" when: details.rc == 0 - name: Firmware RPM cleanup package: name={{ item }} state=absent
--- - name: Clearing previous log entries file: path: "/var/cpq/Component.log" state: absent ignore_errors: true - name: Installing firmware "{{ item }}" yum: name={{ item | splitext | first }} state=latest - name: extract path for hpsetup command shell: "rpm -ql {{ item }}|grep /hpsetup" register: FirmwarePackage changed_when: False check_mode: no - name: set_fact for firmware_installer path from "{{ item }}" RPM set_fact: firmware_installer="{{ FirmwarePackage.stdout | splitext | first }}" - name: Installing firmware from "{{ item }}" in silent mode command: "{{ firmware_installer }} -s " ignore_errors: true - name: Testing if log file exists stat: path='/var/cpq/Component.log' register: optional_file - name: Gather optional installer log for "{{ item }}" command: "/bin/cat {{ optional_file.stat.path }}" register: details when: optional_file.stat.exists - name: Print optional installer log for "{{ item }}" debug: msg: "{{ details.stdout_lines }}" when: details.rc == 0 - name: Firmware RPM cleanup package: name={{ item }} state=absent
Support for romana cli tool on agents (2)
- name: Copy files built on master command: rsync -az "{{ romana_master_ip }}:/var/tmp/gopath/bin/{{ item }}" "/var/tmp/{{ item }}" with_items: - agent - name: Copy policy-agent from master command: rsync -az "{{ romana_master_ip }}:/var/tmp/gopath/src/github.com/romana/core/pkg/util/policy/agent/agent.py" "/var/tmp/agent.py" - name: Install files become: true become_user: root command: install -o root -g root -m 0755 "/var/tmp/{{ item }}" "{{ romana_bin_dir }}/{{ item }}" with_items: - agent - romana - agent.py - name: Install Agent Proxy Add Policy become: true become_user: root template: src="config/agent_proxy_add_policy.sh" dest="{{ romana_bin_dir }}/" mode=0777 with_items: - agent - name: Install Agent Proxy Delete Policy become: true become_user: root template: src="config/agent_proxy_delete_policy.sh" dest="{{ romana_bin_dir }}/" mode=0777 with_items: - agent - name: Install romana command line config file template: src="config/romana.yaml" dest="/home/{{ ansible_ssh_user }}/.romana.yaml" mode=0644
- name: Copy files built on master command: rsync -az "{{ romana_master_ip }}:/var/tmp/gopath/bin/{{ item }}" "/var/tmp/{{ item }}" with_items: - agent - romana - name: Copy policy-agent from master command: rsync -az "{{ romana_master_ip }}:/var/tmp/gopath/src/github.com/romana/core/pkg/util/policy/agent/agent.py" "/var/tmp/agent.py" - name: Install files become: true become_user: root command: install -o root -g root -m 0755 "/var/tmp/{{ item }}" "{{ romana_bin_dir }}/{{ item }}" with_items: - agent - romana - agent.py - name: Install Agent Proxy Add Policy become: true become_user: root template: src="config/agent_proxy_add_policy.sh" dest="{{ romana_bin_dir }}/" mode=0777 with_items: - agent - name: Install Agent Proxy Delete Policy become: true become_user: root template: src="config/agent_proxy_delete_policy.sh" dest="{{ romana_bin_dir }}/" mode=0777 with_items: - agent - name: Install romana command line config file template: src="config/romana.yaml" dest="/home/{{ ansible_ssh_user }}/.romana.yaml" mode=0644
Remove reference to agent.py here.
- name: Copy files built on master command: rsync -az "{{ romana_master_ip }}:/var/tmp/gopath/bin/{{ item }}" "/var/tmp/{{ item }}" with_items: - agent - romana - name: Install files become: true become_user: root command: install -o root -g root -m 0755 "/var/tmp/{{ item }}" "{{ romana_bin_dir }}/{{ item }}" with_items: - agent - romana - agent.py
- name: Copy files built on master command: rsync -az "{{ romana_master_ip }}:/var/tmp/gopath/bin/{{ item }}" "/var/tmp/{{ item }}" with_items: - agent - romana - name: Install files become: true become_user: root command: install -o root -g root -m 0755 "/var/tmp/{{ item }}" "{{ romana_bin_dir }}/{{ item }}" with_items: - agent - romana
Update hub image for canvas oauth change.
apiVersion: v1 appVersion: '1.0' description: Deployment Chart for JupyterHub name: hub version: 0.0.1-n4733.h30468d32
apiVersion: v1 appVersion: '1.0' description: Deployment Chart for JupyterHub name: hub version: 0.0.1-n5176.h03085f2a
FIX : rpmfusion - use of dnf instead of yum to install rpmfusion - RedHat bug fixed
--- - name: install the rpmfusion repo packages yum: name={{ item }} state=present with_items: - https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ fedora_current }}.noarch.rpm - https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_current }}.noarch.rpm when: ansible_os_family == "RedHat" become: yes
--- - name: install the rpmfusion repo packages dnf: name={{ item }} state=present with_items: - https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ fedora_current }}.noarch.rpm - https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_current }}.noarch.rpm when: ansible_os_family == "RedHat" become: yes
Remove --strict from Cucumber config as we have pending steps
<% rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}" std_opts = "--format html --out tmp/features.html --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip" %> default: <%= std_opts %> features wip: --tags @wip:3 --wip features rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
<% rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}" std_opts = "--format html --out tmp/features.html --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --tags ~@wip" %> default: <%= std_opts %> features wip: --tags @wip:3 --wip features rerun: <%= rerun_opts %> --format rerun --out rerun.txt --tags ~@wip