Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
env:
global:
- IUP_DL='http://sourceforge.net/projects/iup/files/3.14/Linux%20Libraries/iup-3.14_Linux32_64_lib.tar.gz'

language: rust

install:
# Download and install IUP
- mkdir iup_libs/
- wget $IUP_DL -O iup_libs.tar.gz
- tar -xzvf iup_libs.tar.gz -C iup_libs/
- sudo apt-get install libgtk-3-dev
# Build and install from source lib iup
# make in iup exit code is 2 even if it builds the needed library ./lib/libiup.so
# executing an echo will continue the next lines of the builds in travi-ci
- git clone https://github.com/ivanceras/iup-mirror
- cd iup-mirror
- make || ( echo "continue even if make fails" )
# By piping a newline to ./install, we skip the enter prompt
- (cd iup_libs/ && echo -ne '\n' | sudo ./install)
- rm -rf iup_libs/
- echo -ne '\n' | sudo bash install
- rm -rf ./lib

script:
- cargo build -v
Expand Down