Fixing travis CI build error by providing standard config file

This commit is contained in:
Denis-Cosmin Nutiu 2017-04-17 13:45:14 +03:00
parent 50a5a21dc3
commit bfd6d62a8a
2 changed files with 5 additions and 1 deletions

View file

@ -15,10 +15,14 @@
You should have received a copy of the GNU General Public License
along with scoreboard-benchmark . If not, see <http://www.gnu.org/licenses/>.
"""
try: # This is mainly required for Travis CI automated testing.
from src.config import config
except ImportError:
from src.config_lock import config
from src.models import db
from src.views.errors import error_pages
from src.views.scoreboard import scoreboard
from src.config import config
import sys
import flask_bootstrap
import flask