This repository has been archived by the owner on Jul 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
executable file
·92 lines (82 loc) · 2.26 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
language: node_js
node_js:
- "v9.5.0"
os:
- linux
- osx
matrix:
allow_failures:
- os: osx
addons:
apt:
packages:
- graphviz
sudo: true
dist: trusty
branches:
only:
- travisci
- travisci-multi
- master
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install graphviz; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yarn --without-node; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update; fi
install:
- npm i -g [email protected] # this should be deleted once 5.7.X is out of "pre-release"
- npm install # instead of default npm install
- npm i @angular-devkit/core
- npm install -g @angular/[email protected]
- npm i node-sass
before_script:
- mkdir dist2
- ng build --prod --aot=false
#Cloning other repos
- git clone https://github.com/Kitsune-tools/Ana-Analytics-Dashboard.git
- git clone https://github.com/Kitsune-tools/ANAChat-Web.git
- rm -rf node_modules/
#For analytics-dash
- cd Ana-Analytics-Dashboard/
- npm install typings -g
- npm i @angular-devkit/core
- npm install -g @angular/[email protected]
- npm i node-sass
- npm install
- ng build --prod --aot=false
- cd ..
- mkdir dist2/analytics-dashboard
- cp -R Ana-Analytics-Dashboard/dist/* dist2/analytics-dashboard/
- ls -l
- ls -l Ana-Analytics-Dashboard/
#For Chat-Web
- cd ANAChat-Web/
- npm i node-sass
- npm install
- ng build --prod --aot=false
- cd ..
- mkdir dist2/simulator # For web chat
- ls -l ANAChat-Web/
- cp -R ANAChat-Web/dist/* dist2/simulator/
# For ana APP
- npm cache verify
- npm install -g [email protected]
- ls -l
- ls -l
- mkdir dist/simulator
- mkdir dist/analytics-dashboard
- cp -R dist2/simulator/* dist/simulator/
- cp -R dist2/analytics-dashboard/* dist/analytics-dashboard/
script:
- cd dist/
- yarn add [email protected] --dev
# - npm install -g electron-builder
- npm install -g popper.js
- npm install -g jquery
- npm install --dev
- electron-builder
notifications:
email: