mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-26 13:21:42 +03:00
Add travis config.
This commit is contained in:
parent
e44abadcb6
commit
81cbd976e4
32
.travis.yml
Normal file
32
.travis.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
sudo: false
|
||||||
|
|
||||||
|
language: node_js
|
||||||
|
node_js: "8.11.4"
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
|
||||||
|
env:
|
||||||
|
matrix:
|
||||||
|
- ELM_VERSION=0.19.0
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- npm i -g npm@lts
|
||||||
|
- npm i -g elm@0.19.0-no-deps
|
||||||
|
- npm i -g npm@6.4.1
|
||||||
|
|
||||||
|
install:
|
||||||
|
- npm ci
|
||||||
|
|
||||||
|
script:
|
||||||
|
- echo '$TRAVIS_TAG is ' $TRAVIS_TAG
|
||||||
|
- npm run build
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
- provider: npm
|
||||||
|
email: dillon@dillonkearns.com
|
||||||
|
api_key: $NPM_TOKEN
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
all_branches: true
|
||||||
|
condition: $TRAVIS_TAG =~ ^v
|
Loading…
Reference in New Issue
Block a user