TiddlyWiki5/.travis.yml

27 lines
478 B
YAML

language: node_js
- "node"
stages:
- install
if: branch = "master"
- test
- build
if: branch = "master"
- pre-deploy
if: branch = "master"
- deploy
if: branch = "master"
jobs:
include:
- stage: install
script: npm --force install tiddlywiki
- stage: test
script: ./bin/test.sh
- stage: build
script: ./bin/build-site.sh
- stage: pre-deploy
script:
- stage: deploy
script: ./bin/deploy-site.sh