Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Revert "Remove pytorch version spec"
{% set name = "linear_operator" %} {% set version = "0.1.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 81adc1aea9e98f3c4f07f5608eb77b689bc61793e9beebfea82155e9237bf1be build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: host: - python >=3.8 - pip run: - python >=3.8 - pytorch - scipy test: imports: - linear_operator - linear_operator.functions - linear_operator.operators - linear_operator.test - linear_operator.utils requires: - pip commands: - pip check about: home: https://github.com/cornellius-gp/linear_operator summary: A LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch license: MIT license_family: MIT license_file: LICENSE dev_url: https://github.com/cornellius-gp/linear_operator extra: recipe-maintainers: - AdrianSosic - ngam
{% set name = "linear_operator" %} {% set version = "0.1.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 81adc1aea9e98f3c4f07f5608eb77b689bc61793e9beebfea82155e9237bf1be build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: host: - python >=3.8 - pip run: - python >=3.8 - pytorch >=1.11 - scipy test: imports: - linear_operator - linear_operator.functions - linear_operator.operators - linear_operator.test - linear_operator.utils requires: - pip commands: - pip check about: home: https://github.com/cornellius-gp/linear_operator summary: A LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch license: MIT license_family: MIT license_file: LICENSE dev_url: https://github.com/cornellius-gp/linear_operator extra: recipe-maintainers: - AdrianSosic - ngam
Set locale to UTF-8 for fastlane
version: 2 jobs: build: macos: xcode: '10.0.0' environment: GEM_HOME: .gem GEM_PATH: .gem steps: - checkout - run: gem install fastlane --no-rdoc --no-ri --no-document - run: echo 'export PATH=$GEM_PATH:$PATH' >> $BASH_ENV - run: make test_macOS - run: make test_tvOS - run: make test_iOS - run: make test_iOS_9 - run: make test_macOS_report - run: make test_tvOS_report - run: make test_iOS_report - store_test_results: path: test_reports
version: 2 jobs: build: macos: xcode: '10.0.0' environment: LANG: en_US.UTF-8 LC_ALL: en_US.UTF-8 GEM_HOME: .gem GEM_PATH: .gem steps: - checkout - run: gem install fastlane --no-rdoc --no-ri --no-document - run: echo 'export PATH=$GEM_PATH:$PATH' >> $BASH_ENV - run: make test_macOS - run: make test_tvOS - run: make test_iOS - run: make test_iOS_9 - run: make test_macOS_report - run: make test_tvOS_report - run: make test_iOS_report - store_test_results: path: test_reports
FIx reference to silverstripe/userforms in yml moduleexists
--- Only: moduleexists: 'userforms' --- DynamicList: extensions: - 'DynamicListUDFExtension'
--- Only: moduleexists: 'silverstripe/userforms' --- DynamicList: extensions: - 'DynamicListUDFExtension'
Update circleci/node to tag 8
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/node:8 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mongo:3.4.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: yarn lint
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/node:8@sha256:257fdc7e2949a9576e1a96364e0428d461d0505167c70dcc3e6c3825ce8a6557 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mongo:3.4.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: yarn lint
Enable code linter in CI
name: lint_python on: [pull_request, push] jobs: lint_python: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - run: pip install bandit black codespell flake8 isort mypy pytest pyupgrade safety tox - run: bandit --recursive --skip B105,B110,B311,B605,B607 . - run: black --check . || true - run: codespell # --ignore-words-list="" --skip="" - run: flake8 --ignore=E12,E20,E226,E231,E265,E271,E40,E731,F401,W29,W605 --max-complexity=10 --max-line-length=255 --show-source --statistics . - run: isort --check-only --profile black . || true - run: pip install -r test-requirements.txt - run: make test || true - run: mypy --ignore-missing-imports . || true - run: pytest . || true - run: pytest --doctest-modules . || true - run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true - run: safety check
name: lint_python on: [pull_request, push] jobs: lint_python: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - run: pip install bandit black codespell flake8 isort mypy pytest pyupgrade safety tox - run: bandit --recursive --skip B105,B110,B311,B605,B607 . - run: black --check . - run: codespell # --ignore-words-list="" --skip="" - run: flake8 --ignore=E12,E20,E226,E231,E265,E271,E40,E731,F401,W29,W605 --max-complexity=10 --max-line-length=255 --show-source --statistics . - run: isort --check-only --profile black . || true - run: pip install -r test-requirements.txt - run: make test || true - run: mypy --ignore-missing-imports . || true - run: pytest . || true - run: pytest --doctest-modules . || true - run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true - run: safety check
Add group vars for Ceph
--- telegraf_plugins: - name: mem - name: system - name: cpu options: percpu: "true" totalcpu: "true" fielddrop: - "time_*" - name: disk options: mountpoints: - "/" - name: diskio options: skip_serial_number: "true" - name: procstat options: exe: "influxd" prefix: "influxdb" - name: procstat options: pid_file: "/var/lib/neo4j/data/neo4j-service.pid" prefix: "neo4j_proc" - name: net options: interfaces: - "bond0" - "bond1" - name: ceph
--- telegraf_install_version: stable # Configuration Variables telegraf_tags: telegraf_agent_interval: 10s telegraf_round_interval: "true" telegraf_metric_batch_size: "1000" telegraf_metric_buffer_limit: "10000" telegraf_collection_jitter: 0s telegraf_flush_interval: 10s telegraf_flush_jitter: 0s telegraf_debug: "false" telegraf_quiet: "false" telegraf_hostname: telegraf_omit_hostname: "false" telegraf_influxdb_urls: - http://10.240.0.72:8086 telegraf_influxdb_database: telegraf telegraf_influxdb_precision: s telegraf_influxdb_retention_policy: default telegraf_influxdb_write_consistency: any telegraf_influxdb_ssl_ca: telegraf_influxdb_ssl_cert: telegraf_influxdb_ssl_key: telegraf_influxdb_insecure_skip_verify: telegraf_influxdb_timeout: 5s telegraf_plugins: - name: mem - name: system - name: cpu options: percpu: "true" totalcpu: "true" fielddrop: - "time_*" - name: disk options: mountpoints: - "/" - name: diskio options: skip_serial_number: "true" - name: procstat options: exe: "influxd" prefix: "influxdb" - name: procstat options: pid_file: "/var/lib/neo4j/data/neo4j-service.pid" prefix: "neo4j_proc" - name: net options: interfaces: - "bond0" - "bond1" - name: ceph
Update from Hackage at 2020-10-06T09:32:29Z
homepage: https://github.com/nikita-volkov/attoparsec-data changelog-type: '' hash: 7d9225f77efab0ddb4b9b14b7d0e745993e4735fdab81c7222eb16dfe47a1a01 test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Parsers for the standard Haskell data types changelog: '' basic-deps: bytestring: ! '>=0.10 && <0.11' base-prelude: <2 base: <5 time: ! '>=1.4 && <2' text: ! '>=1 && <2' uuid: ! '>=1.3 && <1.4' attoparsec-time: ! '>=1 && <1.1' attoparsec: ==0.13.* scientific: ! '>=0.2 && <0.4' all-versions: - 0.1.1.1 - 0.1.1.2 - '1' - 1.0.1 - 1.0.2 - 1.0.3 - 1.0.4 - 1.0.4.1 author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: 1.0.4.1 description-type: haddock description: '' license-name: MIT
homepage: https://github.com/nikita-volkov/attoparsec-data changelog-type: '' hash: 763e4d773371acf15b86547276e649e1857d5e3b72cdfdb6f8dbe91f7e3518c8 test-bench-deps: {} maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Parsers for the standard Haskell data types changelog: '' basic-deps: bytestring: '>=0.10 && <0.11' base: '>=4.11 && <5' time: '>=1.4 && <2' text: '>=1 && <2' uuid: '>=1.3 && <1.4' attoparsec-time: '>=1 && <1.1' attoparsec: ==0.13.* scientific: '>=0.2 && <0.4' all-versions: - 0.1.1.1 - 0.1.1.2 - '1' - 1.0.1 - 1.0.2 - 1.0.3 - 1.0.4 - 1.0.4.1 - 1.0.5 author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: 1.0.5 description-type: haddock description: '' license-name: MIT
Disable tests for CentOS temporarily
name: Dockertests on: [push] jobs: dockertests: runs-on: ubuntu-latest strategy: fail-fast: false matrix: docker-image: [centos, debian, fedora, ubuntu] steps: - uses: actions/checkout@v2 - name: Setup docker container run: | docker build -t pyfakefs -f $GITHUB_WORKSPACE/.github/workflows/dockerfiles/Dockerfile_${{ matrix.docker-image }} . --build-arg github_repo=$GITHUB_REPOSITORY --build-arg github_branch=$(basename $GITHUB_REF) - name: Run tests run: docker run -t pyfakefs
name: Dockertests on: [push] jobs: dockertests: runs-on: ubuntu-latest strategy: fail-fast: false matrix: docker-image: [debian, fedora, ubuntu] steps: - uses: actions/checkout@v2 - name: Setup docker container run: | docker build -t pyfakefs -f $GITHUB_WORKSPACE/.github/workflows/dockerfiles/Dockerfile_${{ matrix.docker-image }} . --build-arg github_repo=$GITHUB_REPOSITORY --build-arg github_branch=$(basename $GITHUB_REF) - name: Run tests run: docker run -t pyfakefs
Install timezone support in Circle tests
machine: ruby: version: ruby-2.3.0 database: post: - bundle exec rake test:prepare - bundle exec rake db:migrate general: artifacts: - "coverage"
machine: ruby: version: ruby-2.3.0 database: post: - bundle exec rake test:prepare - bundle exec rake db:migrate - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql general: artifacts: - "coverage"
Deploy via Heroku instead of CircleCI
machine: environment: CODECLIMATE_REPO_TOKEN: 40fd488627355e3e12fd14b84e18e1e7b8ee40d2271823ecd2427f02f4aad61d deployment: production: branch: production commands: - git push git@heroku.com:capacitor-prod.git $CIRCLE_SHA1:master - heroku run rake db:migrate --app capacitor-prod staging: branch: primary commands: - git push git@heroku.com:capacitor-staging.git $CIRCLE_SHA1:master - heroku run rake db:migrate --app capacitor-staging
machine: environment: CODECLIMATE_REPO_TOKEN: 40fd488627355e3e12fd14b84e18e1e7b8ee40d2271823ecd2427f02f4aad61d
Update TinyBit launcher to 5.0 (17)
Categories: - System - Theming License: GPL-3.0-only AuthorName: TBog SourceCode: https://github.com/TBog/TBLauncher IssueTracker: https://github.com/TBog/TBLauncher/issues AutoName: TinyBit launcher RepoType: git Repo: https://github.com/TBog/TBLauncher Builds: - versionName: '4.5' versionCode: 14 commit: v4.5 subdir: app gradle: - yes - versionName: '4.6' versionCode: 15 commit: v4.6 subdir: app gradle: - yes - versionName: '4.7' versionCode: 16 commit: v4.7 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '4.7' CurrentVersionCode: 16
Categories: - System - Theming License: GPL-3.0-only AuthorName: TBog SourceCode: https://github.com/TBog/TBLauncher IssueTracker: https://github.com/TBog/TBLauncher/issues AutoName: TinyBit launcher RepoType: git Repo: https://github.com/TBog/TBLauncher Builds: - versionName: '4.5' versionCode: 14 commit: v4.5 subdir: app gradle: - yes - versionName: '4.6' versionCode: 15 commit: v4.6 subdir: app gradle: - yes - versionName: '4.7' versionCode: 16 commit: v4.7 subdir: app gradle: - yes - versionName: '5.0' versionCode: 17 commit: v5.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '5.0' CurrentVersionCode: 17
Fix OS distribution target for Debian repositories
--- # Ubuntu distributions specific vars _redis_repository_keyserver: 'keyserver.ubuntu.com' _redis_repository_key_id: '7E3F070089DF5277' _redis_repositories: - repo: 'deb http://packages.dotdeb.org stable all' - repo: 'deb-src http://packages.dotdeb.org stable all'
--- # Ubuntu distributions specific vars _redis_repository_keyserver: 'keyserver.ubuntu.com' _redis_repository_key_id: '7E3F070089DF5277' _redis_repositories: - repo: > deb http://packages.dotdeb.org {{ ansible_distribution_release | lower }} all - repo: > deb-src http://packages.dotdeb.org {{ ansible_distribution_release | lower }} all
Remove "write a program" from gigasecond exercise
--- blurb: "Write a program that calculates the moment when someone has lived for 10^9 seconds." source: "Chapter 9 in Chris Pine's online Learn to Program tutorial." source_url: "http://pine.fm/LearnToProgram/?Chapter=09"
--- blurb: "Calculate the moment when someone has lived for 10^9 seconds." source: "Chapter 9 in Chris Pine's online Learn to Program tutorial." source_url: "http://pine.fm/LearnToProgram/?Chapter=09"
Set elasticsearch heap to 1G.
- hosts: doi-service roles: - common - java - postfix - {role: db-backup, db: postgres} - {role: postgresql, pg_version: "9.6"} - {role: pg_instance, extensions: ["citext", "pgcrypto"]} - {role: ansible-elasticsearch, es_version: 5.5.3, es_templates:false, es_instance_name: 'doi-elasticsearch', es_data_dirs: ['/data/elasticsearch'], tags: ['elasticsearch']} - webserver - doi-service
- hosts: doi-service roles: - common - java - postfix - {role: db-backup, db: postgres} - {role: postgresql, pg_version: "9.6"} - {role: pg_instance, extensions: ["citext", "pgcrypto"]} - {role: ansible-elasticsearch, es_version: 5.5.3, es_templates:false, es_instance_name: 'doi-elasticsearch', es_data_dirs: ['/data/elasticsearch'], tags: ['elasticsearch'], es_heap_size: '1g'} - webserver - doi-service
Update setup-node and use caching
name: Tests on: push: schedule: # Every sunday at midnight - cron: '0 0 * * 0' jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - run: npm ci - run: npm run lint integration: runs-on: ubuntu-latest strategy: matrix: eslint: ["4.7", latest, next] steps: - uses: actions/checkout@v2 - run: npm ci - run: ESLINT_VERSION=${{ matrix.eslint }} ./tools/integration-tests.bash test: runs-on: ubuntu-latest strategy: matrix: include: - node: 10 eslint: latest - node: 12 eslint: latest - node: 14 eslint: "4.7" - node: 14 eslint: latest - node: 14 eslint: next steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - run: npm ci - run: npm install eslint@${{ matrix.eslint }} - run: npm test
name: Tests on: push: schedule: # Every sunday at midnight - cron: '0 0 * * 0' jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - run: npm ci - run: npm run lint integration: runs-on: ubuntu-latest strategy: matrix: eslint: ["4.7", latest, next] steps: - uses: actions/checkout@v2 - run: npm ci - run: ESLINT_VERSION=${{ matrix.eslint }} ./tools/integration-tests.bash test: runs-on: ubuntu-latest strategy: matrix: include: - node: 10 eslint: latest - node: 12 eslint: latest - node: 14 eslint: "4.7" - node: 14 eslint: latest - node: 14 eslint: next steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} cache: npm - run: npm ci - run: npm install eslint@${{ matrix.eslint }} - run: npm test
Use container-based infrastructure, and turn on caching
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 services: - redis before_script: - psql -U postgres -c 'CREATE DATABASE dummy_test' - bundle exec rake db:migrate RAILS_ENV=test
sudo: false language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 services: - redis before_script: - psql -U postgres -c 'CREATE DATABASE dummy_test' - bundle exec rake db:migrate RAILS_ENV=test
Remove coverage, undo last commit
# http://conda.pydata.org/docs/travis.html language: python python: # We don't actually use the Travis Python, but this keeps it organized. - "3.4" - "3.5" - "3.6" install: - sudo apt-get update # We do this conditionally because it saves us some downloading if the # version is the same. - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - 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 # Replace dep1 dep2 ... with your dependencies - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numexpr numpy python-dateutil scipy setuptools pytest pytest-cov coverage - source activate test-environment - pip install coveralls - python setup.py install script: pytest --cov=empymod/empymod after_success: coveralls
# http://conda.pydata.org/docs/travis.html language: python python: # We don't actually use the Travis Python, but this keeps it organized. - "3.4" - "3.5" - "3.6" install: - sudo apt-get update # We do this conditionally because it saves us some downloading if the # version is the same. - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - 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 # Replace dep1 dep2 ... with your dependencies - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numexpr numpy python-dateutil scipy setuptools pytest pytest-cov - source activate test-environment - pip install coveralls - python setup.py install script: pytest --cov=empymod after_success: coveralls
Migrate to container-based Travis infrastructure
language: cpp compiler: - gcc - clang branches: only: - master install: - sudo apt-get update -qq - sudo apt-get install -qq libqt4-dev script: - qmake - make - cd tests - for i in ./tst_*; do ./$i; done
language: cpp compiler: - gcc - clang branches: only: - master sudo: false addons: apt: packages: - libqt4-dev script: - qmake && make - cd tests - for i in ./tst_*; do ./$i; done
Remove Python 3.2 from the testing matrix.
language: python cache: directories: - $HOME/.cache/pip python: - "2.7" - "3.2" - "3.3" - "3.4" env: - DJANGO=1.7.7 - DJANGO=1.8.1 before_install: - sudo apt-get install libgeoip-dev install: - pip install -q Django==$DJANGO - pip install -e .[testing] - start_cms_project.py testing testing_dir/ --without-people --without-faqs --without-jobs --skip-frontend script: coverage run --source=cms --omit='*migrations*' testing_dir/manage.py test cms notifications: slack: onespacemedia:NufeDxb1m4D0UkuQh1O0m9qt email: false after_success: - coveralls
language: python cache: directories: - $HOME/.cache/pip python: - "2.7" - "3.3" - "3.4" env: - DJANGO=1.7.7 - DJANGO=1.8.1 before_install: - sudo apt-get install libgeoip-dev install: - pip install -q Django==$DJANGO - pip install -e .[testing] - start_cms_project.py testing testing_dir/ --without-people --without-faqs --without-jobs --skip-frontend script: coverage run --source=cms --omit='*migrations*' testing_dir/manage.py test cms notifications: slack: onespacemedia:NufeDxb1m4D0UkuQh1O0m9qt email: false after_success: - coveralls
Use "update-alternatives" to set GCC 5.
language: c++ sudo: true addons: apt: sources: - ubuntu-toolchain-r-test packages: - make - g++-5 before_install: # Use GCC 5 - export CXX="g++-5" CC="gcc-5" install: # Install Boost 1.61 - cd .. - wget https://sourceforge.net/projects/boost/files/boost/1.61.0/boost_1_61_0.tar.bz2 - tar --bzip2 -xf boost_1_61_0.tar.bz2 - cd boost_1_61_0 - ./bootstrap.sh - sudo ./b2 install - sudo ldconfig - cd ../BFGenerator script: - make test
language: c++ sudo: true addons: apt: sources: - ubuntu-toolchain-r-test packages: - make - g++-5 before_install: # Use GCC 5 - sudo update-alternatives --remove-all gcc - sudo update-alternatives --remove-all g++ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 10 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 10 - sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 20 - sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 20 - sudo update-alternatives --set cc /usr/bin/gcc - sudo update-alternatives --set c++ /usr/bin/g++ install: # Install Boost 1.61 - cd .. - wget https://sourceforge.net/projects/boost/files/boost/1.61.0/boost_1_61_0.tar.bz2 - tar --bzip2 -xf boost_1_61_0.tar.bz2 - cd boost_1_61_0 - ./bootstrap.sh - sudo ./b2 install - sudo ldconfig - cd ../BFGenerator script: - make test
Fix build error: excluded non supported ruby version from Puppet 3.0.0 and Puppet 3.1.0
branches: only: - master language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - ruby-head script: "bundle exec rake spec SPEC_OPTS='--format documentation'" env: matrix: - PUPPET_GEM_VERSION="~> 2.7.0" - PUPPET_GEM_VERSION="~> 3.0.0" - PUPPET_GEM_VERSION="~> 3.1.0" - PUPPET_GEM_VERSION="~> 3.3.0" matrix: allow_failures: - rvm: ruby-head exclude: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 2.7.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 2.7.0" notifications: email: - dejan@golja.org
branches: only: - master language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - ruby-head script: "bundle exec rake spec SPEC_OPTS='--format documentation'" env: matrix: - PUPPET_GEM_VERSION="~> 2.7.0" - PUPPET_GEM_VERSION="~> 3.0.0" - PUPPET_GEM_VERSION="~> 3.1.0" - PUPPET_GEM_VERSION="~> 3.3.0" matrix: allow_failures: - rvm: ruby-head exclude: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 2.7.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 2.7.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.1.0" notifications: email: - dejan@golja.org
Set ruby version to 2.1.1 when building on Travis-CI.
language: ruby rvm: - "ruby-2.1.0" script: - "bundle exec brakeman -z --skip-files config/initializers/secret_token.rb" - "bundle exec rake db:migrate" - "bundle exec rake spec:travisci" env: global: - RAILS_ENV=ci matrix: - TEST_SUITE=unit - TEST_SUITE=acceptance_1 - TEST_SUITE=acceptance_2 before_install: - "export DISPLAY=:99.0" - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 800x600x16" - "gem install bundler" before_script: - "cp config/database.yml.ci config/database.yml" - "cp config/initializers/secret_token.rb.ci config/initializers/secret_token.rb" - "cp config/initializers/devise.rb.ci config/initializers/devise.rb"
language: ruby rvm: - "ruby-2.1.1" script: - "bundle exec brakeman -z --skip-files config/initializers/secret_token.rb" - "bundle exec rake db:migrate" - "bundle exec rake spec:travisci" env: global: - RAILS_ENV=ci matrix: - TEST_SUITE=unit - TEST_SUITE=acceptance_1 - TEST_SUITE=acceptance_2 before_install: - "export DISPLAY=:99.0" - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 800x600x16" - "gem install bundler" before_script: - "cp config/database.yml.ci config/database.yml" - "cp config/initializers/secret_token.rb.ci config/initializers/secret_token.rb" - "cp config/initializers/devise.rb.ci config/initializers/devise.rb"
Update config.yml with new e-mail
language: node_js node_js: - "node" before_install: - npm install -g npm@latest notifications: email: recipients: - kalyons@mit.edu on_success: never on_failure: always
language: node_js node_js: - "node" before_install: - npm install -g npm@latest notifications: email: recipients: - kevinandrewlyons@gmail.com on_success: never on_failure: always
Revert "minor: remove bundler args"
language: ruby rvm: - 1.8.7 - 1.9.3 - ruby-head - jruby-head script: bundle exec rake test:ruby notifications: email: false #TODO: flowdock: [api token] services: - mongodb branches: only: - master - release matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head
language: ruby rvm: - 1.8.7 - 1.9.3 - ruby-head - jruby-head bundler_args: --without deployment script: bundle exec rake test:ruby notifications: email: false #TODO: flowdock: [api token] services: - mongodb branches: only: - master - release matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head
Use Ruby 2.2.4 on Travis CI
language: ruby rvm: - 2.2.1 script: bundle exec middleman build --verbose
language: ruby rvm: - 2.2.4 script: bundle exec middleman build --verbose
Update Go versions in Travis config
language: go go: - 1.3 - 1.4 - tip services: - rabbitmq before_script: ./bin/ci/before_build.sh script: make matrix: allow_failures: - go: tip notifications: email: - michael@rabbitmq.com
language: go go: - 1.3 - 1.4 - 1.5 - 1.6 - 1.7 - tip services: - rabbitmq before_script: ./bin/ci/before_build.sh script: make matrix: allow_failures: - go: tip notifications: email: - michael@rabbitmq.com
Disable Node.js v0.8 integration tests
language: node_js node_js: - "0.8" - "0.10" notifications: irc: channels: - "chat.freenode.net#montage" on_success: false template: - "%{author} broke the %{repository} tests on %{branch}: %{build_url}"
language: node_js node_js: - "0.10" notifications: irc: channels: - "chat.freenode.net#montage" on_success: false template: - "%{author} broke the %{repository} tests on %{branch}: %{build_url}"
Disable PHPCS check in Travis for the moment
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm env: global: - PLUGIN_NAME=FakeSeeder - REQUIRE="" matrix: - DB=mysql CAKE_VERSION=2.7 matrix: fast_finish: true allow_failures: - php: 7.0 - php: hhvm include: - php: 5.4 env: - COVERALLS=1 DB=mysql CAKE_VERSION=2.7 - php: 5.4 env: - PHPCS=1 DB=mysql CAKE_VERSION=2.7 before_script: - git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis - ../travis/before_script.sh - cd ../cakephp/app - echo "require './vendor/autoload.php';spl_autoload_unregister(array('App', 'load'));spl_autoload_register(array('App', 'load'), true, true);" >> Config/core.php - cat Config/core.php - cd .. script: - ../travis/script.sh after_success: - ../travis/after_success.sh notifications: email: false
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm env: global: - PLUGIN_NAME=FakeSeeder - REQUIRE="" matrix: - DB=mysql CAKE_VERSION=2.7 matrix: fast_finish: true allow_failures: - php: 7.0 - php: hhvm include: - php: 5.4 env: - COVERALLS=1 DB=mysql CAKE_VERSION=2.7 #- php: 5.4 #env: #- PHPCS=1 DB=mysql CAKE_VERSION=2.7 before_script: - git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis - ../travis/before_script.sh - cd ../cakephp/app - echo "require './vendor/autoload.php';spl_autoload_unregister(array('App', 'load'));spl_autoload_register(array('App', 'load'), true, true);" >> Config/core.php - cat Config/core.php - cd .. script: - ../travis/script.sh after_success: - ../travis/after_success.sh notifications: email: false
Remove Go 1.5 from the Travis continuous build.
language: go go_import_path: go.universe.tf/netboot go: - 1.5 - 1.6 - 1.7 - tip os: - linux before_install: - sudo apt-get -qq update - sudo apt-get install -y atftp install: - go get github.com/Masterminds/glide - go get github.com/golang/lint/golint before_script: script: - glide install - GO15VENDOREXPERIMENT=1 go build $(glide novendor) - GO15VENDOREXPERIMENT=1 go test $(glide novendor) - go vet $(glide novendor) - glide novendor | xargs -n1 golint
language: go go_import_path: go.universe.tf/netboot go: - 1.6 - 1.7 - tip os: - linux before_install: - sudo apt-get -qq update - sudo apt-get install -y atftp install: - go get github.com/Masterminds/glide - go get github.com/golang/lint/golint before_script: script: - glide install - GO15VENDOREXPERIMENT=1 go build $(glide novendor) - GO15VENDOREXPERIMENT=1 go test $(glide novendor) - go vet $(glide novendor) - glide novendor | xargs -n1 golint
Test on trusty (Ubuntu 14.04) with openjdk8
language: scala scala: - 2.12.1 jdk: - oraclejdk8 cache: directories: - $HOME/.ivy2 - $HOME/.sbt/launchers script: - ./sbt test # Trick to avoid unnecessary cache updates - find $HOME/.sbt -name "*.lock" | xargs rm - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
language: scala scala: - 2.12.1 dist: trusty jdk: - openjdk8 cache: directories: - $HOME/.ivy2 - $HOME/.sbt/launchers script: - ./sbt test # Trick to avoid unnecessary cache updates - find $HOME/.sbt -name "*.lock" | xargs rm - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
Upgrade go to 1.6 and try enabling tip
language: go go: - 1.5 # Temporarily disable until Travis CI is fast again #- tip cache: directories: - ~/.platformio - ~/.shellcheck addons: apt: packages: - libi2c-dev # shellcheck is not in Travis' Ubuntu #- shellcheck install: - pip install --user --upgrade platformio - platformio lib install 19 580 # Adafruit-DHT, EasyVR script: # Raspberry Pi part - curl https://raw.githubusercontent.com/dasfoo/travis/master/go.sh | sh # BotBoarduino part - platformio ci --board=diecimilaatmega328 bb # MotorController part - platformio ci --board=diecimilaatmega328 mc # Shell part - curl https://raw.githubusercontent.com/dasfoo/travis/master/shell.sh | sh -s bin/* branches: only: - master
language: go go: - 1.6 - tip cache: directories: - ~/.platformio - ~/.shellcheck addons: apt: packages: - libi2c-dev # shellcheck is not in Travis' Ubuntu #- shellcheck install: - pip install --user --upgrade platformio - platformio lib install 19 580 # Adafruit-DHT, EasyVR script: # Raspberry Pi part - curl https://raw.githubusercontent.com/dasfoo/travis/master/go.sh | sh # BotBoarduino part - platformio ci --board=diecimilaatmega328 bb # MotorController part - platformio ci --board=diecimilaatmega328 mc # Shell part - curl https://raw.githubusercontent.com/dasfoo/travis/master/shell.sh | sh -s bin/* branches: only: - master
Enable fast_finish on Travis CI
language: ruby rvm: - 2.2.3 - 2.3.1 - ruby-head branches: only: - "master" - "/^release-/" before_install: gem install bundler matrix: include: - rvm: jruby-9.0.5.0 env: DISABLE_NOKOGIRI=1 - rvm: jruby-9.0.5.0 env: DISABLE_NOKOGIRI=0 allow_failures: - rvm: jruby-9.0.5.0 env: DISABLE_NOKOGIRI=1 - rvm: jruby-9.0.5.0 env: DISABLE_NOKOGIRI=0 - rvm: ruby-head notifications: irc: channels: - "chat.freenode.net#nanoc" template: - "%{repository}/%{branch} %{commit} %{author}: %{message}" use_notice: true skip_join: true cache: bundler sudo: false git: depth: 10
language: ruby rvm: - 2.2.3 - 2.3.1 - ruby-head branches: only: - "master" - "/^release-/" before_install: gem install bundler matrix: fast_finish: true include: - rvm: jruby-9.0.5.0 env: DISABLE_NOKOGIRI=1 - rvm: jruby-9.0.5.0 env: DISABLE_NOKOGIRI=0 allow_failures: - rvm: jruby-9.0.5.0 env: DISABLE_NOKOGIRI=1 - rvm: jruby-9.0.5.0 env: DISABLE_NOKOGIRI=0 - rvm: ruby-head notifications: irc: channels: - "chat.freenode.net#nanoc" template: - "%{repository}/%{branch} %{commit} %{author}: %{message}" use_notice: true skip_join: true cache: bundler sudo: false git: depth: 10
Add Windows build config to Travis
language: go sudo: false dist: trusty env: HUGO_BUILD_TAGS="extended" git: depth: false go: - 1.11 - tip os: - linux - osx matrix: allow_failures: - go: tip fast_finish: true install: - mkdir -p $HOME/src - mv $HOME/gopath/src/github.com/gohugoio/hugo $HOME/src - export TRAVIS_BUILD_DIR=$HOME/src/hugo - cd $HOME/src/hugo - go get github.com/magefile/mage script: - go mod download - mage -v test - mage -v check - mage -v hugo - ./hugo -s docs/ - ./hugo --renderToMemory -s docs/ before_install: - gem install asciidoctor - type asciidoctor
language: go sudo: false dist: trusty env: global: - HUGO_BUILD_TAGS="extended" git: depth: false go: - 1.11 - tip os: - linux - osx - windows matrix: allow_failures: - go: tip fast_finish: true exclude: - os: windows go: tip install: - mkdir -p $HOME/src - mv $HOME/gopath/src/github.com/gohugoio/hugo $HOME/src - export TRAVIS_BUILD_DIR=$HOME/src/hugo - cd $HOME/src/hugo - go get github.com/magefile/mage script: - go mod download - mage -v test - mage -v check - mage -v hugo - ./hugo -s docs/ - ./hugo --renderToMemory -s docs/ - df -h before_install: - df -h # https://travis-ci.community/t/go-cant-find-gcc-with-go1-11-1-on-windows/293/5 - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install mingw -y; export PATH=/c/tools/mingw64/bin:"$PATH"; fi - gem install asciidoctor - type asciidoctor
Install the appropriate packages for 0mq 3
before_install: - sudo apt-add-repository ppa:chris-lea/zeromq -y - sudo apt-get update - sudo apt-get install zeromq3 -y language: ruby rvm: - 2.0.0 cache: bundler
before_install: - sudo apt-add-repository ppa:chris-lea/zeromq -y - sudo apt-get update - sudo apt-get install libzmq3 libzmq3-dev -y language: ruby rvm: - 2.0.0 cache: bundler
Test agains builds on Travis
language: node_js node_js: - "node" env: - BROWSERS=PhantomJS - BROWSERS=jsdom - BROWSERS=Firefox - BROWSERS=Chrome - BROWSERS=Safari - BROWSERS=Edge18 - BROWSERS=Edge17 - BROWSERS=Edge16 - BROWSERS=Edge15 - BROWSERS=Edge14 - BROWSERS=Edge13 - BROWSERS=IE11 - BROWSERS=IE10 - BROWSERS=IE9 - BROWSERS=IE8 matrix: allow_failures: - env: BROWSERS=IE8 cache: directories: - node_modules stages: - ensure built - lint - test jobs: include: - stage: ensure built script: make build && [ -z "$(git status -s dist/)" ] - stage: lint script: make lint script: make test-ci
language: node_js node_js: - "node" env: - BROWSERS=PhantomJS - BROWSERS=jsdom - BROWSERS=Firefox - BROWSERS=Chrome - BROWSERS=Safari - BROWSERS=Edge18 - BROWSERS=Edge17 - BROWSERS=Edge16 - BROWSERS=Edge15 - BROWSERS=Edge14 - BROWSERS=Edge13 - BROWSERS=IE11 - BROWSERS=IE10 - BROWSERS=IE9 - BROWSERS=IE8 matrix: allow_failures: - env: BROWSERS=IE8 cache: directories: - node_modules stages: - ensure built - lint - test jobs: include: - stage: ensure built script: make build && [ -z "$(git status -s dist/)" ] - stage: lint script: make lint script: env TEST_AGAINST_BUILD=1 make test-ci
Build with Node.js 10 on Travis CI.
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
sudo: false language: node_js node_js: - '4' - '6' - '8' - '10' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g istanbul coveralls
Install pulseaudio... maybe it works?
language: python python: - "2.7" virtualenv: system_site_packages: true before_install: - "sudo apt-get update -qq" - "sudo apt-get install -qq python-numpy python-scipy python-nose python-matplotlib ipython python-pyaudio libasound2 libasound2-plugins libasound-dev alsa-base" - "sudo ldconfig" - "pip install spectrum" - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" install: - "python setup.py build_ext --inplace" script: - "python setup.py test"
language: python python: - "2.7" virtualenv: system_site_packages: true before_install: - "sudo apt-get update -qq" - "sudo apt-get install -qq python-numpy python-scipy python-nose python-matplotlib ipython python-pyaudio libasound2 libasound2-plugins libasound-dev pulseaudio alsa-base" - "sudo ldconfig" - "pip install spectrum" - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" install: - "python setup.py build_ext --inplace" script: - "python setup.py test"
Stop testing on Node.js 6
sudo: false language: node_js cache: directories: - ~/.npm notifications: email: false addons: apt: sources: - ubuntu-toolchain-r-test packages: - graphviz - plotutils - imagemagick - librsvg2-bin - build-essential - g++-4.8 env: - CXX=g++-4.8 node_js: - '12' - '10' - '8' - '6' python: - "2.7" before_install: - pip install --user -U pip - pip install --user image scruffy before_script: - npm install -g grunt-cli after_success: - npx semantic-release branches: except: - /^v\d+\.\d+\.\d+$/
sudo: false language: node_js cache: directories: - ~/.npm notifications: email: false addons: apt: sources: - ubuntu-toolchain-r-test packages: - graphviz - plotutils - imagemagick - librsvg2-bin - build-essential - g++-4.8 env: - CXX=g++-4.8 node_js: - '12' - '10' - '8' python: - "2.7" before_install: - pip install --user -U pip - pip install --user image scruffy before_script: - npm install -g grunt-cli after_success: - npx semantic-release branches: except: - /^v\d+\.\d+\.\d+$/
Add PHP7.3 and nightly build to Travis CI configuration
sudo: false language: php php: - 5.6 - 7.0 - 7.1 script: # Syntax check all php files and fail for any error text in STDERR - '! find . -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 >&- | grep "^"'
sudo: false language: php php: - 5.6 - 7.0 - 7.3 - nightly matrix: allow_failures: - php: nightly script: # Syntax check all php files and fail for any error text in STDERR - '! find . -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 >&- | grep "^"'
Add ruby 2.3 to the build matrix
language: ruby sudo: false cache: bundler rvm: - 2.0 - 2.1 - 2.2 - rbx-2 - jruby matrix: allow_failures: - rvm: rbx-2 - rvm: jruby before_install: bundle update --quiet
language: ruby sudo: false cache: bundler rvm: - 2.0 - 2.1 - 2.2 - 2.3.0 - rbx-2 - jruby matrix: allow_failures: - rvm: rbx-2 - rvm: jruby before_install: bundle update --quiet
Update Travis config in accordance with new bin/setup logic
language: ruby dist: xenial cache: bundler rvm: - 2.6 env: - GNUPGHOME=/tmp/fauna_fake_gpg_home RAILS_ENV=test script: - RAILS_ENV=test bundle exec rake --trace spec before_script: - psql -c 'create database fauna_development;' -U postgres - psql -c 'create database fauna_test;' -U postgres - cp config/database.yml.travis config/database.yml - mkdir $GNUPGHOME - gpg -K - gpg --gen-key --batch spec/support/test_gpg_key_generation.batch - bin/setup addons: chrome: stable apt: packages: - chromium-chromedriver services: - postgresql
language: ruby dist: xenial cache: bundler rvm: - 2.6 env: - GNUPGHOME=/tmp/fauna_fake_gpg_home RAILS_ENV=test script: - RAILS_ENV=test bundle exec rake --trace spec before_script: - psql -c 'create database fauna_development;' -U postgres - psql -c 'create database fauna_test;' -U postgres - cp config/database.yml.travis config/database.yml - mkdir $GNUPGHOME - gpg -K - gpg --gen-key --batch spec/support/test_gpg_key_generation.batch - bin/setup -u travis -e travis@example.com -n travis -p foobarbaz addons: chrome: stable apt: packages: - chromium-chromedriver services: - postgresql
Install bower on Travis CI
language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli
language: node_js node_js: - "0.10" before_install: - npm install -g bower grunt-cli
Update Travis to use 1.7
sudo: true language: go go: - 1.5.3 addons: apt: packages: - fuse script: - make notifications: email: jesse.szwedko@gmail.com
sudo: true language: go go: - 1.7 addons: apt: packages: - fuse script: - make notifications: email: jesse.szwedko@gmail.com
Use Java8 for Codacy code coverage publishing
language: java before_install: - sudo apt-get install jq - wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url) jdk: - openjdk7 - oraclejdk8 after_success: - mvn jacoco:report coveralls:report - java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r target/site/jacoco/jacoco.xml
language: java before_install: - sudo apt-get install jq - wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url) jdk: - openjdk7 - oraclejdk8 after_success: - mvn jacoco:report coveralls:report - jdk_switcher use oraclejdk8 - java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r target/site/jacoco/jacoco.xml
Test against latest Node version
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' matrix: fast_finish: true script: npm test --coverage after_script: codeclimate < coverage/lcov.info
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' - 'nodejs' matrix: fast_finish: true script: npm test --coverage after_script: codeclimate < coverage/lcov.info
Add Python 3.5 and 3.6 to Travis.
language: python python: - "pypy" - 2.6 - 2.7 - 3.3 - 3.4 matrix: include: - python: "3.2" install: - pip install jsonschema==2.3.0 script: - python setup.py test install: - pip install coveralls script: - coverage run --source=jsonmerge setup.py test after_success: - coveralls
language: python python: - "pypy" - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 - 3.6 matrix: include: - python: "3.2" install: - pip install jsonschema==2.3.0 script: - python setup.py test install: - pip install coveralls script: - coverage run --source=jsonmerge setup.py test after_success: - coveralls
Include Registrar & Designer defaults in OAuth2 role
- name: Configure OAuth2 clients hosts: all become: True gather_facts: True vars_files: - "roles/common_vars/defaults/main.yml" - "roles/edxapp/defaults/main.yml" - "roles/insights/defaults/main.yml" - "roles/ecommerce/defaults/main.yml" - "roles/credentials/defaults/main.yml" - "roles/discovery/defaults/main.yml" - "roles/journals/defaults/main.yml" - "roles/veda_web_frontend/defaults/main.yml" roles: - oauth_client_setup
- name: Configure OAuth2 clients hosts: all become: True gather_facts: True vars_files: - "roles/common_vars/defaults/main.yml" - "roles/edxapp/defaults/main.yml" - "roles/insights/defaults/main.yml" - "roles/ecommerce/defaults/main.yml" - "roles/credentials/defaults/main.yml" - "roles/discovery/defaults/main.yml" - "roles/journals/defaults/main.yml" - "roles/veda_web_frontend/defaults/main.yml" - "roles/registrar/defaults/main.yml" - "roles/designer/defaults/main.yml" roles: - oauth_client_setup
Add git to circle image
version: 2 jobs: build: working_directory: /PySyft docker: - image: docker:latest steps: - checkout - setup_remote_docker - run: name: Build application Docker image command: | docker build -t pysyft . - run: name: Run tests command: | docker run --rm pysyft pytest docker run --rm pysyft pytest --flake8 - deploy: name: Push application Docker image command: | if [ "${CIRCLE_BRANCH}" == "develop" ]; then docker login -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PASS}" docker tag pysyft "${DOCKERHUB_REPO}:edge" docker push "${DOCKERHUB_REPO}:edge" elif [ "${CIRCLE_BRANCH}" == "master" ]; then docker login -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PASS}" docker tag pysyft "${DOCKERHUB_REPO}:latest" docker push "${DOCKERHUB_REPO}:latest" fi
version: 2 jobs: build: working_directory: /PySyft docker: - image: docker:latest steps: # Ensure your image has git, otherwise the checkout step will fail - run: apt-get -qq update; apt-get -y install git - checkout - setup_remote_docker - run: name: Build application Docker image command: | docker build -t pysyft . - run: name: Run tests command: | docker run --rm pysyft pytest docker run --rm pysyft pytest --flake8 - deploy: name: Push application Docker image command: | if [ "${CIRCLE_BRANCH}" == "develop" ]; then docker login -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PASS}" docker tag pysyft "${DOCKERHUB_REPO}:edge" docker push "${DOCKERHUB_REPO}:edge" elif [ "${CIRCLE_BRANCH}" == "master" ]; then docker login -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PASS}" docker tag pysyft "${DOCKERHUB_REPO}:latest" docker push "${DOCKERHUB_REPO}:latest" fi
Remove unauthorized npm update command
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/node:7.10 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mongo:3.4.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn global add npm - run: npm i -g elm - run: npm i -g snyk - run: npm i -g elm-test - run: npm install - run: elm-package install --yes - run: snyk test - save_cache: paths: - node_modules - elm-stuff key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: npm run build - run: npm test
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/node:7.10 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mongo:3.4.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: npm i -g elm - run: npm i -g snyk - run: npm i -g elm-test - run: npm install - run: elm-package install --yes - run: snyk test - save_cache: paths: - node_modules - elm-stuff key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: npm run build - run: npm test
Edit config.yml for initial site.
########################### EDIT YOUR SETTINGS HERE # Site settings title: Brume # give your site a title email: you@example.com # put your email address in here; optional # edit your site description; keep it brief description: > # this just means to ignore newlines until "baseurl:" Brume is simple. It's easy to use. It's a Jekyll theme. baseurl: # the subpath of your site, e.g. /blog/; if unsure, leave this blank url: http://[username].github.io # replace [username] with your github username (no brackets) github_username: github_username # replace with your github username ########################## DO NOT EDIT BELOW HERE UNLESS YOU'RE STOKED TO HACK # build settings markdown: kramdown # highlighter: rouge # for local testing highlighter: pygments # for deployment to github pages permalink: /blog/:year-:month-:day/:title.html kramdown: input: GFM sass: sass_dir: public/css style: :compressed
########################### EDIT YOUR SETTINGS HERE # Site settings title: Noah McMullen's Cool Blog for Adults # give your site a title email: noahmcmlln@gmail.com # put your email address in here; optional # edit your site description; keep it brief description: > # this just means to ignore newlines until "baseurl:" The adventures of a theory boy who's kind of afraid to code but will do it anyway. baseurl: # the subpath of your site, e.g. /blog/; if unsure, leave this blank url: http://noahmcmlln.github.io # replace [username] with your github username (no brackets) github_username: noahmcmlln # replace with your github username ########################## DO NOT EDIT BELOW HERE UNLESS YOU'RE STOKED TO HACK # build settings markdown: kramdown # highlighter: rouge # for local testing highlighter: pygments # for deployment to github pages permalink: /blog/:year-:month-:day/:title.html kramdown: input: GFM sass: sass_dir: public/css style: :compressed
Update Timer +X to 1.2.2 (6)
Categories: - Time License: Apache-2.0 AuthorName: Humberto Fraga AuthorEmail: humberto.fraga+fdroid512@gmail.com SourceCode: https://gitlab.com/humbertofraga/timerx IssueTracker: https://gitlab.com/humbertofraga/timerx/issues AutoName: Timer +X RepoType: git Repo: https://gitlab.com/humbertofraga/timerx.git Builds: - versionName: '1.1' versionCode: 3 commit: v1.1 subdir: app gradle: - yes - versionName: 1.2.1 versionCode: 5 commit: b92b15d92200bc472fc99b901e3aeb467bb1cd24 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.2.1 CurrentVersionCode: 5
Categories: - Time License: Apache-2.0 AuthorName: Humberto Fraga AuthorEmail: humberto.fraga+fdroid512@gmail.com SourceCode: https://gitlab.com/humbertofraga/timerx IssueTracker: https://gitlab.com/humbertofraga/timerx/issues AutoName: Timer +X RepoType: git Repo: https://gitlab.com/humbertofraga/timerx.git Builds: - versionName: '1.1' versionCode: 3 commit: v1.1 subdir: app gradle: - yes - versionName: 1.2.1 versionCode: 5 commit: b92b15d92200bc472fc99b901e3aeb467bb1cd24 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes - versionName: 1.2.2 versionCode: 6 commit: f0d3744ef65847f56281cfc5d75961d6c79ac139 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.2.2 CurrentVersionCode: 6
Bump Nginx image to ami-1e2d7469
--- aws_region: eu-west-1 internal_root_domain: dmdev user_ips: - 0.0.0.0/0 dev_user_ips: - 127.0.0.1/32 api: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 search_api: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 admin_frontend: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 buyer_frontend: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 supplier_frontend: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 database: port: 5432 user: "digitalmarketplace" name: "digitalmarketplace_api" instance_type: db.t2.micro allocated_storage: 5 elasticsearch: port: 9200 instance_type: t2.micro instance_count: 3 instance_image: ami-2999f65e nginx: instance_type: t2.micro instance_count: 2 instance_image: ami-36f6a541
--- aws_region: eu-west-1 internal_root_domain: dmdev user_ips: - 0.0.0.0/0 dev_user_ips: - 127.0.0.1/32 api: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 search_api: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 admin_frontend: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 buyer_frontend: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 supplier_frontend: instance_type: t2.micro min_instance_count: 1 max_instance_count: 2 database: port: 5432 user: "digitalmarketplace" name: "digitalmarketplace_api" instance_type: db.t2.micro allocated_storage: 5 elasticsearch: port: 9200 instance_type: t2.micro instance_count: 3 instance_image: ami-2999f65e nginx: instance_type: t2.micro instance_count: 2 instance_image: ami-1e2d7469
Update to the latest schedulers
--- mesos_version: 0.22.0 marathon_version: 0.8.1 chronos_version: 2.3.2 zookeeper_version: 3.4.6
--- mesos_version: 0.22.1 marathon_version: 0.8.2 chronos_version: 2.3.4 zookeeper_version: 3.4.6
Use 'geerlingguy.security' on master instances
--- dependencies: - { role: geerlingguy.jenkins }
--- dependencies: - { role: geerlingguy.security } - { role: geerlingguy.jenkins }
Add site-dev and site-prod services which extend site service
version: '2' services: postgresql: image: postgres:9.4 expose: - "5432" elasticsearch: image: elasticsearch:1.7 expose: - "9200" - "9300" redis: image: redis:3.0 expose: - "6379" site: build: context: site args: MB_OAUTH_CLIENT_ID: MBOAuthClientID MB_OAUTH_CLIENT_SECRET: MBOAuthClientSecret MB_OAUTH_CALLBACK_URL: http:\/\/localhost:9099\/cb SESSION_SECRET: SessionSecret volumes: - "./dumps:/dumps" links: - "postgresql:db" - "redis:redis" - "elasticsearch:es" ports: - "9099:9099"
version: '2' services: postgresql: image: postgres:9.4 expose: - "5432" elasticsearch: image: elasticsearch:1.7 expose: - "9200" - "9300" redis: image: redis:3.0 expose: - "6379" site: build: context: site args: MB_OAUTH_CLIENT_ID: MBOAuthClientID MB_OAUTH_CLIENT_SECRET: MBOAuthClientSecret MB_OAUTH_CALLBACK_URL: http:\/\/localhost:9099\/cb SESSION_SECRET: SessionSecret volumes: - "./dumps:/dumps" ports: - "9099:9099" site-dev: extends: site links: - "postgresql:db" - "redis:redis" - "elasticsearch:es" site-prod: extends: site command: /Start.sh links: - "postgresql:db" - "redis:redis" - "elasticsearch:es"
Exclude bin from code climate.
languages: PHP: true JavaScript: true exclude_paths: - "tests/*" - "*/uw-brand/*"
languages: PHP: true JavaScript: true exclude_paths: - "tests/*" - "bin/*" - "*/uw-brand/*"
Add run options in the CI configuration
tools: external_code_coverage: timeout: 2000 filter: excluded_paths: - 'tests' - 'sam.php'
tools: external_code_coverage: timeout: 2000 runs: 8 filter: excluded_paths: - 'tests' - 'sam.php'
Add testweb container for use in Codeship (CI/CD) tests
db: image: mariadb:10 environment: MYSQL_ROOT_PASSWORD: r00tp@ss! MYSQL_DATABASE: test MYSQL_USER: silauth MYSQL_PASSWORD: silauth web: image: silintl/ssp-base:latest env_file: - ./common.env depends_on: - db volumes: - ./:/data/vendor/simplesamlphp/simplesamlphp/modules/silauth - ./development/run-tests.sh:/data/run-tests.sh environment: MYSQL_HOST: db MYSQL_DATABASE: test MYSQL_USER: silauth MYSQL_PASSWORD: silauth APPLICATION_ENV: testing IDP_DOMAIN_NAME: fake.example.com working_dir: /data encrypted_env_file: codeship.env.encrypted
db: image: mariadb:10 environment: MYSQL_ROOT_PASSWORD: r00tp@ss! MYSQL_DATABASE: test MYSQL_USER: silauth MYSQL_PASSWORD: silauth web: image: silintl/ssp-base:latest env_file: - ./common.env depends_on: - db - testweb volumes: - ./:/data/vendor/simplesamlphp/simplesamlphp/modules/silauth - ./development/run-tests.sh:/data/run-tests.sh environment: MYSQL_HOST: db MYSQL_DATABASE: test MYSQL_USER: silauth MYSQL_PASSWORD: silauth APPLICATION_ENV: testing IDP_DOMAIN_NAME: fake.example.com working_dir: /data encrypted_env_file: codeship.env.encrypted testweb: image: silintl/ssp-base:latest env_file: - ./common.env depends_on: - db volumes: - ./:/data/vendor/simplesamlphp/simplesamlphp/modules/silauth - ./development/run-tests.sh:/data/run-tests.sh environment: MYSQL_HOST: db MYSQL_DATABASE: test MYSQL_USER: silauth MYSQL_PASSWORD: silauth APPLICATION_ENV: testing IDP_DOMAIN_NAME: fake.example.com IDP_NAME: dummy working_dir: /data encrypted_env_file: codeship.env.encrypted
Set SYMFONY_ENV when deploying the container
--- - name: Create directory to keep configfile file: dest: "/opt/openconext/spdashboard" state: directory owner: root group: root mode: 0770 - name: Place the configfile template: src: parameters.yml.j2 dest: /opt/openconext/spdashboard/parameters.yml owner: root group: root mode: 0644 - name: Create the spdashboard container network docker_network: name: "spdashboard" - name: Create the web container docker_container: name: spdashboard_web image: ghcr.io/surfnet/sp-dashboard/spdashboard_web:{{ spd_docker_web_version }} published_ports: 0.0.0.0:80:80 pull: true restart_policy: "always" networks: - name: "spdashboard" - name: Create the php-fpm container docker_container: name: spdashboard_php-fpm image: ghcr.io/surfnet/sp-dashboard/spdashboard_php-fpm:{{ spd_docker_phpfpm_version }} pull: true restart_policy: "always" mounts: - source: /opt/openconext/spdashboard/parameters.yml target: /var/www/html/app/config/parameters.yml type: bind - source: /dev/log target: /dev/log type: bind networks: - name: "spdashboard"
--- - name: Create directory to keep configfile file: dest: "/opt/openconext/spdashboard" state: directory owner: root group: root mode: 0770 - name: Place the configfile template: src: parameters.yml.j2 dest: /opt/openconext/spdashboard/parameters.yml owner: root group: root mode: 0644 - name: Create the spdashboard container network docker_network: name: "spdashboard" - name: Create the web container docker_container: name: spdashboard_web image: ghcr.io/surfnet/sp-dashboard/spdashboard_web:{{ spd_docker_web_version }} published_ports: 0.0.0.0:80:80 pull: true restart_policy: "always" networks: - name: "spdashboard" - name: Create the php-fpm container docker_container: name: spdashboard_php-fpm image: ghcr.io/surfnet/sp-dashboard/spdashboard_php-fpm:{{ spd_docker_phpfpm_version }} pull: true restart_policy: "always" env: SYMFONY_ENV: "prod" mounts: - source: /opt/openconext/spdashboard/parameters.yml target: /var/www/html/app/config/parameters.yml type: bind - source: /dev/log target: /dev/log type: bind networks: - name: "spdashboard"
Move the yubikey setup to the end as auth problems with ensue if a playbook fails half way
--- - include: networking.yml - include: nvidia.yml - include: programs.yml - include: i3wm.yml - include: google_chrome.yml - include: chromium_browser.yml - include: virtualbox.yml - include: git.yml - include: ansible.yml - include: x11.yml - include: function_keys.yml - include: scripts.yml - include: sounds.yml - include: yubikey.yml - include: emojione_picker.yml - include: rclone.yml - include: usbmount.yml - include: rng_tools.yml - include: docker_setup.yml - include: post_file_permissions.yml
--- - include: networking.yml - include: nvidia.yml - include: programs.yml - include: i3wm.yml - include: google_chrome.yml - include: chromium_browser.yml - include: virtualbox.yml - include: git.yml - include: ansible.yml - include: x11.yml - include: function_keys.yml - include: scripts.yml - include: sounds.yml - include: emojione_picker.yml - include: rclone.yml - include: usbmount.yml - include: rng_tools.yml - include: docker_setup.yml - include: yubikey.yml - include: post_file_permissions.yml
Make the demo use the default key mykey
heat_template_version: 2013-05-23 parameters: public_net_id: type: string description: uuid of a network to use for floating ip addresses demo_net_id: type: string description: uuid of a subnet on the fixed network to use for creating ports demo_subnet_id: type: string description: uuid of a subnet on the fixed network to use for creating ports resources: steak_node: type: "OS::Nova::Server" properties: key_name: sdake image: cirros flavor: m1.small networks: - port: get_resource: steak_node_eth0 steak_node_eth0: type: "OS::Neutron::Port" properties: network_id: get_param: demo_net_id fixed_ips: - subnet_id: get_param: demo_subnet_id steak_node_floating: type: "OS::Neutron::FloatingIP" properties: floating_network_id: get_param: public_net_id port_id: get_resource: steak_node_eth0
heat_template_version: 2013-05-23 parameters: public_net_id: type: string description: uuid of a network to use for floating ip addresses demo_net_id: type: string description: uuid of a subnet on the fixed network to use for creating ports demo_subnet_id: type: string description: uuid of a subnet on the fixed network to use for creating ports resources: steak_node: type: "OS::Nova::Server" properties: key_name: mykey image: cirros flavor: m1.small networks: - port: get_resource: steak_node_eth0 steak_node_eth0: type: "OS::Neutron::Port" properties: network_id: get_param: demo_net_id fixed_ips: - subnet_id: get_param: demo_subnet_id steak_node_floating: type: "OS::Neutron::FloatingIP" properties: floating_network_id: get_param: public_net_id port_id: get_resource: steak_node_eth0
Deploy to RubyGems on passing ruby 2.0.0.
language: ruby before_install: - gem update bundler - bundle version rvm: - "1.9.3" - "2.0.0" - "2.1" - "2.2" - ruby-head - jruby-19mode matrix: fast_finish: true allow_failures: - rvm: ruby-head - rvm: jruby-19mode deploy: provider: rubygems api_key: secure: BQQeiJ84RINkM5Pxm7zFSAbOS2T5THi+37CoswQXe5eTi+0PIl14plWJByGOj2ho2e6kam5XU/VUgQzDexhkFz174QDP+BIuhdNxRMuMqgKuffi0Cyb9CM7JybpsB+Yd97X3nNxiubR/qoJPQ5nvG1SvCuF2TK3Zq8cL5VfxZ9o= gem: ovpnmcgen.rb on: tags: true repo: "iphoting/ovpnmcgen.rb" branch: master
language: ruby before_install: - gem update bundler - bundle version rvm: - "1.9.3" - "2.0.0" - "2.1" - "2.2" - ruby-head - jruby-19mode matrix: fast_finish: true allow_failures: - rvm: ruby-head - rvm: jruby-19mode deploy: provider: rubygems api_key: secure: BQQeiJ84RINkM5Pxm7zFSAbOS2T5THi+37CoswQXe5eTi+0PIl14plWJByGOj2ho2e6kam5XU/VUgQzDexhkFz174QDP+BIuhdNxRMuMqgKuffi0Cyb9CM7JybpsB+Yd97X3nNxiubR/qoJPQ5nvG1SvCuF2TK3Zq8cL5VfxZ9o= gem: ovpnmcgen.rb on: tags: true repo: "iphoting/ovpnmcgen.rb" ruby: 2.0.0
Update from Hackage at 2017-10-08T10:23:13Z
homepage: https://github.com/louispan/stm-extras#readme changelog-type: '' hash: 918fcc38da244702bb6366c9fdde23e60093715c89bcc65f77b6948f9092ca60 test-bench-deps: {} maintainer: louis@pan.me synopsis: Extra STM functions changelog: '' basic-deps: stm: ! '>=2.4 && <3' base: <6 all-versions: - '0.1.0.2' author: Louis Pan latest: '0.1.0.2' description-type: markdown description: ! '[![Hackage](https://img.shields.io/hackage/v/stm-extras.svg)](https://hackage.haskell.org/package/stm-extras) [![Build Status](https://secure.travis-ci.org/louispan/stm-extras.png?branch=master)](http://travis-ci.org/louispan/stm-extras) Extra STM functions' license-name: BSD3
homepage: https://github.com/louispan/stm-extras#readme changelog-type: '' hash: d1297db3f48eb54f2cc6322af6033de016e222583ddcdf70bace6518e649caa4 test-bench-deps: {} maintainer: louis@pan.me synopsis: Extra STM functions changelog: '' basic-deps: stm: ! '>=2.4 && <3' base: <6 all-versions: - '0.1.0.2' - '0.1.0.3' author: Louis Pan latest: '0.1.0.3' description-type: markdown description: ! "[![Hackage](https://img.shields.io/hackage/v/stm-extras.svg)](https://hackage.haskell.org/package/stm-extras)\n[![Build Status](https://secure.travis-ci.org/louispan/stm-extras.png?branch=master)](http://travis-ci.org/louispan/stm-extras)\n\nExtra STM functions\n\n\n# Changelog\n\n* 0.1.0.0 ~ 0.1.0.2\n - Added forceSwapTMVar, waitTillEmptyTMVar, waitTillFullTMVar\n\n* 0.1.0.3\n - Removed inline pragmas until I have actual benchmarks" license-name: BSD3
Update from Hackage at 2019-06-07T13:14:58Z
homepage: https://github.com/lspitzner/bindynamic changelog-type: '' hash: 449d4e5cf87f2a97ce61e9861f36645cdc03c5cf00746f14215a1c109a9df16e test-bench-deps: {} maintainer: Lennart Spitzner <hexagoxel@hexagoxel.de> synopsis: A variation of Data.Dynamic.Dynamic with a Binary instance changelog: '' basic-deps: bytestring: ! '>=0.9.2 && <0.11' base: ! '>=4.8 && <4.12' binary: ! '>=0.5.0.2 && <0.9' rank1dynamic: ! '>=0.4 && <0.5' all-versions: - 1.0.0.0 - 1.0.0.1 author: Lennart Spitzner latest: 1.0.0.1 description-type: haddock description: ! 'This Dynamic is instance Binary by encapsulating only values of types that are Binary. It is a bit more efficient than something similar to (ByteString, TypeRep) as it avoids unnecessary encode/decoding round-trips.' license-name: GPL-3.0-only
homepage: https://github.com/lspitzner/bindynamic changelog-type: '' hash: c318379a2496ea10802a8dd036783066dedfed0732f932568ea2b41e64800257 test-bench-deps: {} maintainer: Lennart Spitzner <hexagoxel@hexagoxel.de> synopsis: A variation of Data.Dynamic.Dynamic with a Binary instance changelog: '' basic-deps: bytestring: ! '>=0.9.2 && <0.11' base: ! '>=4.8 && <4.14' binary: ! '>=0.5.0.2 && <0.9' rank1dynamic: ! '>=0.4 && <0.5' all-versions: - 1.0.0.0 - 1.0.0.1 author: Lennart Spitzner latest: 1.0.0.1 description-type: haddock description: |- This Dynamic is instance Binary by encapsulating only values of types that are Binary. It is a bit more efficient than something similar to (ByteString, TypeRep) as it avoids unnecessary encode/decoding round-trips. license-name: GPL-3.0-only
Add python3.7 to GitHub action
name: CrackMapExec Tests & Build on: [push] jobs: test: name: CrackMapExec Tests on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: max-parallel: 4 matrix: os: [ubuntu-latest, macOS-latest] steps: - uses: actions/checkout@v2 with: submodules: 'recursive' - name: CrackMapExec tests on ${{ matrix.os }} uses: actions/setup-python@v1 with: python-version: 3.8 - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Run Tests run: | pip install flake8 make tests - name: Build binaries with Shiv run: | pip install shiv make build - name: Upload cme binary uses: actions/upload-artifact@master with: name: cme-${{ matrix.os }} path: bin/cme - name: Upload cmedb binary uses: actions/upload-artifact@master with: name: cmedb-${{ matrix.os }} path: bin/cmedb
name: CrackMapExec Tests & Build on: [push] jobs: test: name: CrackMapExec Tests on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: max-parallel: 4 matrix: os: [ubuntu-latest, macOS-latest] steps: - uses: actions/checkout@v2 with: submodules: 'recursive' - name: CrackMapExec tests on ${{ matrix.os }} uses: actions/setup-python@v1 with: python-version: [3.7, 3.8] - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Run Tests run: | pip install flake8 make tests - name: Build binaries with Shiv run: | pip install shiv make build - name: Upload cme binary uses: actions/upload-artifact@master with: name: cme-${{ matrix.os }} path: bin/cme - name: Upload cmedb binary uses: actions/upload-artifact@master with: name: cmedb-${{ matrix.os }} path: bin/cmedb
Improve searchability of docker config
version: '2' services: c2s-frontend: image: "nhsuk/connecting-to-services:${DOCKER_IMAGE_TAG}" environment: NODE_ENV: production HOTJAR_ANALYTICS_TRACKING_ID: ${HOTJAR_ANALYTICS_TRACKING_ID} GOOGLE_ANALYTICS_TRACKING_ID: ${GOOGLE_ID} WEBTRENDS_ANALYTICS_TRACKING_ID: ${WEBTRENDS_ANALYTICS_TRACKING_ID} API_BASE_URL: 'http://nearby-services-api.nearby-services-api:3001' labels: traefik.enable: true traefik.frontend.auth.basic: ${BASIC_AUTH} traefik.frontend.rule: $TRAEFIK_RULE traefik.backend: ${RANCHER_STACK_NAME}-connecting-to-services traefik.port: 3000 prometheus.port: 3000 prometheus.monitoring: true io.rancher.container.pull_image: always logging: driver: splunk options: splunk-url: ${SPLUNK_HEC_URL} splunk-token: ${SPLUNK_HEC_TOKEN} splunk-insecureskipverify: "true" splunk-sourcetype: docker splunk-source: connecting-to-services splunk-verify-connection: "false" tag: "{{`{{.ImageName}} {{.Name}} {{.FullID}}`}}" splunk-format: json
version: '2' services: c2s-frontend: image: "nhsuk/connecting-to-services:${DOCKER_IMAGE_TAG}" environment: API_BASE_URL: 'http://nearby-services-api.nearby-services-api:3001' GOOGLE_ANALYTICS_TRACKING_ID: ${GOOGLE_ID} HOTJAR_ANALYTICS_TRACKING_ID: ${HOTJAR_ANALYTICS_TRACKING_ID} NODE_ENV: production WEBTRENDS_ANALYTICS_TRACKING_ID: ${WEBTRENDS_ANALYTICS_TRACKING_ID} labels: io.rancher.container.pull_image: always prometheus.monitoring: true prometheus.port: 3000 traefik.backend: ${RANCHER_STACK_NAME}-connecting-to-services traefik.enable: true traefik.frontend.auth.basic: ${BASIC_AUTH} traefik.frontend.rule: $TRAEFIK_RULE traefik.port: 3000 logging: driver: splunk options: splunk-format: json splunk-insecureskipverify: "true" splunk-source: connecting-to-services splunk-sourcetype: docker splunk-token: ${SPLUNK_HEC_TOKEN} splunk-url: ${SPLUNK_HEC_URL} splunk-verify-connection: "false" tag: "{{`{{.ImageName}} {{.Name}} {{.FullID}}`}}"
Use release target branch in changelog compare URL
name: "Update Changelog" on: release: types: [released] jobs: update: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 with: ref: ${{ github.ref_name }} - name: Update Changelog uses: stefanzweifel/changelog-updater-action@v1 with: latest-version: ${{ github.event.release.tag_name }} release-notes: ${{ github.event.release.body }} - name: Commit updated CHANGELOG uses: stefanzweifel/git-auto-commit-action@v4 with: branch: ${{ github.event.release.target_commitish }} commit_message: Update CHANGELOG.md file_pattern: CHANGELOG.md
name: "Update Changelog" on: release: types: [released] jobs: update: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 with: ref: ${{ github.ref_name }} - name: Update Changelog uses: stefanzweifel/changelog-updater-action@v1 with: latest-version: ${{ github.event.release.tag_name }} release-notes: ${{ github.event.release.body }} compare-url-target-revision: ${{ github.event.release.target_commitish }} - name: Commit updated CHANGELOG uses: stefanzweifel/git-auto-commit-action@v4 with: branch: ${{ github.event.release.target_commitish }} commit_message: Update CHANGELOG.md file_pattern: CHANGELOG.md
Add shake 0.18.3 to extra deps
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html # Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2) resolver: lts-13.21 extra-deps: # We need a newer happy (see #16825) - git: https://github.com/simonmar/happy.git commit: 66982277ac7aed23edbb36c5f7aa5a86e5bdf778 # Local packages, usually specified by relative directory name packages: - '.' - '../libraries/Cabal/Cabal' nix: enable: false packages: - autoconf - automake - gcc - git - ncurses - perl
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html # Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2) resolver: lts-13.21 extra-deps: # We need a newer happy (see #16825) - git: https://github.com/simonmar/happy.git commit: 66982277ac7aed23edbb36c5f7aa5a86e5bdf778 - shake-0.18.3@sha256:12949a47f07915a4338291a0146158d18abdd04c0dfd813778231ed68b4758df,14806 # Local packages, usually specified by relative directory name packages: - '.' - '../libraries/Cabal/Cabal' nix: enable: false packages: - autoconf - automake - gcc - git - ncurses - perl
Install vim on the virtual
- hosts: all name: APT tasks: - name: Refresh APT repo # Only run "update_cache=yes" if the last one is more than 3600 seconds ago apt: update_cache=yes cache_valid_time=3600 sudo: yes
- hosts: all name: APT tasks: - name: Refresh APT repo # Only run "update_cache=yes" if the last one is more than 3600 seconds ago apt: update_cache=yes cache_valid_time=3600 sudo: yes - name: Install VIM apt: pkg={{ item }} state=installed update_cache=true install_recommends=yes sudo: yes with_items: - vim
Update from Hackage at 2017-06-09T05:37:56Z
homepage: https://github.com/swift-nav/loup changelog-type: '' hash: 85173a22e5228cc4808dc3b8df0ad34ea8aaf6b02979735f62e750233c32f0eb test-bench-deps: {} maintainer: Mark Fine <dev@swiftnav.com> synopsis: Amazon Simple Workflow Service Wrapper for Work Pools. changelog: '' basic-deps: amazonka: -any optparse-generic: -any base: ==4.8.* shakers: -any uuid: -any preamble: -any monad-control: -any conduit: -any turtle: -any loup: -any lifted-async: -any amazonka-swf: -any aeson: -any yaml: -any all-versions: - '0.0.1' author: Swift Navigation Inc. latest: '0.0.1' description-type: haddock description: Loup is a wrapper around Amazon Simple Workflow Service for Work Pools. license-name: MIT
homepage: https://github.com/swift-nav/loup changelog-type: '' hash: 844e7756441466d6c72996359c07326a416e79f994bc325b5859e1df3fcba008 test-bench-deps: {} maintainer: Mark Fine <dev@swiftnav.com> synopsis: Amazon Simple Workflow Service Wrapper for Work Pools. changelog: '' basic-deps: amazonka: -any bytestring: -any optparse-generic: -any base: ==4.8.* time: -any shakers: -any uuid: -any preamble: -any monad-control: -any conduit: -any turtle: -any loup: -any lifted-async: -any amazonka-swf: -any aeson: -any yaml: -any all-versions: - '0.0.1' - '0.0.2' author: Swift Navigation Inc. latest: '0.0.2' description-type: haddock description: Loup is a wrapper around Amazon Simple Workflow Service for Work Pools. license-name: MIT
Fix installing Girder Python package
--- - name: Install build dependencies apt: name: "{{ item }}" sudo: yes with_items: - git # - build-essential # - python-dev - python-tk - tcl8.6-dev - tk8.6-dev - libffi-dev - libssl-dev - name: Download git: repo: "https://github.com/girder/girder.git" dest: "{{ girder_path }}" version: "{{ girder_version }}" update: yes force: yes notify: Build Girder - name: Install Pillow conda: name: Pillow version: 3.4.2 executable: "{{ python_dist_path }}/bin/conda" - name: Install Python dependencies pip: requirements: "{{ girder_path }}/requirements.txt" virtualenv: "{{ python_dist_path }}" sudo: yes if python_dist == "system" else no - name: Install Python package pip: requirements: "{{ girder_path }}" editable: true virtualenv: "{{ python_dist_path }}" sudo: yes if python_dist == "system" else no - name: Deploy config file template: src: "girder.local.cfg.j2" dest: "{{ girder_path }}/girder/conf/girder.local.cfg" #- name: Install NodeJS dependencies # npm: # name: "{{ item }}" # global: yes # with_items: # - grunt # - grunt-cli # sudo: yes
--- - name: Install build dependencies apt: name: "{{ item }}" sudo: yes with_items: - git # - build-essential # - python-dev - python-tk - tcl8.6-dev - tk8.6-dev - libffi-dev - libssl-dev - name: Download git: repo: "https://github.com/girder/girder.git" dest: "{{ girder_path }}" version: "{{ girder_version }}" update: yes force: yes notify: Build Girder - name: Install Pillow conda: name: Pillow version: 3.4.2 executable: "{{ python_dist_path }}/bin/conda" - name: Install Python dependencies pip: requirements: "{{ girder_path }}/requirements.txt" virtualenv: "{{ python_dist_path }}" sudo: yes if python_dist == "system" else no - name: Install Python package pip: name: "{{ girder_path }}" editable: true virtualenv: "{{ python_dist_path }}" sudo: yes if python_dist == "system" else no - name: Deploy config file template: src: "girder.local.cfg.j2" dest: "{{ girder_path }}/girder/conf/girder.local.cfg" #- name: Install NodeJS dependencies # npm: # name: "{{ item }}" # global: yes # with_items: # - grunt # - grunt-cli # sudo: yes
Make usre mongodb is running.
--- # sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 - name: Add MongoDB apt key apt_key: id=7F0CEB10 url=hkp://keyserver.ubuntu.com:80 tags: - install - mongodb - name: Add MongoDB repository apt_repository: repo='deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' state=present update_cache=yes tags: - install - mongodb - name: Install MongoDB apt: name=mongodb-10gen state=latest tags: - install - mongodb
--- # sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 - name: Add MongoDB apt key apt_key: id=7F0CEB10 url=hkp://keyserver.ubuntu.com:80 tags: - install - mongodb - name: Add MongoDB repository apt_repository: repo='deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' state=present update_cache=yes tags: - install - mongodb - name: Install MongoDB apt: name=mongodb-10gen state=latest tags: - install - mongodb - name: Make sure MongoDB is running service: name=mongodb state=started tags: - install - mongodb
Add Slack channel for Ukrainian localization
channels: - name: kubernetes-docs-ar - name: kubernetes-docs-de - name: kubernetes-docs-es - name: kubernetes-docs-fr - name: kubernetes-docs-hi - name: kubernetes-docs-id - name: kubernetes-docs-it - name: kubernetes-docs-ja - name: kubernetes-docs-ko - name: kubernetes-docs-pt - name: kubernetes-docs-ru - name: kubernetes-docs-vi - name: kubernetes-docs-zh - name: kubernetes-docs-be - name: kubernetes-docs-pl
channels: - name: kubernetes-docs-ar - name: kubernetes-docs-de - name: kubernetes-docs-es - name: kubernetes-docs-fr - name: kubernetes-docs-hi - name: kubernetes-docs-id - name: kubernetes-docs-it - name: kubernetes-docs-ja - name: kubernetes-docs-ko - name: kubernetes-docs-pt - name: kubernetes-docs-ru - name: kubernetes-docs-vi - name: kubernetes-docs-zh - name: kubernetes-docs-be - name: kubernetes-docs-pl - name: kubernetes-docs-uk
Replace npm with yarn at CircleCI
machine: node: version: 6.1.0 test: override: - npm run ci - if [[ -e junitresults.xml ]]; then cp junitresults.xml $CIRCLE_TEST_REPORTS/test-results.xml; fi post: - npm run semantic-release || true
machine: node: version: 6.1.0 environment: YARN_VERSION: 0.18.1 PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" dependencies: pre: - | if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then echo "Download and install Yarn." curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION else echo "The correct version of Yarn is already installed." fi override: - yarn install cache_directories: - ~/.yarn - ~/.cache/yarn test: override: - yarn run ci - if [[ -e junitresults.xml ]]; then cp junitresults.xml $CIRCLE_TEST_REPORTS/test-results.xml; fi post: - yarn run semantic-release || true
Fix enabling user systemd unit files
--- - name: enable bluetooth systemd: name: bluetooth.service enabled: yes state: started - name: restart pulseaudio as user systemd: name: pulseaudio.service scope: user state: restarted become: yes become_user: "{{ user.name }}" environment: XDG_RUNTIME_DIR: "/run/user/{{ user.uid }}" - name: enable cron systemd: name: cronie.service enabled: yes state: started - name: enable sshd systemd: name: sshd.service enabled: yes state: started - name: enable cups systemd: name: org.cups.cupsd.service enabled: yes state: started - name: enable gdm systemd: name: gdm enabled: yes - name: enable waybar systemd: name: waybar scope: user enabled: yes become: yes become_user: "{{ user.name }}" - name: enable swayidle systemd: name: swayidle scope: user enabled: yes become: yes become_user: "{{ user.name }}" - name: enable ssh-agent systemd: name: ssh-agent scope: user enabled: yes state: started become: yes become_user: "{{ user.name }}" - name: enable pcscd systemd: name: pcscd.service enabled: yes state: started
--- - name: enable bluetooth systemd: name: bluetooth.service enabled: yes state: started - name: restart pulseaudio as user systemd: name: pulseaudio.service scope: user state: restarted become: yes become_user: "{{ user.name }}" environment: XDG_RUNTIME_DIR: "/run/user/{{ user.uid }}" - name: enable cron systemd: name: cronie.service enabled: yes state: started - name: enable sshd systemd: name: sshd.service enabled: yes state: started - name: enable cups systemd: name: org.cups.cupsd.service enabled: yes state: started - name: enable gdm systemd: name: gdm enabled: yes - name: enable waybar systemd: name: waybar scope: user enabled: yes become: yes become_user: "{{ user.name }}" environment: XDG_RUNTIME_DIR: "/run/user/{{ user.uid }}" - name: enable swayidle systemd: name: swayidle scope: user enabled: yes become: yes become_user: "{{ user.name }}" environment: XDG_RUNTIME_DIR: "/run/user/{{ user.uid }}" - name: enable ssh-agent systemd: name: ssh-agent scope: user enabled: yes state: started become: yes become_user: "{{ user.name }}" environment: XDG_RUNTIME_DIR: "/run/user/{{ user.uid }}" - name: enable pcscd systemd: name: pcscd.service enabled: yes state: started
Add Ruby 3.0 to CI workflow
--- name: CI on: push: branches: - master paths-ignore: - "bin/**" - "*.md" pull_request: branches: - master paths-ignore: - "bin/**" - "*.md" jobs: tests: name: Ruby ${{ matrix.ruby }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-latest ruby: - 2.1 - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - ruby-head - jruby-9.2.13.0 - jruby-head - truffleruby-head include: - ruby: 2.7 os: ubuntu-latest coverage: true env: COVERAGE: ${{ matrix.coverage }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} continue-on-error: ${{ endsWith(matrix.ruby, 'head') }} steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install bundler run: gem install bundler -v '< 2.0' - name: Install dependencies run: bundle install --jobs 4 --retry 3 - name: Run tests run: bundle exec rake ci
--- name: CI on: push: branches: - master paths-ignore: - "bin/**" - "*.md" pull_request: branches: - master paths-ignore: - "bin/**" - "*.md" jobs: tests: name: Ruby ${{ matrix.ruby }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-latest ruby: - 2.1 - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - 3.0 - ruby-head - jruby-9.2.13.0 - jruby-head - truffleruby-head include: - ruby: 2.7 os: ubuntu-latest coverage: true env: COVERAGE: ${{ matrix.coverage }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} continue-on-error: ${{ endsWith(matrix.ruby, 'head') }} steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install bundler run: gem install bundler -v '< 2.0' - name: Install dependencies run: bundle install --jobs 4 --retry 3 - name: Run tests run: bundle exec rake ci
Update QuickTiles to 1.3 (13)
Categories: - Development - Multimedia - System License: GPL-3.0-or-later AuthorName: Asdoi AuthorEmail: asdoi@t-online.de SourceCode: https://gitlab.com/asdoi/quick-tiles IssueTracker: https://gitlab.com/asdoi/quick-tiles/issues Changelog: https://gitlab.com/asdoi/quick-tiles/-/releases AutoName: QuickTiles RepoType: git Repo: https://gitlab.com/asdoi/quick-tiles.git Builds: - versionName: '1.2' versionCode: 12 commit: v1.2 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.2' CurrentVersionCode: 12
Categories: - Development - Multimedia - System License: GPL-3.0-or-later AuthorName: Asdoi AuthorEmail: asdoi@t-online.de SourceCode: https://gitlab.com/asdoi/quick-tiles IssueTracker: https://gitlab.com/asdoi/quick-tiles/issues Changelog: https://gitlab.com/asdoi/quick-tiles/-/releases AutoName: QuickTiles RepoType: git Repo: https://gitlab.com/asdoi/quick-tiles.git Builds: - versionName: '1.2' versionCode: 12 commit: v1.2 subdir: app gradle: - yes - versionName: '1.3' versionCode: 13 commit: v1.3 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.3' CurrentVersionCode: 13
Remove clippy checks for now
on: push name: Continuous integration jobs: ci: runs-on: ubuntu-latest strategy: matrix: rust: - stable - beta services: postgres: image: postgres:11.6 env: POSTGRES_PASSWORD: ports: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v2 - name: Install postgres development libs run: | sudo apt-get -y install libpq-dev - name: Install toolchain uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: ${{ matrix.rust }} override: true components: rustfmt, clippy - name: Build rust-decimal uses: actions-rs/cargo@v1 with: command: build args: --all --all-features - name: Run tests uses: actions-rs/cargo@v1 with: command: test args: --all --all-features - name: Check file formatting uses: actions-rs/cargo@v1 with: command: fmt args: --all -- --check - name: Check clippy rules uses: actions-rs/cargo@v1 with: command: clippy args: -- -D warnings
on: push name: Continuous integration jobs: ci: runs-on: ubuntu-latest strategy: matrix: rust: - stable - beta services: postgres: image: postgres:11.6 env: POSTGRES_PASSWORD: ports: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v2 - name: Install postgres development libs run: | sudo apt-get -y install libpq-dev - name: Install toolchain uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: ${{ matrix.rust }} override: true components: rustfmt, clippy - name: Build rust-decimal uses: actions-rs/cargo@v1 with: command: build args: --all --all-features - name: Run tests uses: actions-rs/cargo@v1 with: command: test args: --all --all-features - name: Check file formatting uses: actions-rs/cargo@v1 with: command: fmt args: --all -- --check
Use github run_id as coveralls job id
name: test on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: matrix: node-version: - 12.x - 14.x - 16.x react-version: - ^16.8.0 - ^17.0.0 steps: - uses: actions/checkout@v2 - uses: browser-actions/setup-firefox@latest - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm ci - name: Install react run: npm install --no-save react@${{ matrix.react-version }} react-dom@${{ matrix.react-version }} - name: Lint run: npm run lint - name: Test uses: nick-invision/retry@v1 # tests are somewhat flakey env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_SERVICE_NAME: "github" COVERALLS_GIT_COMMIT: ${{ github.sha }} COVERALLS_GIT_BRANCH: ${{ github.ref }} COVERALLS_SERVICE_JOB_ID: ${{ github.job }} with: timeout_minutes: 1 # Tests run for about 45s max_attempts: 3 command: npm test
name: test on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: matrix: node-version: - 12.x - 14.x - 16.x react-version: - ^16.8.0 - ^17.0.0 steps: - uses: actions/checkout@v2 - uses: browser-actions/setup-firefox@latest - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm ci - name: Install react run: npm install --no-save react@${{ matrix.react-version }} react-dom@${{ matrix.react-version }} - name: Lint run: npm run lint - name: Test uses: nick-invision/retry@v1 # tests are somewhat flakey env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_SERVICE_NAME: "github" COVERALLS_GIT_COMMIT: ${{ github.sha }} COVERALLS_GIT_BRANCH: ${{ github.ref }} COVERALLS_SERVICE_JOB_ID: ${{ github.run_id }} with: timeout_minutes: 1 # Tests run for about 45s max_attempts: 3 command: npm test
Remove Python 3.4 from Travis config (might as well end things with Travis on a green light!).
language: python python: - "3.4" - "3.5" - "3.6" - "3.7" - "3.8" cache: pip before_cache: rm -f $HOME/.cache/pip/log/debug.log install: pip install .[test] codecov script: pytest after_success: codecov
language: python python: - "3.5" - "3.6" - "3.7" - "3.8" cache: pip before_cache: rm -f $HOME/.cache/pip/log/debug.log install: pip install .[test] codecov script: pytest after_success: codecov
Add tests to another versions of php
language: php php: - '7.2' install: - composer self-update - composer install script: composer test
language: php php: - '7.2' - '7.1' install: - composer self-update - composer install script: composer test
Enable fast_finish and allow failures for tip in TravisCI
language: go go: - 1.9 - tip env: - DEP_VERSION="0.3.2" notifications: email: false before_install: - curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep - chmod +x $GOPATH/bin/dep install: - dep ensure script: - go vet ./... - go test -v -cover -race ./...
language: go go: - 1.9 - tip env: - DEP_VERSION="0.3.2" matrix: allow_failures: - go: tip fast_finish: true notifications: email: false before_install: - curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep - chmod +x $GOPATH/bin/dep install: - dep ensure script: - go vet ./... - go test -v -cover -race ./...
Add Node.js 0.10 to Travis-CI
language: node_js # test on two node.js versions: 0.6 and 0.8 node_js: - 0.6 - 0.8
language: node_js # test on two node.js versions: 0.6, 0.8 and 0.10 node_js: - 0.6 - 0.8 - 0.10
Make sure Chrome is there on CI
language: java jdk: - oraclejdk8 env: - NODE_VERSION=7.2.0 before_install: - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start install: - nvm install $NODE_VERSION - npm install script: - nvm use $NODE_VERSION - npm test cache: directories: - node_modules
sudo: required dist: trusty addons: apt: sources: - google-chrome packages: - google-chrome-stable language: java jdk: - oraclejdk8 env: - NODE_VERSION=7.2.0 before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 install: - nvm install $NODE_VERSION - npm install script: - nvm use $NODE_VERSION - npm test cache: directories: - node_modules
Test Python 3.* at Travis
sudo: false branches: only: - master language: python python: - 2.6 - 2.7 install: - python setup.py -q install - pip install --use-mirrors simplejson coverage script: python build.py analyse notifications: email: false irc: channels: - "irc.freenode.org#aspen" on_success: change on_failure: always template: - "%{repository} (%{branch}:%{commit} by %{author}): %{message} (%{build_url})" skip_join: true
sudo: false branches: only: - master language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - 3.4 install: - python setup.py -q install - pip install --use-mirrors simplejson coverage script: python build.py analyse notifications: email: false irc: channels: - "irc.freenode.org#aspen" on_success: change on_failure: always template: - "%{repository} (%{branch}:%{commit} by %{author}): %{message} (%{build_url})" skip_join: true
Remove remaining redundant RuboCop config
inherit_gem: rubocop-govuk: - config/default.yml - config/rails.yml inherit_mode: merge: - Exclude # This app does not use ActiveRecord Rails/DynamicFindBy: Whitelist: - find_by_key - find_by_id
inherit_gem: rubocop-govuk: - config/default.yml - config/rails.yml inherit_mode: merge: - Exclude
Update plugin descriptor for new resource locations
plugins: - loader: java_plain id: "${project.rootProject.name.toLowerCase()}" name: "${project.rootProject.name}" version: "${project.version}" main-class: ca.stellardrift.permissionsex.sponge.PermissionsExPlugin description: "${project.description}" links: homepage: "${project.opinionated.scm.get().website}" issues: "${project.opinionated.scm.get().issueTrackerURL}" source: "${project.opinionated.scm.get().scmWeb}" contributors: - name: "zml" description: "permission herder" dependencies: - id: spongeapi version: 8.0.0
plugins: - loader: java_plain id: "${project.rootProject.name.toLowerCase()}" name: "${project.rootProject.name}" version: "${project.version}" main-class: ca.stellardrift.permissionsex.sponge.PermissionsExPlugin description: "${project.description}" links: homepage: "${project.indra.scm.get().url}" issues: "${project.indra.issues.get().url}" source: "${project.indra.scm.get().url}" contributors: - name: "zml" description: "permission herder" dependencies: - id: spongeapi version: 8.0.0
Disable autodeploy of worksapce branch
machine: node: version: 7.10.1 dependencies: pre: - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc deployment: production: branch: master tag: /v[0-9]+(\.[0-9]+)*/ commands: - npm run deploy - npm publish || true - node utils/grafana.js workspace: branch: workspace commands: - npm run deploy grafana: branch: grafana commands: - node utils/grafana.js
machine: node: version: 7.10.1 dependencies: pre: - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc deployment: production: branch: master tag: /v[0-9]+(\.[0-9]+)*/ commands: - npm run deploy - npm publish || true - nodejs utils/grafana.js
Add git username for circleci
version: 2 jobs: build: working_directory: ~/circleci-geogson docker: - image: circleci/openjdk:8-jdk-browsers steps: - checkout - restore_cache: key: circleci-geogson-{{ checksum "pom.xml" }} - run: mvn package - save_cache: paths: - ~/.m2 key: circleci-geogson-{{ checksum "pom.xml" }} - store_test_results: path: target/surefire-reports - deploy: name: Release master command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then ./build/deploy.sh fi workflows: version: 2 build: jobs: - build: context: org-global
version: 2 jobs: build: working_directory: ~/circleci-geogson docker: - image: circleci/openjdk:8-jdk-browsers steps: - checkout - restore_cache: key: circleci-geogson-{{ checksum "pom.xml" }} - run: mvn package - save_cache: paths: - ~/.m2 key: circleci-geogson-{{ checksum "pom.xml" }} - store_test_results: path: target/surefire-reports - deploy: name: Release master command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then git config user.email "sayhi@circleci.com" && git config user.name "Circle-CI" && ./build/deploy.sh fi workflows: version: 2 build: jobs: - build: context: org-global
Update CV of Torchlight to 1.3 (4)
Categories: - System License: GPL-3.0-only WebSite: https://www.secuso.informatik.tu-darmstadt.de/en/secuso-home/ SourceCode: https://github.com/SecUSo/privacy-friendly-torchlight IssueTracker: https://github.com/SecUSo/privacy-friendly-torchlight/issues AutoName: Torchlight Description: |- Simple application to use the phones flash light as a torchlight. It belongs to the group of Privacy Friendly Apps, developed at the University of Darmstadt, Germany. RepoType: git Repo: https://github.com/SecUSo/privacy-friendly-torchlight Builds: - versionName: '1.1' versionCode: 2 commit: c417d0ddff4c89640e41532cfce01414e0951db8 subdir: app gradle: - yes - versionName: '1.2' versionCode: 3 commit: v1.2 subdir: app gradle: - yes - versionName: '1.3' versionCode: 4 commit: v1.3 subdir: app gradle: - yes - versionName: 1.3.1 versionCode: 5 commit: v1.3.1 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.3.1 CurrentVersionCode: 5
Categories: - System License: GPL-3.0-only WebSite: https://www.secuso.informatik.tu-darmstadt.de/en/secuso-home/ SourceCode: https://github.com/SecUSo/privacy-friendly-torchlight IssueTracker: https://github.com/SecUSo/privacy-friendly-torchlight/issues AutoName: Torchlight Description: |- Simple application to use the phones flash light as a torchlight. It belongs to the group of Privacy Friendly Apps, developed at the University of Darmstadt, Germany. RepoType: git Repo: https://github.com/SecUSo/privacy-friendly-torchlight Builds: - versionName: '1.1' versionCode: 2 commit: c417d0ddff4c89640e41532cfce01414e0951db8 subdir: app gradle: - yes - versionName: '1.2' versionCode: 3 commit: v1.2 subdir: app gradle: - yes - versionName: '1.3' versionCode: 4 commit: v1.3 subdir: app gradle: - yes - versionName: 1.3.1 versionCode: 5 commit: v1.3.1 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '1.3' CurrentVersionCode: 4
Set license to LGPL-3.0-or-later for SPDX compatibility
{% set name = "zen3geo" %} {% set version = "0.3.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/zen3geo-{{ version }}.tar.gz sha256: 09e84306809d03899155510f75dff83023e301c95bb0835b7bf5c34e58c72720 build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: host: - pip - python >=3.8,<3.12 run: - python >=3.8,<3.12 - rioxarray >=0.10.0 - torchdata >=0.4.0 test: imports: - zen3geo commands: - pip check requires: - pip about: home: None summary: The 🌏 data science library you've been waiting for~ license: LGPL-3.0 license_file: - LICENSE.md extra: recipe-maintainers: - weiji14
{% set name = "zen3geo" %} {% set version = "0.3.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/zen3geo-{{ version }}.tar.gz sha256: 09e84306809d03899155510f75dff83023e301c95bb0835b7bf5c34e58c72720 build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: host: - pip - python >=3.8,<3.12 run: - python >=3.8,<3.12 - rioxarray >=0.10.0 - torchdata >=0.4.0 test: imports: - zen3geo commands: - pip check requires: - pip about: home: None summary: The 🌏 data science library you've been waiting for~ license: LGPL-3.0-or-later license_file: - LICENSE.md extra: recipe-maintainers: - weiji14
Install lxml from GitHub instead of apt hack
language: python os: - linux python: - '2.7' - '3.4' - '3.5' - '3.6' - nightly env: global: - VENV_ARGS="--system-site-packages" install: - pip install -U pip setuptools - pip install . - pip install PyYAML - pip install coverage - pip install coveralls script: - coverage run --source=exchangelib setup.py test after_success: coveralls before_install: - sudo apt-get -qq update - sudo apt-get install -y python-lxml python3-lxml - openssl aes-256-cbc -K $encrypted_e7f042a9cf96_key -iv $encrypted_e7f042a9cf96_iv -in settings.yml.enc -out settings.yml -d
language: python os: - linux python: - '2.7' - '3.4' - '3.5' - '3.6' - nightly install: - pip install -U pip setuptools - pip install cython - pip install git+ssh://git@github.com/lxml/lxml.git - pip install . - pip install PyYAML - pip install coverage - pip install coveralls script: - coverage run --source=exchangelib setup.py test after_success: coveralls before_install: - openssl aes-256-cbc -K $encrypted_e7f042a9cf96_key -iv $encrypted_e7f042a9cf96_iv -in settings.yml.enc -out settings.yml -d
Allow failures on PHP master
language: php php: - 7.1 - 7.2 - 7.3 - 7.4snapshot - master matrix: allow_failures: - php: 7.4snapshot sudo: false install: - composer install script: - ./vendor/bin/phpunit notifications: email: false
language: php php: - 7.1 - 7.2 - 7.3 - 7.4snapshot - master matrix: allow_failures: - php: 7.4snapshot - php: master sudo: false install: - composer install script: - ./vendor/bin/phpunit notifications: email: false
Enable caching and run on Xenial
rvm: - 2.1 - 2.2 - 2.3 - 2.4 bundler_args: --jobs 7 branches: only: - master before_install: - gem install bundler script: bundle exec rake travis:ci notifications: hipchat: on_change: true on_failure: true on_success: false on_pull_requests: false rooms: # Build Statuses - secure: fQEeBZSIV9mKpM5XeKxmvcgUb19skv3+qW6TiyvuPReB4B/mc5vf3AABWhbdnnHzjsKnq2iQtcppXVG0eJwuRM5D1werMO91zwSRNBU/ClOLHaYBp5l4tVkuHzAd3eo/Z67vxE0BAV9lGWeWv7r3y/BLgJ265nQMyfgZSyz1i44= # Release Engineering - secure: eUtMt0CeB2bbIcTeQA3rUJsTtBkq/Ng5AnM59NOCzutcPTnNDeM4kNQEfgJ5QEZZkx08IXyiPJ14gEQUaV0bF0s0FLyzFxjlX9p2jem99FmEA404KJ7axoUiGGxgATbq9V7tUOrp1zG+a8xVQTahZASKadPlC9TSRgKqjUL+Dvg=
language: ruby cache: bundler dist: xenial sudo: false rvm: - 2.1 - 2.2 - 2.3 - 2.4 bundler_args: --jobs 7 branches: only: - master before_install: - gem install bundler script: bundle exec rake travis:ci notifications: hipchat: on_change: true on_failure: true on_success: false on_pull_requests: false rooms: # Build Statuses - secure: fQEeBZSIV9mKpM5XeKxmvcgUb19skv3+qW6TiyvuPReB4B/mc5vf3AABWhbdnnHzjsKnq2iQtcppXVG0eJwuRM5D1werMO91zwSRNBU/ClOLHaYBp5l4tVkuHzAd3eo/Z67vxE0BAV9lGWeWv7r3y/BLgJ265nQMyfgZSyz1i44= # Release Engineering - secure: eUtMt0CeB2bbIcTeQA3rUJsTtBkq/Ng5AnM59NOCzutcPTnNDeM4kNQEfgJ5QEZZkx08IXyiPJ14gEQUaV0bF0s0FLyzFxjlX9p2jem99FmEA404KJ7axoUiGGxgATbq9V7tUOrp1zG+a8xVQTahZASKadPlC9TSRgKqjUL+Dvg=
Revert to Go 1.6 to see if that fixes Travis
language: go go: - 1.6.1 branches: only: - master install: make script: - make test sudo: false
language: go go: - 1.6 branches: only: - master install: make script: - make test sudo: false
Make the site's URL a variable (for easier deployment testing)
language: go go: - master addons: ssh_known_hosts: overflod.chary.us before_install: - openssl aes-256-cbc -K $encrypted_da0730754d12_key -iv $encrypted_da0730754d12_iv -in travis_rsa.enc -out travis_rsa -d - chmod 600 travis_rsa - mv travis_rsa ~/.ssh/id_rsa install: - ./scripts/install-hugo.sh jobs: include: # Build and deploy to staging (flotwig's host) - stage: build if: tag IS NOT present script: hugo -b https://snoonet-beta.chary.us/ after_success: - ./scripts/deploy.sh # Build and deploy generated content to the gh-pages branch - stage: deploy if: tag IS present script: - hugo -b https://snoonet.org/ - echo "$CNAME_URL" > public/CNAME deploy: provider: pages github-token: "$GITHUB_OAUTH_TOKEN" skip-cleanup: true email: "$GITHUB_EMAIL" name: "$GITHUB_USERNAME" verbose: true keep-history: true local-dir: public target-branch: gh-pages on: tags: true
language: go go: - master addons: ssh_known_hosts: overflod.chary.us before_install: - openssl aes-256-cbc -K $encrypted_da0730754d12_key -iv $encrypted_da0730754d12_iv -in travis_rsa.enc -out travis_rsa -d - chmod 600 travis_rsa - mv travis_rsa ~/.ssh/id_rsa install: - ./scripts/install-hugo.sh jobs: include: # Build and deploy to staging (flotwig's host) - stage: build if: tag IS NOT present script: hugo -b https://snoonet-beta.chary.us/ after_success: - ./scripts/deploy.sh # Build and deploy generated content to the gh-pages branch - stage: deploy if: tag IS present script: - hugo -b "$LIVE_SITE_URL" - echo "$CNAME_URL" > public/CNAME deploy: provider: pages github-token: "$GITHUB_OAUTH_TOKEN" skip-cleanup: true email: "$GITHUB_EMAIL" name: "$GITHUB_USERNAME" verbose: true keep-history: true local-dir: public target-branch: gh-pages on: tags: true
Add DFE branding for DFE subdomain
--- site: dfe_media host: media.education.gov.uk redirection_date: 23rd April 2013 tna_timestamp: 20130123124929 title: Department for Education furl: www.gov.uk/dfe homepage: https://www.gov.uk/government/organisations/department-for-education
--- site: dfe_media host: media.education.gov.uk redirection_date: 23rd April 2013 tna_timestamp: 20130123124929 title: Department for Education furl: www.gov.uk/dfe homepage: https://www.gov.uk/government/organisations/department-for-education css: department-for-education ---
Update from Hackage at 2017-04-28T21:48:04Z
homepage: https://git.alokat.org/hpg changelog-type: '' hash: 5950e9c1c6a091ccf8da9547c2743534bf77bcbfabff95ef9254ed022edc88de test-bench-deps: {} maintainer: fritjof@alokat.org synopsis: 'no' changelog: '' basic-deps: base: ! '>=4.8 && <4.9' random: -any all-versions: - '0.2' - '0.3' author: Fritjof Bornebusch latest: '0.3' description-type: haddock description: the haskell password generator. license-name: ISC
homepage: https://git.alokat.org/hpg changelog-type: '' hash: 80246472e24bdbd9852cd6eb239862984616e5bc4b83d453a98a2068c64e3de6 test-bench-deps: {} maintainer: fritjof@alokat.org synopsis: 'no' changelog: '' basic-deps: base: ! '>=4.8 && <4.9' random: -any all-versions: - '0.2' - '0.3' - '0.4' author: Fritjof Bornebusch latest: '0.4' description-type: markdown description: ! "hpg\n===\n\nThe hpg utility creates passwords of different sizes, between 1 and 2^16.\nPlease note that a length of < 8 is not very secure and should be avoided.\nThat is why the default value is 16 if the command is called without any\noptions. The default entropy contains [a-zA-Z0-9].\n\n-l Use lower case.\n\n-n Use numbers.\n\n-s Use symbols.\n\n-u Use upper case.\n\n-x Use another length, as the default one.\n\nEXAMPLES\n--------\n\nCreate a new random password:\n \n\t$ hpg -lnsu -x 32\n\n" license-name: ISC
Fix to match logo spelling and branding
title: Squirrely Girl Produce email: squirrely.girl.produce@gmail.com description: > Hobby farm exploring Joel Salatin's pastured poultry techniques with ducks and geese. theme: minima markdown: kramdown kramdown: input: GFM hard_wrap: false repository: sgproduce/sgproduce.github.io collections: ideas: output: true plans: output: true projects: output: true permalink: /:collection/:path/ posts: output: true plugins: - jekyll - jekyll-seo-tag - jekyll-sitemap - jekyll-feed - github-pages exclude: - Gemfile - Gemfile.lock - README.md - vendor timezone: America/New_York defaults: - scope: path: "" values: layout: "default" - scope: path: "/posts" values: layout: "post"
title: Squirrelly Girl Produce email: squirrelly.girl.produce@gmail.com description: Turning grass into eggs through portable pens on pasture theme: minima markdown: kramdown kramdown: input: GFM hard_wrap: false repository: sgproduce/sgproduce.github.io collections: ideas: output: true plans: output: true projects: output: true permalink: /:collection/:path/ posts: output: true plugins: - jekyll - jekyll-seo-tag - jekyll-sitemap - jekyll-feed - github-pages exclude: - Gemfile - Gemfile.lock - README.md - vendor timezone: America/New_York defaults: - scope: path: "" values: layout: "default" - scope: path: "/posts" values: layout: "post"
Update Windows C++ make-specs to new version 4.0.0
name: Windows C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Windows-mkspecs: uses: steinwurf/windows-mkspecs-action/.github/workflows/action.yml@3.0.0 with: extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }}
name: Windows C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Windows-mkspecs: uses: steinwurf/windows-mkspecs-action/.github/workflows/action.yml@4.0.0 with: extra_resolve_options: ${{ github.event.inputs.extra_resolve_options }}