mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
travis test on dev
This commit is contained in:
parent
caa4551381
commit
fc48621974
15
.travis.yml
Normal file
15
.travis.yml
Normal file
@ -0,0 +1,15 @@
|
||||
sudo: required
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- dev
|
||||
|
||||
install:
|
||||
- docker build -t archlinux/dotfiles docker/archlinux/Dockerfile
|
||||
|
||||
script:
|
||||
- docker run archlinux/dotfiles
|
@ -1,4 +1,4 @@
|
||||
FROM base/archlinux
|
||||
FROM base/archlinux:latest
|
||||
# Locales keyboard
|
||||
RUN echo "fr_FR.UTF-8 UTF-8" > /etc/locale.gen \
|
||||
&& locale-gen \
|
||||
@ -40,8 +40,6 @@ RUN echo "test ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
USER test
|
||||
WORKDIR /home/test/
|
||||
ENV LANG="fr_FR.UTF-8"
|
||||
RUN git clone --recursive https://github.com/eoli3n/dotfiles
|
||||
RUN cd /tmp; curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git
|
||||
RUN cd /tmp; makepkg PKGBUILD --install --needed --noconfirm
|
||||
RUN cd /home/test/dotfiles; ./install.sh desktop ||:
|
||||
RUN echo -e "test" | chsh -s '/usr/bin/zsh'
|
||||
ENTRYPOINT git clone --recursive https://github.com/eoli3n/dotfiles && cd /home/test/dotfiles; ./install.sh desktop && echo -e "test" | chsh -s '/usr/bin/zsh'
|
||||
|
Loading…
Reference in New Issue
Block a user