Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit db7ef71

Browse files
devversionThomasBurleson
authored andcommitted
chore: clean travis configuration (#9861)
Updates the Travis configuration to * the latest NodeJS LTS version * Removes unecessary caching directory (.pub-cache for Dart) * No longer runs Travis explicitly on the `feat/panel` and `patch` branch. * Removes the Graphical Interface initialization, because everything runs on Saucelabs now (slows builds down) * Removes unecessary Modes (Normal, and Browsers) because we removed those a few months ago.
1 parent 26cd552 commit db7ef71

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.travis.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: node_js
22
sudo: false
33

44
node_js:
5-
- '5.6.0'
5+
- '6.9.0'
66

77
env:
88
global:
@@ -13,22 +13,10 @@ env:
1313
- BROWSER_STACK_USERNAME=angularteam1
1414
- BROWSER_STACK_ACCESS_KEY=BWCd4SynLzdDcv8xtzsB
1515
- secure: X7CNmOMemAJ9Jqrsmv6MXyeh8n8TIL5CKzE9LYsZUbsyKo0l5CyyysJq0y/AbpQS6awsSv2qP/cZ/kand6r6z0wMFbUcxa4HjMZEfRwv3sGtwj1OKJko/GvjcZQzD54FtHy1NU7wR0mYhAlE5IwH7f8bMa/nUiijgD/TOCTtKH8=
16-
matrix:
17-
# TODO(devversion): investigate at parallel sauce instances with the current license
18-
# - BROWSER=SL_CHROME
19-
# - BROWSER=SL_FIREFOX
20-
# - BROWSER=SL_IE11
21-
- MODE=NORMAL
22-
23-
# matrix:
24-
# fast_finish: true
25-
# allow_failures:
26-
# - env: "MODE=RELEASE"
2716

2817
cache:
2918
directories:
30-
- node_modules
31-
- "$HOME/.pub-cache"
19+
- node_modules/
3220

3321
branches:
3422
only:
@@ -39,10 +27,6 @@ install:
3927
- npm rebuild node-sass
4028

4129
before_script:
42-
# Necessary to run test on Travis CI that require a graphical interface.
43-
# See https://docs.travis-ci.com/user/gui-and-headless-browsers
44-
- export DISPLAY=:99.0
45-
- sh -e /etc/init.d/xvfb start
4630
- mkdir -p $LOGS_DIR
4731
- git config --global user.email "[email protected]"
4832
- git config --global user.name "ngMaterial Bot"
@@ -51,4 +35,4 @@ script:
5135
- ./scripts/travis-run-script.sh
5236

5337
after_success:
54-
- 'if [[ $MODE == "NORMAL" ]]; then ./scripts/travis-build-init.sh --sha=$TRAVIS_COMMIT; fi'
38+
- ./scripts/travis-build-init.sh --sha=$TRAVIS_COMMIT

0 commit comments

Comments
 (0)