forked from mypaint/mypaint
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
82 lines (74 loc) · 1.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
language: c++
compiler:
- gcc
sudo: required
dist: xenial
addons:
apt:
packages:
- g++
- gettext
- intltool
- gir1.2-gtk-3.0
- libgtk-3-dev
- libjson-c-dev
- liblcms2-dev
- libpng12-dev
- python-dev
- python3-dev
- python-gi-dev
- python-gi-cairo
- python3-gi-cairo
- python-nose
- python3-nose
- python-numpy
- python3-numpy
- python-setuptools
- python3-setuptools
- swig
- swig3.0
- git
- python-pip
- python3-pip
before_script:
- git clone https://github.com/mypaint/libmypaint
- cd libmypaint
- ./autogen.sh
- ./configure --prefix=/usr
- make
- sudo make install
- cd ..
- sudo rm -fr libmypaint
- git clone https://github.com/mypaint/mypaint-brushes
- cd mypaint-brushes
- ./autogen.sh
- ./configure --prefix=/usr
- make
- sudo make install
- cd ..
- sudo rm -fr mypaint-brushes
- git clone https://github.com/colour-science/colour.git
- cd colour
- pip2 install .
- pip3 install .
script:
- which python
- python -m this
- python --version
- python setup.py build
- python setup.py build_config --translation-threshold=75
- python setup.py nosetests --tests lib
- python setup.py test
- sudo python setup.py managed_install
- sudo python setup.py managed_uninstall
- sudo python setup.py install --root=/app/ --prefix=.
- which python3
- python3 -m this
- python3 --version
- python3 setup.py build_ext --swig=/usr/bin/swig3.0
- python3 setup.py build
- python3 setup.py nosetests --tests lib
- python3 setup.py clean --all
- sudo python3 setup.py managed_install
- sudo python3 setup.py managed_uninstall
- bash appimage/trigger_build.sh