steve-chavez
2019-06-26 18:14:36 -05:00
committed by Steve Chávez
parent 3cce6ca02b
commit 2c3bc2d75e
2 changed files with 10 additions and 1 deletions
+7
View File
@@ -1,3 +1,10 @@
## Travis is used for building an OSX binary on new tag releases,
## it also compiles the project on OSX for each commit to master.
##
## Building the whole project can take longer than 50 minutes. Since Travis has a global timeout of 50 minutes
## we compile for 30 minutes tops(see `gtimeout 1800` below) and quit compiling with no error.
## Since we CACHE the compile results we can continue compiling from where we left off
## on the next commit.
language: generic
sudo: false
+3 -1
View File
@@ -1,3 +1,4 @@
## AppVeyor is used for building a Windows binary on new tag releases
platform: x64
cache:
@@ -8,6 +9,7 @@ environment:
global:
STACK_ROOT: "c:\\sr"
GOPATH: c:\gopath
TMP: "c:\\tmp"
test: off
@@ -28,7 +30,7 @@ install:
build_script:
- stack setup --no-terminal > nul
- stack build -j1 --copy-bins --local-bin-path .
- bash -lc "timeout 2700 'C:\projects\postgrest\stack.exe' build -j1 --copy-bins --local-bin-path . || true"
artifacts:
- path: postgrest.exe