forked from danger/danger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 819 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
29
30
31
32
33
34
language: ruby
cache:
directories:
- bundle
rvm:
- 2.5.3
- 2.4.5
- 2.3.8
- 2.2.10
- 2.1.10
- 2.0
bundler_args: "--without documentation --path bundle"
before_install:
- git fetch --depth=1000000
- gem install bundler
after_install:
- rake install
script:
# Tests use real git commands
- git config --global user.email "[email protected]"
- git config --global user.name "Danger McShane"
- echo "Running Tests"
- bundle exec rake spec
- echo "Linting the documentation for Danger's internal plugins"
- bundle exec danger plugins lint lib/danger/danger_core/plugins/*.rb --warnings-as-errors
- echo "Running the Dangerfile for this repo"
- bundle exec danger --verbose
- echo "Validating that danger init is working fine"
- bundle exec danger init --mousey --impatient