put ARDUINO_DIR block after Travis-CI block else travis will fail.