allow to specify system version in travis builds
This commit is contained in:
parent
6247ddeecf
commit
6117364ec8
8 changed files with 17 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker run -v `pwd`:/root/temp/dotfiles/ debian:jessie /root/temp/dotfiles/bunsen/test_insider
|
2
bunsen/test_insider → debian/test_insider
vendored
2
bunsen/test_insider → debian/test_insider
vendored
|
@ -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
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker run -v `pwd`:/root/temp/dotfiles/ fedora:24 /root/temp/dotfiles/fedora/test_insider
|
11
test
11
test
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker run -v `pwd`:/root/temp/dotfiles/ ubuntu:trusty /root/temp/dotfiles/ubuntu/test_insider
|
Loading…
Reference in a new issue