1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-11 23:53:12 +00:00

Move installation of build dependencies to separate script file.

This commit is contained in:
Lars Brinkhoff 2016-12-02 11:07:21 +01:00
parent 9ed7bf3035
commit 56a8019e98
2 changed files with 12 additions and 5 deletions

View File

@ -3,11 +3,7 @@ sudo: required
env:
- EMULATOR=simh
- EMULATOR=klh10
install:
- sudo add-apt-repository ppa:dns/gnu -y
- sudo apt-get update -myq
- sudo apt-get install -my simh expect
- sudo apt-get install --only-upgrade autoconf
install: sh -ex build/dependencies.sh install_${TRAVIS_OS_NAME:-linux}
script: make
notifications:
email: lars@nocrew.org

11
build/dependencies.sh Normal file
View File

@ -0,0 +1,11 @@
install_linux() {
sudo add-apt-repository ppa:dns/gnu -y
sudo apt-get update -myq
sudo apt-get install -my expect
sudo apt-get install --only-upgrade autoconf
if test "$EMULATOR" = simh; then
sudo apt-get install simh
fi
}
"$1"