merge env.matrix to env.global after travis compiled to build matrix