forked from fossasia/gci16.fossasia.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 798 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
23
24
25
26
27
28
language: ruby
cache: bundler
services: docker
rvm:
- 2.3.3
install:
- bundle install
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then gem install danger; fi'
script:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then danger --verbose; fi'
- bundle exec jekyll build
- ruby ./scripts/image_checker.rb
- >
docker run --volume=$(pwd):/app --workdir=/app coala/base:0.9 /bin/bash -c
"coala --apply-patches --no-orig;
coala --non-interactive"
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./scripts/coala_patch.sh; fi'
branches:
only:
- gh-pages
- /./ # Allows builds for any other branch name
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c19a09921ecce91bb027
on_success: change
on_failure: always
on_start: never