Add: Travis

This commit is contained in:
Christoph Wiechert
2020-04-14 11:16:39 +02:00
parent f0ef8a896e
commit 4617299efb

View File

@@ -8,17 +8,17 @@ script:
before_deploy: before_deploy:
- if [ -n "$TRAVIS_TAG" ] ; then npm version $TRAVIS_TAG ; fi - if [ -n "$TRAVIS_TAG" ] ; then npm version $TRAVIS_TAG ; fi
- > - >
tar -czf psitransfer-$TRAVIS_TAG.tar.gz tar -czf psitransfer-$TRAVIS_TAG.tar.gz \
LICENSE LICENSE \
README.md README.md \
Dockerfile Dockerfile \
.dockerignore .dockerignore \
app.js app.js \
config.js config.js \
package.json package.json \
package-lock.json package-lock.json \
docs docs \
lib lib \
public public
deploy: deploy:
@@ -27,3 +27,5 @@ deploy:
overwrite: true overwrite: true
file: $TRAVIS_BUILD_DIR/psitransfer-$TRAVIS_TAG.tar.gz file: $TRAVIS_BUILD_DIR/psitransfer-$TRAVIS_TAG.tar.gz
skip_cleanup: true skip_cleanup: true
on:
tags: true