forked from oisdk/team-software-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 2.29 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
sudo: required
services:
- docker
matrix:
include:
- language: python
python: 3.5
install:
- pip install -r backend/requirements.txt
- pip install pylint
- pip install coverage
- pip install flake8
- pip install pep8-naming
before_script:
- cd backend
script:
- flake8 ./
- pylint backend
- coverage run --source backend -m unittest discover
- coverage report
before_deploy:
- pip install awscli
- export PATH=$PATH:$HOME/.local/bin
- chmod +x $TRAVIS_BUILD_DIR/remote_deploy.sh
- cd $TRAVIS_BUILD_DIR
deploy:
provider: script
skip_cleanup: true
script: sh $TRAVIS_BUILD_DIR/remote_deploy.sh
on:
branch: master
- language: node_js
node_js: 7
install:
- cd $TRAVIS_BUILD_DIR/frontend
- npm install
- cd $TRAVIS_BUILD_DIR
before_script:
- cd $TRAVIS_BUILD_DIR/frontend
script:
- npm test
env:
global:
- secure: Zz6n7SZz+a2eSjy6WVF6HFIQM0iYPm4NuCm+e/xGVLyNeDTOR3kGMgjXr7Z4g0HXxRZaD9ZaaP6r4rMC2i66Hy9BuQINrnqJTCr61nHEl9Z2VRM2INoA3yA7NgrGmwjE4t/WObwpCceJfmSD58bDCEX/WGo5MzqnspssLIznjjFTHNK/X0Q4fLtZPbYroSoG3EFeyoB67fa7CpqcWU0OVO6sQyMrAZmEFiAzVtAgzJ3ZAkGRMXrNMR8HQTKedxXBNAesQXBd1lsq78e+9R+qGhODvldJ541M/yCBXBNZZazGDtrlccbEPj+MfZ4H2xHgh2qKrAk/s2jMiIKtZ6XzdJxejmUtenoc6fXphMLHy6PxtgSd6KvkQLWXGFXWhc1YWtNoxGleqxjerrFyh6x3EakjCqL3Ec2IsI0D6ihjP6nrbBSBWQ9i8g5LVUpFWbLGACQ7T5tZKeUFU2hBWuvguyv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