Skip to content

Commit 947fa41

Browse files
author
Leonardo Barcaroli
committed
Update .travis.yml
Update ELM_VERSION to 0.19.1 and add `elm-format` as a check. Updated travis ubuntu version to focal. DEBUGGING
1 parent 0c733de commit 947fa41

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
sudo: false
22

3+
dist: focal
34
language: node_js
45
node_js: node
56

67
cache:
78
directories:
8-
- elm-stuff/build-artifacts
9-
- elm-stuff/packages
109
- sysconfcpus
1110
os:
1211
- linux
1312

14-
env: ELM_VERSION=0.19.0
13+
env: ELM_VERSION=0.19.1
1514

1615
before_install:
1716
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
1817

1918
install:
2019
- node --version
2120
- npm --version
22-
- npm install -g elm@$ELM_VERSION elm-test@0.19.0-beta4
21+
- npm install elm@$ELM_VERSION elm-test@$ELM_VERSION [email protected]
2322
# Faster compile on Travis.
2423
- |
2524
if [ ! -d sysconfcpus/bin ];
@@ -32,4 +31,5 @@ install:
3231
fi
3332
3433
script:
35-
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 elm-test
34+
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 ./node_modules/.bin/elm-test --compiler $TRAVIS_BUILD_DIR/node_modules/.bin/elm-test/elm
35+
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 ./node_modules/.bin/elm-format --validate .

0 commit comments

Comments
 (0)