diff options
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/circle.yml b/circle.yml index ff3df2850..04470f87e 100644 --- a/circle.yml +++ b/circle.yml @@ -10,43 +10,26 @@ dependencies: pre: - "[ -d ~/assets ] || mkdir ~/assets" - "[ -d ~/android ] || mkdir ~/android" - - wget -c -O ~/assets/cov-analysis-linux64-7.6.0.tar.gz http://sd-55475.dedibox.fr/cov-analysis-linux64-7.6.0.tar.gz - sudo apt-get update - - sudo apt-get install cmake - - sudo apt-get install libpng12-dev - - sudo apt-get install librsvg2-bin - - sudo apt-get install libfreetype6-dev - - sudo apt-get install libdbus-glib-1-dev - - sudo apt-get install g++ - bash ci/update_version.sh prepare - - bash ci/build_linux.sh - - sed -i '/INTEGER/d' bin/po/navit.pot - - cp bin/po/navit.pot $CIRCLE_ARTIFACTS/ - - "[ $CIRCLE_PROJECT_USERNAME != navit-gps ] || curl \"https://translations.launchpad.net/navit/${CIRCLE_BRANCH}/+translations-upload\" -H \"$lp_cookie\" -H \"Referer: https://translations.launchpad.net/navit/${CIRCLE_BRANCH}/+translations-upload\" -F file=@bin/po/navit.pot | grep title" # 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 - - bash ci/build_android.sh - - bash ci/build_android_x86.sh -# Tomtom minimal build - - bash ci/build_tomtom_minimal.sh -# Windows build - - sudo apt-get install mingw32 mingw32-binutils mingw32-runtime - - sudo apt-get install default-jdk nsis -# for sys/select.h -# - sudo apt-get install -y libc6-dev - - mkdir win32 - - cmake -Dbinding/python:BOOL=FALSE -DSAMPLE_MAP=n -DCMAKE_TOOLCHAIN_FILE=../Toolchain/mingw32.cmake ../ && make && make package: - pwd: win32/ - - cp win32/*.exe $CIRCLE_ARTIFACTS/ # For python testing with junit reporting - - sudo pip install junit-xml -# - - ls -la $CIRCLE_ARTIFACTS + - 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/ |