Matrix include not working on multiple os

I use matrix.include to trigger multiple test among diffrent os,the config is as follows:
https://travis-ci.org/yunnysunny/node-rdkafka/builds/522749727/config

matrix:
  include:
    - name: "build on linux"
      os: linux
      dist: trusty
      sudo: required
      services: docker
    - name: "build on mac"
      os: osx
      osx_image: xcode10
      env: CPPFLAGS=-I/usr/local/opt/openssl/include LDFLAGS=-L/usr/local/opt/openssl/lib
    - name: "build on windows"
      os: windows

But it failed, only the first os working, the others not triggered.