-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
executable file
·58 lines (48 loc) · 1.08 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
56
57
58
dist: xenial
os:
- linux
# - osx
# - windows
env:
global:
- BLENDER_CACHE=$HOME/.cache/blender
- BL_ADDON=fake_addon
matrix:
- BLENDER_VERSION="2.92"
- BLENDER_VERSION="2.91"
- BLENDER_VERSION="2.90"
- BLENDER_VERSION="2.83"
- BLENDER_VERSION="2.82"
- BLENDER_VERSION="2.81"
- BLENDER_VERSION="2.80"
- BLENDER_VERSION="2.79"
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
- python3 --version
- pip install -r blender_requirements.txt
- pip list
script:
- cd ${TRAVIS_BUILD_DIR}
#- make flake8
- python3 ${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