Skip to content

Commit 49195c5

Browse files
committed
Specify Go version to test with c++11
Default version of Go 1.11.1 on Travis is broken for c++11 testing. gcc_libinit.c: In function ‘_cgo_try_pthread_create’: gcc_libinit.c:110:3: error: implicit declaration of function ‘nanosleep’ [-Werror=implicit-function-declaration] nanosleep(&ts, nil);
1 parent 32c9e2a commit 49195c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ matrix:
296296
sudo: required
297297
dist: xenial
298298
- os: linux
299-
env: SWIGLANG=go CPP11=1
299+
env: SWIGLANG=go VER=1.6 CPP11=1
300300
sudo: required
301301
dist: trusty
302302
- os: linux

0 commit comments

Comments
 (0)