forked from mogui/pyorient
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
51 lines (42 loc) · 1.32 KB
/
.travis.yml
File metadata and controls
51 lines (42 loc) · 1.32 KB
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
language: python
dist: xenial
os: linux
python:
- '3.8'
install:
- pip install coveralls
- pip install pyorient_native
- "./ci/start-ci.sh $ORIENTDB_VERSION"
cache:
directories:
- ./ci/environment/
- ./docs/build/html/
- "./ci/environment/"
before_script:
- sleep 15
- travis_retry ./ci/environment//orientdb_current/bin/console.sh "CONNECT remote:localhost root root"
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:
jobs:
- ORIENTDB_VERSION=3.2.0
global:
- secure: "FfqHFu2i1X5dIqzIxIGraEZrGSswSE4XVR7Ig9fkfYhbQfhFfZCOaRG95tyoZW7g5S0K2Kiw/oDyIKMPC+5g5PfMv2uvI/LZtokOy5ZewF0SHMjuCA54P+y83uindQMfb6KvPc9h/6tV2eogQGZ1y+juXteb4NRDUxt27NppRwM="