Add: Travis
This commit is contained in:
24
.travis.yml
24
.travis.yml
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user