Update .travis.yml
[appimagekit/gsi.git] / .travis.yml
blob434a240d872b7c072baa72a384ec1515420a0e69
1 language: c
2 compiler: gcc
4 before_install:
5  - sudo apt-add-repository -y ppa:vala-team/ppa
6  - sudo apt-get update -qq
7  - sudo apt-get install -qq libfuse-dev libglib2.0-dev cmake libc6-dev binutils valac libgee-0.8-dev gcc-multilib g++-multilib libc6-dev-i386
8  - cd ./LibcWrapGenerator
9  - valac --pkg gee-0.8 --pkg posix --pkg glib-2.0 --pkg gio-2.0 ./LibcWrapGenerator.vala
10  - sudo ./LibcWrapGenerator --target 2.7 --libdir /lib --output libcwrap.h
11  - sudo cp ./libcwrap.h /usr/include/
12  - cd -
14 script: 
15  - export CC='gcc -U_FORTIFY_SOURCE -include /usr/include/libcwrap.h'
16  - cmake . && make
17  - find . -type f
19 before_deploy:
20   git fetch --tags
21 deploy:
22   provider: releases
23   api_key:
24     secure: Rtz7d+BKUnBT8D5FoE4XXCvVhRSQVdGK/c5VpI6IYuGhwmtx4RIvK78cICFPZq8k1xJm8yOuCOChX6EyElhUkYh5iPzDI/J7IiqBl+z+/V3aXx6W2PKyYLohZW3z9iomQbX2LQ6vHcZsNqQsjKZ2dW7Ja5Q9cZTFKiokMXsAERo=
25   skip_cleanup: true
26   file_glob: true
27   file: 
28    - ./AppImageExtract
29    - ./AppRun
30    - ./AppImageAssistant
31   on:
32     tags: true
33     all_branches: true