Fix flakiness with Gulp + Travis

Gulp was failing silently on Travis. I tracked this down to the task that
builds a custom, slimmed-down version of jQuery from source.

To fix this I’ve removed the task and replaced it with just `src`ing the
minified version of jQuery from `node_modules`.

Cons:
- A few more kb of JS

Pros:
- Less random, afternoon-chewing complexity
This commit is contained in:
Chris Hill-Scott
2016-01-12 13:37:50 +00:00
parent 84b885f9eb
commit 1b7658e09a
4 changed files with 17 additions and 27 deletions

View File

@@ -10,12 +10,14 @@ before_install:
- nvm install 5.0.0
install:
- npm install
- npm rebuild node-sass
- pip install -r requirements_for_test.txt
before_script:
- psql -c 'create database test_notifications_admin;' -U postgres
after_success:
- ./scripts/trigger-dependent-build.sh
script:
- npm run build
- ./scripts/run_tests.sh
notifications:
slack: