env: LLVM=/usr/lib/llvm-3.2/bin
before_install:
  - sudo add-apt-repository ppa:h-rayflood/llvm -y
  - sudo apt-get update -y
  - sudo apt-get install llvm-3.2 clang-3.2 bison gperf -y
  # Lets emcc sets up the environment
  - gem build webruby.gemspec
  - mv `ls webruby-*.gem` webruby-latest.gem
  - gem install --no-ri --no-rdoc ./webruby-latest.gem
  - webruby new SampleProject
  # Just copy-paste version of fix from https://github.com/travis-ci/travis-cookbooks/issues/155
  - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script: "cd SampleProject && rake && rake mrbtest"

env: LLVM=/usr/lib/llvm-3.2/bin
before_install:
  - sudo add-apt-repository ppa:h-rayflood/llvm -y
  - sudo apt-get update -y
  - sudo apt-get install llvm-3.2 clang-3.2 bison gperf -y
  # Lets emcc sets up the environment
  - gem build webruby.gemspec
  - mv `ls webruby-*.gem` webruby-latest.gem
  - gem install --no-ri --no-rdoc ./webruby-latest.gem
  - webruby new SampleProject
  # Just copy-paste version of fix from https://github.com/travis-ci/travis-cookbooks/issues/155
  - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script: "cd SampleProject && rake && rake && rake mrbtest"

Build js file first before building mrbtest
Build js file first before building mrbtest
