forked from aurelia/skeleton-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
40 lines (36 loc) · 1.1 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#####
# Circle CI
#
# For running docker images on circle ci, see: https://circleci.com/docs/docker
# For circle.yml explanation, see: https://circleci.com/docs/manually
#####
machine:
environment:
AURELIA_LANGUAGE: unset
node:
version: 4.2.6
dependencies:
pre:
- npm install -g npm
override:
- npm install # we expect that peerDependencies will generate an error
- npm run electron:setup
general:
build_dir: skeleton-webpack
test:
override:
- npm run link:javascript
- AURELIA_LANGUAGE=javascript npm test
- npm run link:typescript
- AURELIA_LANGUAGE=typescript npm test
post:
- npm run link:javascript
- AURELIA_LANGUAGE=javascript npm run build
- AURELIA_LANGUAGE=javascript npm run build:prod
- AURELIA_LANGUAGE=javascript npm run electron:build
- AURELIA_LANGUAGE=javascript npm run electron:package
- npm run link:typescript
- AURELIA_LANGUAGE=typescript npm run build
- AURELIA_LANGUAGE=typescript npm run build:prod
- AURELIA_LANGUAGE=typescript npm run electron:build
- AURELIA_LANGUAGE=typescript npm run electron:package