Commit graph

44 commits

Author SHA1 Message Date
Dan Stillman
70ade61b75 Fix "Client failed to connect to the D-BUS daemon" in Travis output 2017-08-16 00:41:38 +02:00
Dan Stillman
e8257813f1 Update Travis to Firefox 54.0 and 52.0.3
Windows uses 52.2.0esr, but we need an unbranded build, and there don't
seem to be unbranded builds of the ESR.
2017-06-21 01:23:28 -04:00
Dan Stillman
d2400de870 Add build/ directory to Travis cache 2017-06-21 01:23:10 -04:00
Tom Najdek
b53fabbb58 Better build process (#1248)
* Remove gulp, replace with custom scripts
* Symlink entire dirs where possible (fixes #1232)
* Significantly speed up subsequent builds (fixes #1238)
* Watch process now observes new/removed files, not only changed
* Add ignoreMask, exclude all files with names starting with a #
* Better logging during builds
* Update travis.yml to use new, non-gulp-based build
2017-06-20 19:18:46 -04:00
Dan Stillman
3e0ab63b9b Bail on error in Travis
I think it's more useful to see that tests failed sooner than to see all
errors from a test run, particularly since earlier failures often cause
meaningless later failures anyway. And since spurious failures are
fairly common, this will also let us restart tests more quickly without
searching for "[FAIL]" in the output while it's running.

This does mean that, if there's a legitimate test failure you
overlooked, it might be worth running tests locally after fixing it to
make sure there aren't other instances of the problem that can be fixed
at the same time.
2017-06-15 19:05:50 -04:00
Dan Stillman
0d592a950c Add encrypted AWS_SECRET_ACCESS_KEY to Travis config
Follow-up to c25d6bf4692
2017-06-15 16:29:50 -04:00
Martynas Bagdonas
384ce236de Deploy before running tests (#1246) 2017-06-15 16:29:50 -04:00
Dan Stillman
ad37741fdd Upload Travis ZIPs to subdirectory of download bucket 2017-06-06 04:59:41 -04:00
Dan Stillman
a80d29d917 Make uploaded build ZIPs publicly readable 2017-06-06 04:28:36 -04:00
Dan Stillman
294102b27d Travis deployment updates
Use commit hash as ZIP filename and only build on release channel
2017-06-06 03:08:48 -04:00
Dan Stillman
dcb3d740bc Upload ZIP of build files to S3 after successful Travis run 2017-06-06 01:52:53 -04:00
Dan Stillman
53842adefc Add explicit npm i
(Travis might call this automatically before 'script', but we need it
before 'gulp build', and we don't want to do 'gulp build' in 'script',
because the output isn't relevant and if it fails there's no need to run
the tests.)
2017-06-01 16:11:03 -04:00
Dan Stillman
595ab592aa Use Node.js mode on Travis 2017-06-01 16:03:32 -04:00
Dan Stillman
140217d0fe Fix Firefox 54 download on Travis 2017-06-01 15:47:06 -04:00
Dan Stillman
6c9f3864e7 Switch to Firefox 54 Beta on Travis 2017-06-01 15:39:43 -04:00
Dan Stillman
d889d26394 Run build step before running tests on Travis 2017-06-01 15:39:43 -04:00
Dan Stillman
134e77b432 Enable 45 ESR for Travis, since it's still used on Windows 2017-01-24 02:53:26 -05:00
Dan Stillman
751ab9df08 Use Firefox 50.1.0 for Travis 2017-01-19 12:38:36 -05:00
Dan Stillman
9b1b360a72 Limit Travis to Fx version used for Standalone 2016-12-21 07:36:50 -05:00
Dan Stillman
bfb945d705 Re-enable ESR and Beta testing 2016-11-29 04:45:18 -05:00
Dan Stillman
cb300005cd More Travis debugging 2016-11-22 20:55:27 -05:00
Dan Stillman
88fbe26abd Re-enable Firefox ESR and Beta testing 2016-09-19 01:22:28 -04:00
Dan Stillman
21d3ca298b Merge branch '4.0' 2016-09-18 18:39:18 -04:00
Dan Stillman
6e80207941 Restore semicolons between commands in .travis.yml 2016-09-18 18:36:14 -04:00
Dan Stillman
822ab99a97 Update command to fetch unbranded Firefox builds
Since the names of the tinderbox builds apparently aren't reliable (e.g., the latest mozilla-release-linux64-add-on-devel and mozilla-beta-linux64-add-on-devel builds are both Firefox 49)
2016-09-18 18:34:15 -04:00
Dan Stillman
ef9f727adf Fix channel name in Travis config 2016-08-09 01:54:17 -04:00
Dan Stillman
0eb6dc9ca5 Merge branch '4.0' 2016-08-09 01:52:21 -04:00
Dan Stillman
a0571a9a17 Fix ESR build on Travis 2016-08-08 03:01:22 -04:00
Dan Stillman
1db721031c Travis debugging 2016-08-08 02:57:45 -04:00
Dan Stillman
d4f3f1a194 Travis debugging 2016-08-08 02:52:39 -04:00
Dan Stillman
85523e61a7 Use unbranded builds for 'release' and 'beta' on Travis 2016-08-08 02:49:01 -04:00
Dan Stillman
8bbf0bf495 Only test against stable Firefox for now
Don't run more than one test per commit, given current frequency of
commits and spurious failures.
2016-06-23 05:41:46 -04:00
Dan Stillman
5a54466099 Disable Firefox beta in Travis tests until unbranded build is available
Mozilla removed support for xpinstall.signatures.required in Fx47 Beta
before making an unbranded build available, so a source installation
won't currently run.
2016-05-12 17:09:28 -04:00
Dan Stillman
3dab61d581 Update test config for new Firefox download URLs 2015-11-19 16:22:21 -05:00
Dan Stillman
26471fc621 Update test config for new Firefox download URLs 2015-11-19 16:16:53 -05:00
Dan Stillman
5959bbd87e Use container-based Travis infrastructure
http://docs.travis-ci.com/user/migrating-from-legacy/
2015-11-08 01:02:01 -05:00
Dan Stillman
027631852e Only download latest file in Firefox releases directory in Travis setup 2015-11-08 01:01:35 -05:00
Dan Stillman
014724a64a Use container-based Travis infrastructure
http://docs.travis-ci.com/user/migrating-from-legacy/
2015-10-31 02:54:56 -04:00
Dan Stillman
e08c45e69e Only download latest file in Firefox releases directory in Travis setup 2015-10-31 02:54:36 -04:00
Dan Stillman
84278c470d Update Firefox download URL 2015-10-31 02:07:03 -04:00
Dan Stillman
05efaea918 Reenable Travis testing 2015-05-19 04:07:45 -04:00
Aurimas Vinckevicius
ac363101fc Always use latest Firefox version and echo it for tests
Don't echo version on Windows, because it hangs Firefox
Also add testing with Firefox Beta (and prior ESR, but commented out for now, since we don't support it and we know it breaks)
2015-04-06 23:16:44 -05:00
Simon Kornblith
a0a8b63cec Temporarily remove .travis.yml to stop testing this branch
The builds hang and eventually fail. Better not to waste Travis's
time until we get the tests running here.
2015-03-22 20:10:36 -04:00
Simon Kornblith
1c32db68da Unit testing infrastructure
Implements the beginnings of unit testing infrastructure using
mocha/chai. The unit tests can be run locally using test/runtests.sh,
although this will need tweaks to run on Windows. They should also run
on commit using Travis-CI.

The unit tests themselves live in test/tests. The index.js file
specifies separate test sets, which can be run individually by calling
test/runtests.sh <testsets>. Right now there is only a single unit
test, but hopefully we'll have more soon...
2015-03-07 16:34:55 -05:00