machine: environment: CMAKE_FILE: ../Toolchain/arm-eabi.cmake dependencies: cache_directories: - ~/.android - ~/android - "~/assets/" - ~/tomtom_assets pre: - "[ -d ~/assets ] || mkdir ~/assets" - "[ -d ~/android ] || mkdir ~/android" - sudo apt-get update - bash ci/update_version.sh prepare # Android build - sudo apt-get install gettext - sudo apt-get install libsaxonb-java # for aapt - sudo apt-get install lib32stdc++6 - sudo apt-get install lib32z1 # For python testing with junit reporting - sudo apt-get install python-gobject libdbus-glib-1-dev python-dev - pip install junit-xml dbus-python - ln -s /usr/lib/python2.7/dist-packages/gobject /opt/circleci/python/2.7.11/lib/python2.7/site-packages/ - ln -s /usr/lib/python2.7/dist-packages/glib /opt/circleci/python/2.7.11/lib/python2.7/site-packages/ test: override: - bash ci/build.sh: parallel: true files: - ci/build_*.sh post: - sed -i -e 's@name="Local GPS" profilename="car" enabled="yes" active="1"@name="Local GPS" profilename="car" enabled="no" active="0"@' navit.xml: pwd: bin/navit/ - sed -i -e 's@name="Demo" profilename="car" enabled="no" active="yes"@name="Demo" profilename="car" enabled="yes" active="yes" follow="1" refresh="1"@' navit.xml: pwd: bin/navit/ - sed -i -e 's@type="internal" enabled@type="internal" fullscreen="1" font_size="350" enabled@' navit.xml: pwd: bin/navit/ - sed -i -e 's@libbinding_dbus.so" active="no"@libbinding_dbus.so" active="yes"@' navit.xml: pwd: bin/navit/ - ./navit: pwd: bin/navit/ background: true - sleep 5 - import -window root $CIRCLE_ARTIFACTS/default.png - python ci/dbus_tests.py $CIRCLE_TEST_REPORTS/ - dbus-send --print-reply --session --dest=org.navit_project.navit /org/navit_project/navit/default_navit org.navit_project.navit.navit.quit deployment: merge_into_master: branch: trunk owner: navit-gps commands: - bash ci/update_version.sh push - git push origin $CIRCLE_SHA1:refs/heads/master merge_translations: branch: /i18n.*/ owner: navit-gps commands: - bash ci/submit_i18n_pr.sh notify: webhooks: - url: http://62.210.125.30:8000/