skip/exclude classes with DIR or FILE

Fix travis out of #38