-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
49 lines (43 loc) · 1.47 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
matrix:
include:
- language: node_js
node_js:
- "10"
before_script:
- curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
- sudo apt-get install -y nodejs
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update
- sudo apt-get install yarn -y
- sudo yarn global add coveralls
- sudo yarn global add create-react-app
- sudo yarn global add serve
- sudo yarn global add typescript
- sudo yarn global add react-scripts-ts
- sudo yarn global add gulp
- cd src/client
- yarn install --no-bin-links
script:
- yarn build
after_success:
- yarn test --coverage && cat ./coverage/lcov.info | coveralls
- language: java
jdk: oraclejdk8
sudo: required
services:
- docker
before_script:
- sudo apt-get install -y maven
- sudo apt-get install -y python-dev
- sudo apt-get install -y libpq-dev
- sudo service postgresql restart
- sudo sh install/db.sh
- sudo sh install/docker.sh
- cd src/spring
script:
- sudo sh mvnw clean package
after_success:
- sudo sh mvnw clean test -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID jacoco:report coveralls:report
notifications:
email: false