summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPatrick Höhn <hoehnp@users.noreply.github.com>2018-10-21 20:08:42 +0200
committerPierre GRANDIN <pgrandin@users.noreply.github.com>2018-10-21 11:08:42 -0700
commitf6db3ba495964985a0e7ddddaec6a8e070d70d85 (patch)
treea8a80e3d54d1b8615998660f6bd1e04983eac2db /.travis.yml
parentce949480009e8ac4df6e81173c4e312958913605 (diff)
downloadnavit-f6db3ba495964985a0e7ddddaec6a8e070d70d85.tar.gz
add:sailfish:added script to build a package for Sailfish OS (#679)
Currently needs to be built via Travis instead of CircleCI ( see https://discuss.circleci.com/t/non-reproducable-build-results/25864 for details )
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..09919cf68
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+sudo: required
+
+language: c
+
+services:
+ - docker
+
+before_install:
+- mkdir ../rpmbuild
+- docker pull hoehnp/sailfishos-platform-sdk:2.2.1.18-r1
+- docker run -e VERSION_ID=2.2.1.18 -v `pwd`:/home/nemo/navit hoehnp/sailfishos-platform-sdk:2.2.1.18-r1 /bin/bash -x /home/nemo/navit/contrib/sailfish/build_sailfish_ci.sh
+
+before_deploy:
+ - provider: pages
+ - skip-cleanup: true
+ - github-token: $GITHUB_TOKEN
+ - keep-history: true
+ - local-history: `pwd`/../rpmbuild/RPMS/armv7hl/
+ - local-history: `pwd`/../rpmbuild/RPMS/i586/
+before_script: skip
+script: skip
+after_success: skip
+after_script: skip