forked from danger/danger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (26 loc) · 813 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
language: ruby
cache:
directories:
- bundle
rvm:
- 2.7.1
bundler_args: "--without documentation --path bundle"
before_install:
- git fetch --depth=1000000
- gem install bundler -v '2.3.20'
after_install:
- rake install
before_script:
# Tests use real git commands
- git config --global user.email "[email protected]"
- git config --global user.name "Danger McShane"
script:
- 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
sudo: required