Commit graph

1190 commits

Author SHA1 Message Date
Matthieu Gautier
e990b3e93b Update to new version of libzim, kiwix-lib and kiwix-tools. 2018-03-27 12:06:21 +02:00
Matthieu Gautier
56e3bfe442
Merge pull request #137 from kiwix/zip_extension
[TRAVIS] Zip archive must have ".zip" extension.
2018-03-21 19:44:49 +01:00
Matthieu Gautier
d3abb0d567 [TRAVIS] Zip archive must have ".zip" extension. 2018-03-21 17:31:40 +01:00
Matthieu Gautier
e5b6ab4db9
Merge pull request #136 from kiwix/create_archive_at_right_place
[TRAVIS] Copy release archive in the right subdirectory.
2018-03-21 16:39:51 +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
c828bc80f4
Merge pull request #135 from kiwix/zip_archive
Zip archive
2018-03-21 15:16:26 +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
770630c6bf
Merge pull request #133 from kiwix/fix_deploy
Deploy dist archive in project subdirectory (as for compiled binaries).
2018-03-21 13:59:47 +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
9d24bcdf81
Merge pull request #134 from kiwix/skip_download
Skip download
2018-03-21 11:54:33 +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
5cc30cf4f2 Use a skip file to skip download of archives. 2018-03-20 17:56:40 +01:00
Matthieu Gautier
b2243e438b try_skip method can now take an extra name.
Useful if different "skip_files" are stored in the same directory.
2018-03-20 17:56:14 +01:00
Matthieu Gautier
c04bfaba14
Merge pull request #130 from kiwix/faster_build
Faster build
2018-03-20 16:47:13 +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
0d18fbfd3d Add a longer timeout for meson test. 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
e95456dea0 Remove travis_wait to get full log. 2018-03-20 09:38:19 +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
e0171379c7 Add an intermediate target that build all base dependencies.
This will allow travis to build all base dependencies all by once.
2018-03-19 17:50:17 +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
f0391a638b Move projects' versions in a separated file.
This way, versions can be imported by external scripts (ie travis)
2018-03-19 17:25:09 +01:00
Matthieu Gautier
e8c220c17d
Merge pull request #129 from kiwix/no_fail_on_dir_exist
Do not fail if we try to create an existing directory.
2018-03-19 14:19:30 +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
0da2ffbd4c
Merge pull request #127 from kiwix/fix_deploy
Fix deploy
2018-03-16 09:53:32 +01:00
Matthieu Gautier
f88f27edac Indicate release tag of zimwriterfs. 2018-03-15 17:42:41 +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
bb37572ce1
Merge pull request #125 from kiwix/fix_archive_typo
Fix small typos in the armhf name.
2018-02-27 20:24:51 +01:00
Kelson
3180b5f761
Merge branch 'master' into fix_archive_typo 2018-02-26 20:27:14 +01:00
Matthieu Gautier
89696df3e3
Merge pull request #126 from kiwix/fix_travis_typos
Fix typos.
2018-02-26 15:50:44 +01:00
Matthieu Gautier
ed89cbccd8 Correct environment variable name. 2018-02-26 14:33:31 +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
bef0572db5
Merge pull request #124 from kiwix/travis_tags_fixes
Travis tags fixes
2018-02-23 18:08:58 +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
5f20f9939c
Merge pull request #123 from kiwix/deploy_on_tags
We must run the deploy command even on tag push.
2018-02-23 11:45:11 +01:00
Matthieu Gautier
1027b3e1ee We must run the deploy command even on tag push.
In case of tag push, travis will trigger a build but will set
TRAVIS_BRANCH to the tag name, not "master".
So by default, the deploy script will be skipped in case of tag push.

There is a option "tags: true" to deploy on tag push. But it will run
deploy script ONLY on tag push, not on cron build.

So we need two "identical" deploy script, one for tags only and
one for cron build.

As we also need to activate travis build on push (because we push tags),
travis will end to build twice a PR (one for the PR and one for the pushed
branch). So we need to allow build only for `master` branches and tags.
2018-02-23 10:37:43 +01:00
Matthieu Gautier
ab1b16ebde
Merge pull request #122 from kiwix/rel_name_in_dep_archives
Files in the deps archive must not be absolute path.
2018-02-22 12:03:10 +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
7acd504038
Merge pull request #120 from kiwix/missing_then
Add missing 'then' in deploy.sh
2018-02-07 10:56:09 +01:00
Matthieu Gautier
4e35e70ef3
Add missing 'then' in deploy.sh 2018-02-07 08:36:17 +00:00