-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (41 loc) · 1.84 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
language: python
python:
- '2.7'
virtualenv:
system_site_packages: true
notifications:
slack:
secure: iqdNG6wdkp86zQ2dSY3OMW3VwvPlBwtcbeaZmcy12XXqxxYgfATHEK9sEW20zxU4iZCSoprycN8qFjtna7yjnCUkx6Vd1kGw9N8PvEfpuwwGhORcF1VE5YKC34fP+F7AUuNXMkPNe/R2RAtN2qtM6q1dnuYTQZIR8G+xd37qOP8=
before_install:
- sudo apt-get update -qq
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- "./miniconda.sh -b"
- export PATH=/home/travis/miniconda/bin:$PATH
- export PATH=/home/travis/miniconda/lib/python2.7/site-packages:$PATH
- export PATH=/home/travis/virtualenv/python2.7_with_system_site_packages/bin/python2.7:$PATH
- conda update --yes conda
- pip install six>=1.3
- sudo apt-get install libcurl4-openssl-dev python-dev
- sudo apt-get install -y libgdal1h gdal-bin libgdal-dev
- sudo apt-get install imagemagick
- sudo pip install homura
- sudo pip install termcolor
- sudo apt-get install python-dateutil
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
- psql -c 'create database test_bar;' -U postgres
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib gdal scikit-image requests six nose dateutil
- pip install rasterio
- export PATH=$PATH:$PWD/landsat-util/landsat/
- pip install -r requirements.txt
- pip install -r requirements_travis.txt
env:
global:
- MAILGUN_KEY="test"
- MAILGUN_URL="test"
- secure: kaDDArGXYDFU0eEZjI7psXgJ11aIYkzVlLEDTRoRYNm4FKH77/42Jk2fYhQXRVnfEIDsUc77oLNtukwk5mpV0kYRMGPxxWDZ0l1TPNXjkRpzTKje2D6RlYdKyDLUqIHW1drDpHL/eGYweuzji4QMJK1iXoW8MElRuvXTTMqvVWQ=
- secure: G0qzGk7nwIRYns+9O351tcLsgYEzwjPYIB2KYk6G0bPvAMC9AfuP5MTsaNK6kYymyMCIG5UxZNSmMlFZoF12dav1AssPEKLPdAkyJkY8DsSmkONBf6p7S8kxLKHE1JJra/mc2jmxz1+BOczUvQ++gNCN7MN29h7Ga6+86B7/1D8=
script:
- py.test test_render_1.py test_render_little.py