forked from azavea/raster-vision
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 772 Bytes
/
.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
sudo: required
language:
- python
install:
- echo "skipping install step because that will be done inside .travis/build"
services:
- docker
env:
global:
- CLEAN_TRAVIS_TAG=${TRAVIS_TAG/[[:space:]]/}
- COMMIT=${CLEAN_TRAVIS_TAG:-${TRAVIS_COMMIT:0:7}}
matrix:
- IMAGE_TYPE=pytorch
if: (type = pull_request) OR (tag IS present) OR (branch = master) OR (branch =~ /^feature.*/)
script:
- .travis/build
- .travis/test
after_success:
- .travis/codecov
deploy:
- provider: script
script: .travis/deploy
skip_cleanup: true
on:
all_branches: true
condition: $TRAVIS_BRANCH =~ ^master|[0-9]+(\.[0-9]+)*$
- provider: script
script: .travis/deploy
skip_cleanup: true
on:
tags: true