This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 1.53 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
sudo: false
language: python
python:
- "2.7"
cache:
directories:
- $HOME/.pip-cache/
install:
- pip install twine
- pip install --upgrade pip --cache-dir $HOME/.pip-cache/
- pip install coveralls coverage --cache-dir $HOME/.pip-cache/
- pip install flake8 --cache-dir $HOME/.pip-cache/
- pip install -r requirements-dev.txt --cache-dir $HOME/.pip-cache/
- pip install -e . --cache-dir $HOME/.pip-cache/
script:
- flake8 molo
- molo scaffold testapp
- mkdir -p testapp/testapp/templates/registration/
- cp molo/profiles/test_templates/login.html testapp/testapp/templates/registration/
- cp test_settings.py testapp/testapp/settings/local.py
- flake8 testapp
- pip install -e testapp
- py.test --cov=molo
after_success:
- coveralls
deploy:
provider: pypi
user: Praekelt
password:
secure: "kw+xYAhY/4aR6vVvFzhXetaXXB1fn04zlxWZrDbPjYFUmhzziO3bE++bP+f5K8ozFHpPMVrRGdie7DNroxyAH+YEAz8TUxt6ZWPk0UlBvOHhFCihCG3wvASK7bmqKDYNM6eZtJ4sEHCrVRM1v5t9FWT+jOZ3iYTHqH7jQJ1Yoo8XCJ/SvUxonc7kejtanjZFg1+q/mgQz2pvHnw+GG3yrS0KZp5LeQ1ioZQS+Jm84cXV4st7DxQLvvvYtW3BmiezLXGJATylwqnM+oMEpfFYngfOApXyvbPpU01Ajb2mb1r1kX7QA3i4Z8FRNefQo7F5Z3r/gHdlL3AnnlgIxWScxElt9xb6Z4vPmCIWgdvldC7hsmnB9/dSktG1pvMeTXUiKrJjxLoWfrcKiXR5pba1XbwbHCUftcjdzTAGPo84BVc2hZ4pbxWQKo6JZF6gycJNBFyCwRikmLhJWiHMQCKnDlaa7JpaDdK3xGXLRN59/vfuwqy2Q339ErMMwVgxKes2m6WmFd6QantHNIONX/hXqV725FHKBvLUsRVeG1bM/1Fd6TgL9xtYipkZxqiVUJ+OBs1u8mKs4d9chAFJCoVffnkqC/GciIU4UvJh4vt4bslTwfPwil4ww82iGUZnGwxEUEJmLFtBRtGZDmyDVL+O990G/L+Z+1KPZeUf4NGdM1w="
on:
tags: true
all_branches: true