forked from Texera/texera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (41 loc) · 828 Bytes
/
.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
# configuration
dist: trusty
sudo: required
language: java
cache:
directories:
- $HOME/.m2
# build matrix
jdk:
- oraclejdk8
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- sudo apt-get update
- sudo apt-get install python3
- sudo apt-get install python3-setuptools
- sudo easy_install3 pip
- export LC_ALL=C
- sudo pip3 install setuptools -U
- sudo pip3 install -U nltk
- nvm install node
- nvm use node
- npm install -g @angular/cli
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# run steps
install:
- cd core
- cd new-gui
- npm install
- cd ..
script:
- mvn test --batch-mode
- cd new-gui
- ng build --prod
- ng test --browsers ChromeHeadless --watch=false