mirror of
https://github.com/st3fan/ewm.git
synced 2024-10-31 18:04:32 +00:00
Fixes #166 - Build on both Linux and macOS
This commit is contained in:
parent
a38375554d
commit
ecadaccdaa
17
.travis.yml
17
.travis.yml
@ -20,12 +20,23 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
os: osx
|
||||
os:
|
||||
- osx
|
||||
- linux
|
||||
|
||||
sudo: true
|
||||
dist: trusty
|
||||
|
||||
language: c
|
||||
|
||||
before_install:
|
||||
- brew update
|
||||
- brew install sdl2 lua
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sdl2 lua; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get --yes install lua5.1 sdl2; fi
|
||||
|
||||
before_script:
|
||||
- cd src
|
||||
|
||||
script:
|
||||
- make
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user