You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use `swift package clean` instead of the deprecated `swift build --clean`
- Run Swift Package Manager tests in parallel
- Print version and debug information before running
- Cleanup
# Download the Docker container. This is not strictly necessary since
27
32
# docker run would automatically download a missing container.
28
-
docker pull ${DOCKER_IMAGE}
33
+
docker pull "${DOCKER_IMAGE}"
29
34
# Share the current directory (where Travis checked out the repository)
30
35
# with the Docker container.
31
36
# Then, in the container, cd into that directory and run the tests.
32
-
docker run --volume "$(pwd):/root/repo"${DOCKER_IMAGE} /bin/bash -c "cd /root/repo; swift build --clean; swift build; swift test"
37
+
docker run --volume "$(pwd):/package""${DOCKER_IMAGE}" /bin/bash -c "cd /package; swift --version; swift package clean; swift build; swift test --parallel"
0 commit comments