before_script migrate for dj 1.7 in travis
fix atomic for older version