forked from Weasyl/weasyl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (40 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
39
40
41
42
43
44
45
46
47
48
49
language: python
# Run on Travis CI's docker infrastructure
sudo: false
matrix:
include:
- python: 2.7
- python: 3.5
env:
global:
- PGPORT=5433
- PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
- PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
cache:
directories:
- ~/.cache/pip
addons:
apt:
sources:
- precise-pgdg-9.5
packages:
- postgresql-9.5
- postgresql-contrib-9.5
postgresql: "9.5"
services:
- memcached
- postgresql
before_install:
- mkdir -p ~/.cache/pip/wheels
- pip install -U pip setuptools pbr
- pip --version
- export VE=$VIRTUAL_ENV # Use the virtual environment travis provides.
- cp etc/pip.conf $VE
- nvm install node 8
install:
- createdb -E UTF8 -O travis weasyl_test
- ./.travis-install.sh
script:
- ./.travis-test.sh
after_success:
- codecov