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

20 lines
484 B
YAML
Raw Normal View History

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 TW5_BUILD_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