forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modernizing build dependencies (prebid#1355)
* Upgraded webpack, as well as some minor other build dependencies. * Updated the yarn.lock file * Migrated the module loaders to the 3.0 syntax. * Ran yarn install. Moved the loader order around a bit. * Made the unit tests and code coverage reports work with the new versions. * Removed some unused lines, and fixed the coveralls task file location. * Fixed the gulp coverage task so that it points to the right folder. * Removed the JUnit reporter, which nobody seems to have reason to keep anymore. * Removed the CI_MODE flag, and removed progress. This should help clean up the browserstack logs. * Fixed gulp serve. * Updated some more dependencies. * Upgraded node to use version 7. * Split gulp test and gulp test-coverage, so we can run tests without instrumnetation. * Updated the yarn.lock * Removed ie9 from the test browsers, since we dont support it anymore. * Updated more dev dependency versions. * Made travis use HeadlessChrome. Removed some extraneous code that nobody needs anymore. * Better code reuse for launching browser tests. * updated the yarn.lock file. * Fixed a bug in the karma server callbacks, and made the logs from browserstack look good again. * Added source maps, so that the line numbers on failed unit tests are right. * Fixed a bug in the reporters code which causes Travis to fail. * Updated README and some code style fixes. * Fixed --watch, as well as a concurrency bug where several files mutate the webpack.conf file. * Removed another unused dependency. * Fixed the imports. * Replaced all the src/file imports with ./file imports, to make things consistent
- Loading branch information
1 parent
e748bef
commit 4b04890
Showing
17 changed files
with
1,298 additions
and
1,636 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.1 | ||
7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
sudo: required | ||
dist: trusty | ||
|
||
language: node_js | ||
|
||
node_js: | ||
- "5.1" | ||
- "7.0" | ||
|
||
# See https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-the-Chrome-addon-in-the-headless-mode | ||
addons: | ||
apt: | ||
sources: | ||
- google-chrome | ||
packages: | ||
- google-chrome-stable | ||
chrome: stable | ||
|
||
before_install: | ||
- npm install -g gulp | ||
- export CHROME_BIN=google-chrome | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost & | ||
|
||
script: | ||
- gulp run-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.