File tree Expand file tree Collapse file tree 3 files changed +9
-13
lines changed Expand file tree Collapse file tree 3 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ sudo: false
2
2
env :
3
3
- NODE_VERSION=5 SCRIPT=lint
4
4
- NODE_VERSION=5 SCRIPT=test
5
+ - NODE_VERSION=6 SCRIPT=test
5
6
os :
6
7
- linux
7
8
- osx
@@ -14,8 +15,7 @@ script:
14
15
- npm run-script $SCRIPT
15
16
16
17
before_install :
17
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash; fi
18
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source ~/.nvm/nvm-exec; fi
18
+ - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
19
19
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
20
20
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap caskroom/cask; fi
21
21
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install google-chrome; fi
Original file line number Diff line number Diff line change 17
17
"url" : " https://github.com/angular/angular-cli.git"
18
18
},
19
19
"engines" : {
20
- "node" : " >= 4.1 .0"
20
+ "node" : " >= 5.0 .0"
21
21
},
22
22
"author" : " Angular Authors" ,
23
23
"contributors" : [
65
65
"exists-sync" : " 0.0.3" ,
66
66
"minimatch" : " ^3.0.0" ,
67
67
"mocha" : " ^2.4.5" ,
68
- "mock-fs" : " ^3.8 .0" ,
68
+ "mock-fs" : " ^3.9 .0" ,
69
69
"object-assign" : " ^4.0.1" ,
70
70
"rewire" : " ^2.5.1" ,
71
71
"sinon" : " ^1.17.3" ,
Original file line number Diff line number Diff line change 3
3
var fs = require ( 'fs-extra' ) ;
4
4
var existsSync = require ( 'exists-sync' ) ;
5
5
var Promise = require ( 'ember-cli/lib/ext/promise' ) ;
6
- var remove = Promise . denodeify ( fs . remove ) ;
7
6
var root = process . cwd ( ) ;
8
7
9
8
module . exports . setup = function ( path ) {
10
9
process . chdir ( root ) ;
10
+ fs . removeSync ( path ) ;
11
+ fs . ensureDirSync ( path ) ;
11
12
12
- return remove ( path ) . then ( function ( ) {
13
- fs . mkdirsSync ( path ) ;
14
- } ) ;
13
+ return Promise . resolve ( ) ;
15
14
} ;
16
15
17
16
module . exports . teardown = function ( path ) {
18
17
process . chdir ( root ) ;
18
+ fs . removeSync ( path ) ;
19
19
20
- if ( existsSync ( path ) ) {
21
- return remove ( path ) ;
22
- } else {
23
- return Promise . resolve ( ) ;
24
- }
20
+ return Promise . resolve ( ) ;
25
21
} ;
You can’t perform that action at this time.
0 commit comments