#
# NLua Travis-CI Hook
#

language: csharp

before_install:
  - export PATH=/opt/mono/bin:$PATH

install:
  - sudo apt-get install mono-devel nunit nuget

script:
  - nuget restore NLua.sln
  - msbuild /p:Configuration=Release /t:Restore NLua.sln
  - msbuild /p:Configuration=Release NLua.sln
  - mono packages/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe ./tests/build/net45/bin/Release/NLuaTest.dll

# Execute additional tests or commands
#after_script:
#  - [run additional test commans]

# Only watch the master branch
branches:
  only:
    - master

# Notify if needed
notifications:
  recipients:
    - viniciusjarina@gmail.com
  email:
    on_success: change
    on_failure: always
