Skip to content

Commit

Permalink
Fixes #166 - Build on both Linux and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
st3fan committed Sep 29, 2017
1 parent a383755 commit ecadacc
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ecadacc

Please sign in to comment.