From: Maksym Mamontov <madf@madf.info>
Date: Tue, 7 Jan 2020 17:38:00 +0000 (+0200)
Subject: Update Travis config.
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/7b4f3f62cbebbc1b01df5f1de47dcdd0f02e0223

Update Travis config.
---

diff --git a/.travis.yml b/.travis.yml
index 541acd32..a1224dbe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,5 +10,6 @@ compiler:
   - gcc
 # Build steps
 script:
-  - cd projects/stargazer
-  - ./build debug && make clean && make
+  - mkdir build && cd build
+  - cmake -DBUILD_STG=ON -DBUILD_SGCONF=ON -DBUILD_RSCRIPTD=ON -DBUILD_SGAUTH=ON -DBUILD_ALL_MODS=ON -DBUILD_TESTS=ON ..
+  - make