Matthieu Gautier
22a580d070
Fix the src path of kiwix-desktop when doing release.
...
kiwix-build add `_release` postfix, not the version number.
2018-08-06 10:49:53 +02:00
Matthieu Gautier
cad38f8a53
Use the correct source path of kiwix-desktop when doing release.
2018-08-06 09:24:29 +02:00
Matthieu Gautier
f51204d424
[Travis] Also build kiwix-desktop when building for release.
2018-08-04 09:06:38 +02:00
Matthieu Gautier
c256857e01
Create the app image using the ".appimage" extension.
...
Fix kiwix/kiwix-desktop#19
2018-08-03 15:53:13 +02:00
Matthieu Gautier
0d3ea8eaa5
Use the kiwix.desktop file and the icon in the kiwix-desktop sources.
...
No need anymore to generate one or take a random image.
2018-08-03 15:52:50 +02:00
Matthieu Gautier
25af2cfa6c
[TRAVIS] Do not make a deps archive when PLATFORM is android.
...
We never use the android platform in other project. We always an arch
specific android platform (android_arm).
So, do not try to do any dependencies archives there.
Especially if travis kill the job because it takes too long to create
the archive.
2018-07-16 18:31:50 +02:00
Matthieu Gautier
56d897d8d8
[TRAVIS] Allways use $HOME as relative path in dependencies archives.
...
As we now move to multi-arch build, we may have things compiled natively
or "neutral" (as toolchains). So we cannot use the BASE_DIR as
relative_path because BASE_DIR is arch dependent.
2018-07-16 09:42:46 +02:00
Matthieu Gautier
bae484f7ae
[TRAVIS] Print a '.' every 50 files added to an archive.
...
It will avoid travis-ci to kill the job because of the absence of output.
2018-07-13 11:51:00 +02:00
Matthieu Gautier
7391b54edf
[TRAVIS] Try to use arch specific base_deps when build android multi arch.
...
Compiling all dependencies for all archs takes a too long time for travis.
By downloading the cache of specific android arch, we avoid to recompile
them.
Android will need kiwix-lib builder to build, so we cannot make the
target_only.
2018-07-13 10:39:18 +02:00
Matthieu Gautier
cd0d075def
Do not try to decrypt the ssh_key if we cannot.
...
If we are building a PR comming from a fork, the secret key will not
be available and we cannot decrypt the ssh key.
And if the ssh key cannot be decrypted, we should not try to use it to
upload base dependencies.
`cron` and deployement are made only on "secured environment" so we don't
need to test for existance of the key because we are sure that we have
been able to decrypt it.
2018-07-11 15:55:11 +02:00
Matthieu Gautier
d5b81294ca
[TRAVIS] Fix release dist.
...
- Correctly make dist.
- zimwriterfs is now using meson, we don't need a special case.
2018-06-19 10:39:07 +02:00
Matthieu Gautier
37e2b709f8
[TRAVIS] Use target_only only if we are building in a cron.
...
The deps will be build only if we are in a cron.
In this case, we can directly build only the target.
But in other case, we have to build the target and its dependencies.
2018-06-18 17:54:44 +02:00
Matthieu Gautier
c9c7d86ca8
Do not try to compile kiwix-desktop on travis trusty
2018-06-15 16:39:14 +02:00
Matthieu Gautier
37ebcf83ae
Use Docker to build kiwix-desktop only.
...
Keep default travis env for everything else.
2018-06-15 15:57:57 +02:00
Matthieu Gautier
9ad07fe550
Travis, do not try to compile deps if not needed.
2018-06-14 18:18:46 +02:00
Matthieu Gautier
d74cd1d50a
Do not try to compile kiwix-desktop on native_static.
...
QtWebEngine is not compatible with static compilation so we should not
try to compile kiwix-desktop on native_static.
2018-06-13 17:39:06 +02:00
Matthieu Gautier
269e2b39a6
Build the kiwix-desktop app image in Travis.
2018-06-12 16:31:57 +02:00
Matthieu Gautier
8c3a8be65d
Build kiwix-desktop in travis.
2018-06-12 16:29:00 +02:00
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
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
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
ea54c56529
Fix small typos in the armhf name.
...
Fix kiwix/kiwix-tools#157
2018-02-26 11:12:05 +01:00