Skip to content

Commit 1927481

Browse files
committed
Run performance tests on master
1 parent 1962bd8 commit 1927481

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ matrix:
2727
- os: linux
2828
python: "3.6-dev"
2929
env: MULTIROOT_WORKSPACE_TEST=true
30+
- os: linux
31+
python: "3.6-dev"
32+
env: PERFORMANCE_TEST=true
3033
allow_failures:
3134
- os: linux
3235
python: "2.7"
@@ -111,6 +114,11 @@ script:
111114
- if [ $TRAVIS_UPLOAD_COVERAGE == "true" ]; then
112115
bash <(curl -s https://codecov.io/bash);
113116
fi
117+
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && "$PERFORMANCE_TEST" == "true" ]]; then
118+
yarn run clean;
119+
yarn run vscode:prepublish;
120+
yarn run testPerformance --silent;
121+
fi
114122
- if [ "$TRAVIS_PYTHON_VERSION" != "2.7" ]; then
115123
python3 -m pip install --upgrade -r news/requirements.txt;
116124
python3 news/announce.py --dry-run;

0 commit comments

Comments
 (0)