mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Run ldconfig in install.sh This works around a problem installing on a bare chromeos image. Related to https://github.com/skycocker/chromebrew/issues/3305 * Add .travis.yml to test installation Closes https://github.com/skycocker/chromebrew/issues/3353
18 lines
443 B
YAML
18 lines
443 B
YAML
language: bash
|
|
services:
|
|
- docker
|
|
|
|
before_install:
|
|
- docker pull brunux/chromeos
|
|
|
|
script:
|
|
# Workaround sudo prompting for password by editing existing chronos entry
|
|
- docker run -it
|
|
-v $PWD:/travis
|
|
brunux/chromeos
|
|
/bin/sh -c "
|
|
grep chronos /etc/sudoers > /tmp/sudoers.new;
|
|
sed s/chronos/ALL/ /tmp/sudoers.new > /etc/sudoers;
|
|
sudo -u chronos bash /travis/install.sh;
|
|
"
|