summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNate Ijams2020-04-29 16:26:52 -0500
committerNate Ijams2020-04-29 16:47:53 -0500
commitec8bce263d8ae326506ece75d2f42ed19191b6cd (patch)
tree19dba5246254ea2fd651734d2d4e69bf4b1ea4f3
parent5cf22426231bb863e2066a41dc8948c533838986 (diff)
downloadaur-ec8bce263d8ae326506ece75d2f42ed19191b6cd.tar.gz
Add automated builds on sr.ht.
-rw-r--r--.build.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 00000000000..f274dfb5040
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,29 @@
+image: archlinux
+packages:
+ - openvpn
+ - python
+ - dialog
+ - python-pythondialog
+ - python-setuptools
+ - python-docopt
+ - python-requests
+tasks:
+ - build: |
+ cd protonvpn-cli-ng
+ ls
+ makepkg --install --noconfirm
+ - check: |
+ echo "Checking bin"
+ ls /usr/bin/proton*
+ cat /usr/bin/protonvpn
+ echo "Running the script to determine version and see help menu."
+ protonvpn -v
+ protonvpn -h
+ echo "Checking for license"
+ ls /usr/share/licenses/proton*
+ cat /usr/share/licenses/protonvpn-cli-ng/LICENSE
+ echo "That's all!"
+triggers:
+ - action: email
+ condition: always
+ to: Nate Ijams <nate@ijams.tk>