Updating travis

This closes #328
This commit is contained in:
Joe Bowser 2016-09-01 11:21:24 -07:00
parent bf5c32d780
commit ba5e3a81e0
3 changed files with 9 additions and 3 deletions

View File

@ -1,12 +1,18 @@
language: android language: android
sudo: false sudo: false
jdk:
- oraclejdk8
before_install: before_install:
- nvm install 6 - nvm install 6
- node --version - node --version
install: install:
- npm install - npm install
- npm install -g codecov - npm install -g codecov
- echo y | android update sdk -u --filter android-22,android-23 - echo y | android update sdk -u --filter android-22,android-23,android-24
android:
components:
- tools
- tools
script: script:
- npm run jshint - npm run jshint
- npm run cover - npm run cover

View File

@ -19,7 +19,7 @@
var actions = require('./helpers/projectActions.js'); var actions = require('./helpers/projectActions.js');
var CREATE_TIMEOUT = 60000; var CREATE_TIMEOUT = 90000;
function createAndBuild(projectname, projectid, done) { function createAndBuild(projectname, projectid, done) {
actions.createProject(projectname, projectid, function (error) { actions.createProject(projectname, projectid, function (error) {

View File

@ -25,7 +25,7 @@ var actions = require('./helpers/projectActions.js'),
platformEdge = { version: getCurrentVersion(), path: '.' }; platformEdge = { version: getCurrentVersion(), path: '.' };
var DOWNLOAD_TIMEOUT = 2 * 60 * 1000, var DOWNLOAD_TIMEOUT = 2 * 60 * 1000,
UPDATE_TIMEOUT = 60 * 1000, UPDATE_TIMEOUT = 90 * 1000,
PLATFORM_GIT_URL = 'https://github.com/apache/cordova-android'; PLATFORM_GIT_URL = 'https://github.com/apache/cordova-android';
function getCurrentVersion() { function getCurrentVersion() {