mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user