mirror of
https://github.com/geohot/qira
synced 2025-03-12 18:13:15 +03:00
Fix: specify the gcc to use on travic-ci to fix previews commit
This commit is contained in:
parent
dc5775bb4d
commit
f50db2e398
16
.travis.yml
16
.travis.yml
@ -1,7 +1,17 @@
|
||||
language: python
|
||||
python: 2.7
|
||||
install: ./install.sh
|
||||
language:
|
||||
- python
|
||||
|
||||
python:
|
||||
- 2.7
|
||||
|
||||
install:
|
||||
# g++4.8.1
|
||||
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
|
||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
|
||||
- ./install.sh
|
||||
|
||||
script:
|
||||
- $CXX --version
|
||||
- ./run_tests.sh
|
||||
- ./run_tests_static.sh
|
||||
|
||||
|
Binary file not shown.
@ -1,5 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
#include <inttypes.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
|
@ -26,7 +26,7 @@ if [ ! -d qemu/qemu-latest ]; then
|
||||
wget http://wiki.qemu-project.org/download/qemu-$QEMU_VERSION.tar.bz2
|
||||
|
||||
HASH=`sha256sum ./qemu-"$QEMU_VERSION".tar.bz2 2>/dev/null | cut -d' ' -f1`
|
||||
|
||||
|
||||
if [ "$HASH" != "$QEMU_SHA256" ]; then
|
||||
echo "Error: qemu-"$QEMU_VERSION".tar.bz2 has an invalid checksum."
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user