Matthieu Gautier
ded38889cf
Use docker to build native_dyn.
...
As we want to use qt and packages are available only since ubuntu artful, we
need to use docker because travis-ci is ubuntu trusty.
We could also build qt, but it takes too many time and travis timeout.
2018-06-11 16:50:44 +02:00
Matthieu Gautier
4dea44d305
Fix travis CI
2018-06-08 10:29:26 +02:00
Matthieu Gautier
fa829e1dec
Rename dependency_versions.py to versions.py
2018-05-22 16:39:55 +02:00
Matthieu Gautier
355ef551d3
Last version of kiwix-tools doesn't have a kiwix-install binary.
...
See commit https://github.com/kiwix/kiwix-tools/commit/7c254544
2018-05-21 14:51:05 +02:00
Matthieu Gautier
e6c5624127
Create "date" directory when deploying nightly build.
...
The directory is create by simply copying the full directory instead of
individual files.
2018-05-14 22:10:40 +02:00
Matthieu Gautier
dac4fcd1f8
Also try to cross-compile zim-tools in travis cron.
2018-05-14 15:46:57 +02:00
Matthieu Gautier
b4f8d2cc7b
Build kiwix-lib for iOS on travis CI.
2018-04-24 15:02:28 +02:00
Matthieu Gautier
58c5d6d02e
Better printing of messages in the travis log.
2018-04-23 16:36:10 +02:00
Matthieu Gautier
25a14e44e7
Fix creation of win nightly archive.
...
The new name of the platform is "win-i686", not anymore "win32".
2018-04-23 15:07:44 +02:00
Matthieu Gautier
989889ca44
Deploy zim nightly on the right server.
...
zim related projects should be deployed on zim server, not kiwix.
Fix #156 .
2018-04-23 14:02:45 +02:00
Matthieu Gautier
df99696c85
Publish nightly and release archive using the right name.
...
The names of archives were inconsistent, rename them to a more consistent
scheme.
2018-04-23 14:02:45 +02:00
Matthieu Gautier
2270a070d2
Add an option to allways check for needed system packages.
2018-04-19 10:34:24 +02:00
Matthieu Gautier
1773f0fa28
Install libmagic in macos for zimwriterfs.
2018-04-18 17:48:32 +02:00
Matthieu Gautier
3ad73093f5
[TRAVISCI] Build kiwix-lib on macOS
2018-04-17 17:41:08 +02:00
Matthieu Gautier
fd39245c40
Update travis to also compile i586 variants.
2018-04-06 18:59:15 +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
d3abb0d567
[TRAVIS] Zip archive must have ".zip" extension.
2018-03-21 17:31:40 +01:00
Matthieu Gautier
a884668c76
[TRAVIS] Copy release archive in the right subdirectory.
...
This way, deploy.sh can upload the archive at the right place.
2018-03-21 16:08:52 +01:00
Matthieu Gautier
2a03ddb2f7
Add a top dir in the tgz archives.
2018-03-21 14:01:30 +01:00
Matthieu Gautier
87eee8e966
create zip archive for win32 binaries
2018-03-21 14:01:30 +01:00
Matthieu Gautier
b9abfa712d
Deploy dist archive in project subdirectory (as for compiled binaries).
2018-03-21 12:14:58 +01:00
Matthieu Gautier
8d13ad5de7
Do not store archive is the base dep archive.
...
Now that we use a skip file to skip download, we don't need to store
all the archives but just the skip file.
2018-03-20 17:57:39 +01: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
a7f1da3561
Upload build log on failure.
2018-03-20 16:03:09 +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
4f2cc6bf92
Make travis compile and store all compiled version of the base deps.
...
This should greatly improve travis speed.
2018-03-20 09:38:24 +01:00
Matthieu Gautier
6cc4c43ffa
scp convert its arguments to str itself.
2018-03-19 18:23:12 +01:00
Matthieu Gautier
df51246753
Move creation of dependencies archive into a separated function.
2018-03-19 18:22:30 +01:00
Matthieu Gautier
f1c15a5d3d
Reuse the versions in dependency_versions.py instead of redefine them.
2018-03-19 17:25:09 +01:00
Matthieu Gautier
841949777d
Do not fail if we try to create an existing directory.
2018-03-19 12:09:14 +01:00
Matthieu Gautier
0594486afd
Fix deployment of different release archives.
...
Fix #12 .
2018-03-15 17:42:15 +01:00
Matthieu Gautier
87d80928ee
Simplify a bit usage of make_archive.
2018-03-15 17:06:13 +01:00
Matthieu Gautier
579109ab79
`make_archive` now takes different arguments to compute the archive name.
2018-03-15 16:55:19 +01:00
Kelson
3180b5f761
Merge branch 'master' into fix_archive_typo
2018-02-26 20:27:14 +01:00
Matthieu Gautier
d7dd02e922
Do not try to deploy android apks if we are not building them.
2018-02-26 11:36:55 +01:00
Matthieu Gautier
6f6ffa5f87
Fix typos.
2018-02-26 11:31:12 +01:00
Matthieu Gautier
ea54c56529
Fix small typos in the armhf name.
...
Fix kiwix/kiwix-tools#157
2018-02-26 11:12:05 +01:00
Matthieu Gautier
f6c3083505
Do not try to compile kiwix-android if we make a release.
...
kiwix-android is following its own release process and tagging policy.
Will should fix this in the future but trying to compile kiwix-android
master branch may fail with tagged version of kiwix-lib.
2018-02-23 14:50:48 +01:00
Matthieu Gautier
5ffa9ca323
Fixes typos and add download.openzim.org to known hosts.
2018-02-23 14:49:15 +01:00
Matthieu Gautier
3b12557df8
Files in the deps archive must not be absolute path.
...
The archives will be extracted in the right directory. We need to store
relative paths.
2018-02-22 10:43:06 +01:00
Matthieu Gautier
4e35e70ef3
Add missing 'then' in deploy.sh
2018-02-07 08:36:17 +00:00
Matthieu Gautier
8ccd46966b
Fix typo.
2018-02-06 19:22:51 +00:00
Matthieu Gautier
fe2796f9bc
Use absolute path for the archive name
2018-02-05 08:30:09 +00:00
Matthieu Gautier
83b5f5be79
right name for ssh key
2018-02-04 04:10:41 +01:00
Matthieu Gautier
96b68fc50f
convert SSH_KEY from PosixPath to str
2018-02-03 21:51:28 +01:00
Matthieu Gautier
220d434b88
`write_text` method exists only on python 3.5.
...
And travis is using python 3.4 :/
2018-02-03 19:56:00 +01:00
Matthieu Gautier
51ba7132a4
fix typo in compile_all.py
2018-02-02 23:46:47 +01:00
Matthieu Gautier
cb468fc49f
We must deploy releases archive when a tag is set not on cron.
2018-02-02 12:07:01 +01:00
Matthieu Gautier
06cf4d44d0
New travis script written in python and handle release deployement.
...
`compile_all.sh` script starts to be very complex.
Let's rewrite it in python.
In the same time, update the travis scripts to handle deployement of
release versions.
2018-02-01 18:21:59 +01:00