Skip to content

Commit 123f5a0

Browse files
author
yushulx
committed
Updated travis config
1 parent f360658 commit 123f5a0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- sudo dpkg --add-architecture armhf
2222
- sudo apt-get update
2323
- sudo apt-get install crossbuild-essential-armhf libc6:armhf libstdc++6:armhf
24-
- CC=arm-linux-gnueabihf-gcc
2524

2625
branches:
2726
only:
@@ -34,6 +33,9 @@ script:
3433
cmake -DCMAKE_GENERATOR_PLATFORM=x64 ..;
3534
else
3635
if [ $OS == "arm32_linux" ]; then
36+
export CC=arm-linux-gnueabihf-gcc;
37+
export CXX=arm-linux-gnueabihf-g++;
38+
export AR=arm-linux-gnueabihf-ar;
3739
cmake -DARM32_BUILD=TRUE ..;
3840
else
3941
cmake ..;

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Building C/C++ Barcode Reader with CMake
22

33
[![release](https://img.shields.io/github/release/Dynamsoft/cmake.svg)](https://github.com/Dynamsoft/cmake/releases/latest)
4-
![](https://api.travis-ci.com/Dynamsoft/cmake.svg?branch=master)
4+
[![status](https://api.travis-ci.com/Dynamsoft/cmake.svg?branch=master)](https://travis-ci.com/github/Dynamsoft/cmake)
55

66
## Requirements
77
- [Visual Studio](https://www.visualstudio.com/downloads/)

0 commit comments

Comments
 (0)