File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Javascript Node CircleCI 2.0 configuration file
2+ #
3+ # Check https://circleci.com/docs/2.0/language-javascript/ for more details
4+ #
15version : 2
26jobs :
37 build :
48 docker :
9+ # specify the version you desire here
10+ # - image: circleci/node:latest
11+ # - image: circleci/node:latest
512 - image : dbwebb/courserepo
613
14+ # Specify service dependencies here if necessary
15+ # CircleCI maintains a library of pre-built images
16+ # documented at https://circleci.com/docs/2.0/circleci-images/
17+ # - image: circleci/mongo:3.4.4
18+
719 working_directory : ~/repo
820
921 steps :
10- - checkout
22+ # - checkout
23+ - run :
24+ name : checkout
25+ command : |
26+ git clone https://github.com/dbwebb-se/python.git .
1127
28+ - run :
29+ name : print python version
30+ command : |
31+ python3 -V
32+ pip3 -V
33+ # Download and cache dependencies
1234 - restore_cache :
1335 keys :
1436 - v1-dependencies-{{ checksum "package.json" }}
1537 # fallback to using the latest cache if no exact match is found
1638 - v1-dependencies-
1739
18- - run : make install
19-
40+ - run :
41+ name : install dependencies
42+ command : |
43+ make python-venv
44+ . .venv/bin/activate
45+ make python-install install
2046 - save_cache :
2147 paths :
2248 - node_modules
2349 key : v1-dependencies-{{ checksum "package.json" }}
2450
2551 # run tests!
26- - run : make check test
52+ - run :
53+ name : run tests
54+ command : |
55+ . .venv/bin/activate
56+ make check test
You can’t perform that action at this time.
0 commit comments