forked from nortikin/sverchok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (32 loc) · 985 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
language: bash
sudo: enabled
branches:
only:
master
install:
- |
if [ ! -f installation/blender/blender ]
then
mkdir -p installation
cd installation
wget https://www.blend4web.com/blender/release/Blender2.79/blender-2.79-linux-glibc219-x86_64.tar.bz2
tar xf blender-2.79-linux-glibc219-x86_64.tar.bz2
if [ -d blender ]
then rm -rf blender
fi
mv blender-2.79-linux-glibc219-x86_64 blender
rm blender-2.79-linux-glibc219-x86_64.tar.bz2
echo "Current directory after downloading blender: $(pwd)"
cd ..
fi
ln -s ${PWD} ${PWD}/installation/blender/2.79/scripts/addons/sverchok
mkdir -p ~/.config/blender/2.79/config/
ln -s ${PWD}/tests/references/userpref.blend ~/.config/blender/2.79/config/
env:
- BLENDER=${PWD}/installation/blender/blender-softwaregl
# Actually run all tests.
script:
- bash ./run_tests.sh
cache:
directories:
- ${PWD}/installation