forked from scala/scala-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (18 loc) · 911 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# opt-in to Travis new infrastructure
sudo: false
language: ruby
rvm:
- 2.3.1
cache: bundler
script:
- bundle update --bundler
- bundle exec jekyll build 2> error.log
- cat >&2 error.log
- ( ! grep -qie Error -e Warn error.log )
- find ./_site \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \)
- find ./_site \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \) | ( ! read )
- if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then bundle exec htmlproofer ./_site/ --disable-external --only-4xx --empty-alt-ignore --allow-hash-href ; fi
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bundle exec htmlproofer ./_site/ --external_only --only-4xx --empty-alt-ignore --allow-hash-href --url-ignore "/trends.google.com/,/pgp.mit.edu/,/www.oracle.com/" ; fi
notifications:
email:
- seth.tisue@lightbend.com