Commit Graph

13 Commits

Author SHA1 Message Date
Matthieu Gautier 681c5b4ec2 [Travis] Use python3.5 instead of default python3.4
Python3.5 add functionnality we need in kiwix-build.
And recent versions of meson need python3.5.
2019-01-17 15:36:32 +01:00
Matthieu Gautier b3a3d0399f Last version of travis osx already have a python 3.6 installed. 2018-10-23 11:57:58 +02:00
Matthieu Gautier 3ad73093f5 [TRAVISCI] Build kiwix-lib on macOS 2018-04-17 17:41:08 +02:00
Matthieu Gautier 6ebd96c059 Adapte travis to new file architectures.
- kiwix-build is installable, so let's install it in travisCI
- Declare the dependency to meson in the setup.py
- As kiwixbuild is installed, we don't need to change the `sys.path`
2018-04-04 15:43:51 +02:00
Matthieu Gautier 752a5d58ce Do not do sudo command.
- Install all packages using travis apt plugin
- Copy ninja binary in $HOME/bin.

We still need sudo required because travis image has more memory in this
case and this is needed to test big cluster in libzim.
2018-03-20 16:05:26 +01:00
Matthieu Gautier c54439831d Use already compiled ninja binary instead of building one. 2018-03-20 15:14:32 +01:00
Matthieu Gautier d93fc9dc9c Also cache pip in travis. 2018-03-20 15:14:32 +01:00
Matthieu Gautier 6768631b25 Force installation of meson 0.43.0.
There are some problem in meson 0.44.0.

`meson` change the way it detects static libraries (to something that seems
better to me), but it breaks some of our build that we have to fix.

Until we have fixed our dependencies declaration, let's force meson to
be in 0.43.0.
2017-12-13 15:09:58 +01:00
Matthieu Gautier e43e502cb7 Fix installation of meson and pillow (pip3) in travis.
I don't know why, but the travis build doesn't work since few days.
It seems that pip3 cannot install in `/usr/local` anymore.
Probably related to last travis change* as a lot of people seems to have
problem with this update and python (even if this is not the same problems)

Anyway, we should not install a dependencies in global environment without
a sudo. Let's install the pip3 dependencies for the user only.

[*] https://docs.travis-ci.com/user/build-environment-updates/2017-09-06/
2017-09-11 11:13:45 +02:00
Matthieu Gautier 22fffcee51 Add script to build customapp 2017-06-25 15:49:49 +02:00
Matthieu Gautier eac3b79151 Do not install unneeded package in travis/install_extra_deps.sh 2017-03-13 13:18:14 +01:00
Matthieu Gautier d78bc45be1 Properly fail in travis if sub-script fail.
Make `kiwix-build.py` also fail if sub-command fail instead of just print
an error message and quit.

`kiwix-deploy.py` is far more simple and already fails miserably if a
sub-command fails.
2017-02-13 11:53:40 +01:00
Matthieu Gautier 7d6b2d2135 Add Travis support.
We now build static/dynamic on ubuntu(native) and win32(cross-compilation).
2017-02-07 14:35:34 +01:00