Travis bash string indexes are 0-based