forked from tpaviot/pythonocc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 1.6 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
language: cpp
compiler:
# - gcc
- clang
before_install:
# first downlod/install oce-0.16.1
- sudo apt-get update
- sudo apt-get install tcl8.5-dev tk8.5-dev libgl2ps-dev libfreeimage-dev
- wget https://github.com/tpaviot/oce/archive/OCE-0.16.1.tar.gz
- tar -xvf OCE-0.16.1.tar.gz > OCE-0.16.1-filelist.txt
- cd oce-OCE-0.16.1
- mkdir cmake-build
- cd cmake-build
- sh ../../.travis.build-oce.sh
- sudo make -j16 install > oce-installed-files.txt
- cd ../..
# - sudo add-apt-repository "deb http://ppa.launchpad.net/freecad-maintainers/oce-release/ubuntu precise main" -y
# - sudo apt-get update -q
# - sudo apt-get install liboce-ocaf-dev oce-draw
- sudo apt-get install python-wxgtk2.8
- sudo python -c "import wx"
- sudo apt-get install python-qt4 python-qt4-gl
- sudo python -c "from PyQt4 import QtGui, QtCore, QtOpenGL"
- sudo apt-get install python-pyside
- sudo python -c "from PySide import QtGui, QtCore, QtOpenGL"
# and this one python3.4 for ubuntu precise
- sudo add-apt-repository "deb http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu precise main" -y
- sudo apt-get update
- sudo apt-get install python3.4
- sudo apt-get install python3.4-dev
before_script:
- wget http://prdownloads.sourceforge.net/swig/swig-2.0.10.tar.gz
# untar swig files generates thousands of lines. Redirect stdout stream
# to a file
- tar -xvf swig-2.0.10.tar.gz > swig-2.0.10-filelist.txt
- cd swig-2.0.10
- ./configure
- make -j6 > swig-build-log.txt
- sudo make install
- cd ..
- swig -version
script: ./.travis.build.sh
after_script:
branches:
only:
- master
- /^review/