forked from orientechnologies/pyorient
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
55 lines (46 loc) · 1.32 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
50
51
52
53
54
55
sudo: false
language: python
python:
- '2.7'
- '3.5'
sudo: false
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
install:
- pip install coveralls
- pip install pyorient_native
- "./ci/start-ci.sh $ORIENTDB_VERSION"
cache:
directories:
- ./ci/environment/
- ./docs/build/html/
- "./ci/environment/"
script:
- nosetests -vv --with-coverage --cover-xml --cover-erase --cover-package=pyorient
before_cache:
- ls -la ./ci/environment/
- rm -f ./ci/environment/orientdb-community-$ORIENTDB_VERSION/log/*
- rm -rf ./ci/environment/orientdb-community-$ORIENTDB_VERSION/databases/*
after_success:
- coveralls
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "develop" && ./docs/publish.sh
deploy:
provider: pypi
user: mogui
password:
secure: BpKTrn4PdKZi7Ykq/8gfuzQ5DcrSjEccbljKfS0IQG+9Pp4yeI28DTm8BtCk6Oq+Nj2MtxQnn2m1Uxju7RBsGdblv8YuVhDlFyMqG4zUXECU29Uo0wqP3sCIlClVCoMHeSzi2L7SxPKyx6UvQccEW076z9ZP07uzqjACeGfPcfc=
on:
tags: true
all_branches: true
branches:
except:
- gh-pages
env:
matrix:
- ORIENTDB_VERSION=2.2.19
- ORIENTDB_VERSION=2.2.9
global:
- secure: "FfqHFu2i1X5dIqzIxIGraEZrGSswSE4XVR7Ig9fkfYhbQfhFfZCOaRG95tyoZW7g5S0K2Kiw/oDyIKMPC+5g5PfMv2uvI/LZtokOy5ZewF0SHMjuCA54P+y83uindQMfb6KvPc9h/6tV2eogQGZ1y+juXteb4NRDUxt27NppRwM="