2020-08-20 08:32:20 -06:00
|
|
|
sudo: false
|
2018-03-21 18:59:12 +00:00
|
|
|
|
2020-08-20 08:32:20 -06:00
|
|
|
language: ruby
|
2018-03-21 18:59:12 +00:00
|
|
|
|
2019-01-08 07:53:03 +13:00
|
|
|
before_install:
|
|
|
|
- gem install bundler -v '< 2'
|
|
|
|
|
2018-06-24 14:57:24 -04:00
|
|
|
cache:
|
|
|
|
# Cache Ruby bundles
|
|
|
|
- bundler
|
|
|
|
- directories:
|
|
|
|
- $TRAVIS_BUILD_DIR/tmp/.htmlproofer #https://github.com/gjtorikian/html-proofer/issues/381
|
2019-05-19 07:54:10 +01:00
|
|
|
- /usr/local/lib/python3.3/dist-packages/pip/
|
2018-03-21 18:59:12 +00:00
|
|
|
|
|
|
|
# Assume bundler is being used, therefore
|
|
|
|
# the `install` step will run `bundle install` by default.
|
|
|
|
script: "bash -ex .travis-ci.sh"
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
2020-07-17 17:17:39 +01:00
|
|
|
- rvm: 2.6.0
|
2018-03-21 18:59:12 +00:00
|
|
|
env: TASK='htmlproofer'
|
2020-07-17 17:17:39 +01:00
|
|
|
- rvm: 2.6.0
|
2018-03-21 18:59:12 +00:00
|
|
|
env: TASK='htmlproofer-external'
|
2020-08-10 10:18:25 -06:00
|
|
|
- language: rust
|
|
|
|
cache: cargo
|
|
|
|
before_script:
|
2021-08-17 15:24:13 -06:00
|
|
|
- cargo install eipv --version=0.2.0
|
2018-03-27 17:24:00 +01:00
|
|
|
env: TASK='eip-validator'
|
2019-05-19 07:54:10 +01:00
|
|
|
- python: 3.3
|
|
|
|
env: TASK='codespell'
|
|
|
|
before_script: "sudo pip install urllib3[secure] && sudo pip install codespell"
|
2018-03-21 18:59:12 +00:00
|
|
|
allow_failures:
|
2020-07-17 17:17:39 +01:00
|
|
|
- rvm: 2.6.0
|
2018-03-21 18:59:12 +00:00
|
|
|
env: TASK='htmlproofer-external'
|
2018-04-03 20:02:04 +01:00
|
|
|
|
2018-06-24 14:57:24 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
"libcurl4-openssl-dev" # https://github.com/gjtorikian/html-proofer/issues/376#issuecomment-332767999
|