Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Install package.json dependencies globally on Travis CI
language: node_js before_script: npm install -g jasmine-node coffee-script script: - coffee -o . -c . - jasmine-node --captureExceptions --runWithRequireJs --coffee --verbose spec
language: node_js install: npm install -g script: - coffee -o . -c . - jasmine-node --captureExceptions --runWithRequireJs --coffee --verbose spec
Update TravisCI to go-ipfs v0.4.3rc2 release.
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" before_script: - eval "$(gimme 1.6)" - mkdir $HOME/go - export GOPATH="$HOME/go" - export PATH="$PATH:$GOPATH/bin" - echo $GOPATH - echo $PATH - go get -d github.com/ipfs/go-ipfs - pushd . && cd $GOPATH/src/github.com/ipfs/go-ipfs && make install && popd install: - "pip install -r requirements.txt" - "pip install -r test-requirements.txt" script: - ipfs init - ipfs daemon & - tox -e pep8 - tox
language: python matrix: include: - python: "2.7" env: TOXENV=py27 - python: "3.3" env: TOXENV=py33 - python: "3.4" env: TOXENV=py34 - python: "3.5" env: TOXENV=py35 before_script: - wget "https://dist.ipfs.io/go-ipfs/v0.4.3-rc2/go-ipfs_v0.4.3-rc2_linux-amd64.tar.gz" -O /tmp/ipfs.tar.gz - mkdir $HOME/bin - pushd . && cd $HOME/bin && tar -xzvf /tmp/ipfs.tar.gz && popd - export PATH="$HOME/bin/go-ipfs:$PATH" install: - "pip install -r requirements.txt" - "pip install -r test-requirements.txt" script: - ipfs init - ipfs daemon & - tox -e pep8 - tox
Update from Hackage at 2022-03-27T08:04:35Z
homepage: https://github.com/albertprz/bookhound#readme changelog-type: '' hash: 4c2e110c9d263c46cff6e35ea520ac0d0fefe4b8c94c0ccd45c7ca89f7a0c95d test-bench-deps: {} maintainer: albertoperez1994@gmail.com synopsis: Simple Parser Combinators & Parsers for usual data formats changelog: '' basic-deps: base: '>=4.7 && <5' time: '>=1.9 && <2' containers: '>=0.6 && <1' all-versions: - 0.1.0.0 - 0.1.1.0 - 0.1.2.0 - 0.1.3.0 author: Alberto Perez Lopez latest: 0.1.3.0 description-type: markdown description: | # bookhound license-name: LicenseRef-LGPL
homepage: https://github.com/albertprz/bookhound#readme changelog-type: '' hash: 1fd0cbee698f9d41b8e8a923063180f7ab649bcc70cbb4b2f05d63af9110951d test-bench-deps: {} maintainer: albertoperez1994@gmail.com synopsis: Simple Parser Combinators & Parsers changelog: '' basic-deps: base: '>=4.7 && <5' time: '>=1.9 && <2' containers: '>=0.6 && <1' all-versions: - 0.1.0.0 - 0.1.1.0 - 0.1.2.0 - 0.1.3.0 - 0.1.4.0 author: Alberto Perez Lopez latest: 0.1.4.0 description-type: markdown description: | # bookhound license-name: LicenseRef-LGPL
Use the right user and host on debian
--- mysql::configdir: "/etc/mysql" mysql::globalconfigprefix: "" mysql::datadir: "/data/mysql" mysql::logdir: "/var/log/mysql" mysql::user: "root" mysql::host: "%{::ipaddress}" mysql::port: "3306" mysql::socket: "/tmp/mysql.sock" mysql::package: mysql-server mysql::version: installed
--- mysql::configdir: "/etc/mysql" mysql::globalconfigprefix: "" mysql::datadir: "/data/mysql" mysql::logdir: "/var/log/mysql" mysql::user: "mysql" mysql::host: "0.0.0.0" mysql::port: "3306" mysql::socket: "/tmp/mysql.sock" mysql::package: mysql-server mysql::version: installed
Update from Hackage at 2017-01-10T14:09:01Z
homepage: https://github.com/mwotton/unidecode#readme changelog-type: '' hash: 6eded9da0d15826804a0bfeeb553ed90f39987cb36c118ae17044619747a4d4f test-bench-deps: base: -any unidecode: -any maintainer: mwotton@gmail.com synopsis: Haskell translation of http://search.cpan.org/~sburke/Text-Unidecode-1.30/lib/Text/Unidecode.pm changelog: '' basic-deps: base: ! '>=4.7 && <5' all-versions: - '0.1.0.0' author: A latest: '0.1.0.0' description-type: markdown description: '' license-name: BSD3
homepage: https://github.com/mwotton/unidecode#readme changelog-type: '' hash: 1be0adc4508b90382bfff7751ced6fbbf31108d472cd9d31adadf147faf6ea91 test-bench-deps: base: -any hspec: -any unidecode: -any maintainer: mwotton@gmail.com synopsis: Haskell translation of http://search.cpan.org/~sburke/Text-Unidecode-1.30/lib/Text/Unidecode.pm changelog: '' basic-deps: base: ! '>=4.7 && <5' all-versions: - '0.1.0.0' - '0.1.0.1' author: A latest: '0.1.0.1' description-type: markdown description: '' license-name: BSD3
Install latest version of APT to fix installation errors on upgraded hosts
--- - name: Update APT cache action: apt update_cache=true cache_valid_time=86400 - name: Install APT action: apt name=apt=1.0.1ubuntu2.5 state=present
--- - name: Update APT cache action: apt update_cache=true cache_valid_time=86400 - name: Install APT action: apt name=apt state=latest
Put hiera stuff back and try and correct file
nodejs::prefix: "%{::boxen::config::home}" nodejs::user: "%{::boxen_user}" nodejs::provider: 'nodenv' nodejs::build::ensure: 'v20140408' nodejs::build::prefix: "%{'nodejs::prefix'}/node-build" nodejs::build::user: "%{'nodejs::user'}" nodejs::nodenv::ensure: v0.2.0 nodejs::nodenv::prefix: "%{'nodejs::prefix'}/nodenv" nodejs::nodenv::user: "%{'nodejs::user'}"
--- nodejs::prefix: "%{::boxen::config::home}" nodejs::user: "%{::boxen_user}" nodejs::provider: 'nodenv' nodejs::build::ensure: 'v20140408' nodejs::build::prefix: "%{hiera('nodejs::prefix')}/node-build" nodejs::build::user: "%{hiera('nodejs::user')}" nodejs::nodenv::ensure: v0.2.0 nodejs::nodenv::prefix: "%{hiera('nodejs::prefix')}/nodenv" nodejs::nodenv::user: "%{hiera('nodejs::user')}"
Use a released version of jtds
repositories: remote: - http://repo.fire.dse.vic.gov.au/content/groups/fisg - http://repo1.maven.org/maven2 artifacts: spice_cli: spice:spice-cli:jar:1.0 postgresql: postgresql:postgresql:jar:9.1-901.jdbc4 jtds: net.sourceforge.jtds:jtds:jar:1.2.5 diffutils: com.googlecode.java-diff-utils:diffutils:jar:1.2.1
repositories: remote: - http://repo.fire.dse.vic.gov.au/content/groups/fisg - http://repo1.maven.org/maven2 artifacts: spice_cli: spice:spice-cli:jar:1.0 postgresql: postgresql:postgresql:jar:9.1-901.jdbc4 jtds: net.sourceforge.jtds:jtds:jar:1.2.4 diffutils: com.googlecode.java-diff-utils:diffutils:jar:1.2.1
Change emoticon from tophat to helicopter
name: Ben Sullivan emoji: 'tophat' description: Ruby/Rails/JS/React dev looking to contribute to something awesome
name: Ben Sullivan emoji: 'helicopter' description: Ruby/Rails/JS/React dev looking to contribute to something awesome
Check build failures after uncomment twitter, facebook property
# Harmony Jekyll theme general configuration markdown: redcarpet pygments: true # Base URL baseurl: /harmony # Site URL url: http://webcreate.lk/harmony exclude: - CNAME - Gemfile - Rakefile - README.md - .gitignore # Harmony theme configuration. Please change accordingly. harmony: name: Harmony #Name of your site description: Harmony is free responsive jekyll theme. # Little description about your site author: # Author details name: Gayan Virajith email: gayanvirajith@gmail.com url: http://gayanvirajith.github.io # Google Analytics key, leave blank to ignore google_analytics_key: UA-xxxx-x # Profile links, leave blank to ignore social: github: gayanvirajith #twitter: gayanvirajith #facebook: gayanvirajith gplus: +GayanVirajith dribble: gayanvirajith pinterest: gayanvirajith
# Harmony Jekyll theme general configuration markdown: redcarpet pygments: true # Base URL baseurl: /harmony # Site URL url: http://webcreate.lk/harmony exclude: - CNAME - Gemfile - Rakefile - README.md - .gitignore # Harmony theme configuration. Please change accordingly. harmony: name: Harmony #Name of your site description: Harmony is free responsive jekyll theme. # Little description about your site author: # Author details name: Gayan Virajith email: gayanvirajith@gmail.com url: http://gayanvirajith.github.io # Google Analytics key, leave blank to ignore google_analytics_key: UA-xxxx-x # Profile links, leave blank to ignore social: github: gayanvirajith twitter: gayanvirajith facebook: gayanvirajith gplus: +GayanVirajith dribble: gayanvirajith pinterest: gayanvirajith
Fix linux CI by using `apt-get update` before `apt-get install`
name: CI on: push: branches: - master pull_request: branches: - master jobs: build_linux: name: Build on linux systems runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-16.04] steps: - name: Install dependencies run: sudo apt-get install cmake xorg-dev libglu1-mesa-dev zlib1g-dev zenity - uses: actions/checkout@v1 with: submodules: recursive - name: CMake run: cmake . - name: Build run: make -j build_macos: name: Build on macOS runs-on: macos-latest steps: - uses: actions/checkout@v1 with: submodules: recursive - name: CMake run: cmake . - name: Build run: make -j build_windows: name: Build on Windows runs-on: windows-latest steps: - uses: actions/checkout@v1 with: submodules: recursive - name: Setup MSBuild.exe uses: microsoft/setup-msbuild@v1.0.2 - name: CMake run: cmake . - name: Build run: msbuild /v:m /p:Configuration=Release tev.sln
name: CI on: push: branches: - master pull_request: branches: - master jobs: build_linux: name: Build on linux systems runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-16.04] steps: - name: Install dependencies run: sudo apt-get update && sudo apt-get install cmake xorg-dev libglu1-mesa-dev zlib1g-dev zenity - uses: actions/checkout@v1 with: submodules: recursive - name: CMake run: cmake . - name: Build run: make -j build_macos: name: Build on macOS runs-on: macos-latest steps: - uses: actions/checkout@v1 with: submodules: recursive - name: CMake run: cmake . - name: Build run: make -j build_windows: name: Build on Windows runs-on: windows-latest steps: - uses: actions/checkout@v1 with: submodules: recursive - name: Setup MSBuild.exe uses: microsoft/setup-msbuild@v1.0.2 - name: CMake run: cmake . - name: Build run: msbuild /v:m /p:Configuration=Release tev.sln
Change path to api test dir
language: php php: - 7.0 - 5.6 - 5.5 - 5.4 - hhvm before_script: - pip install --user codecov - composer self-update && composer install --dev - php -S localhost:8000 -t tests/analyze & script: - ./vendor/bin/phpunit after_success: - codecov
language: php php: - 7.0 - 5.6 - 5.5 - 5.4 - hhvm before_script: - pip install --user codecov - composer self-update && composer install --dev - php -S localhost:8000 -t tests/api & script: - ./vendor/bin/phpunit after_success: - codecov
Remove support for node v0.12 and iojs
language: node_js env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 node_js: - "node" - "4.2" - "0.12" - "iojs" install: - npm run dev-up script: - npm run ci after_script: - codeclimate-test-reporter < ./coverage/lcov.info addons: code_climate: repo_token: CODE_CLIMATE_TOKEN
language: node_js env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 node_js: - "node" - "5" - "4" install: - npm run dev-up script: - npm run ci after_script: - codeclimate-test-reporter < ./coverage/lcov.info addons: code_climate: repo_token: CODE_CLIMATE_TOKEN
Fix failing build due to invalid branch ref.
language: php php: - 5.3 - 5.4 - 5.5 env: - CAKE_VERSION=2.3.10 - CAKE_VERSION=master - CAKE_VERSION=2.5 install: - git clone git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp && git checkout $CAKE_VERSION - cp -R ../asset_compress plugins/AssetCompress - chmod -R 777 ../cakephp/app/tmp - sh -c "composer global require 'phpunit/phpunit=3.7.33'" - sh -c "ln -s ~/.composer/vendor/phpunit/phpunit/PHPUnit ../cakephp/vendors/PHPUnit" before_script: - sh -c "mysql -e 'CREATE DATABASE cakephp_test;'" - echo "<?php class DATABASE_CONFIG { public \$test = array( 'datasource' => 'Database/Mysql', 'database' => 'cakephp_test', 'host' => '0.0.0.0', 'login' => 'travis', 'persistent' => false, ); }" > ../cakephp/app/Config/database.php script: - ./lib/Cake/Console/cake test AssetCompress AllTests --stderr notifications: email: false
language: php php: - 5.3 - 5.4 - 5.5 env: - CAKE_VERSION=2.3.10 - CAKE_VERSION=2.4.10 - CAKE_VERSION=master install: - git clone git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp && git checkout $CAKE_VERSION - cp -R ../asset_compress plugins/AssetCompress - chmod -R 777 ../cakephp/app/tmp - sh -c "composer global require 'phpunit/phpunit=3.7.33'" - sh -c "ln -s ~/.composer/vendor/phpunit/phpunit/PHPUnit ../cakephp/vendors/PHPUnit" before_script: - sh -c "mysql -e 'CREATE DATABASE cakephp_test;'" - echo "<?php class DATABASE_CONFIG { public \$test = array( 'datasource' => 'Database/Mysql', 'database' => 'cakephp_test', 'host' => '0.0.0.0', 'login' => 'travis', 'persistent' => false, ); }" > ../cakephp/app/Config/database.php script: - ./lib/Cake/Console/cake test AssetCompress AllTests --stderr notifications: email: false
Disable Python 3.2, enable Python 3.5/6
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" install: - pip install nose script: nosetests
language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" install: - pip install nose script: nosetests
Remove patching configuration from genesis role
--- # Copyright 2022 Samsung Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - name: prepare genesis node configuration include_tasks: prepare-genesis.yml - name: make node public lineinfile: path: "{{ dcl_home }}/config/config.toml" regexp: '^laddr = "tcp://.*:26657"$' line: 'laddr = "tcp://0.0.0.0:26657"' - name: ensure user permissions file: recurse: true state: directory owner: "{{ cosmovisor.user }}" path: "{{ dcl_home }}" - name: ensure cosmovisor service is started and enabled service: name: cosmovisor state: started enabled: true
--- # Copyright 2022 Samsung Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - name: prepare genesis node configuration include_tasks: prepare-genesis.yml - name: ensure user permissions file: recurse: true state: directory owner: "{{ cosmovisor.user }}" path: "{{ dcl_home }}" - name: ensure cosmovisor service is started and enabled service: name: cosmovisor state: started enabled: true
Use the firewalld module instead of the shell
--- - yum: name={{ item }} state=installed with_items: - python-passlib - httpd - mod_ssl - service: name=httpd state=started enabled=yes - copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=apache mode=0644 with_items: - name_vhost.conf - mod_filter.conf - remove_sslv3.conf - mod_status.conf - various.conf notify: restart httpd - shell: lokkit -s {{ item }} with_items: - http - https when: ansible_distribution_major_version == '6' and (ansible_distribution == 'CentOS' or ansible_distribution == 'RedHat') - shell: firewall-cmd --permanent --add-port={{ item }}/tcp with_items: - http - https when: ansible_distribution == 'Fedora' or ansible_distribution_major_version == '7' - lineinfile: dest=/etc/logrotate.conf regexp="^rotate" line="rotate {{ log_retention_week }}" state=present when: log_retention_week is defined
--- - yum: name={{ item }} state=installed with_items: - python-passlib - httpd - mod_ssl - service: name=httpd state=started enabled=yes - copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=apache mode=0644 with_items: - name_vhost.conf - mod_filter.conf - remove_sslv3.conf - mod_status.conf - various.conf notify: restart httpd - shell: lokkit -s {{ item }} with_items: - http - https when: ansible_distribution_major_version == '6' and (ansible_distribution == 'CentOS' or ansible_distribution == 'RedHat') - firewalld: service={{ item }} permanent=true state=enabled immediate=yes with_items: - http - https when: ansible_distribution == 'Fedora' or ansible_distribution_major_version == '7' - lineinfile: dest=/etc/logrotate.conf regexp="^rotate" line="rotate {{ log_retention_week }}" state=present when: log_retention_week is defined
Switch global-net pipeline to global-net branch.
--- jobs: - name: unit-2.1 public: true serial: true plan: - get: bosh-src trigger: true - task: test file: bosh-src/ci/tasks/test-unit.yml config: params: RUBY_VERSION: 2.1.6 - name: integration-mysql-1.9 public: true serial: true plan: - get: bosh-src trigger: true - task: test privileged: true file: bosh-src/ci/tasks/test-integration.yml config: params: DB: mysql RUBY_VERSION: 1.9.3 - name: integration-postgres-2.1 public: true serial: true plan: - get: bosh-src trigger: true - task: test privileged: true file: bosh-src/ci/tasks/test-integration.yml config: params: DB: postgresql RUBY_VERSION: 2.1.6 resources: - name: bosh-src type: git source: uri: https://github.com/cloudfoundry/bosh branch: global-net-refactor
--- jobs: - name: unit-2.1 public: true serial: true plan: - get: bosh-src trigger: true - task: test file: bosh-src/ci/tasks/test-unit.yml config: params: RUBY_VERSION: 2.1.6 - name: integration-mysql-1.9 public: true serial: true plan: - get: bosh-src trigger: true - task: test privileged: true file: bosh-src/ci/tasks/test-integration.yml config: params: DB: mysql RUBY_VERSION: 1.9.3 - name: integration-postgres-2.1 public: true serial: true plan: - get: bosh-src trigger: true - task: test privileged: true file: bosh-src/ci/tasks/test-integration.yml config: params: DB: postgresql RUBY_VERSION: 2.1.6 resources: - name: bosh-src type: git source: uri: https://github.com/cloudfoundry/bosh branch: global-net
Switch CI to 3.5-stretch base image
version: 2 jobs: build: docker: # While we're actually running on stretch (with Python 3.5.3), this is the # closest matching docker image available in CircleCI. The stretch images # all have Python 3.6, which has some syntactic changes. - image: python:3.5.4 steps: - checkout - run: python3 -m venv venv - run: name: install sb-vision command: | apt-get update -y apt-get install -y libcv-dev libopencv-photo-dev libopencv-contrib-dev libusb-1.0.0-dev venv/bin/pip install git+https://github.com/sourcebots/sb-vision - run: name: install ourselves command: venv/bin/pip install -e . - run: venv/bin/python3 -m unittest - run: venv/bin/pip install -r script/linting/requirements.txt - run: command: script/linting/lint environment: FLAKE8: venv/bin/flake8
version: 2 jobs: build: docker: # Note: Raspbian stretch actually has Python 3.5.3, but CircleCI's images # don't offer exactly that combination. We go with the closest we can, # even this is likely on the wrong patch version. - image: python:3.5-stretch steps: - checkout - run: python3 -m venv venv - run: name: install sb-vision command: | apt-get update -y apt-get install -y libcv-dev libopencv-photo-dev libopencv-contrib-dev libusb-1.0.0-dev venv/bin/pip install git+https://github.com/sourcebots/sb-vision - run: name: install ourselves command: venv/bin/pip install -e . - run: venv/bin/python3 -m unittest - run: venv/bin/pip install -r script/linting/requirements.txt - run: command: script/linting/lint environment: FLAKE8: venv/bin/flake8
Build with latest docker stable engine
version: 2 defaults: &defaults working_directory: ~/go/src/github.com/docker/libnetwork docker: # the following image is irrelevant for the build, everything is built inside a container, check the Makefile - image: 'circleci/golang:latest' environment: dockerbuildargs: . dockerargs: --privileged -e CIRCLECI jobs: builder: <<: *defaults steps: - checkout - setup_remote_docker: version: 18.05.0-ce reusable: true exclusive: false - run: make builder build: <<: *defaults steps: - checkout - setup_remote_docker: version: 18.05.0-ce reusable: true exclusive: false - run: make build check: <<: *defaults steps: - checkout - setup_remote_docker: version: 18.05.0-ce reusable: true exclusive: false - run: make check cross: <<: *defaults steps: - checkout - setup_remote_docker: version: 18.05.0-ce reusable: true exclusive: false - run: make cross unit-tests: <<: *defaults steps: - checkout - setup_remote_docker: version: 18.05.0-ce reusable: true exclusive: false - run: make unit-tests workflows: version: 2 ci: jobs: - builder - build: requires: - builder - check: requires: - builder - cross: requires: - builder - unit-tests: requires: - builder
version: 2 defaults: &defaults working_directory: ~/go/src/github.com/docker/libnetwork docker: # the following image is irrelevant for the build, everything is built inside a container, check the Makefile - image: 'circleci/golang:latest' environment: dockerbuildargs: . dockerargs: --privileged -e CIRCLECI jobs: builder: <<: *defaults steps: - checkout - setup_remote_docker: version: stable reusable: true exclusive: false - run: make builder build: <<: *defaults steps: - checkout - setup_remote_docker: version: stable reusable: true exclusive: false - run: make build check: <<: *defaults steps: - checkout - setup_remote_docker: version: stable reusable: true exclusive: false - run: make check cross: <<: *defaults steps: - checkout - setup_remote_docker: version: stable reusable: true exclusive: false - run: make cross unit-tests: <<: *defaults steps: - checkout - setup_remote_docker: version: stable reusable: true exclusive: false - run: make unit-tests workflows: version: 2 ci: jobs: - builder - build: requires: - builder - check: requires: - builder - cross: requires: - builder - unit-tests: requires: - builder
Add a transaction correction for 'Portgual'
# Contains fixes for upstream pkg-iso-codes # Any change here should have an upstream bug report # https://alioth.debian.org/projects/pkg-iso-codes/ # # These changes are applied during `rake update_cache` # # Ex: # # locale: # alpha2: localized_name # --- oc: US: USA ar: PS: "فلسطين" SA: "السعودية" AE: "الإمارات العربيّة المتّحدة" SD: "السودان" SO: "الصومال‎" SY: "سوريا" BQ: "بونير، سينت أوستاتيوس وسابا" CW: "كوراساو" zh: KH: '柬埔寨' zh_cn: KH: '柬埔寨' fa: IR: "ایران" he: PS: "פלסטין, מדינת" VI: "איי הבתולה (ארה)" sv: GB: "Storbritannien"
# Contains fixes for upstream pkg-iso-codes # Any change here should have an upstream bug report # https://alioth.debian.org/projects/pkg-iso-codes/ # # These changes are applied during `rake update_cache` # # Ex: # # locale: # alpha2: localized_name # --- oc: US: USA ar: PS: "فلسطين" SA: "السعودية" AE: "الإمارات العربيّة المتّحدة" SD: "السودان" SO: "الصومال‎" SY: "سوريا" BQ: "بونير، سينت أوستاتيوس وسابا" CW: "كوراساو" nn: PT: Portugal zh: KH: '柬埔寨' zh_cn: KH: '柬埔寨' fa: IR: "ایران" he: PS: "פלסטין, מדינת" VI: "איי הבתולה (ארה)" sv: GB: "Storbritannien"
Add packages required by python-build
- name: "install python3 & python3-pip" apt: name="{{ item }}" state="present" update_cache="yes" cache_valid_time="7200" state=latest with_items: - python3 - python3-pip - name: "install pyenv & friends" become: false shell: | curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash args: creates: "{{ pyenv_home }}" - name: "install python {{ python_version }}" become: false shell: | {{pyenv_home}}/bin/pyenv install {{ python_version }} {{pyenv_home}}/bin/pyenv global {{ python_version }} args: creates: "{{ pyenv_home }}/versions/{{ python_version }}/bin/python"
- name: "install python3 & python3-pip" apt: name="{{ item }}" state="present" update_cache="yes" cache_valid_time="7200" state=latest with_items: - python3 - python3-pip - name: "install required packages" apt: name="{{ item }}" state="present" update_cache="yes" cache_valid_time="7200" state=latest with_items: - make - build-essential - libssl-dev - zlib1g-dev - libbz2-dev - libreadline-dev - libsqlite3-dev - wget - curl - llvm - libncurses5-dev - libncursesw5-dev - xz-utils - tk-dev - name: "install pyenv & friends" become: false shell: | curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash args: creates: "{{ pyenv_home }}" - name: "install python {{ python_version }}" become: false shell: | {{pyenv_home}}/bin/pyenv install {{ python_version }} {{pyenv_home}}/bin/pyenv global {{ python_version }} args: creates: "{{ pyenv_home }}/versions/{{ python_version }}/bin/python"
Fix loopback IP as HBase prefers.
--- - hosts: vagrant sudo: yes tasks: - name: install essential Python packages apt: pkg=$item state=present with_items: - python-pip - python-virtualenv - python-software-properties - name: add Java PPA apt_repository: repo=ppa:webupd8team/java state=present - name: ensure recent package list apt: update_cache=yes - name: automatically accept Java license shell: echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections - name: install Java 7 apt: pkg=$item state=present with_items: - oracle-java7-installer - oracle-java7-set-default
--- - hosts: vagrant sudo: yes tasks: - name: install essential Python packages apt: pkg=$item state=present with_items: - python-pip - python-virtualenv - python-software-properties - name: add Java PPA apt_repository: repo=ppa:webupd8team/java state=present - name: ensure recent package list apt: update_cache=yes - name: automatically accept Java license shell: echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections - name: install Java 7 apt: pkg=$item state=present with_items: - oracle-java7-installer - oracle-java7-set-default - name: fix /etc/hosts lineinfile: dest=/etc/hosts regexp='^127\.0\.1\.1\s+(.*)$' line='127.0.0.1 \\1' backrefs=yes state=present
Build and upload macos artefacts
name: macOS on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: python-version: [2, 3.6, 3.7, 3.8] os: [macos-latest] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | brew install freetds python -m pip install --upgrade pip pip install -r requirements-dev.txt - name: build & install run: python setup.py build install - name: build wheel run: python setup.py bdist_wheel
name: macOS on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: python-version: [2, 3.6, 3.7, 3.8] os: [macos-latest] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | brew install freetds pip install --upgrade pip pip install -r requirements-dev.txt - name: build wheel and sdist run: | pip wheel . -w dist python setup.py sdist - name: Archive wheels and sdist uses: actions/upload-artifact@v2 with: name: pymssql-${{ runner.os }}-${{ github.sha }} path: dist
Allow empty case conditions in Ruby
--- AllCops: TargetRubyVersion: 2.5 Layout/ClassStructure: Enabled: true Categories: module_inclusion: - include - prepend - extend association: - belongs_to - has_many - has_one - has_and_belongs_to_many validation: - validates attribute: - attr_accessor - attr_reader - attr_writer ExpectedOrder: - module_inclusion - constants - association - validation - attribute - public_class_methods - initializer - public_methods - protected_methods - private_methods Style/AndOr: EnforcedStyle: conditionals Style/StringLiterals: EnforcedStyle: double_quotes Style/StringLiteralsInInterpolation: EnforcedStyle: double_quotes Style/TrailingCommaInArguments: EnforcedStyleForMultiline: consistent_comma Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: consistent_comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: consistent_comma
--- AllCops: TargetRubyVersion: 2.5 Layout/ClassStructure: Enabled: true Categories: module_inclusion: - include - prepend - extend association: - belongs_to - has_many - has_one - has_and_belongs_to_many validation: - validates attribute: - attr_accessor - attr_reader - attr_writer ExpectedOrder: - module_inclusion - constants - association - validation - attribute - public_class_methods - initializer - public_methods - protected_methods - private_methods Style/AndOr: EnforcedStyle: conditionals Style/EmptyCaseCondition: Enabled: false Style/StringLiterals: EnforcedStyle: double_quotes Style/StringLiteralsInInterpolation: EnforcedStyle: double_quotes Style/TrailingCommaInArguments: EnforcedStyleForMultiline: consistent_comma Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: consistent_comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: consistent_comma
Scale Ireland's logging up from 24 to 27 dopplers
--- cell_instances: 30 router_instances: 12 api_instances: 6 doppler_instances: 24 log_api_instances: 6 adapter_instances: 2 cc_hourly_rate_limit: 20000 paas_region_name: ireland
--- cell_instances: 30 router_instances: 12 api_instances: 6 doppler_instances: 27 log_api_instances: 6 adapter_instances: 2 cc_hourly_rate_limit: 20000 paas_region_name: ireland
Remove dependencies for specific rabbitmq task
- id: rabbitmq-hiera-override type: puppet groups: [primary-controller, controller, standalone-rabbitmq, cinder, cinder-vmware, compute, ceph-osd, primary-mongo, mongo] requires: [globals] required_for: [logging] parameters: puppet_manifest: "rabbitmq_hiera_override.pp" puppet_modules: "/etc/puppet/modules" timeout: 120 ############################################## # Deployment groups - id: standalone-rabbitmq type: group role: [standalone-rabbitmq] requires: [deploy_start] required_for: [deploy_end, primary-controller, controller] tasks: [fuel_pkgs, hiera, globals, tools, logging, netconfig, hosts, firewall, deploy_start, cluster, task-rabbitmq] parameters: strategy: type: parallel # Deployment tasks - id: task-rabbitmq type: puppet groups: [standalone-rabbitmq] requires: [hosts, firewall, globals, rabbitmq-hiera-override, cluster] required_for: [deploy_end, glance, openstack-network-start] parameters: puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/rabbitmq/rabbitmq.pp puppet_modules: /etc/puppet/modules timeout: 3600 test_pre: cmd: ruby /etc/puppet/modules/osnailyfacter/modular/rabbitmq/rabbitmq_pre.rb test_post: cmd: ruby /etc/puppet/modules/osnailyfacter/modular/rabbitmq/rabbitmq_post.rb
- id: rabbitmq-hiera-override type: puppet groups: [primary-controller, controller, standalone-rabbitmq, cinder, cinder-vmware, compute, ceph-osd, primary-mongo, mongo] requires: [globals] required_for: [logging] parameters: puppet_manifest: "rabbitmq_hiera_override.pp" puppet_modules: "/etc/puppet/modules" timeout: 120 ############################################## # Deployment groups - id: standalone-rabbitmq type: group role: [standalone-rabbitmq] requires: [deploy_start] required_for: [deploy_end, primary-controller, controller] tasks: [fuel_pkgs, hiera, globals, tools, logging, netconfig, hosts, firewall, deploy_start, cluster, task-rabbitmq] parameters: strategy: type: parallel # Deployment tasks - id: task-rabbitmq type: puppet groups: [standalone-rabbitmq] requires: [hosts, firewall, globals, rabbitmq-hiera-override, cluster] required_for: [deploy_end] parameters: puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/rabbitmq/rabbitmq.pp puppet_modules: /etc/puppet/modules timeout: 3600 test_pre: cmd: ruby /etc/puppet/modules/osnailyfacter/modular/rabbitmq/rabbitmq_pre.rb test_post: cmd: ruby /etc/puppet/modules/osnailyfacter/modular/rabbitmq/rabbitmq_post.rb
Switch bosh-lite back to only one cell
instance_count_overrides: - name: access_z2 instances: 0 - name: access_z3 instances: 0 - name: brain_z2 instances: 0 - name: cc_bridge_z2 instances: 0 - name: cell_z2 instances: 1 - name: database_z2 instances: 0 - name: database_z3 instances: 0 - name: route_emitter_z2 instances: 0
instance_count_overrides: - name: access_z2 instances: 0 - name: access_z3 instances: 0 - name: brain_z2 instances: 0 - name: cc_bridge_z2 instances: 0 - name: cell_z2 instances: 0 - name: database_z2 instances: 0 - name: database_z3 instances: 0 - name: route_emitter_z2 instances: 0
Fix Arch default package list
--- i3_packages_default: - i3 - scrot - pulseaudio - xorg-server - dmenu
--- i3_packages_default: - i3-gaps - i3-wm - i3lock - i3status - scrot - pulseaudio - xorg-server - dmenu
Update setuptools recipe to version 32.3.1
{% set version = "29.0.1" %} package: name: setuptools version: {{ version }} source: fn: setuptools-{{ version }}.tar.gz url: https://github.com/pypa/setuptools/archive/v{{ version }}.tar.gz sha256: 95fc53e1c2732593a05c12ad38ed160a228f7d1a19dab2eb778a8a47d73354e0 patches: # Modify setuptools to fail if used in conda build (encourage people to add all deps in meta.yaml). - nodownload.patch build: number: 0 entry_points: - easy_install = setuptools.command.easy_install:main requirements: build: - python - certifi run: - python - certifi test: commands: - easy_install --help imports: - setuptools - easy_install - pkg_resources about: home: https://github.com/pypa/setuptools license: MIT license_file: LICENSE license_family: MIT summary: Download, build, install, upgrade, and uninstall Python packages description: | Setuptools is a fully-featured, actively-maintained, and stable library designed to facilitate packaging Python projects. doc_url: http://pythonhosted.org/setuptools/ dev_url: https://github.com/pypa/setuptools
{% set name = "setuptools" %} {% set version = "32.3.1" %} package: name: setuptools version: {{ version }} source: fn: {{ name }}-{{ version }}.zip url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.zip sha256: 806bae0840429c13f6e6e44499f7c0b87f3b269fdfbd815d769569c1daa7c351 patches: # Modify setuptools to fail if used in conda build (encourage people to add all deps in meta.yaml). - nodownload.patch build: number: 0 entry_points: - easy_install = setuptools.command.easy_install:main requirements: build: - python - certifi run: - python - certifi test: commands: - easy_install --help imports: - setuptools - easy_install - pkg_resources about: home: https://github.com/pypa/setuptools license: MIT license_file: LICENSE license_family: MIT summary: Download, build, install, upgrade, and uninstall Python packages description: | Setuptools is a fully-featured, actively-maintained, and stable library designed to facilitate packaging Python projects. doc_url: http://pythonhosted.org/setuptools/ dev_url: https://github.com/pypa/setuptools
Add wakari channel to build
package: wk-ttyjs user: wakari script: - conda build conda.recipe build_targets: conda notifications: email: recipients: bkreider@continuum.io
package: wk-ttyjs user: wakari install: - conda config --system --add channels https://conda.binstar.org/wakari script: - conda build conda.recipe build_targets: conda notifications: email: recipients: bkreider@continuum.io
Update from Hackage at 2015-10-06T09:37:31+0000
homepage: '' changelog-type: '' hash: 033fedbf4df009a68b07556488b0134ec290b747fac08e5991a075354b648cc8 test-bench-deps: {} maintainer: hvr@gnu.org synopsis: liblzma C library and headers for use by LZMA bindings changelog: '' basic-deps: only-buildable-on-windows: <0 all-versions: - '5.2.1' author: Lasse Collin latest: '5.2.1' description-type: haddock description: ! 'This package contains the @liblzma@ C library with headers for use by LZMA\/XZ bindings such as </package/lzma lzma>. The @liblzma@ code contained in this package version has been extracted from the <http://tukaani.org/xz/ XZ Utils> 5.2.1 release. NOTE: This package is only buildable on Windows.' license-name: PublicDomain
homepage: '' changelog-type: '' hash: 25eb43d5fd8a8ab58380f475b91fb1fa907381f8a81c8d8ba63ba428d97ae0cc test-bench-deps: {} maintainer: hvr@gnu.org synopsis: liblzma C library and headers for use by LZMA bindings changelog: '' basic-deps: only-buildable-on-windows: <0 all-versions: - '5.2.1' - '5.2.2' author: Lasse Collin latest: '5.2.2' description-type: haddock description: ! 'This package contains the @liblzma@ C library with headers for use by LZMA\/XZ bindings such as </package/lzma lzma>. The @liblzma@ code contained in this package version has been extracted from the <http://tukaani.org/xz/ XZ Utils> 5.2.2 release. NOTE: This package is only buildable on Windows.' license-name: PublicDomain
Allow inline images, styles and scripts.
imports: - { resource: config.yml } framework: router: resource: "%kernel.root_dir%/config/routing_dev.yml" strict_requirements: true profiler: { only_exceptions: false } web_profiler: toolbar: "%debug_toolbar%" intercept_redirects: "%debug_redirects%" monolog: handlers: main: type: stream path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug console: type: console bubble: false # uncomment to get logging in your browser # you may have to allow bigger header sizes in your Web server configuration #firephp: # type: firephp # level: info #chromephp: # type: chromephp # level: info assetic: use_controller: "%use_assetic_controller%" jms_translation: locales: [nl] configs: default: dirs: [%kernel.root_dir%/../src] output_dir: %kernel.root_dir%/../src/Resources/translations ignored_domains: [] excluded_names: ['*TestCase.php', '*Test.php'] excluded_dirs: [cache, data, logs, Tests] extractors: []
imports: - { resource: config.yml } framework: router: resource: "%kernel.root_dir%/config/routing_dev.yml" strict_requirements: true profiler: { only_exceptions: false } web_profiler: toolbar: "%debug_toolbar%" intercept_redirects: "%debug_redirects%" monolog: handlers: main: type: stream path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug console: type: console bubble: false # uncomment to get logging in your browser # you may have to allow bigger header sizes in your Web server configuration #firephp: # type: firephp # level: info #chromephp: # type: chromephp # level: info assetic: use_controller: "%use_assetic_controller%" nelmio_security: csp: img: [ self, 'data:' ] script: [ self, unsafe-inline ] style: [ self, unsafe-inline ] jms_translation: locales: [nl] configs: default: dirs: [%kernel.root_dir%/../src] output_dir: %kernel.root_dir%/../src/Resources/translations ignored_domains: [] excluded_names: ['*TestCase.php', '*Test.php'] excluded_dirs: [cache, data, logs, Tests] extractors: []
Add missing Spanish locale key
es: errors: messages: not_a_date: "no es una fecha" date_after: "tiene que ser posterior a %{date}" date_after_or_equal_to: "tiene que ser posterior o igual a %{date}" date_before: "tiene que ser antes de %{date}" date_before_or_equal_to: "tiene que ser antes o igual a %{date}"
es: errors: messages: not_a_date: "no es una fecha" date_after: "tiene que ser posterior a %{date}" date_after_or_equal_to: "tiene que ser posterior o igual a %{date}" date_before: "tiene que ser antes de %{date}" date_before_or_equal_to: "tiene que ser antes o igual a %{date}" date_equal_to: "tiene que ser igual a %{date}"
Update from Hackage at 2017-08-15T15:35:31Z
homepage: https://github.com/zmactep/smiles#readme changelog-type: '' hash: e39306f56aa573ee652aa28a0d7d4ecbd64e9fe4506ee07da43218046c6bfc74 test-bench-deps: base: -any hspec: -any text: -any megaparsec: -any smiles: -any QuickCheck: -any maintainer: kondiukov@biocad.ru synopsis: '' changelog: '' basic-deps: base: ! '>=4.7 && <5' text: -any megaparsec: -any all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.1.0' author: Artem Kondyukov, Pavel Yakovlev latest: '0.1.1.0' description-type: markdown description: ! '# smiles [![Travis](https://img.shields.io/travis/zmactep/smiles.svg)](https://travis-ci.org/zmactep/smiles) [![license](https://img.shields.io/github/license/zmactep/smiles.svg)]() Full support of OpenSMILES specification for Haskell ' license-name: BSD3
homepage: https://github.com/zmactep/smiles#readme changelog-type: '' hash: fa97f817bda10adb0d4cd6f7b332ef86c2d634053614baecc2c17a05baf25b39 test-bench-deps: base: -any hspec: -any text: -any megaparsec: -any smiles: -any QuickCheck: -any maintainer: kondiukov@biocad.ru synopsis: '' changelog: '' basic-deps: base: ! '>=4.7 && <5' text: -any megaparsec: -any all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.1.0' - '0.2.0.0' author: Artem Kondyukov, Pavel Yakovlev, Vladimir Morozov latest: '0.2.0.0' description-type: markdown description: ! '# smiles [![Travis](https://img.shields.io/travis/zmactep/smiles.svg)](https://travis-ci.org/zmactep/smiles) [![license](https://img.shields.io/github/license/zmactep/smiles.svg)]() Full support of OpenSMILES specification for Haskell ' license-name: BSD3
Indent - docker by 2 spaces, like the successful example...
sudo: required services: - docker language: node_js node_js: - '0.10' env: global: - GH_REF: github.com/chad-autry/stdin-eval-stdout script: - npm test - npm prune --production - docker build -t chadautry/stdin-eval-stdout:latest . - if [[ ! -z "$TRAVIS_TAG" ]]; then docker tag chadautry/stdin-eval-stdout:latest chadautry/stdin-eval-stdout:$TRAVIS_TAG ; fi after_script: - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - docker push chadautry/stdin-eval-stdout
sudo: required services: - docker language: node_js node_js: - '0.10' env: global: - GH_REF: github.com/chad-autry/stdin-eval-stdout script: - npm test - npm prune --production - docker build -t chadautry/stdin-eval-stdout:latest . - if [[ ! -z "$TRAVIS_TAG" ]]; then docker tag chadautry/stdin-eval-stdout:latest chadautry/stdin-eval-stdout:$TRAVIS_TAG ; fi after_script: - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - docker push chadautry/stdin-eval-stdout
Use PHP 7.4 on Travis
sudo: required dist: xenial language: php php: - '7.3' before_install: - ./build/install_dependencies_ubuntu.sh # - echo "extension=sqlite3.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini # - echo "extension=pdo_sqlite.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini install: # do not build the entire solution; there are windows projects included # - dotnet build ./Peachpie.sln # build the Sdk/compiler: - dotnet build ./src/Peachpie.NET.Sdk/ # install NuGets to NuGet cache: - dotnet restore ./build/dummy -p:DisableImplicitPeachpieReferences=true # compile tests: - dotnet build ./tests -c Release script: - dotnet test ./src/Tests/Peachpie.Runtime.Tests/Peachpie.Runtime.Tests.csproj - dotnet test ./src/Tests/Peachpie.DiagnosticTests/Peachpie.DiagnosticTests.csproj - ./build/runtests.sh
sudo: required dist: xenial language: php php: - '7.4' before_install: - ./build/install_dependencies_ubuntu.sh # - echo "extension=sqlite3.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini # - echo "extension=pdo_sqlite.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini install: # do not build the entire solution; there are windows projects included # - dotnet build ./Peachpie.sln # build the Sdk/compiler: - dotnet build ./src/Peachpie.NET.Sdk/ # install NuGets to NuGet cache: - dotnet restore ./build/dummy -p:DisableImplicitPeachpieReferences=true # compile tests: - dotnet build ./tests -c Release script: - dotnet test ./src/Tests/Peachpie.Runtime.Tests/Peachpie.Runtime.Tests.csproj - dotnet test ./src/Tests/Peachpie.DiagnosticTests/Peachpie.DiagnosticTests.csproj - ./build/runtests.sh
Move these jobs earlier, so we can do some other stuff after it
application: serfr0-fdb cron: - description: Airframe/schedule polling url: /be/fr24 schedule: every 2 minutes target: backend - description: Metar gathering url: /metar/lookup schedule: every 15 minutes synchronized target: ui - description: Publish flights into bigquery url: /batch/publish-flights?datestring=yesterday schedule: every day 07:00 timezone: America/Los_Angeles target: backend - description: Retag yesterday's inbound SFO flights (pick up :SFO_S etc) url: /batch/flights/dates?job=retag&date=yesterday&tags=:SFO schedule: every day 04:00 timezone: America/Los_Angeles target: backend - description: Retag yesterday's inbound SJC flights (pick up :SJC_N) url: /batch/flights/dates?job=retag&date=yesterday&tags=:SJC schedule: every day 04:15 timezone: America/Los_Angeles target: backend
application: serfr0-fdb cron: - description: Airframe/schedule polling url: /be/fr24 schedule: every 2 minutes target: backend - description: Metar gathering url: /metar/lookup schedule: every 15 minutes synchronized target: ui - description: Publish flights into bigquery url: /batch/publish-flights?datestring=yesterday schedule: every day 07:00 timezone: America/Los_Angeles target: backend - description: Retag yesterday's inbound SFO flights (pick up :SFO_S etc) url: /batch/flights/dates?job=retag&date=yesterday&tags=:SFO schedule: every day 01:00 timezone: America/Los_Angeles target: backend - description: Retag yesterday's inbound SJC flights (pick up :SJC_N) url: /batch/flights/dates?job=retag&date=yesterday&tags=:SJC schedule: every day 01:15 timezone: America/Los_Angeles target: backend
Add a new call for PHP image + Composer installation
# To define
stages: - unit_tests unit_tests: stage: unit_tests image: php:fpm before_script: - apt-get update - apt-get install zip unzip - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - php composer-setup.php - php -r "unlink('composer-setup.php');" script: - composer install - vendor/bin/phpunit -v
Define service for returning FOSUBUserProvider class
# Learn more about services, parameters and containers at # http://symfony.com/doc/current/book/service_container.html parameters: # parameter_name: value services: app.orm: class: AppBundle\ORM arguments: [ '@doctrine' ] app.api.webservice: class: AppBundle\API\Webservice arguments: ['@app.orm','@security.token_storage'] app.twig_provider.dbversion: class: AppBundle\Service\TwigProvider\DBVersion arguments: ['@twig', '%doctrine.default_connection%'] tags: [{name: kernel.event_listener, event: kernel.request}] app.twig_provider.types: class: AppBundle\Service\TwigProvider\Types arguments: ['@twig'] tags: [{name: kernel.event_listener, event: kernel.request}] app.form.registration: class: AppBundle\Form\RegistrationFormType tags: [{name: form.type, alias: app_user_registration }]
# Learn more about services, parameters and containers at # http://symfony.com/doc/current/book/service_container.html parameters: # parameter_name: value services: app.orm: class: AppBundle\ORM arguments: [ '@doctrine' ] app.api.webservice: class: AppBundle\API\Webservice arguments: ['@app.orm','@security.token_storage'] app.twig_provider.dbversion: class: AppBundle\Service\TwigProvider\DBVersion arguments: ['@twig', '%doctrine.default_connection%'] tags: [{name: kernel.event_listener, event: kernel.request}] app.twig_provider.types: class: AppBundle\Service\TwigProvider\Types arguments: ['@twig'] tags: [{name: kernel.event_listener, event: kernel.request}] app.form.registration: class: AppBundle\Form\RegistrationFormType tags: [{name: form.type, alias: app_user_registration }] app.fos_user.oauth_provider: # Change the class according to the location of the FOSUBUserProvider class class: AppBundle\Entity\FOSUBUserProvider arguments: ['@fos_user.user_manager.default', {github: github_id}] # # Inject as first argument the user_manager of FOSUserBundle # user_manager: "@fos_user.user_manager.default" # # An object/array with the registered Social Media from config.yml # user_response: # github: github_id
Remove Opera, only 15 and above supports URL
ui: tape browsers: - name: chrome version: 28..latest - name: firefox version: 13..latest - name: ie version: 10..latest - name: safari version: 6..latest - name: opera version: 12..latest
ui: tape browsers: - name: chrome version: 28..latest - name: firefox version: 13..latest - name: ie version: 10..latest - name: safari version: 6..latest
Revert to hackage version of lua-bc
packages: - location: lib/hashtables extra-dep: true - location: galua - location: galua-dbg - location: galua-analysis - location: lib/dwarf-tools - location: lib/language-lua - location: lib/lua-bc resolver: lts-6.12 extra-deps: - config-value-0.5 - config-value-getopt-0.1.0.0 - elf-0.27
packages: - location: lib/hashtables extra-dep: true - location: galua - location: galua-dbg - location: galua-analysis - location: lib/dwarf-tools - location: lib/language-lua resolver: lts-6.13 extra-deps: - config-value-0.5 - config-value-getopt-0.1.0.0 - elf-0.27 - lua-bc-0.1.0.1
Add tasks to setup workstation on Archlinux
--- - hosts: localhost tasks: - include_vars: "{{ item }}" with_first_found: - "vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version | int }}.yml" - "vars/{{ ansible_distribution }}.yml" - "vars/{{ ansible_os_family }}.yml" - "vars/default.yml" - name: Install dependencies become: true become_method: su become_user: root package: name={{ item }} state=latest with_items: - "{{ build_essential_package }}" - "{{ cmake_package }}" - "{{ curl_package }}" - "{{ exuberant_ctags_package }}" - "{{ git_package }}" - "{{ golang_package }}" - "{{ mono_xbuild }}" - "{{ node_typescript_package }}" - "{{ npm_package }}" - "{{ python_dev_package }}" - "{{ python3_dev_package }}" - "{{ sudo_package }}" - "{{ tmux_package }}" - "{{ vim_package }}" - "{{ zsh_package }}"
--- - hosts: localhost tasks: - include_vars: "{{ item }}" with_first_found: - "vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version | int }}.yml" - "vars/{{ ansible_distribution }}.yml" - "vars/{{ ansible_os_family }}.yml" - "vars/default.yml" - name: Install dependencies become: true become_method: su become_user: root package: name={{ item }} state=latest with_items: - "{{ build_essential_package }}" - "{{ cmake_package }}" - "{{ curl_package }}" - "{{ exuberant_ctags_package }}" - "{{ git_package }}" - "{{ golang_package }}" - "{{ mono_xbuild }}" - "{{ node_typescript_package }}" - "{{ npm_package }}" - "{{ python_dev_package }}" - "{{ python3_dev_package }}" - "{{ sudo_package }}" - "{{ tmux_package }}" - "{{ vim_package }}" - "{{ zsh_package }}" when: item != "" - name: Symlink Neovim config file: src={{ repo_dir }}/init.vim dest=~/.config/nvim/init.vim state=link - name: Create vim-plug directory file: path=~/.local/share/nvim/site/autoload state=directory - name: Install vim-plug copy: src={{ repo_dir }}/vim-plug/plug.vim dest=~/.local/share/nvim/site/autoload/plug.vim - name: Install Neovim plugins command: nvim --headless +PlugInstall +qall - name: Create Vim backup directory file: path=~/.vim-backupsdir state=directory - name: Create Vim swap directory file: path=~/.vim-swapdir state=directory - name: Symlink tmux config file: src={{ repo_dir }}/tmux.conf dest=~/.tmux.conf state=link - name: Install Oh-My-Zsh shell: sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Add configurable e2e tests kickoff project board column name
_extends: probot-settings project-board: name: 'Pipeline for QA' tested-pr-label-name: 'Tested - Issues' contributor-column-name: 'CONTRIBUTOR' review-column-name: 'REVIEW' test-column-name: 'TO TEST' automated-tests: repo-full-name: 'status-im/status-react' job-full-name: 'end-to-end-tests/status-app-end-to-end-tests' github-team: slug: 'clojure' prchecklist: title: Pull Request Checklist checklist: - 'Have you updated the documentation, if impacted (e.g. [docs.status.im](https://docs.status.im/docs/build_status.html))?' stale: daysUntilStale: 90 daysUntilPullRequestStale: 14 daysUntilClose: 7 exemptLabels: - 'wall of shame' - security staleLabel: stale markComment: > This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. closeComment: > This issue has been automatically closed. Please re-open if this issue is important to you.
_extends: probot-settings project-board: name: 'Pipeline for QA' tested-pr-label-name: 'Tested - Issues' contributor-column-name: 'CONTRIBUTOR' review-column-name: 'REVIEW' test-column-name: 'TO TEST' automated-tests: repo-full-name: 'status-im/status-react' job-full-name: 'end-to-end-tests/status-app-end-to-end-tests' kickoff-column-name: 'REVIEW' github-team: slug: 'clojure' prchecklist: title: Pull Request Checklist checklist: - 'Have you updated the documentation, if impacted (e.g. [docs.status.im](https://docs.status.im/docs/build_status.html))?' stale: daysUntilStale: 90 daysUntilPullRequestStale: 14 daysUntilClose: 7 exemptLabels: - 'wall of shame' - security staleLabel: stale markComment: > This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. closeComment: > This issue has been automatically closed. Please re-open if this issue is important to you.
Set features in build matrix.
sudo: false language: rust rust: - stable - beta cache: cargo: true # before_script: # - cargo +nightly install --force rustfmt-nightly script: # - cargo +nightly fmt -- --write-mode=diff - cargo build - cargo test - cargo test --features=blake2b - cargo bench - cargo run -- build db README.md - cargo run -- check db README.md - cargo run -- build db2 README.md - "! cargo run -- build db README.md" # shouldn't overwrite - cargo run -- build db README.md -f # should overwrite - cargo run -- diff db db2 - cargo run -- selfcheck db
sudo: false language: rust rust: - stable - beta cache: cargo: true env: matrix: - FEATURES= - FEATURES=--features=blake2b # before_script: # - cargo +nightly install --force rustfmt-nightly script: # - cargo +nightly fmt -- --write-mode=diff - cargo build $FEATURES - cargo test $FEATURES - cargo bench $FEATURES - cargo run $FEATURES -- build db README.md - cargo run $FEATURES -- check db README.md - cargo run $FEATURES -- build db2 README.md - "! cargo run $FEATURES -- build db README.md" # shouldn't overwrite - cargo run $FEATURES -- build db README.md -f # should overwrite - cargo run $FEATURES -- diff db db2 - cargo run $FEATURES -- selfcheck db
Fix test; mandatory config values
language: python python: - "3.4" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - pip3 install -r requirements.txt # Install ourself to test own code - pip install -e . # command to run tests, e.g. python setup.py test script: - nosetests --nocapture --with-coverage --cover-erase --cover-package=alarmlistener
language: python python: - "3.4" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - pip3 install -r requirements.txt # Install ourself to test own code - pip install -e . # Make sure there is a configuration file present with values - cp config.ini.example config.ini # command to run tests, e.g. python setup.py test script: - nosetests --nocapture --with-coverage --cover-erase --cover-package=alarmlistener
Align Rubies in CI with KriKri
language: ruby bundler_args: --without debug sudo: false before_install: gem install -v '~> 1.10' bundler script: "bundle exec rspec spec" rvm: - 1.9.3 - 2.0.0 - 2.1.3 - 2.1.6 - 2.1.8 - 2.2.4 - 2.3.0 - ruby-head
language: ruby bundler_args: --without debug sudo: false before_install: gem install -v '~> 1.10' bundler script: "bundle exec rspec spec" rvm: - 2.1.3 - 2.1.6 - 2.2.3 - 2.3.0
Remove phantomjs 2.0 path update
--- language: node_js node_js: - "0.12" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-beta - env: EMBER_TRY_SCENARIO=ember-canary before_install: - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install script: - ember try $EMBER_TRY_SCENARIO test
--- language: node_js node_js: - "0.12" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-beta - env: EMBER_TRY_SCENARIO=ember-canary before_install: - "npm config set spin false" - "npm install -g npm@^2" install: - npm install -g bower - npm install - bower install script: - ember try $EMBER_TRY_SCENARIO test
Add cmsplugin_storybase tests to Travis run
# Configuration file for building this project with Travis CI language: python python: - "2.7" jdk: - openjdk6 install: pip install -r REQUIREMENTS --use-mirrors && pip install Fabric==1.4.0 --use-mirrors #script: python manage.py harvest --apps=storybase_user --settings=settings.travis script: python manage.py test storybase_messaging storybase_asset storybase_geo storybase_help storybase_story storybase_user storybase_taxonomy --settings=settings.travis postgres: adapter: postgresql database: atlas_travis username: postgres before_install: ./scripts/ci_before_install.sh before_script: ./scripts/ci_before_script.sh branches: only: - master - develop
# Configuration file for building this project with Travis CI language: python python: - "2.7" jdk: - openjdk6 install: pip install -r REQUIREMENTS --use-mirrors && pip install Fabric==1.4.0 --use-mirrors script: python manage.py test storybase_messaging storybase_asset storybase_geo storybase_help storybase_story storybase_user storybase_taxonomy cmsplugin_storybase --settings=settings.travis postgres: adapter: postgresql database: atlas_travis username: postgres before_install: ./scripts/ci_before_install.sh before_script: ./scripts/ci_before_script.sh branches: only: - master - develop
Add oraclejdk8 to build matrix
matrix: include: - language: java jdk: openjdk8 env: FRONT=false - language: java jdk: oraclejdk9 env: FRONT=false - language: node_js node_js: 6.11.4 env: FRONT=true - language: node_js node_js: lts/* env: FRONT=true - language: node_js node_js: node env: FRONT=true allow_failures: - jdk: oraclejdk9 before_install: - if [[ $FRONT = 'true' ]]; then cd front; fi
matrix: include: - language: java jdk: openjdk8 env: FRONT=false - language: java jdk: oraclejdk8 env: FRONT=false - language: java jdk: oraclejdk9 env: FRONT=false - language: node_js node_js: 6.11.4 env: FRONT=true - language: node_js node_js: lts/* env: FRONT=true - language: node_js node_js: node env: FRONT=true allow_failures: - jdk: oraclejdk9 before_install: - if [[ $FRONT = 'true' ]]; then cd front; fi
Update to the latest TravisCI
script: "gem install foodcritic -v 1.7.0 && foodcritic -f any ." rvm: - 1.9.3
script: "gem install foodcritic -v 2.0.0 && foodcritic -f any ." rvm: - 1.9.3
Remove OSX; let Github CI build those instead
language: c sudo: required matrix: include: - os: linux compiler: gcc arch: amd64 addons: apt: packages: - libtommath-dev - os: linux compiler: clang arch: amd64 addons: apt: packages: - libtommath-dev - clang-3.9 - os: linux compiler: gcc arch: arm64 addons: apt: packages: - libtommath-dev - os: freebsd addons: pkg: packages: - sudo - gmake - libtommath - concurrencykit - os: osx image: xcode11.2 addons: homebrew: packages: - libtommath - concurrencykit notifications: email: false before_install: - | if [[ "$(uname)" != "FreeBSD" && "$(uname)" != "Darwin" ]]; then sudo ln -s /usr/bin/make /usr/bin/gmake fi - | git clone https://github.com/concurrencykit/ck.git ${HOME}/ck cd ${HOME}/ck git checkout 0.6.0 ./configure PREFIX=/usr gmake all sudo gmake install if [ "$(uname)" = "Linux" ]; then sudo ldconfig fi - | git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap cd ${HOME}/cyclone-bootstrap gmake sudo gmake install script: - gmake - sudo gmake install - gmake test
language: c sudo: required matrix: include: - os: linux compiler: gcc arch: amd64 addons: apt: packages: - libtommath-dev - os: linux compiler: clang arch: amd64 addons: apt: packages: - libtommath-dev - clang-3.9 - os: linux compiler: gcc arch: arm64 addons: apt: packages: - libtommath-dev - os: freebsd addons: pkg: packages: - sudo - gmake - libtommath - concurrencykit notifications: email: false before_install: - | if [ "$(uname)" != "FreeBSD" ]; then sudo ln -s /usr/bin/make /usr/bin/gmake fi - | git clone https://github.com/concurrencykit/ck.git ${HOME}/ck cd ${HOME}/ck git checkout 0.6.0 ./configure PREFIX=/usr gmake all sudo gmake install if [ "$(uname)" = "Linux" ]; then sudo ldconfig fi - | git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap cd ${HOME}/cyclone-bootstrap gmake sudo gmake install script: - gmake - sudo gmake install - gmake test
Use iPhone 7 for testing.
osx_image: xcode8 language: objective-c rvm: - '2.2' before_install: - gem install xcpretty -N --no-ri --no-rdoc - gem install cocoapods -v '1.1.0.rc2' -N --no-ri --no-rdoc install: - ./scripts/setup_swiftlint.sh script: - set -o pipefail - swiftlint - xcodebuild test -workspace Example/TrackKit.xcworkspace -scheme Tests -destination "platform=iOS Simulator,name=iPhone 6" -enableCodeCoverage YES | xcpretty deploy: skip_cleanup: true provider: script script: ./scripts/deploy.sh on: tags: true branch: master
osx_image: xcode8 language: objective-c rvm: - '2.2' before_install: - gem install xcpretty -N --no-ri --no-rdoc - gem install cocoapods -v '1.1.0.rc2' -N --no-ri --no-rdoc install: - ./scripts/setup_swiftlint.sh script: - set -o pipefail - swiftlint - xcodebuild test -workspace Example/TrackKit.xcworkspace -scheme Tests -destination "platform=iOS Simulator,name=iPhone 7" -enableCodeCoverage YES | xcpretty deploy: skip_cleanup: true provider: script script: ./scripts/deploy.sh on: tags: true branch: master
Remove external ip printing from Travis CI build, as it causes connection timeout
language: ruby branches: except: - gh-pages rvm: - 2.1.2 - 2.1.1 - 2.1 - 2.0.0 before_install: - pwd - wget http://ipecho.net/plain -O - -q ; echo # print out external ip - sudo apt-get install chromium-browser unzip - wget -N http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip -P ~/Downloads - unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads - chmod +x ~/Downloads/chromedriver - sudo mv -f ~/Downloads/chromedriver /usr/local/share/chromedriver - sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver - sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver - which chromedriver - firefox --version - phantomjs --version - gem update --system - gem update before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some time to start - rake travis script: - rake test:posts - rake test:ui
language: ruby branches: except: - gh-pages rvm: - 2.1.2 - 2.1.1 - 2.1 - 2.0.0 before_install: - pwd - sudo apt-get install chromium-browser unzip - wget -N http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip -P ~/Downloads - unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads - chmod +x ~/Downloads/chromedriver - sudo mv -f ~/Downloads/chromedriver /usr/local/share/chromedriver - sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver - sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver - which chromedriver - firefox --version - phantomjs --version - gem update --system - gem update before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some time to start - rake travis script: - rake test:posts - rake test:ui
Secure environment variables now passed through Travis’s web interface
osx_image: xcode7 language: objective-c env: global: - secure: Joz57OiADTS1+vgoLfNoXkSitwuMtytmAEJeVOdzdp2IKKpWnBBitkIQzaFfOEJmudDaR1CZRd0VpZ+Co1KKSBfl3AsLPWYrzoPNIXgXlxLHuPRSl1h3SFE9xJer9P3klDj3M2o/PZX35xM0+J07T1NjIlP0hmBHnXIJMEbOog4= - secure: IYzMbOCeevN07OOK1+wQ74fxPunRSJhyRjXQ8rxq4LO0toWQCt9jD8Atw7bVROVfPLfk72UVvjvcI7hopE2gI8jo3FsjM5hhEfch0KrGUpHxW1Hw/0up1Vh4kf7MPFXOe/1oy1iaYW1P7AK/7ZGQK6s2fqhxVEOQI8uwKdS7luQ= matrix: - IOS="FALSE" - IOS="TRUE" VERSION="OS=8.1,name=iPhone 6" SDK=iphonesimulator9.0 - IOS="TRUE" VERSION="OS=8.2,name=iPhone 6" SDK=iphonesimulator9.0 - IOS="TRUE" VERSION="OS=8.3,name=iPhone 6" SDK=iphonesimulator9.0 - IOS="TRUE" VERSION="OS=8.4,name=iPhone 6" SDK=iphonesimulator9.0 - IOS="TRUE" VERSION="OS=9.0,name=iPhone 6" SDK=iphonesimulator9.0 before_script: - gem install xcpretty -N script: - set -o pipefail - bash run_test.sh
osx_image: xcode7 language: objective-c env: matrix: - IOS="FALSE" - IOS="TRUE" VERSION="OS=8.1,name=iPhone 6" SDK=iphonesimulator9.0 - IOS="TRUE" VERSION="OS=8.2,name=iPhone 6" SDK=iphonesimulator9.0 - IOS="TRUE" VERSION="OS=8.3,name=iPhone 6" SDK=iphonesimulator9.0 - IOS="TRUE" VERSION="OS=8.4,name=iPhone 6" SDK=iphonesimulator9.0 - IOS="TRUE" VERSION="OS=9.0,name=iPhone 6" SDK=iphonesimulator9.0 before_script: - gem install xcpretty -N script: - set -o pipefail - bash run_test.sh
Use env variables for build script.
sudo: required group: edge language: python python: - "3.5" services: - docker addons: apt: packages: - openvswitch-switch cache: pip directories: - /home/travis/docker/ env: global: - DOCKER_CACHE_FILE=/home/travis/docker/cache.tar.gz before_install: # - if [ -f ${DOCKER_CACHE_FILE} ]; then gunzip -c ${DOCKER_CACHE_FILE} | docker load; fi install: - "pip3 install -r requirements.txt -r test-requirements.txt" - "python3 setup.py sdist" - "pip3 install dist/*tar.gz" - "pip3 show faucet" script: - "cd ./tests" - "PYTHONPATH='../faucet' ./test_min_pylint.sh" - "python3 ./test_config.py" - "python3 ./test_check_config.py" - "python3 ./test_valve.py" - "cd .." - "docker build -t reannz/faucet-tests -f Dockerfile.tests ." - if [[ ${TRAVIS_BRANCH} == "master" ]] && [[ ${TRAVIS_PULL_REQUEST} == "false" ]]; then mkdir -p $(dirname ${DOCKER_CACHE_FILE}) ; docker save $(docker history -q reannz/faucet-tests:latest | grep -v '<missing>') | gzip > ${DOCKER_CACHE_FILE}; fi - "sudo docker run --privileged -ti reannz/faucet-tests"
sudo: required group: edge language: python python: - "3.5" services: - docker addons: apt: packages: - openvswitch-switch cache: directories: - /home/travis/docker/ env: global: - DOCKER_CACHE_FILE=/home/travis/docker/cache.tar.gz - FAUCET_TEST_IMG=reannz/faucet-tests #before_install: # - if [ -f ${DOCKER_CACHE_FILE} ]; then gunzip -c ${DOCKER_CACHE_FILE} | docker load; fi install: - pip3 install -r requirements.txt -r test-requirements.txt - python3 setup.py sdist - pip3 install dist/*tar.gz - pip3 show faucet script: - cd ./tests - PYTHONPATH="../faucet" ./test_min_pylint.sh - python3 ./test_config.py - python3 ./test_check_config.py - python3 ./test_valve.py - cd .. - docker build -t ${FAUCET_TEST_IMG} -f Dockerfile.tests . - if [[ ${TRAVIS_BRANCH} == "master" ]] && [[ ${TRAVIS_PULL_REQUEST} == "false" ]]; then mkdir -p $(dirname ${DOCKER_CACHE_FILE}) ; docker save $(docker history -q ${FAUCET_TEST_IMG}:latest | grep -v '<missing>') | gzip > ${DOCKER_CACHE_FILE}; fi - sudo docker run --privileged -ti ${FAUCET_TEST_IMG}
Add Node.js to Travis tests.
# Configuration options are documented at: # http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ sudo: false language: node_js node_js: - '0.12' - '4' - '5' script: npm test
# Configuration options are documented at: # http://docs.travis-ci.com/user/languages/javascript-with-nodejs/ sudo: false language: node_js node_js: - '0.12' - '4' - '5' - '6' script: npm test # Eyeglass requires this to install on Node.js under Travis. *sigh* before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CC="gcc-4.7"; export CXX="g++-4.7"; export LINK="gcc-4.7"; export LINKXX="g++-4.7"; fi - gcc --version - g++ --version addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc-4.7 - g++-4.7
Update Travis Ci to use before_install
language: cpp compiler: - gcc - clang before_script: - sudo apt-get install libboost-all-dev - mkdir build && cd build - cmake -G "Unix Makefiles" .. script: - make
language: cpp compiler: - gcc - clang before_install: - sudo apt-get install libboost-all-dev - mkdir build && cd build - cmake -G "Unix Makefiles" .. script: - make
Remove 1.8.7 since SimpleCov doesn't measure coverage
language: ruby cache: bundler sudo: false rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 - ruby-head - jruby matrix: allow_failures: - rvm: ruby-head - rvm: jruby # NOTE: The tests never pass with 1.9.3 since WebMock stopped supporting 1.9. - rvm: 1.9.3 fast_finish: true
language: ruby cache: bundler sudo: false rvm: - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 - ruby-head - jruby matrix: allow_failures: - rvm: ruby-head - rvm: jruby # NOTE: The tests never pass with 1.9.3 since WebMock stopped supporting 1.9. - rvm: 1.9.3 fast_finish: true
Build with coverage report generation
language: java jdk: - oraclejdk7 os: - linux install: - ./gradlew assemble -PossrhUsername="${ossrhUsername}" -PossrhPassword="${ossrhPassword}" script: - ./gradlew check -PossrhUsername="${ossrhUsername}" -PossrhPassword="${ossrhPassword}"
language: java jdk: - oraclejdk7 os: - linux install: - ./gradlew assemble -PossrhUsername="${ossrhUsername}" -PossrhPassword="${ossrhPassword}" script: - ./gradlew check -PossrhUsername="${ossrhUsername}" -PossrhPassword="${ossrhPassword}" after_success: - ./gradlew jacocoTestReport coveralls -PossrhUsername="${ossrhUsername}" -PossrhPassword="${ossrhPassword}"
Build both with GCC and Clang
language: c addons: apt: packages: - libelf-dev - glibc-dev - ninja-build - gperf sudo: false compiler: # - clang - gcc env: matrix: - COVERAGE=true - COVERAGE=false install: - $COVERAGE && pip install --user cpp-coveralls || true script: - export PATH="${PATH}:${HOME}/.local/bin" - $COVERAGE && export CC="${CC} -fprofile-arcs -ftest-coverage -O0 -g" || true - ./configure --objdir=out --enable-checks --enable-bundled-lua --enable-bundled-libdwarf && ninja && ./run-tests --verbose --output=tap after_success: - $COVERAGE && coveralls --exclude out --exclude --gcov-options '\-lp' || true
language: c addons: apt: packages: - libelf-dev - glibc-dev - ninja-build - gperf sudo: false compiler: - clang - gcc env: matrix: - COVERAGE=true - COVERAGE=false install: - $COVERAGE && pip install --user cpp-coveralls || true script: - export PATH="${PATH}:${HOME}/.local/bin" - $COVERAGE && export CC="${CC} -fprofile-arcs -ftest-coverage -O0 -g" || true - ./configure --objdir=out --enable-checks --enable-bundled-lua --enable-bundled-libdwarf && ninja && ./run-tests --verbose --output=tap after_success: - $COVERAGE && coveralls --exclude out --exclude --gcov-options '\-lp' || true
Enable caching for a repository.
language: ruby ruby: - 2.1 install: - npm install - sh -e /etc/init.d/xvfb start - webdriver-manager update script: - jekyll serve --detach - npm test env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true - DISPLAY=:99.0 branches: only: - gh-pages
language: ruby ruby: - 2.1 install: - npm install - sh -e /etc/init.d/xvfb start - webdriver-manager update script: - jekyll serve --detach - npm test env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true - DISPLAY=:99.0 branches: only: - gh-pages cache: bundler: true directories: - node_modules
Remove dist: trusty since it is now the default
language: go go: - 1.9.2 dist: trusty sudo: false install: - go get github.com/golang/lint/golint script: - golint -set_exit_status - go vet - go test
language: go go: - 1.9.2 sudo: false install: - go get github.com/golang/lint/golint script: - golint -set_exit_status - go vet - go test
Test against latest Ruby versions
language: ruby rvm: - 2.0.0 - 2.1.0 - 2.2.0 before_install: - gem update bundler sudo: false cache: bundler
language: ruby sudo: false cache: bundler rvm: - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 before_install: - gem update bundler
Add CMake build to Travis config.
language: c compiler: - gcc - clang script: autoreconf -f -i && CFLAGS=-Werror ./configure && make check
env: matrix: - JANSSON_BUILD_METHOD=cmake JANSSON_CMAKE_OPTIONS="-DJANSSON_TEST_WITH_VALGRIND=ON" JANSSON_EXTRA_INSTALL="valgrind" - JANSSON_BUILD_METHOD=autotools language: c compiler: - gcc - clang install: - sudo apt-get update -qq - sudo apt-get install -y -qq cmake $JANSSON_EXTRA_INSTALL script: - if [ "$JANSSON_BUILD_METHOD" = "autotools" ]; then autoreconf -f -i && CFLAGS=-Werror ./configure && make check; fi - if [ "$JANSSON_BUILD_METHOD" = "cmake" ]; then mkdir build && cd build && cmake .. $JANSSON_CMAKE_OPTIONS && cmake --build . && ctest --output-on-failure; fi
Fix a2x in Travis builds
language: c dist: trusty compiler: - gcc - clang env: - CONFIGURE_ARGS="" before_install: - sudo apt-get update -qq - sudo apt-get install -qq -y --no-install-recommends libpam0g-dev asciidoc gengetopt docbook-xml xsltproc libxml2-utils $EXTRA env: - EXTRA="libjson0-dev check help2man libudev-dev libusb-1.0-0-dev" script: - ./build-aux/travis
language: c dist: trusty compiler: - gcc - clang env: - CONFIGURE_ARGS="" before_install: - sudo apt-get update -qq - sudo apt-get install -qq -y --no-install-recommends libpam0g-dev asciidoc gengetopt docbook-xsl xsltproc libxml2-utils $EXTRA env: - EXTRA="libjson0-dev check help2man libudev-dev libusb-1.0-0-dev" script: - ./build-aux/travis
Test newer versions of django
language: python python: - "2.6" - "2.7" env: - DJANGO=1.3 - DJANGO=1.4 install: - pip install --timeout=30 -q Django==$DJANGO - pip install --timeout=30 pep8 - pip install --timeout=30 https://github.com/dcramer/pyflakes/tarball/master - pip install --timeout=30 -r requirements.txt - pip install --timeout=30 -q -e . before_script: - make verify script: - make test notifications: slack: smartfile:tbDIPzVJIPBpSz29kQw6b8RQ
language: python python: - "2.6" - "2.7" env: - DJANGO=1.3 - DJANGO=1.4 - DJANGO=1.5 - DJANGO=1.6 - DJANGO=1.7 install: - pip install --timeout=30 -q Django==$DJANGO - pip install --timeout=30 pep8 - pip install --timeout=30 https://github.com/dcramer/pyflakes/tarball/master - pip install --timeout=30 -r requirements.txt - pip install --timeout=30 -q -e . before_script: - make verify script: - make test notifications: slack: smartfile:tbDIPzVJIPBpSz29kQw6b8RQ
Add extra versions to test on Travis
sudo: false language: node_js node_js: - "5" - "5.1" - "4" - "4.2" - "4.1" - "4.0" - "0.12" - "0.10"
sudo: false language: node_js node_js: - "6" - "5" - "5.1" - "4" - "4.4" - "4.3" - "4.2" - "4.1" - "4.0" - "0.12" - "0.10"
Add 1.3 tag now that it's released
language: go go: - "1.1" - "1.2" - "tip"
language: go go: - "1.1" - "1.2" - "1.3" - "tip"
Correct the target for the ABI.
language: java jdk: oraclejdk7 before_install: # Install base Android SDK - sudo apt-get update -qq - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi - wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz - tar xzf android-sdk_r21.0.1-linux.tgz - export ANDROID_HOME=$PWD/android-sdk-linux - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools # Install required components. # For a full list, run `android list sdk -a --extended` # Note that sysimg-16 downloads the ARM, x86 and MIPS images (we should optimize this). # Other relevant API's: # addon-google_apis-google-16 - android update sdk --filter platform-tools,android-16,sysimg-16,extra-android-support --no-ui --force # Create and start emulator - echo no | android create avd --force -n test -t 16 --abi x86 - ./start_emulator script: mvn install -Pintegration-tests -Dandroid.device=test
language: java jdk: oraclejdk7 before_install: # Install base Android SDK - sudo apt-get update -qq - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi - wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz - tar xzf android-sdk_r21.0.1-linux.tgz - export ANDROID_HOME=$PWD/android-sdk-linux - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools # Install required components. # For a full list, run `android list sdk -a --extended` # Note that sysimg-16 downloads the ARM, x86 and MIPS images (we should optimize this). # Other relevant API's: # addon-google_apis-google-16 - android update sdk --filter platform-tools,android-16,sysimg-16,extra-android-support --no-ui --force # Create and start emulator - echo no | android create avd --force -n test -t android-16 --abi x86 - ./start_emulator script: mvn install -Pintegration-tests -Dandroid.device=test
Add newer Rubies to increase our CI confidence
--- language: ruby before_install: - "travis_retry gem install bundler || travis_retry gem install bundler -v 1.17.3" - "rm -f ${BUNDLE_GEMFILE}.lock" before_script: - bundle update cache: bundler rvm: - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - ruby-head - rbx-2 - jruby gemfile: - gemfiles/rails_4.2.gemfile - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile matrix: allow_failures: - rvm: rbx-2 - rvm: jruby - rvm: ruby-head fast_finish: true
--- language: ruby before_install: - "travis_retry gem install bundler || travis_retry gem install bundler -v 1.17.3" - "rm -f ${BUNDLE_GEMFILE}.lock" before_script: - bundle update cache: bundler rvm: - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.8 - 2.7.4 - ruby-head - rbx-2 - jruby gemfile: - gemfiles/rails_4.2.gemfile - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile matrix: allow_failures: - rvm: rbx-2 - rvm: jruby - rvm: ruby-head fast_finish: true
Install Arakoon & run tests using a real server
language: c compiler: - clang - gcc before_script: - sudo apt-get update -qq - sudo apt-get install -qq check - ./autogen.sh env: MAKE_DISTCHECK=1
language: c compiler: - clang - gcc before_script: - sudo apt-get update -qq - sudo apt-get install -qq check libbz2-1.0 libev4 - wget http://linode2.nicolast.be/files/arakoon_1.4.1_i386.deb - sudo dpkg -i arakoon_1.4.1_i386.deb - ./autogen.sh env: ARAKOON_EXECUTABLE_NAME=/usr/bin/arakoon
Send test results to IRC.
language: node_js node_js: - 0.8 before_install: - npm install -g grunt-cli - npm install -g bower - bower install
language: node_js node_js: - 0.8 before_install: - npm install -g grunt-cli - npm install -g bower - bower install notifications: irc: channels: - "irc.freenode.com#movabletype" - "irc.freenode.com#movabletype-ja" on_success: change on_failure: always use_notice: true
Add new node release to test
sudo: false language: node_js node_js: - "0.12" - "iojs-v1" - "iojs-v2" - "iojs-v3"
sudo: false language: node_js node_js: - "0.12" - "iojs-v1" - "iojs-v2" - "iojs-v3" - "4.0"
Move npm install to the install section
language: python python: - "3.3" before_install: - "python tools/build.py -t node" - npm config set python python2.7 - npm install script: - npm test
language: python python: - "3.3" before_install: - "python tools/build.py -t node" - npm config set python python2.7 install: - npm install script: - npm test
Add clearsilver-dev to get it's plugin built
language: cpp sudo: required dist: trusty branches: only: - master os: - linux - osx env: - CONFIG=Release - CONFIG=Debug compiler: - clang before_install: - QT_VERSION_MM=55 - QT_VERSION_FULL=55-trusty - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-add-repository --yes ppa:beineri/opt-qt$QT_VERSION_FULL && sudo apt-get update -qq && sudo apt-get install -y uwsgi uuid-dev libcap-dev libzmq3-dev && sudo apt-get install -qq qt${QT_VERSION_MM}base qt${QT_VERSION_MM}script qt${QT_VERSION_MM}tools && export CMAKE_PREFIX_PATH=/opt/qt${QT_VERSION_MM}; fi - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew outdated cmake || brew upgrade cmake; brew install qt5; export CMAKE_PREFIX_PATH=$(brew --prefix qt5); fi before_script: - mkdir build - cd build - cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DDISABLE_MAINTAINER_CFLAGS=off script: - cmake --build . --config $CONFIG - ctest --output-on-failure notifications: email: recipients: - dantti12@gmail.com
language: cpp sudo: required dist: trusty branches: only: - master os: - linux - osx env: - CONFIG=Release - CONFIG=Debug compiler: - clang before_install: - QT_VERSION_MM=55 - QT_VERSION_FULL=55-trusty - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-add-repository --yes ppa:beineri/opt-qt$QT_VERSION_FULL && sudo apt-get update -qq && sudo apt-get install -y uwsgi uuid-dev libcap-dev libzmq3-dev && sudo apt-get install -y clearsilver-dev && sudo apt-get install -qq qt${QT_VERSION_MM}base qt${QT_VERSION_MM}script qt${QT_VERSION_MM}tools && export CMAKE_PREFIX_PATH=/opt/qt${QT_VERSION_MM}; fi - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew outdated cmake || brew upgrade cmake; brew install qt5; export CMAKE_PREFIX_PATH=$(brew --prefix qt5); fi before_script: - mkdir build - cd build - cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DDISABLE_MAINTAINER_CFLAGS=off script: - cmake --build . --config $CONFIG - ctest --output-on-failure notifications: email: recipients: - dantti12@gmail.com
Upgrade Travis CI test environment(s)
language: node_js node_js: - "node" - "iojs"
language: node_js node_js: - "8" - "9" - "10" - "node" - "lts/*"
Switch to current branch before install
language: node_js node_js: 6 branches: except: - /^\d+\.\d+\.\d+/ script: - npm test - npm run coverage - npm run codecov after_success: - git checkout - deploy: - provider: script skip_cleanup: true script: /bin/sh scripts/version.sh minor on: branch: master - provider: script skip_cleanup: true script: /bin/sh scripts/version.sh patch on: branch: hotfix* - provider: pages skip_cleanup: true github_token: $GITHUB_API_KEY on: branch: release - provider: npm skip_cleanup: true email: $NPM_EMAIL api_key: $NPM_API_KEY on: branch: - release - hotfix*
language: node_js node_js: 6 branches: except: - /^\d+\.\d+\.\d+/ script: - npm test - npm run coverage - npm run codecov before_install: - git checkout - deploy: - provider: script skip_cleanup: true script: /bin/sh scripts/version.sh minor on: branch: master - provider: script skip_cleanup: true script: /bin/sh scripts/version.sh patch on: branch: hotfix* - provider: pages skip_cleanup: true github_token: $GITHUB_API_KEY on: branch: release - provider: npm skip_cleanup: true email: $NPM_EMAIL api_key: $NPM_API_KEY on: branch: - release - hotfix*
Add parsito_bundle test to Travis CI.
sudo: false language: cpp matrix: include: - compiler: gcc env: COMPILER=g++-4.7 addons: {apt: {packages: [g++-4.7], sources: [ubuntu-toolchain-r-test]}} - compiler: gcc env: COMPILER=g++-4.8 addons: {apt: {packages: [g++-4.8], sources: [ubuntu-toolchain-r-test]}} - compiler: gcc env: COMPILER=g++-4.9 addons: {apt: {packages: [g++-4.9], sources: [ubuntu-toolchain-r-test]}} - compiler: gcc env: COMPILER=g++-5 addons: {apt: {packages: [g++-5], sources: [ubuntu-toolchain-r-test]}} - compiler: clang env: COMPILER=clang++ addons: {apt: {packages: [g++-4.7], sources: [ubuntu-toolchain-r-test]}} - compiler: clang env: COMPILER=clang++-3.5 addons: {apt: {packages: [clang-3.5], sources: [ubuntu-toolchain-r-test,llvm-toolchain-precise-3.5]}} - compiler: clang env: COMPILER=clang++-3.6 addons: {apt: {packages: [clang-3.6], sources: [ubuntu-toolchain-r-test,llvm-toolchain-precise-3.6]}} script: - CXX=$COMPILER make -C src full
sudo: false language: cpp matrix: include: - compiler: gcc env: COMPILER=g++-4.7 addons: {apt: {packages: [g++-4.7], sources: [ubuntu-toolchain-r-test]}} - compiler: gcc env: COMPILER=g++-4.8 addons: {apt: {packages: [g++-4.8], sources: [ubuntu-toolchain-r-test]}} - compiler: gcc env: COMPILER=g++-4.9 addons: {apt: {packages: [g++-4.9], sources: [ubuntu-toolchain-r-test]}} - compiler: gcc env: COMPILER=g++-5 addons: {apt: {packages: [g++-5], sources: [ubuntu-toolchain-r-test]}} - compiler: clang env: COMPILER=clang++ addons: {apt: {packages: [g++-4.7], sources: [ubuntu-toolchain-r-test]}} - compiler: clang env: COMPILER=clang++-3.5 addons: {apt: {packages: [clang-3.5], sources: [ubuntu-toolchain-r-test,llvm-toolchain-precise-3.5]}} - compiler: clang env: COMPILER=clang++-3.6 addons: {apt: {packages: [clang-3.6], sources: [ubuntu-toolchain-r-test,llvm-toolchain-precise-3.6]}} script: - CXX=$COMPILER make -C src full - CXX=$COMPILER make -C tests parsito_bundle
Set up databases for CI
--- sudo: false language: ruby cache: bundler dist: bionic rvm: - 2.6 script: ./test_all.sh
--- sudo: false language: ruby cache: bundler dist: bionic rvm: - 2.6 services: - postgresql - mysql before_script: - createdb -U postgres columns_on_demand_test - mysqladmin -u root create columns_on_demand_test script: ./test_all.sh
Update Travis config to install SwiftLint
language: objective-c before_install: - gem install xcpretty - gem install cocoapods -v '1.5.3' - pod repo update - pod install --verbose after_success: - bash <(curl -s https://codecov.io/bash) -J '^GEOSwift$' osx_image: xcode9.4 cache: cocoapods env: global: - WORKSPACE=GEOSwift.xcworkspace - SCHEME=GEOSwift - SDK=iphonesimulator11.4 matrix: - DESTINATION="OS=11.4,name=iPhone X" script: - set -o pipefail - xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES clean test | xcpretty -c;
language: objective-c before_install: - gem install xcpretty - gem install cocoapods -v '1.5.3' - pod repo update - pod install --verbose - brew install swiftlint after_success: - bash <(curl -s https://codecov.io/bash) -J '^GEOSwift$' osx_image: xcode9.4 cache: cocoapods env: global: - WORKSPACE=GEOSwift.xcworkspace - SCHEME=GEOSwift - SDK=iphonesimulator11.4 matrix: - DESTINATION="OS=11.4,name=iPhone X" script: - set -o pipefail - xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=YES clean test | xcpretty -c;
Install libfreeimage3 and livfreeimage-dev for Travis
language: ruby rvm: - '2.1.1' env: - DB=mysql bundler_args: --without production script: - RAILS_ENV=test bundle exec rake db:migrate --trace - bundle exec rake db:test:prepare - bundle exec rake before_script: - mysql -e 'create database zmey_test;' - cp config/database.travis.yml config/database.yml
language: ruby rvm: - '2.1.1' env: - DB=mysql install: - sudo apt-get install libfreeimage3 libfreeimage-dev bundler_args: --without production script: - RAILS_ENV=test bundle exec rake db:migrate --trace - bundle exec rake db:test:prepare - bundle exec rake before_script: - mysql -e 'create database zmey_test;' - cp config/database.travis.yml config/database.yml
Remove erroneous leftover entry in Travis config
sudo: false language: d os: - linux d: - dmd-2.068.2 - dmd-2.067.1 - dmd-2.066.1 - ldc-0.15.1 - gdc-5.2.0 matrix: allow_failures: d: gdc-5.2.0 - env: ARCH=x86 d: gdc-5.2.0 addons: apt: packages: - gcc-multilib notifications: email: false env: global: - secure: "Xa3ZSmQPQytDFrMBMdhO0ObnrIb0GdvUsz0LEKxHerQN/+qSos5In5WI7ATddJyCxK1RvvzaxWdiMRurfQSSW5vAW0KCRpXnEIZ1q70+WGgXH7eOT5ZVt0bHo3L2Jo9kYXwCSWxEfiQsREliEj5RXyD4SCbGFbeP2a/4x9A1VuI=" matrix: - ARCH=x86 - ARCH=x86_64 script: dub test --arch=$ARCH; after_success: - ./push-ddoc.sh
sudo: false language: d os: - linux d: - dmd-2.068.2 - dmd-2.067.1 - dmd-2.066.1 - ldc-0.15.1 - gdc-5.2.0 matrix: allow_failures: - env: ARCH=x86 d: gdc-5.2.0 addons: apt: packages: - gcc-multilib notifications: email: false env: global: - secure: "Xa3ZSmQPQytDFrMBMdhO0ObnrIb0GdvUsz0LEKxHerQN/+qSos5In5WI7ATddJyCxK1RvvzaxWdiMRurfQSSW5vAW0KCRpXnEIZ1q70+WGgXH7eOT5ZVt0bHo3L2Jo9kYXwCSWxEfiQsREliEj5RXyD4SCbGFbeP2a/4x9A1VuI=" matrix: - ARCH=x86 - ARCH=x86_64 script: dub test --arch=$ARCH; after_success: - ./push-ddoc.sh
Add node LTS 8.9.4 Current 9.50
language: node_js node_js: - "6.9.0" - "6.0.0" script: - npm test - npm run-script lint notifications: webhooks: urls: - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MEhhbGYtU2hvdCUzQWhhbGYtc2hvdC51ay8lMjFxUE5PblVzTnNaclRvRlpxeEIlM0FoYWxmLXNob3QudWs" on_success: change # always|never|change on_failure: always on_start: never
language: node_js node_js: - "6.12.3" - "8.9.4" - "9.5.0" script: - npm test - npm run-script lint notifications: webhooks: urls: - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MEhhbGYtU2hvdCUzQWhhbGYtc2hvdC51ay8lMjFxUE5PblVzTnNaclRvRlpxeEIlM0FoYWxmLXNob3QudWs" on_success: change # always|never|change on_failure: always on_start: never
Add pypy, 2.6 and 3.3 as allowed failures
language: python python: - "2.7" - "3.2" before_install: - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so ~/virtualenv/python2.7/lib/ install: - pip install --quiet git+https://github.com/python-imaging/Pillow.git - sudo apt-get --quiet=2 install perceptualdiff script: - ./test/test.py - ./test/test_coordinates.py - ./test/test_projections.py - ./test/test_gpx.py - ./test/test_projection_scale.py - ./test/test_random.py - ./test/test_gradients.py
language: python python: - "pypy" - "2.6" - "2.7" - "3.2" - "3.3" before_install: - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so ~/virtualenv/python2.7/lib/ install: - pip install --quiet git+https://github.com/python-imaging/Pillow.git - sudo apt-get --quiet=2 install perceptualdiff script: - ./test/test.py - ./test/test_coordinates.py - ./test/test_projections.py - ./test/test_gpx.py - ./test/test_projection_scale.py - ./test/test_random.py - ./test/test_gradients.py matrix: allow_failures: - python: "pypy" - python: "2.6" - python: "3.3"
Add more test environments for Travis CI
# See: # https://docs.travis-ci.com/user/customizing-the-build/ # https://docs.travis-ci.com/user/languages/python language: python python: - "2.7" - "3.3" - "3.4" - "3.5" #- "3.5-dev" # 3.5 development branch #- "nightly" # currently points to 3.6-dev install: - pip install -r requirements.txt - pip install coverage script: - coverage run --source=botutil -m unittest discover -s tests after_success: - pip install coveralls - coveralls after_script: - coverage report - pip install pep8 #pyflakes #- pyflakes *.py | tee >(wc -l) - pep8 --statistics --count *.py matrix: fast_finish: true
# See: # https://docs.travis-ci.com/user/customizing-the-build/ # https://docs.travis-ci.com/user/languages/python language: python python: - "pypy" - "pypy3" - "2.7" - "3.3" - "3.4" - "3.5" - "3.5-dev" # 3.5 development branch - "nightly" # currently points to 3.6-dev matrix: fast_finish: true allow_failures: - python: "3.5-dev" - python: "nightly" install: - pip install -r requirements.txt - pip install coverage script: - coverage run --source=botutil -m unittest discover -s tests after_success: - pip install coveralls - coveralls after_script: - coverage report - pip install pep8 #pyflakes #- pyflakes *.py | tee >(wc -l) - pep8 --statistics --count *.py matrix: fast_finish: true
Test more rubies in Travis
language: ruby rvm: - 2.2.3 before_install: gem install bundler -v 1.10.6
language: ruby rvm: - 1.9.3-p551 - 2.0.0-p647 - 2.1.7 - 2.2.3 before_install: gem install bundler -v 1.10.6
Tweak IRC notification of build status
language: python cache: apt python: - pypy notifications: irc: "chat.freenode.net#pycket" env: matrix: - TEST_TYPE=tests - TEST_TYPE=translate - TEST_TYPE=translate-nojit before_install: - sudo add-apt-repository -y ppa:plt/racket - sudo apt-get update - sudo apt-get install -qq racket install: - wget https://bitbucket.org/pypy/pypy/get/default.tar.bz2 -O `pwd`/../pypy.tar.bz2 || wget https://bitbucket.org/pypy/pypy/get/default.tar.bz2 -O `pwd`/../pypy.tar.bz2 - tar -xf `pwd`/../pypy.tar.bz2 -C `pwd`/../ - mv ../pypy-pypy* ../pypy - raco pkg install -t dir pycket/pycket-lang/ script: - export PYTHONPATH=$PYTHONPATH:../pypy:pycket - "case \"$TEST_TYPE\" in tests) ../pypy/pytest.py ;; translate) python ../pypy/rpython/bin/rpython -Ojit --batch targetpycket.py ;; translate-nojit) python ../pypy/rpython/bin/rpython --batch targetpycket.py ;; esac"
language: python cache: apt python: - pypy notifications: irc: channels: - "chat.freenode.net#pycket" use_notice: true skip_join: true env: matrix: - TEST_TYPE=tests - TEST_TYPE=translate - TEST_TYPE=translate-nojit before_install: - sudo add-apt-repository -y ppa:plt/racket - sudo apt-get update - sudo apt-get install -qq racket install: - wget https://bitbucket.org/pypy/pypy/get/default.tar.bz2 -O `pwd`/../pypy.tar.bz2 || wget https://bitbucket.org/pypy/pypy/get/default.tar.bz2 -O `pwd`/../pypy.tar.bz2 - tar -xf `pwd`/../pypy.tar.bz2 -C `pwd`/../ - mv ../pypy-pypy* ../pypy - raco pkg install -t dir pycket/pycket-lang/ script: - export PYTHONPATH=$PYTHONPATH:../pypy:pycket - "case \"$TEST_TYPE\" in tests) ../pypy/pytest.py ;; translate) python ../pypy/rpython/bin/rpython -Ojit --batch targetpycket.py ;; translate-nojit) python ../pypy/rpython/bin/rpython --batch targetpycket.py ;; esac"
Upgrade Travis to ruby 2.6.5 and remove code climate
language: ruby rvm: - 2.1.4 before_install: gem install bundler -v 1.10.6 addons: code_climate: repo_token: 7784593d8bb89559b2abad1fbbc6bbb90bf58852c8b2ed236548f10fd74fb2ad
language: ruby rvm: - 2.6.5
Add PHP 5.5 to Travis CI
language: php php: - 5.4 before_script: - wget -nc http://getcomposer.org/composer.phar - php composer.phar install --dev script: - php vendor/bin/phpunit -c phpunit.xml.dist --coverage-text after_success: - wget -nc http://cs.sensiolabs.org/get/php-cs-fixer.phar - php php-cs-fixer.phar fix ./ --dry-run --verbose notifications: email: - tech@plemi.org
language: php php: - 5.4 - 5.5 before_script: - wget -nc http://getcomposer.org/composer.phar - php composer.phar install --dev script: - php vendor/bin/phpunit -c phpunit.xml.dist --coverage-text after_success: - wget -nc http://cs.sensiolabs.org/get/php-cs-fixer.phar - php php-cs-fixer.phar fix ./ --dry-run --verbose notifications: email: - tech@plemi.org
Use Node 16 for CI, update actions/setup-node
# This workflow will do a clean install of node dependencies and run tests # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: CI on: push: branches: [ '*' ] pull_request: branches: [ master ] jobs: test: name: Test runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 with: node-version: '14.x' - name: Install dependencies run: yarn --immutable - name: Run tests run: yarn test
# This workflow will do a clean install of node dependencies and run tests # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: CI on: push: branches: [ '*' ] pull_request: branches: [ master ] jobs: test: name: Test runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v2 with: node-version: '16' - name: Install dependencies run: yarn --immutable - name: Run tests run: yarn test
Fix headers on gh pages
title: Python training bootcamp author: Hive email: mcsnootch@gmail.com description: > # this means to ignore newlines until "baseurl:" A site to help facilitate a python learning day for teachers twitter_username: mcsnootch github_username: mcsnootch sass: style: compressed highlighter: rouge
title: Python training bootcamp author: Hive email: mcsnootch@gmail.com description: > # this means to ignore newlines until "baseurl:" A site to help facilitate a python learning day for teachers twitter_username: mcsnootch github_username: mcsnootch sass: style: compressed highlighter: rouge header_pages: Home, Tracks
Fix scss leading-zero rule (always force it)
files: include: '**/*.s+(a|c)ss' options: formatter: stylish merge-default-rules: true rules: empty-line-between-blocks: 0 extends-before-declarations: 1 extends-before-mixins: 1 mixins-before-declarations: 1 nesting-depth: 0 no-color-literals: 0 no-important: 0 no-mergeable-selectors: 1 no-misspelled-properties: - 1 - extra-properties: - 'overflow-scrolling' - 'touch-callout' no-qualifying-elements: - 1 - allow-element-with-attribute: true placeholder-in-extend: 0 property-sort-order: 0 no-trailing-whitespace: 0 force-element-nesting: 0 force-attribute-nesting: 0 force-pseudo-nesting: 0 no-vendor-prefixes: 0 attribute-quotes: 0 quotes: 0 indentation: 0
files: include: '**/*.s+(a|c)ss' options: formatter: stylish merge-default-rules: true rules: empty-line-between-blocks: 0 extends-before-declarations: 1 extends-before-mixins: 1 mixins-before-declarations: 1 nesting-depth: 0 no-color-literals: 0 no-important: 0 no-mergeable-selectors: 1 no-misspelled-properties: - 1 - extra-properties: - 'overflow-scrolling' - 'touch-callout' no-qualifying-elements: - 1 - allow-element-with-attribute: true placeholder-in-extend: 0 property-sort-order: 0 no-trailing-whitespace: 0 force-element-nesting: 0 force-attribute-nesting: 0 force-pseudo-nesting: 0 no-vendor-prefixes: 0 attribute-quotes: 0 quotes: 0 indentation: 0 leading-zero: - 2 - include: true
Upgrade the bundler version to 2.0.
name: digest-crc version: 0.5.0 summary: A Cyclic Redundancy Check (CRC) library for Ruby. description: Adds support for calculating Cyclic Redundancy Check (CRC) to the Digest module. license: MIT authors: Postmodern email: postmodern.mod3@gmail.com homepage: https://github.com/postmodern/digest-crc#readme has_yard: true development_dependencies: bundler: ~> 1.0
name: digest-crc version: 0.5.0 summary: A Cyclic Redundancy Check (CRC) library for Ruby. description: Adds support for calculating Cyclic Redundancy Check (CRC) to the Digest module. license: MIT authors: Postmodern email: postmodern.mod3@gmail.com homepage: https://github.com/postmodern/digest-crc#readme has_yard: true development_dependencies: bundler: ~> 2.0
Install configure action for CI
name: gstd CI on: push: branches: - master - dev* - feature/add-ci pull_request: branches: - dev* jobs: build: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: dependecies run: | sudo apt update sudo apt install automake libtool pkg-config libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev sudo apt install libglib2.0-dev libjson-glib-dev gtk-doc-tools libreadline-dev libncursesw5-dev sudo apt install libdaemon-dev libjansson-dev python3-pip python3-setuptools - name: generate run: ./autogen.sh - name: make run: make - name: make install run: sudo make install - name: make check run: make check
name: gstd CI on: push: branches: - master - dev* - feature/add-ci pull_request: branches: - dev* jobs: build: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: dependecies run: | sudo apt update sudo apt install automake libtool pkg-config libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev sudo apt install libglib2.0-dev libjson-glib-dev gtk-doc-tools libreadline-dev libncursesw5-dev sudo apt install libdaemon-dev libjansson-dev python3-pip python3-setuptools - name: generate run: ./autogen.sh - name: configure run: ./configure - name: make run: make - name: make install run: sudo make install - name: make check run: make check
Allow Manual Trigger of Builds
name: Build on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: strategy: matrix: php: ['5.6', '7.3', '7.4'] runs-on: ubuntu-latest steps: - uses: shivammathur/setup-php@2.11.0 with: php-version: ${{ matrix.php }} extensions: 'xdebug' - uses: actions/checkout@v2 - name: Validate composer.json and composer.lock #run: composer validate --strict # Currently we’re installing mf2/tests from a commit ref. run: composer validate - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies run: composer install --prefer-dist --no-progress - name: Run Test Suite run: XDEBUG_MODE=coverage ./vendor/bin/phpunit tests --coverage-text - name: Run Code Sniffer run: ./vendor/bin/phpcs #- name: Run Static Analysis # run: ./vendor/bin/psalm
name: Build on: push: branches: [ main ] pull_request: branches: [ main ] workflow_dispatch: jobs: build: strategy: matrix: php: ['5.6', '7.3', '7.4'] runs-on: ubuntu-latest steps: - uses: shivammathur/setup-php@2.11.0 with: php-version: ${{ matrix.php }} extensions: 'xdebug' - uses: actions/checkout@v2 - name: Validate composer.json and composer.lock #run: composer validate --strict # Currently we’re installing mf2/tests from a commit ref. run: composer validate - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies run: composer install --prefer-dist --no-progress - name: Run Test Suite run: XDEBUG_MODE=coverage ./vendor/bin/phpunit tests --coverage-text - name: Run Code Sniffer run: ./vendor/bin/phpcs #- name: Run Static Analysis # run: ./vendor/bin/psalm
Update opsfile to point to bosh.io version of capi release (1.47.0)
- type: replace path: /releases/name=capi/version value: 1.46.0
--- - type: replace path: /releases/name=capi value: name: capi url: https://bosh.io/d/github.com/cloudfoundry/capi-release?v=1.47.0 version: 1.47.0 sha1: 4a7e3daade9cda8ee9ad18666849cafa88a2b542
Add missing provisioning dependency libiberty
kcov_version: 31 kcov_download_url: "https://github.com/SimonKagstrom/kcov/archive/v{{ kcov_version }}.zip" kcov_unpack_dir: "/tmp/kcov-{{ kcov_version }}" kcov_build_dir: "{{ kcov_unpack_dir }}/build" kcov_install_prefix: /usr/local required_packages: - libcurl4-openssl-dev - libelf-dev - libdw-dev - cmake - zip - pkg-config - zlibc - zlib1g-dev - libbfd-dev - binutils-dev
kcov_version: 31 kcov_download_url: "https://github.com/SimonKagstrom/kcov/archive/v{{ kcov_version }}.zip" kcov_unpack_dir: "/tmp/kcov-{{ kcov_version }}" kcov_build_dir: "{{ kcov_unpack_dir }}/build" kcov_install_prefix: /usr/local required_packages: - libcurl4-openssl-dev - libelf-dev - libdw-dev - cmake - zip - pkg-config - zlibc - zlib1g-dev - libbfd-dev - binutils-dev - libiberty-dev
Move the current version up
apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: perconaservermongodbs.psmdb.percona.com spec: additionalPrinterColumns: - JSONPath: .status.state name: Status type: string - JSONPath: .metadata.creationTimestamp name: Age type: date group: psmdb.percona.com names: kind: PerconaServerMongoDB listKind: PerconaServerMongoDBList plural: perconaservermongodbs shortNames: - psmdb singular: perconaservermongodb scope: Namespaced subresources: status: {} version: v1-2-0 versions: - name: v1 storage: false served: true - name: v1-1-0 storage: false served: true - name: v1-2-0 storage: true served: true - name: v1alpha1 served: true storage: false
apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: perconaservermongodbs.psmdb.percona.com spec: additionalPrinterColumns: - JSONPath: .status.state name: Status type: string - JSONPath: .metadata.creationTimestamp name: Age type: date group: psmdb.percona.com names: kind: PerconaServerMongoDB listKind: PerconaServerMongoDBList plural: perconaservermongodbs shortNames: - psmdb singular: perconaservermongodb scope: Namespaced subresources: status: {} version: v1-2-0 versions: - name: v1-2-0 storage: true served: true - name: v1 storage: false served: true - name: v1-1-0 storage: false served: true - name: v1alpha1 served: true storage: false
Fix the labels to properly bump the gem
# Documentation available at https://expeditor.chef.io/docs/getting-started/ --- # Slack channel in Chef Software slack to send notifications about build failures, etc slack: notify_channel: chef-notify # This publish is triggered by the `built_in:publish_rubygems` artifact_action. rubygems: - appbundler github: # This deletes the GitHub PR branch after successfully merged into the release branch delete_branch_on_merge: true # The tag format to use (e.g. v1.0.0) version_tag_format: "v{{version}}" # allow bumping the minor release via label minor_bump_labels: - "Expeditor: Bump Minor Version" changelog: rollup_header: Changes not yet released to rubygems.org # These actions are taken, in order they are specified, anytime a Pull Request is merged. merge_actions: - built_in:bump_version: ignore_labels: - "Expeditor: Skip Version Bump" - "Expeditor: Skip All" - bash:.expeditor/update_version.sh: only_if: built_in:bump_version - built_in:update_changelog: ignore_labels: - "Expeditor: Exclude From Changelog" - "Expeditor: Skip All" - built_in:build_gem: only_if: built_in:bump_version promote: actions: - built_in:rollover_changelog - built_in:publish_rubygems
# Documentation available at https://expeditor.chef.io/docs/getting-started/ --- # Slack channel in Chef Software slack to send notifications about build failures, etc slack: notify_channel: chef-notify # This publish is triggered by the `built_in:publish_rubygems` artifact_action. rubygems: - appbundler github: # This deletes the GitHub PR branch after successfully merged into the release branch delete_branch_on_merge: true # The tag format to use (e.g. v1.0.0) version_tag_format: "v{{version}}" # allow bumping the minor release via label minor_bump_labels: - "Expeditor: Bump Version Minor" major_bump_labels: - "Expeditor: Bump Version Major" changelog: rollup_header: Changes not yet released to rubygems.org # These actions are taken, in order they are specified, anytime a Pull Request is merged. merge_actions: - built_in:bump_version: ignore_labels: - "Expeditor: Skip Version Bump" - "Expeditor: Skip All" - bash:.expeditor/update_version.sh: only_if: built_in:bump_version - built_in:update_changelog: ignore_labels: - "Expeditor: Exclude From Changelog" - "Expeditor: Skip All" - built_in:build_gem: only_if: built_in:bump_version promote: actions: - built_in:rollover_changelog - built_in:publish_rubygems