Test removing sudo from travis yml

This commit is contained in:
Justin Ethier 2020-11-18 10:31:03 -05:00 committed by GitHub
parent e8ef39c76b
commit a960be0526
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ matrix:
addons: addons:
pkg: pkg:
packages: packages:
- sudo # - sudo
- gmake - gmake
- libtommath - libtommath
- concurrencykit - concurrencykit
@ -37,7 +37,8 @@ notifications:
before_install: before_install:
- | - |
if [ "$(uname)" != "FreeBSD" ]; then if [ "$(uname)" != "FreeBSD" ]; then
sudo ln -s /usr/bin/make /usr/bin/gmake #sudo ln -s /usr/bin/make /usr/bin/gmake
ln -s /usr/bin/make /usr/bin/gmake
fi fi
- | - |
git clone https://github.com/concurrencykit/ck.git ${HOME}/ck git clone https://github.com/concurrencykit/ck.git ${HOME}/ck
@ -45,16 +46,20 @@ before_install:
git checkout 0.6.0 git checkout 0.6.0
./configure PREFIX=/usr ./configure PREFIX=/usr
gmake all gmake all
sudo gmake install #sudo gmake install
gmake install
if [ "$(uname)" = "Linux" ]; then if [ "$(uname)" = "Linux" ]; then
sudo ldconfig #sudo ldconfig
ldconfig
fi fi
- | - |
git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap
cd ${HOME}/cyclone-bootstrap cd ${HOME}/cyclone-bootstrap
gmake gmake
sudo gmake install #sudo gmake install
gmake install
script: script:
- gmake - gmake
- sudo gmake install #- sudo gmake install
- gmake install
- gmake test - gmake test