fix(build): test example directories with unit and e2e tests (#11296)

This commit is contained in:
Matias Niemelä
2016-09-07 16:04:33 -07:00
committed by Evan Martin
parent 567900e550
commit ed2ebeb52a
20 changed files with 293 additions and 3 deletions

View File

@ -31,11 +31,13 @@ $(npm bin)/gulp check-cycle
echo 'travis_fold:start:test.e2e.localChrome'
cd dist/
$(npm bin)/gulp serve &
$(npm bin)/gulp serve-examples &
cd ..
if [[ ${TRAVIS} ]]; then
sh -e /etc/init.d/xvfb start
fi
NODE_PATH=$NODE_PATH:./dist/all $(npm bin)/protractor ./protractor-e2e.conf.js --bundles=true
NODE_PATH=$NODE_PATH:./dist/all $(npm bin)/protractor ./protractor-examples-e2e.conf.js --bundles=true
NODE_PATH=$NODE_PATH:./dist/all $(npm bin)/protractor ./protractor-perf.conf.js --bundles=true --dryrun
echo 'travis_fold:end:test.e2e.localChrome'