-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
44 lines (36 loc) · 1.15 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
matrix:
include:
#Frontend Job
- language: node_js
node_js:
- "6"
before_install:
- cd Frontend
- npm install
script:
- npm run build
# after_success:
# - git remote add Frontend-heroku https://git.heroku.com/cooperator-frontend-0000.git
# - git push Frontend-heroku master
deploy:
provider: heroku
api_key:
secure: a7f85a30-34cf-420c-9409-2f289506a89b
app: cooperator-frontend-0000
on:
repo: McGill-ECSE321-Winter2019/ecse321-group-project-04
#Backend Job
- language: java
env:
SPRING_DATASOURCE_URL=jdbc:postgresql://ec2-23-21-244-254.compute-1.amazonaws.com:5432/dcfa13rb5qfhb0?user=faobbeheumttch&password=d6868b4e2c2de8884f98caf9495f1d3672a37a47b060e8217a4a5834e1dc3925&sslmode=require
before_install:
- chmod +x gradlew
script:
- ./gradlew build
deploy:
provider: heroku
api_key:
secure: abbd43ef-e17e-466a-92cb-68e03e2affeb
app: cooperator-backend-0000
on:
repo: McGill-ECSE321-Winter2019/ecse321-group-project-04