-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (44 loc) · 1.24 KB
/
.travis.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
47
48
49
50
51
52
53
54
language: node_js
sudo: false
dist: xenial
git:
depth: 3
node_js:
- '14'
cache:
directories:
- node_modules
- packages/core/node_modules
- packages/admin-web-angular/node_modules
- packages/carrier-mobile-ionic/node_modules
- packages/shop-mobile-ionic/node_modules
- packages/shop-web-angular/node_modules
- packages/merchant-tablet-ionic/node_modules
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm i -g npm@latest
- npm i -g yarn@latest
- npm i -g lerna@latest
install:
- git clone -c core.symlinks=true --recursive --depth=3 --branch=$TRAVIS_BRANCH https://github.com/$TRAVIS_REPO_SLUG.git $TRAVIS_REPO_SLUG
- cd $TRAVIS_REPO_SLUG
- git checkout -qf $TRAVIS_COMMIT
- yarn install
- yarn bootstrap
matrix:
include:
- env: PROJECT=packages/core
- env: PROJECT=packages/admin-web-angular
- env: PROJECT=packages/carrier-mobile-ionic
- env: PROJECT=packages/shop-mobile-ionic
- env: PROJECT=packages/shop-web-angular
- env: PROJECT=packages/merchant-tablet-ionic
before_script:
- cd $PROJECT
script:
- yarn build