-
Notifications
You must be signed in to change notification settings - Fork 55
/
.travis.yml
49 lines (49 loc) · 2.59 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
dist: trusty
language: python
python:
- '3.6'
sudo: required
addons:
chrome: stable
cache: pip
env:
global:
- DJANGO_111='Django>=1.11,<2.0'
- DJANGO_2='Django>=2.0,<2.1'
- DJANGO_DEV='https://github.com/django/django/tarball/master'
matrix:
- DJANGO_VERSION=$DJANGO_111
- DJANGO_VERSION=$DJANGO_2
- DJANGO_VERSION=$DJANGO_DEV
matrix:
fast_finish: true
allow_failures:
- env: DJANGO_VERSION=$DJANGO_DEV
before_install:
- export CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`
- sudo apt-get install -y openjdk-8-jre-headless xvfb libxi6 libgconf-2-4
- wget -N http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip -P ~/
- unzip ~/chromedriver_linux64.zip -d ~/
- rm ~/chromedriver_linux64.zip
- sudo mv -f ~/chromedriver /usr/local/bin/chromedriver
- sudo chown root:root /usr/local/bin/chromedriver
- sudo chmod 0755 /usr/local/bin/chromedriver
install:
- pip install -r callisto_core/requirements/test.txt --upgrade
- pip install $DJANGO_VERSION
script:
- export INDEXING_KEY=thisisatest
- make test
after_success:
- python setup.py tag
notifications:
slack:
secure: CVDBtNe8qXyKt6FwZF+kD2SUWvwGZRa3OPeQcRTsQ84vYMRu9Hfd+3EE9NdiNU2tF/+cpJAIn7Ke/SwbpS70Wjr9S547M/kRqxo7EiL35t5gSCYi/B+Z6Wrh90J9mUCMharbEQbxpTfb67jgYmtBCdhDpa0pSnURdd9fCC1kd4Clt6nqIF0+WE4rTM72mMnN/RaywCzpALnbu9ZyU+UZcjd4Ew3mGNqfYq26R4WKWymhyWkoIK1fmJ9yHa5OXEIWgs7QFqHOaDG5APWw9cSmzXE7y1vP38nx3ZwgUDS/Vk7Q/WmHaW27HG2f4Wui289sf8TvNC3MTN/cyS3Pj1NDWpYHKZS5Wu5GfqFxXqDudJk4U26CNte4z4DtLnFJLQnY6py6MP9qqufBHPuoSxpd74Jtv3ssim8bzsedav4JNOnHsG29ckM9TG2BoxW8fcOgWxBgXXiZWxHqJadECcW+tBFznJFoFXGDymXRsv9GqClVdZhmaAzf07H8RPQY58HZQ1udxsTCb2hH8O4UXqqtM/jE+TrfyYldjbR3RL6ozZmC4hggSl9+APyD0h3bQP0fkitv0oaCMapsecZF/Hzy8b4hzXUAqFoDWwDTbbbGOTCM9eMjnBAFd0830crIxIdIfmwBV1fh5dB8PCr8dTTDZ2XNn4OskjVJ3epqewXKElc=
email: false
deploy:
true:
branch: master
provider: pypi
user: shipypi
password:
secure: D4hU7YWLiTdr6G4FeOZA6GE8Z/TpCtaq5yLJdcIibLTyZNDcG22CVgh0IJLWgMVIqlluHm1rvZXCdjvX00FTlSFpDOGEQ4aMBLTbKzhwHHYV6bliM6ZNk/okMFbkOi4tgobv69bMSXx+cYiU7+233kTQ9NctaISg6xKnONM//MnubKDyEc24rb/u82dP5iuwyaK5kmzKKFhryjeoHLU5bsaC7O5j8hk8P0kQQnYa5X0uke2MhETKPORFTNLQyz/Yr04EJSi/4mo+LezsQqIBc6wmIofhL83cwLdxSEBe6LH/GbzvITwj0/AAbox/Ih8jfmGZ/F/LjZbataza6d9STPW7/4vqvJZJyNCNgfrTelgdG+bFG2sY8x0GsafbJ7a7jS/eFgDSrj0O6Smr64hcb+6VkQOzSnhLhqYjOLaWY4ou5izV5jFTXv6CW3db8BaAHoeDcEeJ5TUBPkjMBQXZU5qsw3qXc5KRTWn+Im+6wDYjstIUFNIan8dEdIRTQZgD9NuHjpGqDEUioZfx0KdQi9QP3He5pSern3Vq3RlvLrbcrNRZyrRvD4V2EOYfpFGMJICYGQPAZBl7djyr1EXwMIOyGH65JBSggLCzq2f/SwKgPCuOgBUVjDlOiGgLXsfG/Wen4VTk89BR8WxpSTr9buv67/cfFzB1nrxJ/N4dfHY=