-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·55 lines (45 loc) · 1.02 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
dist: xenial
os:
- linux
# - osx
# - windows
env:
global:
- BLENDER_CACHE=$HOME/.cache/blender
- BL_ADDON=io_scene_obj
matrix:
- BLENDER_VERSION="2.81a"
- BLENDER_VERSION="2.82a"
- BLENDER_VERSION="2.83.0"
- BLENDER_VERSION="2.90.0"
language: python
python:
- 3.7
cache:
apt: true
directories:
- $HOME/.cache/pip
- ${BLENDER_CACHE}
addons:
apt:
packages:
- blender
before_install:
- mkdir -p ${BLENDER_CACHE}
- ls ${BLENDER_CACHE}
install:
- cd $TRAVIS_BUILD_DIR
- python --version
- pip install -r blender_requirements.txt
- pip list
script:
- cd ${TRAVIS_BUILD_DIR}
#- make flake8
#- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- python ${TRAVIS_BUILD_DIR}/scripts/test_addon.py ${BL_ADDON} ${BLENDER_VERSION}
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
on_success: change
on_failure: always