-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (22 loc) · 1.2 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
language: python
sudo: required
dist: trusty
cache: pip
python:
- '3.5'
addons:
postgresql: '9.6'
before_script:
- psql -c 'create database "bulk_upload";' -U postgres
- psql -f tests/test_data/test_bulk_upload.sql -U postgres -d bulk_upload
before_install:
- export DATABASE_URL="postgresql://postgres@localhost/bulk_upload"
install:
- pip install -U pip setuptools wheel
- pip install -r requirements/development.txt
script: python setup.py test
deploy:
provider: heroku
api_key:
secure: KSH3XaKn/UF3T5haGxgs8o7+Yp9usMW9g0LJVjWPSF3ZCCDuDL8okdCx2gW0ol6ei/EWC6iEYzn36gcBoVh2CGBczL8gJIvhqN5qyz2ImFQm+qlsmfb2dmFriofg/mwdvpWst8MR1/yItw1Wra9YaQX22797zU6fO5g9JlNl4Tdom48nMIPq83AbbTdm5K1vPKqgCeaugsZ+hnwBfNnXU16jNw8gch4BlV0sMUlXSE3yDgVJIwAPJyfsEAhVp0GxgCR2Vl2YagnCj38N75DOR//BapKECGMNH3TjrQBVJCRnmpGNZJaikg29OapJiKGtg9J7KSkAL7q8SCA5UbaSfsInXTN9wxmklaJn/lRDOuTaTA0bf3gOmAD3KRDC1Cyrd6VHY6SxtylaiPsK7uZfcYcqEBgIR50n95/V7yP79AoswoJKbH0r3L0rnrUgktRBNFh4YaTSCpZs7rnGrMIfFOHQJK6XWrWp7CLeHmfcF+krSAygn3YN6utTE/IcPIBrRE1aFCx0ZG1FW0aXUlKuKCtSptUsBO5/YT80MXxztW3zZW1JAxZD04hYYKGoF4n36e+UvotomC1aLmDNvQ+y05qqjnquhxZkk+JJ37h5idLtXCWpFyt4gdZmlZmSE4vmCqLTEcBDnawUcZ1IdLDmjvHAvjtTy9GpLf9mqitvjoY=
app: datastructr-data-loader-api