Commit Graph

22 Commits

Author SHA1 Message Date
Pierre Ossman c47a3a3e09 Use latest NodeJS version in Travis
We want the latest and not be stuck on some old version. Otherwise
our scripts might not execute correctly.
2019-08-19 13:32:41 +02:00
Pierre Ossman 2b2b6073dd Don't do cleanup on deploy
Travis wipes out node_modules otherwise, which we need for the prepare
stages of the deployment to npm.
2019-04-15 16:11:01 +02:00
Pierre Ossman a98a223e13 Validate HTML and CSS in Travis 2019-03-26 15:19:11 +01:00
Pierre Ossman 1ced5688b5 Change to Ossman's NPM authentication
Solly's doesn't seem to work anymore, so switch to mine.
2019-01-11 13:39:02 +01:00
Pierre Ossman 364849c67b Avoid extra environment for Travis deploy stage
These are not needed, so keep things more clear by skipping them.
2019-01-11 13:39:02 +01:00
Samuel Mannehed 6d1c036e0c
Use macOS 10.13 for Safari tests
Safari 11 had a bug (#1125) which should be fixed in Safari 11.1 which comes with macOS 10.13.
2018-08-15 08:10:38 +02:00
Pierre Ossman f9b6d7665d Use newer macOS test machine for Travis 2018-07-16 13:46:48 +02:00
Pierre Ossman 127b63b79f Stop combining test platforms
Sauce is very unstable, so spread things out so we can more easily
throttle things to more sane levels.
2018-06-01 15:26:52 +02:00
Pierre Ossman 81207ffebd Run eslint in travis
Makes sure we get early feedback for lint violations.
2018-06-01 14:37:00 +02:00
Pierre Ossman 9dc580db27 Update browser test list
We want to also test Microsoft Edge, and Internet Explorer on Windows 10
is really a reskinned Edge so we also need to test on Windows 7.
2018-04-27 16:19:40 +02:00
Peter Dave Hello 1a76fb843a Use node.js 6 instead 6.1 to have the latest v6.x 2018-01-09 11:49:28 +08:00
Solly Ross 10ab92e1ff [infra] Publish to NPM via Travis
This commit sets up Travis to publish to NPM on tags, to the
@novnc/novnc repository.
2017-10-04 15:36:05 -04:00
Solly Ross 1701d4b63e [infra] Fix Travis Sauce Auth
Travis-Sauce authentication somehow broke along the way.  This PR
fixes that by resetting the credentials.
2017-10-03 16:14:38 -04:00
Solly Ross b081ea7266 Fix Travis-Sauce Connection
Somethings got messed up in the Travis-Sauce tunnel setup.  This should
fix it by re-adding the Sauce credentials.  It also updates the config
to explicitly pass auth information instead of via environment
variables.
2017-06-05 13:41:31 -04:00
Solly Ross dfae3209eb Update tests to work with new structure
This updates the tests to work with the new structure, and removes the
old `utils/run_from_console.js` files in favor of just using Karma
directly.  The Karma debug page now displays the normal mocha HTML, so
we can use that instead of the HTML generation functionality of the old
test runner.

Note that PhantomJS does not work at the moment (PhantomJS 1.5 should
make it possible to test on PhantomJS again).
2017-03-21 17:39:07 -04:00
Pierre Ossman acca6487f2 Update test platforms
Test on the latest version of everything, as new versions are
coming out constantly. Also add some missing combinations.
2016-11-29 17:00:24 +01:00
Samuel Mannehed 6f258f13c7 Bump up node.js version for travis 2016-11-10 09:26:00 +01:00
Solly Ross bc4414f5b1 CI: Switch to Container-Based Travis
This commit switches the Travis tests over to Travis's new
container-based infrastructure.  It also tells Travis to
cache the node_modules directory for faster setup.
2015-08-06 14:43:02 -04:00
Solly Ross 7e161007ab Launch Sauce Connect through Travis
This commit makes Travis launch sauce connect, instead of
using karma to start Sauce Connect
2015-02-27 17:13:33 -05:00
Solly Ross 3257d9f265 Force Travis to use Node 0.11.13
The latest version of Node.js has a bug that
affects the Karma test runner.  A patch has been
merged to Karma, but has not landed in a version
yet.  Until a new version of Karma is released,
we should keep node at 0.11.13.

See karma-runner/karma#1182

(cherry picked from commit 9af2346a0cead634f3af5f390770ea65929c1f4a)
2014-09-30 12:21:03 -04:00
Solly Ross f8f95d6023 Added Sauce Auth Details for Travis CI
This will enable Travis CI to run tests on Sauce Labs
(thanks to OpenSauce, their free program for Open
Source Software)
2014-09-19 11:43:58 -04:00
Solly Ross e6af0f60b0 Add support for Travis CI and SauceLabs Testing
This adds support for Travis CI and SauceLabs
testing.  Testing on SauceLabs in done via
the Karma test runner.  Note that encrypted
Sauce username and access key values need
to be inserted into .travis.yml as global
environment variables.  Additionally, the
local test runner (which is still useful
for debugging tests and code) was updated
to reflect that the 'node_modules' folder
now gets placed in the root directory.
2014-09-15 16:46:02 -04:00