Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Revert "Changed the JDK from 8 to 7"
language: java jdk: - oraclejdk7 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
language: java jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
Break python 3.2 compatibility (collections.abc)
language: python python: - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" - "nightly" install: - pip install PyHamcrest - pip install Cython --install-option="--no-cython-compile" script: make quicktest
language: python python: - "3.3" - "3.4" - "3.5" - "3.6" - "nightly" install: - pip install PyHamcrest - pip install Cython --install-option="--no-cython-compile" script: make quicktest
Use frozen strings for MRI 2.4.
language: ruby script: bundle exec rspec spec cache: bundler rvm: - 2.2 - 2.3.4 - 2.4.1
language: ruby before_script: - if ruby --version | grep -q "2.4.1"; then; export RUBYOPT="--enable-frozen-string-literal"; fi script: bundle exec rspec spec cache: bundler rvm: - 2.2 - 2.3.4 - 2.4.1
Fix Travis CI install setup
language: python python: - '2.7' install: - 'travis_wait pip install -r requirements.txt --use-mirrors' - 'pip install coveralls' script: - 'py.test --doctest-modules --ignore setup.py --cov dabbiew.dabbiew' after_success: - 'coveralls'
language: python python: - '2.7' install: - 'travis_wait pip install -r requirements.txt' - 'pip install coveralls' script: - 'py.test --doctest-modules --ignore setup.py --cov dabbiew.dabbiew' after_success: - 'coveralls'
Remove Ruby 2.3 as it's EOL.
language: ruby dist: xenial cache: bundler matrix: include: - rvm: 2.3 - rvm: 2.4 - rvm: 2.5 - rvm: 2.6 - rvm: 2.6 env: COVERAGE=BriefSummary,Coveralls - rvm: jruby-head env: JRUBY_OPTS="--debug -X+O" - rvm: truffleruby - rvm: ruby-head allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: truffleruby env: global: - CLOUDFLARE_TEST_ZONE_MANAGEMENT=true - secure: c5yG7N1r9nYuw47Y90jGeoHNvkL59AAC55dtPAhKP+gjXWW8hKbntj3oj+lVkxEqzRpzEQgYZzUElrP+6mJnb20ldclZg03L56243tMtVEcpGOx/MFhnIBkx3kKu1H6ydKKMxieHxjsLQ3vnpcIZ3p0skTQjYbjdu607tjbyg7s=
language: ruby dist: xenial cache: bundler matrix: include: - rvm: 2.4 - rvm: 2.5 - rvm: 2.6 - rvm: 2.6 env: COVERAGE=BriefSummary,Coveralls - rvm: jruby-head env: JRUBY_OPTS="--debug -X+O" - rvm: truffleruby - rvm: ruby-head allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: truffleruby env: global: - CLOUDFLARE_TEST_ZONE_MANAGEMENT=true - secure: c5yG7N1r9nYuw47Y90jGeoHNvkL59AAC55dtPAhKP+gjXWW8hKbntj3oj+lVkxEqzRpzEQgYZzUElrP+6mJnb20ldclZg03L56243tMtVEcpGOx/MFhnIBkx3kKu1H6ydKKMxieHxjsLQ3vnpcIZ3p0skTQjYbjdu607tjbyg7s=
Update list of supported rubyies
language: ruby rvm: - 1.9.3 - 2.0.0 script: bundle exec rspec
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: bundle exec rspec
Add os to test matrix
language: objective-c notifications: email: on_success: never on_failure: change script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
language: objective-c notifications: email: on_success: never on_failure: change os: - linux - osx script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
Disable compiling on JDK 6
language: java jdk: - oraclejdk8 - oraclejdk7 - openjdk7 - openjdk6
language: java jdk: - oraclejdk8 - oraclejdk7 - openjdk7
Add after_success for coveralls, which should already be working
# http://kiki.to/blog/2016/02/04/talk-continuous-integration-with-lua/ language: python sudo: false branches: only: - master env: - LUA="luajit=2.0" - LUA="luajit=2.1" before_install: - pip install hererocks - hererocks lua_install -r^ --$LUA - export PATH=$PATH:$PWD/lua_install/bin install: - luarocks install busted - luarocks install luacov - luarocks install luacov-coveralls script: - busted -p .lua -m "`pwd`/?/init.lua" --verbose spec
# http://kiki.to/blog/2016/02/04/talk-continuous-integration-with-lua/ language: python sudo: false branches: only: - master env: - LUA="luajit=2.0" - LUA="luajit=2.1" before_install: - pip install hererocks - hererocks lua_install -r^ --$LUA - export PATH=$PATH:$PWD/lua_install/bin install: - luarocks install busted - luarocks install luacov - luarocks install luacov-coveralls script: - busted -p .lua -m "`pwd`/?/init.lua" --verbose spec after_success: - luacov-coveralls -e $TRAVIS_BUILD_DIR/lua_install
Remove spec linting from the Travis file since this doesn't appear to work with JSON podspecs?
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage language: objective-c # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Example install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet script: - set -o pipefail && xcodebuild test -workspace Example/XExtensionItem.xcworkspace -scheme XExtensionItem-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c - pod lib lint --quick
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage language: objective-c # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Example install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet script: - set -o pipefail && xcodebuild test -workspace Example/XExtensionItem.xcworkspace -scheme XExtensionItem-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
Move from xctool to xcodebuild
#sudo: false osx_image: xcode8.3 language: objective-c before_install: # - gem install cocoapods # -v '0.37.2' # - brew update # - brew outdated xctool || brew upgrade xctool # - pod install # - xctool --version # podfile: Podfile branches: only: - master xcode_project: Example/Pods/Pods.xcodeproj xcode_scheme: NmeaParser xcode_sdk: iphonesimulator10.3 # script: # - xcodebuild -project NmeaParser.xcodeproj -scheme NmeaParser -sdk iphonesimulator -destination "name=iPhone SE"
#sudo: false osx_image: xcode8.3 language: objective-c before_install: # - gem install cocoapods # -v '0.37.2' # - brew update # - brew outdated xctool || brew upgrade xctool # - pod install # - xctool --version # podfile: Podfile branches: only: - master # xcode_project: Example/Pods/Pods.xcodeproj # xcode_scheme: NmeaParser # xcode_sdk: iphonesimulator10.3 script: - xcodebuild -project Example/Pods/Pods.xcodeproj -scheme NmeaParser -sdk iphonesimulator -destination "name=iPhone SE"
Drop ruby 2.0 support due to dependency needs
language: ruby cache: directories: - bundle rvm: - 2.0 - 2.1.3 - 2.3.1 script: - bundle exec rake spec
language: ruby cache: directories: - bundle rvm: - 2.1.3 - 2.3.1 script: - bundle exec rake spec
Change the way goveralls is invoked.
language: go go: - 1.1 - tip env: global: - secure: "oafkdBHV4pk7mLSfEGLHX3hyqsLXM6/EVNzD63ChQFLjYYpS/DorFfO65pzXJrW8VpWnYGayNJI5Z3mK/tOPKGTjwoQbM1kJ8/aM14OqdAnM4aAk+rejX7BoEERXNV0bKbCewahWFU/akeBmc6I6onUNo6qoGGNzb++Eg3mQ3+8=" install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls script: /home/travis/gopath/bin/goveralls -service travis-ci.org $COVERALLS_TOKEN
language: go go: - 1.1 - tip env: global: - secure: "oafkdBHV4pk7mLSfEGLHX3hyqsLXM6/EVNzD63ChQFLjYYpS/DorFfO65pzXJrW8VpWnYGayNJI5Z3mK/tOPKGTjwoQbM1kJ8/aM14OqdAnM4aAk+rejX7BoEERXNV0bKbCewahWFU/akeBmc6I6onUNo6qoGGNzb++Eg3mQ3+8=" install: - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls script: /home/travis/gopath/bin/goveralls -service travis-ci.org -repotoken=$COVERALLS_TOKEN
Fix relative path issues in Travis CI config
language: erlang otp_release: - R14B03 before_script: - ./apply_config.sh - ./cloudstore/db/init.sh - make - ./cloudstore/rel/cloudstore/bin/cloudstore console script: make test
language: erlang otp_release: - R14B03 before_script: - ./apply_config.sh - cd cloudstore/db; ./init.sh; cd ../.. - make - ./cloudstore/rel/cloudstore/bin/cloudstore console script: make test
Stop testing on Ruby < 2.4, add 2.5
language: ruby script: "bundle exec rspec" bundler_args: "--without extras" env: - CI=true rvm: - '2.1.9' - 2.2 - 2.3 - 2.4
language: ruby script: "bundle exec rspec" bundler_args: "--without extras" env: - CI=true rvm: - 2.4 - 2.5
Add test runner for mac os
name: CI on: push: branches: [ '*' ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: [3.7, 3.8] marker: [not integration] include: - python-version: 3.9 marker: '' - python-version: "3.10" marker: 'not asynchronous' steps: - uses: actions/checkout@v2 - uses: docker-practice/actions-setup-docker@master - name: Cache dependencies uses: actions/cache@v1 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }} restore-keys: | ${{ runner.os }}-pip- - 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 setuptools wheel pip install -r requirements/ci.txt - name: Tests run: | py.test -m "${{ matrix.marker }}" --cov-report=xml --cov-branch - name: Upload coverage to Codecov uses: codecov/codecov-action@v2
name: CI on: push: branches: [ '*' ] pull_request: branches: [ master ] jobs: test: strategy: matrix: python-version: [3.7, 3.8] marker: [not integration] os: [ubuntu-latest] include: - python-version: 3.9 marker: '' os: ubuntu-latest - python-version: 3.9 marker: '' os: macos-latest - python-version: "3.10" marker: 'not asynchronous' os: ubuntu-latest runs-on: "${{ matrix.os }}" steps: - uses: actions/checkout@v2 - uses: docker-practice/actions-setup-docker@master - name: Cache dependencies uses: actions/cache@v1 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }} restore-keys: | ${{ runner.os }}-pip- - 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 setuptools wheel pip install -r requirements/ci.txt - name: Tests run: | py.test -m "${{ matrix.marker }}" --cov-report=xml --cov-branch - name: Upload coverage to Codecov uses: codecov/codecov-action@v2
Set next version to 4.0.0
next-version: 3.14.0 mode: ContinuousDelivery legacy-semver-padding: 5 build-metadata-padding: 5 commits-since-version-source-padding: 5 branches: master: tag: dev release: tag: pre pull-request: tag: pr
next-version: 4.0.0 mode: ContinuousDelivery legacy-semver-padding: 5 build-metadata-padding: 5 commits-since-version-source-padding: 5 branches: master: tag: dev release: tag: pre pull-request: tag: pr
Correct -I path for cppcheck run
compilers: - name: "gcc" version: "4.8" cmake_extra_flags: -DBUILD_SAMPLES:BOOL=ON -DBUILD_PACKAGE:BOOL=ON -DBUILD_TESTING:BOOL=ON -DCOMMIT_SHA=$COMMIT_SHA - name: cppcheck compiler_extra_flags: --enable=all -I ../include --inline-suppr
compilers: - name: "gcc" version: "4.8" cmake_extra_flags: -DBUILD_SAMPLES:BOOL=ON -DBUILD_PACKAGE:BOOL=ON -DBUILD_TESTING:BOOL=ON -DCOMMIT_SHA=$COMMIT_SHA - name: cppcheck compiler_extra_flags: --enable=all -I include --inline-suppr
Fix bug from commit 9bc5cd2
--- # Configuration for development VMs. # For first-time initialization: # - run this with --extra-vars "initial_run=true" # to prevent an error with Elasticsearch shard replication. # - See the comment in playbooks/siteproxy.yml regarding # the loadbalancer health check. - include: playbooks/common.yml level=development - name: Configure webapp1 as Munin master for development hosts: webapp1 roles: - munin_master - monitoring_web vars: level: development become: yes - include: playbooks/dev_loadbalancer.yml - include: playbooks/dbnodes.yml level=development - include: playbooks/elasticsearch.yml level=development - include: playbooks/dev_webapps.yml level=development
--- # Configuration for development VMs. # For first-time initialization: # - run this with --extra-vars "initial_run=true" # to prevent an error with Elasticsearch shard replication. # - See the comment in playbooks/siteproxy.yml regarding # the loadbalancer health check. - include: playbooks/common_dev.yml - name: Configure webapp1 as Munin master for development hosts: webapp1 roles: - munin_master - monitoring_web vars: level: development become: yes - include: playbooks/dev_loadbalancer.yml - include: playbooks/dbnodes.yml level=development - include: playbooks/elasticsearch.yml level=development - include: playbooks/dev_webapps.yml level=development
Update colours and add colour for header background
# Color settings (hex-codes without the leading hash-tag) color: primary: fed136 secondary: fec503 secondary-dark: 333 muted: 777 # Font Families font: primary: 'Montserrat, "Helvetica Neue",Helvetica,Arial,sans-serif' secondary: '"Droid Serif", "Helvetica Neue", Helvetica,Arial,sans-serif'
# Color settings (hex-codes without the leading hash-tag) color: primary: 19adb7 secondary: 5ec5cc header: 986F65 secondary-dark: 333 muted: 777 # Font Families font: primary: 'Montserrat, "Helvetica Neue",Helvetica,Arial,sans-serif' secondary: '"Droid Serif", "Helvetica Neue", Helvetica,Arial,sans-serif'
Revert Travis config due to buildlight having to run on osx.
sudo: false language: node_js node_js: - "4.4" - "6.3" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 before_install: - npm install -g bob coveralls --loglevel error script: - DEBUG=canihaz bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls
sudo: true env: - NODE_VERSION="4.4" - NODE_VERSION="6.3" os: - osx before_install: - brew update - brew install libusb - brew install nvm - export NVM_DIR=~/.nvm - source $(brew --prefix nvm)/nvm.sh - nvm install $NODE_VERSION - node --version - npm --version - npm update -g npm - npm install -g bob coveralls --loglevel error - npm install script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls
Stop testing on rust 1.11
language: rust sudo: false # run builds for all the trains (and more) rust: - 1.11.0 - 1.12.0 - stable - beta - nightly before_script: - | pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: - | travis-cargo build -- --features with-syntex && travis-cargo test -- --features with-syntex && travis-cargo bench -- --features with-syntex && travis-cargo --only nightly build && travis-cargo --only nightly test -- --features unstable-testing && travis-cargo --only nightly bench && travis-cargo --only stable doc -- --features with-syntex env: global: # override the default `--features unstable` used for the nightly branch (optional) - TRAVIS_CARGO_NIGHTLY_FEATURE=""
language: rust sudo: false # run builds for all the trains (and more) rust: - 1.12.0 - 1.13.0 - stable - beta - nightly before_script: - | pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: - | travis-cargo build -- --features with-syntex && travis-cargo test -- --features with-syntex && travis-cargo bench -- --features with-syntex && travis-cargo --only nightly build && travis-cargo --only nightly test -- --features unstable-testing && travis-cargo --only nightly bench && travis-cargo --only stable doc -- --features with-syntex env: global: # override the default `--features unstable` used for the nightly branch (optional) - TRAVIS_CARGO_NIGHTLY_FEATURE=""
Make Travis start MongoDB and run nosetests
language: python python: - "2.6" - "2.7" # command to install dependencies install: pip install -r requirements.txt --use-mirrors # command to run tests script: flake8
language: python python: - "2.6" - "2.7" # command to install dependencies install: pip install -r requirements.txt --use-mirrors # Start MongoDB services: mongodb # command to run tests script: - "flake8" - "nosetests"
Upgrade Travis CI to Ruby 2.3.1.
language: ruby rvm: 2.1.6 script: bundle exec thor test:all sudo: false
language: ruby rvm: 2.3.1 script: bundle exec thor test:all sudo: false
Add python 3.6 as test version.
language: python python: - "2.7" - "3.4" - "3.5" install: - pip install . script: py.test notifications: email: recipients: - gliese.q@gmail.com - kotaimen.c@gmail.com
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" install: - pip install . script: py.test notifications: email: recipients: - gliese.q@gmail.com - kotaimen.c@gmail.com
Add node 15 to CI
os: linux language: node_js node_js: - '10' - '11' - '14' cache: yarn script: yarn ci jobs: include: - stage: deploy if: tag IS present node_js: '14' script: yarn build before_deploy: - cd dist deploy: provider: npm skip_cleanup: true email: "ijpiantanida@gmail.com" api_key: $NPM_TOKEN on: tags: true
os: linux language: node_js node_js: - '10' - '11' - '14' - '15' cache: yarn script: yarn ci jobs: include: - stage: deploy if: tag IS present node_js: '14' script: yarn build before_deploy: - cd dist deploy: provider: npm skip_cleanup: true email: "ijpiantanida@gmail.com" api_key: $NPM_TOKEN on: tags: true
Update Travis CI yaml-config to download and install latest zsh (no sudo)
language: bash before_script: - curl -L "https://shunit2.googlecode.com/files/shunit2-2.1.6.tgz" | tar zx script: - bash test_prm.sh - zsh -o shwordsplit -- test_prm.sh
language: bash addons: apt: packages: - build-essential before_install: - export LOCAL="$(mktemp --directory --tmpdir=${TMPDIR:/tmp} local.bin.XXXXXX)" - curl -L http://downloads.sourceforge.net/zsh/zsh-5.0.7.tar.gz | tar zx - cd zsh-5.0.7 - ./configure --prefix=$LOCAL - make - make install - cd - - export PATH="$LOCAL/bin:$PATH" before_script: - curl -L "https://shunit2.googlecode.com/files/shunit2-2.1.6.tgz" | tar zx script: - bash test_prm.sh - zsh -o shwordsplit -- test_prm.sh
Remove the obsolete 'sudo:' setting
dist: trusty sudo: false group: beta language: node_js node_js: - node addons: firefox: latest-esr cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild --update-binary && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi" before_script: - npm install web-component-tester bower@1.7.9 polylint - $(npm bin)/bower install - $(npm bin)/polylint --no-recursion script: - xvfb-run $(npm bin)/wct
dist: trusty group: beta language: node_js node_js: - node addons: firefox: latest-esr cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild --update-binary && node -e 'console.log(process.version)' > node_modules/.last-node-version; fi" before_script: - npm install web-component-tester bower@1.7.9 polylint - $(npm bin)/bower install - $(npm bin)/polylint --no-recursion script: - xvfb-run $(npm bin)/wct
Use io.js v2 until node-canvas supports more recent versions
language: node_js node_js: - "iojs" before_install: - "sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++" - "npm install tibia-maps -g" script: - "./release.sh && tibia-maps --from-data=./data --output-dir=./Automap && tibia-maps --from-maps=./Automap --output-dir=./data && git status && git diff-index --quiet HEAD --" branches: only: - /^.*$/
language: node_js node_js: - "iojs-v2.5.0" before_install: - "sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++" - "npm install tibia-maps -g" script: - "./release.sh && tibia-maps --from-data=./data --output-dir=./Automap && tibia-maps --from-maps=./Automap --output-dir=./data && git status && git diff-index --quiet HEAD --" branches: only: - /^.*$/
Add a debug print for Travis
sudo: false language: python python: - "3.5" addons: apt: packages: - git install: - pip install -r requirements-py35-linux64.txt - python setup.py develop - git clone --depth=1 https://github.com/gem/oq-hazardlib.git # We must set the PYTHONPATH to the root oq-engine (insted of oq-engine/openquake) because otherwise # the full 'openquake' namespace is overwritten and then hazardlib and baselib are not found script: # FIXME --with-doctest does not work # - PYTHONPATH=. nosetests -vsx -a'!slow' --with-xunit --nologcapture - PYTHONPATH=.:$(pwd)/oq-hazardlib nosetests -v -a'!slow'
sudo: false language: python python: - "3.5" addons: apt: packages: - git install: - pip install -r requirements-py35-linux64.txt - python setup.py develop - git clone --depth=1 https://github.com/gem/oq-hazardlib.git # We must set the PYTHONPATH to the root oq-engine (insted of oq-engine/openquake) because otherwise # the full 'openquake' namespace is overwritten and then hazardlib and baselib are not found script: # FIXME --with-doctest does not work # - PYTHONPATH=. nosetests -vsx -a'!slow' --with-xunit --nologcapture - PYTHONPATH=.:$(pwd)/oq-hazardlib nosetests -v -a'!slow' - cat /tmp/tmp*
Use mvn 3.1.1 for JDK6
sudo: required services: - docker language: java jdk: - openjdk6 - openjdk7 - oraclejdk7 - oraclejdk8 maven: - 3.1.1 script: - ./scripts/travis-deploy.sh
sudo: required services: - docker language: java jdk: - openjdk6 - oraclejdk7 - oraclejdk8 script: - ./scripts/travis-deploy.sh before_install: - wget https://archive.apache.org/dist/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.zip - unzip -qq apache-maven-3.1.1-bin.zip - export M2_HOME=$PWD/apache-maven-3.1.1 - export PATH=$M2_HOME/bin:$PATH
Configure automatic release when Travis passes on tagged build
language: java jdk: - oraclejdk8 services: - memcached addons: mariadb: '10.1' before_install: - git clone https://github.com/MarSik/jackson-databind.git - pushd jackson-databind && git checkout improve-unresolved-handling-2.6 && mvn clean install && popd - git clone https://github.com/pauloubuntu/identicon.git - pushd identicon && mvn clean install && popd before_script: - mysql -e 'create database elshelves_unittest;'
language: java jdk: - oraclejdk8 services: - memcached addons: mariadb: '10.1' before_install: - git clone https://github.com/MarSik/jackson-databind.git - pushd jackson-databind && git checkout improve-unresolved-handling-2.6 && mvn clean install && popd - git clone https://github.com/pauloubuntu/identicon.git - pushd identicon && mvn clean install && popd before_script: - mysql -e 'create database elshelves_unittest;' deploy: provider: releases api_key: secure: "IVsGqfWGdgy1mgZrifhV4+m6dwZuRGy8Xh90xbex/4aN0jr4ZTw/nyBti5WUu4vIz1PYs6Q2Xjsyv7U9FS/OAxc0beHwOYJUMP0hkI0ZnZQh0uoOe8Osh+09mZFMJB2/u/akDpvfbOE99MClaebTCWKK70jWeH0GUNexrEIoHfg=" file: - backend/server/target/server-1.0-SNAPSHOT.war - web/target/web-1.0-SNAPSHOT.war skip_cleanup: true on: tags
Add node v11 to test suite
language: node_js matrix: include: - node_js: "10" - node_js: "8" - node_js: "6" - node_js: "4" env: BABEL=true script: "[[ $BABEL == true ]] && npm run test:babel || npm test" after_success: - npm run travis-coverage
language: node_js matrix: include: - node_js: "11" - node_js: "10" - node_js: "8" - node_js: "6" - node_js: "4" env: BABEL=true script: "[[ $BABEL == true ]] && npm run test:babel || npm test" after_success: - npm run travis-coverage
Enable builds only for release tags
language: cpp # on: # tags: true # all_branches: true # condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+ matrix: include: - os: linux dist: trusty sudo: required - os: osx osx_image: xcode10.2 - os: osx osx_image: xcode10.1 addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-7 - sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-7 main' key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' packages: - clang-7 - libc++-7-dev - libc++abi-7-dev script: - sh .travis/script.sh env: global: secure: VeM2aH5pa2Q2lsFw6Z1fwfMvDm0WxTZu5AM7Z5wqcgSu+Q+MUoleUy6gh+NSsbqfbAcc06CMsNMCeclGtF8Ft9PHWIT8qPltYgPSYSO6h1FS++RRtt0K5l0rjM3W38yid1607qrj+WCMtJads/JsgbCUiLLfPukPnCVcrL/H/so=
language: cpp on: tags: true all_branches: true condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+ matrix: include: - os: linux dist: trusty sudo: required - os: osx osx_image: xcode10.2 - os: osx osx_image: xcode10.1 addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-7 - sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-7 main' key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' packages: - clang-7 - libc++-7-dev - libc++abi-7-dev script: - sh .travis/script.sh env: global: secure: VeM2aH5pa2Q2lsFw6Z1fwfMvDm0WxTZu5AM7Z5wqcgSu+Q+MUoleUy6gh+NSsbqfbAcc06CMsNMCeclGtF8Ft9PHWIT8qPltYgPSYSO6h1FS++RRtt0K5l0rjM3W38yid1607qrj+WCMtJads/JsgbCUiLLfPukPnCVcrL/H/so=
Upgrade to latest Ruby 2.1 patch; Try rspec spec instead of rake on Travis
language: ruby cache: bundler rvm: - 2.1.2 - 2.2.3 before_install: - gem install bundler -v 1.10.6 - bin/setup script: "bundle exec rake" gemfile: - gemfiles/rails_4.2.4.gemfile - gemfiles/rails_3.2.22.gemfile
language: ruby cache: bundler rvm: - 2.1.5 - 2.2.3 before_install: - gem install bundler -v 1.10.6 - bin/setup script: "bundle exec rspec spec" gemfile: - gemfiles/rails_4.2.4.gemfile - gemfiles/rails_3.2.22.gemfile
Build on the most recent patch levels for each minor version
language: ruby rvm: - "2.2.1" - "2.2.2" env: - "RAILS_VERSION=4.1.9" - "RAILS_VERSION=4.2.0" - "RAILS_VERSION=5.0.1" matrix: exclude: - rvm: 2.2.1 env: "RAILS_VERSION=5.0.1" addons: code_climate: repo_token: 970a221275a9af67dcd65c19f074b8f5e94581c97ab883ad6a974dd4b425b3bc
language: ruby rvm: - 2.2.6 - 2.3.3 - 2.4.0 env: - "RAILS_VERSION=4.1.9" - "RAILS_VERSION=4.2.0" - "RAILS_VERSION=5.0.1" matrix: exclude: - rvm: 2.2.6 env: "RAILS_VERSION=5.0.1" addons: code_climate: repo_token: 970a221275a9af67dcd65c19f074b8f5e94581c97ab883ad6a974dd4b425b3bc
Update Travis to use stable.
language: rust rust: - 1.1.0 - beta - nightly sudo: false script: - make - make test - make build-check - make test-check matrix: allow_failures: - rust: 1.1.0 - rust: beta
language: rust rust: - stable - beta - nightly sudo: false script: - make - make test - make build-check - make test-check matrix: allow_failures: - rust: stable - rust: beta
Set up code formatting with black
sudo: false language: python cache: pip python: - 2.7 - 3.4 - 3.5 - 3.6 addons: postgresql: "9.4" env: - BLINKER=1 DATABASE_URI=postgresql://localhost/travis_ci_test - BLINKER=1 DATABASE_URI=sqlite:// - BLINKER=0 DATABASE_URI=sqlite:// branches: only: - master before_script: - if [[ $DATABASE_URI == postgresql* ]]; then psql -c 'create database travis_ci_test;' -U postgres; fi install: - travis_retry pip install -U pytest - travis_retry pip install -r requirements.txt - travis_retry pip install -r dev-requirements.txt - if [[ $BLINKER == 1 ]]; then travis_retry pip install blinker; fi - if [[ $DATABASE_URI == postgresql* ]]; then travis_retry pip install psycopg2; fi - travis_retry pip install codecov - pip install -e . script: - py.test --cov=flask_dance after_success: - codecov
sudo: false language: python cache: pip python: - 2.7 - 3.4 - 3.5 - 3.6 addons: postgresql: "9.4" env: - BLINKER=1 DATABASE_URI=postgresql://localhost/travis_ci_test - BLINKER=1 DATABASE_URI=sqlite:// - BLINKER=0 DATABASE_URI=sqlite:// matrix: include: - name: "Black" python: 3.6 install: travis_retry pip install black script: black --check flask_dance after_success: skip branches: only: - master before_script: - if [[ $DATABASE_URI == postgresql* ]]; then psql -c 'create database travis_ci_test;' -U postgres; fi install: - travis_retry pip install -U pytest - travis_retry pip install -r requirements.txt - travis_retry pip install -r dev-requirements.txt - if [[ $BLINKER == 1 ]]; then travis_retry pip install blinker; fi - if [[ $DATABASE_URI == postgresql* ]]; then travis_retry pip install psycopg2; fi - travis_retry pip install codecov - pip install -e . script: - py.test --cov=flask_dance after_success: - codecov
Use JDK 8 on Travis.
language: java jdk: - oraclejdk7 before_install: - chmod +x gradlew - openssl aes-256-cbc -K $encrypted_16408b1fb58f_key -iv $encrypted_16408b1fb58f_iv -in ./datastore/src/test/resources/spine-dev-62685282c0b9.json.enc -out ./datastore/src/test/resources/spine-dev-62685282c0b9.json -d script: - ./gradlew build codeCoverageReport --debug after_success: - bash <(curl -s https://codecov.io/bash) - chmod +x ./script/publish_artifacts.sh - ./script/publish_artifacts.sh
language: java jdk: - oraclejdk8 before_install: - chmod +x gradlew - openssl aes-256-cbc -K $encrypted_16408b1fb58f_key -iv $encrypted_16408b1fb58f_iv -in ./datastore/src/test/resources/spine-dev-62685282c0b9.json.enc -out ./datastore/src/test/resources/spine-dev-62685282c0b9.json -d script: - ./gradlew build codeCoverageReport --debug after_success: - bash <(curl -s https://codecov.io/bash) - chmod +x ./script/publish_artifacts.sh - ./script/publish_artifacts.sh
Use iOS 10.2 simulator for testing
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 language: objective-c # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Example script: - set -o pipefail && xcodebuild clean build test -workspace Example/SGauge.xcworkspace -scheme SGauge-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO - pod lib lint notifications: email: recipients: - lunarseawu+SGauge@gmail.com on_success: never # [always|never|change] on_failure: change # [always|never|change]
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 language: objective-c # cache: cocoapods # podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Example script: - set -o pipefail && xcodebuild clean build test -workspace Example/SGauge.xcworkspace -scheme SGauge-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.2' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO - pod lib lint notifications: email: recipients: - lunarseawu+SGauge@gmail.com on_success: never # [always|never|change] on_failure: change # [always|never|change]
Install latest flask but allow to fail.
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: - FLASK=0.12 - FLASK=1.0 install: - pip install Flask==${FLASK} script: - python -m unittest discover
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: - FLASK=0.12 - FLASK=1.0 - FLASK=latest matrix: allow_failures: - env: FLASK=latest install: - pip install Flask==${FLASK} script: - python -m unittest discover
Make sure Travis finds our binary
language: go go: - 1.2 - tip install: script/bootstrap script: script/test branches: only: - master
language: go go: - 1.2 - tip install: script/bootstrap script: - PATH="$HOME/gopath/bin:$PATH" - script/test branches: only: - master
Install yargy and natasha from git
language: python python: - 3.6 install: - pip install -r requirements.txt script: - pytest -vv playground
language: python python: - 3.6 install: - pip install -r requirements.txt - bash bin/post_compile script: - pytest -vv playground
Switch from email notifications to slack notifications from Travis
language: node_js node_js: - "4.0.0" sudo: false before_install: - cp config/config_travis-ci.js config/config.js install: - npm install services: - mongodb - redis-server
language: node_js node_js: - "4.0.0" sudo: false before_install: - cp config/config_travis-ci.js config/config.js install: - npm install services: - mongodb - redis-server notifications: email: false slack: khe:tfhhTbfsGC5sNlqxUbmU9OZF
Remove pypy3.4. This isn't a thing.
sudo: false language: python cache: pip python: - 3.4 - 3.5 - 3.6 - pypy3.4 - pypy3.5 env: - DJANGO_VERSION=1.11 - DJANGO_VERSION=2.0 - DJANGO_VERSION=2.1 - DJANGO_VERSION='latest' matrix: include: # 1.11 is the last Django version to support python 2.7 - python: 2.7 env: DJANGO_VERSION=1.11 - python: pypy2.7 env: DJANGO_VERSION=1.11 exclude: # Django 2.0 is the last version to support Python <= 3.4. - python: 3.4 env: DJANGO_VERSION=2.1 - python: 3.4 env: DJANGO_VERSION='latest' - python: pypy3.4 env: DJANGO_VERSION=2.1 - python: pypy3.4 env: DJANGO_VERSION='latest' install: - pip install -r requirements.txt - if [[ $DJANGO_VERSION != 'latest' ]]; then pip install django==$DJANGO_VERSION; fi script: - python setup.py nosetests after_success: - coveralls
sudo: false language: python cache: pip python: - 3.4 - 3.5 - 3.6 - pypy3.5 env: - DJANGO_VERSION=1.11 - DJANGO_VERSION=2.0 - DJANGO_VERSION=2.1 - DJANGO_VERSION='latest' matrix: include: # 1.11 is the last Django version to support python 2.7 - python: 2.7 env: DJANGO_VERSION=1.11 - python: pypy2.7 env: DJANGO_VERSION=1.11 exclude: # Django 2.0 is the last version to support Python <= 3.4. - python: 3.4 env: DJANGO_VERSION=2.1 - python: 3.4 env: DJANGO_VERSION='latest' install: - pip install -r requirements.txt - if [[ $DJANGO_VERSION != 'latest' ]]; then pip install django==$DJANGO_VERSION; fi script: - python setup.py nosetests after_success: - coveralls
Use TravisCI to push images to Docker Hub
language: generic services: - docker env: matrix: - VERSION=5.6 - VERSION=7.0 - VERSION=7.1 - VERSION=7.2 before_install: - sudo apt-get -qq update - sudo apt-get install libfcgi0ldbl # cgi-fcgi binary used in tests install: - curl -fsSL https://get.docksal.io | sh - fin version - fin sysinfo script: - cd ${VERSION} - travis_retry make && make test # Retry builds, as pecl.php.net tends to time out often after_failure: - make logs
language: generic services: - docker env: global: - REPO=docksal/cli - LATEST_VERSION=7.2 matrix: - VERSION=5.6 - VERSION=7.0 - VERSION=7.1 - VERSION=7.2 before_install: - sudo apt-get -qq update - sudo apt-get install libfcgi0ldbl # cgi-fcgi binary used in tests install: - curl -fsSL https://get.docksal.io | sh - fin version - fin sysinfo script: - cd ${VERSION} - travis_retry make && make test # Retry builds, as pecl.php.net tends to time out often after_success: | if [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then [[ "${TRAVIS_BRANCH}" == "develop" ]] && TAG="edge-php${VERSION}" [[ "${TRAVIS_BRANCH}" == "master" ]] && TAG="php${VERSION}" [[ "${TRAVIS_TAG}" != "" ]] && TAG="${TRAVIS_TAG:1:3}-php${VERSION}" if [[ "$TAG" != "" ]]; then docker login -u "${DOCKER_USER}" -p "${DOCKER_PASS}" # Push edge, stable and release tags docker push ${REPO}:${TAG} # Push "latest" tag [[ "${TRAVIS_BRANCH}" == "master" ]] && [[ "${VERSION}" == "${LATEST_VERSION}" ]] && docker push ${REPO}:latest fi fi after_failure: - make logs
Drop support for Ruby 2.2 and 2.3 (EOL), add 2.6
language: ruby cache: bundler dist: trusty sudo: false env: - VAULT_VERSION=0.9.6 - VAULT_VERSION=0.8.3 - VAULT_VERSION=0.7.3 - VAULT_VERSION=0.6.5 - VAULT_VERSION=0.5.3 - VAULT_VERSION=0.4.1 - VAULT_VERSION=0.3.1 before_install: - wget -O vault.zip -q https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip - unzip vault.zip - mkdir -p ~/bin - mv vault ~/bin - export PATH="~/bin:$PATH" branches: only: - master rvm: - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 before_script: - bundle exec rake app:db:create - bundle exec rake app:db:schema:load - bundle exec rake app:db:test:prepare - bundle exec appraisal install script: bundle exec appraisal rake
language: ruby cache: bundler dist: trusty sudo: false env: - VAULT_VERSION=0.9.6 - VAULT_VERSION=0.8.3 - VAULT_VERSION=0.7.3 - VAULT_VERSION=0.6.5 - VAULT_VERSION=0.5.3 - VAULT_VERSION=0.4.1 - VAULT_VERSION=0.3.1 before_install: - wget -O vault.zip -q https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip - unzip vault.zip - mkdir -p ~/bin - mv vault ~/bin - export PATH="~/bin:$PATH" branches: only: - master rvm: - "2.4" - "2.5" - "2.6" before_script: - bundle exec rake app:db:create - bundle exec rake app:db:schema:load - bundle exec rake app:db:test:prepare - bundle exec appraisal install script: bundle exec appraisal rake
Exclude valgrind jobs on OSX
language: c sudo: false compiler: - gcc - clang os: - linux - osx before_script: - if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew update; brew install redis; fi addons: apt: packages: - libc6-dbg - libc6-dev - libc6:i386 - libc6-dev-i386 - libc6-dbg:i386 - gcc-multilib - valgrind env: - CFLAGS="-Werror" - PRE="valgrind --track-origins=yes --leak-check=full" - TARGET="32bit" TARGET_VARS="32bit-vars" CFLAGS="-Werror" - TARGET="32bit" TARGET_VARS="32bit-vars" PRE="valgrind --track-origins=yes --leak-check=full" script: make $TARGET CFLAGS="$CFLAGS" && make check PRE="$PRE" && make $TARGET_VARS hiredis-example
language: c sudo: false compiler: - gcc - clang os: - linux - osx before_script: - if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew update; brew install redis; fi addons: apt: packages: - libc6-dbg - libc6-dev - libc6:i386 - libc6-dev-i386 - libc6-dbg:i386 - gcc-multilib - valgrind env: - CFLAGS="-Werror" - PRE="valgrind --track-origins=yes --leak-check=full" - TARGET="32bit" TARGET_VARS="32bit-vars" CFLAGS="-Werror" - TARGET="32bit" TARGET_VARS="32bit-vars" PRE="valgrind --track-origins=yes --leak-check=full" matrix: exclude: - os: osx env: PRE="valgrind --track-origins=yes --leak-check=full" - os: osx env: TARGET="32bit" TARGET_VARS="32bit-vars" PRE="valgrind --track-origins=yes --leak-check=full" script: make $TARGET CFLAGS="$CFLAGS" && make check PRE="$PRE" && make $TARGET_VARS hiredis-example
Update Travis build tools version
language: android jdk: oraclejdk8 android: components: - tools - platform-tools - build-tools-25.0.2 - android-25 - extra-android-support - extra-android-m2repository - extra-google-m2repository licenses: - '.+' before_install: - chmod +x gradlew after_failure: "cat $TRAVIS_BUILD_DIR/sample/build/reports/lint-results.xml"
language: android jdk: oraclejdk8 android: components: - tools - platform-tools - build-tools-25.0.3 - android-25 - extra-android-support - extra-android-m2repository - extra-google-m2repository licenses: - '.+' before_install: - chmod +x gradlew after_failure: "cat $TRAVIS_BUILD_DIR/sample/build/reports/lint-results.xml"
Fix Python detection for Python 3.x
language: python python: - "pypy" - "2.6" - "2.7" - "3.3" - "3.4" install: - python setup.py -q install script: - if [[ "$(python -c 'import sys; print sys.version_info[:2]')" == "(2, 6)" ]]; then pip install unittest2; fi - py.test --tb=native jsonschema - python -m doctest README.rst
language: python python: - "pypy" - "2.6" - "2.7" - "3.3" - "3.4" install: - python setup.py -q install script: - if [[ "$(python -c 'import sys; print(sys.version_info[:2])')" == "(2, 6)" ]]; then pip install unittest2; fi - py.test --tb=native jsonschema - python -m doctest README.rst
Update from Hackage at 2018-02-07T07:26:53Z
homepage: https://github.com//ats-generic#readme changelog-type: '' hash: d21af57ff0b9939b3bf5c10fcd314a320a578047587a817a49bee8cc767174d7 test-bench-deps: {} maintainer: vamchale@gmail.com synopsis: Marshal ATS types into Haskell changelog: '' basic-deps: composition-prelude: -any base: ! '>=4.9 && <5' all-versions: - '0.1.0.3' - '0.1.0.4' - '0.1.0.5' - '0.1.0.6' author: Vanessa McHale latest: '0.1.0.6' description-type: markdown description: ! '# ats-generic ## Installation ## Configuration ' license-name: BSD3
homepage: https://github.com//ats-generic#readme changelog-type: '' hash: 37718057089af9e20edbcbf4a248332c77e9affc358e4ebe1e99e2ee61d74537 test-bench-deps: {} maintainer: vamchale@gmail.com synopsis: Marshal ATS types into Haskell changelog: '' basic-deps: bytestring: -any composition-prelude: -any base: ! '>=4.9 && <5' text: -any all-versions: - '0.1.0.3' - '0.1.0.4' - '0.1.0.5' - '0.1.0.6' - '0.2.0.0' author: Vanessa McHale latest: '0.2.0.0' description-type: markdown description: ! '# ats-generic ## Installation ## Configuration ' license-name: BSD3
Use pip for dependency management.
--- - name: Install Python 2.7 and Pip 2.7 sudo: yes apt: pkg={{ item }} state=latest with_items: - python - python-pip - name: Install virtualenv sudo: yes shell: bash -c "pip install virtualenv" - name: Install virtualenvwrapper sudo: yes shell: bash -c "pip install virtualenvwrapper"
--- - name: Install Python 2.7 and Pip 2.7 sudo: yes apt: pkg={{ item }} state=latest with_items: - python - python-pip - name: Install virtualenv sudo: yes pip: name: virtualenv - name: Install virtualenvwrapper sudo: yes pip: name: virtualenvwrapper
Update from Hackage at 2017-06-25T11:06:12Z
homepage: '' changelog-type: '' hash: 38425abab5cb452584c5ffff767fbb599d06b42563951255c418a137f971af45 test-bench-deps: {} maintainer: ajnsit@gmail.com synopsis: A simple static file server, for when apache is overkill changelog: '' basic-deps: warp: -any dyre: -any base: ! '>=4.7 && <4.9' cmdargs: -any wai-routes: -any transformers: -any all-versions: - '0.1.1.0' - '0.1.1.1' author: Anupam Jain latest: '0.1.1.1' description-type: haddock description: A simple static file server, for when apache is overkill license-name: MIT
homepage: '' changelog-type: '' hash: a238508c22c6396765904128a6d6900018504efb9da3170ad307dd2fe50e0479 test-bench-deps: {} maintainer: ajnsit@gmail.com synopsis: A simple static file server, for when apache is overkill changelog: '' basic-deps: warp: -any dyre: -any base: ! '>=4.7 && <4.10' cmdargs: -any wai-routes: -any transformers: -any all-versions: - '0.1.1.0' - '0.1.1.1' - '0.1.1.2' author: Anupam Jain latest: '0.1.1.2' description-type: haddock description: A simple static file server, for when apache is overkill license-name: MIT
Update from Forestry.io - Updated Forestry configuration
--- hide_body: false is_partial: true fields: - type: text label: Title name: title description: Optional title displayed above the collection items - type: select name: collection config: source: type: simple required: true options: - work label: Collection description: The collection to display default: work
--- hide_body: false is_partial: true fields: - type: text label: Section ID name: section_id description: 'The unique section used to reference in #links' config: required: true - type: text label: Title name: title description: Optional title displayed above the collection items - type: select name: collection config: source: type: simple required: true options: - work label: Collection description: The collection to display default: work
Configure all required env vars
name: Paysafe on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: [ '2.4', '2.5', '2.6', '2.7' ] steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Run Tests run: | gem update --system gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake
name: Paysafe on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: [ '2.4', '2.5', '2.6', '2.7' ] steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Run Tests env: PAYSAFE_ACCOUNT_NUMBER: test PAYSAFE_API_KEY: test PAYSAFE_API_SECRET: test PAYSAFE_SUT_API_KEY: test PAYSAFE_SUT_API_SECRET: test PAYSAFE_UNITY_API_KEY: test PAYSAFE_UNITY_API_SECRET: test PAYSAFE_UNITY_SUT_API_KEY: test PAYSAFE_UNITY_SUT_API_SECRET: test run: | gem update --system gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake
Update default branch in GitHub Actions.
name: Go on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: go: [ '1.15', '1.16' ] name: Go ${{ matrix.go }} steps: - uses: actions/checkout@v2 - name: Setup go uses: actions/setup-go@v1 with: go-version: ${{ matrix.go }} - run: go test -v -race ./...
name: Go on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: go: [ '1.15', '1.16' ] name: Go ${{ matrix.go }} steps: - uses: actions/checkout@v2 - name: Setup go uses: actions/setup-go@v1 with: go-version: ${{ matrix.go }} - run: go test -v -race ./...
Use SSL for New Relic
common: &default_settings license_key: '62cff396b11ba705b7e70de47ec3186c556e9af8' app_name: Racing on Rails monitor_mode: true developer_mode: false log_level: info ssl: false apdex_t: 0.5 capture_params: false transaction_tracer: enabled: true transaction_threshold: apdex_f record_sql: obfuscated stack_trace_threshold: 0.500 error_collector: enabled: true capture_source: true ignore_errors: ActionController::RoutingError development: <<: *default_settings monitor_mode: false developer_mode: true test: <<: *default_settings monitor_mode: false production: <<: *default_settings monitor_mode: true staging: <<: *default_settings monitor_mode: true app_name: Racing on Rails Staging
common: &default_settings license_key: '62cff396b11ba705b7e70de47ec3186c556e9af8' app_name: Racing on Rails monitor_mode: true developer_mode: false log_level: info capture_params: true transaction_tracer: enabled: true transaction_threshold: apdex_f record_sql: obfuscated stack_trace_threshold: 0.500 error_collector: enabled: true capture_source: true ignore_errors: ActionController::RoutingError development: <<: *default_settings monitor_mode: false app_name: Racing on Rails Development test: <<: *default_settings monitor_mode: false app_name: Racing on Rails Test acceptance: <<: *default_settings monitor_mode: false app_name: Racing on Rails Acceptance staging: <<: *default_settings monitor_mode: true app_name: Racing on Rails Staging production: <<: *default_settings monitor_mode: true
Use profile.d script to export ssh auth sock
--- - hosts: all gather_facts: false vars: home: "{{ lookup('env', 'HOME') }}" zprofile: "{{ home }}/.zprofile" ssh_config: "{{ home }}/.ssh/config" ssh_agent_service: "{{ home }}/.config/systemd/user/ssh-agent.service" tasks: - name: Set SSH_AUTH_SOCK environment variable in login shell ansible.builtin.blockinfile: path: "{{ zprofile }}" create: true marker: "# {mark} ANSIBLE MANAGED BLOCK" block: | # https://wiki.archlinux.org/title/SSH_keys#Start_ssh-agent_with_systemd_user SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" - name: Configure user ssh settings ansible.builtin.lineinfile: path: "{{ ssh_config }}" create: true line: AddKeysToAgent yes - name: Add ssh-agent as systemd user service ansible.builtin.template: src: ../templates/ssh-agent.service.j2 dest: "{{ ssh_agent_service }}" mode: 0644 - name: Enable ssh-agent service ansible.builtin.systemd: name: ssh-agent.service state: started enabled: true scope: user
--- - hosts: all gather_facts: false vars: home: "{{ lookup('env', 'HOME') }}" ssh_unlock_script: "/etc/profile.d/ssh_unlock.sh" ssh_config: "{{ home }}/.ssh/config" ssh_agent_service: "{{ home }}/.config/systemd/user/ssh-agent.service" tasks: - name: Export SSH_AUTH_SOCK environment variable become: true ansible.builtin.blockinfile: path: "{{ ssh_unlock_script }}" create: true marker: "# {mark} ANSIBLE MANAGED BLOCK" block: | # https://wiki.archlinux.org/title/SSH_keys#Start_ssh-agent_with_systemd_user export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" - name: Configure user ssh settings ansible.builtin.lineinfile: path: "{{ ssh_config }}" create: true line: AddKeysToAgent yes - name: Add ssh-agent as systemd user service ansible.builtin.template: src: ../templates/ssh-agent.service.j2 dest: "{{ ssh_agent_service }}" mode: 0644 - name: Enable ssh-agent service ansible.builtin.systemd: name: ssh-agent.service state: started enabled: true scope: user
Update display-version to show 3.13.x
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # name: components title: Camel Components version: latest prerelease: true display-version: 3.12.0 (Prerelease) nav: - modules/ROOT/nav.adoc - modules/dataformats/nav.adoc - modules/languages/nav.adoc - modules/others/nav.adoc - modules/eips/nav.adoc asciidoc: attributes: index-table-format: width="100%",cols="4,3,3,3,6",options="header" # | Data Format | Artifact | Support Level | Since | Description cq-version: latest
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # name: components title: Camel Components version: latest prerelease: true display-version: 3.13.x (Prerelease) nav: - modules/ROOT/nav.adoc - modules/dataformats/nav.adoc - modules/languages/nav.adoc - modules/others/nav.adoc - modules/eips/nav.adoc asciidoc: attributes: index-table-format: width="100%",cols="4,3,3,3,6",options="header" # | Data Format | Artifact | Support Level | Since | Description cq-version: latest
Add user permissions for OCTANE
--- ## This file gets written into an SQL import file and is essentially used ## to set all the instance permissions ## ## When the study is: ## "all" (lowercase) -- should permit all studies ## something uppercase -- is a study name, uppercasified authorities: - name: 'Dax Torti' email: 'dax.torti@oicr.on.ca' studies: - all - name: 'Jonathon Torchia' email: 'jonathon.torchia@oicr.on.ca' studies: - all
Update from Hackage at 2017-11-08T23:35:29Z
homepage: '' changelog-type: '' hash: 1412637c8b500613734e4f8fb86300949542386e5471228a9e4989576e6720eb test-bench-deps: stm: -any base: -any time: -any hspec: ! '>=1.4' monad-control: -any async: -any containers: -any fgl: -any transformers-base: -any transformers: -any maintainer: johnw@newartisans.com synopsis: A modified version of async that supports worker groups and many-to-many task dependencies changelog: '' basic-deps: stm: -any base: ! '>=3 && <4.10' monad-control: ! '>=1.0 && <1.1' async: -any containers: -any fgl: -any transformers-base: -any transformers: -any all-versions: - '0.8.0' - '0.9.0' - '0.9.0.1' author: Simon Marlow, John Wiegley latest: '0.9.0.1' description-type: haddock description: ! 'This library modifies the @async@ package to allow for task pooling and many-to-many dependencies between tasks.' license-name: MIT
homepage: '' changelog-type: '' hash: fbd4839cc591b78a0355cfae95013668a0a260bfb5a46dead06a6421a5200d82 test-bench-deps: stm: -any base: -any time: -any hspec: ! '>=1.4' monad-control: -any async: -any containers: -any fgl: -any transformers-base: -any transformers: -any maintainer: johnw@newartisans.com synopsis: A modified version of async that supports worker groups and many-to-many task dependencies changelog: '' basic-deps: stm: -any base: ! '>=3 && <4.11' monad-control: ! '>=1.0 && <1.1' async: -any containers: -any fgl: -any transformers-base: -any transformers: -any all-versions: - '0.8.0' - '0.9.0' - '0.9.0.1' - '0.9.0.2' author: Simon Marlow, John Wiegley latest: '0.9.0.2' description-type: haddock description: ! 'This library modifies the @async@ package to allow for task pooling and many-to-many dependencies between tasks.' license-name: MIT
Update from Hackage at 2017-02-17T12:29:39Z
homepage: https://github.com/louispan/glazier#readme changelog-type: '' hash: 817bacc5aed73a6c6f8269e5e6dafa3d9ee21dc0e855b0c5dc844d40f06bddc2 test-bench-deps: {} maintainer: louis@pan.me synopsis: Composable widgets framework changelog: '' basic-deps: semigroupoids: ! '>=5 && <6' base: ! '>=4.7 && <5' lens: ! '>=4 && <5' mtl: ! '>=2 && <3' mmorph: ! '>=1 && <2' transformers: ! '>=0.4 && <0.6' all-versions: - '0.8.0.0' - '0.9.0.0' author: Louis Pan latest: '0.9.0.0' description-type: haddock description: Please see README.md license-name: BSD3
homepage: https://github.com/louispan/glazier#readme changelog-type: '' hash: 48d3385926329160a46ba7ddc6d270fb54f0951a35638394df89a33e6e02c844 test-bench-deps: {} maintainer: louis@pan.me synopsis: Composable widgets framework changelog: '' basic-deps: semigroupoids: ! '>=5 && <6' base: ! '>=4.7 && <5' lens: ! '>=4 && <5' mtl: ! '>=2 && <3' mmorph: ! '>=1 && <2' transformers: ! '>=0.4 && <0.6' all-versions: - '0.8.0.0' - '0.9.0.0' - '0.10.0.0' author: Louis Pan latest: '0.10.0.0' description-type: haddock description: Please see README.md license-name: BSD3
Add markdown and timezone configs
name: Elliott Hauser - since 1983 pygments: true title: Elliott Hauser subtitle: since 1983 sections: - bio
name: Elliott Hauser - since 1983 pygments: true title: Elliott Hauser subtitle: since 1983 sections: - bio markdown: redcarpet redcarpet: extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] timezone: America/New_York
Set the backendroot properly for Vagrant.
--- - name: Configure web server(s) hosts: webservers sudo: yes vars: docroot: /vagrant_data/_site backendroot: /var/webapp/sponsorship-form sourceroot: /vagrant_data/ server_name: localhost vars_files: - [ "secrets.yml", "secrets.nodeless.yml" ] roles: - webserver - role: bennojoy.nginx nginx_http_params: sendfile: "on" access_log: /var/log/nginx/access.log nginx_sites: - server: file_name: developer.rackspace.com listen: 80 server_name: "{{ server_name }}" root: "{{ docroot }}" location1: name: /api proxy_pass: http://127.0.0.1:8111 - jekyll - sphinx - dev
--- - name: Configure web server(s) hosts: webservers sudo: yes vars: docroot: /vagrant_data/_site backendroot: /vagrant_data/src/sponsorship-form sourceroot: /vagrant_data/ server_name: localhost vars_files: - [ "secrets.yml", "secrets.nodeless.yml" ] roles: - webserver - role: bennojoy.nginx nginx_http_params: sendfile: "on" access_log: /var/log/nginx/access.log nginx_sites: - server: file_name: developer.rackspace.com listen: 80 server_name: "{{ server_name }}" root: "{{ docroot }}" location1: name: /api proxy_pass: http://127.0.0.1:8111 - jekyll - sphinx - dev
Split stages for binary and docker builds.
pipeline: backend: image: golang commands: - curl https://glide.sh/get | sh - make
pipeline: binary: image: golang commands: - curl https://glide.sh/get | sh - make docker: image: plugins/docker repo: flaccid/j2xrp username: flaccid secrets: [ docker_password ]
Hide logs from DB container.
version: '2' # This compose file is just an example. Create your own to launch your own Aegir cluster services: hostmaster: image: aegir/hostmaster ports: - 80:80 hostname: aegir.docker links: - database depends_on: - database environment: VIRTUAL_HOST: aegir.docker MYSQL_ROOT_PASSWORD: strongpassword database: image: mariadb environment: MYSQL_ROOT_PASSWORD: strongpassword
version: '2' # This compose file is just an example. Create your own to launch your own Aegir cluster services: hostmaster: image: aegir/hostmaster ports: - 80:80 hostname: aegir.docker links: - database depends_on: - database environment: VIRTUAL_HOST: aegir.docker MYSQL_ROOT_PASSWORD: strongpassword database: image: mariadb logging: driver: none environment: MYSQL_ROOT_PASSWORD: strongpassword
Add Python3 victoria unit tests
- job: name: compute-hyperv-openstack-tox-docs parent: openstack-tox-docs description: | Run tox docs job with the nova dependency. required-projects: - openstack/nova - project: templates: - build-release-notes-jobs-python3 - check-requirements - openstack-lower-constraints-jobs - openstack-python3-ussuri-jobs check: jobs: - compute-hyperv-openstack-tox-docs gate: jobs: - compute-hyperv-openstack-tox-docs
- job: name: compute-hyperv-openstack-tox-docs parent: openstack-tox-docs description: | Run tox docs job with the nova dependency. required-projects: - openstack/nova - project: templates: - build-release-notes-jobs-python3 - check-requirements - openstack-lower-constraints-jobs - openstack-python3-victoria-jobs check: jobs: - compute-hyperv-openstack-tox-docs gate: jobs: - compute-hyperv-openstack-tox-docs
Add Python3 yoga unit tests
- project: templates: - openstack-cover-jobs - check-requirements - release-notes-jobs-python3 - openstack-python3-xena-jobs - publish-openstack-docs-pti check: jobs: - cyborg-tempest - cyborg-tempest-ipv6-only - cyborg-tox-bandit gate: jobs: - cyborg-tempest - job: name: cyborg-tox-bandit parent: openstack-tox timeout: 2400 vars: tox_envlist: bandit required-projects: - openstack/requirements irrelevant-files: &gate-irrelevant-files - ^(test-|)requirements.txt$ - ^.*\.rst$ - ^api-ref/.*$ - ^cyborg/cmd/status\.py$ - ^cyborg/hacking/.*$ - ^cyborg/tests/functional.*$ - ^cyborg/tests/unit.*$ - ^doc/.*$ - ^etc/.*$ - ^releasenotes/.*$ - ^setup.cfg$ - ^tools/.*$ - ^tox.ini$
- project: templates: - openstack-cover-jobs - check-requirements - release-notes-jobs-python3 - openstack-python3-yoga-jobs - publish-openstack-docs-pti check: jobs: - cyborg-tempest - cyborg-tempest-ipv6-only - cyborg-tox-bandit gate: jobs: - cyborg-tempest - job: name: cyborg-tox-bandit parent: openstack-tox timeout: 2400 vars: tox_envlist: bandit required-projects: - openstack/requirements irrelevant-files: &gate-irrelevant-files - ^(test-|)requirements.txt$ - ^.*\.rst$ - ^api-ref/.*$ - ^cyborg/cmd/status\.py$ - ^cyborg/hacking/.*$ - ^cyborg/tests/functional.*$ - ^cyborg/tests/unit.*$ - ^doc/.*$ - ^etc/.*$ - ^releasenotes/.*$ - ^setup.cfg$ - ^tools/.*$ - ^tox.ini$
Update from Hackage at 2015-09-07T16:18:16+0000
homepage: '' changelog-type: '' hash: ebe17e0a55abd41634a9460ec4527f03187fdf0b144ed89d3499c3069d7ce86c test-bench-deps: base: ! '>=4.8 && <5' hspec: ! '>=2.1' polar: -any containers: ! '>=0.5.5' maintainer: David Farrell <shokku.ra@gmail.com> synopsis: High-level shader compiler for Polar Game Engine changelog: '' basic-deps: base: ! '>=4.8 && <5' containers: ! '>=0.5.5' lens: ! '>=4.12' mtl: ! '>=2.2' all-versions: - '0.1.0.0' author: David Farrell latest: '0.1.0.0' description-type: haddock description: A high-level generic shader compiler library built for the Polar Game Engine. license-name: Apache-2.0
homepage: '' changelog-type: '' hash: 15009d6630dc9010dc1bba7c4e7338534424a05021d743926f8896e25b3375bd test-bench-deps: polar-shader: -any base: ! '>=4.8 && <5' hspec: ! '>=2.1' containers: ! '>=0.5.5' maintainer: David Farrell <shokku.ra@gmail.com> synopsis: High-level shader compiler for Polar Game Engine changelog: '' basic-deps: base: ! '>=4.8 && <5' containers: ! '>=0.5.5' lens: ! '>=4.12' mtl: ! '>=2.2' all-versions: - '0.1.0.0' - '0.1.0.1' author: David Farrell latest: '0.1.0.1' description-type: haddock description: A high-level generic shader compiler library built for the Polar Game Engine. license-name: Apache-2.0
Improve readability of the GitHub workflow script.
name: 'Integrate' on: - push - pull_request jobs: ci: name: 'CI' runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-latest - macos-latest - windows-latest toolchain: - stable - nightly steps: - name: 'Install Linux dependencies' if: ${{ runner.os == 'Linux' }} run: sudo apt install attr e2fsprogs libfuse-dev - name: 'Checkout the repository' uses: actions/checkout@v2 with: submodules: true - name: 'Install the Rust toolchain' uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.toolchain }} - name: 'Run tests' uses: actions-rs/cargo@v1 with: command: test args: --package rrg-macro --package rrg-proto --package rrg --features 'test-chattr test-setfattr'
name: 'Integrate' on: - push - pull_request jobs: ci: name: 'CI' runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-latest - macos-latest - windows-latest toolchain: - stable - nightly steps: - name: 'Install Linux dependencies' if: ${{ runner.os == 'Linux' }} run: sudo apt install attr e2fsprogs libfuse-dev - name: 'Checkout the repository' uses: actions/checkout@v2 with: submodules: true - name: 'Install the Rust toolchain' uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.toolchain }} - name: 'Run tests' uses: actions-rs/cargo@v1 with: command: test args: > --package rrg-macro --package rrg-proto --package rrg --features 'test-chattr test-setfattr'
Update required dart for appeveyor build
# Copyright (c) 2014-2015, Nicolas François # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. install: - cinst -y dart-sdk -version 1.11.1 - set DART_SDK=C:\tools\dart-sdk - set PATH=%PATH%;%DART_SDK%\bin - set PATH=%PATH%;%APPDATA%\Pub\Cache\bin - pub get clone_depth: 1 build_script: - pub run grinder compile test_script: - pub run grinder test artifacts: - path: lib/src/serial_port.dll
# Copyright (c) 2014-2015, Nicolas François # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. install: - cinst -y dart-sdk -version 1.12.1 - set DART_SDK=C:\tools\dart-sdk - set PATH=%PATH%;%DART_SDK%\bin - set PATH=%PATH%;%APPDATA%\Pub\Cache\bin - pub get clone_depth: 1 build_script: - pub run grinder compile test_script: - pub run grinder test artifacts: - path: lib/src/serial_port.dll
Use script/build on AppVeyor :rainbow:
version: "{build}" os: Windows Server 2012 R2 test: off deploy: off build_script: - cd %APPVEYOR_BUILD_FOLDER% - script/cibuild
version: "{build}" os: Windows Server 2012 R2 test: off deploy: off build_script: - cd %APPVEYOR_BUILD_FOLDER% - "script/build"
Update from Hackage at 2018-11-22T19:16:53Z
homepage: http://github.com/cartazio/ralist changelog-type: markdown hash: c3e127bffe185ea5a8980d738505e495734e31f0b662c86cfcc4d444827abd8d test-bench-deps: base: -any hspec: ! '>=2.2 && <2.3' criterion: -any deepseq: -any ralist: -any maintainer: Carter Schonwald synopsis: Random access list with a list compatible interface. changelog: ! ' # 0.2.1.0 Added missing traversable instance # 0.2.0.0 updated version of ralist includes bug fixes, api cleanup, test suite and logarithmic drop contributed by Nell White ' basic-deps: fail: ==4.9.* base: ! '>=3 && <6' semigroups: ==0.18.* all-versions: - '0.1.0.0' - '0.2.0.0' - '0.2.1.0' author: Lennart Augustsson, Carter Schonwald latest: '0.2.1.0' description-type: haddock description: ! 'Random access list with a list compatible interface. Random access list have same complexity as lists with some exceptions, the notable one being that (!!) is O(log n) instead of O(n). RALists have to be finite.' license-name: BSD3
homepage: http://github.com/cartazio/ralist changelog-type: markdown hash: f9d8bfc29daabdb3fd8cec7b7c724fd671132e145c8d4b21f30029229b5d88fc test-bench-deps: base: -any hspec: ! '>=2.2 && <2.7' criterion: -any deepseq: -any ralist: -any maintainer: Carter Schonwald synopsis: Random access list with a list compatible interface. changelog: ! ' # 0.2.1.0 Added missing traversable instance # 0.2.0.0 updated version of ralist includes bug fixes, api cleanup, test suite and logarithmic drop contributed by Nell White ' basic-deps: base: ! '>=3 && <6' all-versions: - '0.1.0.0' - '0.2.1.1' author: Lennart Augustsson, Carter Schonwald latest: '0.2.1.1' description-type: haddock description: ! 'Random access list with a list compatible interface. Random access list have same complexity as lists with some exceptions, the notable one being that (!!) is O(log n) instead of O(n). RALists have to be finite.' license-name: BSD3
Fix issue with dig timeout (DNS interface)
web1: build: . hostname: web1 ports: - "5000" links: - "consul1" - "registrator" web2: build: . hostname: web2 ports: - "5000" links: - "consul1" - "registrator" consul1: image: "progrium/consul:latest" hostname: "consul" ports: - "8400:8400" - "8500:8500" - "53:53" command: "-server -bootstrap-expect 1 -ui-dir /ui" registrator: image: "gliderlabs/registrator" hostname: "registrator" volumes: - "/var/run/docker.sock:/tmp/docker.sock" links: - consul1 command: "-internal consul://consul1:8500"
service1: build: . hostname: service1 ports: - "5000" links: - "consul1" - "registrator" service2: build: . hostname: service2 ports: - "5000" links: - "consul1" - "registrator" consul1: image: "progrium/consul:latest" hostname: "consul" ports: - "8400:8400" - "8500:8500" - "8600:53/udp" command: "-server -bootstrap-expect 1 -ui-dir /ui" registrator: image: "gliderlabs/registrator" hostname: "registrator" volumes: - "/var/run/docker.sock:/tmp/docker.sock" links: - consul1 command: "-internal consul://consul1:8500"
Change to Manual Plugin.yml Versioning
name: YoutubePlus main: me.clarkcj.youtube.YouTubePlus version: mvn-version authors: [Clarkcj, willies952002] description: Tells The Players What the Server's YouTube/Twitch Channel is, also if someone is streaming/recording. commands: youtube: description: Sends YouTube Channel Information aliases: yt usage: /<command> [link] stream: description: Sends Twitch Channel Information usage: /<command> [link] permissions: ytp.*: description: Allows Access to Both ytp.r and ytp.s Permission Nodes default: op children: ytp.r: true ytp.s: true ytp.r: description: Allows a Player to Broadcast to The Server That They are Recording on YouTube default: op ytp.s: description: Allows a Player to Broadcast to The Server that They are Streaming on Twitch default: op
name: YoutubePlus main: me.clarkcj.youtube.YouTubePlus version: 2.1-dev authors: [Clarkcj, willies952002] description: Tells The Players What the Server's YouTube/Twitch Channel is, also if someone is streaming/recording. commands: youtube: description: Sends YouTube Channel Information aliases: yt usage: /<command> [link] stream: description: Sends Twitch Channel Information usage: /<command> [link] permissions: ytp.*: description: Allows Access to Both ytp.r and ytp.s Permission Nodes default: op children: ytp.r: true ytp.s: true ytp.r: description: Allows a Player to Broadcast to The Server That They are Recording on YouTube default: op ytp.s: description: Allows a Player to Broadcast to The Server that They are Streaming on Twitch default: op
Remove cs2pr from PHPCS analysis chain
# https://docs.github.com/en/actions name: Code Testing on: pull_request: null push: branches: - master jobs: phpstan: name: PHPStan Tests runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Get Composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache dependencies uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- - name: Install dependencies run: composer install - name: Set up PHP uses: shivammathur/setup-php@v2 with: php-version: 8.0 extensions: mbstring coverage: none tools: composer:v2, cs2pr env: COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup problem matchers for PHP run: echo "::add-matcher::${{ runner.tool_cache }}/php.json" - name: Run PhpStan run: vendor/bin/phpstan --error-format=checkstyle | cs2pr - name: Run PhpCS run: vendor/bin/phpcs --no-cache --parallel=1 --report-full --report-checkstyle --config-set ignore_warnings_on_exit 1 | cs2pr
# https://docs.github.com/en/actions name: Code Testing on: pull_request: null push: branches: - master jobs: phpstan: name: PHPStan Tests runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Get Composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache dependencies uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- - name: Install dependencies run: composer install - name: Set up PHP uses: shivammathur/setup-php@v2 with: php-version: 8.0 extensions: mbstring coverage: none tools: composer:v2, cs2pr env: COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup problem matchers for PHP run: echo "::add-matcher::${{ runner.tool_cache }}/php.json" - name: Run PhpStan run: vendor/bin/phpstan --error-format=checkstyle | cs2pr - name: Run PhpCS run: vendor/bin/phpcs --no-cache --parallel=1 --report-full --report-checkstyle --config-set ignore_warnings_on_exit 1
Update BonjourBrowser to 1.9 (109)
Categories: - Internet License: MIT AuthorName: Andreas Vogel AuthorEmail: andreas@wellenvogel.net AuthorWebSite: https://www.wellenvogel.de/ SourceCode: https://github.com/wellenvogel/BonjourBrowser IssueTracker: https://github.com/wellenvogel/BonjourBrowser/issues AutoName: BonjourBrowser RepoType: git Repo: https://github.com/wellenvogel/BonjourBrowser Builds: - versionName: '1.6' versionCode: 106 commit: release-106 subdir: app gradle: - yes - versionName: '1.7' versionCode: 107 commit: release-107 subdir: app gradle: - yes AutoUpdateMode: Version release-%c UpdateCheckMode: Tags CurrentVersion: '1.7' CurrentVersionCode: 107
Categories: - Internet License: MIT AuthorName: Andreas Vogel AuthorEmail: andreas@wellenvogel.net AuthorWebSite: https://www.wellenvogel.de/ SourceCode: https://github.com/wellenvogel/BonjourBrowser IssueTracker: https://github.com/wellenvogel/BonjourBrowser/issues AutoName: BonjourBrowser RepoType: git Repo: https://github.com/wellenvogel/BonjourBrowser Builds: - versionName: '1.6' versionCode: 106 commit: release-106 subdir: app gradle: - yes - versionName: '1.7' versionCode: 107 commit: release-107 subdir: app gradle: - yes - versionName: '1.9' versionCode: 109 commit: release-109 subdir: app gradle: - yes AutoUpdateMode: Version release-%c UpdateCheckMode: Tags CurrentVersion: '1.9' CurrentVersionCode: 109
Update Maidstone Christmas visit slots
--- name: Maidstone nomis_id: MSI address: - 36 County Road - 'ME14 1UZ ' email: socialvisits.maidstone@hmps.gsi.gov.uk enabled: true estate: Maidstone phone: 01622 775619 slots: tue: - 1345-1545 mon: - 1345-1545 sat: - 1345-1620 sun: - 1345-1620 thu: - 1345-1545 wed: - 1345-1545 unbookable: - 2014-12-25 - 2014-12-26
--- name: Maidstone nomis_id: MSI address: - 36 County Road - 'ME14 1UZ ' email: socialvisits.maidstone@hmps.gsi.gov.uk enabled: true estate: Maidstone phone: 01622 775619 slots: tue: - 1345-1545 mon: - 1345-1545 sat: - 1345-1620 sun: - 1345-1620 thu: - 1345-1545 wed: - 1345-1545 unbookable: - 2014-12-25 - 2014-12-26 - 2015-12-25 - 2015-12-26
Add Python lower bound for noarch packaging
{% set name = "g2p-en" %} {% set version = "2.1.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/g2p_en-{{ version }}.tar.gz sha256: 32ecb119827a3b10ea8c1197276f4ea4f44070ae56cbbd01f0f261875f556a58 build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python run: - distance >=0.1.3 - inflect >=0.3.1 - nltk >=3.2.4 - numpy >=1.13.1 - python test: imports: - g2p_en commands: - pip check requires: - pip about: home: https://github.com/Kyubyong/g2p summary: A Simple Python Module for English Grapheme To Phoneme Conversion license: Apache-2.0 license_file: LICENSE.txt extra: recipe-maintainers: - tyrius02
{% set name = "g2p-en" %} {% set version = "2.1.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/g2p_en-{{ version }}.tar.gz sha256: 32ecb119827a3b10ea8c1197276f4ea4f44070ae56cbbd01f0f261875f556a58 build: number: 0 noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=3 run: - distance >=0.1.3 - inflect >=0.3.1 - nltk >=3.2.4 - numpy >=1.13.1 - python >=3 test: imports: - g2p_en commands: - pip check requires: - pip about: home: https://github.com/Kyubyong/g2p summary: A Simple Python Module for English Grapheme To Phoneme Conversion license: Apache-2.0 license_file: LICENSE.txt extra: recipe-maintainers: - tyrius02
Change cache key to yarn.lock
name: Tests on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x, 13.x] steps: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 with: node-version: '12.x' - name: Cache node modules uses: actions/cache@v1 env: cache-name: cache-node-modules with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build- ${{ runner.os }}- - run: npm install - run: npm test
name: Tests on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x, 13.x] steps: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 with: node-version: '12.x' - name: Cache node modules uses: actions/cache@v1 env: cache-name: cache-node-modules with: path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build- ${{ runner.os }}- - run: npm install - run: npm test
Remove style check from test
name: Tests on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pytest pip install -e "." if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | pytest tests
name: Tests on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install pytest pip install -e "." if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | pytest tests
Set CircleCI OpenJDK version to 8
machine: environment: GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx3072m -XX:+HeapDumpOnOutOfMemoryError"' dependencies: pre: - echo y | android update sdk -u -a -t tool - echo y | android update sdk --no-ui --all --filter "android-24,build-tools-24.0.1" test: override: - ./gradlew assembleRelease post: - cp -r app/build/outputs/apk/*.apk $CIRCLE_ARTIFACTS notify: webhooks: - url: https://webhooks.gitter.im/e/c49b94a47eea91f52650
machine: environment: GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx3072m -XX:+HeapDumpOnOutOfMemoryError"' java: version: openjdk7 dependencies: pre: - echo y | android update sdk -u -a -t tool - echo y | android update sdk --no-ui --all --filter "android-24,build-tools-24.0.1" test: override: - ./gradlew assembleRelease post: - cp -r app/build/outputs/apk/*.apk $CIRCLE_ARTIFACTS notify: webhooks: - url: https://webhooks.gitter.im/e/c49b94a47eea91f52650
Upgrade CircleCI to Go 1.7
test: override: - bash gofmt.sh - go tool vet . - case $CIRCLE_NODE_INDEX in 0) go test -timeout 60s -v ./... ;; 1) GORACE="halt_on_error=1" go test -race -timeout 120s -v ./...;; esac: parallel: true
machine: environment: GODIST: "go1.7.1.linux-amd64.tar.gz" post: - mkdir -p download - test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST - sudo rm -rf /usr/local/go - sudo tar -C /usr/local -xzf download/$GODIST test: override: - go version - bash gofmt.sh - go tool vet . - case $CIRCLE_NODE_INDEX in 0) go test -timeout 60s -v ./... ;; 1) GORACE="halt_on_error=1" go test -race -timeout 120s -v ./...;; esac: parallel: true
Change formatting and removed unneeded permissions.
name: ControlCreativeMode main: musician101.controlcreativemode.ControlCreativeMode version: 1.4 description: Change from creative and survival authors: [boardingamer, Musician101] maintainer: Musician101 prefix: CCM commands: ccm: description: Commands for the plugin. permissions: ccm.use aliases: [ccm]
name: ControlCreativeMode main: musician101.controlcreativemode.ControlCreativeMode version: 1.4 description: Change from creative and survival authors: [boardingamer, Musician101] maintainer: Musician101 prefix: CCM commands: ccm: description: Commands for the plugin. aliases: [ccm]
Change permissions in jenkins data folder.
--- - name: Add docker deb repository keys apt_key: keyserver: p80.pool.sks-keyservers.net id: "58118E89F3A912897C070ADBF76221572C52609D" tags: - jenkins - name: Update repository cache apt: update_cache: yes cache_valid_time: 3600 tags: - jenkins - name: Install apt dependencies apt: name: docker state: present tags: - jenkins - name: Ensure jenkins volume folder exists file: path: "/opt/jenkins" state: directory tags: - jenkins - name: Run jenkins docker docker: name: jenkins image: partinfra/jenkins state: started ports: - "80:8080" - "5000:5000" volumes: - "/opt/jenkins:/var/jenkins_home" restart_policy: always tags: - jenkins - name: Setup consul service and check definitions template: src: consul.json.j2 dest: /etc/consul.d/jenkins.json owner: root group: root mode: 0644 notify: - restart consul tags: - jenkins - consul
--- - name: Add docker deb repository keys apt_key: keyserver: p80.pool.sks-keyservers.net id: "58118E89F3A912897C070ADBF76221572C52609D" tags: - jenkins - name: Update repository cache apt: update_cache: yes cache_valid_time: 3600 tags: - jenkins - name: Install apt dependencies apt: name: docker state: present tags: - jenkins - name: Ensure jenkins volume folder exists file: path: "/opt/jenkins" state: directory owner: 1000 tags: - jenkins - name: Run jenkins docker docker: name: jenkins image: partinfra/jenkins state: started ports: - "80:8080" - "5000:5000" volumes: - "/opt/jenkins:/var/jenkins_home" restart_policy: always tags: - jenkins - name: Setup consul service and check definitions template: src: consul.json.j2 dest: /etc/consul.d/jenkins.json owner: root group: root mode: 0644 notify: - restart consul tags: - jenkins - consul
Disable Rubocop's multiline operation indentation
Documentation: Enabled: false Style/Encoding: Enabled: false AllCops: Include: - '**/*.gemspec' - '**/Rakefile'
Documentation: Enabled: false Style/Encoding: Enabled: false Style/MultilineOperationIndentation: Enabled: false AllCops: Include: - '**/*.gemspec' - '**/Rakefile'
Replace inline format list with block format list
name: ci on: push: branches: - master - php5.x-master pull_request: schedule: - cron: '0 17 * * *' jobs: ci: runs-on: ubuntu-latest strategy: matrix: php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] fail-fast: false name: PHP ${{ matrix.php }} steps: - name: Set up php uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - name: Checkout uses: actions/checkout@v2 - name: Test run: bash tests/ci.sh env: CI_PHP_VERSION: ${{ matrix.php }}
name: ci on: push: branches: - master - php5.x-master pull_request: schedule: - cron: '0 17 * * *' jobs: ci: runs-on: ubuntu-latest strategy: matrix: php: - '7.0' - '7.1' - '7.2' - '7.3' - '7.4' - '8.0' fail-fast: false name: PHP ${{ matrix.php }} steps: - name: Set up php uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - name: Checkout uses: actions/checkout@v2 - name: Test run: bash tests/ci.sh env: CI_PHP_VERSION: ${{ matrix.php }}
Update CV of Track & Graph to 1.6.2 (10602)
Categories: - Sports & Health License: GPL-3.0-or-later AuthorName: Samuel Amantea-Collins AuthorEmail: help.trackandgraph@gmail.com SourceCode: https://github.com/SamAmco/track-and-graph IssueTracker: https://github.com/SamAmco/track-and-graph/issues Changelog: https://github.com/SamAmco/track-and-graph/releases AutoName: Track & Graph RepoType: git Repo: https://github.com/SamAmco/track-and-graph Builds: - versionName: 1.4.3 versionCode: 10403 commit: v1.4.3 subdir: app gradle: - yes - versionName: 1.4.4 versionCode: 10404 commit: v1.4.4 subdir: app gradle: - yes - versionName: 1.5.1 versionCode: 10501 commit: v1.5.1 subdir: app gradle: - yes - versionName: 1.6.2 versionCode: 10602 commit: v1.6.2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags v CurrentVersion: 1.5.1 CurrentVersionCode: 10501
Categories: - Sports & Health License: GPL-3.0-or-later AuthorName: Samuel Amantea-Collins AuthorEmail: help.trackandgraph@gmail.com SourceCode: https://github.com/SamAmco/track-and-graph IssueTracker: https://github.com/SamAmco/track-and-graph/issues Changelog: https://github.com/SamAmco/track-and-graph/releases AutoName: Track & Graph RepoType: git Repo: https://github.com/SamAmco/track-and-graph Builds: - versionName: 1.4.3 versionCode: 10403 commit: v1.4.3 subdir: app gradle: - yes - versionName: 1.4.4 versionCode: 10404 commit: v1.4.4 subdir: app gradle: - yes - versionName: 1.5.1 versionCode: 10501 commit: v1.5.1 subdir: app gradle: - yes - versionName: 1.6.2 versionCode: 10602 commit: v1.6.2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags v CurrentVersion: 1.6.2 CurrentVersionCode: 10602
Update rubinius reference in Travis CI
language: ruby sudo: false email: false cache: directories: - ../bundle before_install: - unset _JAVA_OPTIONS - "script/clone_all_rspec_repos" # Note this doesn't work on JRUBY 2.0.0 mode so we don't do it, the excluded versions are broken on Ruby 2.3 - if [ "jruby" != "$TRAVIS_RUBY_VERSION" ]; then gem install bundler --version "1.11.2"; fi - alias bundle="bundle _1.11.2_" bundler_args: "--binstubs --standalone --without documentation --path ../bundle" script: "script/run_build" rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1 - 2.2.7 - 2.3.4 - 2.4.1 - ruby-head - ree - rbx - jruby - jruby-head - jruby-1.7 env: - JRUBY_OPTS='--dev' matrix: include: - rvm: jruby-1.7 env: JRUBY_OPTS='--dev --1.8' allow_failures: - rvm: jruby-head - rvm: ruby-head - rvm: rbx fast_finish: true branches: only: - master - /^\d+-\d+-maintenance$/
language: ruby sudo: false email: false cache: directories: - ../bundle before_install: - unset _JAVA_OPTIONS - "script/clone_all_rspec_repos" # Note this doesn't work on JRUBY 2.0.0 mode so we don't do it, the excluded versions are broken on Ruby 2.3 - if [ "jruby" != "$TRAVIS_RUBY_VERSION" ]; then gem install bundler --version "1.11.2"; fi - alias bundle="bundle _1.11.2_" bundler_args: "--binstubs --standalone --without documentation --path ../bundle" script: "script/run_build" rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1 - 2.2.7 - 2.3.4 - 2.4.1 - ruby-head - ree - rbx-3 - jruby - jruby-head - jruby-1.7 env: - JRUBY_OPTS='--dev' matrix: include: - rvm: jruby-1.7 env: JRUBY_OPTS='--dev --1.8' allow_failures: - rvm: jruby-head - rvm: ruby-head - rvm: rbx-3 fast_finish: true branches: only: - master - /^\d+-\d+-maintenance$/
Change default grading task of manual workflow dispatch to self-compile
name: Autograde Selfie Assignment on: push: paths: - '**.c' - '**.yml' workflow_dispatch: inputs: assignmentid: description: 'Assignment ID' required: true default: 'skip ci' jobs: auto-grade-selfie-assignment: name: Run autograder runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] env: COMMIT_MESSAGE: ${{ github.event.head_commit.message }} ASSIGNMENT: ${{ github.event.inputs.assignmentid }} steps: - name: Checkout selfie uses: actions/checkout@v2 - name: Use Python 3.7.x uses: actions/setup-python@v1 with: python-version: "3.7.x" # extract assignment from "commit message [assignment]" - name: Parse commit message run: echo "ASSIGNMENT=$(echo $COMMIT_MESSAGE | awk -F '[][]' '{print $2}')" >> $GITHUB_ENV if: github.event_name == 'push' - name: Autograde assignment run: if [ "$ASSIGNMENT" != 'skip ci' ]; then ./grader/self.py $ASSIGNMENT; fi
name: Autograde Selfie Assignment on: push: paths: - '**.c' - '**.yml' workflow_dispatch: inputs: assignmentid: description: 'Assignment ID' required: true default: 'self-compile' jobs: auto-grade-selfie-assignment: name: Run autograder runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] env: COMMIT_MESSAGE: ${{ github.event.head_commit.message }} ASSIGNMENT: ${{ github.event.inputs.assignmentid }} steps: - name: Checkout selfie uses: actions/checkout@v2 - name: Use Python 3.7.x uses: actions/setup-python@v1 with: python-version: "3.7.x" # extract assignment from "commit message [assignment]" - name: Parse commit message run: echo "ASSIGNMENT=$(echo $COMMIT_MESSAGE | awk -F '[][]' '{print $2}')" >> $GITHUB_ENV if: github.event_name == 'push' - name: Autograde assignment run: if [ "$ASSIGNMENT" != 'skip ci' ]; then ./grader/self.py $ASSIGNMENT; fi
Enable action.auto_create_index in docker ES
# Don't forget to rebuild and start the elasticsearch image after changing this file: # $ ./scripts/docker rebuild elasticsearch # $ ./scripts/docker up -d elasticsearch network.host: 0.0.0.0 http.port: 9200 # dev-only setting to allow client-side ES front-ends http.cors.allow-origin: "*" http.cors.enabled: true index.max_result_window: 1000000 action.auto_create_index: false
# Don't forget to rebuild and start the elasticsearch image after changing this file: # $ ./scripts/docker rebuild elasticsearch # $ ./scripts/docker up -d elasticsearch network.host: 0.0.0.0 http.port: 9200 # dev-only setting to allow client-side ES front-ends http.cors.allow-origin: "*" http.cors.enabled: true index.max_result_window: 1000000 # Eventually we want to enable this option, but currently it causes ES # timeouts due to tests referencing non-existent indices. For example, # saving a user triggers an async task that updates ES, and that fails # if the index does not exist. Many tests create and save users but few # do explicit ES index creation as is conventional for tests that # interact with ES. #action.auto_create_index: false
Use Maven 3.6.0 when building on AppVeyor
version: '{build}' skip_tags: true clone_depth: 10 environment: matrix: - JAVA_HOME: C:\Program Files\Java\jdk1.8.0 install: - ps: >- $MVNDIR = 'C:\tools\apache-maven-3.3.9\' if(!(Test-Path -Path $MVNDIR )){ Write-Host (Test-Path -Path $MVNDIR) Write-Host 'Installing Maven' cinst maven -Version 3.3.9 } else { Write-Host 'Found Maven cached installation' } # Note: env variables are not correctly updated by choco (setting it manually) # Prepend Java entry, remove Ruby entry (C:\Ruby193\bin;) from PATH - cmd: SET PATH=C:\tools\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=% - cmd: mvn --version - cmd: java -version build_script: - mvn clean package -B -Dmaven.test.skip=true test_script: - mvn test -B cache: - C:\tools\apache-maven-3.3.9\
version: '{build}' skip_tags: true clone_depth: 10 environment: matrix: - JAVA_HOME: C:\Program Files\Java\jdk1.8.0 install: - ps: >- $MVNDIR = 'C:\tools\apache-maven-3.6.0\' if(!(Test-Path -Path $MVNDIR )){ Write-Host (Test-Path -Path $MVNDIR) Write-Host 'Installing Maven' cinst maven -Version 3.6.0 } else { Write-Host 'Found Maven cached installation' } # Note: env variables are not correctly updated by choco (setting it manually) # Prepend Java entry, remove Ruby entry (C:\Ruby193\bin;) from PATH - cmd: SET PATH=C:\tools\apache-maven-3.6.0\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=% - cmd: mvn --version - cmd: java -version build_script: - mvn clean package -B -Dmaven.test.skip=true test_script: - mvn test -B cache: - C:\tools\apache-maven-3.6.0\
Fix git command for cloning ansible to auto-provision server.
--- # roles/install-ansible/tasks/main.yml - name: ensure the provision directory exists file: state=directory path={{ auto_provision_base_directory }} owner=www-data group=www-data mode=0775 when: auto_provision_host is defined tags: [auto-provision, install-ansible] - name: clone the ansible repository git: repo=git://github.com/ansible/ansible.git dest={{ auto_provision_base_directory }} recursive=yes version={{ auto_provision_ansible_version }} accept_hostkey=yes when: auto_provision_host is defined tags: [auto-provision, install-ansible]
--- # roles/install-ansible/tasks/main.yml - name: ensure the provision directory exists file: state=directory path={{ auto_provision_base_directory }} owner=www-data group=www-data mode=0775 when: auto_provision_host is defined tags: [auto-provision, install-ansible] - name: clone the ansible repository git: repo=git://github.com/ansible/ansible.git dest={{ auto_provision_base_directory }}/ansible recursive=yes version={{ auto_provision_ansible_version }} accept_hostkey=yes when: auto_provision_host is defined tags: [auto-provision, install-ansible]
Move to small boxes in Circle to save 6026
version: 2.1 commands: yarn-install: steps: - restore_cache: keys: # when lock file changes, use increasingly general patterns to restore cache - yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }} - yarn-packages-v1-{{ .Branch }}- - yarn-packages-v1- - run: "echo \"//npm.fontawesome.com/:_authToken=$FONTAWESOME_AUTH_TOKEN\" >> .npmrc" - run: "echo \"//npm.pkg.github.com/:_authToken=$GITHUB_PACKAGE_TOKEN\" >> .npmrc" - run: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn - save_cache: paths: - ~/.cache/yarn key: yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }} jobs: test: parallelism: 1 docker: - image: circleci/node:14.0.0 steps: - checkout - yarn-install - run: yarn test deploy: parallelism: 1 docker: - image: circleci/node:14.0.0 steps: - checkout - yarn-install - run: yarn build - run: yarn deploy workflows: version: 2.1 test_and_deploy: jobs: - test - deploy: requires: - test filters: branches: only: - master
version: 2.1 commands: yarn-install: steps: - restore_cache: keys: # when lock file changes, use increasingly general patterns to restore cache - yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }} - yarn-packages-v1-{{ .Branch }}- - yarn-packages-v1- - run: "echo \"//npm.fontawesome.com/:_authToken=$FONTAWESOME_AUTH_TOKEN\" >> .npmrc" - run: "echo \"//npm.pkg.github.com/:_authToken=$GITHUB_PACKAGE_TOKEN\" >> .npmrc" - run: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn - save_cache: paths: - ~/.cache/yarn key: yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }} jobs: test: parallelism: 1 resource_class: small docker: - image: circleci/node:14.0.0 steps: - checkout - yarn-install - run: yarn test deploy: parallelism: 1 resource_class: small docker: - image: circleci/node:14.0.0 steps: - checkout - yarn-install - run: yarn build - run: yarn deploy workflows: version: 2.1 test_and_deploy: jobs: - test - deploy: requires: - test filters: branches: only: - master
Fix missing nrsysmond licence key for CircleCI
machine: services: - docker dependencies: cache_directories: - "~/docker" override: - docker info - if [[ -e ~/docker/image.tar ]]; then docker load --input ~/docker/image.tar; fi - docker build -t uzyexe/newrelic . - mkdir -p ~/docker - docker save uzyexe/newrelic > ~/docker/image.tar test: override: - docker run uzyexe/newrelic /usr/sbin/nrsysmond -v deployment: hub: branch: master commands: - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker push uzyexe/newrelic
machine: services: - docker dependencies: cache_directories: - "~/docker" override: - docker info - if [[ -e ~/docker/image.tar ]]; then docker load --input ~/docker/image.tar; fi - docker build -t uzyexe/newrelic . - mkdir -p ~/docker - docker save uzyexe/newrelic > ~/docker/image.tar test: override: - docker run -e NEW_RELIC_LICENSE_KEY="$NEW_RELIC_LICENSE_KEY" uzyexe/newrelic /usr/sbin/nrsysmond -v deployment: hub: branch: master commands: - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker push uzyexe/newrelic
Create new filesystem on devices that already has filesystem.
--- - hosts: kv:index:n1ql tasks: - name: umounting data parition mount: name: /data state: unmounted src: /dev/sdb1 fstype: ext4 - name: re-creating filesystem filesystem: fstype: ext4 dev: /dev/sdb1 - name: mounting data parition mount: name: /data state: mounted src: /dev/sdb1 fstype: ext4 - name: discarding unused blocks shell: fstrim -v /data - name: ensuring ownership of "/data" directory file: path=/data owner=couchbase group=couchbase
--- - hosts: kv:index:n1ql tasks: - name: umounting data parition mount: name: /data state: unmounted src: /dev/sdb1 fstype: ext4 - name: re-creating filesystem filesystem: fstype: ext4 dev: /dev/sdb1 force: yes - name: mounting data parition mount: name: /data state: mounted src: /dev/sdb1 fstype: ext4 - name: discarding unused blocks shell: fstrim -v /data - name: ensuring ownership of "/data" directory file: path=/data owner=couchbase group=couchbase
Update Elm survey tool project
# ~/.tmuxinator/survey_tool_elm.yml name: survey_tool_elm root: ~/elm/survey_tool_elm # Runs before everything. Use it to start daemons etc. on_project_first_start: # Back end - open --background http://localhost:4000/survey_results # Front end - open --background http://localhost:3000 # Grip - open --background http://localhost:6419 # Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. # pre_window: # Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. startup_window: editor windows: - editor: vim - front_tests: root: ~/elm/survey_tool_elm/front_end panes: - elm-app test --watch - front_console: root: ~/elm/survey_tool_elm/front_end panes: - elm-app repl - front_server: root: ~/elm/survey_tool_elm/front_end panes: - elm-app start - back_tests: root: ~/elm/survey_tool_elm/back_end panes: - mix test.watch - back_server: root: ~/elm/survey_tool_elm/back_end panes: - iex -S mix - grip: grip
# ~/.tmuxinator/survey_tool_elm.yml name: survey_tool_elm root: ~/elm/survey_tool_elm # Runs before everything. Use it to start daemons etc. on_project_first_start: - asdf local elixir 1.6.4 - asdf local erlang 20.3.2 - asdf local nodejs 9.9.0 - asdf local elm 0.18.0 # Back end - open --background http://localhost:4000/survey_results # Front end - open --background http://localhost:3000 # Grip - open --background http://localhost:6419 # Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. # pre_window: # Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. startup_window: editor windows: - editor: vim - front_tests: root: ~/elm/survey_tool_elm/front_end panes: - elm-app test --watch - front_console: root: ~/elm/survey_tool_elm/front_end panes: - elm-app repl - front_server: root: ~/elm/survey_tool_elm/front_end panes: - elm-app start - back_tests: root: ~/elm/survey_tool_elm/back_end panes: - mix test.watch - back_server: root: ~/elm/survey_tool_elm/back_end panes: - iex -S mix - grip: grip
Use an image which actually exists
version: 2 jobs: build: docker: - image: python:3.5-stretch working_directory: ~/robot steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }} - v1-dependencies- - run: name: install dependencies command: | python3 -m venv venv . venv/bin/activate - run: apt-get update -y - run: apt-get install -y libcv-dev libopencv-photo-dev libopencv-contrib-dev libusb-1.0.0-dev - run: pip3 install -r requirements.txt - run: pip3 install -r script/linting/requirements.txt - run: pip3 install git+https://github.com/sourcebots/sb-vision@8ace07108ee27bf86e3a59603f40dd62f6e65101 - run: pip3 install git+https://github.com/sourcebots/robotd@9992ff6d169365ab807df1965cbc1662e350ca04 - save_cache: paths: - ./venv key: v1-dependencies-{{ checksum "requirements.txt" }} - run: name: run tests command: python3 -m unittest - run: script/linting/lint - store_artifacts: path: test-reports destination: test-reports
version: 2 jobs: build: docker: - image: python:3-stretch working_directory: ~/robot steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "requirements.txt" }} - v1-dependencies- - run: name: install dependencies command: | python3 -m venv venv . venv/bin/activate - run: apt-get update -y - run: apt-get install -y libcv-dev libopencv-photo-dev libopencv-contrib-dev libusb-1.0.0-dev - run: pip3 install -r requirements.txt - run: pip3 install -r script/linting/requirements.txt - run: pip3 install git+https://github.com/sourcebots/sb-vision@8ace07108ee27bf86e3a59603f40dd62f6e65101 - run: pip3 install git+https://github.com/sourcebots/robotd@9992ff6d169365ab807df1965cbc1662e350ca04 - save_cache: paths: - ./venv key: v1-dependencies-{{ checksum "requirements.txt" }} - run: name: run tests command: python3 -m unittest - run: script/linting/lint - store_artifacts: path: test-reports destination: test-reports
Update from Hackage at 2018-03-01T01:14:49Z
homepage: https://github.com/denisenkom/hspkcs11 changelog-type: '' hash: be2eadd66c84376a7bf822a51f117f466019a8b1826aaf51841d6e6f122ebd21 test-bench-deps: {} maintainer: denisenkom@gmail.com synopsis: ! 'Wrapper for PKCS #11 interface' changelog: '' basic-deps: bytestring: -any unix: -any base: ! '>=4.9 && <4.11' hspkcs11: -any crypto-api: -any utf8-string: -any cipher-aes: -any cprng-aes: -any RSA: -any all-versions: - '0.1' - '0.2' - '0.3' - '0.4' - '0.5' author: Mikhail Denisenko latest: '0.5' description-type: haddock description: This package allows to call PKCS#11 provider libraries. PKCS#11 is a C interface specification for cryptography providers, such as crypto tokens and HSMs license-name: MIT
homepage: https://github.com/denisenkom/hspkcs11 changelog-type: '' hash: fbf393990686600ea65c26ae17dbf5edb7df58de9d6fae5b68685dab671a6f0f test-bench-deps: bytestring: -any unix: -any base: -any base64-bytestring: -any hspkcs11: -any crypto-api: -any utf8-string: -any cipher-aes: -any cprng-aes: -any RSA: -any maintainer: denisenkom@gmail.com synopsis: ! 'Wrapper for PKCS #11 interface' changelog: '' basic-deps: bytestring: -any unix: -any base: ! '>=4.9 && <4.11' utf8-string: -any all-versions: - '0.1' - '0.2' - '0.3' - '0.4' - '0.5' - '0.6' author: Mikhail Denisenko latest: '0.6' description-type: haddock description: This package allows to call PKCS#11 provider libraries. PKCS#11 is a C interface specification for cryptography providers, such as crypto tokens and HSMs license-name: MIT
Remove stupid code coverage comment
dependencies: pre: - echo y | android update sdk --no-ui --all --filter android-23,build-tools-23.0.1 - echo y | android update sdk --no-ui --all --filter extra-google-m2repository,extra-android-m2repository test: override: # start the emulator - emulator -avd circleci-android22 -no-audio -no-window: background: true parallel: true - circle-android wait-for-boot # run tests against the emulator. - >- TERM=dumb ./gradlew connectedAndroidTest testDebug #createDebugCoverageReport -- coverage is broken at the moment assembleDebug -PpreDexLibraries=false # copy the build outputs to artifacts - cp -r app/build/outputs $CIRCLE_ARTIFACTS - cp -r app/build/reports $CIRCLE_ARTIFACTS # copy the test results to the test results directory. - cp -r app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS - cp -r app/build/test-results/* $CIRCLE_TEST_REPORTS
dependencies: pre: - echo y | android update sdk --no-ui --all --filter android-23,build-tools-23.0.1 - echo y | android update sdk --no-ui --all --filter extra-google-m2repository,extra-android-m2repository test: override: # start the emulator - emulator -avd circleci-android22 -no-audio -no-window: background: true parallel: true - circle-android wait-for-boot # run tests against the emulator. - >- TERM=dumb ./gradlew connectedAndroidTest testDebug assembleDebug -PpreDexLibraries=false # copy the build outputs to artifacts - cp -r app/build/outputs $CIRCLE_ARTIFACTS - cp -r app/build/reports $CIRCLE_ARTIFACTS # copy the test results to the test results directory. - cp -r app/build/outputs/androidTest-results/* $CIRCLE_TEST_REPORTS - cp -r app/build/test-results/* $CIRCLE_TEST_REPORTS