Skip to content

Commit c14204c

Browse files
committed
Update .travis.yml
1 parent e89777e commit c14204c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ before_install:
55
- sudo apt-add-repository -y ppa:vala-team/ppa
66
- sudo apt-get update -qq
77
- sudo apt-get install -qq libfuse-dev libglib2.0-dev cmake git libc6-dev binutils valac libgee-0.8-dev
8-
- valac --pkg gee-0.8 --pkg posix --pkg glib-2.0 --pkg gio-2.0 ./LibcWrapGenerator/LibcWrapGenerator.vala
8+
- cd .//LibcWrapGenerator
9+
- valac --pkg gee-0.8 --pkg posix --pkg glib-2.0 --pkg gio-2.0 ./LibcWrapGenerator.vala
910
- sudo ./LibcWrapGenerator --target 2.7 --libdir /lib --output libcwrap.h
11+
- sudo cp ./libcwrap.h /usr/include/
12+
- cd -
1013
- find .
1114

12-
script: cmake . && make
15+
script:
16+
- export CC='gcc -U_FORTIFY_SOURCE -include /usr/include/libcwrap.h'
17+
- cmake . && make

0 commit comments

Comments
 (0)