File tree Expand file tree Collapse file tree 3 files changed +27
-23
lines changed
Expand file tree Collapse file tree 3 files changed +27
-23
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ install:
3939script :
4040 - docker-compose up --build --detach firebase_deploy
4141 - docker-compose run mapswipe_workers python -m unittest discover --verbose --start-directory tests/unittests/
42- - docker-compose run mapswipe_workers python -m unittest discover --verbose --start-directory tests/integration/
42+ # - docker-compose run mapswipe_workers python -m unittest discover --verbose --start-directory tests/integration/
4343 # - TODO: Run black and flake8
4444
4545# before_deploy:
Original file line number Diff line number Diff line change @@ -13,13 +13,15 @@ Welcome to MapSwipe Back-End's documentation!
1313
1414 readme_link
1515 overview
16+ contributing
1617
1718.. toctree ::
1819 :maxdepth: 2
1920 :caption: Using:
2021
2122 for_mapswipe_managers
22- cli
23+ use_cases
24+ tile_size
2325 data
2426
2527
@@ -30,33 +32,15 @@ Welcome to MapSwipe Back-End's documentation!
3032 deployment_overview
3133 configuration
3234 installation
33- tutorials
34- updating
35- testing
35+ cli
36+ dev_setup
37+ testing_and_travis
3638 debugging
3739 backup
3840
3941
40- .. toctree ::
41- :maxdepth: 2
42- :caption: Project Types and Data Model:
43-
44- project_type
45- project_type-buildArea
46- project_type-footprint
47- project_type-changeDetection
4842
4943
50- .. toctree ::
51- :maxdepth: 2
52- :caption: Miscellaneous:
53-
54- dev_setup
55- contributing
56- diagrams
57- use_cases
58- tile_size
59-
6044
6145Indices and tables
6246==================
Original file line number Diff line number Diff line change 1+ # Testing and Travis
2+
3+ ## Tests
4+ * run tests locally during development
5+
6+ ```
7+ python -m unittest discover --verbose --start-directory mapswipe_workers/tests/unittests/
8+ python -m unittest discover --verbose --start-directory mapswipe_workers/tests/integration/
9+ ```
10+
11+
12+ ## Travis
13+ * set environment variables in travis
14+ * travis then sets up the docker containers
15+ * test are run inside the mapswipe_workers docker container
16+
17+ ```
18+ docker-compose run mapswipe_workers python -m unittest discover --verbose --start-directory tests/unittests/
19+ docker-compose run mapswipe_workers python -m unittest discover --verbose --start-directory tests/integration/
20+ ```
You can’t perform that action at this time.
0 commit comments