Skip to content

Commit

Permalink
build(abstruse): add abstruse.yml continuous integration config
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Nov 10, 2017
1 parent cb55411 commit 281f516
Show file tree
Hide file tree
Showing 5 changed files with 166 additions and 6 deletions.
18 changes: 18 additions & 0 deletions .abstruse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
image: abstruse

matrix:
- env: SCRIPT=test NODE_VERSION=8

before_install:
- nvm install $NODE_VERSION
- npm config set spin false
- npm config set progress false

install:
- npm install

script:
- if [[ "$SCRIPT" ]]; then npm run-script $SCRIPT; fi

cache:
- node_modules
141 changes: 140 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ngx-uploader/classes/ngx-uploader.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { expect } from 'chai';
import 'mocha';
import { describe } from 'selenium-webdriver/testing';

import rewire = require('rewire');
import * as rewire from 'rewire';
let rewiredNgUploaderService = rewire('./ngx-uploader.class');

describe('NgUploaderService constructor', () => {
Expand Down
6 changes: 6 additions & 0 deletions tsconfig.bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@
"outDir": "lib",
"typeRoots": [
"node_modules/@types"
],
"types": [
"mocha"
]
},
"include": [
"index.ts",
"ngx-uploader.ts",
"src/ngx-uploader/**/*.ts"
],
"exclude": [
"**/*.spec.ts"
]
}
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,5 @@
"typeRoots": [
"node_modules/@types"
]
},
"files": [
"src/api/index.ts"
]
}
}

0 comments on commit 281f516

Please sign in to comment.