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:
parent
9ed7bf3035
commit
56a8019e98
@ -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
11
build/dependencies.sh
Normal 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"
|
||||
Loading…
x
Reference in New Issue
Block a user