mirror of
https://github.com/PDP-10/its.git
synced 2026-04-26 20:27:13 +00:00
Move installation of build dependencies to separate script file.
This commit is contained in:
@@ -3,11 +3,7 @@ sudo: required
|
|||||||
env:
|
env:
|
||||||
- EMULATOR=simh
|
- EMULATOR=simh
|
||||||
- EMULATOR=klh10
|
- EMULATOR=klh10
|
||||||
install:
|
install: sh -ex build/dependencies.sh install_${TRAVIS_OS_NAME:-linux}
|
||||||
- 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
|
|
||||||
script: make
|
script: make
|
||||||
notifications:
|
notifications:
|
||||||
email: lars@nocrew.org
|
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"
|
||||||
Reference in New Issue
Block a user