Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit a7435c3

Browse files
chalinkwalrath
authored andcommitted
chore(install): put all install commands into a single script (#1754)
This makes it easier to run manually, e.g., after having reset all local typings.
1 parent 3fe0fb0 commit a7435c3

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.travis.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ before_install:
1818
before_script:
1919
- sh -e /etc/init.d/xvfb start
2020
install:
21-
- npm install --no-optional
22-
- npm install --prefix public/docs/_examples
23-
- npm install --prefix public/docs/_examples/_protractor
24-
- npm run webdriver:update --prefix public/docs/_examples/_protractor
25-
- gulp add-example-boilerplate
21+
- ./script/install.sh
2622
script:
2723
- gulp $SCRIPT

script/install.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex -o pipefail
4+
5+
npm install --no-optional
6+
(cd public/docs/_examples && npm install)
7+
(cd public/docs/_examples/_protractor && npm install)
8+
npm run webdriver:update --prefix public/docs/_examples/_protractor
9+
gulp add-example-boilerplate

0 commit comments

Comments
 (0)