diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-04-20 16:51:57 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-04-20 16:51:57 +0300 |
commit | 02819ca16969b103493ebdd9a66f058995421507 (patch) | |
tree | a3352b65083c79ab733db2b99e7c4f0a1276277e /packages/markdown/marked/.travis.yml | |
parent | 53d42a17ffbc6466d2d422dfdcbd867ea31fe082 (diff) | |
parent | a5122cc0764b57a163c3e8ca3e00e703669a98db (diff) | |
download | wekan-02819ca16969b103493ebdd9a66f058995421507.tar.gz wekan-02819ca16969b103493ebdd9a66f058995421507.tar.bz2 wekan-02819ca16969b103493ebdd9a66f058995421507.zip |
Merge branch 'edge' into meteor-1.8
Diffstat (limited to 'packages/markdown/marked/.travis.yml')
-rw-r--r-- | packages/markdown/marked/.travis.yml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/markdown/marked/.travis.yml b/packages/markdown/marked/.travis.yml new file mode 100644 index 00000000..8ff71da4 --- /dev/null +++ b/packages/markdown/marked/.travis.yml @@ -0,0 +1,46 @@ +language: node_js + +jobs: + fast_finish: true + allow_failures: + - stage: security scan 🔐 + + include: + - stage: unit tests 👩🏽💻 + script: npm run test:unit + node_js: lts/* + + - stage: spec tests 👩🏽💻 + script: npm run test:specs + node_js: v4 + - node_js: lts/* + - node_js: node + + - stage: lint ✨ + script: npm run test:lint + node_js: lts/* + + - stage: minify 🗜️ + script: | + npm run build + if ! git diff --quiet; then + git config --global user.email "travis@travis-ci.org" + git config --global user.name "Travis-CI" + git config credential.helper "store --file=.git/credentials" + echo "https://${GITHUB_TOKEN}:@github.com" > .git/credentials + git commit -am '🗜️ minify [skip ci]' + git push origin HEAD:${TRAVIS_BRANCH} + fi + node_js: lts/* + if: branch = master AND type = push + + - stage: security scan 🔐 + script: npm run test:redos + node_js: lts/* + +cache: + directories: + - node_modules + +git: + depth: 3 |