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

fixes

parent f6220b69
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -65,14 +65,16 @@ benchmark:
      set -e
      
      context="$(tail -n 10 extra3.out)"
      echo "$context"
      
      if [ "$STATUS" -eq 255 ]; then
        context="$(tail -n 10 extra3.out)"
        echo "Context: $context"
        echo "one of the sorts was wrong - job failed"
        exit 1
      fi
      
      score="$(tail -n 1 extra3.out | tr -d '[:space:]')"
    - echo "$context"
    - curl "https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=hw3bench&name=${GITLAB_USER_LOGIN}&score=${score}"
  rules:
    - if: '$CI_COMMIT_REF_NAME == "problem3"'