Skip to content

Commit

Permalink
fixing open62541#242
Browse files Browse the repository at this point in the history
  • Loading branch information
Stasik0 committed May 5, 2015
1 parent 659ef8b commit bb644d0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,28 +41,32 @@ script:
- cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw32.cmake -DENABLE_AMALGAMATION=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLESERVER=ON -DBUILD_EXAMPLECLIENT=ON ..
- make -j
- cp ../README.md .
- cp ../LICENSE .
- cp ../AUTHORS .
- cp -r ../doc .
- zip -r open62541-win32.zip doc README.md server_static.exe server.exe client.exe client_static.exe libopen62541.dll libopen62541.dll.a open62541.h open62541.c
- zip -r open62541-win32.zip doc LICENSE AUTHORS README.md server_static.exe server.exe client.exe client_static.exe libopen62541.dll libopen62541.dll.a open62541.h open62541.c
- cp open62541-win32.zip ..
- cd .. && rm build -rf && mkdir -p build && cd build
- echo "Cross compile release build for MinGW 64 bit"
- cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw64.cmake -DENABLE_AMALGAMATION=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLESERVER=ON -DBUILD_EXAMPLECLIENT=ON ..
- make -j
- cp ../README.md .
- cp ../LICENSE .
- cp ../AUTHORS .
- cp -r ../doc .
- zip -r open62541-win64.zip doc README.md server_static.exe server.exe client.exe client_static.exe libopen62541.dll libopen62541.dll.a open62541.h open62541.c
- zip -r open62541-win64.zip doc LICENSE AUTHORS README.md server_static.exe server.exe client.exe client_static.exe libopen62541.dll libopen62541.dll.a open62541.h open62541.c
- cp open62541-win64.zip ..
- cd .. && rm build -rf && mkdir -p build && cd build
- echo "Cross compile release build for 32-bit linux"
- cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-gcc-m32.cmake -DENABLE_AMALGAMATION=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLESERVER=ON -DBUILD_EXAMPLECLIENT=ON ..
- make -j
- tar -pczf open62541-linux32.tar.gz ../doc ../README.md server_static server client_static client libopen62541.so open62541.h open62541.c
- tar -pczf open62541-linux32.tar.gz ../doc ../LICENSE ../AUTHORS ../README.md server_static server client_static client libopen62541.so open62541.h open62541.c
- cp open62541-linux32.tar.gz ..
- cd .. && rm build -rf && mkdir -p build && cd build
- echo "Compile release build for 64-bit linux"
- cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_AMALGAMATION=ON -DBUILD_EXAMPLESERVER=ON -DBUILD_EXAMPLECLIENT=ON ..
- make -j
- tar -pczf open62541-linux64.tar.gz ../doc ../README.md server_static server client_static client libopen62541.so open62541.h open62541.c
- tar -pczf open62541-linux64.tar.gz ../doc ../LICENSE ../AUTHORS ../README.md server_static server client_static client libopen62541.so open62541.h open62541.c
- cp open62541-linux64.tar.gz ..
- cp open62541.h .. #copy single file-release
- cp open62541.c .. #copy single file-release
Expand Down Expand Up @@ -94,7 +98,7 @@ before_deploy:
- export PATH=$PATH:~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/
- cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-rpi64.cmake -DENABLE_AMALGAMATION=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLESERVER=ON -DBUILD_EXAMPLECLIENT=ON ..
- make -j
- tar -pczf open62541-raspberrypi.tar.gz ../doc ../README.md server_static server client_static client libopen62541.so open62541.h open62541.c
- tar -pczf open62541-raspberrypi.tar.gz ../doc ../LICENSE ../AUTHORS ../README.md server_static server client_static client libopen62541.so open62541.h open62541.c
- cp open62541-raspberrypi.tar.gz ..
- cd ..
deploy:
Expand Down

0 comments on commit bb644d0

Please sign in to comment.