File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -5,29 +5,22 @@ notifications:
5
5
on_success : change
6
6
on_failure : always
7
7
before_script :
8
- - npm prune
9
- script :
10
- - npm run build:prod
11
- - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run test; fi
8
+ - npm prune
12
9
jobs :
13
10
include :
14
11
- stage : build
15
12
script :
16
- - npm run build:prod
17
- - stage : test
18
- script :
19
- - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run test; fi
13
+ - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then npm run lint; npm run compile; npm run build:prod; npm run test:unit; fi
14
+ - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run lint; npm run test; fi
20
15
- stage : deploy
16
+ script : skip # skip re-running tests
21
17
deploy :
22
18
on :
23
19
branch : master
24
20
provider : script
25
21
skip_cleanup : true
26
22
script :
27
- npx semantic-release
28
- branches :
29
- except :
30
- - " /^v\\ d+\\ .\\ d+\\ .\\ d+$/"
23
+ if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run build:prod; npm run compile; npx semantic-release; fi
31
24
addons :
32
25
browserstack :
33
26
username :
You can’t perform that action at this time.
0 commit comments