Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Drop node 0.11.x testing until it's more stable
language: node_js node_js: - "0.11" - "0.10" - "0.8"
language: node_js node_js: - "0.10" - "0.8"
Remove Java 12 build again.
language: java sudo: false dist: trusty before_install: - unset _JAVA_OPTIONS install: echo "The default Travis install script is being skipped!" matrix: include: # Java 9 - jdk: oraclejdk9 env: TARGET='-Pjava9' # Java 10 - env: TARGET='-Pjava10' jdk: oraclejdk10 # Java 11 - env: TARGET='-Pjava10' jdk: oraclejdk11 script: - ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin' - ./mvnw verify ${TARGET} -Dnet.bytebuddy.test.ci=true -Dnet.bytebuddy.experimental=true -pl '!byte-buddy-gradle-plugin' # Java 12 - env: TARGET='-Pjava10' jdk: oraclejdk12 script: - ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin' - ./mvnw verify ${TARGET} -Dnet.bytebuddy.test.ci=true -Dnet.bytebuddy.experimental=true -pl '!byte-buddy-gradle-plugin' script: - ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin' - ./mvnw jacoco:prepare-agent verify jacoco:report ${TARGET} -Pintegration -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
language: java sudo: false dist: trusty before_install: - unset _JAVA_OPTIONS install: echo "The default Travis install script is being skipped!" matrix: include: # Java 9 - jdk: oraclejdk9 env: TARGET='-Pjava9' # Java 10 - env: TARGET='-Pjava10' jdk: oraclejdk10 # Java 11 - env: TARGET='-Pjava10' jdk: oraclejdk11 script: - ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin' - ./mvnw verify ${TARGET} -Dnet.bytebuddy.test.ci=true -Dnet.bytebuddy.experimental=true -pl '!byte-buddy-gradle-plugin' script: - ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin' - ./mvnw jacoco:prepare-agent verify jacoco:report ${TARGET} -Pintegration -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
Use composer to load dependencies
language: php php: - "5.4" - "5.3" before_script: - git clone git://github.com/phpseclib/phpseclib.git phpseclib - mv phpseclib/phpseclib/* ./
language: php php: - "5.4" - "5.3" before_script: - composer install --prefer-source --dev
Remove node 0.6, add node 9-13 on Travis CI.
language: "node_js" node_js: - "8" - "7" - "6" - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" - "0.10" # - "0.8" - "0.6" before_install: - "npm install make-node@0.3.x -g" - "preinstall-compat" script: - "make test-cov" after_success: - "make report-cov" sudo: false
language: "node_js" node_js: - "13" - "12" - "11" - "10" - "9" - "8" - "7" - "6" - "5" - "4" - "3" # io.js - "2" # io.js - "1" # io.js - "0.12" - "0.10" # - "0.8" before_install: - "npm install make-node@0.3.x -g" - "preinstall-compat" script: - "make test-cov" after_success: - "make report-cov" sudo: false
Drop support for node v0.8 and v0.6
language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "0.8" - "0.6" - "iojs"
language: node_js node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "iojs"
Disable parallel execution on Travis CI
language: java sudo: false dist: trusty jdk: - oraclejdk8 addons: apt: packages: - oracle-java8-installer # Display Gradle version instead of letting Travis execute './gradlew assemble' by default install: - ./gradlew -version script: - ./gradlew check --parallel --scan
language: java sudo: false dist: trusty jdk: - oraclejdk8 addons: apt: packages: - oracle-java8-installer # Display Gradle version instead of letting Travis execute './gradlew assemble' by default install: - ./gradlew -version script: - ./gradlew check --scan
Add "5.22" to build on Perl 5.22
language: perl perl: - '5.10' - '5.12' - '5.14' - '5.16' - '5.18' - '5.20' before_install: - cpanm Test::UsedModules - cpanm Devel::Cover::Report::Coveralls script: - perl Build.PL - ./Build build - travis_wait 35 cover -test -report coveralls after_success: - travis_wait 35 cover -report coveralls notifications: recipients: - azumakuniyuki+travis-ci.org@gmail.com email: on_success: change on_failure: always
language: perl perl: - '5.10' - '5.12' - '5.14' - '5.16' - '5.18' - '5.20' - '5.22' before_install: - cpanm Test::UsedModules - cpanm Devel::Cover::Report::Coveralls script: - perl Build.PL - ./Build build - travis_wait 35 cover -test -report coveralls after_success: - travis_wait 35 cover -report coveralls notifications: recipients: - azumakuniyuki+travis-ci.org@gmail.com email: on_success: change on_failure: always
Remove unsupported rubies and update aliases
language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.1 - jruby-19mode - rbx-2
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - ruby-head - jruby - rbx-2
Add Python 3.6 testing to Travis, and remove 3.5-dev
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.5-dev" - "nightly" env: matrix: - IPYTHON="<5" - IPYTHON="" matrix: allow_failures: - python: "3.5-dev" - python: "nightly" install: "pip install ipython$IPYTHON pyflakes" before_install: - pip install codecov pytest-cov after_success: - codecov script: - shopt -s extglob globstar - py.test --cov=./ - pyflakes iterm2_tools/**/!(__init__).py setup.py sudo: false
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "nightly" env: matrix: - IPYTHON="<5" - IPYTHON="" matrix: allow_failures: - python: "nightly" install: "pip install ipython$IPYTHON pyflakes" before_install: - pip install codecov pytest-cov after_success: - codecov script: - shopt -s extglob globstar - py.test --cov=./ - pyflakes iterm2_tools/**/!(__init__).py setup.py sudo: false
Use Node 14 for tests
language: node_js node_js: - "12.3.0" before_script: - npm install grunt-cli
language: node_js node_js: - "14.13.0" before_script: - npm install grunt-cli
Remove deprecated sudo from Travis & use Xenial on CI
sudo: required services: - docker language: python python: 3.6 before_install: - docker-compose -v - docker -v matrix: include: - name: Test results script: tox -e py36 - name: Run flake8 on result script: tox -e flake8 - name: Run black on result script: tox -e black - name: Black template script: tox -e black-template - name: Basic Docker script: sh tests/test_docker.sh - name: Docker with Celery script: sh tests/test_docker.sh use_celery=y install: - pip install tox notifications: email: on_success: change on_failure: always
dist: xenial services: - docker language: python python: 3.6 before_install: - docker-compose -v - docker -v matrix: include: - name: Test results script: tox -e py36 - name: Run flake8 on result script: tox -e flake8 - name: Run black on result script: tox -e black - name: Black template script: tox -e black-template - name: Basic Docker script: sh tests/test_docker.sh - name: Docker with Celery script: sh tests/test_docker.sh use_celery=y install: - pip install tox notifications: email: on_success: change on_failure: always
Disable opam lint in CI build
language: c install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: - PACKAGE="vhd-tool" OCAML_VERSION=4.01 - PACKAGE="vhd-tool" OCAML_VERSION=latest
language: c install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: global: - PACKAGE=vhd-tool OPAM_LINT=false matrix: - OCAML_VERSION=4.01 - OCAML_VERSION=latest
Use the NPM on tap.
sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci install: - npm install -g npm - npm install --no-package-lock --no-save - npm install -g istanbul coveralls
sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g istanbul coveralls
Remove PHP 5.3 test configuration as the new swagger-php update has a min dependency of PHP 5.4
language: php php: - 5.3 - 5.5 install: composer install script: - vendor/bin/parallel-lint -s -e php,phpt --exclude vendor . - vendor/bin/phpunit test
language: php php: - 5.5 install: composer install script: - vendor/bin/parallel-lint -s -e php,phpt --exclude vendor . - vendor/bin/phpunit test
Update npm before installing build dependencies
language: node_js node_js: - 4 - 6 - 8 sudo: false script: "npm run test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" notifications: webhooks: urls: - https://webhooks.gitter.im/e/06b722b9c1ca92dd4d75
language: node_js node_js: - 4 - 6 - 8 sudo: false before_install: "npm install --global npm" script: "npm run test-travis" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" notifications: webhooks: urls: - https://webhooks.gitter.im/e/06b722b9c1ca92dd4d75
Test getting kcov with apt
language: rust rust: - stable - beta - nightly matrix: allow_failures: - rust: nightly before_install: - sudo apt-get update addons: apt: packages: - libcurl4-openssl-dev - libelf-dev - libdw-dev - cmake - gcc - binutils-dev after_success: | wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && tar xzf master.tar.gz && cd kcov-master && mkdir build && cd build && cmake .. && make && sudo make install && cd ../.. && rm -rf kcov-master && for file in target/debug/chat-*; do mkdir -p "target/cov/$(basename $file)"; kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done && bash <(curl -s https://codecov.io/bash) && echo "Uploaded code coverage"
language: rust rust: - stable - beta - nightly matrix: allow_failures: - rust: nightly before_install: - sudo apt-get update addons: apt: packages: - kcov after_success: | kcov --exclude-pattern=/.cargo,/usr/lib --verify target/cov target/debug/chat-* && bash <(curl -s https://codecov.io/bash) && echo "Uploaded code coverage"
Test .deb packaging with Travis
language: python sudo: false python: - 3.5 - 3.4 - 3.3 - 2.7 - 2.6 install: - travis_retry pip install -r requirements-test.txt before_script: - flake8 taiga script: nosetests --with-coverage --cover-package=taiga after_success: codecov
language: python sudo: required dist: trusty python: - 3.5 - 3.4 - 3.3 - 2.7 - 2.6 install: - travis_retry pip install -r requirements-test.txt before_script: - flake8 taiga script: nosetests --with-coverage --cover-package=taiga after_success: codecov jobs: include: - stage: package install: - sudo apt-get install -yq --no-install-suggests --no-install-recommends devscripts fakeroot equivs - mk-build-deps -i -s sudo -t 'apt-get -yq' debian/control - echo 'APT::Default-Release "trusty";' | sudo tee /etc/apt/apt.conf - echo 'deb http://archive.ubuntu.com/ubuntu xenial main' | sudo tee /etc/apt/sources.list.d/xenial.list - sudo apt-get update - sudo apt-get install -yq --no-install-suggests --no-install-recommends -t xenial python-dateutil python-requests python-six python3-dateutil python3-requests python3-six script: make deb before_script: skip after_success: skip
Add public vars for better visibility
sudo: required language: node_js services: - docker env: - DOCKER_COMPOSE_VERSION=1.11.1 before_install: - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin after_success: - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - ./ci-deployment/docker_ci.sh - ./ci-deployment/rancher_pr_deploy.sh script: - docker-compose -f docker-compose-tests.yml build travis-tests - docker-compose -f docker-compose-tests.yml run travis-tests after_script: - docker-compose -f docker-compose-tests.yml down -v
sudo: required language: node_js services: - docker env: - DOCKER_COMPOSE_VERSION=1.11.1 - DOCKER_REPO=nhsuk/profiles - DOCKER_USERNAME=nhsukautomata - RANCHER_ACCESS_KEY=655696CC96424E6D4DB0 - RANCHER_ENVIRONMENT=c2s-dev - RANCHER_TEMPLATE_NAME=c2s-profiles - RANCHER_URL=https://rancher.nhschoices.net before_install: - sudo rm /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin after_success: - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - ./ci-deployment/docker_ci.sh - ./ci-deployment/rancher_pr_deploy.sh script: - docker-compose -f docker-compose-tests.yml build travis-tests - docker-compose -f docker-compose-tests.yml run travis-tests after_script: - docker-compose -f docker-compose-tests.yml down -v
Build with Node.js 16 at Travis Ci.
sudo: false language: node_js node_js: - '12' - '14' branches: only: - master - travis-ci install: - npm install -g npm - npm install --no-package-lock --no-save - npm install -g istanbul coveralls
sudo: false language: node_js node_js: - '12' - '14' - '16' branches: only: - master - travis-ci install: - npm install -g npm - npm install --no-package-lock --no-save - npm install -g istanbul coveralls
Remove tests for Go 1.6.x
language: go go: - 1.6.x - 1.7.x - 1.8.x - 1.9.x sudo: false before_install: - go get -u github.com/golang/lint/golint - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls script: - test -z "`gofmt -l .`" - test -z "`golint ./...`" - $GOPATH/bin/goveralls -service=travis-ci - cd example && go build -o http_breaker && ./http_breaker
language: go go: - 1.7.x - 1.8.x - 1.9.x sudo: false before_install: - go get -u github.com/golang/lint/golint - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls script: - test -z "`gofmt -l .`" - test -z "`golint ./...`" - $GOPATH/bin/goveralls -service=travis-ci - cd example && go build -o http_breaker && ./http_breaker
Install numpy and scipy through condaon CI
language: python python: # We don't actually use the Travis Python, but this keeps it organized. - "2.7" - "3.6" install: - sudo apt-get update # We do this conditionally because it saves us some downloading if the # version is the same. - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda update -q conda # Useful for debugging any issues with conda - conda info -a - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION - source activate test-environment - conda install pytorch torchvision cuda80 -c soumith - python setup.py install script: - python setup.py test
language: python python: # We don't actually use the Travis Python, but this keeps it organized. - "2.7" - "3.6" install: - sudo apt-get update # We do this conditionally because it saves us some downloading if the # version is the same. - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda update -q conda # Useful for debugging any issues with conda - conda info -a - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION - source activate test-environment - conda install pytorch torchvision cuda80 numpy scipy -c soumith - python setup.py install script: - python setup.py test
Fix typo in Travis config
sudo: false language: ruby rvm: - 2.5.0 before_install: gem install bundler -v 1.16.1 language: ruby rvm: - 2.5.0 env: - DB=pgsql services: - postgresql before_script: - cp spec/dummy/config/database.travis.yml spec/dummy/config/database.yml script: - cd spec/dummy &6 RAILS_ENV=test bundle exec rake db:create db:schema:load && cd ../.. - bundle exec rspec
sudo: false language: ruby rvm: - 2.5.0 before_install: gem install bundler -v 1.16.1 language: ruby rvm: - 2.5.0 env: - DB=pgsql services: - postgresql before_script: - cp spec/dummy/config/database.travis.yml spec/dummy/config/database.yml script: - cd spec/dummy && RAILS_ENV=test bundle exec rake db:create db:schema:load && cd ../.. - bundle exec rspec
Remove initial `make distclean` step, not needed
# Travis CI integration -- https://travis-ci.org/troglobit/finit # Defaults to GNU GCC and autotools: ./configure && make && make test language: c # We don't need to install packages, use dockerized build, quicker sudo: false env: global: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # via the "travis encrypt" command using the project repo's public key - secure: "eOiuHs02lG2Uv146K9dMqucGTWUJFEhpz1oAtwe+kPrRXsXWc20hYMO+DSpMgD05vSvNeQA6p7h7LdRFQ+/g/Obj27TsOE+RKkUvRAtdwzxnKVyii9C/nmML8cFw7rIA0VS8O9mAkVYeyDxNDupBp3e9DPCibhKPvqCvioTnyy4=" addons: coverity_scan: project: name: "troglobit/finit" description: "finit | Fast & Extensible init for Linux" notification_email: troglobit@gmail.com build_command_prepend: "./configure" build_command: "make" branch_pattern: dev # Custom build script for the time being, no "make test" yet script: - make distclean - ./configure - make
# Travis CI integration -- https://travis-ci.org/troglobit/finit # Defaults to GNU GCC and autotools: ./configure && make && make test language: c # We don't need to install packages, use dockerized build, quicker sudo: false env: global: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # via the "travis encrypt" command using the project repo's public key - secure: "eOiuHs02lG2Uv146K9dMqucGTWUJFEhpz1oAtwe+kPrRXsXWc20hYMO+DSpMgD05vSvNeQA6p7h7LdRFQ+/g/Obj27TsOE+RKkUvRAtdwzxnKVyii9C/nmML8cFw7rIA0VS8O9mAkVYeyDxNDupBp3e9DPCibhKPvqCvioTnyy4=" addons: coverity_scan: project: name: "troglobit/finit" description: "finit | Fast & Extensible init for Linux" notification_email: troglobit@gmail.com build_command_prepend: "./configure" build_command: "make" branch_pattern: dev # Custom build script for the time being, no "make test" yet script: - ./configure - make
Remove the cache stuff, it seems to take a while to start runs with that
cache: apt language: c script: bash -ex .travis-ci.sh env: - OCAML_VERSION=4.01
language: c script: bash -ex .travis-ci.sh env: - OCAML_VERSION=4.01
Revert "set [dist: trusty] to force migration"
dist: trusty language: scala jdk: - oraclejdk8 scala: - 2.11.11 cache: directories: - $HOME/.ivy2 install: - docker build -t $BUILDING . after_success: - docker login --username="$DOCKER_USERNAME" --password="$DOCKER_PASSWORD" deploy: - provider: script script: docker tag $BUILDING $DOCKER_IMAGE:$TRAVIS_TAG; docker push $DOCKER_IMAGE:$TRAVIS_TAG on: tags: true - provider: script script: docker tag $BUILDING $DOCKER_IMAGE:$TRAVIS_BRANCH; docker push $DOCKER_IMAGE:$TRAVIS_BRANCH on: all_branches: true env: global: - DOCKER_IMAGE=bioguoda/effechecka - BUILDING=$DOCKER_IMAGE:$TRAVIS_COMMIT
language: scala jdk: - oraclejdk8 scala: - 2.11.11 cache: directories: - $HOME/.ivy2 install: - docker build -t $BUILDING . after_success: - docker login --username="$DOCKER_USERNAME" --password="$DOCKER_PASSWORD" deploy: - provider: script script: docker tag $BUILDING $DOCKER_IMAGE:$TRAVIS_TAG; docker push $DOCKER_IMAGE:$TRAVIS_TAG on: tags: true - provider: script script: docker tag $BUILDING $DOCKER_IMAGE:$TRAVIS_BRANCH; docker push $DOCKER_IMAGE:$TRAVIS_BRANCH on: all_branches: true env: global: - DOCKER_IMAGE=bioguoda/effechecka - BUILDING=$DOCKER_IMAGE:$TRAVIS_COMMIT
Allow failures on REE with TravisCI
# --------------------------------------------------------- # Configuration file for http://travis-ci.org/#!/karmi/tire # --------------------------------------------------------- language: ruby rvm: - 2.0.0 - 1.9.3 - 1.8.7 - ree - jruby-19mode env: - TEST_COMMAND="rake test:unit" - TEST_COMMAND="rake test:integration" script: "bundle exec $TEST_COMMAND" services: - elasticsearch - redis - mongodb matrix: exclude: - rvm: 1.8.7 env: TEST_COMMAND="rake test:integration" - rvm: ree env: TEST_COMMAND="rake test:integration" notifications: disable: true
# --------------------------------------------------------- # Configuration file for http://travis-ci.org/#!/karmi/tire # --------------------------------------------------------- language: ruby rvm: - 2.0.0 - 1.9.3 - 1.8.7 - ree - jruby-19mode env: - TEST_COMMAND="rake test:unit" - TEST_COMMAND="rake test:integration" script: "bundle exec $TEST_COMMAND" services: - elasticsearch - redis - mongodb matrix: exclude: - rvm: 1.8.7 env: TEST_COMMAND="rake test:integration" - rvm: ree env: TEST_COMMAND="rake test:integration" allow_failures: - rvm: ree notifications: disable: true
Use earlier version of rubygems to avoid bundler fatal error on 1.8.7
script: "bundle exec rspec ./spec/" language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ree - jruby
before_install: - gem update --system 2.1.11 script: "bundle exec rspec ./spec/" language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ree - jruby
Add sudo rights for CI
language: java sudo: false jdk: - oraclejdk8 script: - mvn clean install - cd email - ./gradlew clean - ./gradlew assembJar - cd build/libs - ls -la after_success: - cd ./integration-test - pwd - mvn com.gavinmogan:codacy-maven-plugin:coverage -DcoverageReportFile=target/site/jacoco/jacoco.xml -DprojectToken=$CODACY_PROJECT_TOKEN -DapiToken=$CODACY_API_TOKEN
language: java sudo: true jdk: - oraclejdk8 before_install: - chmod +x email/gradlew script: - mvn clean install - cd email - ./gradlew clean - ./gradlew assembJar - cd build/libs - ls -la after_success: - cd ./integration-test - pwd - mvn com.gavinmogan:codacy-maven-plugin:coverage -DcoverageReportFile=target/site/jacoco/jacoco.xml -DprojectToken=$CODACY_PROJECT_TOKEN -DapiToken=$CODACY_API_TOKEN
Add pre-test phase to pull down new articles to be checked/validated.
language: ruby sudo: false rvm: - 2.1 script: - bundle exec jekyll build --trace --config _config.yml,_config_public.yml - bundle exec htmlproof ./_posts --only-4xx --check-favicon --check-html env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
language: ruby sudo: false rvm: - 2.1 script: - bundle exec planet generate - bundle exec jekyll build --trace --config _config.yml,_config_public.yml - bundle exec htmlproof ./_posts --only-4xx --check-favicon --check-html env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
Update tests to add go 1.6 and 1.7
language: go go: - 1.2 - 1.3 - 1.4 - 1.5 - tip addons: apt: packages: - php5-fpm
language: go go: - 1.2 - 1.3 - 1.4 - 1.5 - 1.6 - 1.7 - tip addons: apt: packages: - php5-fpm
Update Ruby stable versions on Travis CI 2.1.8 to 2.1.x 2.2.4 to 2.2.x 2.3.0 to 2.3.x kept 2.0.0, but soon need to remove it (EOL soon) removed 1.9
language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.2" - "2.3.0"
language: ruby rvm: - "2.0.0" - "2.1.8" - "2.2.4" - "2.3.0"
Remove jruby from the required list
rvm: 2.1.3 gemfile: Gemfile script: bundle exec rake spec matrix: include: - rvm: jruby-19mode - rvm: 2.0.0 - rvm: 1.9.3
rvm: 2.1.3 gemfile: Gemfile script: bundle exec rake spec matrix: include: - rvm: jruby-19mode - rvm: 2.0.0 - rvm: 1.9.3 allow_failures: - rvm: jruby-19mode
Remove 1.8.7 from Travis testing
language: ruby rvm: - 1.9.3 - 1.9.2 - 1.8.7
language: ruby rvm: - 1.9.3 - 1.9.2
Add docs being pushed to rust-ci.org
language: rust sudo: false
language: rust sudo: false env: global: - secure: XE8/HJkcnRHyb6qxVcdWsztCMgvuGwtVpLhfvtv0lefq+BgdHCYvEWEalyxM5OPvex/oGsSwVXIPX1bs0F54DTV/vLb3F317yX01p3fzB4DhzC/p9RTTgwQyOIVW1oU/qbsc6szlyzKDZ75JICqhIthhDnKdiTOkGMmGM6+gJDc= script: - cargo build --release --verbose - cargo test --verbose - cargo doc --verbose after_script: - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
Increase gometalinter deadline (5s -> 1m)
language: go go: - 1.5 # - release (it's 1.4 for now, and cross-compiling doesn't work too well) - tip install: - go get github.com/alecthomas/gometalinter - gometalinter --install --update - go get github.com/axw/gocov/gocov - go get golang.org/x/tools/cmd/cover - go get github.com/mattn/goveralls script: - go get -v ./... - gometalinter ./... - goveralls -v -service=travis-ci ./... branches: only: - master
language: go go: - 1.5 # - release (it's 1.4 for now, and cross-compiling doesn't work too well) - tip install: - go get github.com/alecthomas/gometalinter - gometalinter --install --update - go get github.com/axw/gocov/gocov - go get golang.org/x/tools/cmd/cover - go get github.com/mattn/goveralls script: - go get -v ./... - gometalinter --deadline 1m ./... - goveralls -v -service=travis-ci ./... branches: only: - master
Update Travis for OS X
notifications: email: on_success: never on_failure: change script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh' git: depth: 10 sudo: false os: - linux - osx language: node_js node_js: "5" install: - npm install - npm run compile env: matrix: - ATOM_CHANNEL=stable - ATOM_CHANNEL=beta addons: apt: packages: - build-essential - git - libgnome-keyring-dev - fakeroot branches: only: - master
# Project specific config matrix: include: - os: linux language: node_js node_js: "5" - os: linux language: node_js node_js: "5" env: ATOM_CHANNEL=beta - os: osx language: generic before_install: - brew update - brew outdated node || brew upgrade node - os: osx language: generic before_install: - brew update - brew outdated node || brew upgrade node env: ATOM_CHANNEL=beta install: - npm install - npm run compile script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh' # Generic setup follows notifications: email: on_success: never on_failure: change git: depth: 10 sudo: false addons: apt: packages: - build-essential - git - libgnome-keyring-dev - fakeroot branches: only: - master
Test requires tox to be installed.
language: python python: - "2.7" install: "pip install -r pytx/requirements.txt" env: - TEST_DIR=pytx script: cd $TEST_DIR && make test
language: python python: - "2.7" install: "pip install -r pytx/requirements.txt" env: - TEST_DIR=pytx before_install: - pip install tox script: cd $TEST_DIR && make test
Add PHP 7.0 and nightly to Travis-CI config
language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer self-update - composer install --no-interaction --prefer-source --dev script: make test
sudo: false language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm - nightly matrix: fast_finish: true allow_failures: - php: hhvm - php: nightly before_script: - composer self-update - composer install --no-interaction --prefer-source --dev script: make test
Change CI build configuration to Release
language: csharp before_install: - mono --version - mkdir -p .nuget - wget -O .nuget/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - mono .nuget/nuget.exe | head -1 # Output NuGet's version number install: - mono .nuget/nuget.exe restore MsTestToXunitConverter.sln -Verbosity detailed - mono .nuget/nuget.exe install xunit.runner.console -Version 2.2.0 -OutputDirectory ./testrunner script: - xbuild /p:Configuration=TravisCI MsTestToXunitConverter.sln - mono ./testrunner/xunit.runner.console.2.2.0/tools/xunit.console.x86.exe ./MsTestToXunitConverter.xUnit\bin\Release\MsTestToXunitConverter.xUnit.dll
language: csharp before_install: - mono --version - mkdir -p .nuget - wget -O .nuget/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - mono .nuget/nuget.exe | head -1 # Output NuGet's version number install: - mono .nuget/nuget.exe restore MsTestToXunitConverter.sln -Verbosity detailed - mono .nuget/nuget.exe install xunit.runner.console -Version 2.2.0 -OutputDirectory ./testrunner script: - xbuild /p:Configuration=Release MsTestToXunitConverter.sln - mono ./testrunner/xunit.runner.console.2.2.0/tools/xunit.console.x86.exe ./MsTestToXunitConverter.xUnit\bin\Release\MsTestToXunitConverter.xUnit.dll
Remove windows box from tests
--- driver: name: vagrant provisioner: name: chef_zero_scheduled_task platforms: - name: centos-6.7 provisioner: require_chef_omnibus: true chef_omnibus_url: 'http://repo-par.criteo.prod/omnibus_install.sh' driver_config: box: opscode-centos-6.7 box_url: http://filer.criteo.prod/boxes/opscode_centos-6.7.box - name: windows-2012r2 driver_config: # Enable provision for custom omnibus communicator: winrm customize: vrde: 'on' vrdeport: '5000-5100' vrdeauthtype: 'null' box: windows-2012r2-standard-chef-12_4_1 box_url: http://filer.criteo.prod/boxes/windows-2012r2-standard-chef-12_4_1.box suites: - name: default run_list: - recipe[test]
--- driver: name: vagrant provisioner: name: chef_zero_scheduled_task platforms: - name: centos-6.7 provisioner: require_chef_omnibus: true chef_omnibus_url: 'http://repo-par.criteo.prod/omnibus_install.sh' driver_config: box: opscode-centos-6.7 box_url: http://filer.criteo.prod/boxes/opscode_centos-6.7.box suites: - name: default run_list: - recipe[test]
Update platforms in Test Kitchen
--- driver: name: vagrant customize: cpus: 2 memory: 2048 provisioner: name: chef_zero require_chef_omnibus: "12.1.2" platforms: - name: ubuntu-12.04 - name: ubuntu-14.04 - name: ubuntu-15.04 - name: centos-5.11 - name: centos-6.7 - name: centos-7.2 - name: freebsd-9.3 - name: freebsd-10.2 - name: fedora-21 - name: fedora-22 - name: fedora-23 - name: debian-8.2 - name: debian-7.9 - name: debian-6.0.10 - name: opensuse-13.2 - name: windows-2008r2 driver_config: box: chef/windows-server-2008r2-standard - name: windows-2012r2 driver_config: box: chef/windows-server-2012r2-standard suites: # this tests basic functionality - name: default run_list: - recipe[unit::default] attributes: # this tests that we can run inside an LWRP - name: lwrp run_list: - recipe[unit::lwrp] attributes: # this tests that we can run inside a resource - name: resource run_list: - recipe[unit::resource] attributes:
--- driver: name: vagrant customize: cpus: 2 memory: 2048 provisioner: name: chef_zero require_chef_omnibus: "12.1.2" platforms: - name: ubuntu-12.04 - name: ubuntu-14.04 - name: ubuntu-16.04 - name: centos-5.11 - name: centos-6.7 - name: centos-7.2 - name: freebsd-9.3 - name: freebsd-10.2 - name: fedora-21 - name: fedora-22 - name: fedora-23 - name: debian-8.4 - name: debian-7.10 - name: debian-6.0.10 - name: opensuse-13.2 - name: windows-2008r2 driver_config: box: chef/windows-server-2008r2-standard - name: windows-2012r2 driver_config: box: chef/windows-server-2012r2-standard suites: # this tests basic functionality - name: default run_list: - recipe[unit::default] attributes: # this tests that we can run inside an LWRP - name: lwrp run_list: - recipe[unit::lwrp] attributes: # this tests that we can run inside a resource - name: resource run_list: - recipe[unit::resource] attributes:
Set DB connection to UTF-8
development: adapter: mysql2 database: transition_development username: transition password: transition local_infile: true # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: &test adapter: mysql2 database: transition_test<%= ENV['TEST_ENV_NUMBER'] %> username: transition password: transition local_infile: true production: adapter: mysql2 database: transition_production local_infile: true cucumber: <<: *test
development: adapter: mysql2 database: transition_development username: transition password: transition encoding: utf8 local_infile: true # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: &test adapter: mysql2 database: transition_test<%= ENV['TEST_ENV_NUMBER'] %> username: transition password: transition encoding: utf8 local_infile: true production: adapter: mysql2 database: transition_production encoding: utf8 local_infile: true cucumber: <<: *test
Test if we can act on tag.
name: Upload Python package on: push: tags: - 1* - v* jobs: deploy: runs-on: ubuntu-latest if: github.repository == 'mnubo/kubernetes-py' steps: - uses: actions/checkout@v2 - run: | git fetch --prune --unshallow - name: Set up Python uses: actions/setup-python@v1 with: python-version: '3.8' - name: Install dependencies run: | python -m pip install --upgrade pip pip install pipenv==2018.11.26 pipenv install --dev --system - name: Build and publish if: github.repository == 'mnubo/kubernetes-py' env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.pypi_password }} run: | python setup.py sdist bdist_wheel twine upload dist/*
name: Upload Python package on: push: tags: - '1*' - 'v*' jobs: deploy: runs-on: ubuntu-latest if: github.repository == 'mnubo/kubernetes-py' steps: - uses: actions/checkout@v2 - run: | git fetch --prune --unshallow - name: Set up Python uses: actions/setup-python@v1 with: python-version: '3.8' - name: Install dependencies run: | python -m pip install --upgrade pip pip install pipenv==2018.11.26 pipenv install --dev --system - name: Build and publish if: github.repository == 'mnubo/kubernetes-py' env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.pypi_password }} run: | python setup.py sdist bdist_wheel twine upload dist/*
Fix Java 8 version in GitHub Action
# This workflow will build a Java project with Gradle # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle name: Java 8 on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v2 with: java-version: '1.8' distribution: 'adopt' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle run: ./gradlew build
# This workflow will build a Java project with Gradle # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle name: Java 8 on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v2 with: java-version: '8' distribution: 'adopt' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle run: ./gradlew build
Switch to redcarpet Markdown parser
# Variables set by GitHub safe: true lsi: false pygments: true source: . # Use nice sensible URLs like: # # /nice/sensible/url # # Not: # # /15/05/12/nasty/url # permalink: /posts/:title
# Variables set by GitHub safe: true lsi: false pygments: true source: . markdown: redcarpet # Use nice sensible URLs like: # # /nice/sensible/url # # Not: # # /15/05/12/nasty/url # permalink: /posts/:title
Change highlighter to avoid warnings
--- port: 4000 host: 0.0.0.0 safe: false ### site serving configuration ### exclude: [CNAME, README.md, .gitignore] permalink: / ## disables post output timezone: null lsi: false markdown: kramdown highlighter: pygments ### content configuration ### title: "ASROB" keywords: "asrob, robots, uavs, myod, robot devastation, robotics" description: "Sitio web de la Asociación de Robótica UC3M (ASROB)" source_link: "/" favicon: "img/favicon.ico" touch_icon: "img/apple-touch-icon.png" google_analytics_key: permalink : /:year ### template colors, used site-wide via css ### colors: black: '#454545' #111111 white: '#f8f8f8' blue: '#49a7e9' green: '#9bcf2f' purple: '#c869bf' orange: '#fab125' turquoise: '#0fbfcf' asrob1: '#f8f8f8' asrob2: '#c869bf' red: '#891717' gray: '#cccccc' kramdown: auto_ids: false
--- port: 4000 host: 0.0.0.0 safe: false ### site serving configuration ### exclude: [CNAME, README.md, .gitignore] permalink: / ## disables post output timezone: null lsi: false markdown: kramdown highlighter: rouge ### content configuration ### title: "ASROB" keywords: "asrob, robots, uavs, myod, robot devastation, robotics" description: "Sitio web de la Asociación de Robótica UC3M (ASROB)" source_link: "/" favicon: "img/favicon.ico" touch_icon: "img/apple-touch-icon.png" google_analytics_key: permalink : /:year ### template colors, used site-wide via css ### colors: black: '#454545' #111111 white: '#f8f8f8' blue: '#49a7e9' green: '#9bcf2f' purple: '#c869bf' orange: '#fab125' turquoise: '#0fbfcf' asrob1: '#f8f8f8' asrob2: '#c869bf' red: '#891717' gray: '#cccccc' kramdown: auto_ids: false
Update from Hackage at 2019-05-13T13:02:47Z
homepage: '' changelog-type: '' hash: a0b338af8975f35e83cf94fb209b17c62b1a44a0f9f484f3b72cf15d01ea08d5 test-bench-deps: test-framework-hunit: -any test-framework: -any base: ! '>3 && <5' process: -any HUnit: -any itanium-abi: -any maintainer: tristan@nochair.net synopsis: An implementation of name mangling/demangling for the Itanium ABI changelog: '' basic-deps: base: ! '>=4 && <5' unordered-containers: ! '>=0.2.3.0 && <0.3' text: ! '>=0.11 && <2' boomerang: ! '>=1.4 && <1.5' transformers: -any all-versions: - 0.1.0.0 - 0.1.1.0 author: Tristan Ravitch latest: 0.1.1.0 description-type: haddock description: ! 'Currently supports everything in the standard but templates and C++11. Support for these will be added. Includes a name mangler, demangler, and pretty printer.' license-name: BSD-3-Clause
homepage: '' changelog-type: '' hash: 1d727fa88ecafc13ba4ec2b6a752182ce70333fbde9726aec1393151d14de6df test-bench-deps: test-framework-hunit: -any test-framework: -any base: ! '>3 && <5' process: -any HUnit: -any itanium-abi: -any maintainer: tristan@nochair.net synopsis: An implementation of name mangling/demangling for the Itanium ABI changelog: '' basic-deps: base: ! '>=4 && <5' unordered-containers: ! '>=0.2.3.0 && <0.3' text: ! '>=0.11 && <2' boomerang: ! '>=1.4.5.6 && <1.5' transformers: -any all-versions: - 0.1.0.0 - 0.1.1.0 - 0.1.1.1 author: Tristan Ravitch latest: 0.1.1.1 description-type: haddock description: |- Currently supports everything in the standard but templates and C++11. Support for these will be added. Includes a name mangler, demangler, and pretty printer. license-name: BSD-3-Clause
Update from Hackage at 2017-04-20T04:32:43Z
homepage: http://github.com/bgamari/pandoc-lens changelog-type: '' hash: fa64727b249f04f4b12c202b53a78816213f3346e6482aac422f6279124708cd test-bench-deps: {} maintainer: bgamari.foss@gmail.com synopsis: Lenses for Pandoc documents changelog: '' basic-deps: base: ! '>=4.7 && <4.10' pandoc-types: ! '>=1.16 && <1.17' containers: ! '>=0.5 && <0.6' lens: ! '>=4.2 && <4.15' all-versions: - '0.1.0.0' - '0.2.0' - '0.2.1' - '0.3' - '0.3.1' - '0.3.2' - '0.3.3' - '0.4.0' - '0.4.1' - '0.5' - '0.6' author: Ben Gamari latest: '0.6' description-type: haddock description: Lenses for Pandoc documents license-name: BSD3
homepage: http://github.com/bgamari/pandoc-lens changelog-type: '' hash: 3113aba744f96a292633e9e30a9dd42a62f9b54418d50d2eb17d577c3334c23a test-bench-deps: {} maintainer: bgamari.foss@gmail.com synopsis: Lenses for Pandoc documents changelog: '' basic-deps: base: ! '>=4.7 && <4.10' pandoc-types: ! '>=1.16 && <1.18' containers: ! '>=0.5 && <0.6' lens: ! '>=4.2 && <4.16' all-versions: - '0.1.0.0' - '0.2.0' - '0.2.1' - '0.3' - '0.3.1' - '0.3.2' - '0.3.3' - '0.4.0' - '0.4.1' - '0.5' - '0.6' - '0.6.1' - '0.6.2' author: Ben Gamari latest: '0.6.2' description-type: haddock description: Lenses for Pandoc documents license-name: BSD3
Make sure composer is up to date
name: "Continuous Integration" on: [push] jobs: build: runs-on: ${{ matrix.operating-system }} strategy: max-parallel: 3 matrix: operating-system: [ubuntu-latest] php-versions: ['7.2', '7.3', '7.4'] steps: - uses: actions/checkout@master - name: Install PHP uses: shivammathur/setup-php@master with: php-version: ${{ matrix.php-versions }} extensions: mbstring, xdebug - name: Validate composer.json and composer.lock run: composer validate - name: Install dependencies run: composer install --prefer-dist --no-progress --no-suggest - name: Install tooling run: tools/phive --no-progress --home ./.phive install --trust-gpg-keys 4AA394086372C20A,31C7E470E2138192,8E730BA25823D8B5,CF1A108D0E7AE720 --force-accept-unsigned - name: Execute unit tests run: tools/phpunit - name: Check coding style run: tools/phpcs --standard=psr12 src tests - name: Static code analysis run: tools/phpstan analyse
name: "Continuous Integration" on: [push] jobs: build: runs-on: ${{ matrix.operating-system }} strategy: max-parallel: 3 matrix: operating-system: [ubuntu-latest] php-versions: ['7.2', '7.3', '7.4'] steps: - uses: actions/checkout@master - name: Install PHP uses: shivammathur/setup-php@master with: php-version: ${{ matrix.php-versions }} extensions: mbstring, xdebug - name: Update composer run: composer self-update - name: Validate composer.json and composer.lock run: composer validate - name: Install dependencies run: composer install --prefer-dist --no-progress --no-suggest - name: Install tooling run: tools/phive --no-progress --home ./.phive install --trust-gpg-keys 4AA394086372C20A,31C7E470E2138192,8E730BA25823D8B5,CF1A108D0E7AE720 --force-accept-unsigned - name: Execute unit tests run: tools/phpunit - name: Check coding style run: tools/phpcs --standard=psr12 src tests - name: Static code analysis run: tools/phpstan analyse
Adjust policies to Flow 3.0
resources: methods: MOC_Varnish_Backend_Module_Varnish_ClearCache: 'method(MOC\Varnish\Controller\VarnishCacheController->.*Action())' acls: 'TYPO3.Neos:Administrator': methods: MOC_Varnish_Backend_Module_Varnish_ClearCache: GRANT
privilegeTargets: 'TYPO3\Flow\Security\Authorization\Privilege\Method\MethodPrivilege': 'MOC.Varnish:BackendModuleClearCache': matcher: 'within(MOC\Varnish\Controller\VarnishCacheController) && method(public .*->(?!initialize).*Action())' roles: 'TYPO3.Flow:Everybody': privileges: - privilegeTarget: 'MOC.Varnish:BackendModuleClearCache' permission: GRANT
Join readmeta and lint into the same task/job
before_script: - apt-get update -qy - apt-get install -y python python-requests python-magic - test -d fdroidserver && rm -rf fdroidserver - git clone https://gitlab.com/fdroid/fdroidserver.git fdroidserver --depth=10 - export PATH="$PATH:$PWD/fdroidserver" - touch config.py metadata_check: script: - fdroid readmeta metadata_lint: script: - fdroid lint
before_script: - apt-get update -qy - apt-get install -y python python-requests python-magic - test -d fdroidserver && rm -rf fdroidserver - git clone https://gitlab.com/fdroid/fdroidserver.git fdroidserver --depth=10 - export PATH="$PATH:$PWD/fdroidserver" - touch config.py metadata_check: script: - fdroid readmeta - fdroid lint
Use prepare stage to install gem bundle
# -*- mode: yaml; -*- # vim:set shiftwidth=2 syntax=yaml: image: ruby:2.4 stages: - prepare - build - test - deployment cache: key: "$CI_PROJECT_PATH" paths: - .bundle/ - doc/ - vendor/ variables: BUNDLE_APP_CONFIG: .bundle before_script: - gem update did_you_mean - bundle install --deployment --jobs $(nproc --ignore=1) rake-test: stage: test script: - bundle exec rake test
# -*- mode: yaml; -*- # vim:set shiftwidth=2 syntax=yaml: image: ruby:2.4 stages: - prepare - build - test - deployment cache: key: "$CI_PROJECT_PATH" paths: - .bundle/ - doc/ - vendor/ variables: BUNDLE_APP_CONFIG: .bundle prepare: stage: prepare script: - gem update did_you_mean - gem update bundler - bundle install --deployment --jobs $(nproc --ignore=1) rake-test: stage: test script: - bundle exec rake test
Clear existing temp directory immediately before recreating it.
--- - name: Write environment configuration file template: src=env.ini.j2 dest="{{ www_base }}/env.ini" owner=azuracast group=www-data mode=0644 force=no - name: Set up environment file ini_file: dest: "{{ www_base }}/env.ini" section: "configuration" option: "application_env" value: "{{ app_env }}" - name: Set Permissions on Base App Folder file: path="{{ item }}" state=directory owner=azuracast group=www-data with_items: - "{{ app_base }}" - name: Create System Folders file: path="{{ item }}" state=directory owner=azuracast group=www-data mode=0774 with_items: - "{{ tmp_base }}" - "{{ tmp_base }}/proxies" - "{{ app_base }}/stations" - "{{ app_base }}/geoip" - "{{ app_base }}/backups" - "{{ app_base }}/servers" - "{{ app_base }}/servers/shoutcast2" - "{{ app_base }}/servers/icecast2"
--- - name: Write environment configuration file template: src=env.ini.j2 dest="{{ www_base }}/env.ini" owner=azuracast group=www-data mode=0644 force=no - name: Set up environment file ini_file: dest: "{{ www_base }}/env.ini" section: "configuration" option: "application_env" value: "{{ app_env }}" - name: Set Permissions on Base App Folder file: path="{{ item }}" state=directory owner=azuracast group=www-data with_items: - "{{ app_base }}" - name: Clear temp directory file: path="{{ tmp_base }}" state=absent - name: Create System Folders file: path="{{ item }}" state=directory owner=azuracast group=www-data mode=0774 with_items: - "{{ tmp_base }}" - "{{ tmp_base }}/proxies" - "{{ app_base }}/stations" - "{{ app_base }}/geoip" - "{{ app_base }}/backups" - "{{ app_base }}/servers" - "{{ app_base }}/servers/shoutcast2" - "{{ app_base }}/servers/icecast2"
Use docker/setup-buildx-action@v1 for multi-platform builds
--- name: CrateDB Docker images test on: [push] jobs: multi-arch-build: runs-on: ubuntu-latest strategy: matrix: arch: [linux/amd64, linux/arm64] steps: - uses: actions/checkout@v2 - name: Set up Python 3.7 uses: actions/setup-python@v1 with: python-version: 3.7 - name: Set up Docker Buildx id: buildx uses: crazy-max/ghaction-docker-buildx@v3 with: buildx-version: latest qemu-version: latest - name: Update CrateDB docker image version run: | python -m pip install --upgrade pip --quiet pip install -r requirements.txt --quiet VERSION=$(curl -s https://crate.io/versions.json | grep crate_testing | tr -d '" ' | cut -d ":" -f2) ./update.py --cratedb-version ${VERSION} > Dockerfile - name: Build CrateDB docker image run: | docker buildx build \ --platform ${{ matrix.arch }} \ --load \ --file ./Dockerfile . \ --tag crate/crate:$(echo ${{ matrix.arch }} | cut -d "/" -f2) - name: Run Docker official images tests run: | git clone https://github.com/docker-library/official-images.git ~/official-images ~/official-images/test/run.sh crate/crate:$(echo ${{ matrix.arch }} | cut -d "/" -f2)
--- name: CrateDB Docker images test on: [push] jobs: multi-arch-build: runs-on: ubuntu-latest strategy: matrix: arch: [linux/amd64, linux/arm64] steps: - uses: actions/checkout@v2 - name: Set up Python 3.7 uses: actions/setup-python@v1 with: python-version: 3.7 - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v1 - name: Update CrateDB docker image version run: | python -m pip install --upgrade pip --quiet pip install -r requirements.txt --quiet VERSION=$(curl -s https://crate.io/versions.json | grep crate_testing | tr -d '" ' | cut -d ":" -f2) ./update.py --cratedb-version ${VERSION} > Dockerfile - name: Build CrateDB docker image run: | docker buildx build \ --platform ${{ matrix.arch }} \ --load \ --file ./Dockerfile . \ --tag crate/crate:ci_test - name: Run Docker official images tests run: | git clone https://github.com/docker-library/official-images.git ~/official-images ~/official-images/test/run.sh crate/crate:ci_test
Update Ruby setup in GitHub actions
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: Ruby on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning): # uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0 with: ruby-version: 2.6 - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rspec
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: Ruby on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning): uses: ruby/setup-ruby@v1.1.2 #uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0 with: ruby-version: 2.6 - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rspec
Use latest node 0.10 release
# http://www.appveyor.com/docs/appveyor-yml # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf true # Test against these versions of Node.js. environment: matrix: - nodejs_version: "0.10" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node 0.STABLE.latest - ps: Install-Product node 0.10.30 x86 # Install PhantomJS - cinst PhantomJS - set path=%path%;C:\tools\PhantomJS\ - dir C:\tools\PhantomJS # Typical npm stuff. - md C:\nc - npm install -g npm@^2 - npm config set cache C:\nc - npm version - npm install # Post-install test scripts. test_script: # Output useful info for debugging. - npm version - npm run build - cmd: npm run test - cmd: npm run test:beta - cmd: npm run test:canary # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}"
# http://www.appveyor.com/docs/appveyor-yml # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf true # Test against these versions of Node.js. environment: matrix: - nodejs_version: "0.10" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node 0.STABLE.latest - ps: Install-Product node $env:nodejs_version # Install PhantomJS - cinst PhantomJS - set path=%path%;C:\tools\PhantomJS\ - dir C:\tools\PhantomJS # Typical npm stuff. - md C:\nc - npm install -g npm@^2 # Workaround https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows - set PATH=%APPDATA%\npm;%PATH% - npm config set cache C:\nc - npm version - npm install # Post-install test scripts. test_script: # Output useful info for debugging. - npm version - npm run build - cmd: npm run test - cmd: npm run test:beta - cmd: npm run test:canary # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}"
Build and test release configuration
image: Visual Studio 2017 version: 1.0.{build} environment: NoPortable: True install: - choco install gitversion.portable -pre -y before_build: - dotnet restore src/core/core.sln build_script: - gitversion /l console /output buildserver /updateassemblyinfo - dotnet build -c $(CONFIGURATION) src/core/core.sln test_script: - dotnet test -C $(CONFIGURATION) src/core/BrightstarDB.InternalTests - dotnet test -C $(CONFIGURATION) src/core/BrightstarDB.CodeGeneration.Tests - dotnet test -C $(CONFIGURATION) src/core/BrightstarDB.EntityFramework.Tests - dotnet test -C $(CONFIGURATION) src/core/BrightstarDB.Tests
image: Visual Studio 2017 version: 1.0.{build} environment: NoPortable: True install: - choco install gitversion.portable -pre -y before_build: - dotnet restore src/core/core.sln build_script: - gitversion /l console /output buildserver /updateassemblyinfo - dotnet build -c Release src/core/core.sln test_script: - dotnet test -c Release src/core/BrightstarDB.InternalTests - dotnet test -c Release src/core/BrightstarDB.CodeGeneration.Tests - dotnet test -c Release src/core/BrightstarDB.EntityFramework.Tests - dotnet test -c Release src/core/BrightstarDB.Tests
Update packages and use loop for enabling services
--- - name: Ensure tlp and dependencies are installed pacman: state: latest name: "{{ packages }}" vars: packages: - 'tlp' - 'tlp-rdw' - 'ethtool' - 'x86_energy_perf_policy' - name: Ensure tlp is configured copy: dest: /etc/default/tlp src: etc/default/tlp mode: 0644 owner: root group: root tags: - powersave - name: Ensure tlp and needed services are started and enabled systemd: name: "{{ services }}" enabled: yes state: started vars: services: - tlp - tlp-sleep - NetworkManager-dispatcher
--- - name: Ensure tlp and dependencies are installed pacman: state: latest name: "{{ packages }}" vars: packages: - 'tlp' - 'tlp-rdw' - 'ethtool' - 'x86_energy_perf_policy' - name: Ensure tlp is configured copy: dest: /etc/default/tlp src: etc/default/tlp mode: 0644 owner: root group: root tags: - powersave - name: Ensure tlp and needed services are started and enabled systemd: name: "{{ item }}" enabled: yes state: started loop: - tlp - NetworkManager-dispatcher tags: - powersave
Update from Hackage at 2017-11-10T15:40:21Z
homepage: https://github.com/MarcusVoelker/LParse#readme changelog-type: markdown hash: dc9ef4ef2bffd74c5c0178c174f2e55e3406ac6d3a0baf5850ddd8a5939e3726 test-bench-deps: base: -any maintainer: marcus.voelker@rwth-aachen.de synopsis: A continuation-based parser library changelog: ! "# Changelog\r\n\r\n## 0.1.2.0\r\n\r\nAdding `peek` function" basic-deps: base: ! '>=4.7 && <5' all-versions: - '0.1.1.1' - '0.1.2.0' author: Marcus Völker latest: '0.1.2.0' description-type: markdown description: ! '# λParse ![Travis-CI](https://travis-ci.org/MarcusVoelker/LParse.svg?branch=master) ' license-name: MIT
homepage: https://github.com/MarcusVoelker/LParse#readme changelog-type: markdown hash: 2f498bb3d7e86fcdf0ee9cbf3d7365d16bdd9df823ef9e6d9553e0c8893a7914 test-bench-deps: base: -any LParse: -any maintainer: marcus.voelker@rwth-aachen.de synopsis: A continuation-based parser library changelog: ! "# Changelog\r\n\r\n## 0.1.3.0\r\n\r\n* Added `check` function\r\n* Improved testing facilities\r\n\r\n## 0.1.2.0\r\n\r\n* Added `peek` function" basic-deps: base: ! '>=4.7 && <5' all-versions: - '0.1.1.1' - '0.1.2.0' - '0.1.3.0' - '0.1.3.1' author: Marcus Völker latest: '0.1.3.1' description-type: markdown description: ! '# λParse ![Travis-CI](https://travis-ci.org/MarcusVoelker/LParse.svg?branch=master) A parser library using monads and arrows. [Get it on hackage!](https://hackage.haskell.org/package/LParse) ' license-name: MIT
Add example/ to list of excluded paths.
--- engines: duplication: enabled: true config: languages: - javascript eslint: enabled: true fixme: enabled: true ratings: paths: - scripts/ - src/ exclude_paths: - dist/ - spec/
--- engines: duplication: enabled: true config: languages: - javascript eslint: enabled: true fixme: enabled: true ratings: paths: - scripts/ - src/ exclude_paths: - dist/ - example/ - spec/
Enforce repo yaml privacy key.
digital-service: BTA
digital-service: BTA repoVisibility: public_0C3F0CE3E6E6448FAD341E7BFA50FCD333E06A20CFF05FCACE61154DDBBADF71
Move to image with python 3.7 preinstalled (is it dev versin as well?)
version: 2 jobs: build: docker: - image: "circleci/buildpack-deps:bionic" steps: - checkout - run: name: Install Python3 command: | sudo apt-get update && sudo apt-get install -y python3-dev python3-pip sudo ln -sf `find /usr -name libpy\*` /usr/lib/. - run: name: Installing GCC command: | sudo apt-get update sudo apt-get --yes install g++-7 - run: name: Install CMAKE command: 'sudo apt-get update && sudo apt-get install -y cmake' - run: name: Install clang tools command: | sudo apt-get update && sudo apt-get install -y clang-tools-5.0 sudo ln -sf /usr/bin/clang-check-5.0 /usr/bin/clang-check - run: name: Install gtest command: 'sudo apt-get update && sudo apt-get install -y libgtest-dev' - run: name: Install pytest command: 'sudo pip3 install pytest ply dataclasses' - run: name: Creating Build Files command: 'cmake -H. -Bbuild' - run: name: Creating Binary Files command: 'cmake --build build -- -j 4' - run: name: Point Unit Testing command: | ./build/test/cpp/runAllPyllarsTest - run: name: Python tests command: | PYTHONPATH=./src/python/ pytest -s ./test/python/test_basics.py
version: 2 jobs: build: docker: - image: "circleci/python:3.7.3" steps: - checkout - run: name: Installing GCC command: | sudo apt-get update sudo apt-get --yes install g++-7 - run: name: Install CMAKE command: 'sudo apt-get update && sudo apt-get install -y cmake' - run: name: Install clang tools command: | sudo apt-get update && sudo apt-get install -y clang-tools-5.0 sudo ln -sf /usr/bin/clang-check-5.0 /usr/bin/clang-check - run: name: Install gtest command: 'sudo apt-get update && sudo apt-get install -y libgtest-dev' - run: name: Install pytest command: 'sudo pip3 install pytest ply dataclasses' - run: name: Creating Build Files command: 'cmake -H. -Bbuild' - run: name: Creating Binary Files command: 'cmake --build build -- -j 4' - run: name: Point Unit Testing command: | ./build/test/cpp/runAllPyllarsTest - run: name: Python tests command: | PYTHONPATH=./src/python/ pytest -s ./test/python/test_basics.py
Update docker image to include zlib support in HDF5
version: 2 jobs: hdf5-18: docker: - image: astrofrog/hyperion-ci-hdf5-18:1.4 steps: - checkout - run: name: Initialize submodule command: | git submodule init git submodule update - run: name: Compiling Fortran code command: | HYPERION_HDF5_VERSION=18 ./configure make make install - run: name: Installing Numpy command: pip install numpy - run: name: Installing Python package command: pip install .[test] - run: name: Run full test suite (including bit-level tests) command: python setup.py test --enable-bit-level-tests hdf5-110: docker: - image: astrofrog/hyperion-ci-hdf5-110:1.5 steps: - checkout - run: name: Initialize submodule command: | git submodule init git submodule update - run: name: Compiling Fortran code command: | ./configure make make install - run: name: Installing Numpy command: pip3 install numpy - run: name: Installing Python package command: pip3 install .[test] - run: name: Run full test suite (including bit-level tests) command: python3 setup.py test --enable-bit-level-tests workflows: version: 2 tests_and_docs: jobs: - hdf5-18 - hdf5-110
version: 2 jobs: hdf5-18: docker: - image: astrofrog/hyperion-ci-hdf5-18:1.4 steps: - checkout - run: name: Initialize submodule command: | git submodule init git submodule update - run: name: Compiling Fortran code command: | HYPERION_HDF5_VERSION=18 ./configure make make install - run: name: Installing Numpy command: pip install numpy - run: name: Installing Python package command: pip install .[test] - run: name: Run full test suite (including bit-level tests) command: python setup.py test --enable-bit-level-tests hdf5-110: docker: - image: astrofrog/hyperion-ci-hdf5-110:1.6 steps: - checkout - run: name: Initialize submodule command: | git submodule init git submodule update - run: name: Compiling Fortran code command: | ./configure make make install - run: name: Installing Numpy command: pip3 install numpy - run: name: Installing Python package command: pip3 install .[test] - run: name: Run full test suite (including bit-level tests) command: python3 setup.py test --enable-bit-level-tests workflows: version: 2 tests_and_docs: jobs: - hdf5-18 - hdf5-110
Fix new comparison to use 'in __.stdout'
--- # Copyright 2016, Rackspace US, Inc. # # 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. - name: Grab full output of rabbitmqctl cluster_status command: "rabbitmqctl cluster_status" register: rabbitmqctl_output failed_when: "rabbitmqctl_output.rc != 0" - name: Display output of rabbitmqctl cluster_status debug: var=rabbitmqctl_output # Verify rabbit is not partitioned # Here we check to see if partitions is empty - name: Fail if network partitions are detected fail: msg: "Rabbitmq network partitions have been detected." when: "'{partitions,[]}' not in rabbitmqctl_output.stdout_lines"
--- # Copyright 2016, Rackspace US, Inc. # # 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. - name: Grab full output of rabbitmqctl cluster_status command: "rabbitmqctl cluster_status" register: rabbitmqctl_output failed_when: "rabbitmqctl_output.rc != 0" - name: Display output of rabbitmqctl cluster_status debug: var=rabbitmqctl_output # Verify rabbit is not partitioned # Here we check to see if partitions is empty - name: Fail if network partitions are detected fail: msg: "Rabbitmq network partitions have been detected." when: "'{partitions,[]}' not in rabbitmqctl_output.stdout"
Disable markdownlint line length limit
--- engines: fixme: enabled: true markdownlint: enabled: true ratings: paths: - "**/*.md" exclude_paths: []
--- engines: fixme: enabled: true markdownlint: enabled: true checks: MD013: enabled: false ratings: paths: - "**/*.md" exclude_paths: []
Initialize submodules for Scrutinizer as well
filter: excluded_paths: - '3rdparty/*' - 'apps/*/3rdparty/*' - 'apps/*/vendor/*' - 'l10n/*' - 'core/l10n/*' - 'apps/*/l10n/*' - 'apps/*/tests/*' - 'lib/l10n/*' - 'core/vendor/*' - 'core/js/tests/lib/*.js' - 'core/js/tests/specs/*.js' - 'core/js/jquery-showpassword.js' - 'core/js/jquery-tipsy.js' - 'core/js/placeholders.js' - 'settings/l10n/*' - 'tests/*' - 'build/*' imports: - javascript - php
before_commands: - 'git submodule update --init --recursive' filter: excluded_paths: - '3rdparty/*' - 'apps/*/3rdparty/*' - 'apps/*/vendor/*' - 'l10n/*' - 'core/l10n/*' - 'apps/*/l10n/*' - 'apps/*/tests/*' - 'lib/l10n/*' - 'core/vendor/*' - 'core/js/tests/lib/*.js' - 'core/js/tests/specs/*.js' - 'core/js/jquery-showpassword.js' - 'core/js/jquery-tipsy.js' - 'core/js/placeholders.js' - 'settings/l10n/*' - 'tests/*' - 'build/*' imports: - javascript - php
Extend the Scrutinizer CI config
tools: external_code_coverage: enabled: true timeout: 900
filter: excluded_paths: - 'Config/*' - 'Database/*' - 'vendor/*' tools: external_code_coverage: enabled: true timeout: 900 php_cpd: enabled: true php_code_sniffer: enabled: true config: standard: PSR2 php_cs_fixer: enabled: true config: level: psr2 php_hhvm: enabled: true php_mess_detector: enabled: true php_pdepend: enabled: true php_analyzer: enabled: true sensiolabs_security_checker: true
Update CI to surface errors properly and fix gdal/geos installation
name: CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby-version: ['2.6', '2.7'] services: postgres: image: postgis/postgis ports: - 5432:5432 env: POSTGRES_DB: spatial_features_test POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Install GEOS run: sudo apt-get install libgeos-dev libgeos-3.8.0 libproj-dev -y - name: Run tests env: RAILS_ENV: test POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres run: bundle exec rake spec continue-on-error: true
name: CI on: push: branches: [master] pull_request: branches: [master] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby-version: ["2.6", "2.7"] fail-fast: false services: postgres: image: postgis/postgis ports: - 5432:5432 env: POSTGRES_DB: spatial_features_test POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v2 # libgeos and gdal are required and must be installed before `bunddle install` # NB: if you add libs here that are required for Gem native extensions be sure to clear the # bundle cache in `ruby/setup-ruby` so that the gems are re-compiled - name: Install GEOS run: | sudo add-apt-repository ppa:ubuntugis/ppa sudo apt-get update sudo apt-get install libpq-dev libgeos-dev libgeos-3.8.0 libproj-dev gdal-bin -y - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 3 - name: Run tests env: RAILS_ENV: test POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres run: bundle exec rspec
Update actions to use Go1.16
name: Go on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: strategy: matrix: go-version: [1.14, 1.15] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: Test run: go test -race -v ./... -coverprofile=coverage.txt -covermode=atomic - name: Codecov uses: codecov/codecov-action@v1.2.1 with: files: coverage.txt backward-compatibility-test: runs-on: ubuntu-latest strategy: matrix: go-version: [1.7, 1.8, 1.9, "1.10"] steps: - uses: actions/checkout@v2 with: fetch-depth: 1 path: go/src/github.com/jszwec/csvutil - name: Set up Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: Test run: go test -race -v ./... env: GOPATH: /home/runner/work/csvutil/csvutil/go working-directory: go/src/github.com/jszwec/csvutil
name: Go on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: strategy: matrix: go-version: [1.15, 1.16] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: Test run: go test -race -v ./... -coverprofile=coverage.txt -covermode=atomic - name: Codecov uses: codecov/codecov-action@v1.2.1 with: files: coverage.txt backward-compatibility-test: runs-on: ubuntu-latest strategy: matrix: go-version: [1.7, 1.8, 1.9, "1.10"] steps: - uses: actions/checkout@v2 with: fetch-depth: 1 path: go/src/github.com/jszwec/csvutil - name: Set up Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: Test run: go test -race -v ./... env: GOPATH: /home/runner/work/csvutil/csvutil/go working-directory: go/src/github.com/jszwec/csvutil
Fix workflow to checkout code into modules
name: Go on: [push] jobs: build: name: Build runs-on: ubuntu-latest env: GO111MODULE: on steps: - name: Set up Go 1.13 uses: actions/setup-go@v1 with: go-version: 1.13 id: go - name: Get dependencies run: go get -v -t -d ./... - name: Run tests run: go test -v ./... - name: Build run: ./build
name: Go on: [push] jobs: build: name: Build runs-on: ubuntu-latest env: GO111MODULE: on steps: - name: Set up Go 1.13 uses: actions/setup-go@v1 with: go-version: 1.13 id: go - name: Check out code into the Go module directory uses: actions/checkout@v1 - name: Get dependencies run: go get -v -t -d ./... - name: Cache uses: actions/cache@v1.0.0 - name: Run tests run: go test -v ./... - name: Build run: ./build
Use correct run-cats script path
--- platform: linux image_resource: type: docker-image source: repository: cfbuildpacks/ci inputs: - name: buildpacks-ci - name: deployments-buildpacks run: path: buildpacks-ci/scripts/cats params: DEPLOYMENT_NAME: CI_CF_USERNAME: CI_CF_PASSWORD: BOSH_PRIVATE_KEY: BOSH_USER: BOSH_PASSWORD: AWS_ACCESS_KEY_ID: AWS_SECRET_ACCESS_KEY: BOSH_AWS_ACCESS_KEY_ID: BOSH_AWS_SECRET_ACCESS_KEY: BOSH_LITE_SECURITY_GROUP: BOSH_LITE_SUBNET_ID: BOSH_LITE_DISK_SIZE: BOSH_GATEWAY_USER: BOSH_TARGET: BOSH_LITE_NAME: BOSH_LITE_DOMAIN_NAME: DIEGO_DOCKER_ON:
--- platform: linux image_resource: type: docker-image source: repository: cfbuildpacks/ci inputs: - name: buildpacks-ci - name: deployments-buildpacks run: path: buildpacks-ci/tasks/run-cats/run.sh params: DEPLOYMENT_NAME: CI_CF_USERNAME: CI_CF_PASSWORD: BOSH_PRIVATE_KEY: BOSH_USER: BOSH_PASSWORD: AWS_ACCESS_KEY_ID: AWS_SECRET_ACCESS_KEY: BOSH_AWS_ACCESS_KEY_ID: BOSH_AWS_SECRET_ACCESS_KEY: BOSH_LITE_SECURITY_GROUP: BOSH_LITE_SUBNET_ID: BOSH_LITE_DISK_SIZE: BOSH_GATEWAY_USER: BOSH_TARGET: BOSH_LITE_NAME: BOSH_LITE_DOMAIN_NAME: DIEGO_DOCKER_ON:
Disable nodesecurity check on code climate For this to work it requires an npm-shrinkwrap.json file and we can't add that at this moment in time so we'll have to revisit this when Azure supports NPM v4.
engines: eslint: enabled: true channel: "eslint-3" checks: import/no-unresolved: enabled: false scss-lint: enabled: true duplication: enabled: true config: languages: - javascript nodesecurity: enabled: true ratings: paths: - "app/**" - "config/**" - "lib/**" - "app.js" exclude_paths: - "**/vendor/" - "test/" - "gulp/"
engines: eslint: enabled: true channel: "eslint-3" checks: import/no-unresolved: enabled: false scss-lint: enabled: true duplication: enabled: true config: languages: - javascript nodesecurity: enabled: false ratings: paths: - "app/**" - "config/**" - "lib/**" - "app.js" exclude_paths: - "**/vendor/" - "test/" - "gulp/"
Change line terminators from CRLF to LF
kind: Service apiVersion: v1 metadata: name: csi-snapshotter labels: app: csi-snapshotter spec: selector: app: csi-snapshotter ports: - name: dummy port: 12345 --- kind: StatefulSet apiVersion: apps/v1 metadata: name: csi-snapshotter spec: serviceName: "csi-snapshotter" replicas: 1 selector: matchLabels: app: csi-snapshotter template: metadata: labels: app: csi-snapshotter spec: serviceAccount: csi-snapshotter containers: - name: csi-snapshotter image: quay.io/k8scsi/csi-snapshotter:v2.0.0 args: - "--v=5" - "--csi-address=$(ADDRESS)" env: - name: ADDRESS value: /csi/csi.sock securityContext: # This is necessary only for systems with SELinux, where # non-privileged sidecar containers cannot access unix domain socket # created by privileged CSI driver container. privileged: true volumeMounts: - name: socket-dir mountPath: /csi volumes: - hostPath: path: /var/lib/kubelet/plugins/csi-hostpath type: DirectoryOrCreate name: socket-dir
kind: Service apiVersion: v1 metadata: name: csi-snapshotter labels: app: csi-snapshotter spec: selector: app: csi-snapshotter ports: - name: dummy port: 12345 --- kind: StatefulSet apiVersion: apps/v1 metadata: name: csi-snapshotter spec: serviceName: "csi-snapshotter" replicas: 1 selector: matchLabels: app: csi-snapshotter template: metadata: labels: app: csi-snapshotter spec: serviceAccount: csi-snapshotter containers: - name: csi-snapshotter image: quay.io/k8scsi/csi-snapshotter:v2.0.0 args: - "--v=5" - "--csi-address=$(ADDRESS)" env: - name: ADDRESS value: /csi/csi.sock securityContext: # This is necessary only for systems with SELinux, where # non-privileged sidecar containers cannot access unix domain socket # created by privileged CSI driver container. privileged: true volumeMounts: - name: socket-dir mountPath: /csi volumes: - hostPath: path: /var/lib/kubelet/plugins/csi-hostpath type: DirectoryOrCreate name: socket-dir
Allow using black in py37
repos: - repo: https://github.com/asottile/pyupgrade rev: v1.16.3 hooks: - id: pyupgrade - repo: https://github.com/python/black rev: 19.3b0 hooks: - id: black language_version: python3.6 - repo: https://gitlab.com/pycqa/flake8 rev: 3.7.7 hooks: - id: flake8 additional_dependencies: ['flake8-bugbear==18.8.0; python_version >= "3.5"'] - repo: https://github.com/asottile/blacken-docs rev: v0.5.0 hooks: - id: blacken-docs additional_dependencies: [black==19.3b0]
repos: - repo: https://github.com/asottile/pyupgrade rev: v1.16.3 hooks: - id: pyupgrade - repo: https://github.com/python/black rev: 19.3b0 hooks: - id: black language_version: python3 - repo: https://gitlab.com/pycqa/flake8 rev: 3.7.7 hooks: - id: flake8 additional_dependencies: ['flake8-bugbear==18.8.0; python_version >= "3.5"'] - repo: https://github.com/asottile/blacken-docs rev: v0.5.0 hooks: - id: blacken-docs additional_dependencies: [black==19.3b0]
Extend Python-Omero Recipe to OSX and Python 3
{% set OMERO_VERSION = "5.2.7" %} package: name: python-omero version: {{ OMERO_VERSION }} source: fn: OMERO.py-{{ OMERO_VERSION }}-ice36-b40.zip url: http://downloads.openmicroscopy.org/omero/{{ OMERO_VERSION }}/artifacts/OMERO.py-{{ OMERO_VERSION }}-ice36-b40.zip sha1: 8b85145dd1b30ac5cce7c39ceccce8fb16234ae1 build: number: 1 skip: True # [py3k or osx] requirements: build: - conda-build - setuptools - python run: - python - zeroc-ice test: imports: - omero - omero.gateway about: home: http://www.openmicroscopy.org/ license: GPL 2 summary: OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data.
{% set OMERO_VERSION = "5.2.7" %} package: name: python-omero version: {{ OMERO_VERSION }} source: fn: OMERO.py-{{ OMERO_VERSION }}-ice36-b40.zip url: http://downloads.openmicroscopy.org/omero/{{ OMERO_VERSION }}/artifacts/OMERO.py-{{ OMERO_VERSION }}-ice36-b40.zip sha1: 8b85145dd1b30ac5cce7c39ceccce8fb16234ae1 build: number: 2 requirements: build: - conda-build - setuptools - python run: - python - zeroc-ice test: imports: - omero - omero.gateway about: home: http://www.openmicroscopy.org/ license: GPL 2 summary: OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data.
Add API port to prod config
apps: - script : packages/nylas-api/app.js name : api instances: 0 exec_mode: cluster - script : packages/nylas-dashboard/app.js name : dashboard instances: 1 exec_mode: cluster
apps: - script : packages/nylas-api/app.js name : api instances: 0 exec_mode: cluster env : PORT: 5100 - script : packages/nylas-dashboard/app.js name : dashboard instances: 1 exec_mode: cluster
Use Visual Studio 14 2015
# Automated Windows (MSVC++) testing using appveyor.com # https://ci.appveyor.com/projects version: 1.0.{build} branches: only: - master - 6.0 configuration: - Debug environment: matrix: - cmake_generator: "Visual Studio 14" platform: x86 - cmake_generator: "Visual Studio 14 Win64" platform: x64 before_build: - "\"C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin\\SetEnv.cmd\" /%platform%" - "\"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat\" %platform%" build_script: - cmake -G "%cmake_generator%" . - cmake --build . test_script: - ctest
# Automated Windows (MSVC++) testing using appveyor.com # https://ci.appveyor.com/projects version: 1.0.{build} branches: only: - master - 6.0 configuration: - Debug environment: matrix: - cmake_generator: "Visual Studio 14 2015" platform: x86 - cmake_generator: "Visual Studio 14 2015 Win64" platform: x64 before_build: - "\"C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin\\SetEnv.cmd\" /%platform%" - "\"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat\" %platform%" build_script: - cmake -G "%cmake_generator%" . - cmake --build . test_script: - ctest
Update from Hackage at 2017-02-20T16:38:35Z
homepage: '' changelog-type: '' hash: 354fb9104dd936b31011c0a3a346d2b32ac67a1c6bd9c2e564f15b814ae19b9c test-bench-deps: {} maintainer: Gabriel439@gmail.com synopsis: Easily stream directory contents in constant memory changelog: '' basic-deps: unix: ! '>=2.5.1.0 && <2.8' base: ! '>=4 && <5' system-fileio: ! '>=0.2.1 && <0.4' pipes: ! '>=4.0 && <4.3' pipes-safe: ! '>=2.0.0 && <2.3' system-filepath: ! '>=0.3.1 && <0.5' directory: <1.3 all-versions: - '1.0.0' - '1.0.1' author: Gabriel Gonzalez latest: '1.0.1' description-type: haddock description: ! 'Use this library to read large directories as streams: * Use @ListT@ to assemble recursive directory traversals while still streaming * Use @pipes@ to read out the stream of results * Traversals only open directory streams lazily in response to demand * Avoid directories with insufficient permissions This library works on both Unix and Windows.' license-name: BSD3
homepage: '' changelog-type: '' hash: 5292ff3ac0763662951b8e5e6632c78339defc3a8899eb37e75b1e0839e693c3 test-bench-deps: {} maintainer: Gabriel439@gmail.com synopsis: Easily stream directory contents in constant memory changelog: '' basic-deps: unix: ! '>=2.5.1.0 && <2.8' base: ! '>=4 && <5' system-fileio: ! '>=0.2.1 && <0.4' pipes: ! '>=4.0 && <4.4' pipes-safe: ! '>=2.0.0 && <2.3' system-filepath: ! '>=0.3.1 && <0.5' directory: <1.3 all-versions: - '1.0.0' - '1.0.1' - '1.0.2' author: Gabriel Gonzalez latest: '1.0.2' description-type: haddock description: ! 'Use this library to read large directories as streams: * Use @ListT@ to assemble recursive directory traversals while still streaming * Use @pipes@ to read out the stream of results * Traversals only open directory streams lazily in response to demand * Avoid directories with insufficient permissions This library works on both Unix and Windows.' license-name: BSD3
Update from Hackage at 2015-07-28T19:38:57+0000
homepage: '' changelog-type: '' hash: cbd22a37c6a09114317b476fba1d1a0019f49571f50d32aa3eccdd2befb1e414 test-bench-deps: {} maintainer: luke@hoersten.org synopsis: Unagi Chan IO-Streams changelog: '' basic-deps: base: ! '>=4.7 && <4.9' io-streams: ! '>=1.2 && <1.3' unagi-chan: ! '>=0.2 && <0.4' all-versions: - '0.1.0.0' - '0.1.1.0' - '0.1.2' author: Luke Hoersten latest: '0.1.2' description-type: haddock description: ! 'Io-streams chans implemented underneath with unagi-chans. This library is a straight port of the default io-streams chan implementation.' license-name: BSD3
homepage: '' changelog-type: '' hash: 6c4b3d8edc276a82e0f168b1f28d2f5e9f328bebb433d6db8d13a03f89fa4982 test-bench-deps: {} maintainer: luke@hoersten.org synopsis: Unagi Chan IO-Streams changelog: '' basic-deps: base: ! '>=4.7 && <4.9' io-streams: ! '>=1.2 && <1.4' unagi-chan: ! '>=0.2 && <0.5' all-versions: - '0.1.0.0' - '0.1.1.0' - '0.1.2' - '0.1.3' author: Luke Hoersten latest: '0.1.3' description-type: haddock description: ! 'Io-streams chans implemented underneath with unagi-chans. This library is a straight port of the default io-streams chan implementation.' license-name: BSD3
Change ECOMMERCE_DJANGO_SETTINGS_MODULE to use devstack settings.
- name: Configure instance(s) hosts: all sudo: True gather_facts: True vars: migrate_db: 'yes' openid_workaround: true devstack: true disable_edx_services: true mongo_enable_journal: false EDXAPP_NO_PREREQ_INSTALL: 0 COMMON_MOTD_TEMPLATE: 'devstack_motd.tail.j2' COMMON_SSH_PASSWORD_AUTH: "yes" ENABLE_LEGACY_ORA: !!null EDXAPP_LMS_BASE: 127.0.0.1:8000 EDXAPP_OAUTH_ENFORCE_SECURE: false EDXAPP_LMS_BASE_SCHEME: http roles: - edx_ansible - mysql - edxlocal - mongo - edxapp - oraclejdk - elasticsearch - forum - ecommerce - ecomworker - { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' } - programs - role: notifier NOTIFIER_DIGEST_TASK_INTERVAL: "5" - role: ora when: ENABLE_LEGACY_ORA - browsers - browsermob-proxy - local_dev - demo - oauth_client_setup
- name: Configure instance(s) hosts: all sudo: True gather_facts: True vars: migrate_db: 'yes' openid_workaround: true devstack: true disable_edx_services: true mongo_enable_journal: false EDXAPP_NO_PREREQ_INSTALL: 0 COMMON_MOTD_TEMPLATE: 'devstack_motd.tail.j2' COMMON_SSH_PASSWORD_AUTH: "yes" ENABLE_LEGACY_ORA: !!null EDXAPP_LMS_BASE: 127.0.0.1:8000 EDXAPP_OAUTH_ENFORCE_SECURE: false EDXAPP_LMS_BASE_SCHEME: http ECOMMERCE_DJANGO_SETTINGS_MODULE: "ecommerce.settings.devstack" roles: - edx_ansible - mysql - edxlocal - mongo - edxapp - oraclejdk - elasticsearch - forum - ecommerce - ecomworker - { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' } - programs - role: notifier NOTIFIER_DIGEST_TASK_INTERVAL: "5" - role: ora when: ENABLE_LEGACY_ORA - browsers - browsermob-proxy - local_dev - demo - oauth_client_setup
Configure specific module path for ansible.
heat_template_version: ocata description: 'Upgrade for via ansible by applying a step related tag' parameters: UpgradeStepConfig: type: json description: Config (ansible yaml) that will be used to step through the deployment. default: '' step: type: string description: Step number of the upgrade resources: AnsibleConfig: type: OS::Heat::Value properties: value: str_replace: template: CONFIG params: CONFIG: - hosts: localhost connection: local tasks: {get_param: UpgradeStepConfig} AnsibleUpgradeConfigImpl: type: OS::Heat::SoftwareConfig properties: group: ansible options: tags: str_replace: template: "stepSTEP" params: STEP: {get_param: step} inputs: - name: role config: {get_attr: [AnsibleConfig, value]} outputs: OS::stack_id: description: The software config which runs ansible with tags value: {get_resource: AnsibleUpgradeConfigImpl} upgrade_config: description: The configuration file used for upgrade value: {get_attr: [AnsibleConfig, value]}
heat_template_version: ocata description: 'Upgrade for via ansible by applying a step related tag' parameters: UpgradeStepConfig: type: json description: Config (ansible yaml) that will be used to step through the deployment. default: '' step: type: string description: Step number of the upgrade resources: AnsibleConfig: type: OS::Heat::Value properties: value: str_replace: template: CONFIG params: CONFIG: - hosts: localhost connection: local tasks: {get_param: UpgradeStepConfig} AnsibleUpgradeConfigImpl: type: OS::Heat::SoftwareConfig properties: group: ansible options: tags: str_replace: template: "stepSTEP" params: STEP: {get_param: step} modulepath: /usr/share/ansible-modules inputs: - name: role config: {get_attr: [AnsibleConfig, value]} outputs: OS::stack_id: description: The software config which runs ansible with tags value: {get_resource: AnsibleUpgradeConfigImpl} upgrade_config: description: The configuration file used for upgrade value: {get_attr: [AnsibleConfig, value]}
Fix UnicodeError in build_reno in sphinx docs job
--- features: - | Quota information panel and forms are now tabbified per back-end service. - Admin -> Defaults -> Default Quotas table - Admin -> Defaults -> Update Defaults form - Identity -> Projects -> Modify Quotas form - | [:blueprint:`horizon-plugin-tab-for-info-and-quotas`] (for horizon plugin developers) Django workflow step is now pluggable and horizon plugins can add extra step(s) to an existing workflow provided by horizon or other horizon plugins. Extra steps can be added via the horizon plugin “enabled” file. For more detail, see ``EXTRA_TABS`` description in `Pluggable Panels and Groups <https://docs.openstack.org/horizon/latest/configuration/pluggable_panels.html#extra-steps>`__ of the horizon documentation. upgrade: - The "Quotas" tab in the "Create Project" form was split out into a new separate form "Modify Quotas". Quotas for a new project need to be configured from "Modify Quotas" action after creating a new project.
--- features: - | Quota information panel and forms are now tabbified per back-end service. - Admin -> Defaults -> Default Quotas table - Admin -> Defaults -> Update Defaults form - Identity -> Projects -> Modify Quotas form - | [:blueprint:`horizon-plugin-tab-for-info-and-quotas`] (for horizon plugin developers) Django workflow step is now pluggable and horizon plugins can add extra step(s) to an existing workflow provided by horizon or other horizon plugins. Extra steps can be added via the horizon plugin "enabled" file. For more detail, see ``EXTRA_TABS`` description in `Pluggable Panels and Groups <https://docs.openstack.org/horizon/latest/configuration/pluggable_panels.html#extra-steps>`__ of the horizon documentation. upgrade: - The "Quotas" tab in the "Create Project" form was split out into a new separate form "Modify Quotas". Quotas for a new project need to be configured from "Modify Quotas" action after creating a new project.
Put readr on a ref
packages: - name: objectdiff version: 0.2.3.9000 repo: robertzk/objectdiff - name: stagerunner version: 0.5.0 repo: syberia/stagerunner - name: Ramd version: 0.2.2 repo: robertzk/Ramd - name: statsUtils version: 0.1.3 repo: robertzk/statsUtils - name: director version: 0.3.0.5.9000 repo: syberia/director - name: tundra version: 0.3.0.9000 repo: syberia/tundra - name: syberia version: 0.6.1.9007 repo: syberia/syberia ref: 0.6-dev - name: mungebits2 version: 0.1.0.9003 repo: syberia/mungebits2 - name: syberiaMungebits2 version: 0.1.0.9001 repo: syberia/syberiaMungebits2 - name: RCurl version: 1.95.4.8 - name: readr version: 0.2.2 repo: hadley/readr
packages: - name: objectdiff version: 0.2.3.9000 repo: robertzk/objectdiff - name: stagerunner version: 0.5.0 repo: syberia/stagerunner - name: Ramd version: 0.2.2 repo: robertzk/Ramd - name: statsUtils version: 0.1.3 repo: robertzk/statsUtils - name: director version: 0.3.0.5.9000 repo: syberia/director - name: tundra version: 0.3.0.9000 repo: syberia/tundra - name: syberia version: 0.6.1.9007 repo: syberia/syberia ref: 0.6-dev - name: mungebits2 version: 0.1.0.9003 repo: syberia/mungebits2 - name: syberiaMungebits2 version: 0.1.0.9001 repo: syberia/syberiaMungebits2 - name: RCurl version: 1.95.4.8 - name: readr version: 0.2.2.9000 repo: hadley/readr ref: ef750db855f9434e78bd89e8944e8b1c547bf23a
Use Pod Utilities for cloud-provider-alibaba-cloud jobs
presubmits: kubernetes/cloud-provider-alibaba-cloud: - name: pull-cloud-provider-alibaba-cloud-check always_run: true branches: - master decorate: true labels: preset-service-account: "true" spec: containers: - image: gcr.io/k8s-testimages/kubekins-e2e:v20190514-6c3cafa-master args: - "--repo=k8s.io/$(REPO_NAME)=$(PULL_REFS)" - "--root=/go/src" - "--upload=gs://kubernetes-jenkins/pr-logs" - --scenario=execute - -- - make - check - name: pull-cloud-provider-alibaba-cloud-unit-test always_run: true branches: - master decorate: true labels: preset-service-account: "true" spec: containers: - image: gcr.io/k8s-testimages/kubekins-e2e:v20190514-6c3cafa-master args: - "--repo=k8s.io/$(REPO_NAME)=$(PULL_REFS)" - "--root=/go/src" - "--upload=gs://kubernetes-jenkins/pr-logs" - --scenario=execute - -- - make - unit-test
presubmits: kubernetes/cloud-provider-alibaba-cloud: - name: pull-cloud-provider-alibaba-cloud-check always_run: true branches: - master decorate: true labels: preset-service-account: "true" spec: containers: - image: gcr.io/k8s-testimages/kubekins-e2e:v20190514-6c3cafa-master command: - make args: - check - name: pull-cloud-provider-alibaba-cloud-unit-test always_run: true branches: - master decorate: true labels: preset-service-account: "true" spec: containers: - image: gcr.io/k8s-testimages/kubekins-e2e:v20190514-6c3cafa-master command: - make args: - unit-test
Update Swift snapshot to 2015-12-31
--- language: swift url_to_dependency_map: - match: swift-(.*).tar.gz name: swift version: $1 - match: clang-(.*).tar.xz name: clang version: $1 dependencies: - name: swift version: 2.2 uri: https://swift.org/builds/ubuntu1404/swift-2.2-SNAPSHOT-2015-12-10-a/swift-2.2-SNAPSHOT-2015-12-10-a-ubuntu14.04.tar.gz md5: 169a8d3f1bbf489f33bb0628a9638036 cf_stacks: - cflinuxfs2 - name: clang version: 3.7.0 uri: http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz md5: 58c3662a9f34e49a57e9542bce550243 cf_stacks: - cflinuxfs2 exclude_files: - .git/ - .gitignore - .gitmodules - repos/ - spec/ - cf_spec/ - log/ - test/ - cf.Gemfile - cf.Gemfile.lock - bin/package - buildpack-packager/ - swift_buildpack-*v*.zip - cf_build/
--- language: swift url_to_dependency_map: - match: swift-(.*).tar.gz name: swift version: $1 - match: clang-(.*).tar.xz name: clang version: $1 dependencies: - name: swift version: 2.2 uri: https://swift.org/builds/ubuntu1404/swift-2.2-SNAPSHOT-2015-12-31-a/swift-2.2-SNAPSHOT-2015-12-31-a-ubuntu14.04.tar.gz md5: b1a461495574e4f8ba79bf18e89280d9 cf_stacks: - cflinuxfs2 - name: clang version: 3.7.0 uri: http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz md5: 58c3662a9f34e49a57e9542bce550243 cf_stacks: - cflinuxfs2 exclude_files: - .git/ - .gitignore - .gitmodules - repos/ - spec/ - cf_spec/ - log/ - test/ - cf.Gemfile - cf.Gemfile.lock - bin/package - buildpack-packager/ - swift_buildpack-*v*.zip - cf_build/
Bump ridedott/merge-me-action from 2.9.84 to 2.9.89
name: Merge me test dependencies! on: workflow_run: types: - completed workflows: # List all required workflow names here. - 'Run tests' - 'Test build package' - 'Run linters' jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ridedott/merge-me-action@v2.9.84 with: # Depending on branch protection rules, a manually populated # `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to # a protected branch must be used. This secret can have an arbitrary # name, as an example, this repository uses `DOTTBOTT_TOKEN`. # # When using a custom token, it is recommended to leave the following # comment for other developers to be aware of the reasoning behind it: # # This must be used as GitHub Actions token does not support pushing # to protected branches. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_METHOD: MERGE PRESET: DEPENDABOT_MINOR ENABLED_FOR_MANUAL_CHANGES: 'true'
name: Merge me test dependencies! on: workflow_run: types: - completed workflows: # List all required workflow names here. - 'Run tests' - 'Test build package' - 'Run linters' jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ridedott/merge-me-action@v2.9.89 with: # Depending on branch protection rules, a manually populated # `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to # a protected branch must be used. This secret can have an arbitrary # name, as an example, this repository uses `DOTTBOTT_TOKEN`. # # When using a custom token, it is recommended to leave the following # comment for other developers to be aware of the reasoning behind it: # # This must be used as GitHub Actions token does not support pushing # to protected branches. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_METHOD: MERGE PRESET: DEPENDABOT_MINOR ENABLED_FOR_MANUAL_CHANGES: 'true'
Update from Hackage at 2022-09-18T02:37:51Z
homepage: https://github.com/RamiroPastor/SvgIcons changelog-type: '' hash: 2657a3f149d54f0e4c558e74a5e45b8ec64a2a03bd715df7b22dc90b9d381f07 test-bench-deps: {} maintainer: ramir659@icloud.com synopsis: Svg Icons and more changelog: '' basic-deps: blaze-svg: '>=0.3.3.0 && <1.0' base: '>=4.15.0.0 && <5.0.0' blaze-markup: '>=0.5 && <0.9' text: '>=2.0 && <3.0' directory: '>=1.3.7.0 && <2.0.0' all-versions: - 0.1.0.0 - 0.1.0.1 - 0.1.0.2 author: Ramiro latest: 0.1.0.2 description-type: haddock description: |- Svg icons made with the blaze-svg package. You can use them in your Haskell project or use the rendering module to get standalone svg files or React (jsx) files. license-name: BSD-3-Clause
homepage: https://github.com/RamiroPastor/SvgIcons changelog-type: '' hash: 4d240840fe24c5d63ca74c9f9343c1980c69d2f445b9a2c121feb647accffc0b test-bench-deps: {} maintainer: ramir659@icloud.com synopsis: Svg Icons and more changelog: '' basic-deps: blaze-svg: '>=0.3.3.0 && <1.0' base: '>=4.15.0.0 && <5.0.0' blaze-markup: '>=0.5 && <0.9' text: '>=2.0 && <3.0' directory: '>=1.3.7.0 && <2.0.0' all-versions: - 0.1.0.0 - 0.1.0.1 - 0.1.0.2 - 0.1.0.3 author: Ramiro latest: 0.1.0.3 description-type: haddock description: |- Svg icons made with the blaze-svg package. You can use them in your Haskell project or use the rendering module to get standalone svg files or React (jsx) files. license-name: BSD-3-Clause
Update repo owner to edx/learner
# This file describes this Open edX repo, as described in OEP-2: # http://open-edx-proposals.readthedocs.io/en/latest/oeps/oep-0002.html#specification nick: cred oeps: {} owner: edx/ecommerce track-pulls: true
# This file describes this Open edX repo, as described in OEP-2: # http://open-edx-proposals.readthedocs.io/en/latest/oeps/oep-0002.html#specification nick: cred oeps: {} owner: edx/learner track-pulls: true
Remove machine:timezone and just use UTC.
machine: timezone: America/Los_Angeles dependencies: pre: - sudo apt-get update; sudo apt-get install gcc-5; sudo apt-get install g++-5 - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 100 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 100 test: pre: - gcc --version - g++ --version - make post: - ./helloworld
dependencies: pre: - sudo apt-get update; sudo apt-get install gcc-5; sudo apt-get install g++-5 - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 100 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 100 test: pre: - gcc --version - g++ --version - make post: - ./helloworld
Test with Xcode 9 on CircleCI
machine: xcode: version: "8.3.2" checkout: post: - git submodule update --init --recursive test: override: - bundle exec rake spec - bundle exec danger --verbose || true
machine: xcode: version: "9.0" checkout: post: - git submodule update --init --recursive test: override: - bundle exec rake spec - bundle exec danger --verbose || true
Remove coverage runner to just use nose
machine: python: version: 3.5.1 dependencies: override: - pip install -r requirements.txt - pip install coveralls test: override: - coverage run --source=cbe.location,cbe.party,cbe.business_interaction,cbe.customer,cbe.trouble manage.py test post: - coveralls - mkdir $CIRCLE_TEST_REPORTS/django - coverage xml -o $CIRCLE_TEST_REPORTS/django/coverage.xml
machine: python: version: 3.5.1 dependencies: override: - pip install -r requirements.txt - pip install coveralls test: #override: # - coverage run --source=cbe.location,cbe.party,cbe.business_interaction,cbe.customer,cbe.trouble manage.py test post: - coveralls - mkdir -p $CIRCLE_TEST_REPORTS/django/ - coverage xml -o $CIRCLE_TEST_REPORTS/django/coverage.xml
Build exes in Circle when running haddock
machine: environment: PATH: "$HOME/.local/bin:$PATH" STACK_VERSION: 1.2.0 dependencies: pre: - mkdir -p ~/.local/bin - curl -L https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64.tar.gz | tar -xzv -C ~/.local/bin && ln -vsf ~/.local/bin/stack-*/stack ~/.local/bin/stack cache_directories: - "~/.stack" - "~/stratosphere/.stack-work" override: - stack setup - stack build --test --only-dependencies --no-run-tests --jobs=1 test: override: - "stack build --test --jobs=1 --flag stratosphere:-library-only" - stack haddock --no-haddock-deps --jobs=1
machine: environment: PATH: "$HOME/.local/bin:$PATH" STACK_VERSION: 1.2.0 dependencies: pre: - mkdir -p ~/.local/bin - curl -L https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64.tar.gz | tar -xzv -C ~/.local/bin && ln -vsf ~/.local/bin/stack-*/stack ~/.local/bin/stack cache_directories: - "~/.stack" - "~/stratosphere/.stack-work" override: - stack setup - stack build --test --only-dependencies --no-run-tests --jobs=1 test: override: - "stack build --test --jobs=1 --flag stratosphere:-library-only" - "stack haddock --no-haddock-deps --jobs=1 --flag stratosphere:-library-only"
Clean cache prior to build
machine: environment: PATH_TO_BUILD: ./public SURGE_DOMAIN_DEV: ecomchicago-dev.surge.sh SURGE_DOMAIN_PROD: www.ecomchicago.com node: version: 6.9.1 dependencies: override: - yarn install test: override: - echo "Just ship it! 📦" post: - yarn run build deployment: development: branch: develop commands: - ./node_modules/.bin/surge --project $PATH_TO_BUILD --domain $SURGE_DOMAIN_DEV production: branch: master commands: - ./node_modules/.bin/surge --project $PATH_TO_BUILD --domain $SURGE_DOMAIN_PROD
machine: environment: PATH_TO_BUILD: ./public SURGE_DOMAIN_DEV: ecomchicago-dev.surge.sh SURGE_DOMAIN_PROD: www.ecomchicago.com node: version: 6.9.1 dependencies: override: - yarn install test: override: - echo "Just ship it! 📦" post: - rm -rf .cache - yarn run build deployment: development: branch: develop commands: - ./node_modules/.bin/surge --project $PATH_TO_BUILD --domain $SURGE_DOMAIN_DEV production: branch: master commands: - ./node_modules/.bin/surge --project $PATH_TO_BUILD --domain $SURGE_DOMAIN_PROD
Package installation needs root privilege.
--- # tasks file for python-requirements(On Alpine Linux) # Playbook using this role should remove cache like: # rm -rf /var/cache/apk/* /var/lib/apk/* /etc/apk/cache/* # In almost cases, It's OK to remove only /var/cache/apk/* # Ref. http://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Update_the_Package_list # Ref. http://gliderlabs.viewdocs.io/docker-alpine/usage/ # # Alpine Linux has the feature with on-the-fly cache, but it seems that Ansible hasn't supported yet. # Thus, it's better to remove cache as above. - name: Install requirements for python-requirements from apk apk: name={{ item }} update_cache=yes with_items: - python-dev - build-base become: yes - name: Install basic software apk: name={{ item }} update_cache=yes with_items: - unzip - curl become: yes - name: Install latest software related to SSL apk: name={{ item }} state=latest update_cache=yes with_items: - openssl - ca-certificates - name: Include tasks related to pip include: "pip.yml"
--- # tasks file for python-requirements(On Alpine Linux) # Playbook using this role should remove cache like: # rm -rf /var/cache/apk/* /var/lib/apk/* /etc/apk/cache/* # In almost cases, It's OK to remove only /var/cache/apk/* # Ref. http://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Update_the_Package_list # Ref. http://gliderlabs.viewdocs.io/docker-alpine/usage/ # # Alpine Linux has the feature with on-the-fly cache, but it seems that Ansible hasn't supported yet. # Thus, it's better to remove cache as above. - name: Install requirements for python-requirements from apk apk: name={{ item }} update_cache=yes with_items: - python-dev - build-base become: yes - name: Install basic software apk: name={{ item }} update_cache=yes with_items: - unzip - curl become: yes - name: Install latest software related to SSL apk: name={{ item }} state=latest update_cache=yes with_items: - openssl - ca-certificates become: yes - name: Include tasks related to pip include: "pip.yml"
Build debian-base:v2.1.3 (for real this time)
variants: v2: CONFIG: 'v2' IMAGE_VERSION: 'v2.1.2' OS_CODENAME: 'buster' v1: CONFIG: 'v1' IMAGE_VERSION: 'v1.1.0' OS_CODENAME: 'stretch'
variants: v2: CONFIG: 'v2' IMAGE_VERSION: 'v2.1.3' OS_CODENAME: 'buster' v1: CONFIG: 'v1' IMAGE_VERSION: 'v1.1.0' OS_CODENAME: 'stretch'
Update beat-game to 0.4.0 (4)
Categories: - Games License: GPL-3.0-only SourceCode: https://github.com/pserwylo/beat-game IssueTracker: https://github.com/pserwylo/beat-game/issues AutoName: beat-game RepoType: git Repo: https://github.com/pserwylo/beat-game Builds: - versionName: 0.1.0 versionCode: 1 commit: v0.1.0 subdir: android gradle: - yes - versionName: 0.2.0 versionCode: 2 commit: v0.2.0 subdir: android gradle: - yes - versionName: 0.3.0 versionCode: 3 commit: v0.3.0 subdir: android gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 0.3.0 CurrentVersionCode: 3
Categories: - Games License: GPL-3.0-only SourceCode: https://github.com/pserwylo/beat-game IssueTracker: https://github.com/pserwylo/beat-game/issues AutoName: beat-game RepoType: git Repo: https://github.com/pserwylo/beat-game Builds: - versionName: 0.1.0 versionCode: 1 commit: v0.1.0 subdir: android gradle: - yes - versionName: 0.2.0 versionCode: 2 commit: v0.2.0 subdir: android gradle: - yes - versionName: 0.3.0 versionCode: 3 commit: v0.3.0 subdir: android gradle: - yes - versionName: 0.4.0 versionCode: 4 commit: v0.4.0 subdir: android gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 0.4.0 CurrentVersionCode: 4
Bump actions/cache from 2 to 3
name: Build on: push: branches: - master pull_request: jobs: test: strategy: matrix: os: ['ubuntu-20.04', 'macOS-11', 'windows-2019'] go: ['1.17.x', '1.16.x'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - uses: actions/cache@v2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- - uses: actions/setup-go@v2 with: go-version: ${{ matrix.go }} - run: | make gofmt lint go test -race -covermode atomic -coverprofile=profile.cov ./... shell: bash - uses: shogo82148/actions-goveralls@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-profile: profile.cov parallel: true job-number: ${{ strategy.job-index }} finish: needs: test runs-on: ubuntu-latest steps: - uses: shogo82148/actions-goveralls@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} parallel-finished: true
name: Build on: push: branches: - master pull_request: jobs: test: strategy: matrix: os: ['ubuntu-20.04', 'macOS-11', 'windows-2019'] go: ['1.17.x', '1.16.x'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- - uses: actions/setup-go@v2 with: go-version: ${{ matrix.go }} - run: | make gofmt lint go test -race -covermode atomic -coverprofile=profile.cov ./... shell: bash - uses: shogo82148/actions-goveralls@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-profile: profile.cov parallel: true job-number: ${{ strategy.job-index }} finish: needs: test runs-on: ubuntu-latest steps: - uses: shogo82148/actions-goveralls@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} parallel-finished: true
Set working directory when uploading code coverage report
steps: - task: UsePythonVersion@0 displayName: ${{format('Setup Python {0}', parameters.python_version)}} inputs: versionSpec: '${{parameters.python_version}}' - template: install_deps.yml - script: 'pipenv run make coverage' displayName: Run Tests with Coverage - task: PublishTestResults@2 displayName: Publish Test Results inputs: testResultsFiles: 'test-results.xml' mergeTestResults: true testRunTitle: ${{format('$(agent.os) Python {0}', parameters.python_version)}} platform: Linux condition: succeededOrFailed() - task: PublishCodeCoverageResults@1 displayName: Publish Code Coverage Results inputs: codeCoverageTool: 'cobertura' summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage.xml' reportDirectory: '$(System.DefaultWorkingDirectory)/htmlcov' failIfCoverageEmpty: true - task: Bash@3 inputs: targetType: inline script: ${{format('pipenv run python -m codecov --token $(CODECOV_TOKEN) --required --name "$(agent.os)-{0}" --build "$(Build.DefinitionName)" --env OS=$(agent.os) python={0}', parameters.python_version)}} displayName: Upload to codecov.io condition: succeeded()
steps: - task: UsePythonVersion@0 displayName: ${{format('Setup Python {0}', parameters.python_version)}} inputs: versionSpec: '${{parameters.python_version}}' - template: install_deps.yml - script: 'pipenv run make coverage' displayName: Run Tests with Coverage - task: PublishTestResults@2 displayName: Publish Test Results inputs: testResultsFiles: 'test-results.xml' mergeTestResults: true testRunTitle: ${{format('$(agent.os) Python {0}', parameters.python_version)}} platform: Linux condition: succeededOrFailed() - task: PublishCodeCoverageResults@1 displayName: Publish Code Coverage Results inputs: codeCoverageTool: 'cobertura' summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage.xml' reportDirectory: '$(System.DefaultWorkingDirectory)/htmlcov' failIfCoverageEmpty: true - task: Bash@3 inputs: targetType: inline workingDirectory: '$(System.DefaultWorkingDirectory)'' script: ${{format('pipenv run python -m codecov --token $(CODECOV_TOKEN) --required --name "$(agent.os)-{0}" --build "$(Build.DefinitionName)" --env OS=$(agent.os) python={0}', parameters.python_version)}} displayName: Upload to codecov.io condition: succeeded()
Add legacy trace conversion, update to current snapshot
--- info: scm-url: "@scm.url@" build-url: "http://travis-ci.org/@env.TRAVIS_REPO_SLUG@/builds/@env.TRAVIS_BUILD_ID@" logging: file: "target/boot-admin-sample.log" management: endpoints: web: expose: "*" jolokia: enabled: true spring: application: name: spring-boot-admin-sample boot: admin: client: url: http://localhost:8080 profiles: active: - insecure --- spring: profiles: insecure --- spring: profiles: secure boot: admin: client: username: "user" #These two are needed so that the client password: "pass" #can register at the protected server api instance: metadata: user.name: "user" #These two are needed so that the server user.password: "pass" #can access the proteceted client endpoints
--- info: scm-url: "@scm.url@" build-url: "http://travis-ci.org/@env.TRAVIS_REPO_SLUG@/builds/@env.TRAVIS_BUILD_ID@" logging: file: "target/boot-admin-sample.log" management: endpoints: web: expose: "*" spring: application: name: spring-boot-admin-sample boot: admin: client: url: http://localhost:8080 profiles: active: - insecure --- spring: profiles: insecure --- spring: profiles: secure boot: admin: client: username: "user" #These two are needed so that the client password: "pass" #can register at the protected server api instance: metadata: user.name: "user" #These two are needed so that the server user.password: "pass" #can access the proteceted client endpoints
Add log level to debug
swh::deploy::worker::instances: - swh_indexer_orchestrator - swh_indexer_mimetype - swh_indexer_language - swh_indexer_ctags - swh_indexer_fossology_license - swh_loader_svn # testing swh-loader-svn swh::deploy::storage::db::dbname: softwareheritage-test-svn swh::deploy::storage::directory: /srv/swh/objects/ swh::deploy::worker::swh_loader_svn::config: storage_class: remote_storage storage_args: http://127.0.0.1:5002/ send_contents: true send_directories: true send_revisions: true send_releases: true send_occurrences: true content_packet_size: 1000 content_packet_block_size_bytes: 104857600 content_packet_size_bytes: 1073741824 directory_packet_size: 250 revision_packet_size: 100 release_packet_size: 100 occurrence_packet_size: 100 check_revision: 1000
swh::deploy::worker::instances: - swh_indexer_orchestrator - swh_indexer_mimetype - swh_indexer_language - swh_indexer_ctags - swh_indexer_fossology_license - swh_loader_svn # testing swh-loader-svn swh::deploy::storage::db::dbname: softwareheritage-test-svn swh::deploy::storage::directory: /srv/swh/objects/ swh::deploy::worker::swh_loader_svn::loglevel: debug swh::deploy::worker::swh_loader_svn::config: storage_class: remote_storage storage_args: http://127.0.0.1:5002/ send_contents: true send_directories: true send_revisions: true send_releases: true send_occurrences: true content_packet_size: 1000 content_packet_block_size_bytes: 104857600 content_packet_size_bytes: 1073741824 directory_packet_size: 250 revision_packet_size: 100 release_packet_size: 100 occurrence_packet_size: 100 check_revision: 1000