forked from mirmik/zencad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
107 lines (86 loc) · 2.82 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
language: python
matrix:
include:
# Self Making with Display (Bionic)
- name: "Ubuntu: Build(servoce==master)"
os: linux
dist: bionic
if: branch = master
python:
- "3.7"
services:
- xvfb
install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
#- sudo add-apt-repository ppa:freecad-maintainers/occt-releases -y
#- sudo add-apt-repository ppa:freecad-maintainers/freecad-stable -y
- sudo apt-get update
#- sudo apt install -y libocct-foundation-7.3 libocct-ocaf-7.3 libocct-data-exchange-7.3 libocct-foundation-dev libocct-ocaf-dev libocct-data-exchange-dev
- python3 -m pip install pyservoce
- python3 -m pip install evalcache numpy pillow pyopengl PyQt5 psutil
- python3 -m pip install scikit-image
- python3 ./setup.py install
script:
- cd utest
- python3 ./api.py
- python3 ./examples.py
- name: "Ubuntu: Build(servoce==dev)"
os: linux
dist: bionic
python:
- "3.7"
services:
- xvfb
install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install libx11-dev mesa-common-dev libglu1-mesa-dev
- python3 -m pip install licant pybind11 wheel
- python3 -m pip install evalcache numpy pillow pyopengl PyQt5 psutil
- python3 -m pip install scikit-image
- git clone https://github.com/pybind/pybind11
- cd pybind11
- python3 ./setup.py install
- cd ..
- git clone https://github.com/mirmik/servoce --recursive -b dev
- cd servoce
- git clone https://github.com/mirmik/servoce-third-libs servoce-third-libs-travis
- mkdir pyservoce/libs
- cp servoce-third-libs-travis/linux-7.4/* pyservoce/libs/
- git clone https://github.com/pybind/pybind11
- cd pybind11
- python3 ./setup.py install
- cd ..
- python3 ./setup.py install
- cd ..
- python3 ./setup.py install
script:
- cd utest
- python3 ./api.py
- python3 ./examples.py
# Self Making with Display (Bionic) PyPi
- name: "Ubuntu: Loading from pypi"
if: branch = master
os: linux
dist: bionic
python:
- "3.7"
services:
- xvfb
install:
- python3 -m pip install zencad
script:
- cd utest
- python3 ./api.py
- python3 ./examples.py
- name: "OSX: Loading from pypi"
if: branch = master
os: osx
osx_image: xcode11.2
language: shell
install:
- python3 -m pip install zencad
script:
- cd utest
- python3 ./api.py
- python3 ./examples.py