1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-14 13:54:50 +00:00
TiddlyWiki5/.travis.yml
2019-01-07 10:44:19 +00:00

20 lines
478 B
YAML

language: node_js
- "node"
stages:
- name: test
- name: build
if: branch = "master"
jobs:
include:
- stage: test
script: ./bin/test.sh
- stage: build
script:
- npm --force install tiddlywiki
- export GIT_DETAILS="$TRAVIS_BRANCH-$(git rev-parse HEAD) from $(git remote get-url origin)"
- export TW5_BUILD_TIDDLYWIKI='./node_modules/tiddlywiki/tiddlywiki.js'
- ./bin/build-site.sh
- ./bin/deploy-site.sh