mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-11 04:07:00 +03:00
33 lines
461 B
YAML
33 lines
461 B
YAML
sudo: false
|
|
|
|
language: node_js
|
|
node_js: "8.11.4"
|
|
|
|
os:
|
|
- linux
|
|
|
|
env:
|
|
matrix:
|
|
- ELM_VERSION=0.19.1
|
|
|
|
before_install:
|
|
- npm i -g npm@lts
|
|
- npm i -g elm@latest-0.19.1
|
|
- 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
|