Skip to content

Commit

Permalink
ci: Setup Travis to build and run cross-compiled tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Feb 20, 2017
1 parent 2499217 commit 389ed3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,23 @@ env:
- VALAC=valac-0.28
- VALAC=valac-0.30
- VALAC=valac VALAFLAGS=--fatal-warnings
- VALAC=valac CROSS=mingw-w64-i686
- VALAC=valac CROSS=mingw-w64-x86-64

before_install:
- sudo add-apt-repository --yes ppa:vala-team
- sudo apt-get update --quiet
- sudo apt-get install --yes --force-yes ${VALAC} libglib2.0-bin
libglib2.0-dev libsoup2.4-dev libfcgi-dev python3-pip gcovr libgee-0.8-dev
libctpl-dev libjson-glib-dev libmemcached-dev libmarkdown2-dev
liblua5.2-dev
liblua5.2-dev $([[ -n ${CROSS} ]] && echo gcc-${CROSS} wine1.6)
- pip3 install meson sphinx sphinx_rtd_theme PyYAML
- wget https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-linux.zip
- unzip ninja-linux.zip -d ${HOME}/.local/bin

before_script:
- mkdir build
- meson -D b_coverage=true -D enable_examples=true . build
- meson -D b_coverage=true -D enable_examples=true $([[ -n ${CROSS} ]] && echo cross/${CROSS}.txt) . build
- ninja -C build -v
- ninja -C build -v docs/en

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 389ed3a

Please sign in to comment.