-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
38 lines (37 loc) · 919 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
language: node_js
cache:
directories:
# - webapp/
node_js:
- stable
before_install:
- gem update --system && gem install compass
- openssl aes-256-cbc -K $encrypted_887081f0f551_key -iv $encrypted_887081f0f551_iv -in secrets.tar.enc -out secrets.tar -d
- tar -xvf secrets.tar
- git submodule init
- git submodule update
install:
- cd webapp/open-budget
- npm install
- cd ../email
- npm install
- cd ../matches
- npm install
- cd ../program_report
- npm install
- cd ../../
script:
- cd webapp/open-budget && npm run lint && npm run build && cd ../../
- cd webapp/email && npm run build && cd ../../
- cd webapp/matches && npm run build && cd ../../
- cd webapp/program_report && npm run build && cd ../../
- cd open-budget-il
deploy:
provider: gae
keyfile: open-budget-il-aaf0a776a535.json
project: open-budget-il
version: staging
no_promote: true
skip_cleanup: true
on:
branch: travis-deploy