Commit 2645095d authored by 神楽坂玲奈's avatar 神楽坂玲奈

travis

parent e6d45aa6
...@@ -2,17 +2,30 @@ language: c ...@@ -2,17 +2,30 @@ language: c
os: os:
- linux - linux
- osx - osx
sudo: required
dist: trusty
git: git:
submodules: false submodules: false
addons: addons:
ssh_known_hosts: ssh_known_hosts:
- github.com - github.com
addons:
apt:
packages:
- premake4
- libfreetype6-dev
- libevent-dev
- libsqlite3-dev
- libirrlicht-dev
- liblua5.2-dev
- libgl1-mesa-dev
- libglu-dev
before_install: before_install:
- openssl aes-256-cbc -K $encrypted_c268b785a48e_key -iv $encrypted_c268b785a48e_iv -in ssh-key.enc -out ~/.ssh/id_ecdsa -d - openssl aes-256-cbc -K $encrypted_c268b785a48e_key -iv $encrypted_c268b785a48e_iv -in ssh-key.enc -out ~/.ssh/id_ecdsa -d
- chmod 600 ~/.ssh/id_ecdsa - chmod 600 ~/.ssh/id_ecdsa
- git submodule update --init --recursive - git submodule update --init --recursive
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install premake ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install premake freetype libevent sqlite irrlicht lua; fi
install: install:
- premake4 gmake - premake4 gmake
- cd build - cd build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment