check string for equality

Conflicts:
	buildtimetrend/travis.py
set variables first before testing
fix JOB_NUMBER variable name
fix typo