This repository has been archived by the owner on Jun 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 512
/
circle.yml
46 lines (43 loc) · 1.7 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
41
42
43
44
45
46
#####
# 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:
node:
version: 7
dependencies:
pre:
- npm install -g yarn jspm
- google-chrome --version
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome.deb
- sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
- rm google-chrome.deb
- google-chrome --version
override:
- cd skeleton-esnext-webpack && yarn --ignore-engines
- cd skeleton-typescript-webpack && yarn --ignore-engines
- cd skeleton-esnext && yarn --ignore-engines
- cd skeleton-esnext && jspm install
#- cd skeleton-typescript && yarn --ignore-engines
#- cd skeleton-typescript && jspm install
cache_directories:
- "skeleton-esnext/node_modules"
- "skeleton-esnext/jspm_packages"
- "skeleton-esnext-webpack/node_modules"
- "skeleton-typescript/node_modules"
- "skeleton-typescript/jspm_packages"
- "skeleton-typescript-webpack/node_modules"
- "~/.yarn-cache"
test:
override:
- cd skeleton-typescript-webpack && yarn start -- test.all
- cd skeleton-typescript-webpack && yarn start -- webpack.build
- cd skeleton-typescript-webpack && yarn start -- webpack.build.development
- cd skeleton-esnext-webpack && yarn start -- test.all
- cd skeleton-esnext-webpack && yarn start -- webpack.build
- cd skeleton-esnext-webpack && yarn start -- webpack.build.development
- cd skeleton-esnext && yarn run test
#- cd skeleton-typescript && yarn run test