Travis now runs the tests, for realz!
* disable all but firefox until tests are going * install grunt-cli * copy local.json-dist to local.json so the server can start
This commit is contained in:
Родитель
e7ba3aebc6
Коммит
7501e047e9
16
.travis.yml
16
.travis.yml
|
@ -8,18 +8,24 @@ env:
|
|||
- SAUCE_USERNAME: intern-example-ci
|
||||
- SAUCE_ACCESS_KEY: 89ac3089-17b3-4e9b-aaf3-c475b27fa441
|
||||
install:
|
||||
# install the auth server. Only include prod resources to speed up the build.
|
||||
- git clone git://github.com/mozilla/fxa-auth-server.git
|
||||
- cd fxa-auth-server
|
||||
- npm install
|
||||
- node ./scripts/gen_keys.js
|
||||
- npm start &
|
||||
# install everything for full dev in the fxa-content-server.
|
||||
- cd ..
|
||||
- npm install bower
|
||||
- npm install --production
|
||||
- npm install intern-geezer
|
||||
- npm install git://github.com/mozilla/fxa-js-client-old.git
|
||||
- npm start &
|
||||
- npm install
|
||||
# for local developers, grunt-cli is installed globally.
|
||||
# We have to install it for travis.
|
||||
- npm install grunt-cli
|
||||
# install intern-geezer, which is an intern compatible with old IEs
|
||||
- cd node_modules/intern-geezer
|
||||
- npm install --production
|
||||
- cd ../..
|
||||
# copy over the configuration that can be used to start the server.
|
||||
- cp server/config/local.json-dist server/config/local.json
|
||||
- npm start &
|
||||
# now run the tests!
|
||||
script: npm run-script test-remote
|
||||
|
|
|
@ -8,7 +8,7 @@ Static server that hosts Firefox Account sign up, sign in, email verification, e
|
|||
|
||||
* node 0.10.x or higher
|
||||
* npm
|
||||
* Java
|
||||
* Grunt (`npm install -g grunt-cli`)
|
||||
* PhantomJS (`npm install -g phantomjs`)
|
||||
* bower (`npm install -g bower`)
|
||||
* libgmp
|
||||
|
|
|
@ -22,10 +22,10 @@ define([
|
|||
//{ browserName: 'internet explorer', version: '9', platform: 'Windows 7' },
|
||||
//{ browserName: 'internet explorer', version: '8', platform: 'Windows XP' },
|
||||
|
||||
{ browserName: 'firefox', version: '25', platform: [ 'OS X 10.6', 'Windows 7' ] },
|
||||
{ browserName: 'firefox', version: '24', platform: 'Linux' },
|
||||
{ browserName: 'chrome', version: '', platform: [ 'Linux', 'OS X 10.6', 'Windows 7' ] },
|
||||
{ browserName: 'safari', version: '6', platform: 'OS X 10.8' }
|
||||
{ browserName: 'firefox', version: '25', platform: [ 'OS X 10.6'/*, 'Windows 7' */] },
|
||||
// { browserName: 'firefox', version: '24', platform: 'Linux' },
|
||||
// { browserName: 'chrome', version: '', platform: [ 'Linux', 'OS X 10.6', 'Windows 7' ] },
|
||||
// { browserName: 'safari', version: '6', platform: 'OS X 10.8' }
|
||||
];
|
||||
|
||||
return intern;
|
||||
|
|
Загрузка…
Ссылка в новой задаче