mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Simplify .travis.yml (#719)
This commit is contained in:
parent
2ffc96d0b2
commit
2585360a3e
49
.travis.yml
49
.travis.yml
@ -1,37 +1,34 @@
|
|||||||
|
language: cpp
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
git:
|
git:
|
||||||
submodules: false
|
submodules: false
|
||||||
|
|
||||||
_linux_shared: &linux_shared
|
env:
|
||||||
os: linux
|
- distro: debian
|
||||||
sudo: false
|
- distro: archlinux
|
||||||
services:
|
- distro: fedora
|
||||||
- docker
|
- distro: alpine
|
||||||
before_install:
|
- distro: opensuse
|
||||||
- docker pull alexays/waybar:${distro}
|
|
||||||
- find . -type f \( -name '*.cpp' -o -name '*.h' \) -print0 | xargs -r0 clang-format -i
|
before_install:
|
||||||
script:
|
- docker pull alexays/waybar:${distro}
|
||||||
- echo FROM alexays/waybar:${distro} > Dockerfile
|
- find . -type f \( -name '*.cpp' -o -name '*.h' \) -print0 | xargs -r0 clang-format -i
|
||||||
- echo ADD . /root >> Dockerfile
|
|
||||||
- docker build -t waybar .
|
script:
|
||||||
- docker run waybar /bin/sh -c "cd /root && meson build -Dman-pages=enabled && ninja -C build"
|
- echo FROM alexays/waybar:${distro} > Dockerfile
|
||||||
|
- echo ADD . /root >> Dockerfile
|
||||||
|
- docker build -t waybar .
|
||||||
|
- docker run waybar /bin/sh -c "cd /root && meson build -Dman-pages=enabled && ninja -C build"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- <<: *linux_shared
|
|
||||||
env: distro=debian
|
|
||||||
- <<: *linux_shared
|
|
||||||
env: distro=archlinux
|
|
||||||
- <<: *linux_shared
|
|
||||||
env: distro=fedora
|
|
||||||
- <<: *linux_shared
|
|
||||||
env: distro=alpine
|
|
||||||
- <<: *linux_shared
|
|
||||||
env: distro=opensuse
|
|
||||||
- os: freebsd
|
- os: freebsd
|
||||||
language: cpp
|
|
||||||
compiler: clang
|
compiler: clang
|
||||||
sudo: required
|
env:
|
||||||
install:
|
before_install:
|
||||||
- sudo sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
- sudo sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
||||||
- sudo pkg install -y date gtk-layer-shell gtkmm30 jsoncpp libdbusmenu
|
- sudo pkg install -y date gtk-layer-shell gtkmm30 jsoncpp libdbusmenu
|
||||||
libfmt libmpdclient libudev-devd meson pulseaudio scdoc spdlog
|
libfmt libmpdclient libudev-devd meson pulseaudio scdoc spdlog
|
||||||
|
Loading…
Reference in New Issue
Block a user