forked from fossasia/badgeyay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (53 loc) · 1.21 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
sudo: required
dist: trusty
group: deprecated-2017Q4
matrix:
include:
- language: python3
apt:
packages:
- python-dev
python:
- 3.5
cache:
directories:
- $HOME/api/.pip-cache/
before_install:
- sudo apt-get -qq update
- sudo apt-get -y install python3-pip
- sudo apt-get install python-virtualenv
install:
- virtualenv -p python3 ../flask_env
- source ../flask_env/bin/activate
- pip3 install flake8
script:
- flake8 api/
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash backend/scripts/gh_deploy.sh
- language: node_js
node_js:
- "6"
addons:
chrome: stable
cache:
directories:
- $HOME/frontend/.npm
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1
before_install:
- cd frontend
- npm install
- npm install --save ember-colpick
- npm install -g bower
- npm install -g firebase-tools
- bower install
- ember g ember-colpick
- npm config set spin false
script:
- npm run lint:js
- npm test
after_success:
- bash ./scripts/gh_deploy.sh