-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (32 loc) · 867 Bytes
/
.travis.yml
File metadata and controls
39 lines (32 loc) · 867 Bytes
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
dist: trusty
sudo: required
env:
global:
- REBAR_DEPS_DIR=$TRAVIS_BUILD_DIR/deps
- DBUS_SESSION_BUS_ADDRESS=/dev/null
- DISPLAY=:99.0
- CHROME_BIN=chromium-browser
language: elixir
matrix:
include:
- elixir: 1.9.1
otp_release: 21.1
addons:
postgresql: "9.4"
before_install:
- . $HOME/.nvm/nvm.sh
- nvm install --lts=dubnium
- npm --version
- npm config set spin false
- npm config set progress false
- npm install -g @angular/cli@latest
- sh -e /etc/init.d/xvfb start
- echo "--no-sandbox" > ~/.config/chromium-flags.conf;
cache:
directories:
- webapp/node_modules
- deps
- _build
script:
- "pushd webapp; npm install; npm rebuild node-sass; ng lint && ng build --progress false && ng test --single-run --progress false && popd"
- "MIX_ENV=test mix do deps.get, deps.compile, coveralls.travis"