Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Use Java8 because of checkstyle
################################################################################ # # Copyright 2017 Robert Metzger and contributors # # 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. ################################################################################ language: java
################################################################################ # # Copyright 2017 Robert Metzger and contributors # # 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. ################################################################################ language: java jdk: - oraclejdk8
Use go master only in build.
language: go go: - 1.8.3 - master before_install: - go get -u github.com/golang/dep/cmd/dep - dep ensure -v
language: go go: - master before_install: - go get -u github.com/golang/dep/cmd/dep - dep ensure -v
Install shogun in order to do tests
language: cpp compiler: - gcc branches: only: - master notifications: recipients: - wiking@jol.hu email: on_success: change on_failure: alwaye before_install: - sudo apt-get update -qq - sudo apt-get install -qq cdbs libeigen3-dev libarpack2-dev libatlas-base-dev libblas-dev libglpk-dev libhdf5-serial-dev libjson0-dev swig zlib1g-dev libxml2-dev libreadline6-dev libreadline-dev libsnappy-dev liblzo2-dev liblzma-dev liblapack-dev before_script: cd ./src script: ./configure && make -j 4 && make tests
language: cpp compiler: - gcc branches: only: - master notifications: recipients: - wiking@jol.hu email: on_success: change on_failure: alwaye before_install: - sudo apt-get update -qq - sudo apt-get install -qq cdbs libeigen3-dev libarpack2-dev libatlas-base-dev libblas-dev libglpk-dev libhdf5-serial-dev libjson0-dev swig zlib1g-dev libxml2-dev libreadline6-dev libreadline-dev libsnappy-dev liblzo2-dev liblzma-dev liblapack-dev before_script: cd ./src script: ./configure --interfaces=cmdline_static && make -j 4 && sudo make install && make tests
Add requirement fo CI - Travis
language: python python: - "3.6" install: - sudo apt-get update - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda info -a - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION - source activate test-environment - conda install -c conda-forge --file ./install_requirements.txt - pip install -e . script: pytest -m ttrackeddy --cov=trackeddy after_success: - bash <(curl -s https://codecov.io/bash) notifications: slack: on_success: change
language: python python: - "3.6" install: - sudo apt-get update - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda info -a - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION - source activate test-environment - conda install -c conda-forge --file ./install_requirements.txt - conda install -c anaconda basemap - pip install -e . script: pytest -m ttrackeddy --cov=trackeddy after_success: - bash <(curl -s https://codecov.io/bash) notifications: slack: on_success: change
Change title to "Fausto's blog"
# Welcome to Jekyll! # # This config file is meant for settings that affect your whole blog, values # which you are expected to set up once and rarely need to edit after that. # For technical reasons, this file is *NOT* reloaded automatically when you use # 'jekyll serve'. If you change this file, please restart the server process. # Site settings title: Fausto's personal website author: Fausto Núñez Alberro author_link: https://github.com/fnune author_description: > I am a web developer based in Berlin. At the moment I am working for store2be, a startup building a booking platform for live marketing. We work with React, Ruby on Rails and sometimes Rust. Also, I love everything about web development even if it's design-oriented so expect all sorts of topics. email: fausto.nunez@mailbox.org description: > baseurl: "" # the subpath of your site, e.g. /blog url: "https://fnune.com" # the base hostname & protocol for your site # Build settings plugins: [jekyll-sitemap, jekyll-autoprefixer] markdown: kramdown permalink: pretty # Sass sass: sass_dir: _scss style: :compressed # Sitemap sitemap: filename: "/sitemap.xml" exclude: - "/atom.xml" - "/feed.xml" - "/feed/index.xml" - "/css/screen.scss" include_posts: - "/index.html" change_frequency_name: "change_frequency" priority_name: "priority"
# Welcome to Jekyll! # # This config file is meant for settings that affect your whole blog, values # which you are expected to set up once and rarely need to edit after that. # For technical reasons, this file is *NOT* reloaded automatically when you use # 'jekyll serve'. If you change this file, please restart the server process. # Site settings title: Fausto's blog author: Fausto Núñez Alberro author_link: https://github.com/fnune author_description: > I am a web developer based in Berlin. At the moment I am working for store2be, a startup building a booking platform for live marketing. We work with React, Ruby on Rails and sometimes Rust. Also, I love everything about web development even if it's design-oriented so expect all sorts of topics. email: fausto.nunez@mailbox.org description: > baseurl: "" # the subpath of your site, e.g. /blog url: "https://fnune.com" # the base hostname & protocol for your site # Build settings plugins: [jekyll-sitemap, jekyll-autoprefixer] markdown: kramdown permalink: pretty # Sass sass: sass_dir: _scss style: :compressed # Sitemap sitemap: filename: "/sitemap.xml" exclude: - "/atom.xml" - "/feed.xml" - "/feed/index.xml" - "/css/screen.scss" include_posts: - "/index.html" change_frequency_name: "change_frequency" priority_name: "priority"
Add builds for Python 3.8 and Python 3.7
sudo: false language: python matrix: include: - python: "2.6" env: TOXENV=py26 - python: "2.7" env: TOXENV=py27 - python: "3.4" env: TOXENV=py34 - python: "3.5" env: TOXENV=py35 - python: "3.6" env: TOXENV=py36 - python: "pypy" env: TOXENV=pypy - python: "3.6" env: TOXENV=lint - python: "3.6" env: TOXENV=docs install: - pip install tox script: - tox after_success: - tox -e coverage - tox -e codecov
sudo: false language: python matrix: include: - python: "2.6" env: TOXENV=py26 - python: "2.7" env: TOXENV=py27 - python: "3.4" env: TOXENV=py34 - python: "3.5" env: TOXENV=py35 - python: "3.6" env: TOXENV=py36 - python: "3.7" env: TOXENV=py37 - python: "3.8" env: TOXENV=py38 - python: "pypy" env: TOXENV=pypy - python: "3.8" env: TOXENV=lint - python: "3.8" env: TOXENV=docs install: - pip install tox script: - tox after_success: - tox -e coverage - tox -e codecov
Allow hhvm to fail...For now.
language: php php: - 5.5 - 5.6 - hhvm before_script: - composer install script: make test
language: php php: - 5.5 - 5.6 - hhvm before_script: - composer install script: make test matrix: allow_failures: - php: hhvm
Fix indentation in last commit
dist: trusty sudo: false addons: apt: packages: - texinfo env: - EVM_VERSION=24.4 - EVM_VERSION=24.5 - EVM_VERSION=25.1 - EVM_VERSION=25.2 - EVM_VERSION=25.3 install: - curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash - export PATH="$HOME/.evm/bin:$PATH" - evm config path /tmp - evm install emacs-$EVM_VERSION-travis - export PATH="/tmp/emacs-$EVM_VERSION-travis/bin:$PATH" script: - make travis
dist: trusty sudo: false addons: apt: packages: - texinfo env: - EVM_VERSION=24.4 - EVM_VERSION=24.5 - EVM_VERSION=25.1 - EVM_VERSION=25.2 - EVM_VERSION=25.3 install: - curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash - export PATH="$HOME/.evm/bin:$PATH" - evm config path /tmp - evm install emacs-$EVM_VERSION-travis - export PATH="/tmp/emacs-$EVM_VERSION-travis/bin:$PATH" script: - make travis
Remove allow_failures, which only has old stuff
language: python cache: pip python: - '2.7' - '3.4' - '3.5' - '3.6' - '3.7' - 'pypy' # Allowed to fail - '3.7-dev' - 'nightly' before_install: | if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update brew upgrade python3 python3 --version fi install: | if [ "$TRAVIS_OS_NAME" == "osx" ]; then pip3 install tox else pip install tox fi script: - 'tox' matrix: fast_finish: true allow_failures: - python: '3.7-dev' - python: 'nightly' include: # One-off runs - python: '3.6' env: TOXENV=coverage - python: '3.5' # 3.6 after https://github.com/PyCQA/pylint/issues/1113 env: TOXENV=pylint # OSX -- takes a while to start up on Travis, so once we get a worker just # run them all with one instance of tox - os: osx language: generic env: TOXENV=py27,py34,py35,py36,py37 # This is required to enable container based Travis CI infrastructure. # See http://docs.travis-ci.com/user/migrating-from-legacy/ sudo: false
language: python cache: pip python: - '2.7' - '3.4' - '3.5' - '3.6' - '3.7' - 'pypy' before_install: | if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update brew upgrade python3 python3 --version fi install: | if [ "$TRAVIS_OS_NAME" == "osx" ]; then pip3 install tox else pip install tox fi script: - 'tox' matrix: fast_finish: true include: # One-off runs - python: '3.6' env: TOXENV=coverage - python: '3.5' # 3.6 after https://github.com/PyCQA/pylint/issues/1113 env: TOXENV=pylint # OSX -- takes a while to start up on Travis, so once we get a worker just # run them all with one instance of tox - os: osx language: generic env: TOXENV=py27,py34,py35,py36,py37 # This is required to enable container based Travis CI infrastructure. # See http://docs.travis-ci.com/user/migrating-from-legacy/ sudo: false
Enable Python 3.4 on Travis CI
language: python python: - "2.7" - "3.2" - "3.3" install: - python setup.py --quiet install script: - ./setup.py test - ./test.bash
language: python python: - "2.7" - "3.2" - "3.3" - "3.4" install: - python setup.py --quiet install script: - ./setup.py test - ./test.bash
Drop support for Rubies 1.8.7 and 1.9.2
branches: only: - master language: ruby matrix: allow_failures: - rvm: 1.8.7 - rvm: 1.9.2 - rvm: ruby-head rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - ruby-head
branches: only: - master language: ruby matrix: allow_failures: - rvm: ruby-head rvm: - 1.9.3 - 2.0.0 - 2.1.0 - ruby-head
Update node spec to latest stable release
--- language: node_js node_js: - '7.8' sudo: false script: - bin/fetch-configlet - bin/configlet lint . - make test-travis
--- language: node_js node_js: - 'node' sudo: false script: - bin/fetch-configlet - bin/configlet lint . - make test-travis
Remove 0.11 from testing suite
sudo: true language: node_js services: - mongodb before_install: - npm update -g npm - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get -qq update - sudo apt-get -qq install g++-4.8 - export CXX='g++-4.8' before_script: - npm install -g gulp - mysql -e 'create database code_friends;' - mysql -e 'create database code_friends_test;' node_js: - '0.10' - '0.11' branches: only: - master notifications: email: false git: depth: 1 script: npm --expose-gc test
sudo: true language: node_js services: - mongodb before_install: - npm update -g npm - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get -qq update - sudo apt-get -qq install g++-4.8 - export CXX='g++-4.8' before_script: - npm install -g gulp - mysql -e 'create database code_friends;' - mysql -e 'create database code_friends_test;' node_js: - '0.10' branches: only: - master notifications: email: false git: depth: 1 script: npm --expose-gc test
Add an after_script step to build website
language: java jdk: - oraclejdk8 - oraclejdk7 - openjdk6 services: - memcached
language: java jdk: - oraclejdk8 - oraclejdk7 - openjdk6 services: - memcached after_script: - mvn site
Remove --dev: that's the default.
filter: excluded_paths: - 'vendor/*' - 'tests/*' before_commands: - 'composer install --dev' tools: php_analyzer: true php_mess_detector: true php_code_sniffer: config: standard: PSR1 sensiolabs_security_checker: true php_code_coverage: test_command: './vendor/bin/phpunit' php_loc: excluded_dirs: - vendor - tests php_pdepend: true php_sim: true
filter: excluded_paths: - 'vendor/*' - 'tests/*' before_commands: - 'composer install' tools: php_analyzer: true php_mess_detector: true php_code_sniffer: config: standard: PSR1 sensiolabs_security_checker: true php_code_coverage: test_command: './vendor/bin/phpunit' php_loc: excluded_dirs: - vendor - tests php_pdepend: true php_sim: true
Enable osx build on Travis-CI
language: java os: - linux jdk: - oraclejdk8 addons: apt: packages: - autoconf - javahelp2 - tidy - liblcms2-dev - libtiff4-dev before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget --no-check-certificate https://www.apache.org/dist/ant/binaries/apache-ant-1.10.5-bin.tar.gz; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar xf apache-ant-1.10.5-bin.tar.gz; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PATH=`pwd`/apache-ant-1.10.5/bin:$PATH; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install autoconf clang-omp libtiff little-cms2 pkg-config; fi - echo $(ant -version) script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ant -f linux/build.xml; fi
language: java matrix: allow_failures: - os: osx os: - linux - osx jdk: - oraclejdk8 addons: apt: packages: - autoconf - javahelp2 - tidy - liblcms2-dev - libtiff4-dev before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget --no-check-certificate https://www.apache.org/dist/ant/binaries/apache-ant-1.10.5-bin.tar.gz; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar xf apache-ant-1.10.5-bin.tar.gz; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PATH=`pwd`/apache-ant-1.10.5/bin:$PATH; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ant little-cms2 llvm; fi - echo $(ant -version) script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ant -f linux/build.xml; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ant -f macosx/build.xml; fi
Drop node.js 0.10 support, add 6 and 7 instead.
language: node_js sudo: false node_js: - "0.10" - "0.12" - "4.1" script: "npm run travis" after_success: "npm run submit-coveralls"
language: node_js sudo: false node_js: - "0.12" - "4.1" - "6" - "7" script: "npm run travis" after_success: "npm run submit-coveralls"
Add missing "-" in script section
sudo: required language: go services: - docker script: - docker build -f Dockerfile.pyspark . docker build -f Dockerfile.java .
sudo: required language: go services: - docker script: - docker build -f Dockerfile.pyspark . - docker build -f Dockerfile.java .
Update Travis .NET Core SDK version
language: csharp mono: none dotnet: 2.0.0 dist: trusty env: global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 os: - linux - osx osx_image: xcode8.2 before_script: - chmod +x ./build.sh script: - ./build.sh
language: csharp mono: none dotnet: 2.1.300-preview1-008174 dist: trusty env: global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 os: - linux - osx osx_image: xcode8.2 before_script: - chmod +x ./build.sh script: - ./build.sh
Use imhotepbot instead of my creds.
language: python env: global: - secure: "DVkR9zJMsITR8vL3W6VtqnoVAb1K+McYD0AoA2u5E8PQimwyyCCWet5H+Z0u9UEPSAxlWM3TSX6ffERY2TS/a/zlw1q+OcOHafl39klRrIYuF85zNXrdbO25nrr4z9cOhYMTPMMvo41GMKmkGxGbZxVXAVP7P8rDhaOQaEbKGnI=" - GITHUB_USERNAME="justinabrahms" python: - "2.6" - "2.7" install: "pip install -r requirements.txt" script: py.test --cov . --cov-report term-missing after_success: coveralls
language: python env: global: - GITHUB_USERNAME="imhotepbot" - secure: Oziz2mESs97bcb4Z62UspS30gvjWViUcBrErqSLJ2cDqK7gpPOHMPNMwhLmnuTgjBjf4M+FhJRG6yasTM7bBtD6joVbsxnfNb5kRUehOeCBrlQcuQMVdlwR5EuvWAb17otIo7ILyZnd+9cRd3aR2HYtEjJuvHMG6GwaotWGZkAw= python: - '2.6' - '2.7' install: pip install -r requirements.txt script: py.test --cov . --cov-report term-missing after_success: coveralls
Add Ruby 2.1.1 and 2.1.2 to Travis CI
language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 - 1.9.2 script: bundle exec rspec spec
language: ruby rvm: - 2.1.2 - 2.1.1 - 2.1.0 - 2.0.0 - 1.9.3 - 1.9.2 script: bundle exec rspec spec
Add python 3.4 to test matrix
language: python python: - 2.6 - 2.7 - 3.2 - 3.3 env: - PANDAS_VERSION=v0.12.0 - PANDAS_VERSION=v0.13.1 - PANDAS_VERSION=master before_install: - sudo add-apt-repository -y ppa:ubuntugis/ppa - sudo apt-get update - sudo apt-get install gdal-bin libgdal-dev postgis - sudo -u postgres psql -c "drop database if exists test_geopandas" - sudo -u postgres psql -c "create database test_geopandas" - sudo -u postgres psql -c "create extension postgis" -d test_geopandas install: - pip install -r requirements.txt --use-mirrors - pip install -r requirements.test.txt --use-mirrors - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r .requirements-2.6.txt --use-mirrors; fi - git clone git://github.com/pydata/pandas.git - cd pandas - git checkout $PANDAS_VERSION - python setup.py install - cd .. script: - py.test tests --cov geopandas -v --cov-report term-missing after_success: - coveralls
language: python python: - 2.6 - 2.7 - 3.2 - 3.3 - 3.4 env: - PANDAS_VERSION=v0.12.0 - PANDAS_VERSION=v0.13.1 - PANDAS_VERSION=master before_install: - sudo add-apt-repository -y ppa:ubuntugis/ppa - sudo apt-get update - sudo apt-get install gdal-bin libgdal-dev postgis - sudo -u postgres psql -c "drop database if exists test_geopandas" - sudo -u postgres psql -c "create database test_geopandas" - sudo -u postgres psql -c "create extension postgis" -d test_geopandas install: - pip install -r requirements.txt --use-mirrors - pip install -r requirements.test.txt --use-mirrors - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r .requirements-2.6.txt --use-mirrors; fi - git clone git://github.com/pydata/pandas.git - cd pandas - git checkout $PANDAS_VERSION - python setup.py install - cd .. script: - py.test tests --cov geopandas -v --cov-report term-missing after_success: - coveralls
Fix Slack notifications from Travis CI
language: node_js node_js: - '8.9' notifications: slack: secure: j8KyxkdFp5XqzVUPXLWP6vkk7oR7mYbDIgY5GNPJjUSiCZUQTtp2PfsYsjql8uM1pH2yv/CK1/xMLi4eN34QVxJILdmtyVQ8+k6arfRwjUVjimhS0jPT4KuMPwHYc7jvmEYl6x816HpGZiK6RkSINXYd9U6odsCWIS1DafQXA3Y= before_install: - npm install -g bower grunt-cli install: - npm install - bower install before_script: - grunt
language: node_js node_js: - '8.9' notifications: slack: secure: Q6mOrl/qyYlLadK9rzZCl2jAdlQcncGvOxa6rR16rDr/Uw206FVMih9GchUZ/b5cdNBXfmzOSzSnIa32mvAyPuQhBCKJy6FAM2xFDCBfbbH6J2zCSoLHwEo1e2jxuObx1pr12xVn2Fmvd8JD6Gt+x9cOrdHlv7js5SWu4ny6qfiQdnZU5GN4xsiRtNfijZNLttvAuSQ23TLGBNlxTA6jFetp5V+iSIDRKE3YAVM15pbXn/W5qz/AVkjg9/46QNpOFV+Ucl+cD0uigqgJf0rmk+fA+fHup8X5hpvkHXvEwrtsZuiO2KZADsOcWs26sfblpRhNhZiXFMMteQ22xe1axN9NaVdMg7wv6kFxucETOiST4lAF/0pPkxBGgrikQ+1JQ67JGyjHJZBtbFvhevN1WB3muK0lK+zLcuJkPiuiNyAUowwdCd/puXqXvt4zLibqqCfWrijbDjDpCRli9LpDEhp5b7NjmdGY4cjzP1l/AIxyNwIoE7kES+m5jHOtLBZBZ4obxNiRHLodFNrVfL9f2Qk2W8Jx6vPkrn6BdSN9UemUZk598HdpS8OM4m3+jNPGcdJlPfbzS61PWA7Hkm1mTnwzF5BhO9rf7TXBnOhk73o8HC2ReH3W2VD5ESHVOmTyd1adP8P8WFepQfPIVMP0mXdE2USPS9Ye6dTPFq8wLHw= before_install: - npm install -g bower grunt-cli install: - npm install - bower install before_script: - grunt
Build against PHP 5.3/5.4/5.5 and HHVM
language: php php: - 5.2 - 5.3 - 5.4
language: php php: - 5.3 - 5.4 - 5.5 - hhvm before_script: composer update --dev script: bin/phpunit
Test against latest ruby versions
language: ruby sudo: false rvm: - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.1 gemfile: - gemfiles/csv_9.0.gemfile - gemfiles/csv_10.0.gemfile - gemfiles/csv_11.0.gemfile - gemfiles/csv_12.0.gemfile - gemfiles/csv_13.0.gemfile - gemfiles/simple_form_3.5.gemfile - gemfiles/simple_form_4.0.gemfile
language: ruby sudo: false rvm: - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.5 - 2.6.2 gemfile: - gemfiles/csv_9.0.gemfile - gemfiles/csv_10.0.gemfile - gemfiles/csv_11.0.gemfile - gemfiles/csv_12.0.gemfile - gemfiles/csv_13.0.gemfile - gemfiles/simple_form_3.5.gemfile - gemfiles/simple_form_4.0.gemfile
Add CI check to ensure yarn.lock is up-to-date
language: node_js node_js: - "10" branches: only: - master # npm version tags - /^v\d+\.\d+\.\d+/ cache: yarn: true before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash - export PATH=$HOME/.yarn/bin:$PATH install: - yarn install --ignore-engines script: - yarn test jobs: fail_fast: true include: - stage: tests name: "Node 10" script: - yarn lint:js - yarn test - stage: additional tests name: floating dependencies install: yarn install --no-lockfile --ignore-engines - name: "Node 6" node_js: "6" - name: "Node 8" node_js: "8"
language: node_js node_js: - "10" branches: only: - master # npm version tags - /^v\d+\.\d+\.\d+/ cache: yarn: true before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash - export PATH=$HOME/.yarn/bin:$PATH install: - yarn install --ignore-engines --frozen-lockfile --non-interactive script: - yarn test jobs: fail_fast: true include: - stage: tests name: "Node 10" script: - yarn lint:js - yarn test - stage: additional tests name: floating dependencies install: yarn install --no-lockfile --ignore-engines - name: "Node 6" node_js: "6" - name: "Node 8" node_js: "8"
Remove go 1.2 and 1.3 from the matrix
sudo: false language: go go: - 1.2 - 1.3 - 1.4 - 1.5 - 1.6 - tip script: make updatedeps test testrace matrix: allow_failures: - go: tip
sudo: false language: go go: - 1.4 - 1.5 - 1.6 - tip script: make updatedeps test testrace matrix: allow_failures: - go: tip
Move the debian package installation before the npm module installation
language : node_js node_js : - "0.12" before_install: - npm install -g npm before_script : - npm install -g grunt-cli - sudo apt-get update -qq - sudo apt-get install -y libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
language : node_js node_js : - "0.12" before_install: - npm install -g npm - sudo apt-get update -qq - sudo apt-get install -y libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ before_script : - npm install -g grunt-cli
Fix TravisCI to run functional tests.
language: python python: - "2.6" - "2.7" - "3.3" - "3.4" install: - "pip install -r requirements.txt" - "pip install -r test-requirements.txt" script: - tox -e pep8 - tox
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
Test with several Ruby version
script: "bundle exec rspec spec --format progress"
rvm: - ruby-head - 1.9.2 - 1.8.7 - ree script: "bundle exec rspec spec --format progress"
Speed up builds by using Docker-based Travis CI
language: node_js script: "npm run travis" node_js: - "0.10"
sudo: false language: node_js script: "npm run travis" node_js: - "0.10"
Fix name of asciidoc package in Ubuntu
sudo: false dist: trusty language: c compiler: - gcc addons: apt: packages: - libxcb-randr0-dev - libconfig-dev - libcairo2-dev - libpango1.0-dev - libxcb-ewmh-dev - libxcb-icccm4-dev - libasound2-dev - libiw-dev - docbook-xml - asciidoc-base - xsltproc before_install: - export CPPFLAGS=-DOLD_LIBCONFIG script: matrix: - make yabar && make install - make doc && make install
sudo: false dist: trusty language: c compiler: - gcc addons: apt: packages: - libxcb-randr0-dev - libconfig-dev - libcairo2-dev - libpango1.0-dev - libxcb-ewmh-dev - libxcb-icccm4-dev - libasound2-dev - libiw-dev - docbook-xml - asciidoc - xsltproc before_install: - export CPPFLAGS=-DOLD_LIBCONFIG script: matrix: - make yabar && make install - make doc && make install
Update CI to run against all current ruby versions.
language: ruby sudo: false rvm: - 2.0 - 2.1 - 2.2 script: bundle exec rspec
language: ruby sudo: false rvm: - 2.0.0-p648 - 2.1.10 - 2.2.6 - 2.3.1 - 2.4.0 script: bundle exec rspec
Test Ruby 2.6.0 on Travis
bundler_args: --without development --retry=3 --jobs=3 cache: bundler language: ruby rvm: - jruby-9.0.5.0 - jruby-9.1.16.0 - ruby-head - ruby-head-clang - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 matrix: include: - gemfile: gemfiles/Gemfile.public_suffix_2 rvm: 2.5.0 allow_failures: - rvm: ruby-head - rvm: ruby-head-clang fast_finish: true before_install: - gem update bundler # - apt-get update # - apt-get install idn sudo: false
bundler_args: --without development --retry=3 --jobs=3 cache: bundler language: ruby rvm: - jruby-9.0.5.0 - jruby-9.1.16.0 - ruby-head - ruby-head-clang - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 matrix: include: - gemfile: gemfiles/Gemfile.public_suffix_2 rvm: 2.5.0 allow_failures: - rvm: ruby-head - rvm: ruby-head-clang fast_finish: true before_install: - gem update bundler # - apt-get update # - apt-get install idn sudo: false
Add code coverage / coveralls.
language: go go: - 1.1 - 1.2 - 1.2.1 - tip
language: go go: - 1.1 - 1.2 - 1.2.1 - tip install: - go get code.google.com/p/go.tools/cmd/cover - go get github.com/mattn/goveralls - export PATH=$PATH:$HOME/gopath/bin/ script: - go get -d -v ./... && go build -v ./... - go test -covermode=count -coverprofile=profile.cov after_success: - goveralls -coverprofile=profile.cov -service=travis-ci
Update the version of ruby used to build project in TravisCI.
# Lock down dist to ensure that builds run on a distribution that supports oraclejdk8 dist: trusty language: java jdk: - oraclejdk8 rvm: - 2.6.6 node_js: - v6.10.3 before_install: - openssl aes-256-cbc -K $encrypted_6f0ad65dedff_key -iv $encrypted_6f0ad65dedff_iv -in etc/secrets -out ../secrets.tar -d - "(cd ../ && tar xvf secrets.tar)" - chmod 600 ../deploy - eval `ssh-agent -s` && ssh-add ../deploy install: - nvm install v6.10.3 - nvm use v6.10.3 - npm install -g yarn - yarn install - gem install bundler - bundle install script: bundle exec buildr ci after_success: - bash <(curl -s https://codecov.io/bash) git: depth: false
# Lock down dist to ensure that builds run on a distribution that supports oraclejdk8 dist: trusty language: java jdk: - oraclejdk8 rvm: - 2.7.2 node_js: - v6.10.3 before_install: - openssl aes-256-cbc -K $encrypted_6f0ad65dedff_key -iv $encrypted_6f0ad65dedff_iv -in etc/secrets -out ../secrets.tar -d - "(cd ../ && tar xvf secrets.tar)" - chmod 600 ../deploy - eval `ssh-agent -s` && ssh-add ../deploy install: - nvm install v6.10.3 - nvm use v6.10.3 - npm install -g yarn - yarn install - gem install bundler - bundle install script: bundle exec buildr ci after_success: - bash <(curl -s https://codecov.io/bash) git: depth: false
Disable chrome tests because they are too slow
language: java jdk: - oraclejdk8 os: - linux addons: firefox: "latest" script: - mvn install -Dchrome.binary.path=/usr/bin/chromium-browser -Ptravis-ci before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - "mkdir -p /tmp/webdriverextensions-maven-plugin/cache" - "mkdir -p /tmp/webdriverextensions-maven-plugin/drivers" - "mkdir -p /tmp/webdriverextensions-maven-plugin/temp"
language: java jdk: - oraclejdk8 os: - linux addons: firefox: "latest" script: - mvn install -Dwebdriverextensions.disabledbrowsers=chrome -Dchrome.binary.path=/usr/bin/chromium-browser -Ptravis-ci before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - "mkdir -p /tmp/webdriverextensions-maven-plugin/cache" - "mkdir -p /tmp/webdriverextensions-maven-plugin/drivers" - "mkdir -p /tmp/webdriverextensions-maven-plugin/temp"
Test on REE again allowing failures.
language: ruby rvm: - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode
language: ruby rvm: - ree - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode matrix: allow_failures: - rvm: ree
Remove iojs env from testing
sudo: false language: node_js env: global: - PORT=3000 matrix: include: - node_js: iojs-v1 - node_js: iojs-v2 - node_js: "0.10" - node_js: "0.12" after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage" notifications: email: - tormozz48@gmail.com - yndx.tavria@yandex.ru
sudo: false language: node_js env: global: - PORT=3000 matrix: include: - node_js: "0.10" - node_js: "0.12" after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage" notifications: email: - tormozz48@gmail.com - yndx.tavria@yandex.ru
Add Go 1.12 and 1.13 to Travis
language: go go: - "1.3" - "1.4" - "1.5" - "1.6" - "1.7" - "1.8" - "1.9" - "1.10" - "1.11" - "tip" matrix: allow_failures: - go: tip
language: go go: - "1.3" - "1.4" - "1.5" - "1.6" - "1.7" - "1.8" - "1.9" - "1.10" - "1.11" - "1.12" - "1.13" - "tip" matrix: allow_failures: - go: tip
Add Ruby 2.1.0 to Travis config
language: ruby rvm: - 1.9.3 - 2.0.0 script: - RAILS_ENV=test bundle exec rake db:create - RAILS_ENV=test bundle exec rake db:migrate - xvfb-run bundle exec rspec
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: - RAILS_ENV=test bundle exec rake db:create - RAILS_ENV=test bundle exec rake db:migrate - xvfb-run bundle exec rspec
Install 'tap', install kanso under 'install', run 'tap test'
language: node_js node_js: - 0.10 env: DB=couchdb before_script: - curl -X PUT localhost:5984/kanso-example-app - npm install kanso -g script: "kanso install; kanso push http://localhost:5984/kanso-example-app"
language: node_js node_js: - 0.10 install: - npm install -g tap kanso env: DB=couchdb before_script: - curl -X PUT localhost:5984/kanso-example-app script: "kanso install; kanso push http://localhost:5984/kanso-example-app; tap test"
Disable Python 2.6 CI until someone asks for it
language: python python: - "2.7" - "2.6" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install --use-mirrors pystache nose argparse # # command to run tests, e.g. python setup.py test script: nosetests
language: python python: - "2.7" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: pip install --use-mirrors pystache nose argparse # # command to run tests, e.g. python setup.py test script: nosetests
Build with and without libxml
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 - ruby-head
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 - ruby-head env: - WITH_LIBXML=true - WITH_LIBXML=false before_script: | if [ "$WITH_LIBXML" == "false" ]; then sudo apt-get remove libxml2-dev fi
Fix copy and paste error in Travis config.
language: python python: - "2.6" - "2.7" install: - "pip install -r requirements.txt --use-wheel" - "pip install -r requirements-dev.txt --use-wheel" - "pip install coveralls --use-wheel" - "python setup.py install" script: - "flake8 go_cli" - "py.test --cov=go_http go_cli" after_success: - coveralls
language: python python: - "2.6" - "2.7" install: - "pip install -r requirements.txt --use-wheel" - "pip install -r requirements-dev.txt --use-wheel" - "pip install coveralls --use-wheel" - "python setup.py install" script: - "flake8 go_cli" - "py.test --cov=go_cli go_cli" after_success: - coveralls
Remove the 10 and 11 because for some reason it will fail
# To test if your modification to this file works, go to http://lint.travis-ci.org/. language: node_js env: CXX=g++-4.8 node_js: - '8' - '9' - '10' - '11' matrix: fast_finish: true os: - osx notifications: slack: haoshiyou:eSZq9zT9wMllEJYHMITggGky before_install: - cd haoshiyou # download env.dev.ts from haoshiyou-security repository with a token - ./travis/setup-env.sh install: - ./travis/install-platform-sdk.sh - ./travis/install-ionic-sdk.sh - npm install script: - ./travis/build-platform.sh
# To test if your modification to this file works, go to http://lint.travis-ci.org/. language: node_js env: CXX=g++-4.8 node_js: - '8' - '9' matrix: fast_finish: true os: - osx notifications: slack: haoshiyou:eSZq9zT9wMllEJYHMITggGky before_install: - cd haoshiyou # download env.dev.ts from haoshiyou-security repository with a token - ./travis/setup-env.sh install: - ./travis/install-platform-sdk.sh - ./travis/install-ionic-sdk.sh - npm install script: - ./travis/build-platform.sh
Upgrade Node.js to version 7, required by gulp-testcafe
language: node_js node_js: "6" before_install: - stty cols 80 dist: trusty sudo: required addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable fluxbox before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 - fluxbox >/dev/null 2>&1 &
language: node_js node_js: "7" before_install: - stty cols 80 dist: trusty sudo: required addons: firefox: latest apt: sources: - google-chrome packages: - google-chrome-stable fluxbox before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 - fluxbox >/dev/null 2>&1 &
Drop Python 3.1 3.2 test
language: python python: - 3.1 - 3.2 - 3.3 - 3.4 - 3.5 install: - pip install -r requirements.txt script: - py.test
language: python python: - 3.3 - 3.4 - 3.5 install: - pip install -r requirements.txt script: - py.test
Move 0.11 to allowed failures
language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6"
language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" matrix: allow_failures: - node_js: "0.11"
Use quotes when assigning to DIR
language: c, python3 addons: apt: packages: - re2c install: - export FOSS_DIR=~/foss - DIR=$(FOSS_DIR)/ninja - tools/install-ninja $(DIR) - export PATH=$(DIR):$PATH cache: directories: - ~/foss script: - ninja --version - make Posix - make run-posix
language: c, python3 addons: apt: packages: - re2c install: - export FOSS_DIR=~/foss - DIR="$(FOSS_DIR)/ninja" - tools/install-ninja $(DIR) - export PATH=$(DIR):$PATH cache: directories: - ~/foss script: - ninja --version - make Posix - make run-posix
Update Travis deployment script path
language: node_js node_js: - '6' deploy: provider: script script: NOW_ALIAS=formatjs.io node_modules/.bin/now-travis on: branch: master env: global: secure: iwLZFsYM6NYa6jD2awa7m2nMC/jqfCyy7dofloV55OGxg18NkzH2WDxift0qYECb+BNuMN7fHbixfxXTxAyC3JOcKXHal4X2KrwmYoVpSHURtbo83/0ul4MRPr31S1q8uwYYIDAtLxPGcQXZnhtaSgG/d3PJQeGwOI9e6fxOJJA=
language: node_js node_js: - '6' deploy: provider: script script: NOW_ALIAS=formatjs.io ./node_modules/.bin/now-travis on: branch: master env: global: secure: iwLZFsYM6NYa6jD2awa7m2nMC/jqfCyy7dofloV55OGxg18NkzH2WDxift0qYECb+BNuMN7fHbixfxXTxAyC3JOcKXHal4X2KrwmYoVpSHURtbo83/0ul4MRPr31S1q8uwYYIDAtLxPGcQXZnhtaSgG/d3PJQeGwOI9e6fxOJJA=
Use the standard Jade Travis configuration
sudo: false language: node_js node_js: - "0.10" - "0.12" - "4"
language: node_js sudo: false node_js: - "0.10" - "0.12" - "4" after_success: - npm run coverage - npm i coveralls - cat ./coverage/lcov.info | coveralls notifications: email: on_success: never
Add version 0 of node
language: node_js node_js: - "12.14.0" - "8.16.2" - "6.14.4" - "4.9.1" before_script: - npm run build
language: node_js node_js: - "12.14.0" - "8.16.2" - "6.14.4" - "4.9.1" - "0.12.18"
Configure Travis to install required dependencies
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" # command to run tests script: - pytest notifications: email: on_success: change on_failure: change
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" install: - pip install -r requirements_dev.txt script: - pytest notifications: email: on_success: change on_failure: change
Stop building against really old Node releases
language: node_js node_js: - "0.10" - "0.12" - "node" env: global: - REPO_OWNER=vokal - REPO_NAME=cvr install: - npm install -g istanbul - npm install script: - chmod +x run-build.sh - ./run-build.sh
language: node_js node_js: - "6" - "8" - "node" env: global: - REPO_OWNER=vokal - REPO_NAME=cvr install: - npm install -g istanbul - npm install script: - chmod +x run-build.sh - ./run-build.sh
Remove ree from build server.
language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode - jruby-head - ree
language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode - rbx-19mode - jruby-head
Fix typo in Travis CI
language: python sudo: required dist: xenial python: - "2.7" - "3.6" - "3.7" env: - DJANGO_VERSION=1.8 - DJANGO_VERSION=1.10 - DJANGO_VERSION=1.11 - DJANGO_VERSION=2.0 - DJANGO_VERSION=2.1 - DJANGO_VERSION=2.2 - DJANGO_VERSION=3.0 matrix: exclude: - python: "2.7" env: DJANGO_VERSION=2.0 - python: "2.7" env: DJANGO_VERSION=2.1 - python: "2.7" env: DJANGO_VERSION=2.2 - python: "3.7" env: DJANGO_VERSION=1.11 install: - pip install -q Django==$DJANGO_VERSION - pip install -q -U flake8 flake8-quotes flake8-commas flake8-import-order mock - pip install coveralls script: - flake8 - coverage run --source=speedinfo runtests.py after_success: - coveralls
language: python sudo: required dist: xenial python: - "2.7" - "3.6" - "3.7" env: - DJANGO_VERSION=1.8 - DJANGO_VERSION=1.10 - DJANGO_VERSION=1.11 - DJANGO_VERSION=2.0 - DJANGO_VERSION=2.1 - DJANGO_VERSION=2.2 - DJANGO_VERSION=3.0 matrix: exclude: - python: "2.7" env: DJANGO_VERSION=2.0 - python: "2.7" env: DJANGO_VERSION=2.1 - python: "2.7" env: DJANGO_VERSION=2.2 - python: "2.7" env: DJANGO_VERSION=3.0 - python: "3.7" env: DJANGO_VERSION=1.11 install: - pip install -q Django==$DJANGO_VERSION - pip install -q -U flake8 flake8-quotes flake8-commas flake8-import-order mock - pip install coveralls script: - flake8 - coverage run --source=speedinfo runtests.py after_success: - coveralls
Revert "One way to try and solve Travis build failures."
language: ruby rvm: - 1.9.3 - rbx-19mode env: global: - PATH=/tmp/bin:$PATH matrix: - DRIVER=chrome - DRIVER=selenium before_install: - "sudo sh -c 'echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse'" - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" before_script: - "./script/setup_browserid.rb" - "./script/install-chrome-driver.sh"
language: ruby rvm: - 1.9.3 - rbx-19mode env: global: - PATH=/tmp/bin:$PATH matrix: - DRIVER=chrome - DRIVER=selenium before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" before_script: - "./script/setup_browserid.rb" - "./script/install-chrome-driver.sh"
Switch to correct Java version when running tests
language: java install: - jdk_switcher use oraclejdk8 - mvn install -DskipTests=true -Dmaven.javadoc.skip=true jdk: - oraclejdk8 - oraclejdk7 - openjdk7 - openjdk6 script: mvn test -Dmaven.javadoc.skip=true
language: java install: - jdk_switcher use oraclejdk8 - mvn install -DskipTests=true -Dmaven.javadoc.skip=true jdk: - oraclejdk8 - oraclejdk7 - openjdk7 - openjdk6 script: - jdk_switcher use $TRAVIS_JDK_VERSION - mvn test -Dmaven.javadoc.skip=true
Test against ruby < 2.1
language: ruby rvm: - 2.1.0 - 2.2.2 before_install: gem install bundler -v 1.10.6
language: ruby rvm: - 2.0.0-p648 - 2.1.0 - 2.2.2 before_install: gem install bundler -v 1.10.6
Fix Travis build breaking due to lack of conf.php file
language: php php: - '7.2' before_install: - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini install: - cp ./setup/conf.php ./config/conf.php - composer install services: - postgresql before_script: - psql -c 'CREATE DATABASE "mlpvc-rr";' -U postgres - psql -c "CREATE USER \"mlpvc-rr\" WITH LOGIN PASSWORD 'example-password'" -U postgres - psql "mlpvc-rr" < ./setup/create_extensions.pg.sql - vendor/bin/phinx migrate dist: xenial addons: postgresql: "9.6"
language: php php: - '7.2' before_install: - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini install: - cp .env.example .env - composer install services: - postgresql before_script: - psql -c 'CREATE DATABASE "mlpvc-rr";' -U postgres - psql -c "CREATE USER \"mlpvc-rr\" WITH LOGIN PASSWORD 'example-password'" -U postgres - psql "mlpvc-rr" < ./setup/create_extensions.pg.sql - vendor/bin/phinx migrate dist: xenial addons: postgresql: "9.6"
Use OpenJDK8 to deploy snapshots
dist: xenial language: java branches: only: - master - /^\d+\.\d+$/ cache: directories: - $HOME/.m2 before_cache: - rm -rf $HOME/.m2/repository/io/vertx/ before_install: - sudo apt-get update -qq - sudo apt-get install --only-upgrade openjdk-8-jdk jobs: include: - stage: test name: "OpenJDK 8" jdk: openjdk8 script: mvn -q clean verify -B - if: type != pull_request name: "OpenJDK 11" jdk: openjdk11 script: mvn -q clean verify -B - stage: deploy name: "Deploy to Sonatype's snapshots repository" if: type != pull_request AND env(SONATYPE_NEXUS_USERNAME) IS present script: bash .travis.deploy.artifacts.sh notifications: email: recipients: - secure: "WPD08VXoFxsyVGbosA/hSyrk1Nsq7nAMwcd6HEtH9mXerpiArzpD4wLSkKf8wtwxZFZJfgzv0KViFYu9yjk4OgsShi2ERaHroJKOGVlnNWTvLrUYmsjLzYTLeiFEGUbmGnc8W8U7dVGmLdkPz0jLyfoNR7r2j+gw136irsDf5Cg=" on_success: always on_failure: always
dist: xenial language: java branches: only: - master - /^\d+\.\d+$/ cache: directories: - $HOME/.m2 before_cache: - rm -rf $HOME/.m2/repository/io/vertx/ before_install: - sudo apt-get update -qq - sudo apt-get install --only-upgrade openjdk-8-jdk jobs: include: - stage: test name: "OpenJDK 8" jdk: openjdk8 script: mvn -q clean verify -B - if: type != pull_request name: "OpenJDK 11" jdk: openjdk11 script: mvn -q clean verify -B - stage: deploy jdk: openjdk8 name: "Deploy to Sonatype's snapshots repository" if: type != pull_request AND env(SONATYPE_NEXUS_USERNAME) IS present script: bash .travis.deploy.artifacts.sh notifications: email: recipients: - secure: "WPD08VXoFxsyVGbosA/hSyrk1Nsq7nAMwcd6HEtH9mXerpiArzpD4wLSkKf8wtwxZFZJfgzv0KViFYu9yjk4OgsShi2ERaHroJKOGVlnNWTvLrUYmsjLzYTLeiFEGUbmGnc8W8U7dVGmLdkPz0jLyfoNR7r2j+gw136irsDf5Cg=" on_success: always on_failure: always
Update Xcode version in TravisCI
language: objective-c osx_image: xcode11.1 env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 before_install: - env - locale - gem install cocoapods --pre --no-document --quiet - gem install xcpretty --no-document --quiet - pod --version - pod setup --silent > /dev/null - pod repo update --silent - xcpretty --version - xcodebuild -version - xcodebuild -showsdks script: - set -o pipefail - echo Check if the library described by the podspec can be built - pod lib lint --allow-warnings - echo Build - xcodebuild clean build -workspace Example/FTMTableSectionModules.xcworkspace -scheme 'FTMTableSectionModules' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c - echo Build the Demo apps - xcodebuild clean build -workspace Example/FTMTableSectionModules.xcworkspace -scheme 'FTMTableSectionModules-Example' -configuration Debug -destination 'name=iPhone 8' | xcpretty -c - echo Run the tests - xcodebuild test -workspace Example/FTMTableSectionModules.xcworkspace -scheme 'FTMTableSectionModules-Example' -configuration Debug -destination 'name=iPhone 8' | xcpretty -c after_success:
language: objective-c osx_image: xcode11.3 env: global: - LC_CTYPE=en_US.UTF-8 - LANG=en_US.UTF-8 before_install: - env - locale - gem install cocoapods --pre --no-document --quiet - gem install xcpretty --no-document --quiet - pod --version - pod setup --silent > /dev/null - pod repo update --silent - xcpretty --version - xcodebuild -version - xcodebuild -showsdks script: - set -o pipefail - echo Check if the library described by the podspec can be built - pod lib lint --allow-warnings - echo Build - xcodebuild clean build -workspace Example/FTMTableSectionModules.xcworkspace -scheme 'FTMTableSectionModules' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c - echo Build the Demo apps - xcodebuild clean build -workspace Example/FTMTableSectionModules.xcworkspace -scheme 'FTMTableSectionModules-Example' -configuration Debug -destination 'name=iPhone 8' | xcpretty -c - echo Run the tests - xcodebuild test -workspace Example/FTMTableSectionModules.xcworkspace -scheme 'FTMTableSectionModules-Example' -configuration Debug -destination 'name=iPhone 8' | xcpretty -c after_success:
Add pypy to test matrix
addons: postgresql: 9.3 before_script: - psql -c 'create database sqlalchemy_utils_test;' -U postgres language: python python: - 2.6 - 2.7 - 3.3 env: matrix: - SQLALCHEMY=SQLAlchemy==0.9 - SQLALCHEMY=SQLAlchemy==0.8.4 install: - "pip install $SQLALCHEMY" - pip install -e ".[test]" script: - python setup.py test
addons: postgresql: 9.3 before_script: - psql -c 'create database sqlalchemy_utils_test;' -U postgres language: python python: - 2.6 - 2.7 - 3.3 - pypy env: matrix: - SQLALCHEMY=SQLAlchemy==0.9 - SQLALCHEMY=SQLAlchemy==0.8.4 install: - "pip install $SQLALCHEMY" - pip install -e ".[test]" script: - python setup.py test
Remove /nonexistant after installing memcached package
--- - apt: pkg={{ item }} with_items: - memcached - python-memcache - template: src=memcached.conf dest=/etc/memcached.conf mode=0644 notify: - restart memcached
--- - apt: pkg={{ item }} with_items: - memcached - python-memcache - name: "remove /nonexistant inadvertently created by memcached package: see https://bugs.launchpad.net/ubuntu/+source/memcached/+bug/1255328/" shell: rm -rf /nonexistant - template: src=memcached.conf dest=/etc/memcached.conf mode=0644 notify: - restart memcached
Make Travis CI only build the master branch
language: java jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
language: java jdk: - oraclejdk8 branches: only: - master before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
Enable deprecation warnings when running trial
# # This is the Travis-CI configuration. # language: "python" # This is how you get container-based environments on Travis-CI. And # container-based environments are how you get fast test runs. sudo: false # Only build master; for "push" builds, this is when the branch pushed # to is master, for "pr" builds, this is when the merge base of the PR # is master. branches: only: - "master" matrix: include: - python: 2.7 - python: 3.6 allow_failures: - python: 3.6 cache: directories: # Cache the pip download cache across runs to avoid having to # repeatedly download packages over the network. - "$HOME/.cache/pip" install: - "pip install --upgrade pip setuptools wheel coverage codecov pyflakes" - "pip install .[dev]" script: - "pyflakes src" - "coverage run --rcfile=${PWD}/.coveragerc $(type -p trial) txkube" # See .coveragerc for an explanation of this step. - "coverage combine .coverage" after_success: - "codecov"
# # This is the Travis-CI configuration. # language: "python" # This is how you get container-based environments on Travis-CI. And # container-based environments are how you get fast test runs. sudo: false # Only build master; for "push" builds, this is when the branch pushed # to is master, for "pr" builds, this is when the merge base of the PR # is master. branches: only: - "master" matrix: include: - python: 2.7 - python: 3.6 allow_failures: - python: 3.6 cache: directories: # Cache the pip download cache across runs to avoid having to # repeatedly download packages over the network. - "$HOME/.cache/pip" install: - "pip install --upgrade pip setuptools wheel coverage codecov pyflakes" - "pip install .[dev]" script: - "pyflakes src" - "python -Wdefault::DeprecationWarning -m coverage run --rcfile=${PWD}/.coveragerc -m twisted.trial txkube" # See .coveragerc for an explanation of this step. - "python -m coverage combine .coverage" after_success: - "codecov"
Add CI option for Ruby 1.9.3
language: ruby rvm: - 2.2.0 before_script: - chmod 777 ./config/before-travis.sh - ./config/before-travis.sh script: - export DISPLAY=:99.0 - bundle exec rake branches: only: - master
language: ruby rvm: - 1.9.3 - 2.2.0 before_script: - chmod 777 ./config/before-travis.sh - ./config/before-travis.sh script: - export DISPLAY=:99.0 - bundle exec rake branches: only: - master
Test ES 7 on Travis
dist: xenial language: ruby rvm: 2.5.3 gemfile: - Gemfile services: - postgresql - redis-server script: bundle exec rake test before_install: - psql -c 'CREATE DATABASE searchkick_test;' -U postgres || true - ./test/ci/install_elasticsearch.sh cache: directories: - $HOME/elasticsearch env: - ELASTICSEARCH_VERSION=6.5.0 jdk: oraclejdk8 matrix: include: - gemfile: Gemfile - gemfile: test/gemfiles/activerecord51.gemfile env: ELASTICSEARCH_VERSION=6.0.0 - gemfile: test/gemfiles/activerecord50.gemfile env: ELASTICSEARCH_VERSION=5.6.10 - gemfile: test/gemfiles/activerecord42.gemfile env: ELASTICSEARCH_VERSION=5.0.1 - gemfile: test/gemfiles/mongoid6.gemfile services: - mongodb - redis-server - gemfile: test/gemfiles/mongoid5.gemfile services: - mongodb - redis-server notifications: email: on_success: never on_failure: change
dist: xenial language: ruby rvm: 2.5.3 gemfile: - Gemfile services: - postgresql - redis-server script: bundle exec rake test before_install: - psql -c 'CREATE DATABASE searchkick_test;' -U postgres || true - ./test/ci/install_elasticsearch.sh cache: directories: - $HOME/elasticsearch env: - ELASTICSEARCH_VERSION=6.5.0 jdk: oraclejdk8 matrix: include: - gemfile: Gemfile - gemfile: test/gemfiles/activerecord51.gemfile env: ELASTICSEARCH_VERSION=6.0.0 - gemfile: test/gemfiles/activerecord50.gemfile env: ELASTICSEARCH_VERSION=5.6.10 - gemfile: test/gemfiles/activerecord42.gemfile env: ELASTICSEARCH_VERSION=5.0.1 - gemfile: test/gemfiles/mongoid6.gemfile services: - mongodb - redis-server - gemfile: test/gemfiles/mongoid5.gemfile services: - mongodb - redis-server allow_failures: - gemfile: Gemfile env: ELASTICSEARCH_VERSION=7.0.0-alpha1 notifications: email: on_success: never on_failure: change
Remove Ubuntu Precise test (.NET Core doesn't support it)
language: csharp mono: none dotnet: 2.0.0 notifications: email: false matrix: include: - os: linux dist: precise - os: linux dist: trusty - os: osx cache: directories: - $HOME/.magicalcryptowallet/ - $HOME/.nuget/packages before_install: - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -qq update && sudo apt-get install -y tor; else brew install tor; fi - if [ $TRAVIS_OS_NAME = osx ]; then ulimit -S -n 4096; fi - echo $(sudo killall tor) - sleep 5 - tor RunAsDaemon 1 script: - sleep 5 - travis_wait dotnet test MagicalCryptoWallet.Tests/MagicalCryptoWallet.Tests.csproj
language: csharp mono: none dotnet: 2.0.0 notifications: email: false matrix: include: - os: linux dist: trusty - os: osx cache: directories: - $HOME/.magicalcryptowallet/ - $HOME/.nuget/packages before_install: - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -qq update && sudo apt-get install -y tor; else brew install tor; fi - if [ $TRAVIS_OS_NAME = osx ]; then ulimit -S -n 4096; fi - echo $(sudo killall tor) - sleep 5 - tor RunAsDaemon 1 script: - sleep 5 - travis_wait dotnet test MagicalCryptoWallet.Tests/MagicalCryptoWallet.Tests.csproj
Update PHP versions tested by Travis
language: php php: - 5.3 - 5.4 - 5.5 before_script: - curl -s http://getcomposer.org/installer | php - php composer.phar install --dev script: phpunit notifications: hipchat: rooms: secure: ZazsrW/7r8yRS0FWnmNI4OjEagrubjzOZ1kcg08Z69L3ZFHN/6UR6N5Rv4b9xDVZiYVA48iOX7hVoJPVVtodvkDZS8kX0oxWEd7r4ZaohLTO7JXrVdvhmAgWv8FEndzWZ2xItZSIrvxK5AM19QQolOqXs3+0souQNgWG/4Y/IU4=
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 before_script: - curl -s http://getcomposer.org/installer | php - php composer.phar install --dev script: phpunit notifications: hipchat: rooms: secure: ZazsrW/7r8yRS0FWnmNI4OjEagrubjzOZ1kcg08Z69L3ZFHN/6UR6N5Rv4b9xDVZiYVA48iOX7hVoJPVVtodvkDZS8kX0oxWEd7r4ZaohLTO7JXrVdvhmAgWv8FEndzWZ2xItZSIrvxK5AM19QQolOqXs3+0souQNgWG/4Y/IU4=
Remove tip, is slow as fuck
language: go go: - 1.2 - 1.3 - 1.4 - 1.5 - tip install: - go get -t -v ./... script: - go test ./...
language: go go: - 1.2 - 1.3 - 1.4 - 1.5 install: - go get -t -v ./... script: - go test ./...
Update Puppet versions in Travis CI build matrix
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 env: - PUPPET_VERSION=2.6.2 - PUPPET_VERSION=2.6.17 - PUPPET_VERSION=2.7.19
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 env: - PUPPET_VERSION=2.6.2 - PUPPET_VERSION=2.6.18 - PUPPET_VERSION=2.7.21 - PUPPET_VERSION=3.0.2 - PUPPET_VERSION=3.1.1 - PUPPET_VERSION=3.2.1
Delete lifecycle hook; it was a bad idea
jupyterhub: auth: type: google admin: users: # infrastructure - rylo - yuvipanda - felder # List of other admin users # Professor - mahoneymw # GSIs - krinsman - theisen # UGSI - wqixuan singleuser: nodeSelector: hub.jupyter.org/node-purpose: user memory: guarantee: 512M limit: 1G image: name: gcr.io/ucb-datahub-2018/stat89a-user-image storage: type: hostPath defaultUrl: "/lab" lifecycleHooks: postStart: exec: command: ["gitpuller", "https://gitlab.com/stat-89a/spring-2020/spring_2020.git", "master", "STAT\ 89A\ 2020"]
jupyterhub: auth: type: google admin: users: # infrastructure - rylo - yuvipanda - felder # List of other admin users # Professor - mahoneymw # GSIs - krinsman - theisen # UGSI - wqixuan singleuser: nodeSelector: hub.jupyter.org/node-purpose: user memory: guarantee: 512M limit: 1G image: name: gcr.io/ucb-datahub-2018/stat89a-user-image storage: type: hostPath defaultUrl: "/lab"
Remove markdown redcarpet which is not supported by github
# Dependencies markdown: redcarpet highlighter: pygments # Permalinks permalink: pretty # custom plugins plugins_dir: ./_plugins # Setup title: 'Amit Kumar' tagline: ': Life Is Learning!' description: 'Programmer · Developer · Learner' url: //aktech.github.io author: name: 'Amit Kumar' email: dtu.amit@gmail.com # source of the 'modified-lanyon' theme github: main: https://github.com/aktech/aktech.github.io # contact details contact: github: https://github.com/aktech twitter: https://twitter.com/iaktech gmail: mailto:dtu.amit@gmail.com quora: https://www.quora.com/Amit-Kumar-516 # Gems source: . destination: ./_site timezone: Asia/Calcutta devurl: http://localhost:4000 port: 4000 host: 0.0.0.0 baseurl: /
# Dependencies highlighter: pygments # Permalinks permalink: pretty # custom plugins plugins_dir: ./_plugins # Setup title: 'Amit Kumar' tagline: ': Life Is Learning!' description: 'Programmer · Developer · Learner' url: //aktech.github.io author: name: 'Amit Kumar' email: dtu.amit@gmail.com # source of the 'modified-lanyon' theme github: main: https://github.com/aktech/aktech.github.io # contact details contact: github: https://github.com/aktech twitter: https://twitter.com/iaktech gmail: mailto:dtu.amit@gmail.com quora: https://www.quora.com/Amit-Kumar-516 # Gems source: . destination: ./_site timezone: Asia/Calcutta devurl: http://localhost:4000 port: 4000 host: 0.0.0.0 baseurl: /
Update jekyll to use kramdown and rouge
highlighter: pygments markdown: rdiscount rdiscount: extensions: [smart] permalink: /:title.html #paginate: 5 port: 4000 safe: true url: http://biomadeira.github.io/resume author: Fábio Madeira # edit this section with your information # biomadeira.github.io - all contents run on /vitae/ # for a normal use at the base of the server change it to "/" baseurl: /resume/ title: Fábio Madeira's Resume name: Fábio Madeira email: fabiomadeira@me.com email_full: mailto:fabiomadeira@me.com website: biomadeira.github.io github: biomadeira twitter: biomadeira tel: +44 7450 223192 tel_full: tel:+447450223192 google_maps: 'https://www.google.co.uk/maps/place/14+Gowrie+St,+Dundee,+Dundee+City+DD2+1ES' address: 14 Gowrie Street postcode: DD2 1ES city: Dundee country: United Kingdom google_analytics: UA-69291029-1
highlighter: rouge markdown: kramdown rdiscount: extensions: [smart] permalink: :title.html #paginate: 5 port: 4000 safe: true url: http://biomadeira.github.io/resume author: Fábio Madeira # edit this section with your information # biomadeira.github.io - all contents run on /vitae/ # for a normal use at the base of the server change it to "/" baseurl: /resume/ title: Fábio Madeira's Resume name: Fábio Madeira email: fabiomadeira@me.com email_full: mailto:fabiomadeira@me.com website: biomadeira.github.io github: biomadeira twitter: biomadeira tel: +44 7450 223192 tel_full: tel:+447450223192 google_maps: 'https://www.google.co.uk/maps/place/14+Gowrie+St,+Dundee,+Dundee+City+DD2+1ES' address: 14 Gowrie Street postcode: DD2 1ES city: Dundee country: United Kingdom google_analytics: UA-69291029-1
Switch to kramdown from redcarpet for markdown support
title: Make A Change description: "You cannot weave a silk cloth from a cotton yarn" keywords: "blog, web, programming, python, Rajesh Kumar Srivastav, Rajesh, Kumar, Srivastav, rks, rksriv" author: "Rajesh Kumar Srivastav" url: 'http://makeachange.co.in' baseurl: '/' # Outputting permalink: pretty paginate: 10 paginate_path: "/:num/" # Plugins gems: [jekyll-paginate] # Conversion markdown: redcarpet highlighter: pygments # Owner Info author: name: 'Rajesh Kumar Srivastav' email: rks_201159@yahoo.co.in twitter_username: srivastav_rk #github_username: rksriv linkedin_username: rk-srivastav-995b8516 # Google Analytics google_analytics: UA-72846931-1 exclude: ['README.md', 'Gemfile', 'Gemfile.lock', 'screenshot.png']
title: Make A Change description: "You cannot weave a silk cloth from a cotton yarn" keywords: "blog, web, programming, python, Rajesh Kumar Srivastav, Rajesh, Kumar, Srivastav, rks, rksriv" author: "Rajesh Kumar Srivastav" url: 'http://makeachange.co.in' baseurl: '/' # Outputting permalink: pretty paginate: 10 paginate_path: "/:num/" # Plugins gems: [jekyll-paginate] # Conversion highlighter: pygments # Owner Info author: name: 'Rajesh Kumar Srivastav' email: rks_201159@yahoo.co.in twitter_username: srivastav_rk #github_username: rksriv linkedin_username: rk-srivastav-995b8516 # Google Analytics google_analytics: UA-72846931-1 exclude: ['README.md', 'Gemfile', 'Gemfile.lock', 'screenshot.png']
Change github and twitter account
# Site settings title: Bút Chì Số url: "http://butchiso.com" baseurl: "" # the prefix of your site uri, eg. `/jekyll-theme-EasyBook` or just one slash `/` timezone: Europe/Helsinki description: > Professional keyboard masher and screen watcher | Web Developer. # Your information email: hungnq1989@gmail.com author: Hung Neo avatar: "//www.gravatar.com/avatar/4a44cc577eaca63e8eb110932f15bc0a?d=mm&s=135" profile: Full stack developer. twitter_username: hungnq1989 github_username: hungnq1989 # Comment Service # choose one and un-comment the line to active it disqus_shortname: butchiso permalink: /:year/:month/:title.html gems: - jekyll-paginate - jekyll-gist - jemoji # Build settings paginate: 10 paginate_path: "page/:num" highlighter: rouge markdown: kramdown kramdown: input: GFM syntax_highlighter: rouge
# Site settings title: Bút Chì Số url: "http://butchiso.com" baseurl: "" # the prefix of your site uri, eg. `/jekyll-theme-EasyBook` or just one slash `/` timezone: Europe/Helsinki description: > Professional keyboard masher and screen watcher | Web Developer. # Your information email: hungnq1989@gmail.com author: Hung Neo avatar: "//www.gravatar.com/avatar/4a44cc577eaca63e8eb110932f15bc0a?d=mm&s=135" profile: Full stack developer. twitter_username: hungneox github_username: hungneox # Comment Service # choose one and un-comment the line to active it disqus_shortname: butchiso permalink: /:year/:month/:title.html gems: - jekyll-paginate - jekyll-gist - jemoji # Build settings paginate: 10 paginate_path: "page/:num" highlighter: rouge markdown: kramdown kramdown: input: GFM syntax_highlighter: rouge
Add Google Analytics tracking id to config
name: Nasjonal Turbase repo: https://github.com/turistforeningen/www.nasjonalturbase.no markdown: redcarpet pygments: true safe: true
name: Nasjonal Turbase repo: https://github.com/turistforeningen/www.nasjonalturbase.no ga_id: UA-45821478-1 markdown: redcarpet pygments: true safe: true
Update config with newer markdown
markdown: redcarpet pygments: true permalink: /posts/:title name: Corey Haines url: http://articles.coreyhaines.com description: Corey's Ramblings twitter: coreyhaines github: coreyhaines gravatar_url: http://www.gravatar.com/avatar/3d7807bb66e1a0c68c73ab2daaa77d8f
safe: true lsi: false pygments: true permalink: /posts/:title markdown: redcarpet redcarpet: extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "strikethrough", "superscript", "with_toc_data"] name: Corey Haines url: http://articles.coreyhaines.com description: Corey's Ramblings twitter: coreyhaines github: coreyhaines gravatar_url: http://www.gravatar.com/avatar/3d7807bb66e1a0c68c73ab2daaa77d8f
Include examples for social media links
# Site wide configuration title: Site Title locale: en_US url: http://localhost:4000 # Jekyll configuration permalink: /:categories/:title/ markdown: kramdown highlighter: pygments sass: sass_dir: _sass style: compressed gems: - jekyll-sitemap kramdown: auto_ids: true footnote_nr: 1 entity_output: as_char toc_levels: 1..6 use_coderay: false # Site owner owner: name: Your Name avatar: bio-photo.jpg bio: "Describe your self." email: disqus-shortname: twitter: facebook: google: plus: analytics: verify: ad-client: ad-slot: bing-verify: github: stackoverflow: linkedin: instagram: lastfm: tumblr: pinterest: foursquare: steam: dribbble: include: [".htaccess"] exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules", "Gemfile", "Gemfile.lock", "LICENSE", "README.md"]
# Site wide configuration title: Site Title locale: en_US url: http://localhost:4000 # Jekyll configuration permalink: /:categories/:title/ markdown: kramdown highlighter: pygments sass: sass_dir: _sass style: compressed gems: - jekyll-sitemap kramdown: auto_ids: true footnote_nr: 1 entity_output: as_char toc_levels: 1..6 use_coderay: false # Site owner owner: name: Your Name avatar: bio-photo.jpg bio: "Describe your self." email: disqus-shortname: twitter: #username facebook: #username google: plus: #username analytics: verify: ad-client: ad-slot: bing-verify: github: #username stackoverflow: #http://stackoverflow.com/users/123456/username linkedin: #username instagram: #username lastfm: #username tumblr: #username pinterest: #username foursquare: #username steam: #username dribbble: #username include: [".htaccess"] exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules", "Gemfile", "Gemfile.lock", "LICENSE", "README.md"]
Remove newrelic dependency as its unused in user retirement.
# Configure a Jenkins worker instance to run the user retirement jobs. - name: Configure instance(s) hosts: jenkins_worker become: True gather_facts: True vars: serial_count: 1 COMMON_SECURITY_UPDATES: yes SECURITY_UPGRADE_ON_ANSIBLE: true serial: "{{ serial_count }}" roles: - role: aws when: COMMON_ENABLE_AWS_ROLE - jenkins_worker - newrelic_infrastructure
# Configure a Jenkins worker instance to run the user retirement jobs. - name: Configure instance(s) hosts: jenkins_worker become: True gather_facts: True vars: serial_count: 1 COMMON_SECURITY_UPDATES: yes SECURITY_UPGRADE_ON_ANSIBLE: true serial: "{{ serial_count }}" roles: - role: aws when: COMMON_ENABLE_AWS_ROLE - jenkins_worker
Enable ExecutePermissions hook on this repo
PreCommit: BundleCheck: enabled: true HardTabs: enabled: true RuboCop: enabled: true command: ['bundle', 'exec', 'rubocop'] include: - '**/*.gemspec' - '**/*.rb' - '**/Gemfile' - template-dir/hooks/overcommit-hook TravisLint: enabled: true command: ['bundle', 'exec', 'travis'] flags: ['lint', '--skip-version-check'] TrailingWhitespace: enabled: true YamlSyntax: enabled: true
PreCommit: BundleCheck: enabled: true ExecutePermissions: enabled: true exclude: - 'bin/overcommit' - 'libexec/**/*' - 'template-dir/hooks/overcommit-hook' HardTabs: enabled: true RuboCop: enabled: true command: ['bundle', 'exec', 'rubocop'] include: - '**/*.gemspec' - '**/*.rb' - '**/Gemfile' - template-dir/hooks/overcommit-hook TravisLint: enabled: true command: ['bundle', 'exec', 'travis'] flags: ['lint', '--skip-version-check'] TrailingWhitespace: enabled: true YamlSyntax: enabled: true
Upgrade beta release for access token action
--- on: push: branches: - 2.x jobs: hello_world_job: runs-on: ubuntu-latest name: Publish package sub-splits steps: - uses: actions/checkout@v1 - uses: frankdejonge/use-github-token@1.0.0-beta.1 with: authentication: 'frankdejonge:${{ secrets.PERSONAL_ACCESS_TOKEN }}' user_name: 'Frank de Jonge' user_email: 'info@frenky.net'
--- on: push: branches: - 2.x jobs: hello_world_job: runs-on: ubuntu-latest name: Publish package sub-splits steps: - uses: actions/checkout@v1 - uses: frankdejonge/use-github-token@1.0.0-beta.2 with: authentication: 'frankdejonge:${{ secrets.PERSONAL_ACCESS_TOKEN }}' user_name: 'Frank de Jonge' user_email: 'info@frenky.net'
Remove php 7.0 Travis tests
language: php php: - 5.6 - 7.0 matrix: allow_failures: - php: 5.6 fast_finish: true before_script: - bash bin/init.sh testing script: - vendor/bin/phpunit --coverage-clover app/storage/logs/clover.xml after_success: - travis_retry vendor/bin/coveralls -v
language: php php: - 5.6 before_script: - bash bin/init.sh testing script: - vendor/bin/phpunit --coverage-clover app/storage/logs/clover.xml after_success: - travis_retry vendor/bin/coveralls -v
Update Travis to Drop 5.5, Add 7.1
language: php php: - 5.5 - 5.6 - 7 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer self-update - composer install --dev - mkdir -p build/logs script: - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - ./vendor/bin/coveralls -v - CODECLIMATE_REPO_TOKEN="d3ada8866be9e0014142368d73317e2d4a90ea3dd25745ff31e087361d352d83" ./vendor/bin/test-reporter --stdout > codeclimate.json - "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
language: php php: - 5.6 - 7.0 - 7.1 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer self-update - composer install --dev - mkdir -p build/logs script: - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - ./vendor/bin/coveralls -v - CODECLIMATE_REPO_TOKEN="d3ada8866be9e0014142368d73317e2d4a90ea3dd25745ff31e087361d352d83" ./vendor/bin/test-reporter --stdout > codeclimate.json - "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
Add 4.04 to the test matrix
language: c install: bash -e .travis-ci-install.sh script: bash -e .travis-ci.sh cache: apt dist: trusty sudo: required matrix: include: - os: linux env: OCAML_VERSION=4.03 OPAM_VERSION=1.2.2 - os: linux env: OCAML_VERSION=4.02 OPAM_VERSION=1.2.2 - os: linux env: OCAML_VERSION=4.02 OPAM_VERSION=1.2.0 - os: linux env: OCAML_VERSION=4.01 OPAM_VERSION=1.2.2 - os: linux env: OCAML_VERSION=4.00 OPAM_VERSION=1.2.2 - os: linux env: OCAML_VERSION=3.12 OPAM_VERSION=1.2.2 - os: osx osx_image: xcode7.3 env: OCAML_VERSION=4.03 OPAM_VERSION=1.2.2 notifications: email: - opam-commits@lists.ocaml.org irc: - chat.freenode.net#opam
language: c install: bash -e .travis-ci-install.sh script: bash -e .travis-ci.sh cache: apt dist: trusty sudo: required matrix: include: - os: linux env: OCAML_VERSION=4.04 OPAM_VERSION=1.2.2 - os: linux env: OCAML_VERSION=4.03 OPAM_VERSION=1.2.2 - os: linux env: OCAML_VERSION=4.02 OPAM_VERSION=1.2.2 - os: linux env: OCAML_VERSION=4.02 OPAM_VERSION=1.2.0 - os: linux env: OCAML_VERSION=4.01 OPAM_VERSION=1.2.2 - os: linux env: OCAML_VERSION=4.00 OPAM_VERSION=1.2.2 - os: linux env: OCAML_VERSION=3.12 OPAM_VERSION=1.2.2 - os: osx osx_image: xcode7.3 env: OCAML_VERSION=4.03 OPAM_VERSION=1.2.2 notifications: email: - opam-commits@lists.ocaml.org irc: - chat.freenode.net#opam
Add Go 1.10 and 1.11 to Travis
sudo: false language: go go: - 1.7.x - 1.8.x - 1.9.x - master go_import_path: golang.org/x/lint install: - go get -t -v ./... script: - go test -v -race ./... matrix: allow_failures: - go: master fast_finish: true
sudo: false language: go go: - 1.8.x - 1.9.x - 1.10.x - 1.11.x - master go_import_path: golang.org/x/lint install: - go get -t -v ./... script: - go test -v -race ./... matrix: allow_failures: - go: master fast_finish: true
Test on 1.9.3 and 2.1.1 & be less wimpy
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.1 before_install: - gem install puppet - gem install librarian-puppet - librarian-puppet install script: - ./run_tests.sh notifications: email: false matrix: allow_failures: - rvm: 2.0.0 - rvm: 2.1.1 branches: except: - /^build_\d+$/
language: ruby rvm: - 1.9.3 - 2.1.1 before_install: - gem install puppet - gem install librarian-puppet - librarian-puppet install script: - ./run_tests.sh notifications: email: false branches: except: - /^build_\d+$/
Check CS for .php files only
sudo: false language: php php: - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm services: - elasticsearch before_script: - echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - composer install --prefer-dist script: - vendor/bin/phpunit --coverage-clover=coveralls.clover - vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/,Tests/app/ ./ after_script: - travis_retry php vendor/bin/coveralls notifications: webhooks: urls: - https://webhooks.gitter.im/e/81e47479feba5ba8dc47 on_success: change on_start: never
sudo: false language: php php: - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm services: - elasticsearch before_script: - echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - composer install --prefer-dist script: - vendor/bin/phpunit --coverage-clover=coveralls.clover - vendor/bin/phpcs -p --extensions=php --standard=PSR2 --ignore=vendor/,Tests/app/ ./ after_script: - travis_retry php vendor/bin/coveralls notifications: webhooks: urls: - https://webhooks.gitter.im/e/81e47479feba5ba8dc47 on_success: change on_start: never
Remove nodejs lower version for const syntax warning
before_install: npm install npm -g language: node_js node_js: - "6" - "4" - "0.12" - "0.10"
before_install: npm install npm -g language: node_js node_js: - "6" - "4"
Install numpy through pip, not apt
language: rust sudo: false dist: trusty # still in beta, but required for the prebuilt TF binaries cache: cargo: true rust: stable env: global: - RUST_BACKTRACE=1 - CC="gcc-4.9" - CXX="g++-4.9" matrix: - TF_RUST_BUILD_FROM_SRC=true - TF_RUST_BUILD_FROM_SRC=false install: # Install dependencies only if we build tensorflow from source. - if [[ "$TF_RUST_BUILD_FROM_SRC" == "true" ]]; then source travis-ci/install.sh; fi script: - cargo test -vv -j 2 --features tensorflow_unstable - cargo run --example regression - cargo run --features tensorflow_unstable --example expressions - cargo doc -vv --features tensorflow_unstable - # TODO(#66): Re-enable: (cd tensorflow-sys && cargo test -vv -j 1) - (cd tensorflow-sys && cargo doc -vv) addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.9 - gcc-4.9 - oracle-java8-installer - python-numpy - swig notifications: email: false
language: rust sudo: false dist: trusty # still in beta, but required for the prebuilt TF binaries cache: cargo: true rust: stable env: global: - RUST_BACKTRACE=1 - CC="gcc-4.9" - CXX="g++-4.9" matrix: - TF_RUST_BUILD_FROM_SRC=true - TF_RUST_BUILD_FROM_SRC=false install: # Install dependencies only if we build tensorflow from source. - if [[ "$TF_RUST_BUILD_FROM_SRC" == "true" ]]; then source travis-ci/install.sh; fi - if [[ "$TF_RUST_BUILD_FROM_SRC" == "true" ]]; then pip install --user numpy; fi script: - cargo test -vv -j 2 --features tensorflow_unstable - cargo run --example regression - cargo run --features tensorflow_unstable --example expressions - cargo doc -vv --features tensorflow_unstable - # TODO(#66): Re-enable: (cd tensorflow-sys && cargo test -vv -j 1) - (cd tensorflow-sys && cargo doc -vv) addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.9 - gcc-4.9 - oracle-java8-installer - swig notifications: email: false
Update minimal ruby version to 2.2
language: ruby notifications: email: false rvm: - 2.0 - 2.1 - ruby-head matrix: allow_failures: - rvm: ruby-head before_install: - gem install fakeweb script: - "bundle exec rake spec"
language: ruby notifications: email: false rvm: - 2.2 - 2.3 - ruby-head matrix: allow_failures: - rvm: ruby-head before_install: - gem install fakeweb script: - "bundle exec rake spec"
Reduce the amount of jobs per build
language: ruby sudo: false script: 'script/cibuild' cache: bundler env: matrix: - SUITE=mysql - SUITE=pg - SUITE=sqlite3 - SUITE=rubocop rvm: - 2.1 - 2.2 matrix: fast_finish: true exclude: - env: SUITE=rubocop rvm: 2.2 notifications: email: false services: - redis bundler_args: --without deploy production debug --jobs 3 --retry 3
language: ruby sudo: false script: 'script/cibuild' cache: bundler env: matrix: - SUITE=mysql - SUITE=pg - SUITE=sqlite3 - SUITE=rubocop rvm: - 2.1 - 2.2 matrix: fast_finish: true exclude: - env: SUITE=rubocop rvm: 2.2 - env: SUITE=pg rvm: 2.2 - env: SUITE=mysql rvm: 2.2 notifications: email: false services: - redis bundler_args: --without deploy production debug --jobs 3 --retry 3
Update Travis to use OpenJDK7
sudo: false language: java jdk: - oraclejdk8 - oraclejdk7 - openjdk6 cache: directories: - "$HOME/.m2/repository" before_cache: - rm -rf $HOME/.m2/repository/org/joda/beans # install install: - mvn --version script: - mvn install -e -B after_success: - if [[ $TRAVIS_TAG =~ ^v.*$ ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then travis_wait 40 mvn site-deploy -e -B --settings .github/maven-settings.xml; fi # secure keys for GITHUB_TOKEN env: global: - secure: YmDFOujoMUl3XM9TOuxOB5Osm1GZXncIOR8XrVGJoXKq92jEU3sYMqYYBmCnmlXsQE5ANUE4mwMfxSNdRfLROpGQ7uP8wT4aL9t0PX7iJt/yrpHfJGpSAg2jwkf6gDMJgQpXMTz4aSHH3PzXXbAY6Gm52ZsD5QiWL+i1aiRigsM=
sudo: false language: java jdk: - oraclejdk8 - openjdk7 cache: directories: - "$HOME/.m2/repository" before_cache: - rm -rf $HOME/.m2/repository/org/joda/beans # install install: - mvn --version script: - mvn install -e -B after_success: - if [[ $TRAVIS_TAG =~ ^v.*$ ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then travis_wait 40 mvn site-deploy -e -B --settings .github/maven-settings.xml; fi # secure keys for GITHUB_TOKEN env: global: - secure: YmDFOujoMUl3XM9TOuxOB5Osm1GZXncIOR8XrVGJoXKq92jEU3sYMqYYBmCnmlXsQE5ANUE4mwMfxSNdRfLROpGQ7uP8wT4aL9t0PX7iJt/yrpHfJGpSAg2jwkf6gDMJgQpXMTz4aSHH3PzXXbAY6Gm52ZsD5QiWL+i1aiRigsM=
Remove settings.xml before starting TravisCI builds.
language: java jdk: - oraclejdk8 sudo: false addons: apt: sources: - debian-sid packages: - libssl1.0.0 env: matrix: - VAULT_VER=0.5.2 - VAULT_VER=0.6.0 - VAULT_VER=0.6.1 - VAULT_VER=0.6.2 - VAULT_VER=0.6.3 - VAULT_VER=0.6.4 - VAULT_VER=0.6.5 - VAULT_VER=0.7.0 - PROFILE=springNext before_install: - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml install: - src/test/bash/start.sh script: mvn clean verify -P${PROFILE:-ci} after_script: - pkill vault cache: directories: - '$HOME/.m2/repository' - 'download'
language: java jdk: - oraclejdk8 sudo: false addons: apt: sources: - debian-sid packages: - libssl1.0.0 env: matrix: - VAULT_VER=0.5.2 - VAULT_VER=0.6.0 - VAULT_VER=0.6.1 - VAULT_VER=0.6.2 - VAULT_VER=0.6.3 - VAULT_VER=0.6.4 - VAULT_VER=0.6.5 - VAULT_VER=0.7.0 - PROFILE=springNext before_install: - test ! -f ~/.m2/settings.xml || rm ~/.m2/settings.xml install: - src/test/bash/start.sh script: mvn clean verify -P${PROFILE:-ci} after_script: - pkill vault cache: directories: - '$HOME/.m2/repository' - 'download'
Fix broken builds, allow all external packages
language: python python: - "2.7" # command to install dependencies install: - pip install -r requirements.txt - pip install -r test-requirements.txt env: TEST=True # command to run tests script: python manage.py test cellcounter.main cellcounter.cc_kapi cellcounter.accounts
language: python python: - "2.7" # command to install dependencies install: - pip install --allow-all-external -r requirements.txt - pip install --allow-all-external -r test-requirements.txt env: TEST=True # command to run tests script: python manage.py test cellcounter.main cellcounter.cc_kapi cellcounter.accounts
Add php 5.3.3 to build matrix
language: php php: [5.3, 5.4, 5.5, hhvm] branches: except: - /^bugfix\/.*$/ - /^feature\/.*$/ - /^optimization\/.*$/ matrix: allow_failures: - php: hhvm exclude: - php: hhvm env: SYMFONY_VERSION='2.1.*' - php: hhvm env: SYMFONY_VERSION='2.2.*' - php: hhvm env: SYMFONY_VERSION='2.3.*' env: - SYMFONY_VERSION='2.1.*' - SYMFONY_VERSION='2.2.*' - SYMFONY_VERSION='2.3.*' - SYMFONY_VERSION='2.4.*' before_script: - composer require --no-update symfony/symfony=$SYMFONY_VERSION - composer install --dev --prefer-source - export PATH=./bin:$PATH - echo "<?php echo '@php5' . implode(',@php5.', range(3, PHP_MINOR_VERSION));" > php_version_tags.php script: - phpunit - behat -fprogress --strict --tags '~@php-version,'`php php_version_tags.php`
language: php php: [5.3, 5.4, 5.5, hhvm] branches: except: - /^bugfix\/.*$/ - /^feature\/.*$/ - /^optimization\/.*$/ matrix: allow_failures: - php: hhvm exclude: - php: hhvm env: SYMFONY_VERSION='2.1.*' - php: hhvm env: SYMFONY_VERSION='2.2.*' - php: hhvm env: SYMFONY_VERSION='2.3.*' include: - php: 5.3.3 env: SYMFONY_VERSION='2.4.*' env: - SYMFONY_VERSION='2.1.*' - SYMFONY_VERSION='2.2.*' - SYMFONY_VERSION='2.3.*' - SYMFONY_VERSION='2.4.*' before_script: - composer require --no-update symfony/symfony=$SYMFONY_VERSION - composer install --dev --prefer-source - export PATH=./bin:$PATH - echo "<?php echo '@php5' . implode(',@php5.', range(3, PHP_MINOR_VERSION));" > php_version_tags.php script: - phpunit - behat -fprogress --strict --tags '~@php-version,'`php php_version_tags.php`
Work around build failures on PHP 7.4
language: php php: - 7.1 - 7.2 - 7.3 - 7.4snapshot before_install: - composer self-update - composer clear-cache install: - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest script: - ./vendor/bin/phpunit --coverage-clover=coverage.xml after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: false
language: php addons: apt: packages: - libonig-dev php: - 7.1 - 7.2 - 7.3 - 7.4snapshot before_install: - composer self-update - composer clear-cache install: - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest script: - ./vendor/bin/phpunit --coverage-clover=coverage.xml after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: false
Switch Travis to Go 1.11
notifications: email: false services: - postgresql addons: postgresql: "9.4" language: go go_import_path: "miniflux.app" go: - "1.10" before_install: - npm install -g jshint - go get -u github.com/golang/lint/golint script: - jshint ui/static/js/*.js - make lint - make test - make integration-test
notifications: email: false services: - postgresql addons: postgresql: "9.4" language: go go_import_path: "miniflux.app" go: - "1.11" before_install: - npm install -g jshint - go get -u github.com/golang/lint/golint script: - jshint ui/static/js/*.js - make lint - make test - make integration-test