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