Only package on tag builds
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -16,11 +16,11 @@ os:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- npm install
|
- npm install
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install snapd && sudo snap install snapcraft --classic; fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm run build
|
- npm run build
|
||||||
- npm run prepare-release
|
- npm run test
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm run package -- linux; fi
|
- if [[ "$TRAVIS_TAG" != "" ]]; then npm run prepare-release; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then npm run package -- mac; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$TRAVIS_TAG" != "" ]]; then npm run package -- linux; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then npm run package -- win; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$TRAVIS_TAG" != "" ]]; then npm run package -- mac; fi
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$TRAVIS_TAG" != "" ]]; then npm run package -- win; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user