allow to specify system version in travis builds

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-08-04 15:36:04 +02:00
parent 6247ddeecf
commit 6117364ec8
8 changed files with 17 additions and 15 deletions

View file

@ -95,8 +95,9 @@ WordWrap=false
[MainWindow]
Height 768=769
Height 900=901
Height 975=976
Height 985=986
State=AAAA/wAAAAD9AAAAAAAAB4AAAANGAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAA
State=AAAA/wAAAAD9AAAAAAAAB4AAAANTAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAA
ToolBarsMovable=Disabled
Width 1366=1367
Width 1440=1441

View file

@ -5,9 +5,10 @@ script:
- ./test
env:
- DETECTED_OS=fedora
- DETECTED_OS=bunsen
- DETECTED_OS=ubuntu
- DETECTED_OS=fedora:24
- DETECTED_OS=debian:jessie
- DETECTED_OS=ubuntu:trusty
- DETECTED_OS=ubuntu:xenial
sudo: required

View file

@ -1,3 +0,0 @@
#!/bin/bash
docker run -v `pwd`:/root/temp/dotfiles/ debian:jessie /root/temp/dotfiles/bunsen/test_insider

View file

@ -15,5 +15,5 @@ cd $HOME
mkdir -p dev/
cp -rv temp/dotfiles dev/
./dev/dotfiles/bunsen/configure_fresh_system
./dev/dotfiles/debian/configure_fresh_system

View file

@ -1,3 +0,0 @@
#!/bin/bash
docker run -v `pwd`:/root/temp/dotfiles/ fedora:24 /root/temp/dotfiles/fedora/test_insider

11
test
View file

@ -5,5 +5,14 @@ if [[ -z $DETECTED_OS ]]; then
exit 1
fi
./$DETECTED_OS/test_outsider
DIR=$DETECTED_OS
if [[ $DETECTED_OS =~ .*:.* ]]; then
DIR=`echo $DETECTED_OS | cut -d':' -f1`
else
echo "please set DETECTED_OS to system:version"
exit 1
fi
docker run -v `pwd`:/root/temp/dotfiles/ $DETECTED_OS /root/temp/dotfiles/$DIR/test_insider

View file

@ -1,3 +0,0 @@
#!/bin/bash
docker run -v `pwd`:/root/temp/dotfiles/ ubuntu:trusty /root/temp/dotfiles/ubuntu/test_insider