Browse Source

Added .travis.yml

Tim Schuster 1 year ago
parent
commit
3edab5aa58
Signed by: Tim Schuster <mail@timschuster.info> GPG Key ID: F9E27097EFB77F61

+ 20
- 0
.travis.yml View File

@@ -0,0 +1,20 @@
1
+language: go
2
+go:
3
+- 1.8.x
4
+- 1.x.x
5
+- master
6
+matrix:
7
+  allow_failures:
8
+    - go: master
9
+env:
10
+- GOOS=linux GOARCH=amd64
11
+- GOOS=darwin GOARCH=amd64
12
+- GOOS=windows GOARCH=amd64
13
+go_import_path: go.rls.moe/misc/discord.mods
14
+install:
15
+- go get -u github.com/gopherjs/gopherjs
16
+- go get -u github.com/gopherjs/jquery
17
+- go get -u github.com/GeertJohan/go.rice
18
+- go get -u github.com/GeertJohan/go.rice/rice
19
+script:
20
+- ./test_and_build.sh

+ 1
- 1
core/core.js
File diff suppressed because it is too large
View File


+ 1
- 1
dcss/index.js
File diff suppressed because it is too large
View File


+ 1
- 1
installer/assets/core.js
File diff suppressed because it is too large
View File


+ 1
- 1
installer/assets/mods/dcss/index.js
File diff suppressed because it is too large
View File


+ 1
- 1
installer/build.sh View File

@@ -1,6 +1,6 @@
1 1
 #!/bin/sh
2 2
 
3
-set -euo pipefail
3
+set -eu
4 4
 
5 5
 . ./buildhelp.sh
6 6
 

+ 1
- 1
installer/buildhelp.sh View File

@@ -1,6 +1,6 @@
1 1
 #!/bin/sh
2 2
 
3
-set -euo pipefail
3
+set -eu
4 4
 
5 5
 beginBuild() {
6 6
     echo "# 1/3 Building D.Mods"

+ 10
- 10
installer/rice-box.go
File diff suppressed because it is too large
View File


+ 15
- 0
test_and_build.sh View File

@@ -0,0 +1,15 @@
1
+#!/bin/sh
2
+
3
+set -eux
4
+
5
+build() {
6
+    cd ./installer
7
+    ./build.sh
8
+}
9
+
10
+test() {
11
+    echo "No tests defined so far"
12
+}
13
+
14
+test
15
+build