Commit ab59f233 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

Update .gitlab-ci.yml

parent a3a16986
Loading
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ stages: # List of stages for jobs, and their order of execution
  - test
  - compete
 
 # COLLECT source code
collect:
  stage: setup
  script:
@@ -12,13 +13,15 @@ collect:
    - tar -xvf test.tar
    - cp -f src/edu/bu/ec504/hw3/bst/BSTSet.java problem-1-testing-master/src/edu/bu/ec504/hw3/bst
    - cp -f src/edu/bu/ec504/hw3/bst/ExtendedBSTSet.java problem-1-testing-master/src/edu/bu/ec504/hw3/bst
    - cp -f src/edu/bu/ec504/hw3/bst/BSTOptimized.java problem-1-testing-master/src/edu/bu/ec504/hw3/bst >> /dev/null
    - cp -f src/edu/bu/ec504/hw3/bst/BSTOptimized.java problem-1-testing-master/src/edu/bu/ec504/hw3/bst || true # ignore failure if the file does not exist
    - cd problem-1-testing-master/src
  artifacts:
    paths:
      - problem-1-testing-master/src/
  tags: [java]


### COMPILE source code
compile_BSTSet:
  stage: build
  script:
@@ -67,6 +70,8 @@ compile_BSTOptimized:
      - src/edu/bu/ec504/hw3/bst/BSTOptimized.java
  tags: [java]


### TEST checked-in code ... avoid code that was not checked in
test_BSTSet:
  stage: test
  script:
@@ -100,6 +105,8 @@ test_Rotation:
    - compile_ExtendedBSTSet
  tags: [java]


### COMPETE - run the competition
competition:
  stage: compete
  script: