-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
22 lines (21 loc) · 1.25 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudo: required
language: minimal
before_install:
- cd
- wget http://chymera.eu/gebuilder/stereotaxyz.tar.xz
- mkdir -p gentoo
- tar -xf stereotaxyz.tar.xz --exclude='dev/*' -C gentoo &> gentoo_extraction.log
- mv build/IBT-FMI/StereotaXYZ gentoo/stereotaxyz
- cp -L /etc/resolv.conf gentoo/etc/
- sudo mount --bind /dev gentoo/dev
- sudo mount --bind /sys gentoo/sys
- sudo mount --bind /proc gentoo/proc
- sudo env -i PATH="$PATH" chroot gentoo/ /bin/bash -c "echo python3.7 > /etc/python-exec/python-exec.conf"
- sudo chroot gentoo/ /bin/bash -c "emerge --quiet --sync"
- sudo chroot gentoo/ /bin/bash -c "echo \"C.UTF-8 UTF-8\" >> /etc/locale.gen && locale-gen && echo \"export LANG='C.utf8'\" >> /etc/profile.env && env-update"
- sudo env -i PATH="$PATH" chroot gentoo/ /bin/bash -c "emerge -1q portage"
install:
- sudo env -i PATH="$PATH" chroot gentoo/ /bin/bash -c "/stereotaxyz/.gentoo/install.sh --autounmask-continue=y --autounmask=y --quiet"
script:
- sudo chroot gentoo/ /bin/bash -c "eselect python list"
- sudo env -i PATH="$PATH" chroot gentoo/ /bin/bash -c "FEATURES=\"test -sandbox -network-sandbox -mount-sandbox -pid-sandbox -usersandbox -ipc-sandbox\" /stereotaxyz/.gentoo/install.sh --autounmask-continue=y --autounmask=y"