forked from phoenixframework/phoenix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (45 loc) · 851 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
35
36
37
38
39
40
41
42
43
44
45
language: elixir
elixir:
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
otp_release:
- 19.3
- 20.3
- 21.0
matrix:
exclude:
- elixir: 1.5
otp_release: 21.0
- elixir: 1.4
otp_release: 21.0
- elixir: 1.7
otp_release: 19.3
- elixir: 1.7
otp_release: 20.3
- elixir: 1.8
otp_release: 19.3
- elixir: 1.8
otp_release: 20.3
sudo: false
env:
global:
- ELIXIR_ASSERT_TIMEOUT=2000
matrix:
- COWBOY_VERSION=1.0
- COWBOY_VERSION=2.0
before_script:
- mix deps.get
- nvm install 6.2 && nvm use 6.2
script:
- mix test
- cd installer && elixir -e "Version.match?(System.version, ~s(~> 1.5)) || System.halt(0)" -S mix test
- cd ../assets && npm install && npm test
after_script:
- cd $TRAVIS_BUILD_DIR
- MIX_ENV=docs mix inch.report
cache:
directories:
- assets/node_modules