aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.bat19
-rwxr-xr-xci/run_tests.sh10
2 files changed, 29 insertions, 0 deletions
diff --git a/ci/run_tests.bat b/ci/run_tests.bat
new file mode 100755
index 0000000..258eae8
--- /dev/null
+++ b/ci/run_tests.bat
@@ -0,0 +1,19 @@
+@echo on
+
+cd fpm
+if errorlevel 1 exit 1
+
+fpm build
+if errorlevel 1 exit 1
+
+fpm run
+if errorlevel 1 exit 1
+
+fpm run --args build
+if errorlevel 1 exit 1
+
+cd ..\test\example_packages\hello_world
+if errorlevel 1 exit 1
+
+..\..\..\fpm\fpm build
+if errorlevel 1 exit 1
diff --git a/ci/run_tests.sh b/ci/run_tests.sh
new file mode 100755
index 0000000..9767c9a
--- /dev/null
+++ b/ci/run_tests.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+set -ex
+
+cd fpm
+fpm build
+fpm run
+fpm run --args build
+cd ../test/example_packages/hello_world
+../../../fpm/fpm build