forked from phoenixframework/phoenix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (42 loc) · 855 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
language: elixir
elixir:
- 1.9
otp_release:
- 22.0
matrix:
include:
- elixir: 1.7
otp_release: 21.0
env: COWBOY_VERSION=2.0
- elixir: 1.8
otp_release: 21.0
env: COWBOY_VERSION=2.0
- elixir: 1.9
otp_release: 22.0
env: COWBOY_VERSION=2.0
- elixir: 1.7
otp_release: 21.0
env: COWBOY_VERSION=1.0
- elixir: 1.8
otp_release: 21.0
env: COWBOY_VERSION=1.0
- elixir: 1.9
otp_release: 22.0
env: COWBOY_VERSION=1.0
sudo: false
env:
global:
- ELIXIR_ASSERT_TIMEOUT=2000
before_script:
- mix deps.get
- nvm install 6.2 && nvm use 6.2
script:
- mix test
- cd installer && elixir -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