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

chore(install): put all install commands into a single script #1754

Merged
merged 1 commit into from
Jun 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ before_install:
before_script:
- sh -e /etc/init.d/xvfb start
install:
- npm install --no-optional
- npm install --prefix public/docs/_examples
- npm install --prefix public/docs/_examples/_protractor
- npm run webdriver:update --prefix public/docs/_examples/_protractor
- gulp add-example-boilerplate
- ./script/install.sh
script:
- gulp $SCRIPT
9 changes: 9 additions & 0 deletions script/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -ex -o pipefail

npm install --no-optional
(cd public/docs/_examples && npm install)
(cd public/docs/_examples/_protractor && npm install)
npm run webdriver:update --prefix public/docs/_examples/_protractor
gulp add-example-boilerplate