forked from NoRedInk/elm-assets-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 1005 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
dist: trusty
sudo: false
cache:
directories:
- fixtures/elm-stuff/build-artifacts
language: node_js
node_js:
- "node"
env:
matrix:
- ELM_VERSION=0.17.1 WEBPACK_VERSION=1.13.3
- ELM_VERSION=0.17.1 WEBPACK_VERSION=2.6.1
- ELM_VERSION=0.17.1 WEBPACK_VERSION=3.11.0
- ELM_VERSION=0.17.1 WEBPACK_VERSION=4.6.0
- ELM_VERSION=0.18.0 WEBPACK_VERSION=1.13.3
- ELM_VERSION=0.18.0 WEBPACK_VERSION=3.11.0
- ELM_VERSION=0.18.0 WEBPACK_VERSION=4.6.0
before_install:
# Don't create a lock file in order to work around:
# https://github.com/npm/npm/issues/16987
- npm install elm@$ELM_VERSION --no-shrinkwrap
- npm install webpack@$WEBPACK_VERSION --no-shrinkwrap
before_script:
- npm install -g npm-install-peers
- npm-install-peers
- ./node_modules/.bin/elm-repl --version
- cd fixtures
&& ../node_modules/.bin/elm-package install -y
&& ../node_modules/.bin/elm-make *.elm --yes --output /dev/null
script:
- npm test
notifications:
email: false