travis: use configure.sh for switching environment