mirror of
https://github.com/fsquillace/junest.git
synced 2026-01-23 02:34:30 +00:00
Remove arch-travis and directly use docker
This commit is contained in:
parent
c052e660ee
commit
fab5b0df2e
5 changed files with 45 additions and 67 deletions
15
ci/build_image.sh
Executable file
15
ci/build_image.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
pacman -Sy --noconfirm sudo
|
||||
|
||||
# Create a travis user
|
||||
echo "travis ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/travis
|
||||
chmod 'u=r,g=r,o=' /etc/sudoers.d/travis
|
||||
groupadd --gid "2000" "travis"
|
||||
useradd --create-home --uid "2000" --gid "2000" --shell /usr/bin/false "travis"
|
||||
|
||||
# Here do not make any validation (-n) because it will be done later on in the Ubuntu host directly
|
||||
cd /build
|
||||
runuser -u travis -- /build/bin/junest build -n
|
||||
Loading…
Add table
Add a link
Reference in a new issue