forked from praekeltfoundation/molo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (53 loc) · 1.73 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
sudo: false
language: python
python:
- '3.6'
env:
- TEST=molo_lint
- TEST=testapp_lint
- TEST=build
jobs:
include:
# Include a separate job for the node tests
- language: node_js
node_js: '6' # LTS version
env: []
cache:
directories: [client/node_modules]
before_install:
- cd client
install:
- travis_retry npm install
script:
- npm run ci
# Clear unused build steps
services: []
after_success: []
- stage: deploy
env: []
before_install: []
install: []
script: 'true'
after_success: []
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: Praekelt
password:
secure: TrR3EF0bUSLZFjvfp62Jjjc+d0HTjXRR5BGoM7K1ON4buyyq3AGj8Fvc20d8CN/jcpqnibj+L3MNZnFkgEjsCy7GRav42QTVtQPj5Sorodp8qM7e329do6VAtO3iL6uoG258gYD0oqM0PZjlZurGZjksI7P/IsaZXeFh2I4NyS5Dy/m9f1zhzo5fS4H5oOpK8ohTPe3l9yRBXHteaAZYSrC8pc05U82iSaiWY4RbtJfxB2lPsxTJCh7nrjsyOu+jOubxuandve6YrKnCdpb2JQaPOeSBVpxHxhlf47MTTp5Q4DCO0DLA+kDoBZ1aEkM5gULQihjrKRtmbbXr0AmA+KEVdtZ9KySkmZB8W4lJfz+nyhxvKYEujNKoRYsxLBb5Nxxs/wuy/JTSJBQwdxDff8Yqz0o0N4xsMRy389o06QpE1ARqXpNE7+JSODyZT4ojTMVSmuU2CpwxDSR5L6ZA61nhDECoGe39HLgXiB/LTXgLxCt8O41u+gNQwGbE0iL22C1hPrkT5qWgP6YoMIK8PvpJAw2PVlxnaGZISljPQmV5txBSfi8h7u+wPnRJIVqgaWiM9mM27LhjZnMKPUqIspkMEvc0YoAJ6QYRPsATEUMlZIg+U+FCeSlALNd1cCzxiritPPNOYw9JG2PVACLtnmxhe1L9ILVg48t4loeHxUc=
on:
tags: true
all_branches: true
services:
- elasticsearch
- redis-server
cache: pip
before_install:
- pip install --upgrade pip
install:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- pip install coveralls
script: ./travis.sh
after_success:
- coveralls