1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-18 11:29:55 +00:00
TiddlyWiki5/.travis.yml

20 lines
539 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:
- ./bin/travis-pre-build.sh
- export TW5_BUILD_DETAILS="Built from branch '$TRAVIS_BRANCH' at commit $(git rev-parse HEAD) of $(git remote get-url origin) at $(date '%H:%M:%S +%Y-%m-%d')"
- export TW5_BUILD_TIDDLYWIKI='./node_modules/tiddlywiki/tiddlywiki.js'
- ./bin/build-site.sh
- ./bin/travis-push.sh